@charset "UTF-8";
/* =============================================================
   salon-pref.css — 都道府県別サロン一覧ページ
   既存の salon.html / salon-detail.css と同じ配色に合わせています。
   深緑 #1c2d24 ／ 金 #a98f5c ／ 罫線 #ece3d0
   ============================================================= */

.pref-wrap { max-width: 900px; margin: 0 auto; }

/* ── 見出し ───────────────────────────────── */
.pref-head { margin: 18px 0 24px; padding-bottom: 20px; border-bottom: 2px solid #ece3d0; }
.pref-head h1 {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 2.752rem; line-height: 1.5; color: #1c2d24; margin: 6px 0 12px;
}
.pref-head__sum {
  display: inline-block; font-size: 1.44rem; font-weight: 700; color: #3a463d;
  background: #f6f2e7; border: 1px solid #e4dcc6; border-radius: 999px; padding: 7px 16px; margin: 0;
}
.pref-intro { font-size: 1.536rem; line-height: 2; color: #3a463d; margin: 0 0 34px; }
.pref-intro strong { color: #1c2d24; font-weight: 700; }

/* ── セクション ───────────────────────────── */
.pref-section { margin-bottom: 44px; }
.pref-section > h2 {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-size: 1.952rem; color: #1c2d24; margin: 0 0 12px;
  padding-bottom: 10px; border-bottom: 2px solid #ece3d0;
}
.pref-lead { font-size: 1.44rem; line-height: 1.95; color: #6b7268; margin: 0 0 22px; }
.pref-lead strong { color: #3a463d; }

/* ── サロンカード ─────────────────────────── */
.pref-card {
  border: 1px solid #e8e2d4; border-left: 3px solid #d9cdb0; border-radius: 6px;
  background: #fff; padding: 18px 20px; margin-bottom: 14px;
  /* 一覧から #s-… で飛んできたとき、固定ヘッダーの下に隠れないように */
  scroll-margin-top: 80px;
}
.pref-card:has(.pref-tag--icd) { border-left-color: #a98f5c; background: #fffdf8; }
/* 提携サロンは一番強く（太い深緑のライン＋淡い地色） */
.pref-card:has(.pref-tag--own) {
  border-color: #dbe6de;          /* ← 先に一括指定。この後に left を上書きする（順序が逆だと効かない） */
  border-left-width: 6px;
  border-left-color: #1c2d24;
  background: #f6faf7;
}

.pref-card__name {
  font-size: 1.664rem; font-weight: 700; color: #1c2d24; margin: 0 0 4px;
  line-height: 1.5;
}
/* バッジは見出しの外に出した。見出しの中に入れると、検索結果でも読み上げでも
   全部の店名が「…ICD（インセルダム）取扱」で終わる。 */
.pref-card__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; }
/* reset.css の a{text-decoration:none!important} に勝たないと下線が出ない。
   都道府県ページでは、この店名リンクが唯一の出口になる店がある。 */
.pref-card__name a { color:#1c2d24; text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pref-card__name a:hover { color: #a98f5c; }

.pref-tag {
  font-size:1.248rem; font-weight: 700; letter-spacing: .02em;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.pref-tag--icd { background: #7a6436; color: #fff; }
.pref-tag--own { background: #1c2d24; color: #fff; }
.pref-tag--k   { background: #f0f2ef; color: #6b7268; border: 1px solid #e0e4de; }

.pref-card__meta { font-size: 1.36rem; color: #6b7268; margin: 0 0 12px; }

/* お店の紹介文 */
.pref-feature { margin: 0 0 10px; font-size: 1.36rem; line-height: 1.9; color: #3a463d; }

/* お店が公開している案内から引いた一文 */
.pref-ev {
  margin: 0 0 10px; padding: 10px 14px 11px;
  background: #f7f8f6; border-left: 2px solid #cfd6cc; border-radius: 3px;
}
.pref-ev__label {
  display: block; font-size: 1.184rem; font-weight: 700; letter-spacing: .04em;
  color: #8a9186; margin: 0 0 3px;
}
.pref-ev p {
  margin: 0; font-size: 1.36rem; line-height: 1.85; color: #4a5349;
}

/* 提携店の取り扱い・メニュー */
.pref-brands { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.pref-brands span {
  font-size: 1.248rem; font-weight: 700; color: #3a463d;
  background: #fff; border: 1px solid #dbe6de; border-radius: 4px; padding: 4px 10px;
}

.pref-src { font-size: 1.248rem; color: #6b7268; margin: 0 0 8px; }
.pref-src a { color: #6b7268; text-decoration: underline; }
.pref-src a:hover { color: #a98f5c; }

.pref-link { margin: 0; }
.pref-link a { font-size: 1.36rem; font-weight: 700; color: #1c6b3f; text-decoration: none; }
.pref-link a:hover { text-decoration: underline; }

/* ── 購入導線（公式ECへ） ─────────────────── */
.pref-buy {
  background: #1c2d24; border-radius: 10px; padding: 24px 26px; text-align: center;
}
.pref-buy__lead { font-size: 1.44rem; line-height: 1.9; color: #d6ddd4; margin: 0 0 16px; }
/* 県ページの行き止まりを解消する1行。地が濃いので文字は明るく。 */
.pref-buy__links{font-size:1.36rem;line-height:1.95;color:#d6ddd4;margin:0 0 14px;}
.pref-buy__links a{color:#fff;text-decoration:underline;text-underline-offset:3px;}
.pref-buy__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0; }
.pref-buy__btn {
  display: inline-block; font-size: 1.408rem; font-weight: 700; color: #1c2d24; background: #fff;
  border-radius: 999px; padding: 12px 26px; text-decoration: none; transition: background .15s, color .15s;
}
.pref-buy__btn:hover { background: #a98f5c; color: #fff; }
.pref-buy__btn--line { background: transparent; color: #fff; border: 1px solid #6b7d72; }
.pref-buy__btn--line:hover { background: #a98f5c; border-color: #a98f5c; }

/* ── 掲載の修正・掲載希望（ボタンのみ） ───────── */
.pref-contact {
  background: #f7f8f6; border: 1px solid #e8e2d4; border-radius: 6px;
  padding: 24px 26px; text-align: center;
}
.pref-contact__lead { font-size: 1.408rem; line-height: 1.9; color: #4a5349; margin: 0 0 16px; }
/* 2本目の案内の前に間を空ける（導入のご相談と掲載の依頼で用件が違う） */
.pref-contact__btn + .pref-contact__lead { margin-top: 22px; }
.pref-contact__btn {
  display: inline-block; font-size: 1.44rem; font-weight: 700; color: #fff;
  background: #1c2d24; border-radius: 999px; padding: 13px 30px; text-decoration: none;
  transition: background .15s;
}
.pref-contact__btn:hover { background: #a98f5c; color: #fff; }

/* ── 他県ナビ ─────────────────────────────── */
.pref-nav { margin-top: 40px; padding-top: 26px; border-top: 2px solid #ece3d0; }
.pref-nav > h2 { font-family: "Shippori Mincho", "Noto Serif JP", serif; font-size: 1.696rem; color: #1c2d24; margin: 0 0 14px; }
.pref-nav__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; }
.pref-nav__list a {
  display: inline-block; font-size: 1.36rem; font-weight: 700; color: #3a463d;
  border: 1px solid #d9cdb0; border-radius: 999px; padding: 7px 15px; text-decoration: none;
  transition: background .15s, color .15s;
}
.pref-nav__list a:hover { background: #1c2d24; color: #fff; border-color: #1c2d24; }
.pref-nav__all a { font-size: 1.44rem; font-weight: 700; color: #1c6b3f; }

@media screen and (max-width: 992px) {
  .pref-head h1 { font-size: 2.144rem; }
  .pref-card { padding: 16px; }
  .pref-policy { padding: 18px 16px; }
}

/* ── よくある質問 ─────────────────────────── */
.pref-faq__item { border-top: 1px solid #f0ece1; padding: 16px 0 4px; }
.pref-faq__item:first-of-type { border-top: 0; }
.pref-faq__item h3 {
  font-size: 1.536rem; font-weight: 700; color: #1c2d24; margin: 0 0 8px;
  padding-left: 22px; position: relative; line-height: 1.6;
}
.pref-faq__item h3::before {
  content: "Q"; position: absolute; left: 0; top: 0;
  color: #a98f5c; font-weight: 700; font-size: 1.472rem;
}
.pref-faq__item p {
  font-size: 1.424rem; line-height: 1.95; color: #4a5349; margin: 0;
  padding-left: 22px; position: relative;
}
.pref-faq__item p::before {
  content: "A"; position: absolute; left: 0; top: 0;
  color: #6b7268; font-weight: 700; font-size: 1.472rem;
}


/* --- 押したあとも色を変えない（a:visited 対策） --- */
/* style.min.css の a:visited{color:#000} は (0,1,1) で、
   クラス1つの指定 (0,1,0) より強い。押したあとだけ黒くなるのを打ち消す。 */
.pref-head h1:visited { color: #1c2d24; }
.pref-head__sum:visited { color: #3a463d; }
.pref-intro:visited { color: #3a463d; }
.pref-intro strong:visited { color: #1c2d24; }
.pref-section > h2:visited { color: #1c2d24; }
.pref-lead:visited { color: #6b7268; }
.pref-lead strong:visited { color: #3a463d; }
.pref-card__name:visited { color: #1c2d24; }
.pref-card__name a:visited { color: #1c2d24; }
.pref-tag--icd:visited { color: #fff; }
.pref-tag--own:visited { color: #fff; }
.pref-tag--k:visited { color: #6b7268; }
.pref-card__meta:visited { color: #6b7268; }
.pref-feature:visited { color: #3a463d; }
.pref-ev p:visited { color: #4a5349; }
.pref-ev__label:visited { color: #8a9186; }
.pref-brands span:visited { color: #3a463d; }
.pref-src:visited { color: #6b7268; }
.pref-src a:visited { color: #6b7268; }
.pref-link a:visited { color: #1c6b3f; }
.pref-buy__lead:visited { color: #d6ddd4; }
.pref-buy__links:visited { color: #d6ddd4; }
.pref-buy__links a:visited { color: #fff; }
.pref-buy__btn:visited { color: #1c2d24; }
.pref-buy__btn--line:visited { color: #fff; }
.pref-contact__lead:visited { color: #4a5349; }
.pref-contact__btn:visited { color: #fff; }
.pref-nav > h2:visited { color: #1c2d24; }
.pref-nav__list a:visited { color: #3a463d; }
.pref-nav__all a:visited { color: #1c6b3f; }
.pref-faq__item h3:visited { color: #1c2d24; }
.pref-faq__item p:visited { color: #4a5349; }

/* ── 写真つきのカード（了解をもらった店）（2026-11-06） ── */
.pref-card--ph { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: start; }
.pref-card__ph { border-radius: 6px; overflow: hidden; background: #eef0e6; aspect-ratio: 4 / 3; }
.pref-card__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pref-card__body { min-width: 0; }
@media screen and (max-width: 600px) {
  .pref-card--ph { grid-template-columns: 1fr; gap: 12px; }
}

.pref-card__ph { position: relative; }
.pref-card__credit, .pref-card__credit:visited {
  position: absolute; right: 0; bottom: 0; padding: 2px 6px; font-size: 1rem; line-height: 1.6;
  color: #fff !important; background: rgba(28,45,36,.55); text-decoration: none !important; border-top-left-radius: 4px;
}

/* ── 写真まわりのデザイン点検（2026-11-06） ───────────────── */
/* sp.css（992px以下）の img{height:auto!important} に負けて、写真が枠を満たしていなかった。
   横長（3:2・16:9）は下に帯が出て、縦長は上寄せで切れていた。枠は img 自体に持たせる。 */
.pref-card__ph { overflow: visible; aspect-ratio: auto; background: none; border-radius: 0; }
.pref-card__ph img {
  aspect-ratio: 4 / 3; height: auto !important; border-radius: 6px; background: #eef0e6;
  object-position: 50% 35%;   /* 縦長の写真は人物・天井側を残す（4:3 の写真には影響しない） */
}
/* PC は写真を少し大きく（200→240px）。DPR2 でも元画像 640px で足りる */
.pref-card--ph { grid-template-columns: 240px minmax(0, 1fr); gap: 22px; }

/* クレジットは写真に重ねず、写真の下に小さく添える（PCでは写真の4分の3を覆っていた） */
.pref-card__credit, .pref-card__credit:visited {
  position: static; display: block; margin-top: 4px; padding: 0; background: none; border-radius: 0;
  text-align: right; font-size: 1.1rem; line-height: 1.5; letter-spacing: .02em;
  color: #8a9186 !important;
}
.pref-card__credit:hover { color: #a98f5c !important; text-decoration: underline !important; }

/* 写真の無い店：個別ページの見出し画像と同じ「ツボクサの葉＋地名」 */
.pref-card__ph--none {
  box-sizing: border-box; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden;
  display: flex; align-items: flex-end; padding: 12px 14px;
  background:
    linear-gradient(180deg, rgba(28,45,36,0) 35%, rgba(28,45,36,.78)),
    url("../../images/salon-thumb-default.jpg") center / cover no-repeat,
    #2f4a3a;
}
.pref-card__ph--none span {
  color: #fff; font-family: "Shippori Mincho", "Noto Serif JP", serif; font-weight: 600;
  font-size: 1.5rem; line-height: 1.45; letter-spacing: .03em; text-shadow: 0 1px 6px rgba(0,0,0,.35);
}

/* 同じ葉の絵が並ぶとき（東京は5枚続く）、切り取り位置を3通りにずらす */
.pref-card:nth-of-type(3n+2) .pref-card__ph--none { background-position: 0 0, 0% 60%; }
.pref-card:nth-of-type(3n) .pref-card__ph--none { background-position: 0 0, 100% 40%; }

/* カードの見出しと地名：日本語の文節で折る（対応ブラウザのみ。非対応はこれまでどおり） */
.pref-card__meta, .pref-card__name { word-break: auto-phrase; }

@media screen and (max-width: 600px) {
  .pref-card--ph { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  /* 写真の無い枠はスマホでは低くして、空の絵が続かないように */
  .pref-card__ph--none { aspect-ratio: 2 / 1; }
  .pref-card__ph--none span { font-size: 1.6rem; }
}

/* 店の写真が無い店で運営者の顔写真を使うとき（フェリーチェ）。
   写真は顔のアップ（正方形）なので、4:3 の枠では上下が切れる。上寄せ（22%）だと口元が切れていた。
   髪の上側を落として、目から口元までを残す（2026-11-06 監査） */
.pref-card__ph--face img { object-position: 50% 70%; }
