/* =============================================================
    Generic
============================================================= */
/* A (more) Modern CSS Reset + Custom Reset Style (by tkhc) */
*, *::before, *::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
      text-size-adjust: none;
}

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
  -webkit-margin-after: 0;
          margin-block-end: 0;
}

ul[role=list], ol[role=list] {
  list-style: none;
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

h1, h2, h3, h4, button, input, label {
  line-height: 1.1;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
  color: currentColor;
}

img, picture {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

h1, h2, h3, h4, h5, p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

/* =============================================================
    Base
============================================================= */
html {
  font-size: 62.5%;
}

html {
  font-size: 62.5%;
  overflow-y: scroll;
  scroll-behavior: smooth;
  scroll-padding-top: var(--height-header);
  letter-spacing: 0.02em;
  color: var(--color-text-default);
}

@media screen and (min-width: 768px) {
  html {
    font-size: 10px;
  }
}
html[data-scroll-fixed=active] {
  overflow: hidden;
}

@media (min-width: 768px) and (max-width: 1399px) {
  html {
    font-size: calc(10 * 100vw / 1400);
  }
}
body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1.4rem;
  font-weight: var(--fw-regular);
  line-height: 1.6;
  letter-spacing: 0;
  word-break: break-all;
  background-color: var(--color-white);
}
/* 簡体字中国語 (zh-CN) の場合 */
html[lang="zh-CN"] body {
  font-family: 'Noto Sans SC', sans-serif;
}

/* 繁体字中国語 (zh-TW) の場合 */
html[lang="zh-TW"] body {
  font-family: 'Noto Sans TC', sans-serif;
}

/* 韓国語 (ko) の場合 */
html[lang="ko"] body {
  font-family: 'Noto Sans KR', sans-serif;
}

body.is-locked {
  position: fixed;
  width: 100%;
}

h6, h5, h4, h3, h2, h1 {
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1.6;
}

address {
  font-style: normal;
}

/* lazysizes */
.lazyload {
  opacity: 0;
  -webkit-transition: opacity 0.8s ease-out;
  transition: opacity 0.8s ease-out;
}

.lazyloaded {
  opacity: 1;
}

/**
 * vue
 */
[v-cloak] {
  opacity: 0;
}

/**
 * window resize animate
 */
@media screen and (max-width: 767px) {
  .sponly {
    display: block !important;
  }
}
@media screen and (min-width: 768px) {
  .sponly {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .pconly {
    display: none !important;
  }
}
@media screen and (min-width: 768px) {
  .pconly {
    display: block !important;
  }
}

/**
 * logo
 */
.logo-icon {
  fill: currentColor;
  aspect-ratio: 2/1;
}

/* Header
------------------------------------------------------------- */
.site-header{
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255,255,255,.8);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: var(--zindex-header);
  /* height: var(--height-header-primary); */
}
.home .site-header,
.page-template-page-concept .site-header{
  position: fixed;
  top: 0;
  z-index: var(--zindex-header);
}
.header__container{
  width: 100%;
  padding-inline: 1rem;
  padding-block: 1.5rem .3rem;
  display: flex;
  justify-content: space-between;

}
.header-logo{
  width: 7rem;
}
.utility-content{
  display: flex;
  gap: 1rem;
}
.c-text-book{
  margin-top: 0.3rem;
  color: #fff;
  line-height: 1;
  font-size: 1rem;
  opacity: 0;
  height: 0;
  text-align: center;
}
.overlay-menu__toggle-button{
  transform: translateY(-4px);
}
.overlay-menu__toggle-button-inner{
  width: 4rem;
  height: 4rem;
  padding-inline: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: .7rem;
}

.overlay-menu__toggle-button-inner span{
  width: 100%;
  height: 2px;
  background-color: transparent; 
  background-image: linear-gradient(
      to bottom,
      var(--color-text-default) 0px,
      var(--color-text-default) 1.5px,
      transparent 1.5px
  );
}

.fixedHtml{
  overflow: hidden;
}
.overlayNav{
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--zindex-hamburgermenu-bg);
  width: 100%;
  height: 100dvh;
  background-color: rgba(17, 17, 17, .88);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: opacity var(--transition-default);
}
.fixedHtml .overlayNav{
  opacity: 1;
  pointer-events: all;
}
.overlay-menu__toggle-button-close{
  position: fixed;
  top: 2rem;
  right: 2rem;
}
.c-overlaynavi-list{
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 2.5rem;
  padding-left: 4.5rem;
}
.c-overlaynavi-list a{
  color: #fff;
  line-height: 1;
  font-size: 16px;
  letter-spacing: 0.06em;
  width: fit-content;
}



.copy--header{
  color: #888888;
  position: fixed;
  right: 4rem;
  bottom: 4rem;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .06em;
}
@media screen and (min-width: 768px) {
  .header__container{
    padding-inline: 2rem 3rem;
    /* padding-block: 1.9rem; */
    padding-block: 1.9rem .7rem;
  }
  .header-logo{
    width: 100px;
  }
  .utility-content{
    display: flex;
    gap: 1rem;
  }
  .overlay-menu__toggle-button{
    transform: translateY(-14px);
  }
  .overlay-menu__toggle-button-inner{
    padding-inline: 2px;
    width: 40px;
    height: 40px;
  }
  .overlayNav__inner{
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    align-items: center;
    height: 100%;
  }
  .c-logo-link{
    display: block;
    width: 15rem;
    margin-inline: auto;
  }
  .c-logo-link svg{
    fill: #fff;
  }
  .c-text-book{
    font-size: 10px;
  }
  .c-overlaynavi-list{
    align-items: unset;
    padding-left: 8rem;
  }
  .c-overlaynavi-list a{
    font-size: 20px;
  }
  .copy--header{
    right: 5rem;
    bottom: 5rem;
    font-size: 12px;
  }
}
@media (max-width: 767px) {
  .overlayNav__inner{
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 16dvh;
  }
}
@media (min-width: 768px) and (max-height: 460px) {
  .c-overlaynavi-list{
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    padding-left: 0;
  }
}

/* topのみ */
.header-top.stopped.site-header{
  background-color: rgba(255,255,255,0);
  background-image: linear-gradient(180deg, rgba(17, 17, 17, 0.6), rgba(17, 17, 17, 0.1) 70%, rgba(17, 17, 17, 0));
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  height: 10rem;

}
.header-top.site-header{
  transition: background-color var(--transition-default),backdrop-filter var(--transition-default);
}

.header-top.stopped .header-logo svg{
  fill:#fff;
}
.header-top .header-logo svg{
  transition: fill var(--transition-default);
}
.header-top.stopped .c-button-book.c-button-cta{
  color: var(--color-text-default);
  background-color: #fff;
  border-color: #fff;
}
.header-top.stopped .c-text-book{
  opacity: 1;
  height: auto;
}
.header-top.stopped .c-button-translate.c-button-main{
  color: #fff;
  border-color: #fff;
}
.header-top.stopped .overlay-menu__toggle-button-inner span{
  /* background-color: #fff; */  
  background-color: transparent; 
  background-image: linear-gradient(
      to bottom,
      #fff 0px,
      #fff 1.5px,
      transparent 1.5px
  );
}

.c-button-area--book{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.c-button-translate.c-button-main,
.c-button-book.c-button-cta{
    font-size: 13px;
}
@media screen and (min-width: 768px) {
  .c-button-translate.c-button-main,
  .c-button-book.c-button-cta{
    font-size: 15px;
  }
}



/* 
main{
  padding-top: var(--height-header-primary);
}

.home main{
  padding-top: 0;
} */


/*
 * GTranslate カスタムセレクト用CSS
 */

/* 全体を包むコンテナ（相対位置の基準） */
.custom-gtranslate-select {
  position: relative;
}

/* ボタン（画像のデザイン） */
.custom-gtranslate-button {
  width: fit-content;
  display: grid;
  place-content: center;
  font-size: 13px;
  letter-spacing: .03em;
  line-height: 1;
  border: 1px solid var(--color-text-default);
  border-radius: 4em;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  background-color: rgba(255, 255, 255, .1);
  backdrop-filter: blur(5px);
  position: relative;
  padding-inline: 2.5rem;
  padding-block: 0;
  height: 30px;
  min-width: 8rem;
}
.header-top.stopped .custom-gtranslate-button{
  color: #fff;
  border-color: #fff;
}

  

/* 矢印のデザイン */
.custom-gtranslate-arrow {
  transition: scale var(--transition-default);
  scale: 1 1;
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1rem;
  margin-block: auto;
  width: .87rem;
  height: .59rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%228.768%22%20height%3D%225.901%22%20viewBox%3D%220%200%208.768%205.901%22%3E%20%3Cpath%20id%3D%22_%22%20data-name%3D%22%26gt%3B%22%20d%3D%22M1349.1%2C31.581l-4.384-5.261.768-.64%2C3.616%2C4.339%2C3.616-4.339.768.64Z%22%20transform%3D%22translate(-1344.715%20-25.68)%22%20fill%3D%22%23111%22%2F%3E%3C%2Fsvg%3E')
}
.header-top.stopped .custom-gtranslate-arrow{
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%228.768%22%20height%3D%225.901%22%20viewBox%3D%220%200%208.768%205.901%22%3E%20%3Cpath%20id%3D%22_%22%20data-name%3D%22%26gt%3B%22%20d%3D%22M1349.1%2C31.581l-4.384-5.261.768-.64%2C3.616%2C4.339%2C3.616-4.339.768.64Z%22%20transform%3D%22translate(-1344.715%20-25.68)%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E')
}

/* 開いたときの矢印（上向き） */
.custom-gtranslate-button.active .custom-gtranslate-arrow {
  scale: 1 -1;
}


/* 言語リスト（アコーディオン） */
.custom-gtranslate-list {
  display: none; /* 普段は非表示 */
  position: absolute;
  top: 110%; /* ボタンのすぐ下 */
  left: 0;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 100;
  max-height: 250px; /* 項目が多い場合スクロール */
  overflow-y: auto;
}

/* リストが開いた状態 */
.custom-gtranslate-list.active {
  display: block;
}

/* リスト内のリンク（元のglink） */
.custom-gtranslate-list a.glink {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--color-text-default);
  font-size: 1.2rem;
  background-color: #fff;
}
.custom-gtranslate-list a.glink + a.glink{
  border-top: 1px solid var(--color-border-default);
}

.custom-gtranslate-list a.glink:hover {
  background-color: #f5f5f5;
}

/* (推奨) リスト内では、現在選択中の言語を非表示にする */
/* (ボタン名と重複するため) */
.custom-gtranslate-list a.glink.gt-current-lang {
  display: none;
}

/* GTranslateラッパーの直下にある要素のうち */
.gtranslate_wrapper > * {
  /* まずすべて非表示にする */
  display: none;
}

/* GTranslateラッパーの直下にある要素のうち、.custom-gtranslate-select だけを表示する */
.gtranslate_wrapper > .custom-gtranslate-select {
  display: inline-block;
}


@media screen and (min-width: 768px) {
  .custom-gtranslate-button {
    font-size: 15px;
    min-width: 10.6rem;
    padding-inline: 2rem;
  }
}





/* Footer
------------------------------------------------------------- */
.footer__inner{
  width: 100%;
  padding-block: 8rem;
  padding-inline: var(--padding-horizontal-global);
  border-top: 1px solid var(--color-text-default);
}
.footer__inner{
  display: flex;
  flex-direction: column-reverse;
  gap: 7rem;
  align-items: center;
}
footer .c-logo-link{
  width: 16rem;
}
.footer__nav-list{
  display: grid;
  gap: 2.5rem 5.5rem;
  grid-template-columns: auto auto;
}
.footer__nav-list a{
  font-size: 14px;
  line-height: 1;
  letter-spacing: .06em;
}
.footer__sns-list{
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}
.copy--footer{
  margin-top: 4.6rem;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--color-text-default);
  text-align: center;
  display: block;
}
@media (min-width: 768px) {
  .footer__inner{
    padding-block: 6rem;
    display: grid;
    grid-template-columns: 15rem auto;
  }
  footer .c-logo-link{
    width: 15rem;
  }
  footer .c-logo-link svg{
    fill: var(--color-text-default);
  }
  .footer__content{
    margin-inline: auto 0;
  }
  .footer__nav-list{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-end;
  }
  .footer__sns-list{
    margin-top: 3rem;
    gap: 2.5rem;
    flex-direction: row;
    justify-content: flex-end;
  }
  .copy--footer{
    margin-top: 2.8rem;
    font-size: 12px;
    text-align: right;
  }
}
@media (max-width: 767px) {
  .footer__content{
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }
  .footer__utility-area{
    width: 100%;
  }

  .footer__nav-list a:first-child{
    order: 1;
  }
  .footer__nav-list a:nth-child(2){
    order: 3;
  }
  .footer__nav-list a:nth-child(3){
    order: 5;
  }
  .footer__nav-list a:nth-child(4){
    order: 7;
  }
  .footer__nav-list a:nth-child(5){
    order: 9;
  }
  .footer__nav-list a:nth-child(6){
    order: 2;
  }
  .footer__nav-list a:nth-child(7){
    order: 4;
  }
  .footer__nav-list a:nth-child(8){
    order: 6;
  }
  .footer__nav-list a:nth-child(9){
    order: 8;
  }
}

.floation-content-list{
  position: fixed;
  right: 1.2rem;
  bottom: 2rem;
  z-index: var(--zindex-floating-element);
}
.floating-banner-area{
  transition: opacity var(--transition-default);
  opacity: 0;
  pointer-events: all;

  animation: fadeInFloatingBanner .4s ease .5s forwards;
}
.hide-floating-banner .floating-banner-area{
  opacity: 0;
  pointer-events: none;
  display: none;
}
.floating-banner{
  width: 210px;
  border-radius: 5px;
  background-color: #31383E;
  position: relative;
}
.floating-banner[data-color-pattern="pattern02"]{
  background-color: #A51924;
}
.floating-banner[data-color-pattern="pattern02"] .c-button--floating-banner{
  color: #A51924;
}
.floating-banner[data-color-pattern="pattern03"]{
  background-color: #D5E0EA;
}
.floating-banner[data-color-pattern="pattern03"] .floating-banner__contents{
  color: #222222;
}
.floating-banner[data-color-pattern="pattern03"] .c-button--floating-banner{
  color: #D5E0EA;
  background-color: #222222;
}
.c-button-close-floating-banner{
  position: absolute;
  top: -8px;
  right: -8px;
  width: 3rem;
  height: 3rem;
  z-index: 1;
  display: grid;
  place-content: center;
  margin: 0;
  padding: 0;
}
.c-button-close-floating-banner svg{
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 1;
  background-color: #fff;
  border-radius: 99%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  box-shadow: 0 0 50px 0px rgba(17, 17, 17, .5);
}
.floating-banner__inner{
  padding: 10px 15px;
  display: grid;
  justify-items: center;
  gap: 1rem;
}
.floating-banner__contents{
  font-size: 14px;
  letter-spacing: .06em;
  text-align: center;
  line-height: 1.4;
  color: #fff;
}
.c-button--floating-banner{
  width: 100%;
  height: auto;
  padding: 1rem;
  font-size: 13px;
  background-color: #fff;
  color: var(--color-text-default);
  border: unset;
}

@keyframes fadeInFloatingBanner{
  to{
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .floation-content-list{
    position: fixed;
    right: 1.6rem;
  }
  .c-button-close-floating-banner{
    width: 20px;
    height: 20px;
  }
}

#tripla-app{
  opacity: 1;
  transition: opcity var(--transition-default);
}
html.is-loaded.fixedHtml #tripla-app,
html.is-loading.fixedHtml #tripla-app{
  opacity: 0!important;
  pointer-events: none!important;
}
html:not(.hide-floating-banner) #tripla-icon-message{
  bottom: 220px!important;
}
html:not(.hide-floating-banner) #tripla-chat-circle-icon{
  bottom: 140px!important;
}

html:not(:has(.floation-content-list)) #tripla-icon-message{
  bottom: 80px!important;
}
html:not(:has(.floation-content-list)) #tripla-chat-circle-icon{
  bottom: 0!important;
}
@media (hover: hover) {
  .overlay-menu__toggle-button,
  .overlay-menu__toggle-button-close,
  .c-button-close-floating-banner{
    cursor: pointer;
  }
}