@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

@font-face {
  font-family: 'mmiicons';
  src: url(/common/fonts/mmi.woff) format('woff');
  font-weight: normal;
  font-style: normal;
}

/*====================================================
CSS VARIABLES
====================================================*/
:root {
  --header-nav-height-mobile: auto;
  --header-height: 14.278rem;
  @media screen and (min-width: 768px) and (max-width: 1650px) {
    --header-height: 8.65333333vw;
  }
  @media screen and (max-width: 767px) {
    --header-height: 16.74933333vw;
  }
}

/*====================================================
GENERAL
====================================================*/
html {
  font-size: 62.5%;
}
body {
  font-size: 1.6rem;
  line-height: 1.6;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #000;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}
main {
  flex: 1;
  position: relative;
  flex-direction: column;
  display: flex;
  padding-top: var(--header-height);
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal; /* 単語の分割はデフォルトに依存 */
  line-break: strict; /* 禁則処理を厳格に適用 */
}
header {
  width: 100%;
}
img {
  vertical-align: bottom;
  width: auto;
  height: auto;
  max-width: 100%;
}
.inner {
  width: 1200px;
  max-width: 95%;
  margin: auto;
}
@media (hover: hover) {
  button,
  a:where([href]) {
    transition: opacity 0.3s;
    &:hover {
      opacity: 0.7;
    }
  }
}
.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.tab_display,
.sp_display {
  display: none;
}
@media screen and (min-width: 768px) and (max-width: 1053px) {
  html {
    font-size: 0.9496676163vw;
  }
  .tab_display {
    display: block;
  }
}
@media screen and (max-width: 767px) {
  html {
    font-size: 2.6666666667vw;
  }
  .pc_display {
    display: none;
  }
  .sp_display {
    display: block;
  }
  .tab_display {
    display: none;
  }
  .inner {
    max-width: 92%;
  }
  img {
    width: 100%;
  }
}

/*====================================================
COMMON
====================================================*/
.common-title {
  color: #eb541d;
  font-size: 3.8rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 0.32em;
  &:where(.second-title-area *) {
    font-size: 4.4rem;
  }

  .common-title__en {
    color: #fff;
    font-size: 39.473684%;
    background-color: #f59904;
    display: inline-block;
    padding-inline: 0.6em;
    &:where(.second-title-area *) {
      font-size: 34.09090909%;
    }
  }
}
.common-button {
  color: #fff;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
  border-radius: 0.44444444em;
  background: linear-gradient(90deg, #eb541d 0%, #f59904 100%);
  box-shadow: 0.33333333em 0.44444444em 0.33333333em 0px rgba(0, 0, 0, 0.15);
  width: 21.38888889em;
  padding-block: 1.2em;
  display: block;
  margin-inline: auto;
  &:where(.common-button--blue) {
    background: linear-gradient(267deg, #3094b8 45.34%, #297cb4 56.79%, #2264af 68.23%);
  }
  &:where(.common-button--white) {
    background: #fff;
    color: #000;
    border: 1px solid #c2bebe;
  }
  &:where(.common-button--green) {
    background: linear-gradient(90deg, #0b9675 0%, #48bfc8 100%);
  }
}
.common-second-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 500;
  width: fit-content;
  margin-inline: auto;
  border-block: 2px solid;
  padding: 0.26em 0.6em;
}
.second-title-area {
  background-color: #ffebd4;
  padding-block: 5rem;
}
@media screen and (max-width: 767px) {
  .common-button {
    font-size: 1.3243rem;
    width: 19.3309673em;
  }
  .common-title {
    font-size: 2.5rem;
  }
  .common-second-title {
    font-size: 2rem;
    line-height: 1.3;
    border-block-width: 0.1rem;
  }
  .second-title-area {
    padding-block: 7vw;
  }
}

/*====================================================
HEADER
====================================================*/
#header {
  align-items: stretch;
  font-size: 1.8rem;
  padding-left: 1.8em;
  position: relative;
  z-index: 1000;
  position: fixed;
  left: 0;
  top: 0;
  transition: transform .7s;

  &.header-hidden {
    transform: translateY(-100%);
  }

  &::before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #fff;
    left: 0;
    z-index: -1;
  }
  &::after {
    content: '';
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 0.4rem;
    background-color: #eb541d;
  }
  .header__logo {
    width: 25.55555556em;
    margin-block: 0.8em;
    position: relative;
    top: -0.2em;
  }
  .header__nav {
    align-items: center;
  }
  .header__nav_list {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    height: 100%;
  }
  .header__nav_list_item {
    border-left: 1px solid #f3eeee;
    &:last-child {
      border-right: 1px solid #f3eeee;
    }
  }
  .header__nav_list_item_link {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 9.16666667em;
    transition: background-color 0.3s;
    &:hover {
      @media (hover: hover) {
        background-color: #ffebd4;
        opacity: 1;
      }
    }
    &.active {
      background-color: #ffebd4;
    }
    &:where([target='_blank']) {
      position: relative;
      column-gap: 0.4em;

      &::after {
        content: '';
        display: block;
        width: 0.9em;
        height: auto;
        background-image: url(../img/icon_external_link.svg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        position: static;
        aspect-ratio: 1/1;
      }
    }
  }
  .header__nav_contact_wrap {
    height: 100%;
  }
  .header__nav_contact {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 10.25em;
    color: #fff;
    font-size: 1.11111111em;
    font-weight: 500;
    row-gap: 0.8em;
    &:where(:nth-child(1)) {
      background: linear-gradient(90deg, #eb541d 0%, #f59904 100%);
    }
    &:where(:nth-child(2)) {
      background: linear-gradient(90deg, #0b9675 0%, #48bfc8 100%);
    }
  }
  .header__nav_contact_icon {
    width: 2em;
  }
  @media screen and (max-width: 1780px) and (min-width: 768px) {
    font-size: 1.01123596vw;
  }
  @media screen and (max-width: 767px) {
    padding-left: 0.3em;
    font-size: 2rem;
    &::before {
      z-index: 0;
    }
    &::after {
      height: 0.2rem;
    }
    .header__logo {
      width: 19.55rem;
      margin-block: 0.36em;
    }
    .header__nav {
      bottom: 0;
      position: absolute;
      left: 0;
      transition: bottom 0.5s ease;
      z-index: -1;
      background-color: #fff;
      &:where(.is-open) {
        bottom: calc(-1 * var(--header-nav-height-mobile) - 0.2rem);
      }
    }
    .header__nav_list {
      height: auto;
      padding-block: 4vw;
    }
    .header__nav_list_item {
      width: 100%;
    }
    .header__nav_list_item_link {
      width: 100%;
      color: #eb541d;
      padding-block: 0.95em;
    }
    .header__nav_contact_wrap {
      width: 100%;
    }
    .header__nav_contact {
      width: 50%;
      font-size: 0.8em;
      row-gap: 0.4em;
      position: relative;
      padding-block: 0.9em;
    }
    .header__nav_contact_icon {
      width: 1.2em;
    }
    .header__nav_sp_button {
      width: 7rem;
    }
    .header__nav_sp_button {
      position: relative;
      width: 16vw;
      height: 14.8vw;
      background: none;
      border: none;
      cursor: pointer;
      z-index: 1100;
      display: flex;
      justify-content: center;
      align-items: center;
      &.is-open {
        .header__nav_sp_button_line:nth-child(1),
        .header__nav_sp_button_line:nth-child(3) {
          top: 50%;
          transform: translate(-50%, -50%);
        }
      }
    }
    .header__nav_sp_button_line {
      display: block;
      width: 4.6vw;
      height: 2px;
      background-color: #434242;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
      &:nth-child(1) {
        top: 5vw;
      }
      &:nth-child(2) {
        top: 50%;
        transform: translate(-50%, -50%);
      }
      &:nth-child(3) {
        top: 9.2vw;
      }
    }
  }
}

/*====================================================
FOOTER
====================================================*/
#footer {
  padding-block: 0.9375em;
  border-top: 0.5rem solid #eb541d;
  .inner {
    width: 1800px;
  }
  .footer__nav {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 2.125em;
  }
  .footer__nav_list {
    font-size: 1em;
    column-gap: 2.7em;
  }
  .footer__nav_list_item_link {
    &:where([target='_blank']) {
      position: relative;
      column-gap: 0.4em;
      display: flex;
      align-items: center;

      &::after {
        content: '';
        display: block;
        width: 0.9em;
        height: auto;
        background-image: url(../img/icon_external_link.svg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        position: static;
        aspect-ratio: 1/1;
      }
    }
  }
  .footer__logo_area_logo {
    width: 19.72727273em;
  }
  .footer__nav_sub_list {
    font-size: 0.875em;
    column-gap: 1.6em;
  }
  .footer__nav_sub_list_item {
    position: relative;
    + .footer__nav_sub_list_item {
      &::before {
        content: '';
        position: absolute;
        display: block;
        width: 1px;
        height: 70%;
        background-color: #000;
        top: 50%;
        transform: translateY(-50%);
        right: calc(100% + 0.7em);
      }
    }
  }
  .footer__logo_area {
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.6875em;
    font-style: normal;
    font-weight: 500;
  }
  @media screen and (min-width: 768px) and (max-width: 1895px) {
    font-size: 0.84432718vw;
  }
  @media screen and (max-width: 767px) {
    padding-block: 9vw 7vw;
    border-top-width: 0.25rem;
    .inner {
      flex-direction: column;
      align-items: center;
      row-gap: 5vw;
    }
    .footer__nav {
      align-items: center;
      row-gap: 13vw;
    }
    .footer__nav_list {
      font-size: 1.5rem;
      justify-content: center;
      column-gap: 0;
      row-gap: 0.9em;
    }
    .footer__nav_list_item {
      width: 50%;
      text-align: center;
      &:nth-child(2n) {
        border-left: 1px solid #bab8b8;
      }
    }
    .footer__nav_list_item_link {
      padding-block: 0.3em;
      display: inline-flex;
    }
    .footer__nav_sub_list {
      font-size: 1.2rem;
    }
    .footer__logo_area {
      align-items: center;
      font-size: 0.9rem;
      row-gap: 1.6em;
    }
    .footer__logo_area_logo {
      width: 17.45rem;
    }
  }
}

/*====================================================
PAGETOP
====================================================*/
.mmi-pagetop {
  width: 60px;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 9999px;
  position: fixed;
  right: 20px;
  bottom: 150px;
  display: none;
  z-index: 100002;
  .mmi-pagetop__link {
    width: 60px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 9999px;
    background: #ccc;
    color: #ccc !important;
    display: block;
    text-indent: -100px;
    overflow: hidden;
    text-decoration: none;
    &:hover {
      @media (hover: hover) {
        text-decoration: none;
        opacity: 0.5;
      }
    }
    &::before {
      content: '\e905';
      text-align: center;
      line-height: 1.52777778;
      color: #fff;
      font-size: 36px;
      display: block;
      font-family: mmiicons;
      text-indent: 0;
      text-decoration: none;
    }
  }
  @media screen and (max-width: 767px) {
    bottom: 22vw;
    right: 2vw;
    width: 10vw;
    .mmi-pagetop__link {
      width: 10vw;
      &::before {
        font-size: 4.8vw;
        line-height: 1.9;
      }
    }
  }
}

/*====================================================
CONTACT LINK AREA
====================================================*/
#contact_link_area {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(1rem);
  -webkit-backdrop-filter: blur(1rem);
  padding-block: 2.2rem;
  justify-content: center;
  flex-wrap: nowrap;

  &.absolute-position {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
  }
  .contact_link_area__button {
    font-size: 2.8rem;
    padding: 0.86em 0.8em;
    width: 18.2em;
    border-radius: 0.28571429em;
    position: relative;
    margin-inline: 1rem;
    &::before {
      content: '';
      position: absolute;
      display: block;
      width: 1.3em;
      height: auto;
      aspect-ratio: 39/35;
      background-size: contain;
      background-image: url(../img/contact_link_area_button_icon.svg);
      background-repeat: no-repeat;
      top: 50%;
      transform: translateY(-50%);
      left: 1em;
    }
    &:where(.contact_link_area__button:nth-child(1)) {
      &::before {
        background-image: url(../img/contact_link_area_button_icon01.svg);
      }
    }
    &:where(.contact_link_area__button:nth-child(2)) {
      &::before {
        background-image: url(../img/contact_link_area_button_icon02.svg);
      }
    }
  }
  @media screen and (max-width: 767px) {
    padding-block: 3vw;
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
    justify-content: space-around;
    column-gap: normal;

    &.absolute-position {
      bottom: 0.25rem;
      column-gap: 0;
      justify-content: space-around;
    }
    .contact_link_area__button {
      font-size: 1.4rem;
      width: 17.65rem;
      margin-inline: 0;

      &:where(.contact_link_area__button:nth-child(2)) {
        &::before {
          content: none;
        }
      }
    }
  }
}
