:root {
  --navy: #10263A;
  --blue: #0B5FA5;
  --blue-dark: #084A82;
  --sky: #49BEE1;
  --sky-soft: #E8F6FB;
  --sky-line: #B9E3F2;
  --text: #1F2D3A;
  --muted: #4F6172;
  --line: #D3DEE8;
  --bg-soft: #E8F6FB;
  --focus: #E59A00;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--text);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.inner { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.site-header { border-top: 4px solid var(--sky); border-bottom: 1px solid var(--line); }
.site-header .inner { height: 72px; display: flex; align-items: center; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; width: 290px; max-width: 70vw; height: auto; }

/* メインビジュアル（画像1枚・スライダーなし） */
.hero { position: relative; height: 440px; background: #5B7C93; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,28,46,0) 40%, rgba(8,28,46,0.65) 100%); }
.hero h1 {
  position: absolute; left: 0; right: 0; bottom: 36px; z-index: 1; margin: 0; padding: 0 20px;
  text-align: center; color: #FFFFFF; font-size: 56px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero h1 small { font-size: 0.7em; letter-spacing: 0.1em; }

/* お知らせ文 */
.notice { padding: 48px 0 8px; text-align: center; }
.notice p { margin: 0; font-size: 17px; line-height: 2; }

/* リンク */
.links { padding: 40px 0 16px; }
.section-title { margin: 0 0 20px; font-size: 20px; color: var(--navy); text-align: center; letter-spacing: 0.08em; }
.section-title::after { content: ""; display: block; width: 40px; height: 3px; margin: 10px auto 0; background: var(--sky); border-radius: 2px; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.link-card {
  display: flex; flex-direction: column; gap: 6px; height: 100%; min-height: 128px;
  padding: 22px 22px 20px; border: 2px solid var(--sky); border-top-width: 6px; border-radius: 12px;
  background: #FFFFFF; color: var(--navy); text-decoration: none;
  transition: background-color .2s;
}
.link-card:hover { background: var(--bg-soft); color: var(--navy); }
.link-card .label { font-size: 18px; font-weight: 700; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.link-card .desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.link-card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--blue); }
.link-card .go svg { width: 16px; height: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* お問い合わせ */
.contact { padding: 40px 0 72px; }
.contact-box { background: var(--bg-soft); border-radius: 12px; padding: 28px 24px; text-align: center; }
.contact-box .lead { margin: 0 0 16px; font-weight: 700; color: var(--navy); }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
.contact-list li { display: flex; align-items: baseline; gap: 10px; }
.contact-list .k { font-size: 14px; font-weight: 700; color: var(--muted); }
.contact-list .v { font-size: 22px; font-weight: 700; letter-spacing: 0.04em; }
.contact-list .v.plain { color: var(--text); }
.contact-list a.v { text-decoration: none; }
.contact-list a.v:hover { text-decoration: underline; }

/* フッター */
.site-footer { background: var(--sky); color: var(--navy); }
.site-footer .inner { padding: 36px 20px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }

.site-footer address { margin: 14px 0 0; font-style: normal; font-size: 14px; line-height: 1.9; color: var(--navy); }
.site-footer a { color: var(--navy); }
.copy { margin: 0; font-size: 12px; color: var(--navy); }

@media (max-width: 760px) {
    .hero h1 { font-size: 34px; bottom: 24px; }
  .notice { padding-top: 36px; text-align: left; }
  .notice p { font-size: 16px; }
  .notice br { display: none; }
  .link-list { grid-template-columns: 1fr; }
  .link-card { min-height: 0; }
  .contact-list { flex-direction: column; align-items: center; }
  .hero { height: 260px; }
}
@media (prefers-reduced-motion: reduce) { .link-card { transition: none; } }

/* 下層ページ */
.page-head { background: var(--sky-soft); border-bottom: 1px solid var(--sky-line); }
.page-head .inner { padding: 36px 20px 32px; }
.breadcrumb { margin: 0 0 6px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.page-head h1 { margin: 0; font-size: 28px; color: var(--navy); letter-spacing: 0.06em; line-height: 1.4; }
.page-body { padding: 36px 0 24px; }
.page-body .intro { margin: 0 0 20px; }
.form-frame { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #FFFFFF; }
.form-frame iframe { display: block; width: 100%; height: 1000px; border: 0; }
.form-alt { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.back { margin: 32px 0 0; }
.back a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; }
@media (max-width: 760px) {
  .page-head h1 { font-size: 22px; }
  .form-frame iframe { height: 1500px; }
}
