/* hair salon そよぎ（架空のお店・Web制作サンプル）共通CSS
   改行の土台（word-break / overflow-wrap / text-wrap / .nb）は、各HTMLの <style> に入れてあります。 */

*,*::before,*::after{box-sizing:border-box}

:root{
  --ecru:#f8f4ea;
  --paper:#fffdf8;
  --sand:#ece3cf;
  --sand-soft:#f1eadb;
  --sand-deep:#d6c8a8;
  --sage-soft:#e2e9da;
  --sage:#8fa186;
  --sage-deep:#4c5f46;
  --sage-dark:#3a4a35;
  --ink:#2b3228;
  --muted:#566050;
  --serif:"Shippori Mincho","Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  --sans:"Zen Kaku Gothic New","Yu Gothic","Hiragino Sans","Noto Sans JP",Meiryo,sans-serif;
}

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:16px}
body{
  margin:0;
  background:var(--ecru);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.95;
  letter-spacing:.04em;
  font-feature-settings:"palt" 1;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,p,dl,dd,ol,ul,figure,address{margin:0}
ol,ul{padding:0;list-style:none}
address{font-style:normal}
a{color:inherit}
img{display:block;max-width:100%;height:auto}
small{font-size:inherit}
::selection{background:var(--sage-soft)}

:focus-visible{outline:3px solid var(--sage-dark);outline-offset:3px;border-radius:4px}

.wrap{width:min(1080px,calc(100% - 40px));margin-inline:auto}

.skip{
  position:absolute;left:12px;top:-80px;z-index:100;
  padding:10px 18px;background:var(--ink);color:#fff;border-radius:0 0 10px 10px;
}
.skip:focus{top:0}

.vh{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
}

/* ---------- 見出しと小見出し ---------- */
h1,h2,h3{font-family:var(--serif);font-weight:500;letter-spacing:.06em}
h2{font-size:clamp(25px,4.6vw,34px);line-height:1.55}
h3{font-size:clamp(18px,3.2vw,21px);line-height:1.6}

.eyebrow{
  font-family:var(--serif);font-size:13px;letter-spacing:.2em;line-height:1.7;
  color:var(--sage-deep);margin-bottom:10px;
}

/* ---------- ボタン ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:0 30px;border-radius:999px;
  background:var(--sage-deep);color:#fff;
  font-family:var(--sans);font-size:16px;font-weight:700;letter-spacing:.12em;text-decoration:none;
  border:1px solid var(--sage-deep);
  transition:background-color .2s,transform .2s;
}
.btn:hover{background:var(--sage-dark)}
.btn:active{transform:translateY(1px)}
.btn-note{display:block;font-size:12px;line-height:1.6;color:var(--muted);letter-spacing:.02em}

/* ---------- ヘッダー ---------- */
.site-header{background:var(--ecru);border-bottom:1px solid var(--sand-deep)}
.sample-band{
  background:var(--ink);color:#f4efe2;text-align:center;
  font-size:12px;line-height:1.7;letter-spacing:.02em;padding:8px 16px;
}
.header-inner{
  width:min(1080px,calc(100% - 40px));margin-inline:auto;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px 28px;padding:14px 0;
}
.brand{display:inline-flex;align-items:center;gap:10px;min-height:48px;text-decoration:none;color:var(--ink);justify-self:start}
.brand svg{width:34px;height:34px;flex:none;color:var(--sage-deep)}
.brand-text{display:flex;flex-direction:column;line-height:1.2}
.brand-en{font-family:var(--serif);font-size:11px;letter-spacing:.26em;color:var(--muted)}
.brand-ja{font-family:var(--serif);font-size:24px;font-weight:600;letter-spacing:.12em}

.nav{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:0 6px}
.nav a{
  display:inline-flex;align-items:center;min-height:44px;padding:0 12px;
  font-size:15px;text-decoration:none;box-shadow:inset 0 -2px 0 transparent;
  transition:color .2s,box-shadow .2s;
}
.nav a:hover{color:var(--sage-deep);box-shadow:inset 0 -2px 0 var(--sage)}
.nav a[aria-current="page"]{font-weight:700;color:var(--sage-dark);box-shadow:inset 0 -2px 0 var(--sage-deep)}

.header-cta{display:flex;flex-direction:column;align-items:flex-end;gap:2px}

@media (max-width:899px){
  .header-inner{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"brand cta" "note note" "nav nav";
    gap:0 12px;padding:8px 0 4px;
  }
  .brand{grid-area:brand}
  .header-cta{display:contents}
  .header-cta .btn{grid-area:cta;min-height:44px;padding:0 20px;font-size:15px}
  .header-cta .btn-note{grid-area:note;text-align:right;padding-top:2px}
  .nav{grid-area:nav;justify-content:space-between;margin-top:4px;border-top:1px solid var(--sand-deep)}
  .nav a{padding:0 8px}
}
@media (max-width:359px){
  .brand-ja{font-size:21px}
  .brand svg{width:30px;height:30px}
  .nav a{font-size:14px;padding:0 5px}
}

/* ---------- 共通のまとまり ---------- */
.section{padding:76px 0}
.section--paper{background:var(--paper)}
.section--sand{background:var(--sand-soft)}
.section--dark{background:var(--sage-dark);color:#f6f1e4}
.section--dark .eyebrow{color:#c9d6bf}
.section--dark :focus-visible{outline-color:#fff}
.sec-head{margin-bottom:40px}
.sec-lead{margin-top:14px;max-width:36em;color:var(--muted)}
.section--dark .sec-lead{color:#d8dfd0}

@media (max-width:599px){
  .section{padding:56px 0}
  .sec-head{margin-bottom:30px}
}

/* ---------- 写真 ---------- */
img.photo{
  width:100%;height:auto;object-fit:cover;background:var(--sand);
  color:var(--muted);font-size:13px;line-height:1.7;
}
img.photo.ratio-45{aspect-ratio:4/5}
img.photo.ratio-11{aspect-ratio:1/1}
img.photo.ratio-32{aspect-ratio:3/2}

/* ---------- トップの最初の画面 ---------- */
.hero{padding:28px 0 72px;background:linear-gradient(180deg,var(--ecru) 0%,var(--sand-soft) 100%)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:36px;align-items:center}
.hero-media{position:relative;order:-1}
.hero-media::before{
  content:"";position:absolute;inset:16px -12px -16px 12px;
  background:var(--sage-soft);border-radius:clamp(60px,14vw,150px) 22px 22px 22px;
}
.hero-photo{
  position:relative;z-index:1;display:block;width:100%;aspect-ratio:3/2;object-fit:cover;
  border-radius:clamp(60px,14vw,150px) 22px 22px 22px;background:var(--sand);
  color:var(--muted);font-size:13px;line-height:1.7;
}
.hero-media .hero-image-note{right:12px;bottom:12px;max-width:calc(100% - 24px);left:auto}

.hero-title{display:block;margin-bottom:6px}
.hero-en{display:block;font-family:var(--serif);font-size:15px;font-weight:500;letter-spacing:.34em;color:var(--sage-deep)}
.hero-ja{display:block;font-family:var(--serif);font-size:clamp(58px,14vw,92px);font-weight:500;letter-spacing:.1em;line-height:1.2;font-feature-settings:normal}
.hero-lead{font-family:var(--serif);font-size:clamp(18px,3.6vw,22px);letter-spacing:.07em;line-height:1.8;margin:14px 0 8px}
.hero-sub{color:var(--muted);max-width:30em;margin-bottom:24px}

.hours{border-top:1px solid var(--sand-deep);margin-bottom:28px;max-width:30em}
.hours>div{display:grid;grid-template-columns:5.6em minmax(0,1fr);gap:12px;padding:9px 0;border-bottom:1px solid var(--sand-deep)}
.hours dt{font-size:13px;letter-spacing:.12em;color:var(--muted)}
.hours dd{margin:0;font-weight:500}

.cta{display:flex;flex-direction:column;align-items:flex-start;gap:8px}

@media (min-width:900px){
  .hero{padding:44px 0 96px}
  .hero-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px}
  .hero-media{order:0}
}

/* ---------- はじめての方へ ---------- */
.steps{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.step{
  display:grid;grid-template-columns:48px minmax(0,1fr);gap:4px 16px;align-items:start;
  background:var(--paper);border:1px solid var(--sand-deep);border-radius:20px;padding:22px 20px;
}
.step-num{
  width:48px;height:48px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid var(--sage);background:var(--sage-soft);color:var(--sage-dark);
  font-family:var(--serif);font-size:18px;letter-spacing:.04em;
}
.step h3{padding-top:9px}
.step p{grid-column:1/-1;margin-top:6px;color:var(--muted);font-size:15px;line-height:1.9}

@media (min-width:700px){
  .steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
}

/* ---------- スタイル ---------- */
.styles{display:grid;grid-template-columns:minmax(0,1fr);gap:40px;max-width:420px;margin-inline:auto}
.style-card img.photo{border-radius:50% 50% 16px 16px / 40% 40% 16px 16px}
.style-card figcaption{padding:18px 0 0}
.style-card h3{margin-bottom:6px}
.style-card p{color:var(--muted);font-size:15px;line-height:1.9}

@media (min-width:700px){
  .styles{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;max-width:none}
  .style-card:nth-child(2){margin-top:44px}
}

/* ---------- 大切にしていること ---------- */
.values{display:grid;grid-template-columns:minmax(0,1fr);gap:30px}
.value{border-top:1px solid rgba(246,241,228,.4);padding-top:20px}
.value-num{font-family:var(--serif);font-size:15px;letter-spacing:.24em;color:#c9d6bf;line-height:1.7}
.value h3{margin:4px 0 10px;font-size:clamp(20px,3.4vw,23px)}
.value p{color:#e6ebdf}

@media (min-width:800px){
  .values{grid-template-columns:repeat(3,minmax(0,1fr));gap:44px}
}

/* ---------- 入口カード ---------- */
.gates{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin-bottom:56px}
.gate{
  display:block;text-decoration:none;
  background:var(--paper);border:1px solid var(--sand-deep);border-radius:22px;padding:30px 26px 22px;
  transition:border-color .2s,box-shadow .2s;
}
.gate:hover{border-color:var(--sage);box-shadow:0 10px 30px rgba(76,95,70,.12)}
.gate h3{font-size:clamp(21px,3.6vw,25px);margin-bottom:8px}
.gate p{color:var(--muted)}
.gate-more{
  display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:44px;margin-top:10px;
  color:var(--sage-deep);font-weight:700;letter-spacing:.1em;
}
.gate-more::after{content:"→";font-family:var(--sans);transition:transform .2s}
.gate:hover .gate-more::after{transform:translateX(4px)}

@media (min-width:760px){
  .gates{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
}

/* ---------- ご予約の帯 ---------- */
.cta-panel{
  background:var(--sage-soft);border:1px solid #c9d6bf;border-radius:28px;
  padding:44px 22px 40px;text-align:center;
}
.cta-panel h2{margin-bottom:12px}
.cta-panel p{max-width:34em;margin-inline:auto}
.cta-panel .cta{align-items:center;margin-top:24px}
.cta-panel .btn-note{color:var(--sage-dark)}

/* ---------- 下のページの見出し部分 ---------- */
.page-head{position:relative;overflow:hidden;background:var(--sand-soft);padding:52px 0 48px;border-bottom:1px solid var(--sand-deep)}
.page-head .wrap{position:relative;z-index:1}
.page-head::before,.page-head::after{
  content:"";position:absolute;top:28px;border:1px solid var(--sage);border-bottom:0;border-radius:999px 999px 0 0;
}
.page-head::before{right:max(20px,calc(50% - 540px));width:128px;height:170px;opacity:.8}
.page-head::after{right:calc(max(20px,calc(50% - 540px)) + 26px);top:56px;width:128px;height:142px;opacity:.45;background:var(--sage-soft)}
.page-head h1{font-size:clamp(30px,6vw,44px);line-height:1.5;margin-bottom:12px}
.page-lead{max-width:34em;color:var(--muted)}
@media (max-width:699px){
  .page-head{padding:38px 0 36px}
  .page-head::before,.page-head::after{display:none}
}

.jump{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.jump a{
  display:inline-flex;align-items:center;min-height:44px;padding:0 22px;
  border:1px solid var(--sage);border-radius:999px;background:var(--paper);
  color:var(--sage-dark);font-weight:500;text-decoration:none;letter-spacing:.1em;
  transition:background-color .2s;
}
.jump a:hover{background:var(--sage-soft)}

/* ---------- メニューと料金 ---------- */
.menu-note{
  background:var(--paper);border-left:4px solid var(--sage);border-radius:4px 14px 14px 4px;
  padding:14px 18px;margin-bottom:32px;color:var(--muted);font-size:15px;
}
.menu-card{
  scroll-margin-top:12px;
  background:var(--paper);border:1px solid var(--sand-deep);border-radius:24px;
  padding:32px 28px 18px;margin-bottom:28px;
}
.menu-card h2{font-size:clamp(23px,4vw,28px);margin-bottom:4px}
.menu-card .menu-lead{color:var(--muted);font-size:15px}

.menu-table{width:100%;border-collapse:collapse;margin-top:14px}
.menu-table thead th{
  text-align:left;font-size:12px;font-weight:500;letter-spacing:.1em;color:var(--muted);
  padding:6px 8px;border-bottom:1px solid var(--sand-deep);
}
.menu-table thead th:nth-child(2){text-align:center}
.menu-table thead th:nth-child(3){text-align:right}
.menu-table tbody th,.menu-table tbody td{padding:16px 8px;vertical-align:top;border-bottom:1px dashed var(--sand-deep)}
.menu-table tbody tr:last-child th,.menu-table tbody tr:last-child td{border-bottom:0}
.menu-table tbody th{text-align:left;font-weight:700;line-height:1.7}
.menu-table .desc{display:block;font-weight:400;font-size:13px;line-height:1.7;color:var(--muted)}
.menu-table .time{text-align:center;color:var(--muted);font-size:15px;width:7em}
.menu-table .price{text-align:right;font-family:var(--serif);font-size:19px;font-weight:600;letter-spacing:.04em;width:7.5em}

@media (max-width:599px){
  .menu-card{padding:24px 16px 10px;border-radius:20px}
  .menu-table thead{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}
  .menu-table,.menu-table tbody{display:block}
  .menu-table tbody tr{
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;
    padding:14px 0;border-bottom:1px dashed var(--sand-deep);
  }
  .menu-table tbody tr:last-child{border-bottom:0}
  .menu-table tbody th,.menu-table tbody td{display:block;padding:0;border:0;width:auto}
  .menu-table tbody th{grid-column:1/-1}
  .menu-table .time{text-align:left;width:auto;align-self:end}
  .menu-table .price{text-align:right;width:auto;font-size:18px}
}

.menu-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:32px}
.menu-list>:last-child{margin-bottom:0}
.menu-aside{max-width:420px}
.menu-aside img.photo{border-radius:18px}
.menu-aside figcaption{margin-top:12px;color:var(--muted);font-size:14px;line-height:1.8}
@media (min-width:960px){
  .menu-layout{grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:44px;align-items:start}
  .menu-list{grid-column:2;grid-row:1}
  .menu-aside{grid-column:1;grid-row:1;max-width:none;position:sticky;top:24px}
}

/* ---------- ご利用にあたって ---------- */
.rules{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.rule{background:var(--paper);border:1px solid var(--sand-deep);border-radius:20px;padding:24px 22px}
.rule h3{font-size:19px;margin-bottom:8px;color:var(--sage-dark)}
.rule p{color:var(--muted);font-size:15px}
@media (min-width:760px){
  .rules{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
}

/* ---------- アクセス ---------- */
.info-card{background:var(--paper);border:1px solid var(--sand-deep);border-radius:24px;padding:12px 28px}
.info-table{width:100%;border-collapse:collapse}
.info-table th,.info-table td{padding:16px 0;vertical-align:top;border-bottom:1px solid var(--sand-deep);text-align:left}
.info-table tr:last-child th,.info-table tr:last-child td{border-bottom:0}
.info-table th{width:6.4em;padding-right:12px;font-size:14px;font-weight:500;letter-spacing:.1em;color:var(--sage-deep)}
@media (max-width:599px){
  .info-card{padding:6px 16px;border-radius:20px}
  .info-table th{width:5.6em;font-size:13px}
}

.info-route{display:grid;grid-template-columns:minmax(0,1fr);gap:56px;align-items:start}
@media (min-width:960px){
  .info-route{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:64px}
}

.route{display:grid;gap:0;counter-reset:route}
.route li{position:relative;padding:0 0 26px 52px}
.route li::before{
  content:"";position:absolute;left:15px;top:36px;bottom:4px;width:1px;background:var(--sage);opacity:.6;
}
.route li:last-child{padding-bottom:0}
.route li:last-child::before{display:none}
.route-dot{
  position:absolute;left:0;top:2px;width:32px;height:32px;border-radius:50%;
  display:grid;place-items:center;background:var(--sage-deep);color:#fff;
  font-family:var(--serif);font-size:15px;line-height:1;
}
.route-label{font-size:12px;letter-spacing:.2em;color:var(--sage-deep);line-height:1.6;padding-top:2px}
.route h3{font-size:19px;margin-bottom:4px}
.route p:not(.route-label){color:var(--muted);font-size:15px}

.map-ph{
  display:grid;place-items:center;aspect-ratio:4/3;min-height:220px;padding:20px;
  background:#dcdcd5;border:2px dashed #8b8f86;border-radius:20px;color:#363b33;text-align:center;
}
.map-ph p{font-weight:700;letter-spacing:.06em}
.map-ph small{display:block;font-size:12px;font-weight:400;margin-top:4px;color:#454a42}

@media (min-width:900px){
  .map-ph{aspect-ratio:16/6;min-height:280px}
}


/* よくある質問 */
.faq details{background:var(--paper);border:1px solid var(--sand-deep);border-radius:16px;margin-bottom:12px}
.faq summary{
  display:flex;align-items:center;gap:12px;min-height:60px;padding:12px 18px;
  cursor:pointer;list-style:none;font-weight:700;line-height:1.7;
}
.faq summary::-webkit-details-marker{display:none}
.faq .q-text{flex:1;min-width:0}
.faq summary::before{
  content:"Q";content:"Q" / "";
  flex:none;font-family:var(--serif);font-size:22px;font-weight:500;color:var(--sage-deep);width:1.1em;
}
.faq summary::after{
  content:"＋";content:"＋" / "";
  margin-left:auto;flex:none;color:var(--sage-deep);font-weight:400;
}
.faq details[open] summary::after{content:"－";content:"－" / ""}
.faq details[open] summary{color:var(--sage-dark)}
.faq .answer{padding:0 20px 20px calc(18px + 1.1em + 12px);color:var(--muted)}
@media (max-width:599px){
  .faq .answer{padding:0 18px 18px 18px}
}

/* ---------- フッター ---------- */
.site-footer{background:var(--ink);color:#e9e4d6;padding:52px 0 26px}
.footer-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:30px}
.footer-brand{font-family:var(--serif);font-size:24px;letter-spacing:.1em;margin-bottom:10px}
.footer-title{font-size:12px;letter-spacing:.24em;color:#c9d6bf;margin-bottom:6px}
.site-footer address,.site-footer .footer-list{font-size:15px;line-height:1.9}
.footer-nav a{display:flex;align-items:center;min-height:44px;text-decoration:none;font-size:15px}
.footer-nav a:hover{text-decoration:underline;text-underline-offset:4px}
.site-footer :focus-visible{outline-color:#fff}
.copy{margin-top:36px;padding-top:20px;border-top:1px solid rgba(233,228,214,.25);font-size:12px;line-height:1.8;color:#cfc9b9}
@media (min-width:800px){
  .footer-grid{grid-template-columns:1.3fr 1fr 1fr;gap:48px}
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important}
}
