:root {
  --blue: #1455ff;
  --blue-dark: #0a39d6;
  --cyan: #42b8ff;
  --ink: #17224d;
  --navy: #07196a;
  --muted: #66718f;
  --line: #dce4f3;
  --soft: #f4f9fc;
  --white: #fff;
  --title-gradient: linear-gradient(90deg, #41bfff 0%, #1455ff 92%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
  background: #f6fbff;
}

.sp-only {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 500px;
  padding: 42px 24px 138px;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 15%, rgba(85, 206, 255, 0.65), transparent 27%),
    linear-gradient(145deg, #31b9ff 0%, #1154ff 62%, #0b46ee 100%);
}

.nav {
  position: relative;
  display: flex;
  width: min(1200px, calc(100vw - 48px));
  min-height: 70px;
  margin: 0 auto 72px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 54px);
  padding: 0 clamp(24px, 4vw, 64px);
  color: #1d2a50;
  font-size: 13px;
  font-weight: 700;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(9, 58, 145, 0.14);
}

.nav-logo {
  display: block;
  flex: 0 0 auto;
  color: var(--navy);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1;
  font-weight: 900;
}

.nav-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.nav-toggle {
  position: relative;
  z-index: 4;
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px solid rgba(20, 85, 255, 0.18);
  border-radius: 999px;
  background: #f7fbff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 0.24s ease, opacity 0.18s ease;
}

.nav-links {
  position: absolute;
  z-index: 3;
  top: calc(100% + 12px);
  right: clamp(24px, 4vw, 64px);
  display: grid;
  align-items: center;
  min-width: 240px;
  padding: 12px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(20, 85, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(17, 51, 130, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s ease;
}

.nav-links a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
}

.nav-links a:hover {
  background: #f2f7ff;
}

.nav-toggle-input:checked ~ .nav-links {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-toggle-input:checked + .nav-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle-input:checked + .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-input:checked + .nav-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.eyebrow {
  display: inline-flex;
  min-height: 38px;
  margin: 0 0 22px;
  align-items: center;
  padding: 0 44px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 800;
  background: var(--white);
  border-radius: 999px;
}

h1 {
  max-width: 100%;
  margin: 0 auto;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.25;
  font-weight: 900;
  word-break: keep-all;
  overflow-wrap: normal;
}

.lead {
  margin: 28px 0 0;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 800;
  word-break: keep-all;
}

.target-wrap {
  margin-top: -80px;
  padding: 0 24px 84px;
  background: var(--white);
  border-radius: 28px 28px 0 0;
}

.target {
  position: relative;
  display: grid;
  width: min(1060px, 100%);
  margin: 0 auto;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: end;
  gap: 30px;
  padding-top: 54px;
}

.target-panel {
  display: grid;
  grid-template-columns: 128px 1fr;
  align-items: stretch;
  overflow: hidden;
  min-height: 205px;
  background: var(--white);
  border: 8px solid var(--blue);
  border-radius: 18px;
}

.target-panel h2 {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 26px;
  background: linear-gradient(90deg, #1455ff 0%, #1e6dff 100%);
}

.target-panel ul {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 30px 34px;
  font-weight: 800;
  line-height: 1.75;
}

.target-panel li {
  position: relative;
  padding-left: 32px;
}

.target-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 17px;
  height: 17px;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: inset 0 0 0 3px var(--white);
}

.section-illust {
  display: block;
  max-width: 100%;
  height: auto;
  user-select: none;
}

.target-illust {
  width: 148px;
  justify-self: center;
  transform: translateY(8px);
  z-index: 1;
}

.section {
  padding: 0 24px 112px;
  background: var(--white);
}

#amount {
  position: relative;
  isolation: isolate;
  padding-top: 84px;
  padding-bottom: 56px;
  background: transparent;
}

#amount::before {
  content: none;
}

.card {
  width: min(1200px, 100%);
  margin: 0 auto;
  background: var(--white);
  border-radius: 22px;
}

.text-card {
  padding: clamp(42px, 6vw, 82px) clamp(28px, 8vw, 150px);
  text-align: center;
  background: #f6fbff;
}

.text-card h2 {
  margin: 0 0 40px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.4;
}

.text-card p,
.amount-card p,
.flow-card p {
  margin: 0 auto 24px;
  max-width: 850px;
  font-weight: 700;
}

.text-card p {
  text-align: left;
}

.note {
  color: #e2293d;
  font-size: 13px;
}

.contact-section {
  position: relative;
  padding: 24px 24px 116px;
  text-align: center;
  background: var(--white);
}

.contact-visual {
  position: relative;
  z-index: 2;
  width: min(650px, 90vw);
  height: 250px;
  margin: 0 auto -34px;
  overflow: visible;
}

.family-illust {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(650px, 92vw);
  transform: translateX(-50%);
}

.contact-card {
  position: relative;
  z-index: 3;
  width: min(720px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 5px solid var(--blue);
  border-radius: 12px;
}

.contact-card h2 {
  margin: 0;
  padding: 19px 18px;
  color: var(--white);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.45;
  background: linear-gradient(90deg, #1455ff 0%, #1e6dff 100%);
}

.contact-card p {
  margin: 24px 24px 8px;
  font-weight: 800;
}

.tel-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.tel-row::before {
  content: "☎";
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: #f0ca22;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

.tel {
  display: inline-block;
  color: var(--blue);
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.1;
  font-weight: 900;
}

.free-dial {
  display: inline-flex;
  min-width: 92px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  color: var(--white);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 900;
  background: var(--blue);
  border-radius: 2px;
}

.hours {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 24px 30px;
}

.news {
  display: grid;
  width: min(1200px, calc(100% - 48px));
  margin: 88px auto 0;
  grid-template-columns: 300px 1fr;
  gap: 90px;
  padding: 0 0 96px;
  background: #f6fbff;
}

.section-heading span {
  display: block;
  color: transparent;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  font-weight: 500;
  background: var(--title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.section-heading h2 {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  font-weight: 900;
  word-break: keep-all;
}

.news-list article {
  display: grid;
  grid-template-columns: 112px max-content 1fr;
  gap: 16px;
  align-items: center;
  min-height: 86px;
  border-bottom: 1px solid #ccd7e8;
}

.news-list article:first-child {
  border-top: 1px solid #ccd7e8;
}

.news-list time {
  color: var(--muted);
  font-weight: 800;
}

.news-list span {
  display: inline-block;
  width: fit-content;
  justify-self: start;
  padding: 2px 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  border: 1px solid var(--blue);
  border-radius: 999px;
}

.news-list h3 {
  margin: 0;
  font-size: 16px;
}

.blue-band {
  position: relative;
  padding: 0 24px 112px;
  background: transparent;
}

#about {
  position: relative;
  isolation: isolate;
  background: #f6fbff;
}

#about::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 560px;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--blue);
}

.about-title,
.flow-title {
  position: relative;
  display: flex;
  width: min(900px, 100%);
  margin: 0 auto;
  align-items: end;
  justify-content: center;
  gap: 30px;
  padding: 0 0 24px;
}

.centered {
  text-align: center;
}

.about-title {
  min-height: 164px;
  padding-left: 0;
  align-items: center;
}

.about-illust {
  position: absolute;
  left: 20px;
  bottom: -10px;
  display: block;
  width: 150px;
}

.detail-card,
.amount-card,
.flow-card {
  padding: clamp(34px, 5vw, 62px);
  box-shadow: 0 18px 38px rgba(17, 51, 130, 0.06);
}

.detail-card h3,
.amount-card h2,
.flow-card .schedule {
  display: flex;
  min-height: 68px;
  margin: 0 0 34px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: clamp(20px, 2.4vw, 28px);
  background: linear-gradient(90deg, #1455ff 0%, #1e6dff 100%);
  border-radius: 8px;
  word-break: keep-all;
}

details {
  margin-bottom: 62px;
  background: #f7f8fb;
  border: 1px solid var(--line);
}

summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 22px 56px 22px 30px;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.detail-body {
  padding: 0 44px 30px;
  font-weight: 750;
}

.subhead {
  margin-top: 42px;
  color: transparent !important;
  background: transparent !important;
  background-image: var(--title-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.table-lead,
.table-notes {
  width: min(980px, 100%);
  margin: 0 auto 28px;
  padding-left: 1.35em;
  text-align: left;
  font-weight: 800;
}

.table-lead li,
.table-notes li {
  margin: 0 0 10px;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-color: var(--blue) #e8eef8;
}

.table-scroll::-webkit-scrollbar {
  height: 10px;
}

.table-scroll::-webkit-scrollbar-track {
  background: #e8eef8;
  border-radius: 999px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 999px;
}

.period-table {
  min-width: 1020px;
  table-layout: fixed;
  border: 2px solid #9fabbc;
}

.period-table th,
.period-table td {
  height: 78px;
  padding: 12px 10px;
  vertical-align: middle;
}

.period-table thead th {
  background: #2868f2;
}

.period-table thead th:first-child {
  width: 250px;
  background: #edf5fb;
  color: var(--ink);
}

.period-table tbody th {
  width: 250px;
  font-size: 13px;
  line-height: 1.65;
}

.period-table td {
  background: #f3f8fb;
}

.period-bar {
  position: relative;
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin: 0 10px 13px;
  color: #ef374b;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  background: var(--white);
  border: 2px solid #ff6b79;
}

.period-bar::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -15px;
  height: 15px;
  background: #fff236;
  clip-path: polygon(0 34%, 92% 34%, 92% 0, 100% 50%, 92% 100%, 92% 66%, 0 66%);
  filter: drop-shadow(0 0 0 #c5bd15);
}

.amount-card {
  position: relative;
  text-align: center;
  border-radius: 30px;
}

.amount-card h3 {
  margin: 0 0 36px;
  color: transparent;
  font-size: clamp(20px, 2.4vw, 28px);
  background: var(--title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.amount-grid {
  display: grid;
  gap: 38px;
  margin: 42px auto;
  max-width: 1000px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14px;
}

caption {
  margin-bottom: 12px;
  text-align: left;
  font-weight: 900;
}

th,
td {
  padding: 15px 12px;
  border: 1px solid #aeb9c9;
}

thead th {
  color: var(--white);
  background: #1e6dff;
}

tbody th {
  text-align: left;
  background: #f5f8fc;
}

.amount-table {
  min-width: 920px;
  table-layout: fixed;
  border: 2px solid #9fabbc;
}

.amount-table th,
.amount-table td {
  text-align: center;
  vertical-align: middle;
}

.amount-table thead th {
  line-height: 1.55;
}

.amount-table thead th:first-child,
.amount-table tbody th {
  width: 190px;
}

.amount-table thead th:nth-child(2) {
  width: 220px;
}

.amount-table tbody th {
  line-height: 1.65;
}

.amount-notes {
  max-width: 960px;
  color: var(--ink);
  font-size: 14px;
}

.flow {
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding-top: 96px;
  background: #f6fbff;
}

.flow::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 515px;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--blue);
}

.flow-title {
  z-index: 2;
  min-height: 150px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 0 0 24px;
}

.flow .section-heading span {
  font-size: clamp(58px, 5vw, 80px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
  background: linear-gradient(90deg, #41bfff 0%, #1455ff 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.flow .section-heading h2 {
  margin-top: 28px;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.25;
}

.flow-illust {
  position: absolute;
  z-index: 3;
  top: 92px;
  right: calc(50% - 360px);
  width: 230px;
  margin-top: 0;
}

.flow-card {
  position: relative;
  z-index: 1;
  overflow: visible;
  width: min(1200px, 100%);
  margin-top: 38px;
  padding-top: 72px;
  border-radius: 48px 48px 22px 22px;
}

.flow-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 58px;
  border: 2px solid var(--blue);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.flow-columns article {
  padding: 42px 44px 38px;
}

.flow-columns article + article {
  border-left: 2px solid var(--blue);
}

.flow-columns h3 {
  display: flex;
  min-height: 92px;
  margin: -42px -44px 32px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--white);
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(90deg, #1455ff 0%, #1e6dff 100%);
  word-break: keep-all;
}

.flow-columns p {
  max-width: none;
  margin: 0;
  text-align: left;
  font-size: 16px;
  line-height: 2;
  font-weight: 800;
}

.flow-columns .flow-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.75;
  font-weight: 800;
}

.text-alert {
  color: #ff3346;
}

.flow-card .schedule {
  margin-top: 24px;
  margin-bottom: 22px;
}

.flow-card > p {
  max-width: none;
  margin: 0;
  text-align: left;
  font-weight: 800;
  line-height: 2.1;
}

@media (max-width: 900px) {
  .nav {
    min-height: auto;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 22px;
    border-radius: 999px;
  }

  .nav-logo {
    font-size: 20px;
  }

  .nav-links {
    right: 22px;
    width: min(280px, calc(100vw - 44px));
  }

  .target {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
  }

  .target-illust {
    width: min(115px, 31vw);
    transform: translateY(4px);
  }

  .target-panel {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .target-panel h2 {
    min-height: 72px;
  }

  .news {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 36px;
    padding-bottom: 72px;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 20px 0;
  }

  .blue-band {
    background: transparent;
  }

  #about {
    background: transparent;
  }

  #about::before {
    content: none;
  }

  #amount::before {
    content: none;
  }

  .about-title {
    min-height: 138px;
    padding-top: 12px;
  }

  .about-illust {
    display: none;
  }

  .flow-title {
    min-height: 180px;
    padding-right: 0;
  }

  .flow {
    overflow: hidden;
    padding-top: 72px;
    background: transparent;
  }

  .flow::before {
    content: none;
  }

  .flow-illust {
    position: static;
    width: min(160px, 34vw);
    margin-top: 4px;
  }

  .flow-columns {
    grid-template-columns: 1fr;
  }

  .flow-columns article + article {
    border-top: 2px solid var(--blue);
    border-left: 0;
  }

  .flow-columns {
    margin: 0 0 42px;
  }

  .flow-card {
    width: min(1200px, 100%);
    margin-top: 0;
    padding-top: 42px;
  }

  .flow-columns h3 {
    font-size: clamp(17px, 4.1vw, 24px);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

  .sp-only {
    display: block;
  }

  .hero {
    min-height: 430px;
    padding-inline: 16px;
  }

  .eyebrow {
    padding: 0 16px;
    font-size: 12px;
    white-space: nowrap;
  }

  .nav {
    width: min(100%, calc(100vw - 24px));
    gap: 12px;
    padding: 14px 16px;
  }

  .nav-logo {
    font-size: 17px;
  }

  .nav-links {
    right: 16px;
    width: min(260px, calc(100vw - 32px));
    font-size: 11px;
    line-height: 1.4;
  }

  h1 {
    font-size: clamp(30px, 8vw, 36px);
    line-height: 1.35;
  }

  .lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .target-wrap,
  .section,
  .contact-section,
  .blue-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .news {
    gap: 16px;
    margin-top: 76px;
  }

  .target-panel ul {
    padding: 24px;
  }

  .detail-card,
  .amount-card,
  .flow-card {
    padding: 26px 18px;
    border-radius: 14px;
  }

  #amount {
    padding-top: 54px;
    padding-bottom: 42px;
  }

  .amount-card {
    border-radius: 18px;
  }

  .about-title,
  .flow-title {
    align-items: center;
  }

  .contact-visual {
    width: 100%;
    height: 145px;
    margin-bottom: -22px;
  }

  .family-illust {
    width: 390px;
    max-width: none;
  }

  .contact-card h2 {
    font-size: 15px;
    line-height: 1.55;
  }

  .contact-card p {
    margin-inline: 16px;
    font-size: 12px;
    line-height: 1.8;
  }

  .tel-row {
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .tel-row::before {
    width: 24px;
    height: 24px;
    border-width: 3px;
    box-shadow: inset 0 0 0 4px var(--white);
  }

  .free-dial {
    min-width: 76px;
    min-height: 36px;
    font-size: 10px;
  }

  .about-title {
    min-height: 128px;
    padding-top: 8px;
  }

  .about-illust {
    display: none;
  }

  .flow-title {
    min-height: 166px;
  }

  .flow::before {
    content: none;
  }

  .flow-illust {
    position: static;
    width: 118px;
  }

  .flow-card {
    width: 100%;
    padding-top: 34px;
  }

  .flow-columns article {
    padding: 30px 20px 28px;
  }

  .flow-columns h3 {
    min-height: 66px;
    margin: -30px -20px 24px;
    padding: 14px 8px;
    font-size: 17px;
  }

  .flow-columns p {
    font-size: 13px;
    line-height: 1.85;
  }

  .flow-columns .flow-note {
    font-size: 11px;
  }

  .tel {
    font-size: clamp(30px, 9vw, 38px);
  }
}

/* WordPress共通ヘッダー（header.php） */
.site-header {
  position: absolute;
  top: 42px;
  right: 0;
  left: 0;
  z-index: 20;
  padding: 0 24px;
}

.site-header .nav {
  margin-bottom: 0;
}

.hero {
  padding-top: 184px;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 178px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 16px;
  }

  .hero {
    padding-top: 170px;
  }
}

/* 下層ページヘッダー帯 */
.page-header {
  margin-bottom: 70px;
  padding: 184px 24px 0;
  background: var(--white);
  border-radius: 0 0 50px 50px;
}

.page-header-inner {
  display: flex;
  align-items: center;
  gap: 0 45px;
  width: min(1060px, 100%);
  min-height: 190px;
  margin: 0 auto;
}

.page-header-inner hgroup {
  margin: 0;
}

.page-header-inner h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.page-header-inner p {
  margin: 0;
  color: transparent;
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 1.4;
  font-weight: 600;
  background: var(--title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
}

.page-header-inner img {
  width: auto;
  height: clamp(70px, 12vw, 139px);
}

/* お知らせ 一覧・個別 */
.news-contents {
  padding: 0 24px 100px;
}

.news-contents-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 50px 36px;
  width: min(1300px, 100%);
  margin: 0 auto;
  padding: 80px 70px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 18px 38px rgba(17, 51, 130, 0.06);
}

.news-contents-inner.single {
  display: block;
}

.news-nav ul {
  display: grid;
  gap: 24px;
  min-width: 160px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-nav a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.news-nav a:hover,
.news-nav a.current {
  color: var(--blue);
}

.news-index {
  width: 100%;
  max-width: 825px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  border-top: 1px solid #ccd7e8;
}

.news-index li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px 27px;
  padding: 29px 0;
  border-bottom: 1px solid #ccd7e8;
}

.news-index li.no-post {
  display: block;
  font-weight: 800;
}

.news-index .date,
.news-article-info .date {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.news-index .tag,
.news-article-info .tag {
  justify-self: left;
  padding: 6px 16px;
  background: var(--blue);
  border-radius: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.news-index .tag.locations,
.news-article-info .tag.locations {
  background: #e2293d;
}

.news-index a {
  grid-column: span 2;
  max-width: max-content;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.news-index a:hover {
  opacity: 0.7;
}

.news-pagination {
  grid-column: span 2;
}

.news-pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-pagination li {
  width: 48px;
  list-style: none;
  text-align: center;
  font-size: 16px;
}

.news-pagination a {
  color: var(--blue);
  font-weight: 800;
}

.news-pagination a:hover {
  opacity: 0.7;
}

.news-pagination span.current {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  background: var(--blue);
  border-radius: 50%;
  color: var(--white);
  font-weight: 800;
}

.news-article {
  width: min(825px, 100%);
  margin: 0 auto;
}

.news-article-info {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px 27px;
  margin-bottom: 54px;
  padding: 29px 0;
  border-top: 1px solid #ccd7e8;
  border-bottom: 1px solid #ccd7e8;
}

.news-article-info h2 {
  grid-column: span 2;
  max-width: max-content;
  margin: 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 800;
}

.news-article-body {
  margin-bottom: 60px;
}

.news-article-body p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.8;
}

.news-article-body img {
  max-width: 100%;
  height: auto;
}

/* 共通ボタン */
.common-button {
  display: flex;
  justify-content: center;
  width: 270px;
  margin: 0 auto;
  padding-left: 22px;
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 999px;
  color: var(--white);
  text-align: left;
  transition: all 0.4s;
}

.common-button span {
  position: relative;
  display: flex;
  align-items: center;
  height: 80px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.common-button span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -22px;
  width: 8px;
  aspect-ratio: 1;
  background: var(--white);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: all 0.4s;
}

.common-button:hover {
  background: var(--white);
  color: var(--blue);
}

.common-button:hover span::before {
  background: var(--blue);
}

.news .common-button {
  grid-column: 2;
  margin: 40px auto 0;
}

/* 共通フッター（footer.php） */
.site-footer {
  padding: 26px 16px;
  background: var(--blue);
  text-align: center;
}

.site-footer small {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .page-header {
    margin-bottom: 48px;
    padding-top: 178px;
  }

  .page-header-inner {
    gap: 0 24px;
    min-height: 150px;
  }

  .news-contents-inner {
    display: block;
    padding: 56px 28px;
  }

  .news-nav {
    margin-bottom: 40px;
  }

  .news-nav ul {
    gap: 18px;
  }

  .news-index {
    max-width: none;
    margin: 0 0 48px;
  }

  .news .common-button {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .page-header {
    padding: 170px 16px 0;
    border-radius: 0 0 28px 28px;
  }

  .news-contents {
    padding: 0 16px 72px;
  }

  .news-contents-inner {
    padding: 40px 18px;
    border-radius: 14px;
  }

  .news-index li {
    gap: 12px 14px;
    padding: 20px 0;
  }

  .news-index .date,
  .news-article-info .date {
    font-size: 13px;
  }

  .news-index .tag,
  .news-article-info .tag {
    padding: 4px 12px;
    font-size: 12px;
  }

  .news-index a {
    font-size: 15px;
  }

  .news-pagination li {
    width: 40px;
    font-size: 14px;
  }

  .news-article-info {
    gap: 12px 14px;
    margin-bottom: 36px;
    padding: 20px 0;
  }

  .news-article-info h2 {
    font-size: 17px;
  }

  .news-article-body p {
    font-size: 14px;
  }

  .common-button {
    width: min(280px, 100%);
  }

  .common-button span {
    height: 64px;
    font-size: 15px;
  }
}
