/*
Theme Name: KIMIA
Theme URI: https://example.com/
Author: Your Name
Description: まつ毛・眉毛サロン向けのオリジナルテーマ。白基調×くすみピンクの上品なデザイン、スマホ追従の予約ボタン付き。文章・料金・営業時間などは「外観→カスタマイズ」から変更できます。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumiere-lash
*/

:root {
  --accent: #D4537E;        /* メインのくすみピンク */
  --accent-dark: #993556;   /* 濃いピンク（文字用） */
  --accent-soft: #FBEAF0;   /* 薄ピンク（背景用） */
  --beige: #FAF6F4;         /* ベージュ（背景用） */
  --ink: #5a3c47;           /* 見出しの文字色 */
  --text: #6b5e62;          /* 本文の文字色 */
  --line-green: #06C755;    /* LINEの緑 */
  --rose: #C98AA0;          /* 電話ボタン用のくすみローズ */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 0.5px solid rgba(0,0,0,0.07);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; max-width: 1080px; margin: 0 auto;
}
.site-logo { font-size: 22px; letter-spacing: 3px; color: var(--accent-dark); }
.site-logo img { max-height: 44px; width: auto; }
.global-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; font-size: 14px; }
.global-nav a { color: var(--text); }
.global-nav a:hover { color: var(--accent); }
.header-reserve {
  background: var(--accent); color: #fff !important;
  padding: 9px 20px; border-radius: 24px; font-size: 13px;
}
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--ink); cursor: pointer; }

/* ===== ヒーロー ===== */
.hero {
  position: relative; min-height: 460px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; background-color: var(--accent-soft);
  background-size: cover; background-position: center;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.25); }
.hero-inner { position: relative; padding: 40px 20px; }
.hero-eyebrow { font-size: 13px; letter-spacing: 5px; color: var(--accent-dark); margin-bottom: 16px; }
.hero-title { font-size: clamp(26px, 5vw, 42px); line-height: 1.5; color: var(--ink); letter-spacing: 2px; font-weight: 500; margin: 0; }
.hero-btn {
  display: inline-block; margin-top: 28px;
  background: var(--accent); color: #fff;
  padding: 14px 36px; border-radius: 30px; font-size: 15px;
}

/* ===== セクション共通 ===== */
.section { padding: 72px 0; }
.section.beige { background: var(--beige); }
.section-eyebrow { text-align: center; font-size: 13px; letter-spacing: 4px; color: #c08a9c; }
.section-title { text-align: center; font-size: 26px; color: var(--ink); font-weight: 500; margin: 10px 0 40px; }

/* コンセプト */
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.concept-card { background: #fff; border-radius: 14px; padding: 32px 20px; text-align: center; border: 0.5px solid rgba(0,0,0,0.05); }
.concept-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.concept-icon .ti { font-size: 26px; color: var(--accent-dark); }
.concept-photo { margin: -12px -4px 12px; }
.concept-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }
.concept-card h3 { font-size: 17px; color: var(--ink); margin: 10px 0 8px; font-weight: 500; }
.concept-card p { font-size: 14px; margin: 0; }

/* ギャラリー */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid .item { aspect-ratio: 1; background: #EFE6E0; border-radius: 14px; overflow: hidden; }
.gallery-grid .item img { width: 100%; height: 100%; object-fit: cover; }

/* メニュー */
.menu-list { max-width: 560px; margin: 0 auto; }
.menu-row { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 6px; border-bottom: 0.5px solid #e7dcd0; font-size: 16px; }
.menu-row .name { color: var(--ink); }
.menu-row .price { color: var(--accent-dark); font-size: 17px; white-space: nowrap; padding-left: 16px; }

/* 流れ（画像つきステップ）*/
.flow { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.flow-step { display: flex; align-items: center; gap: 26px; position: relative; }
.flow-img { position: relative; flex: 0 0 220px; }
.flow-img img,
.flow-img-ph { width: 100%; aspect-ratio: 4 / 3; border-radius: 16px; object-fit: cover; display: block; }
.flow-img-ph { background: #EFE6E0; display: flex; align-items: center; justify-content: center; }
.flow-img-ph .ti { font-size: 34px; color: #cdb9bf; }
.flow-num {
  position: absolute; top: -12px; left: -12px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 500;
  box-shadow: 0 4px 10px rgba(212, 83, 126, 0.3);
}
.flow-body { flex: 1; }
.flow-step-label { font-size: 12px; letter-spacing: 3px; color: var(--accent); margin: 0; font-weight: 500; }
.flow-title { font-size: 19px; color: var(--ink); margin: 6px 0 8px; font-weight: 500; }
.flow-desc { font-size: 14px; color: var(--text); margin: 0; line-height: 1.8; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 0.5px solid #e7dcd0; }
.faq-q {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 6px; cursor: pointer; list-style: none;
  font-size: 16px; color: var(--ink);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-mark { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; }
.faq-mark.a { background: var(--accent); color: #fff; }
.faq-arrow { margin-left: auto; color: var(--accent); transition: transform .25s ease; }
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-a { display: flex; align-items: flex-start; gap: 12px; padding: 0 6px 22px; font-size: 14px; color: var(--text); line-height: 1.85; }

/* アクセス */
.access-wrap { display: flex; gap: 32px; max-width: 920px; margin: 0 auto; align-items: stretch; }
.access-info { flex: 1; }
.access-info dl { margin: 0; }
.access-info dt { font-size: 12px; letter-spacing: 2px; color: var(--accent); font-weight: 500; margin-top: 18px; }
.access-info dt:first-child { margin-top: 0; }
.access-info dd { margin: 4px 0 0; font-size: 15px; color: var(--ink); }
.access-btn { display: inline-block; margin-top: 26px; background: var(--accent); color: #fff; padding: 13px 30px; border-radius: 28px; font-size: 15px; }
.access-map { flex: 1.2; }
.access-map iframe,
.access-map .access-map-ph { width: 100%; height: 100%; min-height: 300px; border: 0; border-radius: 16px; display: block; }
.access-map .access-map-ph { background: #EFE6E0; display: flex; align-items: center; justify-content: center; }
.access-map .access-map-ph .ti { font-size: 40px; color: #cdb9bf; }

/* 予約CTA */
.cta-band { max-width: 720px; margin: 0 auto; background: var(--accent); border-radius: 24px; padding: 56px 32px; text-align: center; color: #fff; }
.cta-band .cta-eyebrow { font-size: 12px; letter-spacing: 5px; opacity: .85; margin: 0 0 14px; }
.cta-band h2 { font-size: 26px; margin: 0 0 10px; font-weight: 500; color: #fff; letter-spacing: 1px; }
.cta-band .cta-lead { margin: 0 0 30px; opacity: .92; font-size: 15px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; max-width: 460px; margin: 0 auto; }
.cta-btns a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 18px; border-radius: 30px; font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: transform .15s ease;
}
.cta-btns a:active { transform: scale(0.98); }
.cta-btns .reserve { background: #fff; color: var(--accent-dark); }
.cta-btns .line { background: var(--line-green); color: #fff; }
.cta-btns .tel { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.75); color: #fff; }

/* ===== フッター ===== */
.site-footer { background: #3a2f33; color: #d8cdcf; text-align: center; padding: 48px 20px 90px; }
.footer-logo { font-size: 22px; letter-spacing: 3px; color: #fff; margin-bottom: 14px; }
.footer-info { font-size: 13px; line-height: 2; }
.footer-sns { margin-top: 16px; display: flex; gap: 18px; justify-content: center; font-size: 22px; }
.footer-copy { margin-top: 24px; font-size: 11px; color: #9a8e90; }

/* ===== スマホ追従バー（重要）===== */
.fixed-cta { display: none; }

/* ===== 固定ページ・投稿の本文 ===== */
.page-body { max-width: 760px; margin: 0 auto; padding: 60px 20px; }
.page-body h1 { font-size: 28px; color: var(--ink); font-weight: 500; }
.page-body img { border-radius: 10px; margin: 16px 0; }

/* ===== レスポンシブ（スマホ）===== */
@media (max-width: 768px) {
  .global-nav { display: none; }
  .nav-toggle { display: block; }
  .concept-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0; }
  /* ヒーロー：スマホ用の縦長画像が映えるよう高さを調整 */
  .hero { min-height: 480px; }
  .hero-inner { padding: 28px 18px; }
  .hero-title { font-size: clamp(22px, 7vw, 30px); }
  /* 施術の流れ：スマホでは画像を上、文章を下に縦並び */
  .flow-step { flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
  .flow-img { flex-basis: auto; }
  .flow-num { top: -10px; left: 10px; width: 40px; height: 40px; font-size: 16px; }

  /* アクセス：スマホでは情報と地図を縦並び */
  .access-wrap { flex-direction: column; gap: 22px; }
  .access-map .access-map-ph,
  .access-map iframe { min-height: 240px; }

  /* CTAボタンをスマホでは縦に等幅で並べる（並びのガタつき解消）*/
  .cta-band { padding: 44px 22px; border-radius: 20px; margin: 0 16px; }
  .cta-band h2 { font-size: 22px; }
  .cta-btns { flex-direction: column; max-width: 320px; }
  .cta-btns a { width: 100%; }

  /* スマホだけ画面下に追従する予約バー（隙間なし・フラット）*/
  .fixed-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    box-shadow: 0 -4px 16px rgba(90, 60, 71, 0.14);
  }
  .fixed-cta a {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px;
    /* 下端の余白はボタンの色で埋める（iPhoneのホームバー対応）*/
    padding: 11px 4px calc(11px + env(safe-area-inset-bottom));
    color: #fff; font-size: 12px; font-weight: 500; letter-spacing: 1px;
  }
  .fixed-cta a .ti { font-size: 23px; display: block; }
  .fixed-cta a.tel     { background: var(--rose); }
  .fixed-cta a.reserve { background: var(--accent); }
  .fixed-cta a.line    { background: var(--line-green); }
  /* ボタン同士の境目を細い白線で区切る（色が近い箇所の見分け用）*/
  .fixed-cta a + a { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.3); }
  .fixed-cta a:active { filter: brightness(0.95); }

  /* 追従バーに隠れないよう本文下に余白 */
  body { padding-bottom: 84px; }
}
