a{
  color: #333;
}
.pc_none{display: none;}
@media (max-width: 768px) {
  .sp_none{
  display: none;
}

.pc_none{
  display: block;}
}
/****/

.link_border_blue{
  color: #6784af;
  border-bottom: solid #6784af 1px;
}
.openWindow{
  position: relative;
  display: inline-flex;
  align-items: center;
}
.openWindow::after {
  content: "";
  width: 1em;
  height: 1em;
  background: url(../img/common/icon-openWindow_blue.svg) center / contain no-repeat;
  margin: 0 0.25em;
  flex-shrink: 0;
}
.policy_link{
  margin-bottom: var(--space-m);
  font-size: 14px;
}
/* =========================
   Header base
========================= */
.header--fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
  background: transparent;
}

/* 背景レイヤー */
.header--fixed::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #fff;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
  z-index: -1;
  box-shadow: 5px 7px 10px rgba(156, 145, 140, 0.1);
}
/* スクロール後 */
.header--fixed.is-scrolled::before {
  transform: scaleY(1);
}
.header__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 82px;
}
.header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  display: block;
  margin-left: 30px;
}

.header__logo img {
  width: auto;
  max-width: 140px; 
  height: 80px;
  padding: 10px 0;
}
@media (max-width: 1100px) {
  
.header__logo {
  margin-left: 10px;
}

  .header__logo img {
    max-width: 110px;
  }
}

/* =========================
   Navigation（PC default）
========================= */

/* ★ PCでは nav は通常フローに戻す（重要） */
.header__nav {
  position: static;
  inset: auto;
  background: transparent;

  opacity: 1;
  pointer-events: auto;
}

.header__menuwrap {
  display: flex;
  align-items: center;
}

.header__menu {
  display: flex;
}

.header__menu a {
  display: block;
  padding: var(--space-m) 0;
  margin: 0 15px;
  text-decoration: none;
  position: relative;
  color: #322418;
  transition: all ease 3s;
}
.header__menu a:hover{
  color: #a57582;
  transition: ease .3s;
}
.header__menu a:before{
  position: absolute;
  content: "";
  width: 0;
  height: 3px;
  background-color: #d2bbc1;
  left: 0;
  bottom: -2px;
  transition: ease .7s;
}
.header__menu a:hover:before{
  position: absolute;
  content: "";
  width: 100%;
  left: 0;
  transition: ease .7s;
}
.header__menu .header__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.5;
}

.header__label-en {
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

/* =========================
   CTA（PC）
========================= */

.header__cta {
  display: flex;
  height: 100%;
  position: relative;
  z-index: 20; /* navより前 */
  
}

.header__cta a {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-direction: column;
  height: 100%;
  padding: 0 var(--space-m);
  min-width: 80px;

  text-decoration: none;
}
.header__cta .line{
  background-color: #d2bbc1;
}
.header__cta .web{
  background-color: #9aa8c9;
}
.button__icon svg {
  width: 24px;
  height: 24px;
  color: #fff; /* ← ここを変えるだけ */
}
.header__cta img {
  width: 24px;
  height: 24px;
}
.button__label {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #fff;
  white-space: nowrap;
  font-weight: 600;
}
.button__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
/* =========================
   Hamburger
========================= */
.header__hamburger {
  display: none;
  position: relative;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  top:26px;
  right: 25px;
}

.header__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #000;
  transition: transform .3s ease, opacity .3s ease;
}

/* OPEN状態 */
.header--open .header__hamburger span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.header--open .header__hamburger span:nth-child(2) {
  opacity: 0;
}
.header--open .header__hamburger span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/***********************/
/* =========================
   Fixed CTA（default: PC非表示）
========================= */
.fixed_cta {
  display: none;
}

/* =========================
   Fixed CTA（SP only）
========================= */
@media (max-width: 1100px) {

  .fixed_cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    z-index: 1000;

    box-shadow: 0 -4px 10px rgba(0,0,0,0.08);
    background: #fff;
  }

  .fixed_cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    text-decoration: none;
  }

  .fixed_cta .line {
    background-color: #d2bbc1;
  }

  .fixed_cta .web {
    background-color: #9aa8c9;
  }

  .fixed_cta .button__icon img,
  .fixed_cta .button__icon svg {
    width: 22px;
    height: 22px;
    transform: translateY(4px);
  }

  .fixed_cta .button__label {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
  }
}

/* =========================
   SP styles
========================= */
@media (max-width: 1100px) {

  .header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
  }

  .header__cta {
    display:none
  }

  .header__menuwrap {
    display: flex;
    align-items: stretch;
}
  /* ★ SPだけ overlay */
  .header__nav {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 999;

    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }

  .header--open .header__nav {
    opacity: 1;
    pointer-events: auto;
  }

  .header__menu {
    height: calc(100% - 70px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }
}

/* =========================
   SP bottom CTA
========================= */
.sp-cta {
  display: none;
}

@media (max-width: 1100px) {
  .sp-cta {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
  }
}

/* =========================
   Section / Layout
========================= */
section {
  padding-block: 80px;
}
section.cta{
  padding-block: unset;
}
.layout {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 24px;
}

@media (max-width: 768px) {
  section {
  padding-block: 40px;
}
  .layout {
    padding-inline:1rem;
  }
}

.gradiant span.row{
  font-size: var(--font-size-l);
  display: inline-block;
  margin: 10px 0;
  background: linear-gradient(-90deg, #f7ebf9 0%, #e2e8f6 100%);
  padding: .5rem;
}

/******************/
section.access{
  background-color: #f0f0f3;
}
.flex-stack{
  display: flex;
    flex-direction: row;
    gap:20px;
}


.access h3{
  font-size: var(--font-size-m);
  margin-bottom: var(--space-m);
}
.access__info{
  border-right: 1px solid #333;
}
.access__info,
.access__info_map{
  flex: 1;
}
.access__info_map{
  padding-left: var(--space-l);
}

.access__info span{
  color: #996678;
  font-size: var(--font-size-xs);
  display: block;
}
.access__hour{
  margin-bottom: var(--space-xl);
}
.access__hour p{
  font-size: var(--font-size-xs);
}
.icon-text {
  position: relative;
  padding-left: 1.5em;
  line-height: 1.7;
  margin-bottom: var(--space-l);
}

/*******/
.schedule {
  max-width: 800px;
  border-collapse: collapse;
  text-align: center;
  font-size: 14px;
}
@media (max-width: 768px) {
  .flex-stack{
    flex-direction: column;
}
.access__info_map{
  padding-left:none
}
.access__info{
  border-right: none;
}
.schedule {
  width: 100%;
}
}
.schedule th{
  border-right: 1px solid #ddd;

}
.schedule th,
.schedule td {
  padding: 0.5em 0.75em;
  color: #97899b;
}
.schedule td {
  background-color: #fff;
}
.schedule thead th {
  background-color: #b4b0b5;
  font-weight: bold;
  color: #fff;
}
.schedule {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  margin-bottom: var(--space-m);
}

.schedule td {
  padding: 1em 0;
}

.time-range {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  font-size: 13px;
}

.time-range::before {
  content: "";
  position: absolute;
  top: 1.6em;
  bottom: 1.6em;
  width: 1px;
  background-color: #97899b;
}

/* 共通：アイコン枠 */
.icon-text::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 1.2em;
  height: 1.2em;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 種別ごとに差し替え */
.icon-text[data-icon="station"]::before {
  background-image: url("../img/common/icon-subway.webp");
}

.icon-text[data-icon="time"]::before {
  background-image: url("/assets/img/icon-time.svg");
}

.icon-text[data-icon="notice"]::before {
  background-image: url("/assets/img/icon-notice.svg");
}


/* =========================
   CTA
========================= */
.cta {
  display: flex;
    justify-content: center;
    gap:0;
align-items: stretch
}

@media (max-width: 1100px) {
  .cta {
    flex-direction: column;
  }
}

.cta__title{
  margin-bottom: var(--space-l);
  line-height: 2.5;
}
.cta__title-en{
  font-size: 11px;
  display: block;
}
.cta__item{
    width: 100%;
}
.cta__item p{
  margin-bottom: var(--space-l);
  
}
.cta__item--line {
  background-color: #eae6e7;
    padding: 15% 10%;
    background-image: url(../img/common/line-bg.webp);
    background-size: cover;
    background-position: right ;
    background-repeat: no-repeat;
    height: 100%;
    
}

.cta__item--web {
  background-color: #929fc0;
    padding: 15% 10%;
    background-image: url(../img/common/web-bg.webp);
    background-size: cover;
    background-position: right ;
    background-repeat: no-repeat;
    color: #fff;
    height: 100%;
}

.cta__link{
  background-color: #fff;
  height: 60px;
  width: 300px;
 display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: ease 0.4s;
  z-index: 0;
  overflow: hidden;
}
.cta__link:before{
  content: "";
  width: 100%;
  height: 100%;
  background-color: #333;
  position: absolute;
  left: -100%;
  transition: ease 0.4s;
  z-index: -1;
}
.cta__link:hover:before{
  left: 0%;
  transition: ease 0.4s;
}
.cta__link:hover{
  color: #fff;
  transition: ease 0.4s;
}

/***/
.common_link{
  border:solid #333 1px;
  display: inline-block;
  padding: 15px 70px 15px 15px;
  position: relative;
  background-color: #fff;
  transition: ease .3s;
  overflow: hidden;
  z-index: 0;
  min-width: 300px;
  margin: 0 auto;
}
.common_link:hover{
  background-color: #e2e8f6;
  transition: ease .3s;
  border:solid 1px #Fff;
}
.common_link span{
  content:"";
  min-width: 30px;
  height: 30px;
  background-color: #e2e8f6;
  display: inline-block;
  position: absolute;
  right: 30px;
  border-radius: 25px;
  top: 50%;
  transform: translateY(-50%);
  aspect-ratio: 1 / 1;
  transition: ease .5s;
}
.common_link:hover span{

  aspect-ratio: 1 / 1;
  transition: ease .5s;
  
  transform: translateY(-50%) scale(5);
  background-color: #fff;
  z-index: -1
}
.common_link:before{
  content:"";
  background-image: url();
  width: 35px;
  height: 100%;
  position: absolute;
  z-index: 1;
  top:0;
  right: 10px;
  background-image: url(../img/common/arrow.svg);
  background-repeat: no-repeat;
  background-position: center;
  transition: ease .3s;
}

.common_link:hover:before{
  right: 5px;
  transition: ease .3s;
}
/* =========================
   footer
========================= */
footer{
    text-align: center;
   
  margin: 5% 0 var(--space-s);
}

.footer__sns ul{
  display: flex;
  justify-content: center;
  flex-direction: row;
  gap: 20px;
  margin: var(--space-l) 0;
}
.footer__logo img{
  max-width: 200px;
}
.footer__sns-item a {
  display: block;
  width: 52px;
  height: 52px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-size: 35px;
  box-shadow: 5px 4px 10px rgba(143, 149, 159, 0.3);
  border-radius: 30px;
  transition: ease .3s;
}
.footer__sns-item a:hover{
  transform: translateY(3px);
  box-shadow: 2px 2px 6px rgba(143, 149, 159, 0.1);
  transition: ease .3s;

}
.footer__sns-item--instagram a {
  background-image: url("../img/common/icon-instagarm-100x100.svg");

}
.footer__sns-item--line a {
  background-image: url("../img/common/icon-line-100x100-green.svg");
 
}
/****/
@keyframes pageFadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-main.is-fadein {
  animation: pageFadeInUp 1.2s ease forwards;
}

/* =========================
   Animation
========================= */
.anm-fadeinup {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

.anm-fadeinup.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.js-char.is-visible {
  opacity: 1;
  transform: translateY(0);
}



/********************/
.anm-wrap {
  position: relative;
  overflow: hidden;
}

/* 背景レイヤー */
.anm-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(-90deg, #f7ebf9 0%, #e2e8f6 100%);

  transform: scaleX(0);
  transform-origin: left;
  z-index: 2;
}

.anm-wrap > * {
  opacity: 0;
  position: relative;
  z-index: 1;
}

/* ===== フェーズ制御 ===== */

/* フェーズ1：左→右に覆う */
.anm-wrap.is-step1::before {
  transform: scaleX(1);
  transition: transform 1.2s ease;
}

/* フェーズ2：左→右に抜ける */
.anm-wrap.is-step2::before {
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 1.2s ease;
}

/* 抜け始めと同時に中身表示 */
.anm-wrap.is-step2 > * {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.section-title{
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section-title__en{
    background-image: url();
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 220px;
    height: 80px;
    display: block;
    margin: 0 auto;
}

.section-title__jp{
  color:#b9aebb;
  font-size: 16px;
  display: block;
}