/* =========================================================
   FELICE — Public / Member / Shop stylesheet
   ネイビー × ゴールド × ホワイト（チラシデザイン準拠）
   ========================================================= */
:root {
  --navy: #18214d;
  --navy-2: #233066;
  --navy-soft: #e8eaf3;
  --gold: #c8952f;
  --gold-2: #e0b55a;
  --gold-soft: #f6ead0;
  --gold-pale: #fcf6e8;
  --cream: #fbf9f4;
  --white: #fff;
  --ink: #1d2340;
  --muted: #5d6380;
  --line: #e6e1d4;
  --danger: #c0392b;
  --success: #2e7d5b;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(24, 33, 77, .08);
  --ff-base: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  --ff-hand: "Klee One", "Zen Maru Gothic", cursive;
  --ff-script: "Yellowtail", cursive;
  --ff-en: "Oswald", "Zen Maru Gothic", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ff-base); font-weight: 500; color: var(--ink);
  background: var(--white); line-height: 1.85; letter-spacing: .03em; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .6em; font-weight: 900; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 999; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 900px; }
.center { text-align: center; }
.note { font-size: .85rem; color: var(--muted); }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -.22em; }
.icon-xs { width: .9em; height: .9em; margin-left: .2em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .2s, color .2s, box-shadow .2s; line-height: 1.4; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 4px 0 #0c1233; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #fff; box-shadow: 0 4px 0 #9c7020; }
.btn-gold:hover { color: #fff; filter: brightness(1.05); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-insta { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); color: #fff; }
.btn-insta:hover { color: #fff; }
.btn-danger { background: #fff; color: var(--danger); border-color: #f0c4be; }
.btn-sm { padding: .45em 1.1em; font-size: .85rem; }
.btn-lg { padding: .95em 2em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.badge { display: inline-block; padding: .1em .75em; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--navy-soft); color: var(--navy); white-space: nowrap; line-height: 1.7; }
.badge-gold { background: var(--gold-soft); color: #8a6214; }
.badge-navy { background: var(--navy); color: #fff; }
.badge-green { background: #def3e9; color: var(--success); }
.badge-red { background: #fbe3e0; color: var(--danger); }
.badge-gray { background: #eee; color: #666; }

/* ---------- Flash ---------- */
.flash-wrap { padding-top: 16px; }
.flash { padding: 12px 18px; border-radius: 10px; margin-bottom: 10px; font-weight: 700; border-left: 5px solid; }
.flash-success { background: #e9f6ef; border-color: var(--success); color: #1d5a3f; }
.flash-error { background: #fdecea; border-color: var(--danger); color: #8f2a1f; }
.flash-info { background: var(--gold-pale); border-color: var(--gold); color: #6b4c10; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; max-width: 1240px; margin: 0 auto; padding: 0 20px; height: var(--header-h); }
.brand img { height: 56px; width: auto; }
.global-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.global-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.global-nav ul a {
  display: flex; flex-direction: column; align-items: center; padding: 6px 10px; text-decoration: none;
  color: var(--navy); font-size: .84rem; font-weight: 700; line-height: 1.3; border-radius: 10px;
}
.global-nav ul a .en { font-family: var(--ff-script); color: var(--gold); font-size: .95rem; font-weight: 400; letter-spacing: .02em; }
.global-nav ul a:hover, .global-nav ul a[aria-current] { background: var(--gold-pale); }
.cart-link { position: relative; color: var(--navy); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.cart-link:hover { background: var(--gold-pale); }
.cart-link .icon { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 2px; right: 0; background: var(--gold); color: #fff; font-size: .7rem; min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; padding: 0 4px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1080px) {
  .site-header { backdrop-filter: none; background: #fff; }
  .nav-toggle { display: grid; place-items: center; }
  .cart-link { margin-left: auto; }
  .global-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 20px; gap: 16px; transform: translateX(100%); transition: transform .3s, visibility .3s; overflow-y: auto; margin: 0; visibility: hidden;
  }
  .global-nav ul { flex-direction: column; }
  .global-nav ul a { flex-direction: row; gap: 14px; justify-content: flex-start; padding: 12px 8px; font-size: 1rem; border-bottom: 1px dashed var(--line); border-radius: 0; }
  .global-nav ul a .en { width: 5.5em; }
  .nav-actions .btn { width: 100%; }
  body.nav-open .global-nav { transform: none; visibility: visible; }
  body.nav-open .nav-toggle .icon-open { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) { .brand img { height: 44px; } }

/* ---------- Decorative typography ---------- */
.script, .script-gold { font-family: var(--ff-script); font-weight: 400; letter-spacing: 0; }
.script-gold { color: var(--gold-2); }
.hand { font-family: var(--ff-hand); }

.section { padding: 96px 0; position: relative; }
.section-title { text-align: center; margin-bottom: 48px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.section-title .stars { color: var(--gold); font-size: .9rem; letter-spacing: .6em; padding-left: .6em; }
.section-title .en { font-family: var(--ff-script); font-weight: 400; color: var(--gold); font-size: clamp(2.4rem, 6vw, 3.4rem); line-height: 1.1; letter-spacing: 0; }
.section-title .ja { font-size: clamp(1.15rem, 2.4vw, 1.4rem); color: var(--navy); letter-spacing: .12em; }
.sub-title { font-size: 1.15rem; color: var(--navy); border-left: 5px solid var(--gold); padding-left: .7em; margin: 40px 0 16px; }

.line-title {
  display: flex; align-items: center; gap: 18px; font-family: var(--ff-en); color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: .3em; margin-bottom: 48px; font-weight: 600;
}
.line-title::before, .line-title::after { content: ""; flex: 1; height: 2px; background: var(--gold); }
.line-title span { color: var(--gold); font-size: .6em; letter-spacing: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #fff; padding: 40px 0 72px; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); opacity: .5; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 24px; }
.hero-copy { text-align: center; }
.hero-logo { margin: 0 auto 8px; max-width: 520px; }
.hero-logo img { width: 100%; animation: pop-in .8s cubic-bezier(.2,1.4,.4,1) both; }
.hero-catch { font-size: clamp(1.7rem, 4.6vw, 2.8rem); color: var(--navy); margin: 0 0 6px; position: relative; display: inline-block; }
.hero-catch span { position: relative; z-index: 1; }
.hero-catch::after { content: ""; position: absolute; left: 30%; right: -2%; bottom: -2px; height: 4px; background: var(--gold); border-radius: 4px; transform: rotate(-1.2deg); }
.hero-catch::before { content: ""; position: absolute; left: -32px; top: 6px; width: 26px; height: 26px; background: linear-gradient(var(--gold),var(--gold)) 50% 0/3px 9px no-repeat, linear-gradient(var(--gold),var(--gold)) 0 60%/9px 3px no-repeat; transform: rotate(-30deg); }
.hero-recruit { font-size: clamp(2.6rem, 8vw, 4.8rem); font-weight: 900; color: var(--navy); margin: 4px 0 18px; line-height: 1.2; letter-spacing: .02em; }
.marker { background: linear-gradient(transparent 62%, var(--gold-soft) 62%, var(--gold-soft) 92%, transparent 92%); padding: 0 .1em; }
.bang { display: inline-block; transform: rotate(10deg); margin-left: .05em; }
.ribbon { position: relative; display: inline-block; margin: 0 auto 26px; }
.ribbon span {
  position: relative; z-index: 1; display: inline-block; background: var(--navy); color: #fff; font-weight: 700;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem); letter-spacing: .2em; padding: .45em 1.4em; border: 2px solid var(--gold); outline: 2px solid var(--navy);
}
.ribbon { line-height: 1.5; }
.ribbon::before, .ribbon::after { content: ""; position: absolute; top: 12px; width: 56px; height: 100%; background: #0f1638; z-index: 0; }
.ribbon::before { left: -40px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 32% 50%); }
.ribbon::after { right: -40px; clip-path: polygon(0 0, 100% 0, 68% 50%, 100% 100%, 0 100%); }
.dotted-box { border: 2px dashed var(--gold-2); border-radius: 16px; padding: 22px 20px 10px; max-width: 560px; margin: 0 auto 28px; position: relative; background: #fff; }
.dotted-box-title { position: absolute; left: 50%; top: 0; transform: translate(-50%, -55%); background: #fff; padding: 0 12px; color: var(--gold); font-weight: 900; font-size: clamp(1.05rem, 2.6vw, 1.4rem); letter-spacing: .12em; white-space: nowrap; margin: 0; }
.dotted-box p:not(.dotted-box-title) { margin: 6px 0 10px; font-size: .98rem; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-visual { position: static; align-self: stretch; }
.hero-visual img {
  position: absolute; right: 0; top: 0; height: min(100%, 860px); width: auto; max-width: 46vw; object-fit: contain; object-position: right top;
  animation: float 6s ease-in-out infinite; z-index: -1;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%), linear-gradient(to top, transparent 0, #000 14%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 22%), linear-gradient(to top, transparent 0, #000 14%); mask-composite: intersect;
}
.sparkles {
  position: absolute; inset: 0; pointer-events: none; opacity: .8; z-index: -2;
  background-image:
    radial-gradient(circle, var(--gold-2) 1.5px, transparent 2px),
    radial-gradient(circle, var(--gold) 1px, transparent 1.5px),
    radial-gradient(circle, var(--gold-2) 1px, transparent 1.5px);
  background-size: 140px 120px, 90px 70px, 210px 170px;
  background-position: 10px 20px, 40px 60px, 100px 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 50%, #000 85%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 50%, #000 85%);
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero { padding-top: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; height: 0; }
  .hero-visual img { height: 230px; max-width: none; opacity: .5; right: -30px; }
  .ribbon span { letter-spacing: .1em; padding: .45em 1em; }
  .ribbon::before { left: -22px; width: 34px; }
  .ribbon::after { right: -22px; width: 34px; }
  .hero-copy { padding-top: 24px; }
  .hero-logo { max-width: 340px; }
}
@media (prefers-reduced-motion: reduce) { .hero-visual img, .hero-logo img { animation: none; } html { scroll-behavior: auto; } }

/* ---------- News strip ---------- */
.news-strip { background: var(--navy); color: #fff; padding: 28px 0; }
.news-strip-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.news-strip-title { margin: 0; font-size: 1rem; display: flex; flex-direction: column; line-height: 1.2; }
.news-strip-title .en { font-family: var(--ff-script); font-weight: 400; color: var(--gold-2); font-size: 2rem; }
.news-strip .news-list a { color: #fff; }
.news-strip .news-list li { border-color: rgba(255,255,255,.15); }
.news-strip .link-more { color: var(--gold-2); }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px dashed var(--line); }
.news-list a { display: flex; gap: 14px; align-items: center; padding: 14px 4px; text-decoration: none; color: var(--ink); flex-wrap: wrap; }
.news-list a:hover .news-title { color: var(--gold); }
.news-list.compact a { padding: 6px 0; }
.news-list time { font-family: var(--ff-en); letter-spacing: .06em; font-size: .9rem; opacity: .85; }
.news-title { flex: 1; min-width: 12em; }
.link-more { display: inline-flex; align-items: center; gap: .3em; font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 760px) { .news-strip-inner { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- About ---------- */
.about { background: var(--cream); }
.about .lead { font-size: 1.12rem; text-align: center; line-height: 2.1; }
.about .lead strong { color: var(--gold); }
.about-body > p:not(.lead) { text-align: center; }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.point { background: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow); }
.point h3 { font-size: 1.05rem; color: var(--navy); margin: 12px 0 6px; }
.point p { font-size: .9rem; color: var(--muted); margin: 0; }
.point-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); }
.point-icon .icon { width: 28px; height: 28px; }
.instructor { display: flex; gap: 22px; align-items: center; background: #fff; border: 2px solid var(--gold-soft); border-radius: var(--radius); padding: 24px 28px; }
.instructor-badge { flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; box-shadow: inset 0 0 0 4px var(--navy), inset 0 0 0 6px var(--gold); }
.instructor-badge .icon { width: 38px; height: 38px; }
.instructor-role { margin: 0; color: var(--gold); font-weight: 700; font-size: .85rem; }
.instructor-name { font-size: 1.3rem; font-weight: 900; margin: 0 0 6px; color: var(--navy); }
.instructor p:last-child { margin: 0; font-size: .92rem; }
@media (max-width: 760px) { .about-points { grid-template-columns: 1fr; } .instructor { flex-direction: column; text-align: center; } .about .lead br { display: none; } }

/* ---------- Classes ---------- */
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.class-card { position: relative; padding: 8px 28px 30px; text-align: center; }
.class-card + .class-card { border-left: 2px dotted var(--gold-2); }
.class-name { margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; column-gap: 6px; font-weight: 400; color: var(--navy); }
.class-name .script { font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1.1; }
.class-name .script.is-gold { color: var(--gold); }
.class-prefix { font-family: var(--ff-script); font-size: 1.6rem; color: var(--navy); transform: rotate(-10deg); display: inline-block; }
.class-star { color: var(--gold); font-size: 2.6rem; line-height: 1; }
.class-kana { flex-basis: 100%; font-weight: 900; letter-spacing: .3em; font-size: 1rem; font-family: var(--ff-base); }
.ribbon-tag {
  display: inline-block; background: var(--gold); color: #fff; font-weight: 700; letter-spacing: .12em; padding: .4em 1.6em; margin: 0 0 18px;
  clip-path: polygon(3% 0, 97% 0, 100% 50%, 97% 100%, 3% 100%, 0 50%);
}
.ribbon-tag.is-navy { background: var(--navy); }
.class-time { font-family: var(--ff-en); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--navy); display: flex; align-items: center; justify-content: center; gap: 10px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 2px dotted var(--gold-2); letter-spacing: .04em; }
.class-copy { font-weight: 900; line-height: 2; color: var(--navy); }
.class-desc { font-size: .9rem; color: var(--muted); text-align: left; }
.class-deco { display: inline-grid; place-items: center; color: var(--gold); }
.class-deco .icon { width: 54px; height: 54px; stroke-width: 1.3; }
.class-meaning { font-size: .8rem; color: var(--gold); margin: 6px 0 0; font-weight: 700; }
@media (max-width: 900px) {
  .class-grid { grid-template-columns: 1fr; gap: 12px; }
  .class-card + .class-card { border-left: 0; border-top: 2px dotted var(--gold-2); padding-top: 36px; }
}

/* ---------- Lesson info ---------- */
.lesson-section { background: var(--cream); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 0; }
.info-col { padding: 0 28px; }
.info-col + .info-col { border-left: 2px solid var(--gold-soft); }
.info-head { display: flex; align-items: center; gap: 12px; font-size: 1.08rem; color: var(--navy); letter-spacing: .1em; }
.circle-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; flex-shrink: 0; }
.circle-icon .icon { width: 26px; height: 26px; }
.circle-icon.light { background: transparent; border: 2px solid #fff; width: 64px; height: 64px; }
.circle-icon.light .icon { width: 30px; height: 30px; }
.info-big { font-size: 2rem; font-weight: 900; color: var(--navy); letter-spacing: .14em; margin: 8px 0 12px; }
.info-note { font-size: .82rem; color: var(--muted); margin-bottom: .5em; }
.venue-list { list-style: none; padding: 0; margin: 0 0 12px; }
.venue-list li { padding: 5px 0 5px 1.1em; position: relative; font-weight: 700; }
.venue-list li::before { content: "●"; position: absolute; left: 0; color: var(--navy); font-size: .6em; top: 1.05em; }
.venue-list a { text-decoration: none; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 10px; align-items: center; padding: 5px 0; font-weight: 700; }
.check-list .icon { color: var(--gold); width: 1.4em; height: 1.4em; }
.timetable-wrap { max-width: 760px; margin: 40px auto 0; }
.timetable { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tt-row { display: grid; grid-template-columns: 170px 1fr 160px; gap: 10px; padding: 16px 22px; align-items: center; border-left: 8px solid var(--gold); }
.tt-row + .tt-row { border-top: 1px solid var(--line); }
.tt-ciel { border-left-color: var(--navy); }
.tt-time { font-family: var(--ff-en); font-size: 1.2rem; color: var(--navy); }
.tt-target { font-size: .85rem; color: var(--muted); text-align: right; }
@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr; padding: 8px 0; }
  .info-col { padding: 24px; }
  .info-col + .info-col { border-left: 0; border-top: 2px solid var(--gold-soft); }
  .tt-row { grid-template-columns: 1fr; gap: 0; }
  .tt-target { text-align: left; }
}

/* ---------- Fee ---------- */
.referral-home { padding-top: 56px; padding-bottom: 56px; }
.referral-campaign { margin: 28px 0; padding: clamp(18px, 4vw, 32px); border: 1px solid var(--gold-soft); border-radius: var(--radius); background: #f8f6ef; }
.referral-heading { text-align: center; }
.referral-heading .eyebrow { color: var(--gold); font-size: .78rem; letter-spacing: .12em; margin-bottom: 10px; }
.referral-heading h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); line-height: 1.5; }
.referral-benefits { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 24px; }
.referral-benefit { min-width: 0; padding: clamp(14px, 3vw, 24px); background: #fff; border-radius: 6px; border-top: 5px solid var(--navy); }
.referral-benefit h3 { font-size: 1rem; text-align: center; }
.referral-benefit-lead { font-size: .85rem; text-align: center; margin-bottom: 8px; }
.referral-amount { color: var(--navy); font-weight: 700; text-align: center; white-space: nowrap; }
.referral-amount strong { font-size: clamp(2.1rem, 5vw, 3rem); line-height: 1.3; }
.referral-amount span { display: block; font-size: 1.15rem; }
.referral-friend { border-top-color: var(--gold); text-align: center; }
.referral-friend > p:not(.referral-amount) { font-size: .85rem; }
.referral-friend .btn { white-space: normal; }
.referral-examples { width: 100%; border-collapse: collapse; font-size: .8rem; margin-top: 20px; }
.referral-examples caption { text-align: left; margin-bottom: 8px; font-weight: 700; }
.referral-examples th, .referral-examples td { padding: 9px 4px; border-bottom: 1px solid var(--line); text-align: center; }
.referral-note, .referral-conditions { font-size: .78rem; line-height: 1.8; }
.referral-note { margin: 12px 0 0; }
.referral-conditions { margin: 20px 0 0; padding-left: 1.3em; }
@media (max-width: 640px) { .referral-benefits { grid-template-columns: 1fr; } }
.fee-cards { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.fee-card { border: 2px solid var(--gold-soft); border-radius: var(--radius); padding: 26px 28px; background: #fff; }
.fee-card.main { background: var(--navy); color: #fff; border-color: var(--navy); }
.fee-card p:last-child { margin: 0; font-size: .9rem; }
.fee-label { font-weight: 700; color: var(--gold-2); margin: 0; letter-spacing: .1em; }
.fee-card:not(.main) .fee-label { color: var(--gold); }
.fee-price { font-family: var(--ff-en); font-size: 3rem; line-height: 1.2; margin: 0 0 10px; }
.fee-price small { font-family: var(--ff-base); font-size: 1rem; margin-left: 4px; }
@media (max-width: 760px) { .fee-cards { grid-template-columns: 1fr; } }

/* ---------- Tables ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table thead th { background: var(--navy); color: #fff; font-weight: 700; white-space: nowrap; }
.table tbody th { color: var(--navy); white-space: nowrap; }
.fee-table { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-width: 560px; }

/* ---------- Flow ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: flow; }
.flow li { position: relative; background: var(--cream); border-radius: var(--radius); padding: 30px 22px 22px; text-align: center; }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; border: 9px solid transparent; border-left-color: var(--gold); transform: translateY(-50%); }
.flow-num { font-family: var(--ff-en); font-size: 2.2rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 8px; }
.flow h3 { font-size: 1.05rem; color: var(--navy); }
.flow p { font-size: .88rem; color: var(--muted); margin: 0; text-align: left; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 26px; }
  .flow li:not(:last-child)::after { right: 50%; top: auto; bottom: -24px; transform: translateX(50%); border-left-color: transparent; border-top-color: var(--gold); }
}

/* ---------- Products ---------- */
.shop-teaser { background: var(--cream); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; margin-bottom: 32px; }
.product-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; position: relative; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(24,33,77,.14); color: var(--ink); }
.product-thumb { aspect-ratio: 1; background: linear-gradient(160deg, #fff, var(--gold-pale)); display: grid; place-items: center; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-name { padding: 14px 16px 2px; font-weight: 700; font-size: .95rem; line-height: 1.5; }
.product-price { padding: 0 16px 16px; font-family: var(--ff-en); color: var(--navy); font-size: 1.2rem; margin-top: auto; }
.product-price small { font-family: var(--ff-base); font-size: .7rem; color: var(--muted); }
.product-card .badge { position: absolute; top: 10px; left: 10px; }
.product-card.soldout .product-thumb { opacity: .5; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 2px solid var(--gold-soft); border-radius: 12px; margin-bottom: 12px; }
.faq summary { padding: 16px 48px 16px 20px; font-weight: 700; cursor: pointer; list-style: none; position: relative; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; font-family: var(--ff-en); color: var(--gold); margin-right: 8px; font-size: 1.1rem; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px 48px; margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; }
.footer-cta { padding: 44px 0; background: radial-gradient(circle at 15% 20%, rgba(224,181,90,.15), transparent 40%), var(--navy); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.footer-contact { display: flex; gap: 16px; align-items: center; }
.footer-contact .label { margin: 0; font-weight: 700; letter-spacing: .15em; }
.footer-contact .mail { color: #fff; font-family: var(--ff-en); letter-spacing: .04em; font-size: 1.1rem; word-break: break-all; }
.footer-script { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; text-align: center; margin: 0; transform: rotate(-6deg); }
.footer-script .heart { font-family: var(--ff-base); font-size: .7em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 40px; padding-bottom: 24px; flex-wrap: wrap; }
.footer-logo { font-family: var(--ff-en); font-size: 2rem; letter-spacing: .25em; color: var(--gold-2); margin: 0; }
.footer-brand p:last-child { font-size: .85rem; opacity: .8; }
.footer-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 6px 28px; font-size: .88rem; align-content: start; }
.footer-nav a { color: #fff; opacity: .85; text-decoration: none; }
.footer-nav a:hover { opacity: 1; color: var(--gold-2); }
.copyright { text-align: center; font-size: .75rem; opacity: .6; margin: 0; padding: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; text-decoration: none; font-size: .9rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 50; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { color: #fff; }
@media (max-width: 900px) {
  .footer-cta-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-contact { justify-content: center; text-align: left; }
  .footer-nav { grid-template-columns: repeat(2, auto); }
}

/* ---------- Sub page ---------- */
.page-head { background: var(--cream); padding: 52px 0 40px; text-align: center; position: relative; overflow: hidden; }
.page-head::before, .page-head::after { content: "★"; position: absolute; color: var(--gold-2); opacity: .5; font-size: 2rem; }
.page-head::before { left: 8%; top: 30%; }
.page-head::after { right: 10%; bottom: 20%; font-size: 1.3rem; }
.page-head .en { display: block; font-family: var(--ff-script); color: var(--gold); font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1.1; }
.page-head h1 { font-size: clamp(1.25rem, 3vw, 1.6rem); color: var(--navy); margin: 0; letter-spacing: .12em; }
.breadcrumb { font-size: .8rem; color: var(--muted); padding: 12px 0; }
.breadcrumb a { color: var(--muted); }
.page-body { padding: 48px 0 96px; }

.article { background: #fff; }
.article-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; color: var(--muted); font-family: var(--ff-en); }
.article h2 { font-size: 1.5rem; color: var(--navy); border-bottom: 3px solid var(--gold-soft); padding-bottom: 14px; }
.article-body { line-height: 2.1; }

.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.category-tabs a { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .88rem; font-weight: 700; }
.category-tabs a.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.pager a.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-row { margin-bottom: 22px; }
.form-row > label, .form-label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.req { display: inline-block; background: var(--danger); color: #fff; font-size: .7rem; padding: 0 .6em; border-radius: 4px; margin-left: 8px; vertical-align: .1em; }
.opt { display: inline-block; background: #ccc; color: #fff; font-size: .7rem; padding: 0 .6em; border-radius: 4px; margin-left: 8px; vertical-align: .1em; }
.input, .select, .textarea {
  width: 100%; font: inherit; font-weight: 500; padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-pale); }
.textarea { min-height: 150px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-group label { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border: 2px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .9rem; }
.radio-group label:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); }
.radio-group input { accent-color: var(--navy); }
.field-error { color: var(--danger); font-size: .85rem; margin: 4px 0 0; font-weight: 700; }
.has-error .input, .has-error .select, .has-error .textarea { border-color: var(--danger); }
.form-help { font-size: .82rem; color: var(--muted); margin: 4px 0 0; }
.form-actions { text-align: center; margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.confirm-table th { width: 32%; background: var(--cream); }
.hp-field { position: absolute; left: -9999px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px 18px; } }

.contact-aside { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
.contact-aside .box { background: var(--cream); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: center; }
.contact-aside .box p { margin: 0; font-size: .9rem; }
.contact-aside strong { color: var(--navy); }
@media (max-width: 640px) { .contact-aside { grid-template-columns: 1fr; } }

.done-box { text-align: center; padding: 40px 24px; }
.done-box .big-icon { width: 84px; height: 84px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: inline-grid; place-items: center; margin-bottom: 16px; }
.done-box .big-icon .icon { width: 42px; height: 42px; }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 36px; }
.shop-side h2 { font-size: .95rem; color: var(--navy); margin-bottom: 10px; }
.shop-side ul { list-style: none; padding: 0; margin: 0 0 24px; }
.shop-side li a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: .92rem; }
.shop-side li a.active, .shop-side li a:hover { background: var(--gold-pale); color: var(--navy); }
.shop-notice { background: var(--gold-pale); border-radius: 10px; padding: 14px; font-size: .82rem; }
@media (max-width: 860px) {
  .shop-layout { grid-template-columns: 1fr; gap: 16px; }
  .shop-side ul { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
  .shop-side li a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; }
}
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail .product-thumb { border-radius: var(--radius); box-shadow: var(--shadow); }
.product-detail h1 { font-size: 1.6rem; color: var(--navy); }
.detail-price { font-family: var(--ff-en); font-size: 2.2rem; color: var(--navy); margin: 0 0 18px; }
.detail-price small { font-family: var(--ff-base); font-size: .85rem; color: var(--muted); }
.qty-input { width: 100px; }
.stock-info { font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; gap: 24px; } }

.cart-table td, .cart-table th { vertical-align: middle; }
.cart-item { display: flex; gap: 14px; align-items: center; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--gold-pale); }
.cart-summary { margin-left: auto; max-width: 380px; background: var(--cream); border-radius: var(--radius); padding: 22px; margin-top: 24px; }
.cart-summary dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0 0 16px; }
.cart-summary dt { color: var(--muted); }
.cart-summary dd { margin: 0; text-align: right; font-family: var(--ff-en); }
.cart-summary .total { font-size: 1.4rem; color: var(--navy); font-weight: 700; border-top: 1px solid var(--line); padding-top: 8px; }
.steps { display: flex; justify-content: center; gap: 0; list-style: none; padding: 0; margin: 0 0 32px; counter-reset: st; }
.steps li { counter-increment: st; padding: 8px 18px; font-size: .85rem; font-weight: 700; color: var(--muted); position: relative; }
.steps li::before { content: counter(st); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: #fff; margin-right: 6px; font-size: .75rem; }
.steps li.on { color: var(--navy); }
.steps li.on::before { background: var(--gold); }
@media (max-width: 640px) {
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { border: 0; padding: 4px 0; }
  .cart-table td:first-child { grid-column: 1 / -1; }
}

/* ---------- Member area ---------- */
.member-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 40px 20px 96px; width: 100%; max-width: 1160px; margin: 0 auto; }
.member-shell > *, .member-side nav, .member-side ul, .member-main .card, .member-main form, .member-main .form-row, .member-main .form-grid > * { min-width: 0; }
.page-member { overflow-wrap: anywhere; }
.page-member .table-scroll { min-width: 0; max-width: 100%; }
.page-member .input, .page-member .select, .page-member .textarea { min-width: 0; max-width: 100%; }
.page-member .btn { max-width: 100%; white-space: normal; }
.page-member .kv { grid-template-columns: minmax(0, 9em) minmax(0, 1fr); }
.page-member .kv dd { overflow-wrap: anywhere; }
.member-menu-hint { display: none; }
.member-side { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; background: var(--navy); border-radius: var(--radius); padding: 22px 14px; color: #fff; }
.member-side .who { padding: 0 10px 16px; border-bottom: 1px solid rgba(255,255,255,.15); margin-bottom: 10px; }
.member-side .who small { color: var(--gold-2); display: block; font-family: var(--ff-en); letter-spacing: .1em; }
.member-side .who strong { font-size: 1.05rem; }
.member-side ul { list-style: none; margin: 0; padding: 0; }
.member-side a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; color: #fff; text-decoration: none; border-radius: 10px; font-weight: 700; font-size: .92rem; }
.member-side a:hover, .member-side a[aria-current] { background: rgba(255,255,255,.1); color: var(--gold-2); }
.member-main { min-width: 0; }
.member-main h1 { font-size: 1.5rem; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.member-contact-intro { font-size: .85rem; color: var(--muted); margin: 10px 0; }
.consent-document { max-height: 340px; overflow-y: auto; padding: 0 14px 0 0; border-top: 1px solid var(--line); font-size: .9rem; }
.consent-choice { display: flex !important; align-items: baseline; gap: 10px; line-height: 1.8; }
.consent-choice input { flex-shrink: 0; accent-color: var(--navy); }
.member-message-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.member-message-reply { margin-top: 24px; padding: 20px; border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0 10px 10px 0; }
.member-message-reply h3 { font-size: 1rem; overflow-wrap: anywhere; }
.member-contact-history .news-title { min-width: 0; overflow-wrap: anywhere; }
.member-header-label { font-size: .85rem; color: var(--muted); }
.member-header-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.member-header-name { font-size: .85rem; }
.member-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 20px; text-align: center; font-size: .75rem; color: var(--muted); }
.member-footer p { margin: 0; }
.member-policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-bottom: 14px; font-size: .82rem; }
.member-policy-links a { padding: 6px 0; }
@media (max-width: 640px) {
  .member-header .header-inner { gap: 10px; padding-inline: 16px; }
  .member-header-name { display: none; }
  .member-header-label { font-size: .7rem; }
  .member-header-actions .btn { padding: 9px 12px; font-size: .75rem; }
  .member-message-reply { padding: 16px; }
}
.member-main h1 .icon { color: var(--gold); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 24px; border: 1px solid #f0ece2; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2 { font-size: 1.1rem; color: var(--navy); margin: 0; display: flex; align-items: center; gap: 8px; }
.card-head h2 .icon { color: var(--gold); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; border-top: 4px solid var(--gold); }
.stat .label { font-size: .82rem; color: var(--muted); margin: 0; font-weight: 700; }
.stat .value { font-family: var(--ff-en); font-size: 1.8rem; color: var(--navy); margin: 0; line-height: 1.3; }
.stat .value small { font-family: var(--ff-base); font-size: .8rem; }
.stat.alert { border-top-color: var(--danger); }
.event-item { border: 2px solid var(--gold-soft); border-radius: 12px; padding: 18px; margin-bottom: 14px; }
.event-item h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 4px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.event-meta span { display: inline-flex; align-items: center; gap: 4px; }
.answer-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px dashed var(--line); }
.answer-row .child { font-weight: 700; min-width: 8em; }
.answer-row .input { width: auto; flex: 1; min-width: 160px; padding: 8px 12px; }
.seg { display: inline-flex; border: 2px solid var(--navy); border-radius: 999px; overflow: hidden; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 6px 14px; font-size: .85rem; font-weight: 700; }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--gold-2); }
.fee-bank { background: var(--gold-pale); border-radius: 12px; padding: 16px 18px; }
.fee-bank-info { font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; }
.empty { text-align: center; color: var(--muted); padding: 24px; }
.kv { display: grid; grid-template-columns: 9em 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--muted); font-size: .88rem; }
.kv dd { margin: 0; font-weight: 700; }
@media (max-width: 860px) {
  .member-shell { grid-template-columns: minmax(0, 1fr); padding-top: 16px; gap: 16px; }
  .member-side { position: static; padding: 10px; }
  .member-side .who { display: none; }
  .member-side ul { display: flex; overflow-x: auto; gap: 4px; }
  .member-side a { white-space: nowrap; padding: 8px 12px; font-size: .85rem; }
  .member-side ul { max-width: 100%; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .member-side li { flex: 0 0 auto; }
  .member-menu-hint { display: block; margin: 6px 4px 0; font-size: .7rem; color: #fff; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .member-shell { padding-inline: 12px; }
  .page-member .card { padding: 18px 14px; }
  .page-member .form-grid { grid-template-columns: minmax(0, 1fr); }
  .page-member .input, .page-member .select, .page-member .textarea { font-size: 16px; }
  .page-member .card-head > *, .page-member .stat, .page-member .event-meta > * { min-width: 0; }
  .page-member .news-title { min-width: 0; flex-basis: 100%; }
  .page-member .badge { max-width: 100%; white-space: normal; }
  .page-member .form-actions { flex-wrap: wrap; }
  .page-member .form-actions .btn { width: 100%; justify-content: center; }
  .page-member .answer-row .input { flex-basis: 100%; min-width: 0; width: 100%; }
  .page-member .answer-row .seg { max-width: 100%; }
  .page-member .seg span { padding-inline: 10px; }
  .page-member .kv { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .page-member .kv dd { margin-bottom: 12px; }
  .page-member .table-scroll::before { content: '表は左右にスワイプできます ↔'; display: block; position: sticky; left: 0; padding: 8px 0; font-size: .72rem; color: var(--muted); }
  .member-header .brand { flex-shrink: 0; }
  .member-header-label { min-width: 0; }
  .member-header-actions { gap: 0; flex-shrink: 0; }
}

.auth-wrap { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; padding: 56px 16px; background: var(--cream); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 36px 32px; }
.auth-card .en { font-family: var(--ff-script); color: var(--gold); font-size: 2.6rem; text-align: center; display: block; line-height: 1.1; }
.auth-card h1 { text-align: center; font-size: 1.2rem; color: var(--navy); margin-bottom: 24px; }
.auth-links { text-align: center; font-size: .88rem; margin-top: 16px; }

.prose h2 { font-size: 1.15rem; color: var(--navy); margin-top: 32px; }
.prose table { margin-bottom: 20px; }

/* 管理者による会員ページのプレビュー表示 */
.preview-bar { position: sticky; top: 0; z-index: 200; display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 8px 16px; background: #b3261e; color: #fff; font-size: .85rem; text-align: center; }
.preview-bar form { margin: 0; }
.preview-bar button { font: inherit; font-weight: 700; background: #fff; color: #b3261e; border: 0; border-radius: 999px; padding: 4px 14px; cursor: pointer; }
body:has(.preview-bar) .site-header { top: 40px; }

/* 保護者の関わり（トップページ）・運営体制について */
.parents-section { background: var(--cream); }
.parents-box { background: #fff; border: 2px solid var(--gold-soft); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 28px; text-align: center; }
.parents-box p { line-height: 2; margin: 0 0 22px; }
@media (max-width: 760px) { .parents-box { text-align: left; padding: 24px 20px; } .parents-box p br { display: none; } .parents-box .btn { width: 100%; justify-content: center; } }
.faq .faq-link { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--navy); }
.org-lead { line-height: 2.1; text-align: center; margin: 0 0 8px; }
.org-table { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.org-table tbody th { width: 7em; }
.org-notes ul { margin: 0; padding-left: 1.2em; line-height: 1.9; }
.org-notes li + li { margin-top: 8px; }
.org-notes strong { color: var(--navy); }
.org-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
@media (max-width: 640px) {
  .org-lead { text-align: left; }
  .org-lead br { display: none; }
  /* スマホでは表を役割ごとのカードに */
  .org-table, .org-table tbody, .org-table tr, .org-table th, .org-table td { display: block; width: 100%; }
  .org-table { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .org-table thead { display: none; }
  .org-table tr { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
  .org-table tbody th { width: auto; background: var(--navy); color: #fff; white-space: normal; padding: 10px 16px; }
  .org-table td { border-bottom: 1px dashed var(--line); padding: 10px 16px; }
  .org-table td:last-child { border-bottom: 0; }
  .org-table td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: 2px; }
  .org-actions .btn { width: 100%; justify-content: center; }
}

/* 講師紹介：トップページの枠（クリックで詳細へ） */
a.instructor-link { color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.instructor-link:hover, a.instructor-link:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold); }
.instructor-photo { flex-shrink: 0; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold); }
.instructor .instructor-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: .85rem; font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--gold); }
.instructor .instructor-more .icon { width: 14px; height: 14px; }
/* 講師紹介ページ */
.inst-card { display: grid; grid-template-columns: 280px 1fr; gap: 40px; background: var(--cream); border: 2px solid var(--gold-soft); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.inst-side { text-align: center; }
.inst-photo { width: 100%; max-width: 260px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); display: block; margin: 0 auto 18px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold); }
.inst-photo--none { display: grid; place-items: center; background: var(--navy); color: var(--gold-2); aspect-ratio: 1; max-width: 180px; border-radius: 50%; }
.inst-photo--none .icon { width: 64px; height: 64px; }
.inst-role { margin: 0; color: var(--gold); font-weight: 700; font-size: .85rem; }
.inst-name { margin: 2px 0 0; font-size: 1.5rem; font-weight: 900; color: var(--navy); letter-spacing: .08em; }
.inst-kana { margin: 0; font-size: .82rem; color: var(--muted); letter-spacing: .12em; }
.inst-classes { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.inst-label { display: block; font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.inst-classes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.inst-classes li { background: var(--navy); color: #fff; border-radius: 999px; padding: 3px 14px; font-size: .85rem; font-weight: 700; }
.inst-classes p { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
.inst-catch { font-size: 1.15rem; font-weight: 900; color: var(--navy); line-height: 1.8; margin: 0 0 8px; padding-left: .8em; border-left: 5px solid var(--gold); }
.inst-h { font-size: 1rem; color: var(--navy); margin: 24px 0 6px; }
.inst-h::before { content: "★"; color: var(--gold); margin-right: 6px; font-size: .85em; }
.inst-body p { margin: 0; line-height: 1.95; }
.inst-career { margin: 0; padding-left: 1.3em; line-height: 1.9; }
.inst-message { margin-top: 24px; background: #fff; border-radius: 12px; padding: 4px 20px 18px; }
.inst-btn { margin-top: 28px; }
@media (max-width: 760px) {
  .inst-card { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .inst-photo { max-width: 220px; }
  .inst-btn { width: 100%; justify-content: center; }
}
