/* Final shared typography, icons and mobile reading rhythm. */
.ui-icon { display: inline-block; width: 24px; height: 24px; flex: 0 0 auto; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card-icon { display: block; width: 38px; height: 38px; padding: 7px; margin-bottom: 13px; border: 1px solid #cbd7cd; border-radius: 8px; color: var(--green-700); background: #f1f5f0; }
.course-en { display: flex; align-items: center; gap: 10px; }
.course-en .ui-icon { width: 21px; height: 21px; }
.promise-icon { display: block; width: 35px; height: 35px; margin-bottom: 16px; color: #c9d2bd; }
.benefit-number { display: flex; align-items: center; gap: 12px; }
.benefit-icon { width: 30px; height: 30px; color: #d8d0b9; }
.policy-number { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.policy-icon { width: 34px; height: 34px; }
.legal-icon { width: 29px; height: 29px; }
.interview-category button { gap: 14px; }
.interview-category button > span:first-of-type { font-size: 16px; font-weight: 500; margin-right: auto; }
.filter-icon { width: 24px; height: 24px; }
.mobile-bottom a { display: flex; align-items: center; justify-content: center; gap: 9px; }
.mobile-bottom .ui-icon { width: 20px; height: 20px; }
main :is(h1,h2,h3,p,dd,a), .footer-brand strong { overflow-wrap: break-word; }
main :is(.container,article,section,figure), .footer-inner > * { min-width: 0; }
button, input, select, textarea { touch-action: manipulation; }
.button { max-width: 100%; white-space: normal; }
.final-sub-actions a, .footer-nav a { padding-block: 10px; }
.footer-nav a { line-height: 1.8; }
.interview-card-student, .interview-card-meta { font-size: 14px; }
.interview-card-action { font-size: 14px; }
.interview-featured-bottom { font-size: 14px; }
.interview-featured-bottom small { font-size: 12px; }
.interview-dialog-toolbar > span, .interview-featured-label, .interview-results-bar > span { font-size: 12px; letter-spacing: .08em; }
.privacy-aside a { font-size: 14px; }
.inquiry-review .inquiry-transfer-note { font-size: 14px; }
.inquiry-field :is(input,select,textarea) { font-size: max(16px,1rem); }
@media (max-width: 1100px) and (min-width: 761px) {
  .footer-inner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 35px; }
  .footer-instagram { grid-column: 1/-1; }
}
@media (max-width: 760px) {
  body { font-size: 16px; line-height: 1.95; letter-spacing: .025em; padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  body.menu-open, body.interview-open { padding-bottom: 0; }
  body .container, .legal-page .container, .inquiry-page .container, .interviews-page .container { width: calc(100% - 40px); }
  .section { padding-block: 68px; }
  .section-heading h2, .voices-heading h2, .cm-copy h2 { font-size: clamp(28px,7.5vw,36px); line-height: 1.6; }
  .section-heading, .section-heading-row { margin-bottom: 32px; }
  .hero-copy { padding: 32px 20px 38px; }
  .hero h1 { font-size: clamp(32px,8.7vw,42px); }
  .hero-lead, .hero-status { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero-actions .text-link { align-self: center; }
  .hero-facts { display: flex; flex-wrap: wrap; gap: 14px; }
  .hero-facts div { margin: 0; padding-right: 14px; }
  .hero-facts dt { font-size: 27px; }
  .hero-facts dd { font-size: 12px; }
  .hero-marquee { letter-spacing: .1em; }
  .course-mast-copy>.mast-en { position: static; margin: 22px 0; font-size: 28px; line-height: 1.3; opacity: .75; }
  .course-mast-copy>p:last-of-type { max-width: none; }
  .shared-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .shared-photo { height: auto; aspect-ratio: 16/10; }
  .shared-card h3 { font-size: 21px; line-height: 1.7; }
  .shared-card > p { font-size: 16px; line-height: 2; }
  .directory-grid { grid-template-columns: minmax(0,1fr); }
  .directory-item { padding: 24px; border-left: 1px solid #ffffff30; }
  .directory-item strong { font-size: 20px; line-height: 1.7; }
  .course-jump > .container { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; overflow: visible; }
  .course-jump { position: static; }
  .course-jump a { min-width: 0; white-space: normal; font-size: 14px; line-height: 1.6; padding: 15px 12px; gap: 8px; }
  .course-jump a > b { margin-left: auto; }
  .detail-heading { gap: 13px; }
  .detail-no { font-size: 32px; }
  .detail-heading h2 { font-size: 25px; line-height: 1.6; }
  .detail-spec > div { grid-template-columns: minmax(0,1fr); gap: 6px; padding-block: 17px; }
  .detail-spec dt { font-size: 14px; }
  .detail-spec dd { font-size: 16px; }
  .price-meta, .price-notes { font-size: 14px; }
  .detail-action .button { min-width: 0; font-size: 15px; padding-inline: 15px; }
  .campaign-title h1 { font-size: clamp(29px,7.9vw,40px); line-height: 1.65; }
  .campaign-title > p, .privacy-title-note > p:first-child { font-size: 16px; }
  .anniversary-copy h2 { font-size: clamp(32px,8.5vw,42px); }
  .campaign-label { flex-wrap: wrap; font-size: 12px; line-height: 1.8; }
  .anniversary-benefit .offer-value { justify-content: flex-start; margin-top: 18px; flex-wrap: wrap; }
  .anniversary-benefit .offer-value strong { font-size: 64px; }
  .benefit-offer { grid-template-columns: minmax(0,1fr); }
  .benefit-content h3 { font-size: 23px; line-height: 1.7; }
  .campaign-meta > div, .anniversary-bottom dl > div { grid-template-columns: minmax(0,1fr); gap: 6px; }
  .privacy-aside nav { grid-template-columns: minmax(0,1fr); }
  .privacy-aside a:nth-child(odd) { border-right: 0; }
  .privacy-aside a { font-size: 14px; min-height: 50px; padding: 13px 8px; }
  .policy-number { flex-direction: row; align-items: center; gap: 13px; font-size: 16px; }
  .policy-item { padding-block: 30px; gap: 16px; }
  .policy-item h2 { font-size: 21px; line-height: 1.8; }
  .philosophy-title h1 { font-size: clamp(29px,7.5vw,38px); }
  .belief-nav { grid-template-columns: minmax(0,1fr); gap: 0; }
  .principal-message h3 { font-size: 25px; }
  .interview-category button { padding: 14px 12px; gap: 8px; }
  .interview-category button > span:first-of-type { font-size: 15px; }
  .interview-category button small { font-size: 12px; letter-spacing: 0; }
  .interview-category-count { display: none; }
  .interview-featured blockquote { font-size: 16px; }
  .interview-featured { display: block; position: relative; inset: auto; margin: -30px 12px 0; }
  .interview-hero-photo { height: 280px; }
  .interview-hero-visual { padding-bottom: 0; }
  .interview-dialog-toolbar > span { max-width: 180px; line-height: 1.5; }
  .inquiry-aside h2 br { display: none; }
  .inquiry-field label { font-size: 15px; }
  .inquiry-submit { font-size: 16px; }
  .legal-section-heading { gap: 13px; }
  .legal-refund-formula p > span { display: inline; }
  .final-cta { padding-block: 64px; }
  .final-cta h2 { font-size: clamp(28px,7.5vw,36px); }
  .final-cta .button { width: 100%; font-size: 15px; padding-inline: 14px; }
  .final-sub-actions { flex-wrap: wrap; gap: 10px 22px; }
  .final-sub-actions a { font-size: 14px; }
  .footer-inner { grid-template-columns: minmax(0,1fr); gap: 30px; padding-block: 48px 28px; }
  .footer-brand strong { font-size: 16px; }
  .footer-brand img { width: 68px; height: 38px; }
  .footer-nav { gap: 2px 20px; }
  .footer-nav a { min-height: 44px; font-size: 14px; }
  .mobile-bottom { bottom: 0; height: auto; min-height: calc(68px + env(safe-area-inset-bottom)); padding: 10px max(12px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); }
  .mobile-bottom a { min-height: 48px; font-size: 14px; gap: 7px; padding-inline: 9px; }
  .mobile-bottom .ui-icon { width: 18px; height: 18px; }
}
@media (max-width: 360px) {
  body .container, .legal-page .container, .inquiry-page .container, .interviews-page .container { width: calc(100% - 32px); }
  .course-jump a { padding-inline: 10px; }
  .interview-category button { flex-wrap: wrap; }
  .filter-icon { width: 20px; height: 20px; }
  .mobile-bottom a { font-size: 13px; padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
