@charset "UTF-8";
/* ============================================================
   静的サイト移行テンプレート — 共通スタイル
   ビルド不要・依存なし。案件ごとに「デザイントークン」だけ差し替える。
   ============================================================ */

/* ---- デザイントークン（案件ごとに変えるのは基本ここだけ） ---- */
:root {
  --brand:       #e58aad;   /* メインカラー（ロゴから拾うと馴染む） */
  --brand-deep:  #d06b94;   /* 濃いめ（ホバー・見出し文字） */
  --brand-soft:  #f7d8e4;   /* 淡い（帯・見出し背景） */
  --brand-bg:    #fdf3f7;   /* ごく淡い（面の塗り） */
  --accent:      #e8902e;   /* 注意喚起（料金の但し書き等） */
  --accent-bg:   #fff6ea;

  --ink:         #4a4a4a;   /* 本文 */
  --ink-soft:    #6f6f6f;   /* 補足 */
  --line:        #eadfe4;   /* 罫線 */
  --white:       #ffffff;

  /* 文字の大きさ。管理画面から変えられる唯一の寸法。rem の基準になる */
  --base-size:   16px;

  --maxw:        1080px;
  --radius:      10px;
  --shadow:      0 2px 14px rgba(0,0,0,.06);
  --marker:      "●";       /* リストの装飾記号。絵文字も可 */
  --font: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}

/* 配色プリセット（--brand 系の4行を差し替えて使う）
   女性向け・治療院  : #e58aad / #d06b94 / #f7d8e4 / #fdf3f7
   医療・クリニック  : #4a9dd4 / #2f7cad / #d5eaf7 / #f2f9fd
   和風・整体・鍼灸  : #8a9a5b / #6d7c43 / #e2e8cf / #f6f8f0
   士業・コンサル    : #3f5b7c / #2c405a / #d7e0ea / #f3f6f9
   飲食・温かみ      : #c8622f / #a44d22 / #f4dccf / #fdf5f0
   美容・上品        : #a68a64 / #866c4a / #ebe0d1 / #faf6f0
*/

/* ---- リセット ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: var(--base-size, 16px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.85;
  background: var(--white);
  font-size: 1rem;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-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;
}
.layout.no-side { grid-template-columns: 1fr; }
.main { min-width: 0; }   /* グリッド内で表がはみ出すのを防ぐ */

/* ============================================================
   ヘッダー / ナビ
   ============================================================ */
.site-header {
  border-top: 4px solid var(--brand); 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; }
.brand:hover { text-decoration: none; }
/* ロゴ画像を持っていないクライアント向け。<img> の代わりに
   <span class="logo-text">屋号<small>補足</small></span> を置く */
.logo-text { font-size: 1.35rem; font-weight: 700; color: var(--brand-deep); line-height: 1.3; }
.logo-text small { display: block; font-size: .72rem; color: var(--ink-soft); font-weight: 400; }
.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(--brand-deep); white-space: nowrap;
}

.gnav { background: var(--brand); }
.gnav ul {
  max-width: var(--maxw); margin: 0 auto; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
}
.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(--brand-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(--brand-deep);
  margin: 5px 0; border-radius: 2px; transition: .25s;
}

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

/* ============================================================
   パーツ
   ============================================================ */
.notice {
  border: 2px solid var(--accent); background: var(--accent-bg);
  border-radius: var(--radius); padding: 14px 18px; margin: 18px 0; color: #8a5a16;
}
.notice strong { color: var(--accent); }

.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(--brand-bg); color: var(--brand-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(--brand); color: #fff; }
.hours tbody th {
  background: var(--brand-bg); color: var(--brand-deep); text-align: left; white-space: nowrap;
}
.hours .off { color: #c98aa6; }

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

/* 制作中の差し替え待ち箇所。公開前に全部消す */
.placeholder {
  border: 2px dashed var(--brand); background: #fff8fb; border-radius: var(--radius);
  padding: 14px 18px; margin: 16px 0; color: var(--brand-deep); font-size: .92rem;
}

/* ============================================================
   スライドショー（トップ）
   ============================================================ */
.hero { position: relative; max-width: var(--maxw); margin: 0 auto; }
.slideshow {
  position: relative; overflow: hidden; aspect-ratio: 16/9;
  border-radius: 0 0 var(--radius) var(--radius); background: var(--brand-bg);
}
.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%); z-index: 3;
  background: rgba(255,255,255,.85); color: var(--brand-deep); padding: 10px 22px;
  border-radius: 999px; font-weight: 700; text-align: center;
  font-size: clamp(.9rem, 2.4vw, 1.15rem);
}
.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(--brand-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(--brand); }

/* ============================================================
   サイドメニュー
   ============================================================ */
.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(--brand); 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(--brand-bg); text-decoration: none; }
.side-cta { text-align: center; padding: 16px; }
.side-cta .tel { font-size: 1.5rem; font-weight: 700; color: var(--brand-deep); }

/* ============================================================
   グリッド / ギャラリー
   ============================================================ */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 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;
}

/* ============================================================
   フォーム
   ============================================================ */
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; }
.form-row .req {
  color: #fff; background: var(--brand); font-size: .7rem; padding: 1px 8px;
  border-radius: 4px; margin-left: 8px; vertical-align: middle;
}
.form-row input, .form-row textarea, .form-row select {
  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, .form-row select:focus {
  outline: 2px solid var(--brand); border-color: var(--brand);
}

/* ============================================================
   リスト装飾
   ============================================================ */
.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: var(--marker); position: absolute; left: 0;
  font-size: .9em; color: var(--brand);
}

.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(--brand); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 4px 8px; border-radius: 6px;
}

/* ============================================================
   フッター
   ============================================================ */
.site-footer { background: var(--brand-bg); border-top: 4px solid var(--brand); 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(--brand-soft);
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@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.cols-3 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .page-title { font-size: 1.2rem; }
  .slide-arrow { width: 38px; height: 38px; font-size: 1.4rem; }
  /* 表は横スクロールさせる。潰すと料金が読めなくなるため */
  .table, .hours { display: block; overflow-x: auto; white-space: nowrap; }
}

/* 印刷（料金表やアクセスを紙で渡されることがある） */
@media print {
  .gnav, .nav-toggle, .sidebar, .slide-arrow, .slide-dots { display: none; }
  .layout { grid-template-columns: 1fr; }
  body { font-size: 12pt; }
}
