@charset "UTF-8";

/* ========================================
  Design tokens (CSS Custom Properties)
======================================== */
:root {

  /* brand-color */
  --color-primary: #1b4476;
  --color-background: #e4e9ef;
  --color-border-gray: #cdcdcd;

  /* layout */
  --header-height: 9rem;
  --container-width-sm: min(90%, 90rem);
  --container-width-md: min(90%, 120rem);
  --container-width-lg: 100%;

  /* font */
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Belleza", sans-serif;

  @media screen and (max-width: 767px) {
    --header-height: 6rem;
  }

}


/* ========================================
  HTML/BODY Settings
======================================== */
html {
  scroll-behavior: smooth;
  font-size: min(62.5%, calc((10 / 1200) * 100vw));

  @media screen and (max-width: 767px) {
    font-size: min(62.5%, 2.2vw);
  }
}
body {
  position: relative;
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  font-size: 1.6rem;
  letter-spacing: .1em;

  @media screen and (max-width: 767px) {
    padding-top: var(--header-height);
  }
}


/* ========================================
Elements (global default styles)
======================================== */
ul, ol {
  list-style-type: none;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  text-align: inherit;
  font-weight: inherit;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
a {
  text-decoration: none;
  color: inherit;
}
em, i {
  font-style: normal;
}
[id] {
  scroll-margin-top: var(--header-height);
}


/* ========================================
  Layout
======================================== */

/* Common
---------------------------------------- */
.l-container {
  margin-inline: auto;

  &.sz-sm { width: var(--container-width-sm); }
  &.sz-md { width: var(--container-width-md); }
  &.sz-lg { width: var(--container-width-lg); }
}
.u-blk-pt { padding-top: 10rem; }
.u-blk-pb { padding-bottom: 10rem; }
.u-blk-bb { border-bottom: solid 1px var(--color-primary); }
.js-accordion-content {
  display: none;
}
@media screen and (min-width: 768px) {
  .u-only-sp { display: none !important; }
}
@media screen and (max-width: 767px) {
  .u-only-pc { display: none !important; }
  .table-wrapper {
    overflow-x: auto;
  }
  .table-content {
    width: min(200vw, 120rem);
  }
}


/* Header PC
---------------------------------------- */
@media screen and (min-width: 768px) {
  .header {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    font-weight: 500;
  }
  .header__inner {
    width: calc((1780 / 1920) * 100%);
    margin: 3rem auto 0;
    display: flex;
    transition: margin-top .3s ease, background-color .3s ease;
  }
  .is-visible .header__inner {
    margin-top: 0;
    background-color: #FFF;
  }
  .sub-open .header__inner {
    background-color: #FFF;
  }
  .header__logo {
    margin-left: 3rem;
    display: flex;
    align-items: center;
  }
  .header__nav {
    margin: 0 3rem 0 auto;
    display: flex;
    align-items: center;
    gap: 0 3rem;
  }
  .header__sub {
    width: calc((1780 / 1920) * 100%);
    margin: 0 auto;
    background-color: #FFF;
  }
  .header-logo {
    width: 18.5rem;

    a {
      position: relative;
      display: block;
      transition: opacity .2s ease;

      img {
        width: 100%;

        &:last-child {
          position: absolute;
          top: 0;
          left: 0;
          opacity: 0;
        }
      }
      @media (hover: hover) {
        &:hover {
          opacity: .7;
        }
      }
    }
  }
  .is-visible .header-logo,
  .sub-open .header-logo {
    a img {
      &:first-child {
        opacity: 0;
      }
      &:last-child {
        opacity: 1;
        transition: opacity .5s ease;
      }
    }
  }
  .header-nav {
    display: flex;
    align-items: center;
    gap: 0 3rem;
    color: #FFF;

    > li {
      > a, > button {
        position: relative;
        height: 9rem;
        display: flex;
        align-items: center;
        color: currentColor;

        &::after {
          content: "";
          position: absolute;
          bottom: 0;
          left: 0;
          width: 100%;
          height: .2rem;
          background-color: currentColor;
          opacity: 0;
          transition: opacity .2s ease;
        }
        @media (hover: hover) {
          &:hover {
            &::after {
              opacity: 1;
            }
          }
        }
      }
    }
  }
  .is-visible .header-nav,
  .sub-open .header-nav {
    color: var(--color-primary);
  }
  .header-btn {
    a {
      display: block;
      padding: 0 1em;
      border: solid .2rem var(--color-primary);
      border-radius: 9999px;
      background-color: #FFF;
      font-weight: 500;
      color: var(--color-primary);
      transition: background-color .2s ease, color .2s ease;

      @media (hover: hover) {
        &:hover {
          background-color: var(--color-primary);
          color: #FFF;
        }
      }
    }
  }
  .sub-menu {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease;
  }
  .sub-open .sub-menu {
    height: 35rem;
    visibility: visible;
    opacity: 1;
    transition: all .3s ease;
  }
  .biz-menu {
    padding: 5rem 5% 3rem;
    border-top: solid 1px var(--color-primary);
    display: flex;
    justify-content: center;
    gap: 0 calc((75 / 1780) * 100%);

    li {
      a {
        display: flex;
        flex-direction: column;
        gap: 1rem 0;
        transition: color .2s ease;

        figure {
          aspect-ratio: 35 / 23;
          overflow: hidden;

          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .3s ease;
          }
        }
        @media (hover: hover) {
          &:hover {
            color: var(--color-primary);

            figure img {
              transform: scale(1.1);
            }
          }
        }
      }
    }
  }
}

/* Header SP
---------------------------------------- */
@media screen and (max-width: 767px) {
  .header {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, .9);
    backdrop-filter: blur(2rem);
  }
  .header__inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
  }
  .header__logo {
    /* width: min(30%, 15rem); */
    margin: 0 auto 0 3%;

    img {
      width: auto;
      height: calc(var(--header-height) - 2rem);
    }
  }
  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 100vw;
    width: 100vw;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-primary);
    transition: left .5s ease;

    &.is-open {
      left: 0;
    }
  }
  .header__sub {
    display: none;
  }
  .header-logo {
    img:first-child {
      display: none;
    }
  }
  .nav-toggle {
    width: var(--header-height);
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;

    span {
      position: relative;
      width: 50%;
      height: .3rem;
      background-color: var(--color-primary);

      &::before, &::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: .3rem;
        background-color: var(--color-primary);
      }
      &::before {
        top: -.8rem;
      }
      &::after {
        bottom: -.8rem;
      }
    }
  }
  .header-nav {
    color: #FFF;

    > li {
      border-bottom: solid 1px rgba(255, 255, 255, .3);

      > a, > button {
        display: flex;
        padding: 1.5rem 10%;
        color: #FFF;
      }
      ul {
        margin-left: 10%;

        li {
          padding: 1.5rem 5%;
          border-top: solid 1px rgba(255, 255, 255, .1);
        }
      }
    }
  }
  .header-btn {
    margin: 5%;

    a {
      display: block;
      padding: 1rem;
      border: solid .2rem var(--color-primary);
      border-radius: 9999px;
      background-color: #FFF;
      text-align: center;
      font-size: 2rem;
      font-weight: 500;
      color: var(--color-primary);
      transition: background-color .2s ease, color .2s ease;

      @media (hover: hover) {
        &:hover {
          background-color: var(--color-primary);
          color: #FFF;
        }
      }
    }
  }
}


/* KV
---------------------------------------- */
.kv {
  position: relative;
}
.kv__image {
  aspect-ratio: 192 / 90;
  width: 100%;
  max-height: 100vh;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  @media screen and (max-width: 767px) {
    aspect-ratio: 1;
  }
}
.kv__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #FFF;
}

.page-title {
  font-size: 2.3rem;
  font-weight: 500;
  letter-spacing: .2em;

  &.sz-lg {
    margin-bottom: .5em;
    font-size: 3.6rem;
  }
}
.page-copy {
  font-size: 2rem;
}


/* Footer
---------------------------------------- */
.footer-contact {
  padding: 7rem 0 10rem;
  border-top: solid 1px #EEE;
  background-color: #FFF;
  text-align: center;
}

.footer {
  padding-top: 6rem;
  background-color: var(--color-primary);
  font-size: 1.2rem;
  color: #FFF;
}
.footer-nav {
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 3%;

  > li {
    > *:first-child {
      position: relative;
      display: block;
      margin-bottom: 1rem;
      padding-bottom: 1rem;
      border-bottom: solid 1px currentColor;
      font-size: 1.5rem;

      &::after {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 3rem;
        height: 0;
        border-bottom: solid 1px #4c7baa;
        transition: width .3s ease;
      }
    }
    @media (hover: hover) {
      &:hover {
        > * {
          text-decoration: none;
          
          &::after {
            width: 100%;
          }
        }
        > a {
          text-decoration: none;
        }
      }
    }
  }
  @media (hover: hover) {
    a:hover {
      text-decoration: underline;
    }
  }
  @media screen and (max-width: 767px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 5vw;
  }
}
.footer-bottom {
  background-color: #000;
}
.footer-bottom__inner {
  width: min(90%, 150rem);
  margin: 0 auto;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;

  @media screen and (max-width: 767px) {
    padding: 2rem 0;
    flex-direction: column;
    gap: 2rem 0;
  }
}
.footer-logo {
  width: 18.5rem;

  a {
    transition: opacity .2s ease;

    @media (hover: hover) {
      &:hover {
        opacity: .7;
      }
    }
  }
  @media screen and (max-width: 767px) {
    width: min(36%, 18.5rem);
  }
}
.footer-text {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0 3rem;

  @media screen and (max-width: 767px) {
    margin: 0;
    flex-direction: column;
  }
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 0 2rem;

  @media (hover: hover) {
    a:hover {
      text-decoration: underline;
    }
  }
}
.copyright {
  font-size: 1rem;
}
.pagetop {
  position: fixed;
  bottom: -10rem;
  right: 2rem;
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: .05em;
  transition: bottom .5s ease;

  &.is-visible {
    bottom: 2rem;

    &.is-bottom {
      bottom: 10rem;
      color: #FFF;
    }
  }
  a {
    --icon-width: 4rem;
    position: relative;
    padding-top: calc(var(--icon-width) + .5rem);

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: calc(50% - (var(--icon-width) / 2));
      width: var(--icon-width);
      aspect-ratio: 1;
      border: solid 1px currentColor;
      border-radius: 50%;
    }
    &::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: calc(var(--icon-width) * .3);
      aspect-ratio: 1;
      transform: translate(-50%, -100%) rotate(-45deg);
      border: solid currentColor;
      border-width: 1px 1px 0 0;
    }
  }
}


/* Section
---------------------------------------- */
.sec-bg {
  background-color: var(--color-background);
}
.sec-heading--lg {
  margin-bottom: 5rem;
  text-align: center;

  &.align-left {
    text-align: left;
  }
  .heading-en {
    font-family: "Belleza", sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: .15em;
    color: var(--color-primary);
  }
  .heading-ja {
    font-size: 1.3rem;
    font-weight: 500;
  }
}
.sec-catch {
  margin-bottom: 1em;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 500;

  + p {
    text-align: center;
  }
}


/* Button
---------------------------------------- */
.button-primary {
  width: min(32rem, 90%);
  margin: 2.5rem auto 0;
  padding: .5rem 2rem .5rem 3rem;
  border: solid .2rem var(--color-primary);
  border-radius: 9999px;
  background-color: var(--color-primary);
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  font-weight: 500;
  color: #FFF;
  transition: background-color .2s ease, color .2s ease;

  &::after {
    content: "";
    width: .8rem;
    aspect-ratio: 1;
    border: solid currentColor;
    border-width: .2rem .2rem 0 0;
    transform: rotate(45deg);
  }
  > span {
    flex: 1;
  }
  &[target="_blank"] {
    &::after {
      width: 1em;
      border: none;
      transform: none;
      background-color: currentColor;
      mask: url(../images/common/icon-exlink.svg) center center / contain no-repeat;
    }
  }
  @media (hover: hover) {
    &:hover {
      background-color: #FFF;
      color: var(--color-primary);
    }
  }
}
.button-white {
  width: min(32rem, 90%);
  margin: 2.5rem auto 0;
  padding: .5rem 2rem .5rem 3rem;
  border: solid .2rem var(--color-primary);
  border-radius: 9999px;
  background-color: FFF;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  font-weight: 500;
  color: var(--color-primary);
  transition: background-color .2s ease, color .2s ease;

  &::after {
    content: "";
    width: .8rem;
    aspect-ratio: 1;
    border: solid currentColor;
    border-width: .2rem .2rem 0 0;
    transform: rotate(45deg);
  }
  > span {
    flex: 1;
  }
  &[target="_blank"] {
    &::after {
      width: 1em;
      border: none;
      transform: none;
      background-color: currentColor;
      mask: url(../images/common/icon-exlink.svg) center center / contain no-repeat;
    }
  }
  @media (hover: hover) {
    &:hover {
      background-color: var(--color-primary);
      color: #FFF;
    }
  }
}
.button-map {
  padding: .5em 2em .5em 2.5em;
  border-radius: 9999px;
  background-color: #CCC;
  display: inline-flex;
  align-items: center;
  gap: 0 1rem;
  text-align: center;
  font-family: var(--font-en);
  font-size: 1.2rem;
  transition: background-color .2s ease, color .2s ease;

  &::after {
    content: "";
    width: .6em;
    aspect-ratio: 1;
    border: solid currentColor;
    border-width: .15em .15em 0 0;
    transform: rotate(45deg);
  }
  > span {
    flex: 1;
  }
  @media (hover: hover) {
    &:hover {
      background-color: var(--color-primary);
      color: #FFF;
    }
  }
}
.button-contact {
  width: min(32rem, 90%);
  margin: 2.5rem auto 0;
  padding: .5rem 2rem .5rem 3rem;
  border: solid .2rem var(--color-primary);
  border-radius: 9999px;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  font-weight: 500;
  color: var(--color-primary);
  transition: background-color .2s ease, color .2s ease;

  &::after {
    content: "";
    width: .8rem;
    aspect-ratio: 1;
    border: solid currentColor;
    border-width: .2rem .2rem 0 0;
    transform: rotate(45deg);
  }
  > span {
    flex: 1;
  }
  @media (hover: hover) {
    &:hover {
      background-color: var(--color-primary);
      color: #FFF;
    }
  }
}
.button-accordion {
  width: min(32rem, 90%);
  margin: 2.5rem auto 0;
  padding: .5rem 2rem .5rem 3rem;
  border: solid .1rem var(--color-primary);
  border-radius: 9999px;
  background-color: var(--color-primary);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 .5em;
  text-align: center;
  font-weight: 500;
  color: #FFF;
  transition: background-color .2s ease, color .2s ease;
  cursor: pointer;

  &::before {
    content: "もっと詳細を見る";
  }
  &::after {
    content: "＋";
  }
  > span {
    flex: 1;
  }
  @media (hover: hover) {
    &:hover {
      background-color: #FFF;
      color: var(--color-primary);
    }
  }
  &.is-open {
    background-color: #FFF;
    color: var(--color-primary);

    &::before {
      content: "閉じる";
    }
    &::after {
      content: "ー";
    }
  }
}


