@charset "utf-8";
/* ==========================================================
   Lindo 共通スタイル（全ページ）
   ヘッダー・フッター・CTAバンド・ボタンと、
   記事ページ（Cocoonレイアウト）をLindoトーンに寄せる調整。
   LP（index.html / style.css）と同じデザイントークン。
   ブログトップ専用のスタイルは css/home/style.css が担当。
   ========================================================== */

:root {
  --forest: #2f4a34;
  --forest-deep: #20301f;
  --forest-night: #182417;
  --moss: #7d9468;
  --sprout: #a9bd8f;
  --linen: #f6f1e6;
  --paper: #fdfbf5;
  --sand: #e7dfcd;
  --gold: #b3924f;
  --gold-soft: #cfb377;
  --ink: #2b2d26;
  --muted: #77755f;
  --shadow: 0 18px 46px rgba(32, 48, 31, 0.12);
  --shadow-soft: 0 10px 30px rgba(32, 48, 31, 0.08);
  --font-display: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-en: "Cormorant Garamond", Georgia, serif;
}

/* ---------- 全ページ共通の下地（Cocoon上書き） ---------- */

body.lindo-shell {
  color: var(--ink) !important;
  background: var(--paper) !important;
  font-family: var(--font-body) !important;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

.lindo-shell .sp-only { display: none; }

/* ---------- scroll reveal（front-page.php のJSと対） ---------- */

html.js .rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .rv.on {
  opacity: 1;
  transform: none;
}

.rv.d1 { transition-delay: 0.12s; }
.rv.d2 { transition-delay: 0.24s; }
.rv.d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html.js .rv,
  html.js .rv.d1,
  html.js .rv.d2,
  html.js .rv.d3 {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- ヘッダー ---------- */

.lindo-site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(18px, 5vw, 64px);
  background: rgba(253, 251, 245, 0.88);
  border-bottom: 1px solid rgba(179, 146, 79, 0.22);
  backdrop-filter: blur(14px);
}

/* WPログイン中のadmin bar分だけ下げる */
body.admin-bar .lindo-site-header {
  top: 32px;
}

.lindo-site-header a {
  color: inherit;
  text-decoration: none;
}

.lindo-site-header img {
  display: block;
  max-width: 100%;
  height: auto;
}

.lindo-site-header .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.lindo-site-header .brand-logo {
  width: 132px;
  height: auto;
}

.lindo-site-header .logo small {
  color: var(--gold);
  font-family: var(--font-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.28em;
}

.lindo-site-header .nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  font-size: 14px;
  font-weight: 500;
  color: var(--forest);
  white-space: nowrap;
}

.lindo-site-header .nav a {
  position: relative;
  padding: 4px 0;
}

.lindo-site-header .nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.lindo-site-header .nav a:hover::after,
.lindo-site-header .nav a:focus-visible::after {
  transform: scaleX(1);
}

.lindo-site-header .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 22px;
  color: var(--linen);
  background: var(--forest);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.3s ease;
}

.lindo-site-header .header-cta:hover {
  background: var(--forest-deep);
  color: var(--linen);
}

/* ---------- ボタン ---------- */

.lindo-shell .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.lindo-shell .button:hover {
  transform: translateY(-2px);
}

.lindo-shell .button.ghost {
  color: var(--forest);
  background: transparent;
  border: 1px solid rgba(47, 74, 52, 0.4);
}

.lindo-shell .button.ghost:hover {
  border-color: var(--forest);
  background: rgba(47, 74, 52, 0.06);
  color: var(--forest);
}

.lindo-shell .button.ghost.light {
  color: var(--linen);
  border-color: rgba(246, 241, 230, 0.5);
}

.lindo-shell .button.ghost.light:hover {
  border-color: var(--linen);
  background: rgba(246, 241, 230, 0.1);
  color: var(--linen);
}

.lindo-shell .button.gold {
  color: var(--forest-night);
  background: linear-gradient(120deg, var(--gold-soft), #e3cd96 50%, var(--gold-soft));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.lindo-shell .button.gold:hover {
  color: var(--forest-night);
}

/* 葉っぱ型マーク（LPの箇条書き記号と同形） */

.lindo-shell .leaf-mark {
  width: 26px;
  height: 26px;
  background: var(--moss);
  border-radius: 0 60% 0 60%;
  transform: rotate(45deg);
  opacity: 0.7;
}

/* ---------- CTAバンド（フッター直前の深緑の帯） ---------- */

.lindo-shell .lindo-cta-band {
  position: relative;
  margin: 0;
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
  color: var(--linen);
  background:
    radial-gradient(56% 60% at 12% 100%, rgba(207, 179, 119, 0.12), transparent 70%),
    radial-gradient(50% 55% at 88% 0%, rgba(169, 189, 143, 0.12), transparent 70%),
    linear-gradient(160deg, var(--forest-deep), var(--forest-night));
  text-align: center;
}

.lindo-shell .cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.lindo-shell .cta-inner h2 {
  margin: 0;
  padding: 0;
  border: none;
  color: var(--linen);
  background: none;
  font-family: var(--font-display);
  font-size: clamp(23px, 2.8vw, 34px);
  font-weight: 600;
  line-height: 1.8;
  word-break: auto-phrase;
}

.lindo-shell .cta-inner p {
  margin: 22px 0 0;
  color: rgba(246, 241, 230, 0.78);
  font-size: 15px;
}

.lindo-shell .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

/* ---------- フッター ---------- */

.lindo-shell .lindo-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  margin: 0;
  padding: 34px 20px;
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--sand);
  text-align: center;
  font-size: 13px;
}

.lindo-shell .lindo-footer a {
  color: inherit;
  text-decoration: none;
}

.lindo-shell .lindo-footer a:hover {
  color: var(--forest);
}

.lindo-shell .lindo-footer img.footer-logo {
  display: block;
  width: 120px;
  height: auto;
}

.lindo-shell .lindo-footer .copy {
  width: 100%;
  margin: 0;
  font-size: 12px;
}

/* ==========================================================
   記事・固定ページ・アーカイブ（Cocoonレイアウト）の調整
   ブログトップ（front-page.php）はCocoonレイアウトを使わないため影響しない
   ========================================================== */

/* 固定ヘッダーの高さ分だけコンテンツを下げる */
.lindo-shell #container {
  padding-top: 76px;
}

/* Cocoon標準ヘッダーの保険（tmp/header-container.php で置換済みだが念のため） */
.lindo-shell #header-container {
  display: none !important;
}

/* 記事タイトル・アーカイブタイトルを明朝に */
.lindo-shell .entry-title,
.lindo-shell .archive-title {
  color: var(--forest-deep);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.6;
}

/* 本文エリアをLindoトーンのカードに */
.lindo-shell #main {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 4px 28px 4px 28px;
}

/* サイドバーの見出し */
.lindo-shell #sidebar h3 {
  position: relative;
  padding: 0 0 12px;
  color: var(--forest-deep);
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lindo-shell #sidebar h3::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* 著者アイコン（プロフィール写真に差し替え済み）を丸く切り抜く */
.lindo-shell .author-thumb img,
.lindo-shell img.avatar {
  object-fit: cover;
  object-position: 40% 30%;
  border-radius: 50%;
}

/* 記事内リンクをブランド色に */
.lindo-shell .entry-content a {
  color: var(--forest);
}

/* ---------- 記事下のサロン情報カード（tmp-user/lindo-salon-card.php） ---------- */

.lindo-shell .lindo-salon-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  margin: 48px 0 32px;
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(169, 189, 143, 0.16), transparent 70%),
    var(--linen);
  border: 1px solid var(--sand);
  border-radius: 4px 28px 4px 28px;
  box-shadow: var(--shadow-soft);
}

.lindo-shell .lindo-salon-card .salon-photo {
  position: relative;
  margin: 0;
  min-height: 100%;
}

.lindo-shell .lindo-salon-card .salon-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: 55% 50%;
  border-radius: 0;
}

.lindo-shell .lindo-salon-card .salon-body {
  padding: clamp(26px, 3.4vw, 40px);
}

.lindo-shell .lindo-salon-card .salon-en {
  margin: 0 0 6px !important;
  color: var(--gold);
  font-family: var(--font-en);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.24em;
  line-height: 1.4;
}

/* Cocoonの記事内h2装飾を打ち消す */
.lindo-shell .article .lindo-salon-card .salon-name,
.lindo-shell .lindo-salon-card .salon-name {
  position: relative;
  margin: 0 !important;
  padding: 0 0 16px !important;
  color: var(--forest-deep);
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 24px) !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.lindo-shell .lindo-salon-card .salon-name::before {
  content: none !important;
}

.lindo-shell .lindo-salon-card .salon-name::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 1px;
  content: "" !important;
  background: linear-gradient(90deg, var(--gold), transparent) !important;
  border: none !important;
}

.lindo-shell .lindo-salon-card .salon-name span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.lindo-shell .lindo-salon-card .salon-lead {
  margin: 16px 0 0 !important;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.9;
}

.lindo-shell .lindo-salon-card .salon-info {
  margin: 18px 0 0;
  padding: 0;
}

.lindo-shell .lindo-salon-card .salon-info > div {
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed rgba(179, 146, 79, 0.35);
}

.lindo-shell .lindo-salon-card .salon-info > div:last-child {
  border-bottom: 1px dashed rgba(179, 146, 79, 0.35);
}

.lindo-shell .lindo-salon-card .salon-info dt {
  margin: 0;
  padding: 0;
  color: var(--gold);
  background: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 2;
}

.lindo-shell .lindo-salon-card .salon-info dd {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.9;
}

.lindo-shell .lindo-salon-card .salon-map {
  display: inline-block;
  margin-top: 4px;
  color: var(--forest) !important;
  border-bottom: 1px solid rgba(179, 146, 79, 0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.lindo-shell .lindo-salon-card .salon-map::after {
  content: " ↗";
}

.lindo-shell .lindo-salon-card .salon-tel {
  color: var(--forest-deep) !important;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

.lindo-shell .lindo-salon-card .salon-note {
  display: inline-block;
  margin-left: 12px;
  padding: 1px 10px;
  color: var(--forest);
  background: rgba(169, 189, 143, 0.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  vertical-align: 2px;
}

.lindo-shell .lindo-salon-card .salon-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.lindo-shell .lindo-salon-card .salon-buttons .button {
  flex: 1 1 180px;
  min-height: 48px;
  padding: 11px 20px;
  font-size: 14px;
}

.lindo-shell .lindo-salon-card .salon-buttons .button.gold {
  box-shadow: 0 10px 22px rgba(32, 48, 31, 0.18);
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .lindo-site-header .nav {
    display: none;
  }
}

@media (max-width: 782px) {
  /* WPモバイル時のadmin bar高さ */
  body.admin-bar .lindo-site-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .lindo-shell .sp-only { display: inline; }
  .lindo-shell .pc-only { display: none; }

  .lindo-site-header {
    min-height: 64px;
    padding: 8px 16px;
  }

  .lindo-site-header .brand-logo {
    width: 104px;
  }

  .lindo-site-header .logo small {
    display: none;
  }

  .lindo-shell #container {
    padding-top: 64px;
  }

  .lindo-shell .lindo-cta-band {
    padding: 64px 18px;
  }

  .lindo-shell .cta-buttons .button {
    width: 100%;
  }

  .lindo-shell .lindo-salon-card {
    grid-template-columns: 1fr;
    margin: 36px 0 24px;
  }

  .lindo-shell .lindo-salon-card .salon-photo {
    aspect-ratio: 16 / 9;
  }
}

/* ---------- accessibility ---------- */

.lindo-site-header a:focus-visible,
.lindo-shell .button:focus-visible,
.lindo-shell .lindo-footer a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
