@charset "UTF-8";

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: #f7f8fa;
  border-top: 1px solid rgba(0,0,0,.06);
}

/* メインエリア：自身で幅制御 */
.footer-main {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  padding: 64px 5% 56px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ブランド */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity .2s ease;
}
.footer-brand-logo:hover { opacity: .72; }

/* common.css の img{width:100%} を打ち消す */
.footer-brand-logo img {
  display: inline-block !important;
  flex-shrink: 0;
  height: auto;
  object-fit: contain;
}
.footer-brand-logo img:first-child {
  width: 26% !important;
}
.footer-logo-text {
  width: 40% !important;
  padding-top: 8px;
  max-width: none;
}
@media (max-width: 900px) {
	.footer-brand-logo img:first-child {
	  width: 13% !important;
	}
	.footer-logo-text {
	  width: 22% !important;
	}
}

.footer-desc {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(17,17,17,.48);
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  background: rgba(17,17,17,.06);
  border: 1px solid rgba(17,17,17,.12);
  color: rgba(17,17,17,.82);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  width: fit-content;
  transition: background .22s ease, color .22s ease;
}
.footer-cta-btn:hover {
  background: rgba(17,17,17,.10);
  color: rgba(17,17,17,.96);
}

/* ============================================================
   FOOTER NAV（PC: グリッド）
============================================================ */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 36px 24px;
  align-content: start;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* PC: button はラベルのみ（クリック不可） */
.footer-nav-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(17,17,17,.35);
  cursor: default;
  text-align: left;
}

.footer-nav-arrow {
  display: none; /* PC では矢印非表示 */
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-links a {
  font-size: 13px;
  color: rgba(17,17,17,.6);
  line-height: 1.5;
  transition: color .2s ease;
}
.footer-nav-links a:hover { color: rgba(17,17,17,.95); }

/* ============================================================
   BOTTOM BAR
============================================================ */
.footer-bottom-bar {
  border-top: 1px solid rgba(17,17,17,.07);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-copy {
  font-size: 12px;
  color: rgba(17,17,17,.36);
}

.footer-tagline {
  font-size: 11px;
  color: rgba(17,17,17,.28);
  letter-spacing: .06em;
}

/* ============================================================
   TABLET
============================================================ */
@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 52px;
    padding-bottom: 44px;
  }
  .footer-nav {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 28px 20px;
  }
}

/* ============================================================
   MOBILE: 1カラム + アコーディオン
============================================================ */
@media (max-width: 767px) {
	.site-footer {}

  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 44px;
    padding-bottom: 0;
  }

  .footer-nav {
    grid-template-columns: 1fr; /* 1カラム */
    gap: 0;
    border-top: 1px solid rgba(17,17,17,.07);
  }

  .footer-nav-group {
    border-bottom: 1px solid rgba(17,17,17,.07);
  }

  /* SP: ラベルをアコーディオンボタンに */
  .footer-nav-label {
    padding: 16px 0;
    margin-bottom: 0;
    font-size: 12px;
    letter-spacing: .12em;
    color: rgba(17,17,17,.72);
    cursor: pointer;
    font-weight: 600;
  }

  /* 矢印: テキスト文字で表示（崩れにくい） */
  .footer-nav-arrow {
    display: block;
    flex-shrink: 0;
    font-size: 11px;
    color: rgba(17,17,17,.45);
    transition: transform .28s var(--ease);
    line-height: 1;
  }
  .footer-nav-arrow::before {
    content: "∨";
  }
  .footer-nav-label[aria-expanded="true"] .footer-nav-arrow {
    transform: rotate(180deg);
  }

  /* リンクエリア：アコーディオン */
  .footer-nav-links {
    overflow: hidden;
    max-height: 0;
    transition: max-height .32s var(--ease);
    gap: 0;
  }

  .footer-nav-links a {
    display: block;
    padding: 12px 0 12px 4px;
    font-size: 14px;
    border-top: 1px solid rgba(17,17,17,.05);
  }
  .footer-nav-links a:first-child {
    border-top: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .cta-box {
    padding: 38px 20px;
    text-align: left;
    border-radius: 28px;
  }
  .cta-box p { font-size: 14px; line-height: 1.85; }
  .cta-actions { flex-direction: column; }
}
