@charset "UTF-8";
/* ============================================================
   ひさえレディースオステオパシー / レディース岡町鍼灸院
   共通スタイル（素のHTML+CSS・ビルド不要）
   ============================================================ */

/* ---- デザイントークン ---- */
:root {
  --pink:        #e58aad;   /* メインピンク（ロゴ基調） */
  --pink-deep:   #d06b94;   /* 濃いピンク（ホバー等） */
  --pink-soft:   #f7d8e4;   /* 淡いピンク（帯・背景） */
  --pink-bg:     #fdf3f7;   /* ごく淡い背景ピンク */
  --orange:      #e8902e;   /* 注意事項の枠 */
  --orange-bg:   #fff6ea;
  --ink:         #4a4a4a;   /* 本文テキスト */
  --ink-soft:    #6f6f6f;
  --line:        #eadfe4;   /* 区切り線 */
  --white:       #ffffff;
  --maxw:        1080px;
  --radius:      10px;
  --shadow:      0 2px 14px rgba(0,0,0,.06);
  --font: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}

/* ---- リセット ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.85;
  background: var(--white);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- レイアウト ---- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.layout {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 20px 48px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 36px;
}
.main { min-width: 0; }

/* ============================================================
   ヘッダー / ナビ
   ============================================================ */
.site-header {
  border-top: 4px solid var(--pink);
  background: var(--white);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 230px; max-width: 60vw; }
.header-contact { text-align: right; font-size: .82rem; color: var(--ink-soft); line-height: 1.5; }
.header-contact .tel { font-size: 1.2rem; font-weight: 700; color: var(--pink-deep); white-space: nowrap; }

/* グローバルナビ */
.gnav { background: var(--pink); }
.gnav ul {
  max-width: var(--maxw); margin: 0 auto; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
}
.gnav li { position: relative; }
.gnav a {
  display: block; color: #fff; padding: 12px 15px; font-size: .9rem; white-space: nowrap;
}
.gnav a:hover, .gnav a[aria-current="page"] { background: var(--pink-deep); text-decoration: none; }

/* ハンバーガー（モバイル用） */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--pink-deep); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ============================================================
   見出し
   ============================================================ */
.page-title {
  background: var(--pink-soft);
  border-left: 8px solid var(--pink);
  padding: 14px 20px; margin: 0 0 26px;
  font-size: 1.4rem; color: var(--pink-deep); border-radius: 0 var(--radius) var(--radius) 0;
}
h2.bar {
  background: var(--pink); color: #fff;
  padding: 9px 16px; border-radius: 6px; font-size: 1.15rem; margin: 36px 0 18px;
}
h3 { color: var(--pink-deep); border-bottom: 2px dotted var(--pink-soft); padding-bottom: 6px; font-size: 1.05rem; }

/* ============================================================
   パーツ
   ============================================================ */
/* 注意事項のオレンジ枠 */
.notice {
  border: 2px solid var(--orange); background: var(--orange-bg);
  border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; color: #8a5a16;
}
.notice strong { color: var(--orange); }

/* カード */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin: 0 0 22px; }
.muted { color: var(--ink-soft); font-size: .9rem; }

/* テーブル（料金など） */
.table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.table th, .table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.table th { background: var(--pink-bg); color: var(--pink-deep); width: 55%; }
.table td { text-align: right; white-space: nowrap; }

/* 受付時間テーブル */
.hours { width: 100%; border-collapse: collapse; margin: 12px 0; text-align: center; }
.hours th, .hours td { border: 1px solid var(--line); padding: 9px 6px; font-size: .92rem; }
.hours thead th { background: var(--pink); color: #fff; }
.hours tbody th { background: var(--pink-bg); color: var(--pink-deep); text-align: left; white-space: nowrap; }
.hours .off { color: #c98aa6; }

/* ボタン / CTA */
.btn {
  display: inline-block; background: var(--pink); color: #fff; padding: 12px 26px;
  border-radius: 999px; font-weight: 700; box-shadow: var(--shadow);
}
.btn:hover { background: var(--pink-deep); text-decoration: none; }
.btn.line { background: #06c755; }

/* 編集者向けプレースホルダー（公開前に差し替え） */
.placeholder {
  border: 2px dashed var(--pink); background: #fff8fb; border-radius: var(--radius);
  padding: 14px 18px; margin: 16px 0; color: var(--pink-deep); font-size: .92rem;
}

/* ============================================================
   ヒーロー / スライドショー（トップ）
   ============================================================ */
.hero { position: relative; max-width: var(--maxw); margin: 0 auto; }
.slideshow { position: relative; overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); aspect-ratio: 16/9; background: #f3e7ee; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy {
  position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%);
  background: rgba(255,255,255,.85); color: var(--pink-deep); padding: 10px 22px;
  border-radius: 999px; font-weight: 700; text-align: center; font-size: clamp(.9rem,2.4vw,1.15rem);
  z-index: 3;
}

/* スライド左右の矢印ボタン */
.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 46px; height: 46px; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.7); color: var(--pink-deep);
  font-size: 1.8rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: background .2s;
}
.slide-arrow:hover { background: #fff; }
.slide-arrow.prev { left: 14px; }
.slide-arrow.next { right: 14px; }

/* スライドのドット（現在地表示／クリックで移動） */
.slide-dots {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 4;
  display: flex; gap: 8px;
}
.slide-dots button {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.6); box-shadow: 0 0 2px rgba(0,0,0,.3);
}
.slide-dots button.active { background: var(--pink); }

@media (max-width: 480px) {
  .slide-arrow { width: 38px; height: 38px; font-size: 1.4rem; }
}

/* ============================================================
   サイドメニュー
   ============================================================ */
.sidebar .side-box { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; box-shadow: var(--shadow); }
.sidebar .side-title { background: var(--pink); color: #fff; padding: 10px 14px; font-weight: 700; font-size: .95rem; }
.sidebar nav a { display: block; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .9rem; }
.sidebar nav a:last-child { border-bottom: 0; }
.sidebar nav a:hover { background: var(--pink-bg); text-decoration: none; }
.side-cta { text-align: center; padding: 16px; }
.side-cta .tel { font-size: 1.5rem; font-weight: 700; color: var(--pink-deep); }

/* ============================================================
   ギャラリー
   ============================================================ */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-item img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.gallery-item figcaption { text-align: center; font-size: .9rem; color: var(--ink-soft); margin-top: 6px; }

/* ============================================================
   新着情報 / 記事
   ============================================================ */
.news-list { list-style: none; padding: 0; margin: 14px 0 0; }
.news-list li { padding: 9px 0; border-top: 1px dotted var(--pink-soft); font-size: .95rem; }
.news-list li:first-child { border-top: none; }

.news-item { display: flex; gap: 16px; align-items: flex-start; }
.news-item .news-thumb { flex: 0 0 110px; }
.news-item .news-thumb img { width: 100%; border-radius: 8px; display: block; }
.news-item .news-body { flex: 1 1 auto; min-width: 0; }
.news-item h3 { margin: 0 0 4px; border: none; padding: 0; font-size: 1.05rem; }
.news-item p { margin: 6px 0 0; }

.article-meta { color: var(--ink-soft); font-size: .9rem; margin: 0 0 14px; }
.article-body p { margin: 0 0 1.1em; }
.article-figure { margin: 0 0 20px; }
.article-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.article-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: .93rem; }
.article-nav a { max-width: 46%; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.pager a, .pager span { padding: 7px 14px; border-radius: 8px; border: 1px solid var(--pink-soft); text-decoration: none; }
.pager .current { background: var(--pink); border-color: var(--pink); color: #fff; font-weight: 700; }

@media (max-width: 480px) {
  .news-item { gap: 12px; }
  .news-item .news-thumb { flex-basis: 84px; }
}


/* 患者さんの声：お名前と顔写真 */
.voice-by { display: flex; align-items: center; gap: 12px; margin: 14px 0 0; color: var(--ink-soft); font-size: .93rem; }
.voice-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: var(--shadow); }

/* ============================================================
   フォーム
   ============================================================ */
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; }
.form-row .req { color: #fff; background: var(--pink); font-size: .7rem; padding: 1px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.form-row input, .form-row textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #d8c6cf; border-radius: 8px; font-size: 1rem; font-family: inherit;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--pink); border-color: var(--pink); }
.form-consent { margin: 14px 0 20px; }
.form-consent label { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; cursor: pointer; }
.form-consent input { width: auto; margin-top: .35em; flex: 0 0 auto; }
.form-consent .req { color: #fff; background: var(--pink); font-size: .7rem; padding: 1px 8px; border-radius: 4px; }

/* ============================================================
   フッター
   ============================================================ */
.site-footer { background: var(--pink-bg); border-top: 4px solid var(--pink); margin-top: 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 30px 20px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.footer-inner .f-info { font-size: .9rem; line-height: 1.9; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; }
.copyright { text-align: center; font-size: .8rem; color: var(--ink-soft); padding: 14px; background: var(--pink-soft); }

/* リスト装飾 */
.main ul.checks { list-style: none; padding-left: 0; }
.main ul.checks li { padding-left: 1.6em; position: relative; margin-bottom: 6px; }
.main ul.checks li::before { content: "🌸"; position: absolute; left: 0; font-size: .9em; }

/* STEPリスト */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding: 16px 18px 16px 64px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; box-shadow: var(--shadow); }
.steps li::before { counter-increment: step; content: "STEP " counter(step); position: absolute; left: 14px; top: 16px; background: var(--pink); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
  .nav-toggle { display: block; }
  .gnav ul { display: none; flex-direction: column; }
  .gnav.open ul { display: flex; }
  .gnav a { padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.25); text-align: center; }
  .header-contact { display: none; }
  .grid.cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .page-title { font-size: 1.2rem; }
}
