:root {
  interpolate-size: allow-keywords;
  
  --sat: env(safe-area-inset-top, 0);
  --sar: env(safe-area-inset-right, 0);
  --sab: env(safe-area-inset-bottom, 0);
  --sal: env(safe-area-inset-left, 0);
  --bodycolor: #fff;
  --maincolor: #000;
  --subcolor: #8f8f8f;
  --subcolor-: #3e3e3e;
  --themecolor: #e0e1e5;
  --leadcolor: #959eab;
  --expcolor: #2C2C2C;
  --decorationcolor: #595553;
  --advancecolor: rgba(89, 85, 83, .4);
  --mobilecolor: #162538;
  --brandcolor: #334e41;
  --buttoncolor: #75797C;

  --blurShadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.3);
  --blurShadow-: 0px 0px 4px rgba(0, 0, 0, .5), 0px 0px 8px rgba(0, 0, 0, 1);
  --boxShadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.1);

  --linear:         cubic-bezier(0.250, 0.250, 0.750, 0.750);
  --easeInSine:     cubic-bezier(0.47,  0,     0.745, 0.715);
  --easeOutSine:    cubic-bezier(0.39,  0.575, 0.565, 1    );
  --easeInOutSine:  cubic-bezier(0.445, 0.05,  0.55,  0.95 );
  --easeInQuad:     cubic-bezier(0.55,  0.085, 0.68,  0.53 );
  --easeOutQuad:    cubic-bezier(0.25,  0.46,  0.45,  0.94 );
  --easeInOutQuad:  cubic-bezier(0.455, 0.03,  0.515, 0.955);
  --easeInCubic:    cubic-bezier(0.55,  0.055, 0.675, 0.19 );
  --easeOutCubic:   cubic-bezier(0.215, 0.61,  0.355, 1    );
  --easeInOutCubic: cubic-bezier(0.645, 0.045, 0.355, 1    );
  --easeInQuart:    cubic-bezier(0.895, 0.03,  0.685, 0.22 );
  --easeOutQuart:   cubic-bezier(0.165, 0.84,  0.44,  1    );
  --easeInOutQuart: cubic-bezier(0.77,  0,     0.175, 1    );
  --easeInQuint:    cubic-bezier(0.755, 0.05,  0.855, 0.06 );
  --easeOutQuint:   cubic-bezier(0.23,  1,     0.32,  1    );
  --easeInOutQuint: cubic-bezier(0.86,  0,     0.07,  1    );
  --easeInExpo:     cubic-bezier(0.95,  0.05,  0.795, 0.035);
  --easeOutExpo:    cubic-bezier(0.19,  1,     0.22,  1    );
  --easeInOutExpo:  cubic-bezier(1,     0,     0,     1    );
  --easeInCirc:     cubic-bezier(0.6,   0.04,  0.98,  0.335);
  --easeOutCirc:    cubic-bezier(0.075, 0.82,  0.165, 1    );
  --easeInOutCirc:  cubic-bezier(0.785, 0.135, 0.15,  0.86 );
  --easeInBack:     cubic-bezier(0.6,  -0.28,  0.735, 0.045);
  --easeOutBack:    cubic-bezier(0.175, 0.885, 0.32,  1.275);
  --easeInOutBack:  cubic-bezier(0.68, -0.55,  0.265, 1.55 );

  --opacity: opacity .25s var(--easeInOutSine);
  --all: all .25s var(--easeInOutSine);
  --button:
    color .25s ease,
    background-color .25s ease,
    border .25s ease,
    outline .25s ease;
}

::selection {
  color: var(--maincolor);
  background-color: var(--leadcolor);
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  font-feature-settings: "palt";
  /* box-sizing: border-box; */
  /* -webkit-tap-highlight-color: rgb(0, 0, 0, 0); */
  -webkit-touch-callout: none;
}

*:focus {
  outline: none;
}

html {
  scroll-padding-top: 150px;
}
body {
  padding-bottom: var(--sab);
  /* font-size: 0.85em;
  font-family: YakuHanJP, 'Noto Serif JP', serif;
  font-weight: 400;
  letter-spacing: 1px;
  text-align: justify;
  text-justify: inter-ideograph;
  color: var(--maincolor);
  background-color: var(--bodycolor); */
  touch-action: manipulation;
}
body.is-load {
  visibility: visible;
  opacity: 1;
}

a {
  text-decoration: none;
  color: inherit;
}

a[href^="tel:"] {
  pointer-events: none;
}

img,
video {
  display: block;
  pointer-events: none;
  user-select: none;
  backface-visibility: hidden;
  transform: translateZ(0);
}
iframe {
  display: block;
  user-select: none;
  border: none;
}

._pc {
  display: unset;
}

._sp {
  display: none;
}

._blockScroll {
  /* height: 100%; */
  position: fixed;
  left: 0;
  right: 0;
  overflow: hidden;
}

figure {
  position: relative;
}
figure img {
  width: 100%;
}
figure[data-scroll-blink],
figure:has([data-scroll-zoom]),
figure:has([data-scroll-zoom_]) {
  overflow: hidden;
}
figure figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  line-height: 1em;
  text-align: right;
  color: var(--bodycolor);
  &.b {
    color: var(--maincolor);
  }
}

article {
  position: relative;
  font-family: YakuHanMP, 'Noto Serif JP', serif;
  text-align: justify;
  text-justify: inter-ideograph;
  color: var(--maincolor);
}

article *,
article *:before,
article *:after {
  box-sizing: border-box;
}

article div#container {
  width: 100%;
}

article div.container {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  /* perspective: 100px; */
}

ol#breadcrumb {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  li {
    color: var(--bodycolor);
    a {
      color: var(--bodycolor);
      &::after {
        filter: invert(100%) sepia(0%) saturate(1%) hue-rotate(57deg) brightness(109%) contrast(101%);
      }
    }
  }
}

section#fv {
  position: relative;
}

section.usp {
  padding: 0 0 2rem;
  background-color: var(--themecolor);
}
section.usp .container {
  position: relative;
  padding: 2rem 100px;
}
article div.container > p.annotation {
  padding-top: 1rem;
  line-height: 1.2rem;
}

article h2 {
  font-size: clamp(1rem, 0.333rem + 1.39vw, 2rem);
  line-height: clamp(1rem, 0.333rem + 1.39vw, 2rem);
  letter-spacing: .2rem;
  text-align: center;
}

article h3 {
  font-size: clamp(1rem, 0.333rem + 1.39vw, 2rem);
  line-height: clamp(1rem, 0.333rem + 1.39vw, 2rem);
  letter-spacing: .2rem;
  text-align: center;
}

article .bodycopy {
  font-size: clamp(1rem, 0.333rem + 1.39vw, 2rem);
  line-height: clamp(3rem, 2.333rem + 1.39vw, 4rem);
  letter-spacing: .2rem;
}
article .explanation {
  font-size: clamp(0.75rem, 0.25rem + 1.04vw, 1.5rem);
  line-height:clamp(3rem, 2.333rem + 1.39vw, 4rem);
  letter-spacing: .2rem;
}

#pageAnnotation {
  padding: 40px 0;
  background-color: var(--bodycolor);
}
#pageAnnotation p.annotation {
  font-size: 1.2rem;
  line-height: 1.8rem;
  line-break: anywhere;
  font-weight: 200;
}
#pageAnnotation p.annotation span {
  display: block;
  margin-left: 1em;
  text-indent: -1em;
}


*[data-scroll] {
  opacity: 0;
  transition:
    opacity 2s .5s cubic-bezier(.7, .3, .55, 1);
}
*[data-scroll_] {
  opacity: 0;
  transition:
    opacity 2s 1s cubic-bezier(.7, .3, .55, 1);
}
*[data-scroll-vertical] {
  opacity: 0;
  transform: translateY(100px);
  transition:
    opacity 2s .2s cubic-bezier(.7, .3, .55, 1),
    transform 4s .2s cubic-bezier(.11, .76, .26, 1);
  /*
  transition:
    opacity .6s cubic-bezier(.215,.61,.355,1),
    transform .6s cubic-bezier(.215,.61,.355,1);
  */
}
*[data-scroll-vertical_] {
  opacity: 0;
  transform: translateY(-100px);
  transition:
    opacity 2s .5s cubic-bezier(.7, .3, .55, 1),
    transform 4s .5s cubic-bezier(.11, .76, .26, 1);
}
*[data-scroll-horizontal] {
  opacity: 0;
  transform: translateX(-100px);
  transition:
    opacity 1s .2s cubic-bezier(.7, .3, .55, 1),
    transform 4s .2s cubic-bezier(.11, .76, .26, 1);
}
*[data-scroll-horizontal_] {
  opacity: 0;
  transform: translateX(100px);
  transition:
    opacity 1s .5s cubic-bezier(.7, .3, .55, 1),
    transform 4s .5s cubic-bezier(.11, .76, .26, 1);
}
*[data-scroll-zoom] {
  transform: scale(1.2);
  transition:
    transform 3.6s .0s cubic-bezier(.11, .76, .26, 1);
}
*[data-scroll-zoom_] {
  opacity: 0;
  transform: scale(1.2);
  filter: blur(6px);
  transition:
    opacity 1.2s .2s cubic-bezier(.7, .3, .55, 1),
    filter .6s .2s var(--easeInCubic),
    transform 3.6s 0s cubic-bezier(.11, .76, .26, 1);
}
*[data-scroll-3d] {
  opacity: 0;
  transform: translateY(80%) rotateX(-80deg);
  transition:
    opacity .5s .2s cubic-bezier(.7, .3, .55, 1),
    transform 1s 0s cubic-bezier(.215, .61, .355, 1);
}

*.active[data-scroll],
*.active[data-scroll_] {
  opacity: 1;
}
*.active[data-scroll-vertical],
*.active[data-scroll-vertical_],
*.active[data-scroll-horizontal],
*.active[data-scroll-horizontal_],
*.active[data-scroll-3d] {
  opacity: 1;
  transform: unset;
}

*.active[data-scroll-zoom] {
  transform: unset;
}
*.active[data-scroll-zoom_],
*.active[data-scroll-zoom__] {
  opacity: 1;
  filter: blur(0);
  transform: unset;
}

*[data-scroll-blur] {
  opacity: 1;
  backdrop-filter: blur(4px);
}

*[data-scroll-blink] {
  overflow: hidden;
}
*[data-scroll-blink]::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(-100%);
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  /* backdrop-filter: blur(10px); */
  opacity: .4;
  transition:
    width 1.2s .8s cubic-bezier(.11, .76, .26, 1);
}
*[data-scroll-blink]::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  transform: translateX(-100%);
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  opacity: .6;
  transition:
    width 2.4s .4s cubic-bezier(.11, .76, .26, 1);
}
*[data-scroll-blink].active::before,
*[data-scroll-blink].active::after {
  width: 0;
  transform: translateX(0);
}

/* .scroll-hint-icon-wrap {
  display: none;
} */


/**/
.system_topic {
  width: 100%;
  padding: 0;
  margin: 0;
  .system_topic_item {
    padding: 0;
    margin-bottom: 1rem;
    text-indent: 0;
    letter-spacing: .2rem;
    .system_text-large {
      font-size: 3.4rem;
      line-height: 4rem;
    }
    .system_text-middle {
      font-size: 2rem;
      line-height: 2.6rem;
    }
    .system_text-small {
      font-size: 1.4rem;
      line-height: 2rem;
    }
    .system_font-bold {
      font-weight: 700;
    }
  }
}

/* cfa */
section#cfa {
  .ttl {
    padding: 4rem 0 10rem;
    text-align: center;
    color: var(--bodycolor);
    h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 3.5rem;
      j {
        display: block;
        margin-top: 1rem;
        font-size: 40%;
      }
    }
    .bodycopy {
      margin-top: 3rem;
      font-size: 3rem;
    }
    .explanation {
      margin-top: 4rem;
    }
  }
}

/* banners */

/* visualNavigation */
section#visualNavigation {
	user-select: none;
  background: var(--bodycolor);
  background: linear-gradient(90deg,rgba(34, 38, 33, .3) 0%, rgba(44, 44, 44, .3) 45%, rgba(44, 44, 44, 0.09) 100%);
  nav {
    display: flex;
    gap: 1px;
    button {
      display: flex;
      position: relative;
      padding: 3rem 2rem 4rem;
      width: 50%;
      background-color: #2C2C2C;
      cursor: pointer;
      overflow: hidden;
      &:hover {
        mix-blend-mode: hard-light;
        &.back {
          p {
            .ar {
              margin-right: 1rem;
            }
          }
        }
        &.next {
          p {
            .ar {
              margin-left: 1rem;
            }
          }
        }
      }
      p {
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 1;
        width: 40%;
        font-size: 2rem;
        color: var(--bodycolor);
        .e {
          font-family: 'Cormorant Garamond', serif;
        }
        .j {
          font-size: 50%;
        }
        .ar {
          position: relative;
          top: 1rem;
          right: 0;
          content: "";
          width: 100%;
          height: 1px;
          background-color: var(--bodycolor);
          transition: var(--all);
          &::before {
            position: absolute;
            display: block;
            content: "";
            margin-top: -0.5rem;
            width: 2rem;
            height: 1rem;
            background-color: var(--bodycolor);
          }
        }
      }
      &.back {
        p {
          align-items: flex-end;
          .ar {
            &::before {
              clip-path: polygon(0 50%, 100% 0, 100% 50%);
            }
          }
        }
      }
      &.next {
        justify-content: flex-end;
        p {
          align-items: flex-start;
          .ar {
            &::before {
              right: 0;
              clip-path: polygon(0 0, 100% 50%, 0 50%);
            }
          }
        }
      }
    }
  }
  h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    font-family: "Cormorant Garamond", serif;
    color: var(--expcolor);
    span {
      font-family: inherit;
      font-size: 50%;
      line-height: 1rem;
    }
  }
  ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
  padding: 4rem 0;
    li {
      position: relative;
      display: inline-block;
      width: calc(16.66% - 16.66px);
      a {
        text-decoration: none;
        transition: var(--opacity);
        &::before {
          position: absolute;
          left: 0;
          top: 0;
          z-index: 1;
          content: "";
          width: 100%;
          height: 100%;
          background-color: rgba(0, 0, 0, .5);
        }
        figure {
          figcaption {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: absolute;
            left: 0;
            top: 0;
            z-index: 1;
            width: 100%;
            height: 100%;
            font-family: "Cormorant Garamond", serif;
            font-size: 2rem;
            color: var(--bodycolor);
            span {
              margin-top: 1rem;
              font-family: inherit;
              font-size: 50%;
              line-height: 0;
            }
          }
        }
        &:hover {
          opacity: .6;
        }
      }
    }
  }
}




@media all and (min-width: 769px) and (max-width: 1500px) {

  html,
  body {
    /*overflow-x: hidden;*/
  }

  body {
    /*font-size: 0.8em;*/
  }

  article div.container {
    width: 90%;
  }

  
  /**/

  /* banners */

  /* visualNavigation */
  section#visualNavigation {
  }
  section#visualNavigation nav {
  }

}


@media all and (max-width: 768px) {

  html,
  body {
    /*overflow-x: hidden;*/
  }

  body {
    /*font-size: 0.8em;*/
  }

  a[href^="tel:"] {
    pointer-events: all;
  }

  ._pc {
    display: none !important;
  }

  ._sp {
    display: inherit !important;
  }

  ._overflowX {
    overflow-x: hidden;
    overflow-y: auto;
  }

  article div.container {
    width: 100%;
    padding: 0 4%;
  }

  ol#breadcrumb {
    bottom: unset;
    /* top: 10px; */
    margin: 5px auto 0;
  }

  article h2 {
  }

  article h3 {
  }

  article .bodycopy {
    font-size: 4vw;
  }
  article .explanation {
    font-size: 3vw;
    line-height: clamp(2.5rem, 1.833rem + 1.39vw, 3.5rem);
  }

  #pageAnnotation {
  }
  #pageAnnotation p.annotation {
  }
  #pageAnnotation p.annotation span {
  }


  /**/
  .system_topic {
    .system_topic_item {
      .system_text-large {
        font-size: 6vw;
        line-height: 3rem;
      }
      .system_text-middle {
        font-size: 3.73vw;
        line-height: 2rem;
      }
      .system_text-small {
        font-size: 3vw;
        line-height: 2rem;
      }
      .system_font-bold {
      }
    }
  }

  /* cfa */
  section#cfa {
    .ttl {
      padding: 4rem 0;
      h2 {
        font-size: 6vw;
        text-align: center;
      }
      .bodycopy {
        font-size: 4.5vw;
      }
      .explanation {
        margin-top: 2rem;
        font-size: 3vw;
        line-height: 3rem;
      }
    }
  }

  /* banners */

  /* visualNavigation */
  section#visualNavigation {
    nav {
      button {
        padding: 1rem 1rem 2rem;
        p {
          width: 60%;
          font-size: 4vw;
          .e {
          }
          .j {
          }
          .ar {
            &::before {
            }
          }
        }
        &.back {
          p {
            .ar {
              &::before {
              }
            }
          }
        }
        &.next {
          p {
            .ar {
              &::before {
              }
            }
          }
        }
      }
    }
    h2 {
      font-size: 4vw;
      span {
      }
    }
    ul {
      gap: 10px;
      li {
        width: calc(50% - 5px);
        a {
          figure {
            figcaption {
              font-size: 4vw;
              span {
              }
            }
          }
        }
      }
    }
  }

}