/* Access Hiroshima — ロゴの黒×金に合わせた配色。本文は読みやすさ優先で明るい面に置く */
:root {
  --ink: #1b1a17;
  --ink-soft: #55504a;
  --paper: #faf8f4;
  --paper-alt: #f1ece3;
  --line: #e2d9c8;
  --gold: #a8843f;
  --gold-deep: #85672c;
  --gold-light: #d9bf86;
  --night: #0e0d0b;
  --night-2: #1a1814;
  --line-green: #06c755;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --latin: "Cormorant Garamond", "Noto Serif JP", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }  /* 固定ヘッダーの下に隠れないように */
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.9 var(--sans); letter-spacing: .02em; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.5; margin: 0 0 .6em; }
h2 { font-size: clamp(24px, 3.2vw, 32px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.kicker { font-family: var(--latin); font-size: 15px; letter-spacing: .28em; color: var(--gold); margin: 0 0 .3em; text-transform: uppercase; }
.lead { color: var(--ink-soft); font-size: 15.5px; }
.small { font-size: 13px; }
.note { font-size: 14px; color: var(--ink-soft); margin-top: 2em; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14,13,11,.96); border-bottom: 1px solid #2b2720; backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { border-radius: 50%; }
.brand b { display: block; font-family: var(--latin); font-size: 20px; letter-spacing: .08em; font-weight: 600; color: var(--gold-light); line-height: 1.1; }
.brand small { display: block; font-size: 11px; color: #bdb3a1; letter-spacing: .2em; }
.gnav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.gnav a { display: block; white-space: nowrap; padding: 8px 10px; color: #e8e1d3; text-decoration: none; font-size: 13px; text-align: center; line-height: 1.3; border-bottom: 1px solid transparent; }
.gnav a .en { display: block; font-family: var(--latin); font-size: 11px; letter-spacing: .18em; color: var(--gold-light); }
.gnav a:hover, .gnav a[aria-current="page"] { border-bottom-color: var(--gold); }
.gnav .nav-ext a { color: var(--gold-light); }
.gnav i { font-style: normal; font-size: 11px; margin-left: 2px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--gold); color: var(--gold-light); font: 600 12px var(--latin); letter-spacing: .2em; padding: 8px 12px; cursor: pointer; }

/* buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .06em; border: 1px solid transparent; transition: filter .2s, background .2s; }
.btn:hover { filter: brightness(1.08); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-web { background: linear-gradient(135deg, #c9a45c, #9b7733); color: #fff; }
.btn-tel { background: var(--night-2); color: #fff; border-color: var(--gold); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-ghost { border-color: var(--gold); color: var(--gold-light); background: transparent; }
.sec .btn-ghost, .page-head .btn-ghost { color: var(--gold-deep); }

/* hero */
.hero { background: radial-gradient(ellipse at 30% 40%, #2a241a 0%, var(--night) 65%); color: #f3ede2; padding: 72px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.hero-logo { width: 100%; max-width: 340px; }  /* ロゴは透過PNGなので枠・影は付けない */
.hero h1 { font-size: clamp(28px, 4.4vw, 46px); color: #fff; letter-spacing: .08em; word-break: keep-all; }
.hero h1 .h1-area { display: block; font-size: 15px; letter-spacing: .12em; color: var(--gold-light); margin-bottom: .6em; font-weight: 400; }
.hero .lead { color: #cfc6b5; max-width: 560px; }
.hero-info { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 1.4em 0 0; }
.hero-info div { display: flex; gap: 12px; font-size: 14px; }
.hero-info dt { color: var(--gold-light); }
.hero-info dd { margin: 0; }

/* sections */
.sec { padding: 72px 0; }
.sec-alt { background: var(--paper-alt); }
.page-head { background: var(--night); color: #f3ede2; padding: 56px 0 48px; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 36px); }
.page-head .lead { color: #cfc6b5; max-width: 720px; margin: 0; }
.h-sub { font-size: 22px; border-left: 3px solid var(--gold); padding-left: 14px; margin: 2.2em 0 1em; }
.h-sub:first-child { margin-top: 0; }
.more { margin-top: 1.8em; }
.more a, .text-link { text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.concept { background: #fff; border: 1px solid var(--line); padding: 28px 24px; }
.concept .no { font-family: var(--latin); font-size: 34px; color: var(--gold); line-height: 1; display: block; margin-bottom: 12px; }
.concept p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.feature-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 32px 0 0; }
.feature-list li, .chips li { border: 1px solid var(--gold-light); color: var(--gold-deep); font-size: 13.5px; padding: 4px 14px; background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }

.course-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.course-mini { background: #fff; border-top: 2px solid var(--gold); padding: 20px; }
.course-mini .cn { font-family: var(--serif); font-weight: 600; margin: 0 0 6px; }
.course-mini .cp { margin: 0; color: var(--ink-soft); font-size: 14px; }
.course-mini b { font-size: 22px; color: var(--ink); font-family: var(--latin); }

.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.course { position: relative; background: #fff; border: 1px solid var(--line); padding: 28px; }
.course p { color: var(--ink-soft); font-size: 14.5px; }
.badge { position: absolute; top: -1px; right: 20px; background: var(--gold); color: #fff; font-size: 12px; padding: 3px 12px; }
.price { width: 100%; border-collapse: collapse; }
.price th, .price td { padding: 10px 0; border-bottom: 1px dotted var(--line); font-weight: 400; }
.price th { text-align: left; color: var(--ink-soft); }
.price td { text-align: right; font-family: var(--latin); font-size: 22px; font-weight: 600; }
.extra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.extra { background: #fff; border: 1px solid var(--line); padding: 20px 24px; }
.rules { padding-left: 1.4em; margin: 0; }
.rules li { margin-bottom: .8em; font-size: 14.5px; }

/* therapist */
.legend { font-size: 13px; color: var(--ink-soft); margin-bottom: 20px; }
.cast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
.cast { text-decoration: none; color: var(--ink); }
.cast figure { position: relative; margin: 0 0 10px; overflow: hidden; background: #e9e3d8; aspect-ratio: 357 / 556; }
.cast img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cast:hover img { transform: scale(1.04); }
.cast .tags { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; }
.tag { display: inline-block; font-size: 11px; padding: 2px 8px; letter-spacing: .05em; }
.tag-pre { background: var(--night); color: var(--gold-light); border: 1px solid var(--gold); }
.tag-new { background: #fff; color: #2f7a4b; border: 1px solid #2f7a4b; }
.cast-name { font-family: var(--serif); font-weight: 600; margin: 0; font-size: 16px; }
.cast-meta { margin: 0; color: var(--ink-soft); font-size: 13px; }

/* flow */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.step { position: relative; padding: 0 0 40px 32px; border-left: 1px solid var(--gold-light); margin-left: 8px; }
.step::before { content: ""; position: absolute; left: -7px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); }
.step:last-child { border-left-color: transparent; }
.step .no { font-family: var(--latin); letter-spacing: .2em; color: var(--gold); font-size: 14px; }
.step p { color: var(--ink-soft); }

/* access */
.room { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.room:first-child { padding-top: 0; }
.room dl { display: grid; grid-template-columns: 4em 1fr; gap: 4px 12px; font-size: 14.5px; margin: 0 0 12px; }
.room dt { color: var(--gold-deep); }
.room dd { margin: 0; }
.acc { padding-left: 1.2em; font-size: 14px; color: var(--ink-soft); }
.map { min-height: 300px; background: #e9e3d8; }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact { background: #fff; border: 1px solid var(--line); padding: 28px; }
.contact .big { font-family: var(--latin); font-size: 26px; font-weight: 600; margin: 0 0 .3em; }
.contact .big a { color: var(--ink); text-decoration: none; }
.info { width: 100%; border-collapse: collapse; margin-top: 40px; background: #fff; }
.info th, .info td { padding: 14px 18px; border: 1px solid var(--line); text-align: left; font-size: 14.5px; }
.info th { width: 9em; background: var(--paper-alt); font-weight: 500; }

/* cta & footer */
.cta-band { background: var(--night-2); color: #f3ede2; padding: 64px 0; text-align: center; }
.cta-band .btn-row { justify-content: center; }
.cta-meta { color: #cfc6b5; font-size: 14px; }
.cta-band .small { margin-top: 1.4em; color: #a99f8c; }
.cta-band a:not(.btn) { color: var(--gold-light); }
.site-footer { background: var(--night); color: #a99f8c; padding: 48px 0 96px; font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.foot-grid img { border-radius: 50%; margin-bottom: 10px; }
.foot-name { color: var(--gold-light); font-family: var(--latin); font-size: 18px; line-height: 1.4; }
.foot-name small { font-family: var(--sans); font-size: 12px; color: #a99f8c; }
.foot-links { list-style: none; padding: 0; margin: 0; }
.foot-links a { color: #d8cfbf; text-decoration: none; line-height: 2.2; }
.foot-note { border-top: 1px solid #2b2720; margin-top: 32px; padding-top: 20px; font-size: 12.5px; }
.copy { font-family: var(--latin); letter-spacing: .1em; margin: 0; }
.sp-bar { display: none; }

/* ナビは項目が9つあるので、他の段組みより早く（1180px以下で）メニューボタンに切り替える */
@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .gnav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--night); border-bottom: 1px solid #2b2720; }
  .nav-open .gnav { display: block; }
  .gnav ul { flex-direction: column; padding: 8px 16px 16px; }
  .gnav a { text-align: left; display: flex; gap: 14px; align-items: baseline; padding: 12px 4px; border-bottom: 1px solid #2b2720; font-size: 15px; }
  .gnav a .en { width: 7.5em; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero-logo { max-width: 220px; margin: 0 auto; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-info, .hero .btn-row { justify-content: center; }
  .concept-grid, .contact-grid, .extra-grid { grid-template-columns: 1fr; }
  .course-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .cast-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col, .room, .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { padding: 40px 0 48px; }
  .sec { padding: 52px 0; }
  .page-head { padding: 40px 0 32px; }
  .course-grid { grid-template-columns: 1fr; }
  .cast-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .btn-row .btn { flex: 1 1 100%; }
  .info th { width: 6em; padding: 12px; }
  .info td { padding: 12px; }
  .sp-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(14,13,11,.97); border-top: 1px solid var(--gold); padding-bottom: env(safe-area-inset-bottom); }
  .sp-bar a { color: var(--gold-light); text-decoration: none; text-align: center; padding: 14px 0; font-size: 13px; border-right: 1px solid #2b2720; }
  .sp-bar a:nth-child(3) { background: linear-gradient(135deg, #c9a45c, #9b7733); color: #fff; }
}

/* SNSの埋め込み（ブログ） */
.sns-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; align-items: start; margin-bottom: 40px; }
.sns-item { min-width: 0; }
.sns-item blockquote { margin: 0 !important; max-width: 100% !important; min-width: 0 !important; }
.sns-item blockquote.text-post-media-registered { display: none; }  /* Threadsは埋め込み後も元の引用を残すので隠す */

/* セラピスト応募フォーム（inc-apply.php）。色は各版の変数に従う */
.apply-form { background: #fff; border: 1px solid var(--line); padding: 28px; margin-top: 8px; color: var(--ink); }
.apply-row { margin: 0 0 20px; border: 0; padding: 0; }
.apply-row > label, .apply-row legend { display: block; font-weight: 500; font-size: 14.5px; margin-bottom: 6px; padding: 0; }
.apply-row input[type=text], .apply-row input[type=tel], .apply-row input[type=email], .apply-row input[type=number], .apply-row textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 4px; }
.apply-row input:focus, .apply-row textarea:focus { outline: 2px solid var(--gold-light); border-color: var(--gold); }
.apply-row input[type=number] { max-width: 8em; }
.apply-choices { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.apply-choice { font-size: 15px; cursor: pointer; }
.apply-agree .apply-choice { font-size: 14px; line-height: 1.7; }
.req, .opt { font-size: 11px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; border-radius: 2px; }
.req { background: var(--gold-deep); color: #fff; }
.opt { border: 1px solid var(--line); color: var(--ink-soft); }
.apply-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-note { font-size: 13px; color: var(--ink-soft); margin: 14px 0 0; }
.apply-error { background: #fbeaea; color: #8a2323; padding: 10px 14px; font-size: 14px; }
.apply-done { background: #fff; border: 1px solid var(--gold); padding: 24px 28px; color: var(--ink); }
.apply-done-title { font-family: var(--serif); font-size: 18px; margin-bottom: .4em; }
.apply-sub { font-size: 14px; color: var(--ink-soft); margin-top: 28px; }
@media (max-width: 640px) { .apply-form { padding: 20px 16px; } }

.nowrap { white-space: nowrap; }

/* 本日の出勤表（inc-schedule.php） */
.sch-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 6px; }
.sch-date { font-family: var(--serif); font-size: 20px; margin: 0; }
.sch-updated { font-size: 13px; color: var(--ink-soft); margin: 0; }
.sch-legend { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 18px; display: flex; align-items: center; gap: 6px; }
.sch-legend .slot { margin-left: 8px; }
.sch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sch { display: grid; grid-template-columns: 132px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); padding: 14px; color: var(--ink); }
.sch-photo { position: relative; display: block; aspect-ratio: 357 / 556; overflow: hidden; background: #e9e3d8; }
.sch-photo img { width: 100%; height: 100%; object-fit: cover; }
.sch-photo .tags { position: absolute; top: 6px; left: 6px; display: flex; gap: 4px; }
.sch-name { font-family: var(--serif); font-size: 18px; margin: 2px 0 6px; }
.sch-name small { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); margin-left: 8px; }
.sch-time { font-size: 14px; margin: 0 0 4px; }
.sch-status { font-size: 14px; font-weight: 500; color: var(--gold-deep); margin: 0 0 10px; }
.is-soldout .sch-status { color: var(--ink-soft); font-weight: 400; }
.is-soldout .sch-photo img { filter: grayscale(.6); opacity: .75; }
.sch-bar { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 12px; }
.slot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.slot-open { background: var(--gold); }
.slot-booked { background: #d7d2ca; }
.sch-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sch-btns .btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
@media (max-width: 960px) { .sch-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .sch { grid-template-columns: 104px 1fr; gap: 12px; padding: 12px; } .sch-btns .btn { flex: 1 1 auto; } }

/* 出勤表のタブ（7日分） */
.sch-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; padding-bottom: 2px; }
.sch-tabs::-webkit-scrollbar { display: none; }
.sch-tab { flex: 1 0 auto; min-width: 84px; padding: 8px 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; cursor: pointer; text-align: center; line-height: 1.4; }
.sch-tab b { display: block; font-size: 15px; font-weight: 500; }
.sch-tab small { font-size: 11.5px; color: var(--ink-soft); }
.sch-tab.is-on { background: var(--gold); border-color: var(--gold); color: #fff; }
.sch-tab.is-on small { color: rgba(255,255,255,.85); }
.sch-panel .sch-date { margin: 4px 0 14px; }
.sch-name a, .sch-photo { color: inherit; text-decoration: none; }
.sch-btns .btn-web { color: #fff; }

/* 予約フォーム */
.reserve-form select { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 4px; }
.reserve-lead { background: var(--paper-alt); padding: 12px 14px; font-size: 14px; margin-bottom: 20px; }

/* セラピスト詳細 */
.cd-back { font-size: 14px; margin-bottom: 18px; }
.cd { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 36px; align-items: start; }
.cd-main { position: relative; margin: 0; aspect-ratio: 357 / 556; overflow: hidden; background: #e9e3d8; }
.cd-main img { width: 100%; height: 100%; object-fit: cover; }
.cd-main .tags { position: absolute; top: 8px; left: 8px; display: flex; gap: 4px; }
.cd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.cd-thumb { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 357 / 556; overflow: hidden; }
.cd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cd-thumb.is-on { border-color: var(--gold); }
.cd-types { margin-bottom: 18px; }
.cd-info { margin-top: 0; }
.cd-week { list-style: none; padding: 0; margin: 0 0 8px; border-top: 1px solid var(--line); }
.cd-week li { display: grid; grid-template-columns: 7.5em 9em 1fr; gap: 8px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cd-week .is-off { color: var(--ink-soft); }
.cd-day { font-weight: 500; }
.cd-open { color: var(--gold-deep); }
.cd-text { white-space: normal; font-size: 15px; line-height: 2; }
@media (max-width: 760px) {
  .cd { grid-template-columns: 1fr; gap: 20px; }
  .cd-week li { grid-template-columns: 6.5em 1fr; }
  .cd-open { grid-column: 1 / -1; padding-left: 0; }
}
