@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&family=Noto+Serif+JP:wght@600;700&display=swap");

:root {
  --navy: #102c3f; --navy-2: #193f53; --teal: #2f7c78;
  --teal-soft: #e9f4f1; --coral: #ed8165; --coral-soft: #fff0eb;
  --sky: #dcecf2; --cream: #f6f3ec; --paper: #fff;
  --ink: #18313e; --body: #495e68; --muted: #778993; --line: #dbe4e7;
  --shadow: 0 18px 50px rgba(25, 63, 83, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0; color: var(--ink); background: #f8faf9;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.utility-bar { color: rgba(255,255,255,.8); background: var(--navy); }
.utility-bar > div {
  width: min(1180px, calc(100% - 48px)); min-height: 34px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 10px; letter-spacing: .08em;
}
.utility-bar span { color: #94c9c2; font-weight: 800; letter-spacing: .16em; }
.utility-bar p { margin: 0; }
.site-header { position: relative; z-index: 3; background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(16,44,63,.08); }
.site-header__inner {
  width: min(1180px, calc(100% - 48px)); min-height: 86px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1.12; }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px; color: #fff;
  background: var(--navy); border-radius: 12px 12px 12px 3px; box-shadow: 5px 5px 0 var(--sky);
  font: 700 21px/1 Georgia, serif;
}
.brand b { display: block; font: 700 18px/1.3 "Noto Serif JP", serif; letter-spacing: .09em; }
.brand small { display: block; margin-top: 3px; color: var(--teal); font-size: 9px; font-weight: 700; letter-spacing: .22em; }
.site-header nav { display: flex; align-items: center; gap: 27px; font-size: 12px; font-weight: 600; }
.site-header nav a { position: relative; text-decoration: none; }
.site-header nav a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .2s; }
.site-header nav a:hover::after { transform: scaleX(1); }
.site-header .nav-cta { padding: 11px 18px; color: #fff; background: var(--teal); border-radius: 999px; box-shadow: 0 8px 20px rgba(47,124,120,.2); }
.topic-bar { color: var(--muted); background: #fff; border-bottom: 1px solid var(--line); font-size: 11px; }
.topic-bar > div { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 11px 0; }
.topic-bar span { margin-left: 10px; }
.topic-bar a { text-decoration: none; }

.hero {
  width: min(1180px, calc(100% - 48px)); min-height: 570px; margin: 34px auto 0;
  display: grid; grid-template-columns: 46% 54%; overflow: hidden;
  background: var(--cream); border-radius: 30px; box-shadow: var(--shadow);
}
.hero__copy { position: relative; z-index: 2; padding: 68px 18px 58px 65px; }
.hero__copy::before { content: ""; position: absolute; top: 27px; left: 25px; width: 84px; height: 84px; border: 1px solid rgba(47,124,120,.18); border-radius: 50%; }
.hero__eyebrow { position: relative; margin: 0 0 22px; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.hero__eyebrow span { display: inline-block; margin-right: 9px; padding: 5px 10px; color: #fff; background: var(--coral); border-radius: 999px; font-size: 9px; letter-spacing: .15em; }
.hero h1 { margin: 0; font: 700 clamp(37px, 3.4vw, 50px)/1.42 "Noto Serif JP", serif; letter-spacing: .035em; }
.hero h1 em { position: relative; z-index: 1; color: var(--navy); font-style: normal; }
.hero h1 em::after { content: ""; position: absolute; z-index: -1; right: -3px; bottom: 3px; left: -3px; height: 13px; background: rgba(237,129,101,.33); transform: rotate(-1deg); }
.hero__lead { margin: 27px 0 0; color: var(--body); font-size: 14px; line-height: 2; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; color: var(--muted); font-size: 10px; letter-spacing: .03em; }
.hero__meta span { padding-left: 16px; border-left: 1px solid #cbd6d9; }
.hero__visual { position: relative; min-width: 0; background: #eef3f2; }
.hero__visual::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: 21%; background: linear-gradient(90deg, var(--cream), rgba(246,243,236,0)); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero__badge { position: absolute; right: 30px; bottom: 30px; z-index: 2; width: 118px; height: 118px; display: grid; place-content: center; color: #fff; background: rgba(16,44,63,.93); border: 1px solid rgba(255,255,255,.35); border-radius: 50%; text-align: center; box-shadow: 0 14px 30px rgba(16,44,63,.24); }
.hero__badge b { font: 700 22px/1 Georgia, serif; }
.hero__badge span { margin-top: 7px; font-size: 9px; line-height: 1.55; letter-spacing: .08em; }

.quick-guide {
  position: relative; z-index: 2; width: min(1060px, calc(100% - 72px)); margin: -24px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden;
  background: #fff; border-radius: 18px; box-shadow: 0 18px 50px rgba(16,44,63,.11);
}
.quick-guide > a { min-width: 0; padding: 27px 24px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 15px; text-decoration: none; transition: background .2s; }
.quick-guide > a + a { border-left: 1px solid var(--line); }
.quick-guide > a:hover { background: #f5faf8; }
.quick-guide__icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--teal); background: var(--teal-soft); border-radius: 14px; font: 700 13px/1 Georgia, serif; }
.quick-guide small { display: block; margin-bottom: 2px; color: var(--coral); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.quick-guide b { display: block; font-size: 13px; line-height: 1.5; }
.quick-guide p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.quick-guide__arrow { color: #9dafb5; font-size: 18px; }

.layout {
  width: min(1060px, calc(100% - 48px)); margin: 74px auto 100px;
  display: grid; grid-template-columns: minmax(0, 720px) 270px; gap: 70px; align-items: start;
}
.article { min-width: 0; }
.toc { margin: 0 0 60px; padding: 31px 34px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 10px 30px rgba(16,44,63,.05); }
.toc > b { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 700 17px/1.5 "Noto Serif JP", serif; }
.toc > b::before { content: ""; width: 7px; height: 7px; background: var(--coral); border-radius: 50%; box-shadow: 11px 0 0 var(--teal), 22px 0 0 var(--sky); margin-right: 23px; }
.toc ol { margin: 0; padding-left: 22px; }
.toc li { padding: 4px 0 4px 5px; color: var(--body); font-size: 12px; }
.toc li::marker { color: var(--teal); font-weight: 700; }
.toc a { text-decoration: none; border-bottom: 1px solid #cddbdc; }
.section { margin-top: 76px; }
.section > h2, .article-foot h2 { position: relative; margin: 0 0 27px; padding: 0 0 18px 24px; font: 700 26px/1.55 "Noto Serif JP", serif; letter-spacing: .02em; }
.section > h2::before, .article-foot h2::before { content: ""; position: absolute; top: 4px; bottom: 18px; left: 0; width: 5px; background: linear-gradient(var(--teal) 0 68%, var(--coral) 68%); border-radius: 999px; }
.section > h2::after, .article-foot h2::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: linear-gradient(90deg, var(--teal), var(--line) 23%, var(--line)); }
.section > p { margin: 0 0 27px; color: var(--body); font-size: 14px; }
.step-list { display: grid; gap: 16px; }
.step-card { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 27px 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 8px 26px rgba(16,44,63,.045); transition: transform .2s, box-shadow .2s; }
.step-card:hover { transform: translateY(-2px); box-shadow: 0 13px 35px rgba(16,44,63,.08); }
.step-card::after { content: ""; position: absolute; top: -28px; right: -28px; width: 80px; height: 80px; background: var(--teal-soft); border-radius: 50%; }
.step-card__num { width: 58px; height: 58px; display: grid; place-items: center; color: #fff; background: var(--navy); border-radius: 18px 18px 18px 5px; box-shadow: 5px 5px 0 var(--sky); font: 700 16px/1 Georgia, serif; }
.step-card h3 { margin: 1px 0 6px; font-size: 16px; line-height: 1.55; }
.step-card p { margin: 0; color: var(--body); font-size: 12px; }
.check-panel { margin: 25px 0; padding: 25px 29px; background: linear-gradient(135deg, #eff8f5, #f8fbfa); border: 1px solid #d7e9e3; border-radius: 17px; }
.check-panel ul { list-style: none; margin: 0; padding: 0; }
.check-panel li { position: relative; padding: 8px 0 8px 34px; color: var(--body); font-size: 13px; border-bottom: 1px dashed #cfdfda; }
.check-panel li:last-child { border-bottom: 0; }
.check-panel li::before { content: "×"; position: absolute; top: 8px; left: 0; width: 20px; height: 20px; display: grid; place-items: center; color: #fff; background: var(--coral); border-radius: 50%; font-size: 11px; font-weight: 800; }
.contact-list { display: grid; gap: 17px; }
.contact-card { padding: 28px; display: grid; grid-template-columns: 88px 1fr; gap: 23px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 9px 28px rgba(16,44,63,.05); }
.contact-card__icon { width: 88px; height: 88px; display: grid; place-items: center; overflow: hidden; color: var(--navy); background: var(--sky); border-radius: 25px 25px 25px 7px; }
.contact-card__icon img { width: 94%; height: 94%; object-fit: contain; }
.contact-card:nth-child(2) .contact-card__icon { color: #a24e3d; background: var(--coral-soft); }
.contact-card:nth-child(3) .contact-card__icon { color: #2e6f69; background: var(--teal-soft); }
.contact-card__label { margin: 0 0 5px; color: var(--teal); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.contact-card h3 { margin: 0; font: 700 17px/1.55 "Noto Serif JP", serif; }
.contact-card h3 strong { color: var(--coral); font-size: 1.08em; }
.contact-card__body > p:not(.contact-card__label) { margin: 10px 0; color: var(--body); font-size: 11px; }
.contact-card a { display: inline-flex; gap: 8px; align-items: center; color: var(--teal); font-size: 11px; font-weight: 700; text-underline-offset: 3px; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.two-column > div { position: relative; min-height: 175px; padding: 27px; overflow: hidden; color: #fff; background: var(--navy); border-radius: 18px; }
.two-column > div:nth-child(2), .two-column > div:nth-child(3) { color: var(--ink); background: #e7f1f2; }
.two-column > div:nth-child(4) { background: var(--teal); }
.two-column > div::after { content: ""; position: absolute; right: -25px; bottom: -35px; width: 100px; height: 100px; border: 18px solid rgba(255,255,255,.09); border-radius: 50%; }
.two-column span { color: var(--coral); font: 700 10px/1 Georgia, serif; letter-spacing: .12em; }
.two-column h3 { position: relative; z-index: 1; margin: 13px 0 7px; font-size: 14px; line-height: 1.6; }
.two-column p { position: relative; z-index: 1; margin: 0; color: inherit; opacity: .76; font-size: 11px; }
.article-foot { margin-top: 78px; padding: 31px 33px; background: var(--cream); border-radius: 19px; }
.article-foot h2 { margin-bottom: 17px; font-size: 20px; }
.article-foot p { margin: 8px 0 0; color: var(--body); font-size: 11px; }

.sidebar { position: sticky; top: 24px; display: grid; gap: 20px; }
.sidebar section { padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 9px 30px rgba(16,44,63,.045); }
.profile { position: relative; overflow: hidden; text-align: center; }
.profile::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 64px; background: linear-gradient(135deg, var(--sky), var(--teal-soft)); }
.profile__icon { position: relative; width: 76px; height: 76px; margin: 3px auto 14px; overflow: hidden; background: var(--cream); border: 5px solid #fff; border-radius: 50%; box-shadow: 0 7px 18px rgba(16,44,63,.17); }
.profile__icon img { width: 100%; height: 100%; object-fit: cover; }
.profile h2, .side-menu h2 { margin: 0 0 9px; font: 700 15px/1.5 "Noto Serif JP", serif; }
.profile p { margin: 0; color: var(--muted); font-size: 10px; }
.side-menu h2::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 10px; background: var(--coral); border-radius: 99px; }
.side-menu ul { margin: 8px 0 0; padding: 0; list-style: none; }
.side-menu li { border-top: 1px solid var(--line); }
.side-menu a { position: relative; display: block; padding: 12px 20px 12px 0; font-size: 10px; text-decoration: none; }
.side-menu a::after { content: "→"; position: absolute; right: 0; color: var(--teal); }

.site-footer { padding: 58px max(24px, calc((100% - 1180px) / 2)) 34px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; color: #fff; background: var(--navy); }
.brand--footer .brand__mark { color: var(--navy); background: #fff; box-shadow: 5px 5px 0 rgba(143,202,194,.3); }
.brand--footer small { color: #8dd2c9; }
.site-footer p { margin: 14px 0 0; color: rgba(255,255,255,.55); font-size: 10px; }
.site-footer > small { color: rgba(255,255,255,.42); font-size: 9px; }
.site-footer__right { display: grid; justify-items: end; gap: 18px; }
.site-footer__right > small { color: rgba(255,255,255,.42); font-size: 9px; }
.site-footer .site-operator-menu { display: flex; gap: 18px; margin: 0; font-size: 11px; font-weight: 700; }
.site-footer .site-operator-menu a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.site-footer .site-operator-menu a:hover { color: #8dd2c9; }

@media (max-width: 960px) {
  .site-header nav { gap: 17px; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 48% 52%; min-height: 520px; }
  .hero__copy { padding-left: 45px; }
  .quick-guide { width: calc(100% - 80px); }
  .quick-guide > a { grid-template-columns: 38px 1fr; padding: 22px 18px; }
  .quick-guide__icon { width: 38px; height: 38px; }
  .quick-guide__arrow { display: none; }
  .layout { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .utility-bar > div { width: calc(100% - 32px); min-height: 29px; }
  .utility-bar p { display: none; }
  .utility-bar span { font-size: 8px; }
  .site-header__inner { width: calc(100% - 32px); min-height: 70px; }
  .brand__mark { width: 38px; height: 38px; border-radius: 10px 10px 10px 3px; font-size: 18px; }
  .brand b { font-size: 15px; }
  .brand small { font-size: 8px; }
  .site-header .nav-cta { padding: 9px 12px; font-size: 10px; }
  .topic-bar > div { width: calc(100% - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hero { width: calc(100% - 24px); min-height: 0; margin-top: 12px; display: flex; flex-direction: column; border-radius: 21px; }
  .hero__copy { padding: 35px 26px 31px; }
  .hero__copy::before { top: 15px; left: 9px; width: 60px; height: 60px; }
  .hero__eyebrow { margin-bottom: 14px; font-size: 9px; }
  .hero h1 { font-size: clamp(31px, 9vw, 40px); line-height: 1.42; }
  .hero__lead { margin-top: 20px; font-size: 12px; }
  .hero__meta { gap: 10px; margin-top: 21px; font-size: 8px; }
  .hero__meta span { padding-left: 10px; }
  .hero__visual { height: 295px; order: -1; }
  .hero__visual::before { inset: auto 0 0; width: auto; height: 25%; background: linear-gradient(0deg, var(--cream), rgba(246,243,236,0)); }
  .hero__visual img { object-position: 65% center; }
  .hero__badge { right: 17px; bottom: 13px; width: 82px; height: 82px; }
  .hero__badge b { font-size: 16px; }
  .hero__badge span { font-size: 7px; }
  .quick-guide { width: calc(100% - 40px); margin-top: 20px; display: grid; grid-template-columns: 1fr; border-radius: 16px; }
  .quick-guide > a { grid-template-columns: 42px 1fr auto; padding: 18px 20px; }
  .quick-guide > a + a { border-top: 1px solid var(--line); border-left: 0; }
  .quick-guide__icon { width: 42px; height: 42px; }
  .quick-guide__arrow { display: inline; }
  .layout { width: calc(100% - 40px); margin: 50px auto 65px; display: block; }
  .toc { margin-bottom: 50px; padding: 25px 23px; }
  .section { margin-top: 60px; }
  .section > h2, .article-foot h2 { padding-left: 18px; font-size: 21px; }
  .section > p { font-size: 13px; }
  .step-card { grid-template-columns: 44px 1fr; gap: 15px; padding: 22px 19px; }
  .step-card__num { width: 44px; height: 44px; border-radius: 14px 14px 14px 4px; }
  .step-card h3 { font-size: 14px; }
  .contact-card { grid-template-columns: 1fr; gap: 16px; padding: 23px 21px; }
  .contact-card__icon { width: 78px; height: 78px; border-radius: 21px 21px 21px 6px; }
  .two-column { grid-template-columns: 1fr; }
  .two-column > div { min-height: 145px; }
  .article-foot { margin-top: 62px; padding: 25px 23px; }
  .sidebar { margin-top: 28px; display: grid; grid-template-columns: 1fr; }
  .sidebar .side-note { grid-column: auto; }
  .profile { display: none; }
  .site-footer { padding: 40px 20px 27px; display: block; }
  .site-footer__right { margin-top: 28px; justify-items: start; gap: 20px; }
}

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