/* ===========================
   Variables
=========================== */
:root {
  --container: min(1120px, 92vw);

  --header-h-pc: 96px;
  --header-h-sp: 76px;
  --sp-cta-h: 74px;

  --radius: 18px;
  --border: 1px solid rgba(0, 0, 0, .10);
  --shadow: 0 10px 24px rgba(0, 0, 0, .08);

  --text: #0f172a;
  --muted: rgba(15, 23, 42, .75);
}

/* ===========================
   Reset / Base
=========================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Noto Sans JP", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: #fff;

  /* ヘッダー固定分 */
  padding-top: var(--header-h-pc);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

html,
body {
  overflow-x: hidden;
}

/* SPは下部固定メニュー分の余白を追加 */
@media (max-width: 900px) {
  body {
    padding-top: var(--header-h-sp);
    padding-bottom: var(--sp-cta-h);
  }
}

/* アンカー位置ズレ（固定ヘッダー対策） */
[id] {
  scroll-margin-top: calc(var(--header-h-pc) + 16px);
}

@media (max-width: 900px) {
  [id] {
    scroll-margin-top: calc(var(--header-h-sp) + 16px);
  }
}

/* ===========================
   Common Layout
=========================== */
.container {
  width: var(--container);
  margin: 0 auto;
}

.center {
  text-align: center;
}

.section-title {
  font-size: 44px;
  letter-spacing: .04em;
  margin: 0 0 18px;
}

.lead {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 10px;
}

.text {
  margin: 0;
  color: var(--muted);
  line-height: 33px;
}

/* ===========================
   Grid
=========================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ===========================
   Card
=========================== */
.card {
  display: block;
  background: #fff;
  border: var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
}

.card-thumb {
  height: 160px;
  background: rgba(0, 0, 0, .06);
}

.card-body {
  padding: 18px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 24px;
}

.card-text {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* ===========================
   Button
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 999px;
  border: var(--border);
  background: #fff;
  text-decoration: none;

  width: 220px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 800;
}

.btn-primary {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #fff;
}

.btn-outline {
  background: #10589a;
  border-color: #10589a;
  color: #fff;
}

/* ===========================
   Utilities
=========================== */
.mt-24 {
  margin-top: 24px;
}

/* ===========================
   Header（固定）
=========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  padding: 12px 0;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 24px;
  align-items: center;
}

/* ロゴ（PC：2段ぶち抜き） */
.logo {
  grid-column: 1;
  display: flex;
  align-items: flex-start;
  text-decoration: none;
}

.logo-img {
  height: 78px;
  width: auto;
  margin: 0;
}

/* 右上（SNS + CTA） */
.header-top {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

/* ===========================
   SNS
=========================== */

.header-sns{
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 共通：枠と背景削除 */
.sns-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: none;   /* ← グレー削除 */
  border: none;       /* ← 枠削除 */
  padding: 0;
}

/* Instagram：丸アイコン */
.sns-chip:not(.sns-chip--line){
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.sns-chip:not(.sns-chip--line) img{
  width: 22px;
  height: 22px;
}

/* LINE：横いっぱい表示 */
.sns-chip--line{
  width: 140px;     /* ← 指定サイズ */
  height: auto;
}

.sns-chip--line img{
  width: 100%;
  height: auto;
  display: block;
}

/* CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 0, .08);
  color: #fff;
}

.cta-web {
  background: #f59e0b;
  border-color: #f59e0b;
}

.cta-first {
  background: #22c55e;
  border-color: #22c55e;
}

.cta-member {
  background: #2563eb;
  border-color: #2563eb;
}

/* PC用ナビ */
.nav {
  grid-column: 2;
  display: flex;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 2100;
}

/* 旧2段用の逃げpadding削除 */
.nav {
  padding-left: 0;
  padding-right: 0;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;

  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: center;
}

.nav-item {
  position: relative;
  text-align: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 10px 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  color: rgba(15, 23, 42, .75);
  white-space: nowrap;
}

.nav-link:hover {
  color: rgba(15, 23, 42, 1);
}

/* ドロップダウン */
.nav-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #0f172a;
  border-bottom: 2px solid #0f172a;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.nav-item--has-child:hover .nav-arrow {
  transform: rotate(225deg);
}

.nav-sub {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-sub--rich {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);

  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
  padding: 16px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: .2s ease;
  z-index: 2200;
}

.nav-item--has-child:hover .nav-sub--rich {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-sub-card {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .10);
  width: 100px;
}

.nav-sub-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.nav-sub-card span {
  display: block;
  padding: 10px 8px;
  text-align: center;
  font-weight: 900;
  font-size: 13px;
  color: #0f172a;
}

/* PC/SP 表示切替 */
.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* ===========================
   Hamburger（SP）
=========================== */
.hamburger {
  grid-column: 3;
  align-self: center;

  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 12px;

  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;

  transition: .3s ease;
}

.hamburger-bar {
  width: 26px;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: .3s ease;
}

.hamburger-label {
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(15, 23, 42, .65);
  margin-top: 2px;
}

/* ハンバーガー → × */
.hamburger.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   SP Quick（SPのみ）
=========================== */
.sp-quick {
  display: none;
}

@media (max-width: 1024px) {
  .pc-only {
    display: none !important;
  }

  .sp-only {
    display: inline-flex !important;
  }

  .nav {
    display: none !important;
  }
}

@media (max-width: 900px) {

  /* headerを確実に収める（flexで安定） */
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .logo-img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin: 0;
  }

  .sp-quick {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
  }

  .spq {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    gap: 3px;
    border: 1px solid rgba(0, 0, 0, .10);
    background: #fff;
    text-decoration: none;
  }

  .spq i {
    font-size: 18px;
    line-height: 1;
  }

  .spq span {
    font-size: 7px;
    font-weight: 900;
    line-height: 1;
  }

  .spq-first {
    background: rgba(34, 197, 94, .12);
    border-color: rgba(34, 197, 94, .25);
  }

  .spq-member {
    background: rgba(37, 99, 235, .12);
    border-color: rgba(37, 99, 235, .25);
  }

  .spq-contact {
    background: rgba(245, 158, 11, .12);
    border-color: rgba(245, 158, 11, .25);
  }

  .spq-first i,
  .spq-first span {
    color: #16a34a;
  }

  .spq-member i,
  .spq-member span {
    color: #2563eb;
  }

  .spq-contact i,
  .spq-contact span {
    color: #f59e0b;
  }

  .hamburger {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    padding: 6px;
    margin-left: 4px;
  }
}

/* ===========================
   Drawer（z-index整理：ヘッダーより上）
=========================== */
.drawer {
  display: none;
}

.drawer.is-open {
  display: block;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 3000;
}

.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 88vw);
  height: 100%;
  background: #fff;
  z-index: 3001;
  padding: 16px;
  box-shadow: -12px 0 30px rgba(0, 0, 0, .18);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-left: 1px solid rgba(0, 0, 0, .06);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.drawer-title {
  font-weight: 900;
  letter-spacing: .10em;
}

.drawer-close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* リスト */
.drawer-nav {
  display: block;
  padding: 10px 0 0;
}

.drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-list>li {
  border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.drawer-list>li>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6px;
  text-decoration: none;
  font-weight: 900;
  color: rgba(15, 23, 42, .90);
}

.drawer-list>li>a::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid rgba(15, 23, 42, .45);
  border-bottom: 2px solid rgba(15, 23, 42, .45);
  transform: rotate(-45deg);
}

/* サブ区切り */
.drawer-list--sub {
  margin-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, .10);
}

/* details */
.drawer-acc {
  border: 0;
  background: transparent;
}

.drawer-acc-title {
  list-style: none;
  cursor: pointer;
  padding: 16px 6px;
  font-weight: 900;
  color: rgba(15, 23, 42, .90);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-acc-title::-webkit-details-marker {
  display: none;
}

.drawer-acc-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(15, 23, 42, .45);
  border-bottom: 2px solid rgba(15, 23, 42, .45);
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.drawer-acc[open] .drawer-acc-arrow {
  transform: rotate(225deg);
}

/* プログラム内カード */
.drawer-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 6px 16px;
  border-top: 1px solid rgba(0, 0, 0, .10);
}

.drawer-sub-card {
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .10);
  background: #fff;
}

.drawer-sub-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.drawer-sub-card span {
  display: block;
  padding: 10px 8px;
  text-align: center;
  font-weight: 900;
  font-size: 13px;
  color: #0f172a;
}

/* CTA */
.drawer-cta {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  margin-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, .10);
}

.drawer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .02em;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.drawer-btn i {
  margin-right: 8px;
  font-size: 16px;
}

.drawer-btn-web {
  background: #f59e0b;
}

.drawer-btn-trial {
  background: #26b3a2;
}

.drawer-btn-first {
  background: #79b62c;
}

.drawer-btn-member {
  background: #0b4f92;
}

.drawer-btn-contact {
  background: #475569;
}

/* 電話 + お問い合わせ */
.drawer-actions {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  margin-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, .10);
}

.drawer-tel {
  padding: 14px 0;
  display: flex;
  justify-content: center;
}

.drawer-tel-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.drawer-tel-inner i {
  font-size: 26px;
  color: #0b4f92;
}

.drawer-tel-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.drawer-tel-number {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  color: #0f172a;
}

.drawer-tel-note {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(15, 23, 42, .55);
}

/* PC時：メインを隠す（指定通り） */
@media (min-width: 901px) {
  .drawer-list--main {
    display: none;
  }
}

/* ===========================
   Footer
=========================== */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}

.footer-logo {
  width: 220px;
  height: auto;
}

.footer-meta {
  margin: 0;
  color: rgba(15, 23, 42, .75);
  font-size: 14px;
  line-height: 1.8;
}

.footer-sns {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-nav {
  border-top: 1px solid rgba(0, 0, 0, .06);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.footer-nav-inner {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.footer-nav a {
  text-align: center;
  padding: 16px 6px;
  text-decoration: none;
  font-size: 14px;
  color: rgba(15, 23, 42, .75);
  white-space: nowrap;
}

.footer-nav a:hover {
  color: rgba(15, 23, 42, 1);
}

@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    padding: 22px 0;
  }

  .footer-logo {
    width: 200px;
    margin: 20px auto;
  }

  .footer-nav-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===========================
   SP Fixed Bottom Menu
=========================== */
.sp-fixed-menu {
  display: none;
}

@media (max-width: 900px) {
  .sp-fixed-menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    height: var(--sp-cta-h);
    background: #0b1220;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: block;
  }

  .sp-fixed-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
  }

  .sp-fixed-link {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: .02em;
    color: #fff;
    box-shadow: 0 -1px 0 rgba(255, 255, 255, .10) inset;
    transform: translateY(0);
    transition: transform .12s ease, filter .12s ease;
    user-select: none;
  }

  .sp-fixed-link i {
    font-size: 18px;
  }

  .sp-fixed-menu li+li .sp-fixed-link {
    border-left: 1px solid rgba(255, 255, 255, .14);
  }

  .sp-fixed-link--join {
    background: linear-gradient(180deg, #ffb020 0%, #f59e0b 70%, #e98a00 100%);
  }

  .sp-fixed-link--line {
    background: linear-gradient(180deg, #2ee06b 0%, #22c55e 70%, #16a34a 100%);
  }

  .sp-fixed-link:active {
    transform: translateY(1px);
    filter: brightness(.96);
  }

  .sp-fixed-link:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .7);
    outline-offset: -3px;
  }
}

/* ===========================
   Responsive（Grid / Typography）
=========================== */
@media (max-width: 1024px) {
  .section-title {
    font-size: 36px;
  }

  .lead {
    font-size: 22px;
  }

  .text {
    line-height: 1.9;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .section-title {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .lead {
    font-size: 18px;
  }

  .text {
    font-size: 14px;
    line-height: 1.9;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .card-title {
    font-size: 20px;
  }
}




/* ===========================
   追加修正
=========================== */


/* ===========================
   HEADER 1段構造（SNS + CTA + NAV 同一行）
=========================== */

/* .header-inner{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 24px;
} */

/* ロゴ */
.logo{
  grid-column: 1;
}

/* 右側（SNS + CTA） */
.header-top{
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

/* ナビも同じ行に入れる */
.nav{
  grid-column: 2;
  display: flex;
  justify-content: center;
  padding: 0;
}

/* ハンバーガー */
.hamburger{
  grid-column: 3;
}

/* ===========================
   PC: プログラム ドロップダウンが消える問題の修正
   （hoverの“橋渡し”を作る）
=========================== */

/* 親liにhover用の当たり判定を追加（リンク〜メニューの隙間を埋める） */
@media (min-width: 1025px) {
  .nav-item--has-child {
    position: relative;
  }

  /* 隙間(12px)に透明の“橋”を作って、hoverが切れないようにする */
  .nav-item--has-child::after {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    top: 100%;
    height: 20px; /* ← 少し余裕持たせる */
    background: transparent;
  }

  /* キーボード操作でも開ける（アクセシビリティ） */
  .nav-item--has-child:focus-within .nav-sub--rich {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;   /* ← 明示的に2段にする */
  align-items: center;
}

.logo {
  grid-column: 1;
  grid-row: 1 / 3;   /* ← 2段ぶち抜き */
  align-self: center;
}

.hamburger {
  grid-column: 3;
  grid-row: 1 / 3;   /* ← 2段ぶち抜き */
  align-self: center;
}

/* ===========================
   Footer (Improved)
=========================== */

.site-footer{
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

/* 上段：営業案内 */
.footer-hero{
  background: linear-gradient(180deg, rgba(11,79,146,.06), rgba(11,79,146,0));
  padding: 34px 0 22px;
}

.footer-hero-inner{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: stretch;
}

.footer-logo-link{ display: inline-flex; text-decoration: none; }
.footer-brand{
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.footer-logo{
  object-fit: contain;
}

.footer-meta{
  margin: 0;
  color: rgba(15,23,42,.75);
  font-size: 18px;
  line-height: 1.8;
}

.footer-tel{
  font-weight: 900;
  text-decoration: none;
  color: rgba(15,23,42,.9);
}

.footer-sns{
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-bizcard{
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
  background: #0b4f92;
  color: #fff;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.footer-biz-title{
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .05em;
}

.footer-biz-dl{
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-biz-row{
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: start;
}

.footer-biz-row dt{
  font-size: 12px;
  opacity: .9;
  font-weight: 900;
  letter-spacing: .04em;
}

.footer-biz-row dd{
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.biz-hours{
  display: grid;
  gap: 8px;
}

.biz-hour{
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  padding: 9px 10px;
  font-weight: 900;
}

.biz-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
}

.biz-badge--mon{ background: rgba(245,158,11,.20); border-color: rgba(245,158,11,.28); }
.biz-badge--week{ background: rgba(34,197,94,.18); border-color: rgba(34,197,94,.26); }
.biz-badge--sun{ background: rgba(239,68,68,.18); border-color: rgba(239,68,68,.26); }

.footer-biz-actions{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.fbtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(255,255,255,.25);
}

.fbtn--tel{ background: #fff; }
.fbtn--mail{ background: rgba(255,255,255,.92); }
.fbtn--join{ background: #f59e0b; color: #fff; border-color: rgba(245,158,11,.3); }

/* 中段：施設アイコン */
.footer-facility{
  padding: 22px 0 10px;
}

.footer-sec-title{
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 900;
  color: rgba(15,23,42,.9);
  letter-spacing: .04em;
}

.facility-icons{
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
  padding: 14px;
}

.facility-item{
  display: grid;
  gap: 8px;
  place-items: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 10px 8px;
  background: rgba(11,79,146,.04);
  border: 1px solid rgba(11,79,146,.08);
}

.facility-item:hover{
  background: rgba(11,79,146,.08);
  border-color: rgba(11,79,146,.14);
}

.facility-ico{
  width: 34px;
  height: 34px;
}

.facility-item span{
  font-size: 12px;
  font-weight: 900;
  color: rgba(15,23,42,.82);
  text-align: center;
  line-height: 1.2;
}

.facility-item i{
  font-size: 26px;
  color: #0b4f92;
}

.facility-item{
  transition: .2s ease;
}

.facility-item:hover i{
  transform: scale(1.1);
}

/* 下段：サイトマップ */
.footer-nav{
  margin-top: 18px;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: #fff;
}

.footer-nav-inner{
  display: grid;
}

.footer-nav-inner--8{
  grid-template-columns: repeat(8, 1fr);
}

.footer-nav a{
  text-align: center;
  padding: 16px 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  color: rgba(15,23,42,.72);
  white-space: nowrap;
}

.footer-nav a:hover{
  color: rgba(15,23,42,1);
}

/* 最下段 */
.footer-bottom{
  padding: 16px 0;
}

.footer-bottom-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(15,23,42,.6);
}

.to-top{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,.10);
  text-decoration: none;
  background: #fff;
}

/* Responsive */
@media (max-width: 1024px){
  .footer-hero-inner{
    grid-template-columns: 1fr;
  }
  .facility-icons{
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-nav-inner--8{
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px){
  .footer-hero{ padding: 22px 0 14px; }
  .footer-logo{ width: 200px; }
  .footer-biz-row{ grid-template-columns: 78px 1fr; }
  .footer-biz-actions{ grid-template-columns: 1fr; }
  .facility-icons{ grid-template-columns: repeat(3, 1fr); }
  .footer-nav-inner--8{ grid-template-columns: repeat(2, 1fr); }
}