:root {
  color-scheme: light;
  --ink: #19334c;
  --muted: #455e72;
  --blue: #146d9e;
  --green: #137861;
  --line: #dce7ec;
  --pale: #eef6fa;
  --paper: #fff;
  --shell: 1120px;
  font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.8; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.48; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
section[id] { scroll-margin-top: 1.25rem; }
:focus-visible { outline: 3px solid #d58432; outline-offset: 4px; }
.shell { width: min(calc(100% - 72px), var(--shell)); margin-inline: auto; }
.skip { position: absolute; top: 0; left: 8px; padding: 8px 16px; background: white; transform: translateY(-130%); z-index: 3; }
.skip:focus { transform: translateY(0); }
.header { border-bottom: 1px solid #edf3f6; }
.header-inner, .footer-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-block; width: 148px; flex: 0 0 auto; }
.header nav, .footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; font-size: .85rem; font-weight: 600; }
.header nav a, .footer nav a { text-decoration: none; }
.header nav a:hover, .footer nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.button { background: var(--ink); color: white; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border-radius: 40px; padding: 10px 20px; text-decoration: none; white-space: nowrap; font-weight: 650; }
.button-small { font-size: .82rem; }
.button-light { background: white; color: var(--ink); }
.arrow { display: grid; place-items: center; flex: 0 0 1.65rem; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--blue); color: white; font-weight: 700; font-family: system-ui, sans-serif; }

.top-hero {
  padding: 53px 0 56px;
  background: radial-gradient(ellipse 105% 135% at 106% 180%, #fff 72%, #e6f2f7 72.2% 72.6%, #fff 73% 74.2%, #eff7fa 74.5% 76%, #fff 76.4%);
}
.hero-grid { display: grid; gap: clamp(24px, 4vw, 65px); grid-template-columns: 1fr 1fr; align-items: center; }
.top-copy { padding-bottom: 20px; }
.hero-label { color: var(--blue); font: 700 .67rem/1.6 system-ui, sans-serif; letter-spacing: .18em; margin-bottom: 19px; }
.top-copy h1 { margin-bottom: 22px; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 700; font-size: clamp(1.65rem, 3.55vw, 3.1rem); letter-spacing: -.065em; }
.top-copy h1 span { display: inline-block; }
.top-copy h1 span:last-child { color: var(--blue); }
.top-copy > p:last-child { font-size: clamp(.84rem, 1.23vw, 1rem); font-weight: 550; line-height: 1.95; }
.hero-photos { display: grid; gap: 9px; grid-template-columns: 1.15fr 1fr; grid-template-rows: repeat(12, 21px); }
.hero-photos img { height: 100%; object-fit: cover; }
.hero-main { grid-area: 1 / 1 / 8 / 2; object-position: 44% 52%; }
.hero-land { grid-area: 8 / 1 / 12 / 2; }
.hero-portrait { grid-area: 3 / 2 / 9 / 3; object-position: 50% 35%; }
.hero-desk { grid-area: 9 / 2 / 13 / 3; object-position: 55% 62%; }

.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; margin-bottom: -32px; }
.guide { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border: 1px solid #e9f1f4; box-shadow: 0 7px 22px #2343570b; padding: 12px 15px; text-decoration: none; }
.guide strong { font-size: .88rem; display: block; line-height: 1.45; }
.guide small { display: block; margin-top: .25em; color: var(--muted); font-size: .69rem; }
.green .arrow { background: var(--green); }
.guide:hover, .service-row:hover { background: #f5fafc; border-color: #85b6ce; }
.intro { background: linear-gradient(112deg, #e8f3fa, #edf7f3); padding: 99px 0 60px; }
.intro-inner { text-align: center; }
.intro h2 { font-size: clamp(1.55rem, 3vw, 2.4rem); }
.intro p { margin: 13px 0; color: var(--muted); }

.section { padding-block: clamp(48px, 7vw, 90px); }
.section-heading { margin-bottom: 25px; }
.section-heading h2 { font-size: clamp(1.48rem, 2.8vw, 2.16rem); }
.section-heading p { margin-top: 10px; color: var(--muted); }
.home .section > .section-heading, .home .section > .shell > .section-heading { text-align: center; margin-bottom: 32px; }
.pale { background: var(--pale); }
.feature { max-width: 880px; margin: 0 auto; padding: 20px 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(22px, 6vw, 65px); align-items: center; border-bottom: 1px solid var(--line); }
.feature h3, .category-card h3, .concerns h3 { font-size: clamp(1.13rem, 2.1vw, 1.48rem); }
.feature p, .category-card p { margin-top: 8px; color: var(--muted); }
.feature img { aspect-ratio: 2.05; object-fit: cover; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.category-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 5px 22px #23435707; }
.category-card img { aspect-ratio: 2.8; object-fit: cover; }
.category-card > div { padding: 20px 24px 24px; }
.category-card .text-link { margin-top: 14px; }
.text-link { display: inline-flex; align-items: center; gap: .75rem; color: var(--blue); text-underline-offset: .22em; font-size: .92rem; font-weight: 650; }
.text-link:hover { color: var(--ink); }
.concerns > div { background: #edf6fb; padding: 22px; }
.concerns > div:nth-child(2) { background: #edf7f3; }
.concern-link { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; margin-block: 10px; background: white; text-decoration: none; font-size: .9rem; align-items: center; }
.concern-link:hover { text-decoration: underline; }
.tag { color: var(--blue) !important; font-size: .78rem; font-weight: 700; margin: 0 0 6px !important; }
.faq details { border-bottom: 1px solid var(--line); max-width: 820px; margin: 0 auto; }
.faq summary { cursor: pointer; padding: 16px 6px; font-weight: 650; }
.faq details p { padding: 0 6px 14px; color: var(--muted); }
.contact-band { background: #213c58; color: white; padding: 46px 0; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.contact-inner h2 { font-size: clamp(1.25rem, 2.8vw, 1.8rem); margin-bottom: .45em; }
.contact-inner p { color: #e3edf5; }
.footer { background: #f6f8fa; }
.footer-inner { min-height: 110px; }

.breadcrumb { display: flex; align-items: center; gap: .65rem; padding: 14px 0; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.breadcrumb a { color: var(--blue); text-underline-offset: .2em; }
.inner-hero { background: linear-gradient(105deg, #edf6fb, #f8fbfc); padding: 44px 0; }
.inner-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 42px; align-items: center; }
.inner-hero h1 { font-size: clamp(1.85rem, 4.3vw, 3rem); letter-spacing: .015em; }
.inner-hero p { margin-top: 10px; color: var(--muted); max-width: 39em; }
.inner-hero img { aspect-ratio: 2.05; object-fit: cover; }
.directory { max-width: 920px; }
.service-group + .service-group { margin-top: 44px; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-row { border: 1px solid var(--line); padding: 14px 16px; background: #fff; display: flex; justify-content: space-between; align-items: center; gap: 10px; text-decoration: none; }
.service-row strong { display: block; font-size: 1rem; }
.row-description { display: block; color: var(--muted); font-size: .84rem; margin-top: 4px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, .35fr); gap: 44px; }
.detail-body section + section { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.detail-body ul, .detail-body ol, .directory ul { margin: 0; padding-left: 1.4em; }
.detail-body li + li, .directory li + li { margin-top: .5em; }
.detail-aside { align-self: start; padding: 18px; border: 1px solid var(--line); background: #f7fafc; }
.detail-aside nav { display: grid; gap: 8px; margin-bottom: 16px; }
.detail-aside nav a { color: var(--blue); text-underline-offset: .22em; font-size: .88rem; }
.notice { background: #edf6fa; padding: 18px; margin-bottom: 20px; }

@media (max-width: 900px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-photos { grid-template-rows: repeat(12, 15px); }
  .header nav, .footer nav { gap: 12px 18px; }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 36px); }
  .header-inner, .footer-inner { align-items: flex-start; flex-direction: column; padding: 13px 0; gap: 12px; }
  .logo { width: 114px; }
  .header nav, .footer nav { gap: 9px 13px; font-size: .75rem; }
  .button-small { font-size: .72rem; padding: 6px 10px; gap: 6px; }
  .top-hero { padding: 28px 0 34px; }
  .hero-grid, .inner-grid, .category-grid, .feature, .detail-layout, .service-list { grid-template-columns: 1fr; }
  .top-copy { padding-bottom: 0; }
  .hero-photos { grid-template-rows: repeat(12, 10px); gap: 6px; }
  .top-copy h1 { margin-bottom: 10px; }
  .desktop-break { display: none; }
  .guide-grid { gap: 7px; }
  .guide { min-height: 70px; padding: 7px 8px; }
  .guide strong { font-size: .75rem; }
  .guide small { font-size: .66rem; }
  .arrow { width: 1.45rem; height: 1.45rem; flex-basis: 1.45rem; }
  .intro { padding: 70px 0 42px; }
  .intro h2 { text-wrap: balance; }
  .intro p, .contact-inner p { font-size: .9rem; }
  .feature { gap: 13px; }
  .inner-hero { padding: 24px 0; }
  .inner-grid { gap: 16px; }
  .inner-hero img { aspect-ratio: 2.8; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { padding: 22px 0; }
}
