@charset "UTF-8";
/************************************************
    ページタイトル
*************************************************/
.page__title--company {
  background-image: -webkit-image-set(url('../img/bg_page__title--company.jpg') 1x, url('../img/bg_page__title--company@2x.jpg') 2x, url('../img/bg_page__title--company@3x.jpg') 3x);
  background-image: image-set(url('../img/bg_page__title--company.jpg') 1x, url('../img/bg_page__title--company@2x.jpg') 2x, url('../img/bg_page__title--company@3x.jpg') 3x);
}

@supports not ((background-image: -webkit-image-set(url('../img/bg_page__title--company.jpg') 1x, url('../img/bg_page__title--company@2x.jpg') 2x, url('../img/bg_page__title--company@3x.jpg') 3x)) or (background-image: image-set(url('../img/bg_page__title--company.jpg') 1x, url('../img/bg_page__title--company@2x.jpg') 2x, url('../img/bg_page__title--company@3x.jpg') 3x))) {
  .page__title--company {
    background-image: url('../img/bg_page__title--company.jpg');
  }
}

_:-ms-lang(x)::-ms-backdrop, .page__title--company {
  background-image: url('../img/bg_page__title--company.jpg');
}

.page__title--company::after {
  content: 'COMPANY';
}

/************************************************
    Message
*************************************************/
.sec-message {
  font-size: 0.75em;
  max-width: 80rem;
  padding-bottom: 3.125rem;
  border-bottom: 1px solid black;
  margin: 0 auto;
}

.breadcrumb + .sec-message {
  margin-top: 3.125rem;
}

.sec-message__title {
  color: white;
  font-size: 0.625em;
  line-height: 1.4;
  text-align: center;
  max-width: 31.875rem;
  padding: 0 1.25rem;
  margin: 0 auto;
}

.sec-message__title .text {
  display: block;
  background-color: #00a9e6;
  padding: 3.5em 1.75em;
  border-top: 10px solid #00a9e6;
  margin-top: -10px;
}

.sec-message__title .before {
  font-size: 1.75em;
  display: block;
}

.sec-message__title .after {
  font-size: 2.125em;
  display: block;
  margin-top: 1.11765em;
}

.sec-message__title .after .phrase {
  display: block;
}

.sec-message__content {
  font-size: 1em;
  line-height: 1.875;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
  margin-top: 3em;
}

/************************************************
    会社概要
*************************************************/
.sec-companyProfile {
  font-size: 0.75em;
  padding: 3.125rem 1.25rem;
}

.sec-companyProfile__photo {
  text-align: center;
  margin-top: 4.375em;
}

/************************************************
    沿革
*************************************************/
.sec-history {
  font-size: 0.75em;
  padding: 3.125rem 1.25rem;
}

/************************************************
    アクセス
*************************************************/
.sec-access {
  color: white;
  font-size: 0.75em;
  text-align: center;
  background: linear-gradient(90deg, #00a9e6 0%, #a6dfc8 90.72%);
  padding: 4.16667em 1.25rem;
}

.sec-access .sec__title {
  color: white;
}

.sec-access .sec__title .after {
  color: inherit;
}

.sec-access__address {
  font-size: 1.1875em;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.47368;
  margin-top: 2em;
}

.sec-access__tel {
  font-size: 1.5625em;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin-top: 1em;
}

.sec-access__tel::before {
  content: 'TEL.';
  font-size: 0.8em;
  letter-spacing: 0.11em;
}

.sec-access__mapLink {
  color: #31c6d7;
  font-size: 1.3125em;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.5;
  display: inline-block;
  background-color: white;
  box-shadow: 0.25rem 0.25rem 0.0625rem rgba(73, 51, 51, 0.6);
  padding: 0.76191em 2.4319em 0.76191em 2.6219em;
  border-radius: 0.1875rem;
  margin-top: 1.52381em;
}

.sec-access__mapLink:hover {
  color: white;
  background-color: #31c6d7;
}

.sec-access__map {
  width: 100%;
  height: calc(100vh - 5.625rem);
  max-height: 360px;
  margin-top: 4em;
}

@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (min-resolution: 2dppx) {
  @supports not ((background-image: -webkit-image-set(url('../img/bg_page__title--company.jpg') 1x, url('../img/bg_page__title--company@2x.jpg') 2x, url('../img/bg_page__title--company@3x.jpg') 3x)) or (background-image: image-set(url('../img/bg_page__title--company.jpg') 1x, url('../img/bg_page__title--company@2x.jpg') 2x, url('../img/bg_page__title--company@3x.jpg') 3x))){
    .page__title--company {
      background-image: url('../img/bg_page__title--company@2x.jpg');
    }
  }
  _:-ms-lang(x)::-ms-backdrop, .page__title--company {
    background-image: url('../img/bg_page__title--company@2x.jpg');
  }
  }

@media screen and (-webkit-min-device-pixel-ratio: 3), screen and (min-resolution: 3dppx) {
  @supports not ((background-image: -webkit-image-set(url('../img/bg_page__title--company.jpg') 1x, url('../img/bg_page__title--company@2x.jpg') 2x, url('../img/bg_page__title--company@3x.jpg') 3x)) or (background-image: image-set(url('../img/bg_page__title--company.jpg') 1x, url('../img/bg_page__title--company@2x.jpg') 2x, url('../img/bg_page__title--company@3x.jpg') 3x))){
    .page__title--company {
      background-image: url('../img/bg_page__title--company@3x.jpg');
    }
  }
  _:-ms-lang(x)::-ms-backdrop, .page__title--company {
    background-image: url('../img/bg_page__title--company@3x.jpg');
  }
  }

@media screen and (min-width: 768px) {
  .sec-message {
    font-size: 1em;
    padding-bottom: 4.5625rem;
  }
  .breadcrumb + .sec-message {
    margin-top: 5rem;
  }
  .sec-message__title {
    font-size: 1em;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 51fr 77fr;
    grid-template-columns: 51fr 77fr;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
    max-width: 80rem;
    padding: 0;
  }
  .sec-message__title .photo {
    -ms-grid-column: 1;
    grid-column: 1;
    -ms-grid-row: 1;
    grid-row: 1;
  }
  .sec-message__title .text {
    -ms-grid-column: 2;
    grid-column: 2;
    -ms-grid-row: 1;
    grid-row: 1;
    -js-display: flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: none;
    border-left: 10px solid #00a9e6;
    margin-top: 0;
    margin-left: -10px;
  }
  .sec-message__content {
    text-align: center;
  }
  .sec-message__content .phrase {
    display: block;
  }
  .sec-companyProfile {
    font-size: 1em;
    padding-top: 6.25rem;
    padding-bottom: 6.25rem;
  }
  .sec-history {
    font-size: 1em;
    padding-top: 6.25rem;
    padding-bottom: 6.25rem;
  }
  .sec-companyProfile + .sec-history {
    margin-top: -5rem;
  }
  .sec-access {
    font-size: 1em;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 5.625rem 23.75rem 36.5625rem 1.5625rem 1fr;
    grid-template-columns: 1fr 5.625rem 23.75rem 36.5625rem 1.5625rem 1fr;
    -ms-grid-rows: (auto)[3] 1fr (auto)[2] 1fr;
    grid-template-rows: repeat(3, auto) 1fr repeat(2, auto) 1fr;
    padding-top: 5em;
    padding-bottom: 5em;
  }
  .sec-access .sec__title {
    -ms-grid-column: 2;
    -ms-grid-column-span: 4;
    grid-column: 2 / -2;
    -ms-grid-row: 1;
    grid-row: 1;
  }
  .sec-access__address {
    text-align: left;
    -ms-grid-column: 3;
    grid-column: 3;
    padding-right: 2.14em;
    margin-top: 5.78947em;
  }
  .sec-access__address--01 {
    -ms-grid-row: 2;
    grid-row: 2;
  }
  .sec-access__address--02 {
    -ms-grid-row: 5;
    grid-row: 5;
  }
  .sec-access__tel {
    text-align: left;
    -ms-grid-column: 3;
    grid-column: 3;
    padding-right: 2.1em;
    margin-top: 1.12em;
  }
  .sec-access__tel--01 {
    -ms-grid-row: 3;
    grid-row: 3;
  }
  .sec-access__tel--02 {
    -ms-grid-row: 6;
    grid-row: 6;
  }
  .sec-access__mapLink {
    -ms-grid-column: 3;
    grid-column: 3;
    -ms-grid-column-align: start;
    justify-self: start;
    -ms-grid-row-align: start;
    align-self: start;
  }
  .sec-access__mapLink--01 {
    -ms-grid-row: 4;
    grid-row: 4;
  }
  .sec-access__mapLink--02 {
    -ms-grid-row: 7;
    grid-row: 7;
  }
  .sec-access__map {
    -ms-grid-column: 4;
    grid-column: 4;
    margin-top: 4.375em;
  }
  .sec-access__map--01 {
    -ms-grid-row: 2;
    -ms-grid-row-span: 3;
    grid-row: 2 / 5;
  }
  .sec-access__map--02 {
    -ms-grid-row: 5;
    -ms-grid-row-span: 3;
    grid-row: 5 / 8;
  }
}
