/* ==========================================================================
   shizuku media — Footer Styles
   ========================================================================== */

.footer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 20px 32px;
  background: linear-gradient(to top, #EEFBFC, #F0F8FA 50%, #F5F0FC);
  border-top: 1px solid var(--color-border-light);
}

/* --------------------------------------------------------------------------
   Top: Logo + Description
   -------------------------------------------------------------------------- */
.footer__top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__logo {
  display: flex;
  align-items: center;
}

.footer__logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.footer__desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Grid: 2×2 link columns
   -------------------------------------------------------------------------- */
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px 16px;
}

.footer__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__heading {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* WPメニュー（外観›メニュー）出力時の <ul><li> をリンク直書きと同じ見た目に */
.footer__links .footer__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__links .footer__menu li {
  margin: 0;
  list-style: none;
}

.footer__links a {
  font-size: 12px;
  color: var(--color-text-muted);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.footer__links a:active {
  color: var(--color-teal);
}

/* --------------------------------------------------------------------------
   Area Links (47 prefectures grouped by region)
   -------------------------------------------------------------------------- */
.footer__area-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.footer__area-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__area-region {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-light);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--color-border-light);
}

.footer__area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.footer__area-list a {
  font-size: 11px;
  color: var(--color-text-muted);
  text-decoration: none;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Portal Sections (full-width, below grid)
   -------------------------------------------------------------------------- */
.footer__portals {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__portal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__portal-heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-primary);
}

/* --------------------------------------------------------------------------
   Divider
   -------------------------------------------------------------------------- */
.footer__divider {
  height: 1px;
  background: var(--color-border-light);
}

/* --------------------------------------------------------------------------
   Bottom: Legal links + Copyright
   -------------------------------------------------------------------------- */
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__legal {
  display: flex;
  gap: 16px;
}

.footer__legal a {
  font-size: 11px;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer__legal a:active {
  color: var(--color-teal);
}

.footer__copy {
  font-size: 10px;
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   CTA: 店舗誘導（jofu-cta） — フッターの図鑑CTA直前に全ページ共通表示
   -------------------------------------------------------------------------- */
.jofu-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  background: linear-gradient(135deg, #EEFBFC, #F5F0FC);
  text-align: center;
}

.jofu-cta__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.jofu-cta__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* フッター文脈用に .cta-btn を自己完結スタイルで定義（.article-body スコープ外のため） */
.jofu-cta .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 320px;
  margin-top: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--color-teal, #0D9488) 0%, #047857 100%);
  color: #fff;
  font-family: var(--font-display, 'Noto Sans JP', sans-serif);
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jofu-cta .cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
  color: #fff;
}
.jofu-cta .cta-btn:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   CTA: 女風セラピスト図鑑（リッチカード） — フッター pillar-nav の直前に全ページ共通表示
   -------------------------------------------------------------------------- */
.zukan-cta {
  padding: 28px 20px 12px;
  background: var(--color-bg-white);
}

.zukan-cta__inner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px 22px 28px;
  border-radius: 20px;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(2, 193, 212, 0.10) 0%, rgba(209, 167, 235, 0.10) 55%, rgba(255, 255, 255, 0) 100%),
    #ffffff;
  border: 1px solid rgba(2, 193, 212, 0.18);
  box-shadow: 0 10px 30px rgba(2, 193, 212, 0.12), 0 2px 8px rgba(26, 26, 26, 0.04);
}

.zukan-cta__badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(90deg, #02C1D4, #D1A7EB);
  box-shadow: 0 2px 8px rgba(2, 193, 212, 0.25);
}

.zukan-cta__logo {
  display: block;
  width: 100%;
  max-width: 256px;
  height: auto;
  margin: 2px auto 0;
  filter: drop-shadow(0 2px 6px rgba(2, 193, 212, 0.18));
}

.zukan-cta__lead {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-text-primary);
}

.zukan-cta__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.zukan-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  margin-top: 6px;
  padding: 15px 28px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #02C1D4 0%, #D1A7EB 100%);
  box-shadow: 0 6px 18px rgba(2, 193, 212, 0.30);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zukan-cta__btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.zukan-cta__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(2, 193, 212, 0.38);
  color: #fff;
}

.zukan-cta__btn:hover svg {
  transform: translateX(3px);
}

.zukan-cta__btn:active {
  transform: translateY(0);
}
