/* studio For me 見本：障子紙・畳・い草・黒板の色 */
:root{
  --paper:#f6f5ef;   /* 障子紙 */
  --tatami:#e6e0c8;  /* 畳 */
  --igusa:#66733f;   /* い草 */
  --igusa-d:#4f5a2f;
  --sumi:#33312b;    /* 墨 */
  --sub:#6a675d;
  --line:#dcd6c2;
  --board:#38463c;   /* 黒板 */
  --board-d:#2f3b33;
  --chalk:#f1efe4;
  --chalk-sub:#c9cdbf;
  --line-green:#06c755;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--sumi);
  font-family:"Zen Maru Gothic",sans-serif;font-size:17px;line-height:1.95;letter-spacing:.03em;
  padding-bottom:76px;word-break:auto-phrase;line-break:strict;-webkit-text-size-adjust:100%}
img{max-width:100%;height:auto;display:block}
a{color:var(--igusa-d)}
:focus-visible{outline:3px solid var(--igusa);outline-offset:3px;border-radius:4px}
.ph{display:inline-block}
h1,h2,h3,.hand{font-family:"Klee One",serif;font-weight:600;line-height:1.5;letter-spacing:.05em;margin:0;text-wrap:balance}
h2{font-size:clamp(26px,4vw,36px)}
h3{font-size:21px}
p{margin:0 0 1em}

.sample{background:var(--tatami);color:var(--sub);font-size:12.5px;text-align:center;padding:6px 16px;line-height:1.6}

/* ヘッダー */
header{position:sticky;top:0;z-index:30;background:#f6f5efee;backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
header .in{max-width:1120px;margin:0 auto;padding:8px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
header .logo img{height:50px;width:auto;mix-blend-mode:multiply}
header nav{display:flex;align-items:center;gap:22px;font-size:14.5px}
header nav a{color:var(--sumi);text-decoration:none}
header nav a:hover{color:var(--igusa)}
header nav .lang{border:1px solid var(--line);border-radius:6px;padding:2px 10px;font-size:13px}
@media(max-width:900px){header nav a:not(.lang){display:none}header .in{padding:6px 16px}header .logo img{height:42px}}

.wrap{max-width:1120px;margin:0 auto;padding:0 24px}
@media(max-width:600px){.wrap{padding-left:22px;padding-right:22px}}
section{padding:104px 0}
@media(max-width:760px){section{padding:68px 0}}
.lead{color:var(--sub);max-width:34em}
.sec-head{margin-bottom:44px}
.sec-head h2{margin-bottom:14px}

/* ヒーロー：写真は横幅いっぱい */
.hero img{width:100%;height:min(78vh,780px);object-fit:cover;object-position:center 60%}
@media(max-width:760px){.hero img{height:62vw;min-height:260px}}
.hero-copy{padding-top:64px;padding-bottom:24px}
.hero-copy .place{font-size:15px;color:var(--igusa-d);margin-bottom:18px}
.hero-copy h1{font-size:clamp(30px,5.4vw,58px);font-weight:600}
.hero-copy p{margin-top:26px;max-width:30em;color:var(--sub)}
.facts{display:flex;flex-wrap:wrap;gap:10px 28px;margin-top:34px;padding:0;list-style:none;font-size:15px}
.facts li{border-left:3px solid var(--igusa);padding-left:12px;line-height:1.6}
.facts b{display:block;font-family:"Klee One",serif;font-size:20px}
@media(max-width:600px){
  .facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-size:12.5px;text-align:center}
  .facts li{border:0;padding:14px 4px;background:#fff;border:1px solid var(--line);border-radius:8px;display:flex;flex-direction:column;justify-content:center}
  .facts b{font-size:16px;line-height:1.4;margin-bottom:2px}
  .cta-row .btn{width:100%}
}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:38px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:10px 26px;border-radius:999px;text-decoration:none;font-weight:700;font-size:16px;border:0;cursor:pointer}
.btn-main{background:var(--igusa);color:#fff}
.btn-main:hover{background:var(--igusa-d)}
.btn-line{background:var(--line-green);color:#fff}
.btn-ghost{background:transparent;color:var(--sumi);border:1.5px solid var(--sumi)}
.btn-chalk{background:var(--chalk);color:var(--board-d)}

/* For meについて */
.about-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:64px;align-items:start}
.about-photos{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.about-photos img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:4px}
.about-photos img:first-child{grid-column:1/3;aspect-ratio:4/3}
.points{margin-top:36px}
.point{padding:22px 0;border-top:1px solid var(--line)}
.point h3{margin-bottom:6px}
.point p{margin:0;color:var(--sub)}
@media(max-width:860px){.about-grid{grid-template-columns:1fr;gap:40px}.about-photos{grid-template-columns:1fr 1fr 1fr}.about-photos img,.about-photos img:first-child{grid-column:auto;aspect-ratio:1/1}}

/* 黒板：週間スケジュール */
.board-sec{background:var(--tatami)}
.board{background:var(--board);color:var(--chalk);border-radius:6px;padding:44px 40px 36px;
  box-shadow:inset 0 0 0 10px #6f5a3f, inset 0 0 0 12px #5b4932, inset 0 0 80px #00000033;
  background-image:radial-gradient(ellipse at 30% 20%,#ffffff0d,transparent 60%),radial-gradient(ellipse at 80% 90%,#ffffff08,transparent 50%)}
.board h2{color:var(--chalk);font-weight:400}
.board .note{color:var(--chalk-sub);font-size:15px;margin:10px 0 30px}
.week{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;border-top:1px dashed #f1efe455}
.day{padding:14px 12px 18px;border-right:1px dashed #f1efe455}
.day:last-child{border-right:0}
.day .dname{font-family:"Klee One",serif;font-size:22px;text-align:center;padding-bottom:10px;margin-bottom:12px;border-bottom:1px dashed #f1efe455}
.slot{display:block;width:100%;text-align:left;background:transparent;border:0;color:inherit;font:inherit;padding:10px 6px;border-radius:6px;cursor:pointer;text-decoration:none;line-height:1.55}
.slot:hover{background:#ffffff12}
.slot .t{font-family:"Klee One",serif;font-size:17px;color:#e9dc9a}
.slot .c{display:block;font-family:"Klee One",serif;font-size:16.5px;letter-spacing:0;margin:2px 0}
.slot .w{display:block;font-size:13px;color:var(--chalk-sub)}
.slot.evening .t{color:#b9d3e6}
.board-foot{display:flex;flex-wrap:wrap;gap:16px 28px;align-items:center;justify-content:space-between;margin-top:30px;padding-top:24px;border-top:1px dashed #f1efe455}
.board-foot p{margin:0;font-size:15px;color:var(--chalk-sub);max-width:34em}
.board-foot b{color:var(--chalk);font-weight:500}
@media(max-width:900px){
  .board{padding:30px 18px 26px;box-shadow:inset 0 0 0 7px #6f5a3f, inset 0 0 0 9px #5b4932, inset 0 0 60px #00000033}
  .week{grid-template-columns:1fr}
  .day{display:grid;grid-template-columns:52px 1fr;gap:6px;align-items:start;border-right:0;border-bottom:1px dashed #f1efe455;padding:10px 4px}
  .day .dname{border:0;margin:0;padding:8px 0 0;text-align:left}
  .board-foot .btn{width:100%}
}
.rules{margin-top:22px;font-size:14.5px;color:var(--sub)}

/* クラス内容 */
.classes{margin-top:72px}
.classes h3.list-h{font-size:24px;margin-bottom:18px}
.cls{border-top:1px solid var(--line);scroll-margin-top:90px}
.cls:last-child{border-bottom:1px solid var(--line)}
.cls summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:150px 1fr auto;gap:16px;align-items:center;padding:18px 4px}
.cls summary::-webkit-details-marker{display:none}
.cls summary .when{font-size:14.5px;color:var(--igusa-d);font-weight:700}
.cls summary .name{font-family:"Klee One",serif;font-size:19px;font-weight:600;line-height:1.5}
.cls summary .name small{display:block;font-family:"Zen Maru Gothic",sans-serif;font-size:13.5px;font-weight:400;color:var(--sub)}
.cls summary .plus{width:28px;height:28px;border-radius:50%;border:1.5px solid var(--sumi);display:grid;place-items:center;font-size:18px;line-height:1;transition:transform .2s}
.cls[open] summary .plus{transform:rotate(45deg)}
.cls .body{padding:0 4px 26px 170px;color:var(--sub);max-width:900px}
.cls .body ul{margin:0 0 1em;padding-left:1.2em}
.cls .body a{font-weight:700}
.cls.paused summary .name{color:var(--sub)}
@media(max-width:700px){.cls summary{grid-template-columns:1fr auto}.cls summary .when{grid-column:1/2}.cls summary .name{grid-column:1/2}.cls summary .plus{grid-row:1/3;grid-column:2}.cls .body{padding:0 4px 24px}}
.lvl{letter-spacing:0;color:#a88d3c}

/* 初めての方へ */
.first-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.first-grid>img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px}
.qa{margin:0}
.qa dt{font-family:"Klee One",serif;font-size:19px;font-weight:600;margin-top:26px}
.qa dt:first-child{margin-top:0}
.qa dd{margin:6px 0 0;color:var(--sub)}
.trial{margin-top:56px;background:#fff;border:1px solid var(--line);border-radius:6px;padding:36px;display:grid;grid-template-columns:1fr auto;gap:24px 40px;align-items:center}
.trial .price{font-family:"Klee One",serif;font-size:40px;line-height:1.2}
.trial .price small{font-size:17px}
.trial p{margin:6px 0 0;color:var(--sub);font-size:15.5px}
@media(max-width:860px){.first-grid{grid-template-columns:1fr;gap:36px}.trial{grid-template-columns:1fr;padding:26px 20px}.trial .btn{width:100%}}

/* 料金 */
.price-sec{background:#fff}
.ptable{width:100%;border-collapse:collapse;font-size:16px}
.ptable th,.ptable td{text-align:left;padding:16px 10px;border-bottom:1px solid var(--line);vertical-align:top}
.ptable th{font-weight:500}
.ptable th small,.ptable td small{display:block;color:var(--sub);font-size:13.5px;font-weight:400;line-height:1.6}
.ptable td{white-space:nowrap;text-align:right}
.ptable .group td,.ptable .group th{background:var(--paper);font-family:"Klee One",serif;font-weight:600;font-size:17px;padding:12px 10px}
.ptable .num{font-family:"Klee One",serif;font-size:19px;font-weight:600}
.price-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:56px}
.personal{background:var(--paper);border-radius:6px;padding:32px}
.personal h3{margin-bottom:12px}
.personal .num{font-family:"Klee One",serif;font-size:26px}
.personal p{color:var(--sub);font-size:15.5px}
.small-notes{margin-top:22px;padding-left:1.2em;color:var(--sub);font-size:14.5px}
@media(max-width:860px){.price-grid{grid-template-columns:1fr;gap:40px}.ptable td{white-space:normal}}

/* 先生紹介 */
.teachers{display:grid;grid-template-columns:repeat(3,1fr);gap:48px 32px}
.teacher img{width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center 30%;border-radius:4px;background:var(--tatami)}
.teacher h3{margin-top:16px;font-size:24px}
.teacher .role{font-size:14px;color:var(--igusa-d);font-weight:700;margin:2px 0 8px;line-height:1.6}
.teacher p{color:var(--sub);font-size:15.5px;margin:0}
.teacher details{margin-top:10px;font-size:15px}
.teacher summary{cursor:pointer;color:var(--igusa-d);font-weight:700}
.teacher details div{color:var(--sub);padding-top:8px}
.teacher details ul{padding-left:1.2em;margin:.3em 0 0}
.teacher.rest{opacity:.75}
@media(max-width:900px){.teachers{grid-template-columns:1fr 1fr;gap:40px 18px}}
@media(max-width:520px){.teachers{grid-template-columns:1fr}}

/* アクセス */
.access-sec{background:var(--tatami)}
.access-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:48px;align-items:start}
.access-grid dl{margin:0}
.access-grid dt{font-weight:700;margin-top:18px;color:var(--igusa-d);font-size:15px}
.access-grid dd{margin:2px 0 0}
.map{width:100%;aspect-ratio:4/3;border:0;border-radius:6px;background:#ddd}
.landmarks{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}
.landmarks figure{margin:0}
.landmarks img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px}
.landmarks figcaption{font-size:13.5px;color:var(--sub);margin-top:6px;line-height:1.6}
@media(max-width:860px){.access-grid{grid-template-columns:1fr}}

/* お問い合わせ */
.contact-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.ccard{border:1px solid var(--line);border-radius:6px;padding:30px;background:#fff}
.ccard h3{margin-bottom:8px}
.ccard p{color:var(--sub);font-size:15.5px}
@media(max-width:760px){.contact-grid{grid-template-columns:1fr}}

footer{background:var(--board-d);color:var(--chalk-sub);padding:48px 0 40px;font-size:14px}
footer .in{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px}
footer a{color:var(--chalk)}
footer .name{font-family:"Klee One",serif;color:var(--chalk);font-size:20px}

/* 下の固定ボタン（Cloudflareなので bottom:0） */
.fixbar{position:fixed;left:0;right:0;bottom:0;z-index:40;background:#f6f5eff2;backdrop-filter:blur(10px);border-top:1px solid var(--line);padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
.fixbar .in{max-width:640px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr;gap:10px}
.fixbar .btn{min-height:48px;padding:8px 12px;font-size:15px}

/* consent page */
.doc{max-width:760px;margin:0 auto;padding:72px 24px}
.doc h1{font-size:clamp(26px,4vw,34px);margin-bottom:20px}
.doc ul{padding-left:1.2em}
.doc li{margin-bottom:.8em}

/* スマホで文字が詰まって見えないように */
@media(max-width:600px){
  body{font-size:16px;line-height:1.95;letter-spacing:.02em}
  .hero-copy{padding-top:44px}
  .hero-copy h1{font-size:29px;line-height:1.6}
  .hero-copy p{margin-top:20px}
  h2{font-size:25px;line-height:1.6}
  .sec-head{margin-bottom:32px}
  .lead,.point p,.qa dd,.teacher p,.personal p,.ccard p,.cls .body{font-size:15.5px;line-height:2}
  .point{padding:20px 0}
  .board{padding:28px 16px 22px}
  .ptable th,.ptable td{padding:14px 6px}
  .personal{padding:26px 20px}
  .ccard{padding:24px 20px}
}

/* Instagram */
.ig-sec{background:#fff}
.ig{display:grid;grid-template-columns:1fr auto;gap:28px 48px;align-items:center;border:1px solid var(--line);border-radius:10px;padding:40px;background:var(--paper)}
.ig h2{margin-bottom:10px}
.ig p{color:var(--sub);margin:0}
.ig .handle{font-family:"Klee One",serif;font-size:18px;color:var(--sumi);margin-top:8px}
.btn-ig{background:linear-gradient(45deg,#f9b54b,#e5397a 55%,#7a4fd3);color:#fff}
.ig-photos{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px;grid-column:1/-1}
.ig-photos img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:4px}
@media(max-width:760px){.ig{grid-template-columns:1fr;padding:28px 20px}.ig .btn{width:100%}}
