/*
Theme Name: Sumile Partners
Theme URI: https://www.sumilepartners.com/
Author: Sumile Partners
Description: 海外在住者向け結婚相談所サイト。各固定ページに専用テンプレートを割り当てて表示します。
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sumile-partners
*/
/* Design tokens: change these values to reskin every page. */
:root {
  color-scheme: light;
  --color-paper: #fcfbf8;
  --color-surface: #ffffff;
  --color-paper-overlay: rgb(235 244 251 / 80%);
  --color-surface-overlay: rgb(242 248 252 / 78%);
  --page-background-image: url("assets/sea-background.jpg");
  --color-ink: #292825;
  --color-muted: #706d67;
  --color-line: #e9e6df;
  --color-primary: #75628e;
  --color-primary-dark: #59476f;
  --color-accent: #8c789f;
  --color-accent-soft: #f0edf4;
  --color-sand: #f8f7f4;
  --color-paper-soft: #faf9f6;
  --color-white: #fff;
  --color-footer: #ffffff;
  --color-footer-text: #292825;
  --color-footer-muted: #706d67;
  --color-highlight: #75628e;
  --color-on-dark-muted: #e6e0e9;
  --color-gold: #b49a68;
  --color-hawaii-sand: #fffaf0;
  --color-cta: #f3eff8;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-display: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --content-width: 1180px;
  --header-height: 88px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-soft: 0 12px 35px rgb(41 40 37 / 8%);
  --space-section: clamp(76px, 10vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { position: relative; isolation: isolate; margin: 0; background: transparent; color: var(--color-ink); font-family: var(--font-body); font-size: 15px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
body::before { position: fixed; z-index: -1; inset: -16px; background-image: linear-gradient(rgb(225 240 250 / 78%), rgb(225 240 250 / 78%)), var(--page-background-image); background-position: center; background-size: cover; content: ""; filter: blur(12px); pointer-events: none; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-accent); }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--content-width), calc(100% - 48px)); margin-inline: auto; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--color-accent); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-heading { max-width: 720px; margin: 0 0 42px; }
.section-heading h2, .page-title h1 { margin: 12px 0; font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 42px); font-weight: 500; line-height: 1.45; letter-spacing: .04em; }
.section-heading p, .page-title p { color: var(--color-muted); }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 20px; padding: 12px 24px; border: 1px solid var(--color-primary); border-radius: 999px; background: var(--color-primary); color: var(--color-white); font-size: 13px; font-weight: 700; letter-spacing: .08em; transition: background .2s, color .2s, transform .2s; }
.button::after { content: "↗"; font-size: 15px; }
.button:hover { transform: translateY(-2px); background: var(--color-primary-dark); color: var(--color-white); }
.button-outline { background: transparent; color: var(--color-primary); }
.button-outline:hover { background: var(--color-primary); }
.button-light { border-color: rgb(255 255 255 / 65%); background: transparent; color: var(--color-white); }
.button-light:hover { background: var(--color-white); color: var(--color-primary); }
.text-link { display: inline-flex; align-items: center; gap: 14px; color: var(--color-primary); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.text-link::after { content: "→"; font-size: 18px; transition: transform .2s; }
.text-link:hover::after { transform: translateX(4px); }

/* Header and footer are intentionally repeated in each HTML document for static hosting. */
.site-header { position: relative; z-index: 5; min-height: var(--header-height); border-bottom: 1px solid var(--color-line); background: var(--color-white); }
.header-inner { display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { display: block; width: 156px; height: 78px; object-fit: contain; object-position: left center; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--color-accent); border-radius: 50%; color: var(--color-accent); font-family: var(--font-display); font-size: 22px; }
.brand-name { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: .08em; line-height: 1.3; }
.brand-sub { display: block; margin-top: 3px; color: var(--color-muted); font-size: 9px; letter-spacing: .14em; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.main-nav a { font-size: 11px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.header-contact { display: flex; align-items: center; gap: 14px; }
.header-phone { color: var(--color-muted); font-size: 10px; line-height: 1.5; white-space: nowrap; }
.header-phone strong { color: var(--color-ink); font-size: 12px; }
.header-contact .button { min-height: 42px; padding: 8px 16px; font-size: 11px; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { padding: 8px 12px; border: 1px solid var(--color-line); cursor: pointer; list-style: none; font-size: 12px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu[open] .mobile-links { position: absolute; top: 50px; right: 0; display: grid; min-width: 230px; gap: 0; padding: 10px 18px; border: 1px solid var(--color-line); background: var(--color-surface); box-shadow: var(--shadow-soft); }
.mobile-links a { padding: 10px 0; border-bottom: 1px solid var(--color-line); font-size: 13px; }
.mobile-links a:last-child { border: 0; }
.site-footer { padding: 66px 0 24px; background: var(--color-footer); color: var(--color-footer-text); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.site-footer .brand-name { font-size: 20px; }
.site-footer .brand-sub, .footer-copy, .footer-contact address { color: var(--color-footer-muted); }
.footer-copy { max-width: 340px; margin-top: 18px; font-size: 12px; }
.footer-title { margin: 0 0 14px; color: var(--color-highlight); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 22px; }
.footer-links a { color: var(--color-footer-text); font-size: 12px; }
.footer-contact address { font-size: 12px; font-style: normal; }
.footer-contact a { display: block; margin-top: 7px; color: var(--color-footer-text); font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--color-line); color: var(--color-footer-muted); font-size: 10px; }
.footer-bottom a { color: inherit; }
.page-title { position: relative; overflow: hidden; padding: clamp(68px, 9vw, 118px) 0; background: var(--color-white); }
.page-title::after { position: absolute; top: 10%; right: 5%; width: min(38vw, 460px); height: 140px; background: url("assets/sumile-partners-logo.png") center -88px / 460px 460px no-repeat; content: ""; opacity: .28; pointer-events: none; }
.page-title-inner { position: relative; z-index: 1; }
.page-title h1 { font-size: clamp(26px, 3.4vw, 42px); white-space: nowrap; }
.breadcrumb { display: flex; gap: 10px; margin-top: 20px; color: var(--color-muted); font-size: 11px; }
.breadcrumb span::before { content: "/"; margin-right: 10px; color: var(--color-accent); }
.page-section { padding: var(--space-section) 0; }
.page-section.compact { padding-block: 70px; }
.surface { background: var(--color-surface-overlay); }
.soft-band { background: var(--color-paper-overlay); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(38px, 7vw, 90px); }
.split-image { position: relative; min-height: 440px; border-radius: var(--radius-md); background: var(--color-sand); overflow: hidden; }
.split-image img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.split-image .image-credit { position: absolute; right: 10px; bottom: 8px; margin: 0; padding: 3px 8px; background: rgb(255 254 250 / 88%); }
.split-copy p { color: var(--color-muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { padding: 28px; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: var(--color-surface); }
.info-card .number { color: var(--color-accent); font-family: var(--font-display); font-size: 14px; letter-spacing: .1em; }
.info-card h3 { margin: 12px 0 8px; font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.info-card p { margin: 0; color: var(--color-muted); font-size: 13px; }
.cta-band { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 90px) 0; background: var(--color-cta); color: var(--color-ink); }
.cta-band::after { position: absolute; right: 5%; bottom: 0; width: min(38vw, 460px); height: 140px; background: url("assets/sumile-partners-logo.png") center -88px / 460px 460px no-repeat; content: ""; opacity: .26; mix-blend-mode: multiply; pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { font-size: clamp(12px, 1.9vw, 22px); letter-spacing: .01em; white-space: nowrap; }
.cta-band h2 { max-width: 660px; margin: 8px 0; font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 500; }
.cta-band .cta-inner > div:first-child { min-width: 0; flex: 1 1 0; }
.cta-band .cta-inner h2 { max-width: 100%; font-size: clamp(22px, 2.5vw, 34px); line-height: 1.45; white-space: normal; overflow-wrap: anywhere; }
.cta-band .cta-inner > .button, .cta-band .cta-actions { flex-shrink: 0; }
.cta-band p { margin: 0; color: var(--color-muted); font-size: 13px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .eyebrow { color: var(--color-primary-dark); }
.cta-band .button-light { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-white); }
.cta-band .button-light:hover { background: var(--color-white); color: var(--color-primary); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.step-card { position: relative; padding: 24px 20px; border-top: 2px solid var(--color-primary); background: var(--color-surface); counter-increment: step; }
.step-card::before { content: "0" counter(step); color: var(--color-accent); font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; }
.step-card h3 { margin: 8px 0 6px; font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.step-card p { margin: 0; color: var(--color-muted); font-size: 12px; }
.news-list { border-top: 1px solid var(--color-line); }
.news-row { display: grid; grid-template-columns: 115px 140px 1fr 22px; align-items: center; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--color-line); }
.news-date { color: var(--color-muted); font-size: 11px; }
.news-category { width: max-content; padding: 3px 10px; background: var(--color-accent-soft); color: var(--color-primary-dark); font-size: 10px; }
.news-row a { font-size: 13px; font-weight: 600; }
.news-arrow { color: var(--color-accent); }
.feature-row { display: grid; grid-template-columns: 68px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--color-line); }
.feature-no { color: var(--color-accent); font-family: var(--font-display); font-size: 22px; }
.feature-row h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.feature-row p { margin: 0; color: var(--color-muted); font-size: 13px; }
.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: var(--color-surface); font-size: 13px; }
.price-table th, .price-table td { padding: 16px 18px; border: 1px solid var(--color-line); text-align: left; }
.price-table th { background: var(--color-accent-soft); color: var(--color-primary); font-weight: 700; }
.price-table td:first-child { min-width: 160px; font-weight: 700; }
.note-box { padding: 24px 28px; border-left: 3px solid var(--color-accent); background: var(--color-accent-soft); color: var(--color-ink); font-size: 13px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--color-line); background: var(--color-surface); }
.faq-item summary { position: relative; padding: 18px 56px 18px 22px; cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; margin-right: 12px; color: var(--color-accent); font-family: var(--font-display); font-size: 18px; }
.faq-item summary::after { position: absolute; top: 50%; right: 22px; content: "+"; color: var(--color-accent); font-size: 22px; transform: translateY(-50%); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { display: flex; gap: 12px; padding: 0 22px 20px; color: var(--color-muted); font-size: 13px; }
.faq-answer::before { content: "A"; color: var(--color-primary); font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.form-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; }
.contact-aside { padding: 30px; background: var(--color-primary); color: var(--color-white); }
.contact-aside h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 26px; font-weight: 500; }
.contact-aside p { color: var(--color-on-dark-muted); font-size: 13px; }
.contact-aside a { display: block; margin: 16px 0; color: #fff; font-size: 16px; }
.contact-form { display: grid; gap: 20px; }
.form-field label, .form-field legend { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 700; }
.required { margin-left: 8px; color: var(--color-primary); font-size: 10px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--color-line); border-radius: 2px; background: var(--color-surface); color: var(--color-ink); }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field fieldset { padding: 0; border: 0; }
.consent { display: flex; align-items: flex-start; gap: 10px; color: var(--color-muted); font-size: 12px; }
.consent input { margin-top: 6px; }
.form-note { color: var(--color-muted); font-size: 11px; }
.contact-form-cf7 .form-field { margin: 0; }
.contact-form-cf7 .wpcf7-form { display: grid; gap: 20px; }
.contact-form-cf7 .form-field label { margin-bottom: 7px; }
.contact-form-cf7 .wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.contact-form-cf7 .wpcf7-form-control { font: inherit; }
.contact-form-cf7 .wpcf7-form-control:not(.wpcf7-submit):not([type="checkbox"]) { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--color-line); border-radius: 2px; background: var(--color-surface); color: var(--color-ink); }
.contact-form-cf7 textarea.wpcf7-form-control { min-height: 140px; resize: vertical; }
.contact-form-cf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.contact-form-cf7 .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; color: var(--color-muted); font-size: 12px; font-weight: 400; }
.contact-form-cf7 .wpcf7-acceptance input { width: auto; min-height: 0; margin-top: 3px; }
.contact-form-cf7 .wpcf7-submit { cursor: pointer; }
.contact-form-cf7 .wpcf7-not-valid-tip { display: block; margin-top: 5px; color: #a33b4b; font-size: 12px; }
.contact-form-cf7 .wpcf7-response-output { margin: 18px 0 0; padding: 12px 15px; border-color: var(--color-primary); color: var(--color-ink); }
.article-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, .8fr); gap: 56px; }
.article-body { padding: 38px; background: var(--color-surface); }
.article-body h2 { margin-top: 34px; font-family: var(--font-display); font-weight: 500; }
.article-meta { display: flex; gap: 14px; color: var(--color-muted); font-size: 11px; }
.article-aside { padding: 24px; background: var(--color-paper-soft); }
.article-aside h3 { margin-top: 0; font-family: var(--font-display); font-weight: 500; }
.article-aside a { display: block; padding: 10px 0; border-bottom: 1px solid var(--color-line); font-size: 12px; }
.legal-copy { max-width: 850px; }
.legal-copy h2 { margin-top: 36px; font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.legal-copy p, .legal-copy li { color: var(--color-muted); font-size: 13px; }
.image-credit { margin-top: 10px; color: var(--color-muted); font-size: 10px; }
.image-credit a { text-decoration: underline; }
.hero { overflow: hidden; padding: clamp(42px, 6vw, 82px) 0 clamp(56px, 7vw, 92px); background: var(--color-white); }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(35px, 6vw, 84px); }
.hero-copy { padding: 20px 0; }
.hero-kicker { margin: 28px 0 0; color: var(--color-accent); font-family: var(--font-soft); font-size: clamp(15px, 1.55vw, 18px); font-weight: 600; letter-spacing: .08em; }
.hero h1 { margin: 5px 0 18px; font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 50px); font-weight: 500; line-height: 1.48; letter-spacing: .04em; }
.hero-headline-line { display: inline-block; white-space: nowrap; font-size: clamp(23px, 3.4vw, 42px); }
.hero-lead { color: var(--color-muted); font-size: 14px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.hero-proof { display: flex; gap: 14px; align-items: center; margin-top: 48px; color: var(--color-muted); font-size: clamp(12px, 1.1vw, 14px); letter-spacing: .1em; }
.hero-proof span:first-child { padding-right: 14px; border-right: 1px solid var(--color-line); color: var(--color-primary); font-weight: 700; }
.hero-visual { position: relative; min-height: 520px; border-radius: var(--radius-lg); background: var(--color-sand); }
.hero-visual > img { width: 100%; height: 100%; min-height: 520px; border-radius: inherit; object-fit: cover; }
.hero-stamp { position: absolute; right: -30px; bottom: 40px; display: grid; width: 146px; height: 146px; align-content: center; justify-items: center; border-radius: 50%; background: var(--color-accent); color: white; text-align: center; transform: rotate(7deg); }
.hero-stamp span { font-size: 10px; letter-spacing: .1em; }
.hero-stamp strong { margin-top: 7px; font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.55; }
.hero-caption { position: absolute; bottom: 18px; left: 22px; color: #fff; font-family: var(--font-display); font-size: 10px; letter-spacing: .12em; text-shadow: 0 1px 8px #222; }
.hero-caption a { color: #fff; }
.trust-strip { border-block: 1px solid var(--color-line); background: var(--color-surface-overlay); }
.ibj-section { padding: clamp(64px, 8vw, 104px) 0; background: var(--color-white); }
.ibj-section .section-heading { max-width: 900px; margin-inline: auto; }
.ibj-member-highlight { display: flex; align-items: baseline; justify-content: center; gap: 18px; margin: 0 auto; color: var(--color-primary-dark); text-align: center; }
.ibj-member-highlight strong { font-family: var(--font-display); font-size: clamp(34px, 5vw, 58px); font-weight: 500; line-height: 1.2; }
.ibj-member-highlight strong span { margin-left: 5px; font-size: .48em; }
.ibj-member-highlight p { margin: 0; color: var(--color-muted); font-size: 13px; }
.ibj-trust-copy { max-width: 760px; margin: 14px auto 30px; color: var(--color-muted); font-size: 13px; text-align: center; }
.ibj-banner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ibj-banner-grid img { width: 100%; height: auto; border: 1px solid var(--color-line); background: var(--color-white); box-shadow: var(--shadow-soft); }
.ibj-source { max-width: 960px; margin: 18px auto 0; color: var(--color-muted); font-size: 10px; line-height: 1.8; }
.ibj-source a { text-decoration: underline; text-underline-offset: 2px; }
.trust-inner { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 22px; }
.trust-label { color: var(--color-accent); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.trust-inner p { margin: 0; color: var(--color-muted); font-size: 12px; }
.trust-inner strong { color: var(--color-ink); }
.section-heading h2, .display-title { font-size: clamp(15px, 1.9vw, 23px); letter-spacing: .01em; white-space: nowrap; }
.display-title { margin: 12px 0 20px; font-family: var(--font-display); font-weight: 500; line-height: 1.55; }
.course-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.course-mini > div { padding: 26px 22px; border: 1px solid var(--color-line); background: var(--color-paper); }
.course-label { color: var(--color-accent); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.flow-list { max-width: 900px; margin: 0 auto; }
.flow-step { display: grid; grid-template-columns: 102px 1fr; gap: 26px; padding: 34px 0; border-top: 1px solid var(--color-line); }
.flow-step:last-child { border-bottom: 1px solid var(--color-line); }
.flow-index { color: var(--color-accent); font-family: var(--font-display); font-size: 38px; line-height: 1.3; }
.flow-tag { color: var(--color-muted); font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.flow-step h2 { margin: 6px 0 8px; font-family: var(--font-display); font-size: 23px; font-weight: 500; }
.flow-step p { max-width: 700px; margin: 0 0 10px; color: var(--color-muted); font-size: 13px; }
.course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.course-card { position: relative; overflow: hidden; padding: 46px 40px; border: 1px solid var(--color-gold); border-radius: var(--radius-md); outline: 1px solid rgb(180 154 104 / 42%); outline-offset: -8px; background: var(--color-white); box-shadow: 0 16px 42px rgb(41 40 37 / 10%); }
.course-card::before { position: absolute; top: 0; left: 50%; width: 96px; height: 4px; background: linear-gradient(90deg, transparent, var(--color-gold), transparent); content: ""; transform: translateX(-50%); }
.course-card.featured { border-color: var(--color-gold); box-shadow: 0 20px 50px rgb(41 40 37 / 14%); }
.course-card h2 { margin: 10px 0 18px; padding-bottom: 16px; border-bottom: 1px solid rgb(180 154 104 / 45%); color: var(--color-primary-dark); font-family: var(--font-display); font-size: clamp(26px, 3vw, 32px); font-weight: 500; line-height: 1.35; }
.course-card .course-intro { min-height: 66px; color: var(--color-muted); font-size: 18px; line-height: 1.8; }
.course-card .course-subtitle { margin: -10px 0 18px; color: var(--color-primary); font-size: clamp(18px, 2vw, 22px); font-weight: 700; letter-spacing: .04em; line-height: 1.5; }
.course-card ul { min-height: 110px; padding-left: 20px; color: var(--color-muted); font-size: 15px; line-height: 1.8; }
.course-card li { margin-block: 7px; }
.course-card .text-link { font-size: 14px; }
.form-label-top { color: var(--color-muted); font-size: 10px; }
.profile-card { display: grid; grid-template-columns: minmax(250px, .8fr) 1.2fr; align-items: stretch; gap: 42px; padding: 30px; background: var(--color-surface); }
.profile-photo { position: relative; min-height: 370px; overflow: hidden; background: var(--color-sand); }
.profile-photo img { width: 100%; height: 100%; min-height: 370px; object-fit: cover; }
.profile-copy { align-self: center; }
.profile-copy h2 { margin: 8px 0 14px; font-family: var(--font-display); font-size: 32px; font-weight: 500; }
.profile-copy p { color: var(--color-muted); font-size: 13px; }
.profile-facts { display: grid; grid-template-columns: 130px 1fr; margin-top: 24px; border-top: 1px solid var(--color-line); font-size: 12px; }
.profile-facts dt, .profile-facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--color-line); }
.profile-facts dt { color: var(--color-muted); }
.plan-intro { max-width: 760px; margin: 0 auto 46px; color: var(--color-muted); text-align: center; }
.plan-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; }
.plan-perk { padding: 22px; border: 1px solid var(--color-line); background: var(--color-surface); }
.plan-fee-grid { display: grid; grid-template-columns: 1fr; gap: 24px; scroll-margin-top: 30px; }
.plan-fee-card { padding: 26px; border: 1px solid var(--color-gold); border-radius: var(--radius-md); outline: 1px solid rgb(180 154 104 / 35%); outline-offset: -7px; background: var(--color-surface); box-shadow: var(--shadow-soft); scroll-margin-top: 30px; }
.plan-fee-card h3 { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1px solid rgb(180 154 104 / 45%); color: var(--color-primary-dark); font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.plan-fee-card .price-table td:first-child { min-width: 0; }
.plan-fee-card .price-table td:last-child { white-space: nowrap; font-weight: 700; }
.plan-fee-card small { color: var(--color-muted); font-size: 11px; font-weight: 400; }
.fee-remarks { margin: 22px 0 0; color: var(--color-muted); font-size: 12px; }
.plan-perk h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.plan-perk p { margin: 0; color: var(--color-muted); font-size: 12px; }
.course-mini h3 { margin: 10px 0 7px; font-family: var(--font-display); font-size: 19px; font-weight: 500; }
.course-mini p { margin: 0; color: var(--color-muted); font-size: 12px; }
.stat-band { padding: clamp(52px, 7vw, 88px) 0; background: transparent; }
.stat-card { position: relative; display: block; padding: clamp(40px, 6vw, 72px); border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: var(--color-surface); text-align: center; }
.stat-card::before { position: absolute; inset: 10px; border: 2px solid var(--color-gold); border-radius: calc(var(--radius-lg) - 8px); content: ""; pointer-events: none; }
.stat-card::after { position: absolute; top: 10px; left: 50%; width: 10px; height: 10px; border: 1px solid var(--color-gold); background: var(--color-surface); content: ""; transform: translate(-50%, -50%) rotate(45deg); }
.stat-card .section-heading { max-width: 780px; margin: 0 auto; text-align: center; }
.stat-card .eyebrow { justify-content: center; }
.stat-card .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.stat-source { margin: 16px 0 0; color: var(--color-muted); font-size: 10px; text-align: center; }
.stat-source a { text-decoration: underline; text-underline-offset: 3px; }
.concerns-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.concern-card { min-height: 190px; padding: 24px; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: var(--color-surface); }
.concern-card .number { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--color-accent-soft); color: var(--color-primary-dark); font-family: var(--font-display); font-size: 13px; }
.concern-card h3 { margin: 16px 0 7px; font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.5; }
.concern-card p { margin: 0; color: var(--color-muted); font-size: 12px; }
.photo-credit a { color: inherit; }
@media (max-width: 760px) {
  .page-title h1 { font-size: clamp(21px, 6vw, 30px); }
  .section-heading h2, .display-title { font-size: clamp(13px, 3.8vw, 17px); }
  .cta-band::after { right: 0; width: min(62vw, 300px); height: 100px; background-size: 300px 300px; background-position: center -62px; }
  .ibj-banner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ibj-member-highlight { flex-direction: column; align-items: center; gap: 2px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual, .hero-visual > img { min-height: min(100vw, 430px); }
  .hero-stamp { right: -10px; bottom: 24px; width: 118px; height: 118px; }
  .hero-stamp strong { font-size: 15px; }
  .trust-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; padding-block: 16px; }
  .trust-inner .text-link { margin-top: 8px; }
  .course-mini { grid-template-columns: 1fr; }
  .concerns-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1050px) {
  .main-nav, .header-contact { display: none; }
  .mobile-menu { display: block; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --header-height: 72px; --space-section: 76px; }
  body { font-size: 14px; }
  .container { width: min(100% - 36px, var(--content-width)); }
  .brand-mark { width: 38px; height: 38px; }
  .brand-logo { width: 120px; height: 60px; }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 8px; }
  .page-title::after { right: -20%; width: 62vw; }
  .split, .form-layout, .article-layout { grid-template-columns: 1fr; }
  .split-image, .split-image img { min-height: 300px; }
  .card-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .plan-fee-grid { grid-template-columns: 1fr; }
  .concerns-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .news-row { grid-template-columns: 86px 1fr 18px; gap: 8px 12px; }
  .news-category { grid-column: 2; grid-row: 1; }
  .news-row a { grid-column: 1 / 3; grid-row: 2; }
  .news-date { grid-column: 1; grid-row: 1; }
  .news-arrow { grid-column: 3; grid-row: 1 / 3; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .article-body { padding: 24px; }
  .form-layout { gap: 28px; }
  .flow-step { grid-template-columns: 56px 1fr; gap: 12px; padding-block: 26px; }
  .flow-index { font-size: 28px; }
  .flow-step h2 { font-size: 20px; }
  .course-card { padding: 24px; }
  .course-card .course-intro, .course-card ul { min-height: 0; }
  .profile-card { grid-template-columns: 1fr; padding: 18px; }
  .profile-photo, .profile-photo img { min-height: 280px; }
  .plan-perks { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .steps { grid-template-columns: 1fr; }
  .cta-actions { width: 100%; }
  .cta-actions .button { flex: 1; }
  .feature-row { grid-template-columns: 46px 1fr; }
}

/* Inquiry assistant. Change these tokens to restyle the widget independently. */
:root {
  --chat-accent: var(--color-primary);
  --chat-surface: var(--color-surface);
  --chat-text: var(--color-ink);
  --chat-user-bubble: var(--color-primary);
  --chat-assistant-bubble: var(--color-paper);
  --chat-shadow: 0 18px 60px rgb(71 50 85 / 20%);
}
.ai-chat-launcher { position: fixed; z-index: 20; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px 20px; border: 0; border-radius: 999px; background: var(--chat-accent); color: #fff; box-shadow: var(--chat-shadow); cursor: pointer; font-weight: 700; }
.ai-chat-launcher:hover { color: #fff; transform: translateY(-2px); }
.ai-chat-launcher-icon { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgb(255 255 255 / 65%); border-radius: 50%; font-size: 17px; }
.ai-chat-panel { position: fixed; z-index: 21; right: 24px; bottom: 96px; display: none; width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 125px)); flex-direction: column; overflow: hidden; border: 1px solid var(--color-line); border-radius: var(--radius-md); background: var(--chat-surface); color: var(--chat-text); box-shadow: var(--chat-shadow); }
.ai-chat-panel[open] { display: flex; }
.ai-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; background: var(--chat-accent); color: #fff; }
.ai-chat-head strong { display: block; font-family: var(--font-display); font-size: 16px; }
.ai-chat-head small { display: block; opacity: .82; font-size: 10px; }
.ai-chat-close { width: 36px; height: 36px; border: 1px solid rgb(255 255 255 / 50%); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; font-size: 20px; }
.ai-chat-notice { padding: 9px 16px; border-bottom: 1px solid var(--color-line); color: var(--color-muted); font-size: 10px; line-height: 1.6; }
.ai-chat-messages { display: flex; flex: 1; flex-direction: column; gap: 12px; overflow: auto; padding: 16px; }
.ai-chat-message { max-width: 88%; padding: 11px 13px; border-radius: 14px; font-size: 13px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.ai-chat-message.assistant { align-self: flex-start; border: 1px solid var(--color-line); border-bottom-left-radius: 4px; background: var(--chat-assistant-bubble); }
.ai-chat-message.user { align-self: flex-end; border-bottom-right-radius: 4px; background: var(--chat-user-bubble); color: #fff; }
.ai-chat-quick { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 14px 12px; }
.ai-chat-quick button { padding: 6px 10px; border: 1px solid var(--color-line); border-radius: 999px; background: transparent; color: var(--chat-text); cursor: pointer; font-size: 10px; }
.ai-chat-quick button:hover { border-color: var(--chat-accent); }
.ai-chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--color-line); }
.ai-chat-form textarea { flex: 1; min-height: 44px; max-height: 110px; resize: vertical; padding: 10px 12px; border: 1px solid var(--color-line); border-radius: 10px; background: var(--chat-surface); color: var(--chat-text); font-size: 13px; }
.ai-chat-send { min-width: 52px; min-height: 44px; padding: 8px; border: 0; border-radius: 10px; background: var(--chat-accent); color: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
.ai-chat-send:disabled { cursor: wait; opacity: .55; }
.ai-chat-handoff { padding: 0 16px 13px; color: var(--color-muted); font-size: 10px; }
.ai-chat-handoff a { color: var(--chat-accent); text-decoration: underline; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
@media (max-width: 560px) {
  .ai-chat-launcher { right: 14px; bottom: 14px; min-height: 52px; padding: 9px 15px; font-size: 12px; }
  .ai-chat-panel { right: 8px; bottom: 76px; width: calc(100vw - 16px); height: min(640px, calc(100dvh - 90px)); }
}
