.mg-main { background: #f7f3eb; color: #282720; font-size: 16px; line-height: 1.8; }
.mg-wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.mg-main p { margin: 0 0 18px; word-break: keep-all; overflow-wrap: anywhere; }
.mg-main h1, .mg-main h2, .mg-main h3 { margin: 0; font-family: var(--sans); word-break: keep-all; overflow-wrap: anywhere; }
.mg-main h2 { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.5; font-weight: 500; letter-spacing: -.045em; }
.mg-main h3 { font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.mg-main a:focus-visible, .mg-main summary:focus-visible { outline: 3px solid #8d6b38; outline-offset: 6px; border-radius: 2px; }
.mg-main [id] { scroll-margin-top: 110px; }
.mg-main .mg-eyebrow { font-size: 12px; letter-spacing: .14em; line-height: 1.5; color: #766344; text-transform: uppercase; margin-bottom: 22px; }
.mg-breadcrumb { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 27px; font-size: 14px; color: #756c60; }
.mg-breadcrumb a:hover { text-decoration: underline; }
.mg-hero { display: grid; grid-template-columns: 1.28fr 1fr; gap: 64px; align-items: center; padding: 65px 0 82px; }
.mg-main h1 { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.3; letter-spacing: -.06em; font-weight: 600; margin-bottom: 25px; }
.mg-main .mg-headline { color: #776348; font-size: clamp(26px, 2.35vw, 33px); line-height: 1.55; letter-spacing: -.055em; font-weight: 400; margin-bottom: 25px; }
.mg-main .mg-lead { color: #605a50; font-size: 17px; line-height: 1.95; margin-bottom: 30px; }
.mg-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 21px; }
.mg-actions .button, .mg-bottom .button { gap: 26px; min-height: 52px; font-size: 15px; }
.mg-text-link { font-size: 15px; border-bottom: 1px solid #c9bc9f; padding-block: 6px; }
.mg-text-link span { margin-left: 12px; }
.mg-flow { background: #292c28; color: #f7f3eb; padding: 25px 36px 20px; border-radius: 4px 4px 54px 4px; }
.mg-flow-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #54594f; padding-bottom: 8px; font-size: 14px; letter-spacing: -.02em; }
.mg-flow-mark { font-family: Georgia, serif; color: #cbb17e; font-size: 44px; line-height: 1.4; }
.mg-flow ol { list-style: none; padding: 10px 0 0; margin: 0; }
.mg-flow li { display: grid; grid-template-columns: 38px 1fr; gap: 18px; position: relative; padding: 25px 0; }
.mg-flow li + li { border-top: 1px solid #444a40; }
.mg-flow-number { color: #d4bd90; font-family: Georgia, serif; font-size: 20px; }
.mg-flow strong { font-size: 21px; font-weight: 500; letter-spacing: -.035em; }
.mg-flow li p { color: #c2c6bd; font-size: 14px; margin: 5px 0 0; }
.mg-main .mg-flow-note { margin: 9px 0 2px; padding-top: 16px; border-top: 1px solid #54594f; font-size: 14px; color: #c2c6bd; }
.mg-section-nav { border-block: 1px solid #dcd4c6; background: #efe9de; }
.mg-section-nav .mg-wrap { display: flex; justify-content: space-between; gap: 20px; }
.mg-section-nav a { display: flex; align-items: center; justify-content: center; min-height: 66px; font-size: 15px; flex: 1; white-space: nowrap; }
.mg-section-nav a:hover { color: #77562b; text-decoration: underline; text-underline-offset: 8px; }
.mg-section { padding-block: 88px; }
.mg-intro, .mg-faq-grid { display: grid; grid-template-columns: .85fr 1.3fr; gap: 94px; }
.mg-prose { color: #615c53; max-width: 660px; }
.mg-main .mg-large { color: #35382d; font-size: 24px; line-height: 1.65; letter-spacing: -.035em; margin-bottom: 22px; }
.mg-science { background: #eee7da; padding-block: 78px; }
.mg-science-grid { display: grid; grid-template-columns: .85fr 1.3fr; gap: 94px; }
.mg-science h2 em { font-style: normal; color: #7b603c; }
.mg-science .mg-science-en { font-family: Georgia, var(--sans); color: #78694f; margin: 18px 0 25px; font-size: 17px; }
.mg-science p { color: #615c53; }
.mg-rule-item { border-top: 1px solid #c7bda9; padding-top: 22px; margin-bottom: 24px; }
.mg-rule-item h3 { margin-bottom: 10px; }
.mg-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.mg-section-heading > p { color: #746b5d; font-size: 15px; margin-bottom: 4px; }
.mg-visual-process { padding-bottom: 42px; }
.mg-picture-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; gap: 24px; }
.mg-picture-steps li { min-width: 0; }
.mg-picture-steps figure { margin: 0; height: 100%; }
.mg-picture-window { position: relative; aspect-ratio: 1; overflow: hidden; background: #f7f3eb; border-radius: 10px; }
.mg-picture-window img { position: absolute; inset: 0 auto auto 0; width: 300%; height: 100%; max-width: none; display: block; }
.mg-picture-window[data-scene="2"] img { transform: translateX(-33.333333333%); }
.mg-picture-window[data-scene="3"] img { transform: translateX(-66.666666667%); }
.mg-picture-steps figcaption { border-top: 1px solid #d7cbb7; padding: 23px 12px 0; }
.mg-picture-number { display: block; color: #766344; font-size: 14px; letter-spacing: .07em; margin-bottom: 9px; }
.mg-picture-steps h3 { font-size: 21px; margin-bottom: 12px; }
.mg-picture-steps p { font-size: 16px; color: #615c53; margin-bottom: 0; }
.mg-process-followup { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-top: 34px; padding: 24px 0; border-block: 1px solid #d7cbb7; }
.mg-process-followup p { margin: 0; font-size: 16px; color: #615c53; }
.mg-process-followup strong { color: #282720; margin-right: 8px; }
.mg-process-followup a { font-size: 14px; text-decoration: underline; text-underline-offset: 5px; flex-shrink: 0; }
.mg-main .mg-figure-caption { font-size: 14px; color: #716758; margin: 15px 0 0; }
.mg-visual-process + .mg-intro { padding-top: 44px; }
.mg-science + .mg-consider { margin-top: 70px; }
.mg-consider { display: grid; grid-template-columns: .85fr 1.3fr; gap: 94px; background: #fffcf6; border: 1px solid #d9cfbc; border-radius: 4px; padding: 42px; }
.mg-consider ul { margin: 0 0 24px; padding-left: 20px; }
.mg-consider li { padding: 3px 0 3px 4px; }
.mg-consider li::marker { color: #a78b5e; }
.mg-consider p { font-size: 16px; color: #6b6152; }
.mg-consider p:last-child { margin-bottom: 0; }
.mg-faq details { border-bottom: 1px solid #d4caba; }
.mg-faq details:first-child { border-top: 1px solid #a49376; }
.mg-faq summary { cursor: pointer; padding: 22px 36px 22px 0; list-style: none; font-weight: 500; position: relative; font-size: 17px; word-break: keep-all; }
.mg-faq summary::-webkit-details-marker { display: none; }
.mg-faq summary::after { content: '+'; position: absolute; right: 2px; top: 18px; font-size: 25px; font-weight: 300; color: #856940; }
.mg-faq details[open] summary::after { content: '−'; }
.mg-faq details > div { padding-bottom: 22px; }
.mg-faq details p { margin: 0; color: #6b6358; font-size: 16px; }
.mg-bottom { padding-block: 55px; background: #30342d; color: #fff9ec; }
.mg-bottom .mg-wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.mg-bottom .mg-eyebrow { color: #ceb27c; margin-bottom: 14px; }
.mg-bottom h2 { font-size: 30px; font-weight: 400; }
.mg-bottom .button { flex-shrink: 0; }
/* Keep the same layout while allowing longer translated headings to wrap. */
.mg-hero > *, .mg-flow li > div, .mg-science-grid > *, .mg-faq-grid > * { min-width: 0; }
html:lang(en) .mg-main h1 { font-size: clamp(28px, 3.1vw, 46px); letter-spacing: -.025em; }
html:lang(en) .mg-main h2, html:lang(en) .mg-main h3, html:lang(en) .mg-headline { letter-spacing: -.02em; }
html:lang(ja) .mg-main p, html:lang(ja) .mg-main h1, html:lang(ja) .mg-main h2, html:lang(ja) .mg-main h3,
html:lang(zh) .mg-main p, html:lang(zh) .mg-main h1, html:lang(zh) .mg-main h2, html:lang(zh) .mg-main h3 { word-break: normal; line-break: strict; }
.mg-section-nav a { white-space: normal; text-align: center; padding: 12px 8px; min-width: 0; overflow-wrap: anywhere; }
html:not(:lang(ko)) .mg-flow strong { overflow-wrap: anywhere; }
@media (max-width: 1050px) {
  .mg-hero { gap: 32px; grid-template-columns: 1.1fr 1fr; }
  .mg-desktop-break { display: none; }
  .mg-flow { padding-inline: 24px; }
  .mg-intro, .mg-science-grid, .mg-faq-grid, .mg-consider { gap: 42px; }
  .mg-picture-steps { gap: 16px; }
  .mg-picture-steps figcaption { padding-inline: 0; }
}
@media (max-width: 760px) {
  .mg-wrap { width: min(100% - 40px, 600px); }
  .mg-breadcrumb { padding-top: 20px; font-size: 14px; }
  .mg-hero { display: block; padding-block: 39px 40px; }
  .mg-hero-copy { margin-bottom: 34px; }
  .mg-main h1 { font-size: clamp(29px, 7.5vw, 44px); }
  .mg-main .mg-headline { font-size: 27px; }
  .mg-main .mg-lead { font-size: 16px; }
  .mg-main .mg-eyebrow { font-size: 12px; margin-bottom: 17px; }
  .mg-flow { border-bottom-right-radius: 36px; padding: 17px 25px 22px; }
  .mg-flow li { padding-block: 20px; }
  .mg-flow strong { font-size: 19px; }
  .mg-section-nav .mg-wrap { flex-wrap: wrap; gap: 0; }
  .mg-section-nav a { flex: 1 0 50%; min-height: 52px; font-size: 14px; }
  .mg-section { padding-block: 54px; }
  .mg-intro, .mg-science-grid, .mg-faq-grid, .mg-consider { display: grid; grid-template-columns: 1fr; gap: 29px; }
  .mg-main .mg-large { font-size: 22px; }
  .mg-science { padding-block: 50px; }
  .mg-section-heading { display: block; margin-bottom: 26px; }
  .mg-section-heading > p { margin: 20px 0 0; }
  .mg-picture-steps { grid-template-columns: 1fr; gap: 0; }
  .mg-picture-steps li + li { border-top: 1px solid #d7cbb7; }
  .mg-picture-steps figure { display: grid; grid-template-columns: minmax(104px, 34%) minmax(0, 1fr); gap: 16px; align-items: center; padding-block: 22px; }
  .mg-picture-steps figcaption { border: 0; padding: 0; }
  .mg-picture-steps h3 { font-size: 18px; margin-bottom: 8px; }
  .mg-picture-number { margin-bottom: 6px; }
  .mg-process-followup { display: block; margin-top: 18px; }
  .mg-process-followup a { display: inline-block; margin-top: 15px; }
  .mg-visual-process { padding-bottom: 20px; }
  .mg-visual-process + .mg-intro { padding-top: 34px; }
  .mg-science + .mg-consider { margin-top: 42px; }
  .mg-consider { padding: 26px; }
  .mg-faq summary { font-size: 16px; }
  .mg-bottom { padding-block: 42px; }
  .mg-bottom .mg-wrap { display: block; }
  .mg-bottom h2 { font-size: 26px; }
  .mg-bottom .button { margin-top: 26px; }
}
@media (max-width: 360px) {
  .mg-picture-steps figure { grid-template-columns: 1fr; gap: 12px; }
  .mg-picture-window { max-width: 230px; width: 100%; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) { .mg-main * { scroll-behavior: auto; transition: none; } }
