:root {
  color-scheme: light;
  --ink: #294632;
  --body: #465449;
  --cream: #fffcf1;
  --green: #416f49;
  --mint: #e1edd8;
  --yellow: #f7d968;
  --peach: #fae5d7;
  --line: #c7d2bf;
  --white: #fffef9;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; font-size: 16px; line-height: 1.9; }
body.dialog-open { overflow: hidden; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: 5px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
p { color: var(--body); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #255c43; outline-offset: 5px; }

.site-wrap {
  width: min(1184px, calc(100% - 80px));
  margin-inline: auto;
}
.site-wrap h1, .site-wrap h2, .site-wrap h3, .dialog-inner h2, .dialog-inner h3 {
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .035em;
}
.site-wrap h2 { font-size: clamp(27px, 3vw, 38px); }
.site-wrap h3 { font-size: 23px; }
.skip-link { position: fixed; top: -90px; left: 16px; z-index: 30; background: white; padding: 10px 18px; }
.skip-link:focus { top: 8px; }
.sample-bar { background: #edf0df; color: #465449; font-size: 12px; }
.sample-bar > .site-wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block: 7px; }
.sample-bar a { font-weight: 600; }
.site-header { display: flex; align-items: center; gap: 28px; min-height: 104px; }
.brand {
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  white-space: nowrap;
  color: var(--green);
}
.brand span { font-size: 17px; letter-spacing: .045em; margin-left: 8px; }
.site-header nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-weight: 700; font-size: 14px; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }

.button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 59px;
  padding: 16px 25px;
  border: 1px solid #dcc15f;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 5px 0 #c9ab43, 0 9px 17px #755d1412;
  color: #30492b;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.button:hover { background: #f4cf47; transform: translateY(-1px); box-shadow: 0 6px 0 #c9ab43, 0 11px 20px #755d141c; }
.button:active { transform: translateY(4px); box-shadow: 0 1px 0 #c9ab43; }
.button > span[aria-hidden] { font-size: 21px; font-weight: 400; line-height: 1; flex: 0 0 auto; }
.button-outline { color: var(--green); background: var(--white); border-color: #a4bea0; box-shadow: 0 5px 0 #aec5a7, 0 8px 16px #284d3210; }
.button-outline:hover { background: #f2f7ed; box-shadow: 0 6px 0 #aec5a7, 0 11px 20px #284d3218; }
.button-outline:active { box-shadow: 0 1px 0 #aec5a7; }
.button-small { font-size: 14px; min-height: 46px; padding: 11px 20px; }

.hero { padding-top: 16px; padding-bottom: 16px; }
.hero-copy { padding-inline: 28px; }
.audience { font-size: 15px; font-weight: 700; letter-spacing: .08em; margin-bottom: 12px; color: var(--green); }
.hero h1 { font-size: clamp(36px, 3.5vw, 50px); line-height: 1.5; letter-spacing: .035em; }
.hero h1 span { color: var(--green); }
.hero h1 br { display: none; }
.hero-description { margin-top: 15px; font-size: 17px; line-height: 1.85; }
.hero-actions { width: min(100%, 360px); padding-top: 25px; }
.hero-secondary { width: min(100%, 360px); margin: 22px 0 0 28px; }
.hero-photo { position: relative; margin-top: 26px; }
.hero-photo-frame { overflow: hidden; border-radius: 76px 120px 74px 115px; background: var(--mint); }
.hero-photo img { width: 100%; height: 460px; object-fit: cover; object-position: center 10%; }
.hero-photo figcaption { margin-top: 10px; padding-inline: 28px; font-size: 12px; line-height: 1.7; color: #53604f; }

.section-space { padding-block: 90px; }
.section-heading { margin-bottom: 32px; }
.section-heading p { margin-top: 14px; line-height: 1.9; }
.growth-section { padding-bottom: 48px; }
.growth-layout { display: grid; grid-template-columns: 1.08fr 1fr; align-items: stretch; gap: 42px; }
.growth-photo { overflow: hidden; border-radius: 42px 70px 38px 55px; background: var(--mint); }
.growth-photo img { width: 100%; height: 410px; object-fit: cover; object-position: center; }
.growth-photo figcaption { font-size: 12px; line-height: 1.7; padding: 10px 22px; color: #53604f; }
.growth-lessons { display: grid; align-content: center; gap: 24px; }
.growth-lessons article { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.growth-lessons article:last-child { padding-bottom: 0; border-bottom: 0; }
.growth-lessons h3 { font-size: 23px; color: var(--green); }
.growth-lessons p { margin-top: 10px; font-size: 15px; }
.classes-section { padding-top: 42px; }
.class-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.class-card { overflow: hidden; border-radius: 34px; display: flex; flex-direction: column; background: #f9eed1; }
.class-elementary { background: var(--peach); }
.class-photo img { width: 100%; height: 280px; object-fit: cover; object-position: center 15%; }
.class-photo figcaption { font-size: 12px; line-height: 1.6; padding: 8px 28px 0; color: #58604e; }
.class-content { display: flex; flex-direction: column; flex: 1; padding: 22px 30px 34px; }
.class-label { font-size: 14px; font-weight: 700; color: #506849; letter-spacing: .06em; margin-bottom: 4px; }
.class-card h3 { font-size: 30px; margin-bottom: 12px; }
.class-card p { max-width: 29em; }
.class-activities { display: flex; flex-wrap: wrap; list-style: none; gap: 8px; padding: 0; margin: 22px 0 28px; font-size: 13px; color: #415941; }
.class-activities li { padding: 4px 11px; background: #fffef9b3; border-radius: 8px; }
.class-card .button { margin-top: auto; }
.sample-note { font-size: 13px; color: #566151; line-height: 1.8; margin-top: 20px; }

.schedule-section { background: var(--mint); border-radius: 90px 90px 0 0; }
.schedule-table { padding: 12px 30px 24px; background: var(--white); border-radius: 28px; }
.schedule-table table { border-collapse: collapse; width: 100%; text-align: left; font-variant-numeric: tabular-nums; }
.schedule-table caption { text-align: left; font-size: 13px; color: #56644f; padding-block: 14px; }
.schedule-table th, .schedule-table td { padding: 22px 24px; border-top: 1px solid var(--line); vertical-align: middle; }
.schedule-table thead th { font-size: 14px; border-top: 0; padding-top: 4px; padding-bottom: 14px; }
.schedule-table tbody th { font-size: 20px; width: 36%; font-weight: 700; }
.schedule-table tbody th span { display: block; font-size: 13px; font-weight: 400; color: var(--body); margin-top: 3px; }
.schedule-table td { font-size: 25px; font-weight: 600; letter-spacing: .02em; }
.schedule-table td span { font-size: 16px; font-weight: 400; margin-left: 4px; white-space: nowrap; }
.fee-block { margin-top: 48px; }
.fee-block > p { margin-top: 12px; }
.fee-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 28px 0 0; }
.fee-list > div { background: #f8fbf2; border-radius: 20px; padding: 24px; }
.fee-list dt { font-weight: 700; margin-bottom: 8px; font-size: 17px; }
.fee-list dd { margin: 0; color: var(--body); font-size: 15px; }

.waiting-photo { overflow: hidden; border-radius: 40px; background: #ebf0de; }
.waiting-photo img { max-height: 440px; object-fit: cover; object-position: center 54%; }
.waiting-photo figcaption { font-size: 12px; padding: 12px 22px; line-height: 1.7; color: #4a5e48; }
.access-details { margin-top: 28px; max-width: 820px; }
.access-details p { margin-top: 12px; }
.flow-section { background: #f8efd3; border-radius: 90px 90px 0 0; }
.flow-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; list-style: none; margin: 0; padding: 0; }
.flow-list li { background: var(--white); border-radius: 24px; padding: 28px; }
.step-number { display: block; font-size: 28px; font-weight: 700; line-height: 1; margin-bottom: 18px; letter-spacing: .04em; color: var(--green); font-variant-numeric: tabular-nums; }
.flow-list h3 { font-size: 21px; margin-bottom: 10px; }
.flow-list p { font-size: 15px; }
.trial-section { background: var(--mint); }
.trial-section p { margin-top: 14px; }
.trial-section .button { margin-top: 28px; width: min(100%, 430px); }
.trial-section details { margin-top: 30px; font-size: 14px; }
.trial-section summary { cursor: pointer; text-decoration: underline; text-underline-offset: 5px; max-width: fit-content; }
.trial-section details p { max-width: 720px; }
.trial-section details a { display: inline-block; margin-top: 12px; }
.trial-section details:target { padding: 18px; background: var(--white); border-radius: 16px; outline: 2px solid #6d886c; }
.trial-section details:target p, .trial-section details:target a { display: block; }
.trial-section details:target:not([open]) > summary { list-style: none; }
.trial-section details:target:not([open]) > summary::after { content: " ↓ 開いてご確認ください"; font-size: 12px; }
.site-footer { padding-block: 44px 50px; }
.site-footer p { font-size: 12px; margin-top: 10px; }
.return-link { display: inline-block; margin-top: 20px; font-size: 14px; }

.dialog-open { overflow: hidden; }
dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid #adc49b; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 24px 80px #092d3150; }
dialog::backdrop { background: #253d32a6; backdrop-filter: blur(3px); }
.dialog-inner { padding: 38px 32px 36px; }
.dialog-inner h2 { font-size: 25px; padding-right: 28px; }
.dialog-inner > p { font-size: 14px; margin-top: 12px; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #edf0e2; color: var(--ink); font-size: 26px; line-height: 1; }
.dialog-notice { background: #f7edcf; border-radius: 12px; padding: 12px 14px; line-height: 1.8; }
.field { margin-top: 24px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.field label > span { font-size: 12px; margin-left: 8px; color: #73552a; }
.field select { display: block; width: 100%; min-height: 50px; padding: 10px 34px 10px 14px; border: 1px solid #7c9387; border-radius: 10px; background: white; color: var(--ink); font-size: 16px; }
.field-note { font-size: 12px; line-height: 1.8; margin-top: 8px; }
.dialog-submit { width: 100%; margin-top: 28px; }
.preview-list { margin: 24px 0; }
.preview-list > div { border-bottom: 1px solid var(--line); padding-block: 16px; }
.preview-list dt { font-size: 13px; color: var(--body); }
.preview-list dd { margin: 6px 0 0; font-size: 20px; font-weight: 700; }
.preview-note { font-size: 14px; padding: 14px; background: #f7edcf; border-radius: 12px; }
.preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.preview-actions .button { justify-content: center; font-size: 14px; padding-inline: 12px; }
#trial-preview { margin-top: 28px; }
#preview-title { font-size: 22px; scroll-margin-top: 18px; }

@media (max-width: 1080px) {
  .site-wrap { width: calc(100% - 64px); }
  .site-header { gap: 20px; }
  .site-header nav { gap: 18px; font-size: 13px; }
  .brand { font-size: 27px; }
  .brand span { font-size: 15px; }
  .hero-copy { padding-inline: 12px; }
  .hero-photo img { height: 390px; }
  .hero-secondary { margin-left: 12px; }
  .growth-layout { gap: 30px; }
  .growth-photo img { height: 440px; }
  .class-photo img { height: 230px; }
  .class-content { padding-inline: 24px; }
  .flow-list { gap: 18px; }
  .flow-list li { padding: 24px; }
  .fee-list { gap: 18px; }
  .fee-list > div { padding: 20px; }
  .schedule-table th, .schedule-table td { padding-inline: 12px; }
  .schedule-table td span { display: block; margin-left: 0; }
}

@media (max-width: 880px) and (min-width: 761px) {
  .site-header nav { display: none; }
  .site-header .button-small { margin-left: auto; }
  .hero h1 { font-size: 37px; }
  .hero-copy { padding-inline: 0; }
  .hero-secondary { margin-left: 0; }
  .growth-layout { grid-template-columns: 1fr; }
  .growth-photo img { height: 380px; }
  .growth-lessons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .growth-lessons article { border: 0; padding: 0; }
  .growth-lessons h3 { font-size: 20px; }
  .class-list { gap: 22px; }
  .class-content { padding: 20px 22px 28px; }
  .class-content p { font-size: 15px; }
  .class-content .button { font-size: 14px; padding-inline: 18px; }
  .class-activities { font-size: 12px; gap: 6px; }
  .flow-list { grid-template-columns: 1fr; }
  .flow-list li { padding: 26px; }
  .fee-list { gap: 14px; }
  .fee-list > div { padding: 18px; }
  .fee-list dt { font-size: 16px; }
}

@media (max-width: 760px) {
  .site-wrap { width: calc(100% - 40px); }
  .site-header { min-height: 83px; gap: 16px; justify-content: space-between; }
  .site-header nav { display: none; }
  .brand { font-size: 26px; }
  .brand span { font-size: 14px; margin-left: 6px; }
  .button-small { font-size: 12px; min-height: 42px; padding: 10px 13px; }
  .sample-bar > .site-wrap { padding-block: 6px; justify-content: center; line-height: 1.6; font-size: 12px; }
  .sample-bar a { display: none; }
  .hero { padding-top: 15px; padding-bottom: 0; }
  .hero-copy { padding-inline: 0; }
  .audience { font-size: 13px; letter-spacing: .035em; margin-bottom: 10px; }
  .hero h1 { font-size: clamp(28px, 8.35vw, 36px); line-height: 1.55; letter-spacing: .025em; }
  .hero h1 br { display: inline; }
  .hero-description { margin-top: 12px; font-size: 15px; line-height: 1.85; }
  .hero-actions { padding-top: 22px; width: 100%; }
  .hero-secondary { width: 100%; margin: 20px 0 0; }
  .button { min-height: 55px; font-size: 15px; padding: 15px 22px; }
  .hero-photo { margin-top: 30px; }
  .hero-photo-frame { border-radius: 38px 62px 40px 57px; }
  .hero-photo img { height: 245px; object-position: center; }
  .hero-photo figcaption { padding-inline: 4px; margin-top: 9px; font-size: 12px; }
  .section-space { padding-block: 58px; }
  .growth-section { padding-bottom: 28px; }
  .growth-layout { grid-template-columns: 1fr; gap: 28px; }
  .growth-photo { border-radius: 30px 48px 30px 42px; }
  .growth-photo img { height: 250px; }
  .growth-photo figcaption { padding: 9px 18px; }
  .growth-lessons { gap: 22px; }
  .growth-lessons article { padding-bottom: 22px; }
  .growth-lessons h3 { font-size: 23px; }
  .growth-lessons p { margin-top: 9px; }
  .classes-section { padding-top: 32px; }
  .site-wrap h2 { font-size: 27px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading p { margin-top: 12px; font-size: 15px; }
  .desktop-break { display: none; }
  .class-list { grid-template-columns: 1fr; gap: 24px; }
  .class-card { border-radius: 26px; }
  .class-photo img { height: 230px; }
  .class-photo figcaption { padding: 8px 22px 0; }
  .class-content { padding: 19px 22px 28px; }
  .class-card h3 { font-size: 28px; margin-bottom: 11px; }
  .class-card p { font-size: 15px; }
  .class-activities { margin: 20px 0 24px; gap: 6px; font-size: 12px; }
  .sample-note { font-size: 12px; }
  .schedule-section, .flow-section { border-radius: 40px 40px 0 0; }
  .schedule-table { padding: 8px 14px 12px; border-radius: 20px; }
  .schedule-table caption { font-size: 12px; }
  .schedule-table th, .schedule-table td { padding: 18px 7px; }
  .schedule-table thead th { font-size: 12px; }
  .schedule-table tbody th { font-size: 18px; width: 36%; }
  .schedule-table tbody th span { font-size: 12px; }
  .schedule-table td { font-size: 22px; }
  .schedule-table td span { font-size: 13px; }
  .fee-block { margin-top: 34px; }
  .fee-block h3 { font-size: 22px; }
  .fee-block > p { font-size: 15px; }
  .fee-list { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .fee-list > div { padding: 20px 22px; border-radius: 16px; }
  .fee-list dt { font-size: 16px; margin-bottom: 5px; }
  .waiting-photo { border-radius: 26px; }
  .waiting-photo img { height: 230px; object-position: center; }
  .waiting-photo figcaption { font-size: 12px; padding: 10px 16px; }
  .access-details { margin-top: 24px; }
  .access-details h3 { font-size: 23px; }
  .access-details p { font-size: 14px; }
  .flow-list { grid-template-columns: 1fr; gap: 18px; }
  .flow-list li { padding: 24px; border-radius: 20px; }
  .step-number { font-size: 24px; margin-bottom: 12px; }
  .flow-list h3 { font-size: 21px; margin-bottom: 8px; }
  .trial-section h2 { font-size: 27px; }
  .trial-section p { font-size: 15px; }
  .trial-section .sample-note { font-size: 12px; }
  .trial-section .button { width: 100%; margin-top: 22px; }
  .site-footer { padding-block: 32px 36px; }
  .return-link { font-size: 13px; }
  .dialog-inner { padding: 34px 22px 28px; }
  .dialog-inner h2 { font-size: 23px; }
  .dialog-inner > p { font-size: 13px; }
  .preview-actions { gap: 10px; }
  .preview-actions .button { font-size: 13px; }
}

@media (max-width: 359px) {
  .site-wrap { width: calc(100% - 32px); }
  .site-header { min-height: 74px; gap: 10px; }
  .brand { font-size: 23px; }
  .brand span { font-size: 12px; margin-left: 4px; }
  .button-small { padding: 9px 10px; font-size: 12px; min-height: 40px; gap: 8px; }
  .button-small span { font-size: 16px; }
  .hero h1 { font-size: 27px; letter-spacing: .01em; }
  .audience { font-size: 12px; }
  .hero-description { font-size: 14px; }
  .hero-photo img { height: 210px; }
  .button { font-size: 14px; padding-inline: 18px; }
  .class-photo img { height: 210px; }
  .class-content { padding-inline: 20px; }
  .class-activities { font-size: 12px; }
  .class-activities li { padding-inline: 9px; }
  .site-wrap h2 { font-size: 25px; }
  .schedule-table { padding-inline: 10px; }
  .schedule-table th, .schedule-table td { padding-inline: 5px; }
  .schedule-table td { font-size: 20px; }
  .schedule-table td span { font-size: 12px; }
  .schedule-table tbody th { font-size: 17px; }
  .trial-section h2 { font-size: 24px; }
  .dialog-inner { padding-inline: 18px; }
  .dialog-inner h2 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media (min-width: 1081px) {
  .hero-description br { display: none; }
}
