/*
Theme Name: Fleur Piano
Theme URI: https://example.com/
Author: Lumiere Inc.
Description: フルールピアノ教室 公式テーマ。音楽で心と脳を育てる教室のためのマーケティング設計テーマ。
Version: 1.0.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: fleur-piano
*/

:root {
  --cream: #fdfaf4;
  --white: #ffffff;
  --rose: #d97c93;
  --rose-deep: #c05f79;
  --rose-pale: #f9e9ed;
  --rose-soft: #f3d3db;
  --leaf: #7a9e7e;
  --leaf-pale: #eaf1ea;
  --gold: #c9a86a;
  --ink: #4a443f;
  --ink-soft: #7c746c;
  --line: #ecdfd6;
  --shadow: 0 10px 30px rgba(120, 90, 80, .10);
  --radius: 18px;
  --font-min: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --font-got: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-got);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); text-decoration: none; transition: .25s; }
a:hover { opacity: .8; }
ul { list-style: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 250, 244, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-brand { display: flex; flex-direction: column; line-height: 1.4; }
.site-brand .tagline { font-size: 11px; color: var(--ink-soft); letter-spacing: .1em; }
.site-brand .name {
  font-family: var(--font-min); font-size: 20px; font-weight: 600; color: var(--ink);
  white-space: nowrap;
}
.site-brand .tagline { max-width: 340px; }
.site-brand .name .flower { color: var(--rose); margin-right: 4px; }
.global-nav ul { display: flex; gap: 16px; align-items: center; }
.global-nav a { color: var(--ink); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.global-nav a:hover { color: var(--rose-deep); opacity: 1; }
.nav-cta a {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: #fff !important; padding: 10px 20px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(217, 124, 147, .35);
  font-weight: 700;
}
.nav-toggle { display: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; text-align: center; font-weight: 700;
  padding: 16px 38px; border-radius: 999px; font-size: 16px;
  letter-spacing: .06em; line-height: 1.5;
}
.btn-primary {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: #fff; box-shadow: 0 6px 20px rgba(217, 124, 147, .4);
}
.btn-primary:hover { transform: translateY(-2px); opacity: 1; box-shadow: 0 10px 26px rgba(217,124,147,.5); }
.btn-line {
  background: #06c755; color: #fff;
  box-shadow: 0 6px 20px rgba(6, 199, 85, .3);
}
.btn-line:hover { transform: translateY(-2px); opacity: 1; }
.btn-ghost {
  background: #fff; color: var(--rose-deep); border: 1.5px solid var(--rose);
}
.btn small { display: block; font-size: 12px; font-weight: 500; opacity: .9; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, var(--rose-pale) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 10% 85%, var(--leaf-pale) 0%, transparent 60%),
    linear-gradient(160deg, #fffdf9 0%, var(--cream) 100%);
  padding: 64px 0 72px;
}
.hero-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.hero-copy .lead-small {
  font-size: 15px; color: var(--rose-deep); font-weight: 700; letter-spacing: .15em;
  margin-bottom: 14px;
}
.hero-copy h1 {
  font-family: var(--font-min); font-size: 38px; line-height: 1.65; font-weight: 600;
  margin-bottom: 20px;
}
.hero-copy h1 .accent { color: var(--rose-deep); }
.hero-copy .hero-sub { font-size: 16px; color: var(--ink-soft); margin-bottom: 8px; }
.hero-copy .hero-school {
  font-family: var(--font-min); font-size: 22px; letter-spacing: .12em; margin-bottom: 28px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero-badges span {
  background: #fff; border: 1px solid var(--rose-soft); color: var(--rose-deep);
  font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 999px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-photo { position: relative; }
.hero-photo img {
  border-radius: 24px; box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
}
.hero-photo::before {
  content: ""; position: absolute; inset: -14px -14px auto auto;
  width: 110px; height: 110px; z-index: 1;
  background: radial-gradient(circle at 30% 30%, var(--rose-soft), var(--rose-pale));
  border-radius: 50% 50% 50% 4px; opacity: .8;
}
.hero-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }

/* ===== Sections ===== */
.section { padding: 76px 0; }
.section-alt { background: #fff; }
.section-rose { background: linear-gradient(180deg, var(--rose-pale) 0%, #fdf3f5 100%); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .en {
  font-size: 12px; letter-spacing: .3em; color: var(--gold); font-weight: 700;
  text-transform: uppercase; display: block; margin-bottom: 8px;
}
.section-head h2 {
  font-family: var(--font-min); font-size: 30px; font-weight: 600; line-height: 1.6;
}
.section-head h2::after {
  content: ""; display: block; width: 46px; height: 3px; margin: 16px auto 0;
  background: linear-gradient(90deg, var(--rose), var(--rose-soft)); border-radius: 3px;
}
.section-head .desc { margin-top: 18px; color: var(--ink-soft); font-size: 15px; }

/* ===== Empathy ===== */
.empathy-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 780px; margin: 0 auto 36px; }
.empathy-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; font-size: 15px; display: flex; gap: 10px; align-items: baseline;
}
.empathy-list li::before { content: "❀"; color: var(--rose); flex-shrink: 0; }
.empathy-answer { text-align: center; font-family: var(--font-min); font-size: 21px; line-height: 2; }
.empathy-answer strong { color: var(--rose-deep); font-weight: 600; }

/* ===== Feature cards ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column;
}
.feature-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.feature-card .body { padding: 24px 24px 28px; flex: 1; }
.feature-card .num {
  font-family: var(--font-min); color: var(--gold); font-size: 13px; letter-spacing: .2em;
  display: block; margin-bottom: 8px;
}
.feature-card h3 {
  font-family: var(--font-min); font-size: 19px; font-weight: 600; line-height: 1.6;
  margin-bottom: 12px;
}
.feature-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ===== Courses ===== */
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 26px; position: relative; display: flex; flex-direction: column;
  border-top: 5px solid var(--rose-soft);
}
.course-card.c-nouiku { border-top-color: var(--rose); }
.course-card.c-npiano { border-top-color: var(--gold); }
.course-card.c-piano { border-top-color: var(--leaf); }
.course-card .age {
  display: inline-block; align-self: flex-start; font-size: 12.5px; font-weight: 700; color: #fff;
  background: var(--rose); border-radius: 999px; padding: 4px 14px; margin-bottom: 14px;
}
.course-card.c-npiano .age { background: var(--gold); }
.course-card.c-piano .age { background: var(--leaf); }
.course-card h3 { font-family: var(--font-min); font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.course-card .catch { font-size: 13px; color: var(--rose-deep); font-weight: 600; margin-bottom: 14px; }
.course-card p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.course-card .price {
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: 13.5px; color: var(--ink);
}
.course-card .price b { font-size: 18px; color: var(--rose-deep); font-family: var(--font-min); }
.courses-more { text-align: center; margin-top: 36px; }

/* ===== Price table ===== */
.price-table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
table.price-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.price-table th, .price-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table thead th { background: var(--rose-pale); font-family: var(--font-min); font-weight: 600; color: var(--rose-deep); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table .yen { font-weight: 700; color: var(--rose-deep); white-space: nowrap; }
.price-note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }

/* ===== Teacher ===== */
.teacher-grid { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; }
.teacher-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.teacher-name { font-family: var(--font-min); font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.teacher-name small { font-size: 13px; color: var(--ink-soft); margin-left: 10px; }
.teacher-title { font-size: 13.5px; color: var(--rose-deep); font-weight: 700; margin-bottom: 18px; }
.teacher-bio { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 18px; }
.teacher-msg {
  background: var(--rose-pale); border-radius: var(--radius); padding: 22px 26px;
  font-size: 14.5px; position: relative;
}
.teacher-msg::before {
  content: "Message"; font-family: var(--font-min); color: var(--rose); font-size: 12px;
  letter-spacing: .25em; display: block; margin-bottom: 8px;
}

/* ===== Voices ===== */
.voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.voice-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 28px;
}
.voice-card .who {
  font-size: 13px; font-weight: 700; color: var(--rose-deep); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.voice-card .who::before { content: "❀"; color: var(--rose-soft); }
.voice-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ===== Flow ===== */
.flow { counter-reset: flow; display: grid; gap: 16px; max-width: 720px; margin: 0 auto; list-style: none; padding-left: 0; }
.page-body ol.flow li { padding-left: 74px; }
.page-body ol.flow li::before { content: counter(flow, decimal-leading-zero); }
.flow li {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: 20px 24px 20px 74px; position: relative; font-size: 15px;
}
.flow li::before {
  counter-increment: flow; content: counter(flow, decimal-leading-zero);
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-min); font-size: 22px; color: var(--rose);
}
.flow li b { display: block; font-size: 16px; margin-bottom: 2px; }
.flow li span { color: var(--ink-soft); font-size: 13.5px; }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 54px 20px 58px; position: relative;
  font-weight: 700; font-size: 15.5px; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; position: absolute; left: 22px; top: 19px;
  font-family: var(--font-min); color: var(--rose); font-size: 20px;
}
.faq summary::after {
  content: "＋"; position: absolute; right: 22px; top: 20px; color: var(--rose); font-size: 18px;
}
.faq details[open] summary::after { content: "－"; }
.faq .a {
  padding: 0 26px 22px 58px; position: relative; font-size: 14.5px; color: var(--ink-soft);
}
.faq .a::before {
  content: "A"; position: absolute; left: 22px; top: -2px;
  font-family: var(--font-min); color: var(--gold); font-size: 20px;
}

/* ===== Access ===== */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.access-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.access-table { width: 100%; font-size: 14.5px; border-collapse: collapse; }
.access-table th, .access-table td { padding: 13px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.access-table th { width: 7em; color: var(--rose-deep); font-family: var(--font-min); font-weight: 600; white-space: nowrap; }

/* ===== CTA band ===== */
.cta-band {
  background:
    radial-gradient(ellipse 50% 80% at 90% 10%, rgba(255,255,255,.35) 0%, transparent 60%),
    linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: #fff; text-align: center; padding: 64px 20px;
}
.cta-band h2 { font-family: var(--font-min); font-size: 27px; font-weight: 600; line-height: 1.7; margin-bottom: 10px; }
.cta-band p { font-size: 15px; opacity: .95; margin-bottom: 28px; }
.cta-band .cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: #fff; color: var(--rose-deep); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.cta-band .price-tag {
  display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px; padding: 6px 22px; font-size: 14px; margin-bottom: 24px;
}

/* ===== Page (sub pages) ===== */
.page-header {
  background: linear-gradient(160deg, var(--rose-pale) 0%, var(--cream) 100%);
  text-align: center; padding: 54px 20px;
}
.page-header h1 { font-family: var(--font-min); font-size: 30px; font-weight: 600; }
.page-header .en { font-size: 12px; letter-spacing: .3em; color: var(--gold); font-weight: 700; text-transform: uppercase; display: block; margin-top: 8px; }
.page-body { padding: 60px 0 80px; }
.page-body h2 {
  font-family: var(--font-min); font-size: 24px; font-weight: 600; line-height: 1.6;
  margin: 52px 0 20px; padding: 0 0 12px; border-bottom: 2px solid var(--rose-soft);
}
.page-body h2:first-child { margin-top: 0; }
.page-body h3 {
  font-family: var(--font-min); font-size: 19px; font-weight: 600; margin: 36px 0 14px;
  padding-left: 14px; border-left: 4px solid var(--rose);
}
.page-body p { margin-bottom: 1.2em; }
.page-body ul { margin: 0 0 1.4em; padding-left: 0; }
.page-body ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.page-body ul li::before { content: "❀"; color: var(--rose); position: absolute; left: 0; font-size: 13px; }
.page-body img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 10px 0 24px; }
.lead-box {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 32px; margin-bottom: 36px;
}
.philosophy-quote {
  font-family: var(--font-min); font-size: 22px; text-align: center; line-height: 2.1;
  color: var(--ink); margin: 30px 0;
}
.philosophy-quote strong { color: var(--rose-deep); font-weight: 600; }

/* ===== Blog ===== */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.post-card a { color: var(--ink); display: block; }
.post-card .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--rose-pale), var(--leaf-pale)); display: flex; align-items: center; justify-content: center; font-size: 34px; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 20px 22px 24px; }
.post-card time { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: .1em; }
.post-card h3 { font-size: 15.5px; font-weight: 700; line-height: 1.7; margin-top: 6px; }
.single-meta { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .1em; margin-bottom: 18px; }

/* ===== Footer ===== */
.site-footer { background: #3d3733; color: #e8e0d8; padding: 56px 0 110px; }
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.footer-brand .name { font-family: var(--font-min); font-size: 20px; color: #fff; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; color: #bdb3aa; }
.footer-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.footer-nav a { color: #e8e0d8; font-size: 13.5px; }
.copyright { text-align: center; font-size: 12px; color: #9c928a; margin-top: 40px; }

/* ===== Mobile fixed CTA ===== */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: none; gap: 1px; box-shadow: 0 -4px 16px rgba(0,0,0,.12);
}
.mobile-cta a {
  flex: 1; text-align: center; padding: 15px 8px; font-size: 14px; font-weight: 700; color: #fff;
}
.mobile-cta .m-trial { background: linear-gradient(135deg, var(--rose), var(--rose-deep)); }
.mobile-cta .m-line { background: #06c755; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-photo { max-width: 420px; margin: 0 auto; }
  .features, .courses, .post-list { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .teacher-grid, .access-grid, .footer-inner { grid-template-columns: 1fr; }
  .teacher-grid img { max-width: 260px; margin: 0 auto; }
  .voices, .empathy-list { grid-template-columns: 1fr; }
  .global-nav { display: none; }
  .nav-toggle {
    display: block; background: none; border: none; cursor: pointer;
    font-size: 26px; color: var(--rose-deep); line-height: 1;
  }
  .global-nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: #fffdf9; border-bottom: 1px solid var(--line); padding: 18px 24px 24px;
    box-shadow: 0 14px 24px rgba(120,90,80,.12);
  }
  .global-nav.open ul { flex-direction: column; align-items: stretch; gap: 0; }
  .global-nav.open li { border-bottom: 1px solid var(--line); }
  .global-nav.open a { display: block; padding: 13px 4px; font-size: 15px; }
  .global-nav.open .nav-cta { border-bottom: none; margin-top: 14px; }
  .global-nav.open .nav-cta a { text-align: center; }
  .mobile-cta { display: flex; }
  .hero-copy h1 { font-size: 27px; }
  .hero { padding: 44px 0 52px; }
  .section { padding: 56px 0; }
  .section-head h2 { font-size: 24px; }
  .cta-band h2 { font-size: 22px; }
  body { padding-bottom: 0; }
}
