:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f3f9fd;
  --text: #102a43;
  --muted: #4f6475;
  --primary: #0068b7;
  --primary-dark: #004b8d;
  --accent: #00a6d6;
  --border: #d8e8f2;
  --radius: 18px;
  --max-width: 1120px;
  --font-sans: "Noto Sans JP", "BIZ UDPGothic", "BIZ UDPゴシック", Meiryo, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --external-link-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23004b8d' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3h7v7'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  background: var(--bg);
}

a { color: inherit; }
button, input, select, textarea { font-family: var(--font-sans); }

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 10;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--primary-dark);
  border-radius: 999px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  color: var(--text);
  background: #ffffff;
  border-top: 8px solid var(--primary);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 0 22px;
}

.site-title {
  display: flex;
  flex: 1 1 auto;
  gap: 14px;
  align-items: center;
  min-width: 280px;
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.site-title .jcg-mark {
  display: block;
  flex: 0 0 auto;
  width: clamp(48px, 5vw, 66px);
  height: clamp(48px, 5vw, 66px);
  object-fit: contain;
}

.primary-menu {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 0 0 12px;
}

.slogan-band {
  padding: 0 0 8px;
  background: #ffffff;
}

.slogan {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-content: center;
  min-height: 96px;
  margin: 0;
  padding: 22px 24px;
  color: var(--primary-dark);
  border-radius: 0;
}

.slogan::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
  background-image: url("./topbg2.jpg");
  background-image: image-set(url("./image/topbg2.webp") type("image/webp"), url("./topbg2.jpg") type("image/jpeg"));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1;
}

.slogan::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: rgba(0, 35, 85, 0.45);
}

.slogan span,
.slogan strong {
  position: relative;
  z-index: 2;
  display: block;
  color: #ffffff;
  font-weight: 700;
}

.slogan span {
  margin-bottom: 2px;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  letter-spacing: 0.08em;
}

.slogan strong {
  font-size: clamp(1.08rem, 2.5vw, 1.5rem);
  line-height: 1.35;
}

.priority { padding: 20px 0 0; }

.section-heading {
  max-width: 720px;
  margin-bottom: 12px;
}

.section-heading.compact { margin-bottom: 12px; }

h1, h2 {
  margin: 0;
  line-height: 1.25;
}

.section-heading h2 { font-size: clamp(1.28rem, 2.4vw, 1.85rem); }

.priority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.link-section,
.notice-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 75, 141, 0.08);
}

.priority-card.external-link { padding-right: 48px; }

.priority-card.external-link::after,
.link-list a.external-link::after {
  position: absolute;
  content: "";
  background-color: #ffffff;
  background-image: var(--external-link-icon);
  background-repeat: no-repeat;
  background-position: center;
  border: 1px solid rgba(0, 104, 183, 0.18);
  border-radius: 999px;
}

.priority-card.external-link::after {
  top: 9px;
  right: 9px;
  width: 24px;
  height: 24px;
  background-size: 13px 13px;
}

.layout { padding: 16px 0 0; }

.content-column {
  display: grid;
  gap: 14px;
}

.link-section { padding: 15px 16px; }

.link-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.link-list a {
  position: relative;
  display: block;
  padding: 8px 13px;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  background: var(--surface-soft);
  border: 1px solid #e1eef6;
  border-radius: 13px;
  transition: border-color 0.18s ease;
}

.link-list a:hover,
.link-list a:focus-visible {
  color: var(--primary-dark);
  background: var(--surface-soft);
  border-color: var(--primary);
  box-shadow: none;
}

.link-list a.external-link { padding-right: 42px; }

.link-list a.external-link::after {
  top: 7px;
  right: 8px;
  width: 23px;
  height: 23px;
  background-size: 12px 12px;
}

.link-list a.external-link:hover::after,
.link-list a.external-link:focus-visible::after {
  background-color: #ffffff;
  border-color: rgba(0, 104, 183, 0.26);
}

.site-footer {
  margin-top: 22px;
  padding: 16px 0;
  color: var(--primary-dark);
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.footer-inner p { margin: 0; }
.footer-inner a { color: var(--primary-dark); font-weight: 700; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: 10px;
}

@media (prefers-contrast: more) {
  a:focus-visible,
  button:focus-visible,
  [tabindex]:focus-visible {
    outline-color: #003f7a;
    outline-width: 4px;
  }
}

@media (max-width: 1000px) {
  .header-inner {
    display: grid;
    gap: 14px;
  }

  .primary-menu { justify-items: start; }
  .quick-nav { justify-content: flex-start; }
  .priority-grid { grid-template-columns: repeat(2, 1fr); }
  .link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.primary-menu { width: min(100% - 32px, var(--max-width)); }
.quick-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; width: 100%; align-items: stretch; }
.quick-nav a { display: grid; grid-template-rows: 58px minmax(2.6em, auto) 19px; align-content: center; justify-items: center; row-gap: 2px; width: 100%; min-width: 0; min-height: 112px; padding: 10px 7px; color: var(--primary-dark); font-weight: 700; text-align: center; text-decoration: none; background: #fff; border: 1px solid var(--border); border-radius: 3px; box-shadow: 0 6px 16px rgba(0,75,141,.08); }

.menu-pictogram, .menu-text, .menu-audience, .quick-nav a:not(:has(.menu-audience))::after { transform: translateY(14px); }
.menu-pictogram { grid-row: 1; align-self: center; display: inline-grid; place-items: center; width: 58px; height: 58px; padding: 0; overflow: visible; background: transparent; border: 0; }
.menu-pictogram img { display: block; width: 100%; height: 100%; object-fit: contain; }
.menu-text { grid-row: 2; align-self: center; display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 2.6em; margin-top: -8px; line-height: 1.3; overflow-wrap: anywhere; }
.menu-audience { grid-row: 3; align-self: center; display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 19px; margin-top: -24px; padding: 2px 6px; color: #5f4938; font-size: .64rem; font-weight: 700; line-height: 1.3; background: #fff4e8; border: 1px solid #edc7a4; border-radius: 3px; }
.quick-nav a:not(:has(.menu-audience))::after { grid-row: 3; display: block; width: 1px; height: 19px; content: ""; visibility: hidden; }

.priority-card, .priority-card:nth-child(1), .priority-card:nth-child(2), .priority-card:nth-child(3), .priority-card:nth-child(4) { --card-accent: var(--primary); --card-tint: #f3f9fd; --card-border: #c7ddea; position: relative; isolation: isolate; overflow: hidden; color: var(--text); text-decoration: none; display: grid; grid-template-rows: auto auto 1fr; gap: 9px; min-width: 0; min-height: 168px; padding: 22px 20px 20px; background: linear-gradient(180deg,#fff 0%,#fbfdff 100%); border: 1px solid var(--card-border); border-top: 5px solid #e3a66f; border-radius: 10px; box-shadow: 0 8px 22px rgba(0,75,141,.08); transition: border-color .18s ease, box-shadow .18s ease; }
.priority-card::before { display: none; }
.priority-card .card-label { width: fit-content; margin: 0; padding: 3px 9px; color: var(--primary-dark); font-size: .75rem; font-weight: 700; background: var(--surface-soft); border: 1px solid var(--border); border-radius: 4px; box-shadow: none; }
.priority-card strong { margin: 0; color: var(--primary-dark); font-weight: 800; line-height: 1.45; }
.priority-card span:last-child { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.priority-card:hover, .priority-card:focus-visible { border-color: #edc7a4; border-top-color: #cf8950; box-shadow: 0 10px 24px rgba(0,75,141,.11); transform: none; }

.site-notice { margin-top: 4px; margin-bottom: 12px; }
.site-notice-inner { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: stretch; overflow: hidden; background: #fff; border: 1px solid #edc7a4; border-radius: 6px; box-shadow: 0 5px 14px rgba(0,75,141,.06); }
.site-notice-label { display: flex; align-items: center; justify-content: center; min-width: 104px; margin: 0; padding: 11px 16px; color: #5f4938; font-size: .86rem; font-weight: 800; background: #fff1e3; border-right: 1px solid #edc7a4; }
.site-notice-content { display: block; min-width: 0; padding: 10px 16px; color: var(--text); }
.site-notice-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-notice-list li { position: relative; margin: 0; padding-left: 1.15em; line-height: 1.55; }
.site-notice-list li::before { position: absolute; top: 0; left: 0; content: "・"; font-weight: 700; }

@media (min-width: 641px) { .section-heading h2 { font-size: clamp(1.2rem, 1.8vw, 1.6rem); } }
@media (max-width: 1000px) { .quick-nav { grid-template-columns: repeat(3,minmax(0,1fr)); } .quick-nav a { min-height: 108px; } .menu-audience { font-size: .67rem; } }

@media (max-width: 640px) {
.container { width: min(100% - 24px, var(--max-width)); }
  .header-inner { padding: 18px 0 18px; }

  .slogan-band { padding-bottom: 8px; }
  .slogan { min-height: 88px; padding: 14px 16px; }
  .slogan span { margin-bottom: 2px; font-size: clamp(1.02rem, 5vw, 1.3rem); }
  .slogan strong { font-size: clamp(1.06rem, 5vw, 1.36rem); line-height: 1.42; }

  .primary-menu { justify-items: stretch; }

  .quick-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .quick-nav a { padding: 9px 10px; text-align: center; }
  .priority { padding-top: 18px; }
  .priority .section-heading { margin-bottom: 14px; }
  .priority-grid, .link-list { grid-template-columns: 1fr; }
  .priority-grid, .content-column { gap: 10px; }

  .priority-card {
    min-height: 110px;
    padding: 14px 15px 13px;
    border-top: 1px solid var(--card-border);
    border-left: 1px solid var(--card-border);
    border-radius: 18px;
    box-shadow: inset 5px 0 0 var(--card-accent), 0 8px 18px rgba(0, 75, 141, 0.08);
  }

  .priority-card:hover,
  .priority-card:focus-visible {
    box-shadow: inset 5px 0 0 var(--card-accent), 0 12px 24px rgba(0, 75, 141, 0.12);
  }

  .priority-card strong { font-size: 1.05rem; }
  .priority-card span:last-child { font-size: 0.9rem; }
  .priority-card.external-link { padding-top: 14px; padding-right: 48px; }
  .link-section, .notice-box { padding: 14px; }
  .link-list a.external-link { padding-right: 44px; }
  .link-list a.external-link::after { top: 8px; right: 9px; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  .footer-inner p {
    width: 100%;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .footer-inner a {
    display: inline-block;
    width: fit-content;
  }
.primary-menu { width: min(100% - 24px,var(--max-width)); }
  .quick-nav { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .quick-nav a {
    grid-template-rows: 58px minmax(2.6em,auto) 19px;
    min-height: 122px;
    padding: 10px 7px;
  }
  .menu-pictogram,
  .menu-text,
  .menu-audience,
  .quick-nav a:not(:has(.menu-audience))::after { transform: translateY(11px); }
  .menu-pictogram { width: 58px; height: 58px; }
  .menu-text { font-size: 0.96rem; }
  .menu-audience { min-height: 19px; padding: 2px 6px; font-size: 0.64rem; }
  .quick-nav a:not(:has(.menu-audience))::after { height: 19px; }
  .site-notice { margin-bottom: 10px; }
  .site-notice-inner { grid-template-columns: 1fr; }
  .site-notice-label { min-width: 0; padding: 6px 12px; justify-content: flex-start; border-right: 0; border-bottom: 1px solid #edc7a4; }
  .site-notice-content { padding: 9px 12px 10px; font-size: .9rem; }
body {
font-size: 1.08rem;
}
 
.slogan,
#priority-title {
font-size: revert;
}
 
.menu-text {
font-size: 1.05rem;
}
 
.menu-audience {
font-size: 0.74rem;
}
 
.section-heading h2 {
font-size: 1.45rem;
}
 
.priority-card strong {
font-size: 1.15rem;
}
 
.priority-card span:last-child,
.link-list a,
.site-notice-content {
font-size: 1.05rem;
}
 
.card-label {
font-size: 0.86rem;
}
.container,
  .primary-menu,
  .header-inner {
    width: calc(100% - 24px);
    max-width: var(--max-width);
  }

  .site-title {
    width: 100%;
    min-width: 0;
    gap: 8px;
    font-size: clamp(0.9rem, 4.5vw, 1.5rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
    white-space: nowrap;
  }

  .site-title span {
    min-width: 0;
    white-space: nowrap;
  }

  .site-title .jcg-mark {
    flex: 0 0 auto;
    width: 42px;
    height: auto;
  }

  .quick-nav,
  .priority-grid,
  .site-notice-inner,
  .footer-inner {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 360px) {
  .quick-nav a {
    grid-template-rows: 54px minmax(2.6em,auto) 19px;
    min-height: 118px;
    padding-inline: 5px;
  }
  .menu-pictogram { width: 54px; height: 54px; }
  .menu-text { font-size: 0.9rem; }
  .menu-audience { font-size: 0.61rem; }
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

*,
*::before,
*::after {
  min-width: 0;
}

img,
svg,
iframe {
  max-width: 100%;
}

.quick-nav a:focus-visible,
.quick-nav a[aria-current="page"] {
  color: var(--primary-dark);
  background: #fff;
  border-color: var(--primary);
  box-shadow: inset 0 0 0 2px var(--primary);
}

@media (hover: none) and (pointer: coarse) {
  .quick-nav a:active {
    color: var(--primary-dark);
    background: #fff;
    border-color: var(--primary);
    box-shadow: inset 0 0 0 2px var(--primary);
  }
}

@media (hover: hover) and (pointer: fine) {
  .quick-nav a:hover {
    color: var(--primary-dark);
    background: #fff;
    border-color: var(--primary);
    box-shadow: inset 0 0 0 2px var(--primary);
  }
}


/* Vertical spacing adjustment and in-page link support */
html {
  scroll-padding-top: 24px;
}

body {
  line-height: 1.72;
}

.priority {
  padding-top: 28px;
}

.priority .section-heading,
.section-heading.compact {
  margin-bottom: 16px;
}

.priority-grid {
  gap: 18px;
}

.priority-card {
  padding-top: 18px;
  padding-bottom: 18px;
}

.layout {
  padding-top: 24px;
  padding-bottom: clamp(200px, 42vh, 440px);
}

.content-column {
  gap: 20px;
}

.link-section {
  padding: 20px;
}

.link-list {
  gap: 10px;
}

.link-list a {
  padding-top: 11px;
  padding-bottom: 11px;
  line-height: 1.55;
}

.link-section[id] {
  scroll-margin-top: 24px;
}

.page-top-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--primary-dark);
  font-weight: 700;
}

.site-footer {
  margin-top: 0;
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (max-width: 720px) {
  body {
    line-height: 1.68;
  }

  .priority {
    padding-top: 22px;
  }

  .priority-grid,
  .content-column {
    gap: 16px;
  }

  .priority-card {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .layout {
    padding-top: 20px;
    padding-bottom: clamp(180px, 38vh, 340px);
  }

  .link-section {
    padding: 17px 16px;
  }

  .link-list {
    gap: 9px;
  }

  .link-list a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}
