/* ============================================================
   さかおギター教室 デザイン案 v2
   palette: amber(ギター木材) × sage(和やか) × 生成り
   type: Shippori Mincho(見出し) × Noto Sans JP(本文)
   ============================================================ */
:root {
  --ink: #2d251c;
  --ink-soft: #5c5245;
  --paper: #fbf8f3;
  --mist: #f2ecdf;
  --amber: #a9682a;
  --amber-deep: #8a5320;
  --sage: #67765c;
  --sage-soft: #eef0e9;
  --line-green: #06c755;
  --card: #ffffff;
  --rule: #e5dccc;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.9;
  font-size: 15.5px;
  overflow-x: hidden;
}
figure, h1, h2, h3, h4, p, dl, dd, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ===== page load fade ===== */
body { animation: pagein .5s ease both; }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }

/* ===== header ===== */
header.site {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251,248,243,.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
header.site.scrolled { border-bottom-color: var(--rule); box-shadow: 0 4px 24px rgba(45,37,28,.06); }
.nav { display: flex; align-items: center; gap: 26px; height: 68px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: .06em; text-decoration: none; color: var(--ink); line-height: 1.3; white-space: nowrap; }
.brand small { display: block; font-family: var(--sans); font-size: 9.5px; letter-spacing: .22em; color: var(--sage); font-weight: 700; }
.nav > ul { display: flex; gap: 24px; margin-left: auto; }
.nav > ul a { text-decoration: none; color: var(--ink-soft); font-size: 13.5px; padding: 4px 0; position: relative; }
.nav > ul a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--amber); transition: right .28s ease;
}
.nav > ul a:hover::after, .nav > ul a:focus-visible::after, .nav > ul a[aria-current="page"]::after { right: 0; }
.nav > ul a[aria-current="page"] { color: var(--amber-deep); font-weight: 700; }
.cta-mini {
  background: var(--amber); color: #fff; padding: 10px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.cta-mini:hover, .cta-mini:focus-visible { background: var(--amber-deep); transform: translateY(-1px); }

/* hamburger */
.menu-btn {
  display: none; margin-left: auto; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 120;
}
.menu-btn span {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto;
  transition: transform .3s ease, opacity .3s ease;
}
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--serif); font-size: 21px; text-decoration: none; padding: 10px;
  letter-spacing: .1em;
}
.mobile-menu a[aria-current="page"] { color: var(--amber-deep); }
.mobile-menu .cta-mini { font-family: var(--sans); font-size: 15px; margin-top: 18px; padding: 14px 34px; }
@media (max-width: 900px) {
  .nav > ul, .nav .cta-mini { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 480px) { .brand { font-size: 16.5px; } }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 34px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
}
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 8px 22px rgba(169,104,42,.3); flex-direction: column; gap: 2px; line-height: 1.5; }
.btn-primary:hover { background: var(--amber-deep); }
.btn-primary small { font-weight: 500; font-size: 11.5px; opacity: .85; }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 8px 22px rgba(6,199,85,.25); }
.btn-line:hover { filter: brightness(.94); }
.btn-ghost { border: 1.5px solid var(--rule); color: var(--ink-soft); background: transparent; padding: 12px 26px; font-size: 13.5px; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-deep); }

/* ===== hero (top) ===== */
.hero { padding: 72px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; padding-bottom: 72px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 44px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; color: var(--sage); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--sage); }
.hero h1 { margin-top: 18px; }
.hero .catch {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(31px, 4.8vw, 50px); line-height: 1.42; letter-spacing: .04em; text-wrap: balance;
}
.hero .catch em { font-style: normal; color: var(--amber); }
.hero .seo-line { display: block; margin-top: 16px; font-weight: 700; font-size: 15px; color: var(--ink-soft); letter-spacing: .04em; }
.hero .lede { margin-top: 18px; color: var(--ink-soft); max-width: 30em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips span { font-size: 12px; font-weight: 700; color: var(--sage); background: var(--sage-soft); border: 1px solid #dde2d4; padding: 5px 14px; border-radius: 999px; }
.hero-photo { position: relative; }
.hero-photo .ph { border-radius: 4px 44px 4px 44px; box-shadow: 14px 16px 0 var(--mist); overflow: hidden; }
.hero-photo img { width: 100%; height: auto; transform: scale(1.02); }
.hero-photo figcaption { margin-top: 14px; font-size: 12px; color: var(--ink-soft); letter-spacing: .04em; }

/* hero entrance */
.hi { opacity: 0; transform: translateY(22px); animation: hi .8s cubic-bezier(.2,.7,.3,1) forwards; }
.hi-1 { animation-delay: .05s; } .hi-2 { animation-delay: .18s; } .hi-3 { animation-delay: .31s; }
.hi-4 { animation-delay: .44s; } .hi-5 { animation-delay: .57s; } .hi-6 { animation-delay: .3s; }
@keyframes hi { to { opacity: 1; transform: none; } }

/* marquee band */
.marquee { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); overflow: hidden; padding: 14px 0; background: var(--paper); }
.marquee .track { display: flex; gap: 48px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span {
  font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 14px;
  color: var(--sage); letter-spacing: .18em; white-space: nowrap;
}
.marquee span::after { content: "◦"; margin-left: 48px; color: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== sections ===== */
section { padding: 84px 0; }
section.alt { background: var(--mist); }
.sec-head { margin-bottom: 44px; }
.sec-head .en { font-family: Georgia, serif; font-style: italic; font-size: 13px; color: var(--amber); letter-spacing: .1em; }
.sec-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3.2vw, 33px); letter-spacing: .05em; margin-top: 8px; text-wrap: balance; }
.sec-head p { color: var(--ink-soft); margin-top: 12px; max-width: 40em; }
.sec-head.center { text-align: center; }
.sec-head.center p { margin-left: auto; margin-right: auto; }
.sec-foot { text-align: center; margin-top: 40px; }

/* page hero (sub pages) */
.page-hero { padding: 64px 0 56px; background: var(--mist); }
.page-hero .en { font-family: Georgia, serif; font-style: italic; font-size: 14px; color: var(--amber); letter-spacing: .1em; }
.page-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 4vw, 40px); letter-spacing: .06em; margin-top: 10px; }
.page-hero p { color: var(--ink-soft); margin-top: 14px; max-width: 42em; }
.crumbs { font-size: 12px; color: var(--ink-soft); margin-top: 22px; }
.crumbs a { color: var(--sage); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ===== cards ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--rule); border-radius: 8px;
  padding: 32px 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
a.card { text-decoration: none; display: block; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(45,37,28,.09); border-color: #d9cbb2; }
.card .mark { font-family: var(--serif); font-size: 27px; color: var(--amber); line-height: 1; }
.card h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin: 14px 0 10px; letter-spacing: .04em; }
.card p { font-size: 14px; color: var(--ink-soft); }
.card .more { display: inline-block; margin-top: 16px; font-size: 12.5px; color: var(--amber-deep); font-weight: 700; }

/* course cards with image */
.course-card { padding: 0; overflow: hidden; }
.course-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--sage-soft); }
.course-card .thumb img, .course-card .thumb svg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.course-card:hover .thumb img, .course-card:hover .thumb svg { transform: scale(1.05); }
.course-card .body { padding: 24px 24px 28px; }
.course-card h3 { margin-top: 0; }

/* teacher */
.teacher-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .teacher-grid { grid-template-columns: 1fr; } }
.teacher { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: 32px 30px; display: flex; gap: 24px; transition: transform .3s ease, box-shadow .3s ease; }
.teacher:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(45,37,28,.09); }
@media (max-width: 560px) { .teacher { flex-direction: column; } }
.teacher .face { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid var(--mist); }
.teacher .face img { width: 100%; height: 100%; object-fit: cover; }
.teacher h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .05em; }
.teacher .role { font-size: 12px; color: var(--amber); font-weight: 700; letter-spacing: .08em; margin-top: 2px; }
.teacher p { font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; }

/* price */
.price-card { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.price-card h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .06em; padding: 16px 26px; background: var(--sage-soft); border-bottom: 1px solid var(--rule); }
.price-card .tbl { overflow-x: auto; }
.price-card table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-card th, .price-card td { padding: 14px 26px; font-size: 14.5px; text-align: right; border-bottom: 1px solid var(--rule); }
.price-card th { font-weight: 700; color: var(--ink-soft); }
.price-card th:first-child, .price-card td:first-child { text-align: left; }
.price-card tr:last-child td { border-bottom: none; }
.price-card td strong { color: var(--amber-deep); }
.perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.perks span { background: var(--card); border: 1px solid var(--rule); border-radius: 999px; font-size: 12.5px; padding: 8px 18px; color: var(--ink-soft); }
.perks span b { color: var(--amber-deep); }

/* voice */
.voice { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: 28px 26px; }
.voice blockquote { font-family: var(--serif); font-size: 15px; line-height: 2.05; }
.voice blockquote::before { content: "“"; font-family: Georgia, serif; font-size: 34px; color: var(--amber); display: block; line-height: .6; margin-bottom: 10px; }
.voice cite { display: block; margin-top: 14px; font-style: normal; font-size: 12px; color: var(--sage); font-weight: 700; }

/* blog */
.post { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: 26px; text-decoration: none; color: var(--ink); display: block; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.post:hover { transform: translateY(-4px); border-color: var(--amber); box-shadow: 0 14px 34px rgba(45,37,28,.08); }
.post time { font-size: 12px; color: var(--sage); font-weight: 700; letter-spacing: .06em; }
.post h3 { font-size: 14.5px; font-weight: 700; margin-top: 10px; line-height: 1.8; }
.post .more { display: inline-block; margin-top: 14px; font-size: 12px; color: var(--amber-deep); font-weight: 700; }

/* news */
.news-line { display: flex; gap: 20px; align-items: baseline; border-bottom: 1px solid var(--rule); padding: 18px 4px; text-decoration: none; transition: background .2s ease; }
.news-line:hover { background: rgba(255,255,255,.6); }
.news-line time { font-size: 12.5px; color: var(--sage); font-weight: 700; white-space: nowrap; }
.news-line .tag { font-size: 11px; background: var(--sage-soft); color: var(--sage); border-radius: 999px; padding: 2px 12px; font-weight: 700; white-space: nowrap; }
.news-line p { font-size: 14px; }
@media (max-width: 620px) { .news-line { flex-wrap: wrap; gap: 8px 14px; } }

/* steps / flow */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: flex; gap: 22px; background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: 26px 28px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: Georgia, serif; font-style: italic; font-size: 26px; color: var(--amber);
  flex: 0 0 48px; line-height: 1.2;
}
.step h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.step p { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }

/* FAQ */
.faq { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; gap: 16px; align-items: baseline;
  padding: 22px 4px; font-weight: 700; font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: Georgia, serif; font-style: italic; color: var(--amber); font-size: 19px; }
.faq summary::after { content: "+"; margin-left: auto; color: var(--sage); font-size: 20px; transition: transform .25s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq .a { display: flex; gap: 16px; padding: 0 4px 24px; color: var(--ink-soft); font-size: 14px; }
.faq .a::before { content: "A"; font-family: Georgia, serif; font-style: italic; color: var(--sage); font-size: 19px; }

/* access */
.access-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .access-grid { grid-template-columns: 1fr; } }
.access dl { display: grid; grid-template-columns: 96px 1fr; gap: 14px 20px; font-size: 14.5px; }
.access dt { font-weight: 700; color: var(--sage); }
.map-frame { border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-note { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }

/* form (mock) */
.form-card { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; padding: 40px; max-width: 640px; margin: 0 auto; }
@media (max-width: 620px) { .form-card { padding: 28px 22px; } }
.form-card label { display: block; font-weight: 700; font-size: 13.5px; margin: 22px 0 8px; }
.form-card label:first-child { margin-top: 0; }
.form-card .req { color: var(--amber-deep); font-size: 11px; margin-left: 6px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--rule); border-radius: 6px;
  font: inherit; font-size: 14.5px; background: var(--paper); color: var(--ink);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2px solid var(--amber); border-color: var(--amber); }
.form-card .btn { width: 100%; margin-top: 30px; }
.form-toast { margin-top: 18px; background: var(--sage-soft); border: 1px solid #dde2d4; color: var(--sage); border-radius: 6px; padding: 12px 16px; font-size: 13px; display: none; }
.form-toast.show { display: block; }

/* mock note */
.mock-note { margin-top: 22px; font-size: 12px; color: var(--ink-soft); border: 1px dashed var(--rule); border-radius: 6px; padding: 10px 14px; background: rgba(255,255,255,.55); }

/* cta band */
.cta-band { background: var(--ink); color: #f5efe6; text-align: center; padding: 92px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: -40% -10%;
  background: radial-gradient(ellipse at 30% 60%, rgba(169,104,42,.22), transparent 55%),
              radial-gradient(ellipse at 75% 30%, rgba(103,118,92,.2), transparent 55%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(4%, 6%, 0) scale(1.06); } }
.cta-band > .wrap { position: relative; }
.cta-band .en { font-family: Georgia, serif; font-style: italic; color: #c9a06a; font-size: 13px; letter-spacing: .1em; }
.cta-band h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(25px, 3.6vw, 36px); letter-spacing: .06em; margin-top: 12px; text-wrap: balance; }
.cta-band p { color: #cfc4b2; margin-top: 16px; font-size: 14.5px; }
.cta-band .hero-ctas { justify-content: center; margin-top: 34px; }

/* footer */
footer.site { background: #241d15; color: #a99b87; padding: 56px 0 40px; font-size: 13px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 720px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site .f-brand { font-family: var(--serif); color: #e9ddc9; font-size: 18px; letter-spacing: .06em; }
footer.site .f-brand small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .2em; color: #8b7d68; margin-top: 4px; }
footer.site p { margin-top: 12px; font-size: 12.5px; }
footer.site h4 { color: #d6c7ae; font-size: 12px; letter-spacing: .14em; font-weight: 700; }
footer.site ul { margin-top: 12px; display: grid; gap: 8px; }
footer.site a { color: #bdae97; text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site .copy { border-top: 1px solid #3a3125; margin-top: 44px; padding-top: 20px; font-size: 11.5px; display: flex; flex-wrap: wrap; gap: 14px; }
footer.site .copy span:last-child { margin-left: auto; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.rv.on { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { animation: none; }
  .hi { animation: none; opacity: 1; transform: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .marquee .track { animation: none; }
  .cta-band::before { animation: none; }
  .card, .post, .teacher, .btn, .cta-mini { transition: none; }
}
