@charset "utf-8";
/* サイトヘッダー
===========================================================================*/
/*
<header class="l-header">
  <div class="l-header__inner inner">
    <a href="/index.html" class="l-header__logo">
      <img src="images/common/logo.png" alt="サイト名" width="160" height="40">
    </a>
    <!-- ハンバーガー・ナビはこの後に続く -->
  </div>
</header>
*/
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: none;
  color: #fff;
}
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem; /* 60px */
  padding: 0;
  padding-left: var(--s-4);
}
.l-header__logo {
  z-index: 130;
  display: inline-flex;
  align-items: center;
}
.l-header__logo img {
  max-height: 2.25rem;
  width: auto;
  border-radius: 999px;
  transition: ease 0.3s;
}
@media (min-width: 768px) {
  .l-header__inner {
    padding: 0;
    padding-left: var(--s-4);
    height: 3.75rem; /* 60px */
    transition: ease 0.3s;
  }
  .l-header--fixed .l-header__inner {
    height: 3.75rem; /* 60px */
  }
  .l-header__logo img {
    max-height: 2.25rem;
  }
  .l-header--fixed .l-header__logo img {
    max-height: 2.25rem;
  }
}


/* ハンバーガーメニュー・グローバルナビ
===========================================================================*/
/*
<button class="l-hamburger-btn" aria-expanded="false" aria-label="メニューを開く">
  <span class="l-hamburger-btn__bar"></span>
  <span class="l-hamburger-btn__bar"></span>
  <span class="l-hamburger-btn__bar"></span>
</button>
<nav class="l-global-nav">
  <ul class="l-global-nav__list">
    <li class="l-global-nav__item">
      <a href="#" class="l-global-nav__link">メニュー</a>
    </li>
    <li class="l-global-nav__item has-submenu">
      <div class="l-global-nav__item-main">
        <a href="#" class="l-global-nav__link">サービス</a>
        <button class="l-submenu-toggle" aria-expanded="false"></button>
      </div>
      <ul class="l-submenu">
        <li class="l-submenu__item"><a href="#" class="l-submenu__link">サブメニュー1</a></li>
      </ul>
    </li>
    <li class="l-global-nav__item l-global-nav__item--cta">
      <a href="#" class="l-global-nav__link">今すぐ予約</a>
    </li>
  </ul>
</nav>
*/
.l-hamburger-btn {
  position: relative;
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 3.75rem;
  height: 3.75rem;
  padding: var(--s-4);
  background-color: #000;
  cursor: pointer;
  transition: ease 0.3s;
  border: none;
}
.l-hamburger-btn:hover {
  background-color: #222;
}
.l-hamburger-btn__bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: transform 0.4s ease;
}
.l-hamburger-btn.is-active .l-hamburger-btn__bar:nth-of-type(1) {
  transform: translateY(9px) rotate(45deg);
}
.l-hamburger-btn.is-active .l-hamburger-btn__bar:nth-of-type(2) {
  transform: scaleX(0);
}
.l-hamburger-btn.is-active .l-hamburger-btn__bar:nth-of-type(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.l-header-cta {
	margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
	width: var(--s-15);
	height: var(--s-15);
  background-color: var(--color-primary);
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.2s ease;
}
.l-header-cta:hover {
  background-color: var(--color-primary-dark);
}
.l-header-cta i {
  font-size: var(--text-16);
}
.l-header-cta__label {
	font-size: var(--text-10);
	text-align: center;
}

/* SP / タブレット（〜1023px）：グローバルナビは非表示、ハンバーガーで展開 */
.l-global-nav {
  position: fixed;
  top: 3.75rem;
  right: 0;
  z-index: 120;
  width: 100%;
  height: 100%;
  padding: 0 0 3.75rem;
  background-color: rgba(000, 000, 000, 1);
  overflow-y: auto;
	backdrop-filter: blur(5px);
  transform: translateX(100%);
  transition: transform 0.4s ease;
}
.l-global-nav.is-active {
  transform: translateX(0);
}
.l-global-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  border-top: 1px solid #111;
}
.l-global-nav__item {
  border-bottom: 1px solid #111;
  list-style: none;
}
.l-global-nav__link {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-5);
  font-weight: 700;
  line-height: 1;
  transition: ease 0.3s;
  text-align: left;
  color: #fff;
}
.l-global-nav__link:hover {
	background-color: var(--color-primary-dark);
  opacity: 1;
}
.l-global-nav__icon {
display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--s-6);
  aspect-ratio: 1 / 1; /* アイコンが正方形ならこれを追加すると安定します */
  color: var(--color-primary);
  line-height: 1;
}
.l-global-nav__icon img {
  width: auto;
  height: 100%;
  object-fit: contain;
}
.l-global-nav__label {
  font-size: var(--text-16);
}

/* SP CTA（今すぐ予約 / BOOK NOW） */
.l-global-nav__item--cta {
  border-bottom: none;
}
.l-global-nav__item--cta .l-global-nav__link {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  background-color: var(--color-primary);
  color: #fff;
  text-align: center;
}
.l-global-nav__item--cta .l-global-nav__link:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
  opacity: 1;
}
.l-global-nav__cta-ja {
  font-size: var(--text-12);
  font-weight: 500;
}
.l-global-nav__cta-en {
  font-size: var(--text-16);
  font-weight: 800;
  line-height: 1;
}


/* ドロップダウンメニュー
===========================================================================*/
.l-global-nav__item.has-submenu {
  position: relative;
}
.l-global-nav__item-main {
  position: relative;
}
.l-global-nav__item-main > .l-global-nav__link {
  display: block;
  width: 100%;
  text-align: left;
}
.l-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}
.l-submenu__link {
  display: block;
  padding: var(--s-4);
  border-top: 1px solid #eee;
  background-color: var(--color-bg-light);
  font-size: var(--text-14);
  line-height: 1;
  text-align: left;
}
.l-submenu-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--color-accent);
  border: none;
  cursor: pointer;
}
.l-submenu-toggle::before,
.l-submenu-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s ease;
}
.l-submenu-toggle::before { transform: translate(-50%, -50%); }
.l-submenu-toggle::after  { transform: translate(-50%, -50%) rotate(90deg); }
.l-global-nav__item.has-submenu.is-open .l-submenu-toggle::after {
  display: none;
}


/* PC（1024px以上）：アイコン＋ラベル縦積み横並びナビ
===========================================================================*/
@media (min-width: 1024px) {
  /* ヘッダー：通常 100px、スクロール固定時 60px */
  .l-header__inner {
    padding: 0;
    padding-left: var(--s-10);
    height: 6.25rem; /* 100px */
    justify-content: flex-start;
    transition: height 0.3s ease;
  }
  .l-header--fixed .l-header__inner {
    height: 3.75rem; /* 60px */
  }
  .l-header__logo img {
    max-height: 3.75rem;
    transition: max-height 0.3s ease;
  }
  .l-header--fixed .l-header__logo img {
    max-height: 2.5rem;
  }

  /* ハンバーガー：PC でも表示（ドロワー展開用）、ヘッダー高に合わせる */
  .l-hamburger-btn {
    display: flex;
    width: 6.25rem;
    height: 6.25rem;
		padding: var(--s-6);
    transition: width 0.3s ease, height 0.3s ease;
  }
  .l-header--fixed .l-hamburger-btn {
    width: 3.75rem;
    height: 3.75rem;
		padding: var(--s-4);
  }
	.l-hamburger-btn.is-active .l-hamburger-btn__bar:nth-of-type(1) {
		transform: translateY(16px) rotate(45deg);
	}
	.l-hamburger-btn.is-active .l-hamburger-btn__bar:nth-of-type(3) {
		transform: translateY(-16px) rotate(-45deg);
	}
	.l-header--fixed .l-hamburger-btn.is-active .l-hamburger-btn__bar:nth-of-type(1) {
		transform: translateY(9px) rotate(45deg);
	}
	.l-header--fixed .l-hamburger-btn.is-active .l-hamburger-btn__bar:nth-of-type(3) {
		transform: translateY(-9px) rotate(-45deg);
	}

	.l-header-cta{
		display:none;
		}
  /* グローバルナビ：右端に横並び */
  .l-global-nav {
    position: static;
    display: flex;
    align-items: center;
    align-self: stretch;
    width: auto;
    height: 100%;
    padding: 0;
    margin-left: auto;
    background-color: transparent;
    backdrop-filter: none;
    overflow-y: visible;
    transform: none;
    color: #fff;
  }

  /* スクロール固定時はアイコン非表示 */
  .l-header--fixed .l-global-nav__icon {
    display: none;
  }
  .l-header--fixed .l-global-nav__link {
    gap: 0;
  }

  .l-global-nav__list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    height: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
    border-top: none;
  }
  .l-global-nav__item {
    display: flex;
    align-items: center;
    height: 100%;
    border-bottom: none;
    padding: 0;
    position: relative;
  }
  .l-global-nav__item-main {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
  }

  /* ナビリンク：アイコン＋ラベル縦積み */
  .l-global-nav__link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    height: 100%;
    padding: 0 var(--s-4);
    color: #fff;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }
  .l-global-nav__link:hover {
    color: #fff;
    opacity: 0.75;
  }
  .l-global-nav__item-main > .l-global-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
  }
  .l-global-nav__icon {
    width: auto;
    margin: 0;
  }
  .l-global-nav__label {
    font-size: var(--text-12);
  }

  /* サブメニューある項目に矢印を表示 */
  .has-submenu .l-global-nav__item-main > .l-global-nav__link::after {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-left: 0.45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-0.12rem) rotate(45deg);
    flex-shrink: 0;
  }

  /* PC CTA：右端・ヘッダーいっぱいの赤ボタン */
  .l-global-nav__item--cta {
    /*margin-left: var(--s-3);*/
    padding: 0;
    height: 100%;
  }
  .l-global-nav__item--cta .l-global-nav__link {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    height: 100%;
    min-width: 9.375rem;
    padding: 0 var(--s-6);
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 0;
    opacity: 1;
  }
  .l-global-nav__item--cta .l-global-nav__link:hover {
    background-color: var(--color-primary-dark);
    color: #fff;
    opacity: 1;
  }
  .l-global-nav__cta-ja {
    font-size: var(--text-10); /* 10px */
    font-weight: 700;
  }
  .l-global-nav__cta-en {
    font-size: var(--text-16);
    font-weight: 800;
    line-height: 1;
  }
	.l-header--fixed .l-global-nav__link {
    gap: var(--s-1);
  }
  /* ドロップダウン（PC） */
  .l-submenu-toggle {
    display: none;
  }
  .l-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    max-height: none;
    min-width: 14rem;
    overflow: visible;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-top: none;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 200;
  }
  .l-submenu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    width: 0.875rem;
    height: 0.875rem;
    background-color: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateX(-50%) translateY(50%) rotate(45deg);
    z-index: 1;
  }
  .l-global-nav__item.has-submenu:hover .l-submenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .l-submenu__link {
    display: block;
    padding: var(--s-4) var(--s-5);
    background-color: #fff;
    border-top: none;
    font-size: var(--text-14);
    line-height: 1.5;
    text-align: left;
    white-space: nowrap;
  }
  .l-submenu__link:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    opacity: 1;
  }
  .l-submenu__item:first-child .l-submenu__link {
    border-top: none;
  }
}


/* ドロワーメニュー（ハンバーガーで展開）
===========================================================================*/
/*
  - ハンバーガーボタンをクリックすると右側からスライドインするサイドメニュー。
  - SP/PC 共通で `.l-drawer.is-active` がスライドインのトリガー。
  - 背面には半透明オーバーレイ（`.l-drawer-overlay`）を表示。
*/
.l-drawer-overlay,
.l-drawer {
  display: none;
}
@media (min-width: 1024px) {
	.l-drawer-overlay {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 90;
		background-color: rgba(0, 0, 0, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}
	.l-drawer-overlay.is-active {
		opacity: 1;
		visibility: visible;
	}
	.l-drawer {
		display: block;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 95;
		width: 85%;
		max-width: 24rem; /* 384px */
		height: 100vh;
		height: 100dvh;
		background-color: #000;
		box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
		transform: translateX(100%);
		transition: transform 0.4s ease;
		overflow-y: auto;
		visibility: hidden;
	}
	.l-drawer.is-active {
		transform: translateX(0);
		visibility: visible;
	}
	.l-drawer__inner {
		padding: var(--s-35) var(--s-10) var(--s-10);
	}
	.l-header--fixed + .l-drawer .l-drawer__inner {
		padding: var(--s-25) var(--s-10) var(--s-10);
		}
	.l-drawer__list {
		display: flex;
		flex-direction: column;
	}
	.l-drawer__item {
		border-bottom: 1px solid #111;
	}
	.l-drawer__item:first-child {
		border-top: 1px solid #111;
	}
	.l-drawer__link {
		display: flex;
		align-items: center;
		gap: var(--s-4);
		padding: var(--s-5);
		font-weight: 500;
		color: #fff;
		transition: background-color 0.3s;
	}
	.l-drawer__link:hover {
		background-color:var(--color-primary-dark);
		opacity: 1;
	}
	.l-drawer__icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: var(--s-8);
		line-height: 1;
		flex-shrink: 0;
	}
}



/* セクション共通
===========================================================================*/
/*
<section class="l-section">
  <div class="inner">
    <!-- コンテンツ -->
  </div>
</section>
<section class="section section--bg">
  <div class="inner">
    <!-- 背景あり -->
  </div>
</section>
*/
.l-section {
  padding-top: var(--s-10); /* 60px */
  padding-bottom: var(--s-10); /* 60px */
}
.l-section--sm {
  padding-top: var(--s-5); /* 20px */
  padding-bottom: var(--s-5); /* 20px */
}
.l-section--lg {
  padding-top: var(--s-15); /* 60px */
  padding-bottom: var(--s-15); /* 60px */
}
@media (min-width: 768px) {
  .l-section {
    padding-top: var(--s-20); /* 80px */
    padding-bottom: var(--s-20); /* 80px */
  }
  .l-section--sm {
    padding-top: var(--s-10); /* 40px */
    padding-bottom: var(--s-10); /* 40px */
  }
  .l-section--lg {
    padding-top: var(--s-30); /* 120px */
    padding-bottom: var(--s-30); /* 120px */
  }
}



/* フッターレイアウト
===========================================================================*/
/*
  - 背景：白 / 文字：黒基調（画像デザインに合わせる）
  - 上段：IKIDANE公式SNSアカウント（テキスト + FB/IGアイコン）
  - 下段：関連サイトのバナー（PCは横4列、SPは縦積み〜2列）
*/
.l-footer {
  background-color: #fff;
	border-top:10px solid #000;
}
.l-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  padding: var(--s-10) 0;
}

/* SNSエリア */
.l-footer__sns {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid #eee;
}
.l-footer__sns-label {
  margin: 0;
  font-size: var(--text-15);
	font-weight:500;
	color:#666;
}
.l-footer__sns-list {
  display: flex;
  align-items: center;
  gap: var(--s-5);
}
.l-footer__sns-list a {
  transition: opacity 0.3s;
}
.l-footer__sns-list a:hover {
  opacity: 0.7;
}
.l-footer__sns-list img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

/* バナー列 */
.l-footer__banners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}
.l-footer__banners a {
  display: block;
  transition: opacity 0.3s;
}
.l-footer__banners a:hover {
  opacity: 0.8;
}
.l-footer__banners img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 768px) {
  .l-footer__inner {
    padding: var(--s-15) 0 var(--s-15);
		gap: var(--s-10);
  }
	/* SNSエリア */
  .l-footer__sns {
		flex-direction: row;
		gap: var(--s-10);
		padding-bottom: var(--s-8);
  }
	/* バナー列 */
  .l-footer__banners {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-5);
  }
}
@media (min-width: 1024px) {
}



/* コピーライト
===========================================================================*/
.l-copyright {
  margin: 0;
  padding: var(--s-3) 0;
  background-color: #fff;
  color: #999;
  font-size: var(--text-12);
	font-weight:700;
  text-align: center;
  border-top: 1px solid #eee;
}
@media (min-width: 768px) {
	.l-copyright {
		font-size: var(--text-14);
		padding: var(--s-5) 0;
	}
}
