:root {
  --blue: #a32126;
  --blue-dark: #871a1d;
  --cyan: #c75d61;
  --ink: #522c2d;
  --navy: #6d1619;
  --muted: #947f80;
  --line: #e0cfd0;
  --soft: #f8f1f1;
  --white: #fff;
  --title-gradient: linear-gradient(90deg, #cc666a 0%, #a32126 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: #f8f1f1;
}

.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(214,110,113,0.6), transparent 27%),
    linear-gradient(145deg, #d05054 0%, #b22025 62%, #97181c 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: #532e2f;
  font-size: 13px;
  font-weight: 700;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(140,16,20,0.16);
}

.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(162,33,38,0.22);
  border-radius: 999px;
  background: #f8f1f1;
  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(162,33,38,0.16);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(135,26,29,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: #f4eded;
}

.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: 22px;
  background: linear-gradient(90deg, #a32126 0%, #c02a2f 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(1400px, 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: #f8f1f1;
}

.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, #a32126 0%, #c02a2f 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: #f8f1f1;
}

.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 #e0cfd0;
}

.news-list article:first-child {
  border-top: 1px solid #e0cfd0;
}

.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: #f8f1f1;
}

#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: 250px;
}

.detail-card,
.amount-card,
.flow-card {
  padding: clamp(34px, 5vw, 62px);
  box-shadow: 0 18px 38px rgba(135,26,29,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, #a32126 0%, #c02a2f 100%);
  border-radius: 8px;
  word-break: keep-all;
}

details {
  margin-bottom: 62px;
  background: #f6eeee;
  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) #efe2e2;
}

.table-scroll::-webkit-scrollbar {
  height: 10px;
}

.table-scroll::-webkit-scrollbar-track {
  background: #efe2e2;
  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 #bca6a7;
}

.period-table th,
.period-table td {
  height: 78px;
  padding: 12px 10px;
  vertical-align: middle;
}

.period-table thead th {
  background: #b22b2f;
}

.period-table thead th:first-child {
  width: 250px;
  background: #f2e8e8;
  color: var(--ink);
}

.period-table tbody th {
  width: 250px;
  font-size: 13px;
  line-height: 1.65;
}

.period-table td {
  background: #f6eeee;
}

.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 #c6b3b4;
}

thead th {
  color: var(--white);
  background: #c02a2f;
}

tbody th {
  text-align: left;
  background: #f6eeee;
}

.amount-table {
  min-width: 920px;
  table-layout: fixed;
  border: 2px solid #bca6a7;
}

.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: #f8f1f1;
}

.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, #cc666a 0%, #a32126 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, #a32126 0%, #c02a2f 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(135,26,29,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 #e0cfd0;
}

.news-index li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px 27px;
  padding: 29px 0;
  border-bottom: 1px solid #e0cfd0;
}

.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 #e0cfd0;
  border-bottom: 1px solid #e0cfd0;
}

.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;
  }
}
/* ===== ナビロゴ: 市章＋テキストのロックアップ（2026-07-08追加） =====
   styles.css の末尾にこのままコピーして貼り付けてください。 */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.nav-logo-mark {
  display: block;
  width: auto;
  height: clamp(34px, 4.6vw, 44px);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.nav-logo-city {
  font-size: clamp(11px, 1.3vw, 13px);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.nav-logo-title {
  font-size: clamp(15px, 1.9vw, 20px);
  font-weight: 900;
  letter-spacing: 0.02em;
}

@media (max-width: 374px) {
  .nav-logo { gap: 8px; }
  .nav-logo-mark { height: 30px; }
  .nav-logo-title { font-size: 14px; }
}

/* ========================================
   イラストを使用しないレイアウト
======================================== */

/* 対象 */
.target-wrap.is-image-free .target {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.target-wrap.is-image-free .target-panel {
  width: 100%;
  max-width: 100%;
  margin: 0;
  flex: none;
  box-sizing: border-box;
}

/* お問い合わせ */
.contact-section.is-image-free {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.contact-section.is-image-free .contact-card {
  width: min(100%, 960px);
  max-width: 100%;
  margin: 0 auto;
  flex: none;
  box-sizing: border-box;
}

/* 追加給付の概要 */
.about-title.is-image-free {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.about-title.is-image-free .section-heading {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

/* スマートフォン */
@media (max-width: 767px) {
  .contact-section.is-image-free .contact-card {
    width: 100%;
  }
}

/* 右下フローティングボタン：styles.css の一番下に貼り付け */
/* 既存サイトの styles.css の末尾へ移動して使用できます。 */
.floating-actions {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: grid;
  gap: 10px;
  width: min(232px, calc(100vw - 32px));
  font-family: inherit;
  pointer-events: none;
}

.floating-actions[hidden] {
  display: none;
}

.floating-actions__close {
  position: absolute;
  top: -50px;
  right: -10px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--blue-dark, #871a1d);
  font: 800 22px/1 system-ui, sans-serif;
  background: #fff;
  border: 2px solid var(--blue-dark, #871a1d);
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(109,22,25,0.24);
  cursor: pointer;
  pointer-events: auto;
}

.floating-action {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 6px;
  min-height: 68px;
  padding: 10px 12px;
  border: 2px solid;
  border-radius: 18px;
  box-sizing: border-box;
  color: inherit;
  width: 100%;
  font: inherit;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(109,22,25,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  pointer-events: auto;
}

button.floating-action {
  cursor: pointer;
}

.floating-action--apply {
  color: #fff;
  background: var(--blue-dark, #871a1d);
  border-color: #fff;
}

.floating-action--faq {
  color: var(--blue-dark, #871a1d);
  background: #fff;
  border-color: var(--blue-dark, #871a1d);
}

.floating-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(109,22,25,0.3);
}

.floating-action:focus-visible {
  outline: 3px solid #f6c344;
  outline-offset: 3px;
}

.floating-actions__close:focus-visible {
  outline: 3px solid #f6c344;
  outline-offset: 2px;
}

.floating-action__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
}

.floating-action--faq .floating-action__icon {
  background: var(--soft, #f8f1f1);
}

.floating-action__icon svg {
  width: 25px;
  height: 25px;
}

.floating-action__label {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.floating-action__kicker {
  font-size: 10px;
  font-weight: 700;
}

.floating-action__label strong {
  font-size: 14px;
  font-weight: 800;
}

.floating-action__arrow {
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

/* Tayori標準の小さな起動ボタンは隠し、サイト独自のFAQボタンだけを表示します。 */
#tayori-ai-chatbot-app > [class^="tayori-ai-chatbot-app-tayori-ai-chatbot-"] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 560px) {
  .floating-actions {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    gap: 8px;
    width: min(360px, calc(100vw - 24px));
  }

  .floating-action {
    grid-template-columns: 40px minmax(0, 1fr) 16px;
    gap: 6px;
    min-height: 60px;
    padding: 8px 12px;
    border-radius: 16px;
  }

  .floating-action__icon {
    width: 40px;
    height: 40px;
  }

  .floating-action__icon svg {
    width: 23px;
    height: 23px;
  }

  .floating-action__kicker {
    font-size: 10px;
  }

  .floating-action__label strong {
    font-size: 14px;
  }

  .floating-action__arrow {
    font-size: 17px;
  }

  .floating-actions__close {
    top: -50px;
    right: -6px;
  }

  /* 最下部でフッターの文字と固定ボタンが重なるのを防ぐ */
  .site-footer {
    padding-bottom: calc(148px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 374px) {
  .floating-actions {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    width: calc(100vw - 16px);
  }

  .floating-action {
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    gap: 8px;
    padding-inline: 10px;
  }

  .floating-action__icon {
    width: 38px;
    height: 38px;
  }

  .floating-action__label strong {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-action {
    transition: none;
  }
}

/* Tayoriチャットを右下に固定 */
#tayori-ai-chatbot-app {
  top: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  margin-top: 0 !important;
  margin-right: 20px !important;
  margin-bottom: 20px !important;
  margin-left: 0 !important;
}

/*
  先方追加要望対応
  すべての既存CSSより後、一番下へ貼り付けてください。
*/

/* FAQ追従ボタンを大きくする */
.floating-action--faq {
  min-height: 78px;
  border-width: 3px;
}

.floating-action--faq .floating-action__kicker {
  font-size: 12px;
}

.floating-action--faq .floating-action__label strong {
  font-size: 18px;
}

/* 薄いグレー文字を通常の本文色へ変更 */
main.flyer-lp .flyer-small-notes li,
main.flyer-lp .flyer-note-line,
main.flyer-lp .check-list .flyer-small-notes li,
main.flyer-lp .check-list.is-blue span,
main.flyer-lp .flyer-notes,
main.flyer-lp .document-cautions,
main.flyer-lp .flyer-contact .contact-note,
main.flyer-lp .table-swipe-note {
  color: var(--ink, #522c2d);
}

/* 申出受付窓口を高齢者にも読みやすい大きさへ変更 */
main.flyer-lp .counter-location h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.45;
}

main.flyer-lp .counter-location p {
  margin-top: 10px;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.9;
}

main.flyer-lp .counter-location p strong {
  font-size: 1.1em;
}

@media (min-width: 601px) and (max-width: 1024px) {
  body:has(main.flyer-lp) .floating-action--faq {
    min-height: 64px;
    border-width: 3px;
  }

  body:has(main.flyer-lp) .floating-action--faq .floating-action__kicker {
    font-size: 10px;
  }

  body:has(main.flyer-lp) .floating-action--faq .floating-action__label strong {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  body:has(main.flyer-lp) .floating-action--faq {
    min-height: 60px;
    border-width: 3px;
  }

  body:has(main.flyer-lp) .floating-action--faq .floating-action__kicker {
    display: block;
    font-size: 9px;
    line-height: 1.2;
  }

  body:has(main.flyer-lp) .floating-action--faq .floating-action__label strong {
    font-size: 14px;
    line-height: 1.25;
  }

  main.flyer-lp .counter-location h3 {
    font-size: 1.4rem;
  }

  main.flyer-lp .counter-location p {
    font-size: 1.08rem;
    line-height: 1.9;
  }
}


/* =========================================================
   スマホ本文幅の最適化（2026-07-17）
   PC・タブレットには影響させず、600px以下だけを調整
   ========================================================= */
@media (max-width: 600px) {
  /* セクションの左右余白を統一 */
  body:has(main.flyer-lp) main.flyer-lp > .target-wrap,
  body:has(main.flyer-lp) main.flyer-lp > .flyer-section,
  body:has(main.flyer-lp) main.flyer-lp > .flyer-band,
  body:has(main.flyer-lp) main.flyer-lp > .blue-band,
  body:has(main.flyer-lp) main.flyer-lp > .contact-section {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  /* カード外側の余白をなくし、本文領域を広げる */
  body:has(main.flyer-lp) main.flyer-lp .flyer-card,
  body:has(main.flyer-lp) main.flyer-lp .target {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  /* カード内側は読みやすさを保てる16pxに統一 */
  body:has(main.flyer-lp) main.flyer-lp .flyer-card {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  /* 表のスクロール表示領域をカード幅いっぱいに広げる */
  body:has(main.flyer-lp) main.flyer-lp .overview-table-scroll {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 追従ボタンは2つを同じ大きさに保ち、高さの占有を抑える */
  body:has(main.flyer-lp) .floating-actions {
    right: 8px !important;
    left: 8px !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    width: auto !important;
    gap: 8px !important;
  }

  body:has(main.flyer-lp) .floating-action,
  body:has(main.flyer-lp) .floating-action--apply,
  body:has(main.flyer-lp) .floating-action--faq {
    grid-template-columns: 36px minmax(0, 1fr) 12px !important;
    gap: 4px !important;
    height: 76px !important;
    min-height: 76px !important;
    padding: 8px !important;
  }

  body:has(main.flyer-lp) .floating-action__icon {
    width: 36px !important;
    height: 36px !important;
  }

  body:has(main.flyer-lp) .floating-action__icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  body:has(main.flyer-lp) .floating-action__kicker {
    font-size: 9px !important;
    line-height: 1.2 !important;
  }

  body:has(main.flyer-lp) .floating-action__label strong {
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  body:has(main.flyer-lp) .floating-actions__close {
    top: -42px !important;
    right: 0 !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
  }
}



/* スマホ主要カード個別指定の補正（2026-07-17） */
@media (max-width: 600px) {
/* ページ内CSSで個別指定されている主要カードも同じ幅に統一 */
  body:has(main.flyer-lp) main.flyer-lp #amount .amount-card.flyer-card,
  body:has(main.flyer-lp) main.flyer-lp #application .application-card.flyer-card,
  body:has(main.flyer-lp) main.flyer-lp #documents .documents-card.flyer-card,
  body:has(main.flyer-lp) main.flyer-lp .flyer-contact > .contact-card-list,
  body:has(main.flyer-lp) main.flyer-lp .flyer-contact > .counter-location {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  body:has(main.flyer-lp) main.flyer-lp #amount .amount-card.flyer-card,
  body:has(main.flyer-lp) main.flyer-lp #application .application-card.flyer-card,
  body:has(main.flyer-lp) main.flyer-lp #documents .documents-card.flyer-card {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }
}


/* =====================================================
   コンテンツ用CSS(LP本文セクション)
   ===================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

.flyer-hero {
  padding-bottom: 72px;
}

.flyer-hero .eyebrow {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.flyer-hero h1 {
  max-width: 1000px;
  margin-right: auto;
  margin-left: auto;
}

.flyer-hero .lead {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  line-height: 1.9;
}

.flyer-alert-wrap {
  width: min(1120px, calc(100% - 48px));
  margin: -38px auto 64px;
  position: relative;
  z-index: 2;
}

.flyer-alert {
  padding: 24px 32px;
  color: #8c1d18;
  text-align: center;
  background: #fff7f5;
  border: 3px solid #d83b32;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(77, 28, 21, 0.12);
}

.flyer-alert p {
  margin: 0;
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  font-weight: 700;
  line-height: 1.65;
}

.flyer-alert p + p {
  margin-top: 4px;
}

.target-wrap#target {
  scroll-margin-top: 88px;
}

.target-wrap#target .target-panel li {
  line-height: 1.9;
}

.target-wrap#target .target-panel li + li {
  margin-top: 14px;
}

.flyer-section,
.flyer-band,
.flyer-contact {
  scroll-margin-top: 88px;
}

.flyer-section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.flyer-band {
  padding-top: 92px;
  padding-bottom: 104px;
  background: var(--soft, #f8f1f1);
}

.flyer-card {
  padding: 40px;
  box-sizing: border-box;
  box-shadow: 0 18px 48px rgba(135,26,29,0.1);
}

.flyer-heading {
  margin-bottom: 36px;
}

.flyer-heading > span {
  display: block;
  margin-bottom: 6px;
  color: var(--cyan, #c75d61);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.flyer-heading h2 {
  margin: 0;
}

.amount-card.flyer-card > h3 {
  margin: 0 0 28px;
  color: var(--navy, #6d1619);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.flyer-table-scroll {
  margin-top: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
}

.table-swipe-note {
  display: none;
}

.flyer-table-scroll:focus-visible,
.overview-table-scroll:focus-visible {
  outline: 3px solid #ae3236;
  outline-offset: 4px;
}

.flyer-amount-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.flyer-amount-table th,
.flyer-amount-table td {
  padding: 18px 16px;
  border: 1px solid #ceb8b9;
  line-height: 1.55;
  text-align: center;
  vertical-align: middle;
}

.flyer-amount-table thead th {
  color: #fff;
  background: var(--blue, #a32126);
}

.flyer-amount-table thead th:first-child {
  width: 28%;
}

.flyer-amount-table tbody th {
  color: var(--navy, #6d1619);
  text-align: left;
  background: var(--soft, #f8f1f1);
}

.flyer-amount-table td strong {
  color: var(--blue-dark, #871a1d);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.flyer-notes {
  margin-top: 22px;
  text-align: left;
}

.flyer-notes li {
  line-height: 1.75;
}

.application-card {
  margin-top: 40px;
}

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

.application-item {
  position: relative;
  min-width: 0;
  padding: 30px 26px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line, #e0cfd0);
  border-top: 6px solid var(--blue, #a32126);
  border-radius: 18px;
}

.application-number {
  margin: 0 0 6px;
  color: var(--cyan, #c75d61);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.application-item h3 {
  margin: 0 0 18px;
  color: var(--blue-dark, #871a1d);
  font-size: 1.45rem;
}

.application-item p,
.application-item li,
.application-data dd {
  line-height: 1.75;
}

.application-phone {
  margin: 16px 0;
}

.application-phone a {
  color: var(--blue-dark, #871a1d);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.flyer-small-notes {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.flyer-small-notes li {
  margin-top: 7px;
  color: var(--muted, #947f80);
  font-size: 0.9rem;
}

.application-data {
  margin: 18px 0 0;
}

.application-data div {
  padding: 13px 0;
  border-top: 1px solid var(--line, #e0cfd0);
}

.application-data dt {
  margin-bottom: 4px;
  color: var(--blue-dark, #871a1d);
  font-weight: 800;
}

.application-data dd {
  margin: 0;
}

.application-change-note {
  margin: 28px 0 0;
  color: var(--blue-dark, #871a1d);
  font-weight: 700;
  text-align: center;
}

.application-period {
  margin-top: 28px;
  padding: 24px;
  color: #fff;
  text-align: center;
  background: var(--blue, #a32126);
  border-radius: 16px;
}

.application-period h3,
.application-period p {
  margin: 0;
}

.application-period h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.application-period p {
  font-size: clamp(1.18rem, 2.5vw, 1.65rem);
  line-height: 1.55;
}

.documents-card {
  text-align: left;
}

.document-block + .document-block {
  margin-top: 58px;
  padding-top: 58px;
  border-top: 2px solid var(--line, #e0cfd0);
}

.document-block > h3 {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--blue-dark, #871a1d);
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  line-height: 1.55;
}

.document-block > h3 > span {
  display: inline-grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--blue, #a32126);
  border-radius: 50%;
}

.document-block h4 {
  margin: 30px 0 16px;
  padding: 10px 16px;
  color: var(--blue-dark, #871a1d);
  background: var(--soft, #f8f1f1);
  border-left: 6px solid var(--cyan, #c75d61);
  border-radius: 0 8px 8px 0;
  font-size: 1.05rem;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list > li {
  position: relative;
  margin-top: 14px;
  padding: 0 0 0 34px;
  line-height: 1.75;
}

.check-list > li::before {
  content: "";
  position: absolute;
  top: 0.38em;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--cyan, #c75d61);
  border-radius: 2px;
  box-sizing: border-box;
}

.check-list.is-blue > li::before {
  border-color: #1888c9;
}

.check-list.is-optional > li::before {
  border-style: dashed;
}

.check-list p {
  margin: 5px 0 0;
}

.flyer-note-line,
.check-list .flyer-small-notes li,
.check-list.is-blue span {
  color: var(--muted, #947f80);
  font-size: 0.92rem;
}

.document-cautions {
  margin: 32px 0 0;
  padding: 22px 24px;
  list-style: none;
  background: #faf7f7;
  border-radius: 14px;
}

.document-cautions li {
  line-height: 1.75;
}

.document-cautions li + li {
  margin-top: 6px;
}

.flyer-contact {
  display: block;
  padding: 92px 24px 104px;
  background: var(--soft, #f8f1f1);
}

.flyer-contact .contact-card-list {
  display: flex;
  flex-direction: column;
  width: min(1040px, 100%);
  margin: 36px auto 0;
  gap: 26px;
}

.flyer-contact .contact-card {
  width: 100%;
  padding: clamp(26px, 4.5vw, 48px);
  text-align: center;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(135,26,29,0.1);
  box-sizing: border-box;
}

.flyer-contact .contact-purpose {
  margin: 0 0 16px;
  padding: 10px 16px;
  color: #fff;
  font-weight: 800;
  line-height: 1.55;
  background: var(--blue, #a32126);
  border-radius: 10px;
}

.flyer-contact .contact-card h3 {
  margin: 0 0 22px;
  color: var(--navy, #6d1619);
  font-size: clamp(1.08rem, 2.2vw, 1.42rem);
  line-height: 1.6;
}

.flyer-contact .tel-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.flyer-contact .tel {
  color: var(--blue-dark, #871a1d);
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.flyer-contact .tel:hover,
.flyer-contact .tel:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.flyer-contact .call-charge {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.3;
  background: var(--blue-dark, #871a1d);
  border-radius: 7px;
}

.flyer-contact .hours {
  margin: 20px 0 0;
  font-weight: 700;
  line-height: 1.7;
}

.flyer-contact .contact-note {
  margin: 8px 0 0;
  color: var(--muted, #947f80);
  line-height: 1.6;
}

.counter-location {
  width: min(1040px, 100%);
  margin: 26px auto 0;
  padding: 28px;
  text-align: center;
  background: #fff;
  border: 2px solid var(--line, #e0cfd0);
  border-radius: 18px;
  box-sizing: border-box;
}

.counter-location h3 {
  margin: 0 0 12px;
  color: var(--blue-dark, #871a1d);
}

.counter-location p {
  margin: 6px 0 0;
  line-height: 1.7;
}

.fraud-alert {
  padding: 0 24px 92px;
  background: var(--soft, #f8f1f1);
}

.fraud-alert-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 28px 32px;
  color: #7d1b12;
  text-align: center;
  background: #fff8cf;
  border: 3px solid #e0ad00;
  border-radius: 18px;
  box-sizing: border-box;
}

.fraud-alert h2 {
  margin: 0 0 8px;
  color: #d62518;
  font-size: clamp(1.55rem, 3.2vw, 2.3rem);
}

.fraud-alert p {
  margin: 0;
  font-weight: 700;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .application-list {
    grid-template-columns: 1fr;
  }

  .application-item {
    padding: 26px 24px;
  }
}

@media (max-width: 560px) {
  /*
   * WordPress固定ページ /lp/（page-id-48）の横方向へのはみ出し対策。
   * 元テーマの h1・.lead・見出しにある折返し指定と、
   * .eyebrow の長い1行表示がページ全体を画面幅より広げていた。
   */
  body.page-id-48 {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body.page-id-48 main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  html {
    scroll-padding-top: 72px;
  }

  .flyer-hero {
    width: 100%;
    max-width: 100%;
    padding-bottom: 54px;
  }

  .flyer-hero .eyebrow {
    display: flex;
    width: fit-content;
    max-width: 100%;
    min-height: 0;
    margin-right: auto;
    margin-left: auto;
    padding: 8px 14px;
    white-space: normal;
    line-height: 1.45;
    text-align: center;
  }

  .flyer-hero h1 {
    font-size: clamp(1.75rem, 9vw, 2.4rem);
    line-height: 1.35;
  }

  .flyer-hero .lead {
    text-align: left;
  }

  .flyer-hero .pc-only {
    display: none;
  }

  .flyer-alert-wrap {
    width: calc(100% - 32px);
    margin-top: -24px;
    margin-bottom: 44px;
  }

  .flyer-alert {
    padding: 19px 16px;
    border-width: 2px;
    border-radius: 14px;
  }

  .flyer-alert p {
    font-size: 1.02rem;
  }

  .target-wrap#target,
  .flyer-section,
  .flyer-band,
  .flyer-contact {
    scroll-margin-top: 72px;
  }

  .flyer-section,
  .flyer-band,
  .flyer-contact {
    padding-top: 60px;
    padding-bottom: 68px;
  }

  .flyer-section,
  .flyer-contact,
  .flyer-band {
    padding-right: 16px;
    padding-left: 16px;
  }

  .flyer-card {
    padding: 26px 18px;
    border-radius: 18px;
  }

  .flyer-heading {
    margin-bottom: 26px;
  }

  .flyer-heading h2 {
    font-size: 1.65rem;
    line-height: 1.4;
  }

  .amount-card.flyer-card > h3 {
    text-align: left;
  }

  .flyer-table-scroll {
    margin-right: -18px;
    margin-left: -18px;
    padding-bottom: 8px;
    border-radius: 0;
  }

  .table-swipe-note {
    display: block;
    margin: 0 0 10px;
    color: var(--muted, #947f80);
    font-size: 0.88rem;
    text-align: left;
  }

  .flyer-amount-table {
    min-width: 680px;
  }

  .flyer-amount-table th,
  .flyer-amount-table td {
    padding: 14px 12px;
  }

  .application-card {
    margin-top: 28px;
  }

  .application-item {
    padding: 24px 18px;
  }

  .application-change-note {
    text-align: left;
  }

  .application-period {
    padding: 20px 14px;
  }

  .application-period p,
  .application-period strong,
  .application-item,
  .document-block,
  .contact-card,
  .counter-location,
  .fraud-alert-inner {
    min-width: 0;
    max-width: 100%;
  }

  .document-block > h3 {
    gap: 10px;
  }

  .document-block > h3 > span {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .check-list > li {
    padding-left: 30px;
  }

  .document-cautions {
    padding: 18px 16px;
  }

  .flyer-contact .contact-card {
    padding: 26px 16px;
    border-radius: 18px;
  }

  .flyer-contact .contact-purpose {
    margin-right: -4px;
    margin-left: -4px;
    font-size: 0.92rem;
  }

  .flyer-contact .tel-row {
    flex-direction: column;
    gap: 10px;
  }

  .flyer-contact .tel {
    font-size: clamp(2rem, 10.5vw, 3rem);
  }

  .flyer-contact .call-charge {
    display: inline-block;
  }

  .flyer-contact .hours,
  .flyer-contact .contact-note {
    text-align: left;
  }

  .counter-location {
    padding: 24px 16px;
    text-align: left;
  }

  .fraud-alert {
    padding: 0 16px 60px;
  }

  .fraud-alert-inner {
    padding: 22px 16px;
    text-align: left;
  }

  .fraud-alert h2 {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* =========================================================

   適用範囲：
   /lp/（main.flyer-lp）のみ
   ========================================================= */

/* ---------- 全画面共通 ---------- */

main.flyer-lp {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

main.flyer-lp {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

main.flyer-lp > * {
  max-width: 100%;
}

main.flyer-lp .flyer-hero h1,
main.flyer-lp .flyer-heading h2,
main.flyer-lp .document-block > h3,
main.flyer-lp .contact-card h3 {
}

main.flyer-lp .flyer-hero h1,
main.flyer-lp .flyer-hero .lead,
main.flyer-lp .flyer-heading h2 {
}

main.flyer-lp .application-item,
main.flyer-lp .document-block,
main.flyer-lp .contact-card,
main.flyer-lp .counter-location,
main.flyer-lp .fraud-alert-inner {
  min-width: 0;
  max-width: 100%;
}

main.flyer-lp .documents-card {
  max-width: 1080px;
}

main.flyer-lp .document-block {
  width: 100%;
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

main.flyer-lp .application-item p,
main.flyer-lp .application-item li,
main.flyer-lp .application-data dd,
main.flyer-lp .document-block li,
main.flyer-lp .document-block p,
main.flyer-lp .contact-card p,
main.flyer-lp .counter-location p {
}

/* ---------- PC：1025px以上 ---------- */

@media (min-width: 1025px) {
  main.flyer-lp .flyer-hero h1 {
    max-width: 1000px;
    font-size: clamp(3.25rem, 4.4vw, 4rem);
    line-height: 1.22;
  }

  main.flyer-lp .flyer-hero .lead {
    max-width: 900px;
    font-size: 1.1rem;
    line-height: 1.95;
  }

  main.flyer-lp .flyer-heading h2 {
    font-size: clamp(1.9rem, 2.5vw, 2.25rem);
    line-height: 1.35;
  }

  main.flyer-lp .application-item p,
  main.flyer-lp .application-item li,
  main.flyer-lp .application-data dd,
  main.flyer-lp .document-block li,
  main.flyer-lp .document-block p {
    font-size: 1rem;
    line-height: 1.85;
  }
}

/* ---------- タブレット：601px～1024px ---------- */

@media (min-width: 601px) and (max-width: 1024px) {
  main.flyer-lp {
    font-size: 15.5px;
  }

  body:has(main.flyer-lp) .site-header {
    top: 30px;
    padding-right: 24px;
    padding-left: 24px;
  }

  body:has(main.flyer-lp) .nav {
    width: min(100%, calc(100vw - 48px));
    min-height: 74px;
    padding: 12px 24px;
  }

  main.flyer-lp .flyer-hero {
    min-height: 500px;
    padding: 162px 28px 112px;
  }

  main.flyer-lp .flyer-hero .eyebrow {
    max-width: calc(100% - 32px);
    padding: 7px 26px;
    font-size: 0.88rem;
    white-space: normal;
    line-height: 1.45;
  }

  main.flyer-lp .flyer-hero h1 {
    max-width: 720px;
    font-size: clamp(2.45rem, 5.6vw, 3.2rem);
    line-height: 1.28;
  }

  main.flyer-lp .flyer-hero .lead {
    max-width: 700px;
    margin-top: 28px;
    font-size: 0.97rem;
    line-height: 1.9;
  }

  main.flyer-lp .flyer-hero .pc-only {
    display: none;
  }

  main.flyer-lp .flyer-alert-wrap {
    width: calc(100% - 48px);
    margin-bottom: 52px;
  }

  main.flyer-lp .flyer-alert {
    padding: 22px 26px;
  }

  main.flyer-lp .flyer-alert p {
    font-size: 1.12rem;
  }

  main.flyer-lp .flyer-section,
  main.flyer-lp .flyer-band,
  main.flyer-lp .flyer-contact {
    padding-top: 72px;
    padding-right: 24px;
    padding-bottom: 80px;
    padding-left: 24px;
  }

  main.flyer-lp .flyer-card {
    padding: 38px 32px;
  }

  main.flyer-lp .flyer-heading {
    margin-bottom: 30px;
  }

  main.flyer-lp .flyer-heading h2 {
    font-size: 1.9rem;
    line-height: 1.4;
  }

  main.flyer-lp .application-list {
    grid-template-columns: 1fr;
  }

  main.flyer-lp .application-item {
    width: 100%;
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    padding: 28px 26px;
  }

  main.flyer-lp .application-item p,
  main.flyer-lp .application-item li,
  main.flyer-lp .application-data dd,
  main.flyer-lp .document-block li,
  main.flyer-lp .document-block p {
    font-size: 0.98rem;
    line-height: 1.85;
  }

  body:has(main.flyer-lp) .floating-actions {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    left: max(14px, env(safe-area-inset-left));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    gap: 8px;
  }

  body:has(main.flyer-lp) .floating-action {
    grid-template-columns: 36px minmax(0, 1fr) 13px;
    min-height: 54px;
    padding: 7px 9px;
    border-radius: 14px;
  }

  body:has(main.flyer-lp) .floating-action__icon {
    width: 36px;
    height: 36px;
  }

  body:has(main.flyer-lp) .floating-action__icon svg {
    width: 21px;
    height: 21px;
  }

  body:has(main.flyer-lp) .floating-action__kicker {
    font-size: 8px;
  }

  body:has(main.flyer-lp) .floating-action__label strong {
    font-size: 12px;
  }

  body:has(main.flyer-lp) .floating-actions__close {
    top: -42px;
    right: 0;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/* ---------- スマートフォン：600px以下 ---------- */

@media (max-width: 600px) {
  main.flyer-lp {
    font-size: 15px;
  }

  body:has(main.flyer-lp) .site-header {
    top: 24px;
    padding-right: 16px;
    padding-left: 16px;
  }

  body:has(main.flyer-lp) .nav {
    width: calc(100vw - 32px);
    min-height: 66px;
    gap: 10px;
    padding: 10px 14px;
  }

  body:has(main.flyer-lp) .nav-logo {
    min-width: 0;
    gap: 8px;
  }

  body:has(main.flyer-lp) .nav-logo-mark {
    height: 30px;
  }

  body:has(main.flyer-lp) .nav-logo-city {
    font-size: 10px;
  }

  body:has(main.flyer-lp) .nav-logo-title {
    font-size: 14px;
  }

  body:has(main.flyer-lp) .nav-toggle {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  main.flyer-lp .flyer-hero {
    width: 100%;
    max-width: 100%;
    min-height: 510px;
    padding: 142px 16px 92px;
  }

  main.flyer-lp .flyer-hero .eyebrow {
    display: flex;
    width: fit-content;
    max-width: 100%;
    min-height: 0;
    margin-right: auto;
    margin-bottom: 22px;
    margin-left: auto;
    padding: 8px 13px;
    font-size: 0.78rem;
    white-space: normal;
    line-height: 1.45;
    text-align: center;
    border-radius: 14px;
  }

  main.flyer-lp .flyer-hero h1 {
    max-width: 100%;
    font-size: clamp(1.8rem, 8.4vw, 2.15rem);
    line-height: 1.38;
    letter-spacing: 0;
  }

  main.flyer-lp .flyer-hero .lead {
    max-width: 100%;
    margin-top: 26px;
    font-size: 0.93rem;
    line-height: 1.9;
    text-align: left;
  }

  main.flyer-lp .flyer-hero .pc-only {
    display: none;
  }

  main.flyer-lp .flyer-alert-wrap {
    width: calc(100% - 32px);
    margin-top: -30px;
    margin-bottom: 44px;
  }

  main.flyer-lp .flyer-alert {
    padding: 18px 14px;
    border-width: 2px;
    border-radius: 14px;
  }

  main.flyer-lp .flyer-alert p {
    font-size: 1rem;
    line-height: 1.7;
  }

  main.flyer-lp .target-wrap,
  main.flyer-lp .flyer-section,
  main.flyer-lp .flyer-band,
  main.flyer-lp .flyer-contact {
    padding-right: 16px;
    padding-left: 16px;
  }

  main.flyer-lp .target-wrap {
    padding-bottom: 62px;
  }

  main.flyer-lp .target-panel {
    border-width: 5px;
    border-radius: 16px;
  }

  main.flyer-lp .target-panel h2 {
    min-height: 62px;
    padding: 12px;
    font-size: 1.3rem;
    line-height: 1.4;
  }

  main.flyer-lp .target-panel ul {
    padding: 22px 18px;
    font-size: 0.96rem;
    line-height: 1.8;
  }

  main.flyer-lp .target-panel li {
    padding-left: 28px;
  }

  main.flyer-lp .target-panel li + li {
    margin-top: 16px;
  }

  main.flyer-lp .flyer-section,
  main.flyer-lp .flyer-band,
  main.flyer-lp .flyer-contact {
    padding-top: 58px;
    padding-bottom: 68px;
  }

  main.flyer-lp .flyer-card {
    padding: 24px 17px;
    border-radius: 18px;
  }

  main.flyer-lp .flyer-heading {
    margin-bottom: 26px;
  }

  main.flyer-lp .flyer-heading > span {
    font-size: 0.72rem;
  }

  main.flyer-lp .flyer-heading h2 {
    font-size: 1.62rem;
    line-height: 1.42;
  }

  main.flyer-lp .amount-card.flyer-card > h3 {
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.75;
    text-align: left;
  }

  main.flyer-lp .flyer-table-scroll {
    margin-right: -17px;
    margin-left: -17px;
  }

  main.flyer-lp .table-swipe-note {
    font-size: 0.84rem;
  }

  main.flyer-lp .flyer-notes {
    padding-left: 1.15em;
    font-size: 0.9rem;
  }

  main.flyer-lp .application-card {
    margin-top: 26px;
  }

  main.flyer-lp .application-item {
    padding: 23px 18px;
    border-top-width: 5px;
    border-radius: 16px;
  }

  main.flyer-lp .application-item h3 {
    margin-bottom: 14px;
    font-size: 1.35rem;
  }

  main.flyer-lp .application-item p,
  main.flyer-lp .application-item li,
  main.flyer-lp .application-data dd {
    font-size: 0.96rem;
    line-height: 1.85;
  }

  main.flyer-lp .application-phone a {
    font-size: 1.7rem;
  }

  main.flyer-lp .application-change-note {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  main.flyer-lp .application-period {
    padding: 20px 13px;
  }

  main.flyer-lp .application-period p {
    font-size: 1.08rem;
    line-height: 1.65;
  }

  main.flyer-lp .document-block + .document-block {
    margin-top: 42px;
    padding-top: 42px;
  }

  main.flyer-lp .document-block > h3 {
    gap: 10px;
    margin-bottom: 22px;
    font-size: 1.12rem;
    line-height: 1.65;
  }

  main.flyer-lp .document-block > h3 > span {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
  }

  main.flyer-lp .document-block h4 {
    margin-top: 24px;
    padding: 9px 12px;
    font-size: 1rem;
    line-height: 1.55;
  }

  main.flyer-lp .check-list > li {
    padding-left: 29px;
    font-size: 0.96rem;
    line-height: 1.82;
  }

  main.flyer-lp .check-list > li::before {
    width: 17px;
    height: 17px;
  }

  main.flyer-lp .flyer-small-notes li,
  main.flyer-lp .flyer-note-line,
  main.flyer-lp .check-list.is-blue span {
    font-size: 0.88rem;
    line-height: 1.75;
  }

  main.flyer-lp .document-cautions {
    padding: 18px 15px;
    font-size: 0.9rem;
  }

  main.flyer-lp .flyer-contact .contact-card {
    padding: 24px 15px;
    border-radius: 17px;
  }

  main.flyer-lp .flyer-contact .contact-purpose {
    margin-right: 0;
    margin-left: 0;
    padding: 9px 10px;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  main.flyer-lp .flyer-contact .contact-card h3 {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  main.flyer-lp .flyer-contact .tel-row {
    flex-direction: column;
    gap: 10px;
  }

  main.flyer-lp .flyer-contact .tel {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  main.flyer-lp .flyer-contact .hours,
  main.flyer-lp .flyer-contact .contact-note {
    font-size: 0.9rem;
    line-height: 1.75;
    text-align: left;
  }

  main.flyer-lp .counter-location {
    padding: 22px 16px;
  }

  main.flyer-lp .counter-location p {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  main.flyer-lp .fraud-alert {
    padding-right: 16px;
    padding-bottom: 58px;
    padding-left: 16px;
  }

  main.flyer-lp .fraud-alert-inner {
    padding: 21px 16px;
  }

  main.flyer-lp .fraud-alert h2 {
    font-size: 1.45rem;
    line-height: 1.4;
    text-align: center;
  }

  main.flyer-lp .fraud-alert p {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  /* 固定ボタンが本文を覆いすぎない大きさに縮小 */
  body:has(main.flyer-lp) .floating-actions {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: auto;
    gap: 6px;
  }

  body:has(main.flyer-lp) .floating-action {
    grid-template-columns: 30px minmax(0, 1fr);
    min-height: 50px;
    gap: 5px;
    padding: 6px 8px;
    border-radius: 13px;
  }

  body:has(main.flyer-lp) .floating-action__icon {
    width: 30px;
    height: 30px;
  }

  body:has(main.flyer-lp) .floating-action__icon svg {
    width: 18px;
    height: 18px;
  }

  body:has(main.flyer-lp) .floating-action__kicker {
    display: none;
  }

  body:has(main.flyer-lp) .floating-action__label strong {
    font-size: 11px;
    line-height: 1.3;
  }

  body:has(main.flyer-lp) .floating-action__arrow {
    display: none;
  }

  body:has(main.flyer-lp) .floating-actions__close {
    top: -38px;
    right: 0;
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  body:has(main.flyer-lp) .site-footer {
    padding-bottom: calc(124px + env(safe-area-inset-bottom));
  }
}

/* ---------- 小型スマートフォン：374px以下 ---------- */

@media (max-width: 374px) {
  body:has(main.flyer-lp) .nav {
    width: calc(100vw - 24px);
    padding-right: 11px;
    padding-left: 11px;
  }

  body:has(main.flyer-lp) .nav-logo-title {
    font-size: 13px;
  }

  main.flyer-lp .flyer-hero {
    min-height: 520px;
    padding-right: 13px;
    padding-left: 13px;
  }

  main.flyer-lp .flyer-hero h1 {
    font-size: 1.72rem;
  }

  main.flyer-lp .flyer-card {
    padding-right: 15px;
    padding-left: 15px;
  }

  main.flyer-lp .flyer-heading h2 {
    font-size: 1.48rem;
  }

  body:has(main.flyer-lp) .floating-actions {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    left: max(8px, env(safe-area-inset-left));
    width: auto;
  }
}

/*
  WordPressのLP用<style>内で、基本CSSの末尾へ貼り付けます。
  PCではカード最下部、スマホでは本文直下に自然に配置されます。
*/
.application-item {
  display: flex;
  flex-direction: column;
}

.application-mynaportal-wrap {
  padding-top: 28px;
}

.application-mynaportal-link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 238px;
  min-height: 68px;
  margin-right: auto;
  margin-left: auto;
  padding: 8px;
  box-sizing: border-box;
  color: #fff;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  background: var(--blue-dark, #871a1d);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px var(--blue-dark, #871a1d),
    0 8px 24px rgba(109,22,25,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.application-mynaportal-link:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px var(--blue-dark, #871a1d),
    0 12px 30px rgba(109,22,25,0.3);
}

.application-mynaportal-link:focus-visible {
  outline: 3px solid #f6c344;
  outline-offset: 3px;
}

.application-mynaportal-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.17);
}

.application-mynaportal-icon svg {
  width: 25px;
  height: 25px;
}

.application-mynaportal-label {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.application-mynaportal-kicker {
  font-size: 10px;
  font-weight: 700;
}

.application-mynaportal-label strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  white-space: nowrap;
}

.application-mynaportal-arrow {
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 560px) {
  .application-mynaportal-wrap {
    padding-top: 24px;
  }

  .application-mynaportal-link {
    max-width: 238px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .application-mynaportal-link {
    transition: none;
  }
}
.application-phone-title {
  margin: 22px 0 4px;
  color: var(--blue-dark, #871a1d);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.65;
}

.application-phone {
  margin: 4px 0 16px;
}

/*
  先方追加要望対応
  すべての既存CSSより後、一番下へ貼り付けてください。
*/

/* 2つの追従ボタンを同じ大きさで、さらに拡大する */
.floating-actions {
  gap: 12px;
  width: min(280px, calc(100vw - 32px));
}

.floating-action {
  grid-template-columns: 50px minmax(0, 1fr) 20px;
  gap: 12px;
  min-height: 84px;
  padding: 12px 14px;
  border-width: 3px;
  border-radius: 20px;
}

.floating-action__icon {
  width: 50px;
  height: 50px;
}

.floating-action__icon svg {
  width: 29px;
  height: 29px;
}

.floating-action__kicker {
  font-size: 12px;
}

.floating-action__label strong {
  font-size: 16px;
}

.floating-action-mobile-break {
  display: none;
}

.floating-action__arrow {
  font-size: 21px;
}

/* 薄いグレー文字を通常の本文色へ変更 */
main.flyer-lp .flyer-small-notes li,
main.flyer-lp .flyer-note-line,
main.flyer-lp .check-list .flyer-small-notes li,
main.flyer-lp .check-list.is-blue span,
main.flyer-lp .flyer-notes,
main.flyer-lp .document-cautions,
main.flyer-lp .flyer-contact .contact-note,
main.flyer-lp .table-swipe-note {
  color: var(--ink, #522c2d) !important;
}

/* 申出受付窓口を高齢者にも読みやすい大きさへ変更 */
main.flyer-lp .counter-location h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.45;
}

main.flyer-lp .counter-location p {
  margin-top: 10px;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.9;
}

main.flyer-lp .counter-location p strong {
  font-size: 1.1em;
}

@media (min-width: 601px) and (max-width: 1024px) {
  body:has(main.flyer-lp) .floating-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: auto;
  }

  body:has(main.flyer-lp) .floating-action {
    grid-template-columns: 44px minmax(0, 1fr) 16px;
    gap: 8px;
    min-height: 72px;
    padding: 9px 10px;
    border-width: 3px;
    border-radius: 16px;
  }

  body:has(main.flyer-lp) .floating-action__icon {
    width: 44px;
    height: 44px;
  }

  body:has(main.flyer-lp) .floating-action__icon svg {
    width: 25px;
    height: 25px;
  }

  body:has(main.flyer-lp) .floating-action__kicker {
    font-size: 10px;
  }

  body:has(main.flyer-lp) .floating-action__label strong {
    font-size: 14px;
  }

  body:has(main.flyer-lp) .floating-action__arrow {
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  body:has(main.flyer-lp) .floating-actions {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: auto;
  }

  body:has(main.flyer-lp) .floating-action {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 7px;
    min-height: 72px;
    padding: 8px 9px;
    border-width: 3px;
    border-radius: 16px;
  }

  body:has(main.flyer-lp) .floating-action__icon {
    width: 40px;
    height: 40px;
  }

  body:has(main.flyer-lp) .floating-action__icon svg {
    width: 23px;
    height: 23px;
  }

  body:has(main.flyer-lp) .floating-action__kicker {
    display: block;
    font-size: 9px;
    line-height: 1.2;
  }

  body:has(main.flyer-lp) .floating-action__label strong {
    font-size: 13px;
    line-height: 1.25;
  }

  body:has(main.flyer-lp) .floating-action-mobile-break {
    display: block;
  }

  body:has(main.flyer-lp) .floating-action__arrow {
    display: none;
  }

  body:has(main.flyer-lp) .floating-actions__close {
    top: -44px;
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  main.flyer-lp .counter-location h3 {
    font-size: 1.4rem;
  }

  main.flyer-lp .counter-location p {
    font-size: 1.08rem;
    line-height: 1.9;
  }
}

/*
  WordPress「追加CSS」または添付CSSの一番下へ、
  このファイルの内容をそのまま貼り付けてください。
*/

/* =========================================================
   追従ボタン：PC
   2つとも同じ幅・同じ高さで大きく表示
========================================================= */
.floating-actions {
  gap: 14px;
  width: min(320px, calc(100vw - 32px));
}

.floating-action,
.floating-action--apply,
.floating-action--faq {
  width: 100%;
  grid-template-columns: 56px minmax(0, 1fr) 22px;
  gap: 14px;
  min-height: 96px;
  padding: 14px 16px;
  border-width: 3px;
  border-radius: 22px;
}

.floating-action__icon {
  width: 56px;
  height: 56px;
}

.floating-action__icon svg {
  width: 32px;
  height: 32px;
}

.floating-action__kicker {
  font-size: 13px;
}

.floating-action__label strong {
  font-size: 18px;
}

.floating-action-mobile-break {
  display: none;
}

.floating-action__arrow {
  font-size: 22px;
}

/* =========================================================
   薄いグレー文字を通常の本文色へ変更
========================================================= */
main.flyer-lp .flyer-small-notes li,
main.flyer-lp .flyer-note-line,
main.flyer-lp .check-list .flyer-small-notes li,
main.flyer-lp .check-list.is-blue span,
main.flyer-lp .flyer-notes,
main.flyer-lp .document-cautions,
main.flyer-lp .flyer-contact .contact-note,
main.flyer-lp .table-swipe-note {
  color: var(--ink, #522c2d) !important;
}

/* =========================================================
   申出受付窓口：高齢者にも読みやすい文字サイズ
========================================================= */
main.flyer-lp .counter-location h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.45;
}

main.flyer-lp .counter-location p {
  margin-top: 10px;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  line-height: 1.9;
}

main.flyer-lp .counter-location p strong {
  font-size: 1.1em;
}

/* =========================================================
   タブレット
========================================================= */
@media (min-width: 601px) and (max-width: 1024px) {
  body:has(main.flyer-lp) .floating-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: auto;
  }

  body:has(main.flyer-lp) .floating-action,
  body:has(main.flyer-lp) .floating-action--apply,
  body:has(main.flyer-lp) .floating-action--faq {
    width: 100%;
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    gap: 10px;
    min-height: 82px;
    padding: 10px 12px;
    border-width: 3px;
    border-radius: 18px;
  }

  body:has(main.flyer-lp) .floating-action__icon {
    width: 48px;
    height: 48px;
  }

  body:has(main.flyer-lp) .floating-action__icon svg {
    width: 28px;
    height: 28px;
  }

  body:has(main.flyer-lp) .floating-action__kicker {
    font-size: 11px;
  }

  body:has(main.flyer-lp) .floating-action__label strong {
    font-size: 15px;
  }

  body:has(main.flyer-lp) .floating-action__arrow {
    font-size: 19px;
  }
}

/* =========================================================
   スマートフォン
========================================================= */
@media (max-width: 600px) {
  body:has(main.flyer-lp) .floating-actions {
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    left: max(10px, env(safe-area-inset-left));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: auto;
  }

  body:has(main.flyer-lp) .floating-action,
  body:has(main.flyer-lp) .floating-action--apply,
  body:has(main.flyer-lp) .floating-action--faq {
    width: 100%;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 8px;
    min-height: 82px;
    padding: 10px;
    border-width: 3px;
    border-radius: 18px;
  }

  body:has(main.flyer-lp) .floating-action__icon {
    width: 44px;
    height: 44px;
  }

  body:has(main.flyer-lp) .floating-action__icon svg {
    width: 25px;
    height: 25px;
  }

  body:has(main.flyer-lp) .floating-action__kicker {
    display: block;
    font-size: 10px;
    line-height: 1.2;
  }

  body:has(main.flyer-lp) .floating-action__label strong {
    font-size: 14px;
    line-height: 1.25;
  }

  body:has(main.flyer-lp) .floating-action-mobile-break {
    display: block;
  }

  body:has(main.flyer-lp) .floating-action__arrow {
    display: none;
  }

  body:has(main.flyer-lp) .floating-actions__close {
    top: -48px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  main.flyer-lp .counter-location h3 {
    font-size: 1.4rem;
  }

  main.flyer-lp .counter-location p {
    font-size: 1.08rem;
    line-height: 1.9;
  }
}

/* WordPress「追加CSS」の一番下へ、そのまま貼り付け */
.nav-links {
  max-height: min(72vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.nav-links__divider {
  display: block;
  height: 1px;
  margin: 5px 10px;
  background: #e7d9d9;
}


@media (max-width: 600px) {
  .nav-links {
    max-height: calc(100dvh - 96px);
  }

  .nav-links a {
    padding-top: 13px;
    padding-bottom: 13px;
    font-size: 14px;
    line-height: 1.45;
  }
}

/*
  公式リンクカード＋郵送申出の電話アイコン
  添付されたページ用CSSの「一番下」に、そのまま貼り付けてください。
  既存の追従ボタン・申出カード・文字サイズ設定には影響しません。
*/

/* =========================================================
   ヒーロー下部：公式リンク
========================================================= */
main.flyer-lp .hero-official-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(980px, 100%);
  margin: 30px auto 0;
  text-align: left;
}

main.flyer-lp .hero-official-link {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 96px;
  padding: 16px 18px;
  color: var(--blue-dark, #871a1d);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.97);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(111,9,12,0.2);
  box-sizing: border-box;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

main.flyer-lp .hero-official-link:hover {
  color: var(--blue-dark, #871a1d);
  background: #fff;
  box-shadow: 0 16px 36px rgba(111,9,12,0.28);
  transform: translateY(-3px);
}

main.flyer-lp .hero-official-link:focus-visible {
  outline: 4px solid #f6c344;
  outline-offset: 4px;
}

main.flyer-lp .hero-official-link__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: var(--blue-dark, #871a1d);
  background: var(--soft, #f8f1f1);
  border: 1px solid var(--line, #e0cfd0);
  border-radius: 50%;
}

main.flyer-lp .hero-official-link__icon svg {
  width: 27px;
  height: 27px;
}

main.flyer-lp .hero-official-link__body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

main.flyer-lp .hero-official-link__meta {
  color: var(--blue, #a32126);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

main.flyer-lp .hero-official-link__body strong {
  color: var(--blue-dark, #871a1d);
  font-size: clamp(0.92rem, 1.35vw, 1.08rem);
  font-weight: 800;
  line-height: 1.55;
}

main.flyer-lp .hero-official-link__arrow {
  color: var(--blue, #a32126);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

/* =========================================================
   郵送申出：050番号の電話アイコン
========================================================= */
main.flyer-lp .application-phone a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--blue-dark, #871a1d);
  text-decoration: none;
}

main.flyer-lp .application-phone a:hover {
  color: var(--blue, #a32126);
}

main.flyer-lp .application-phone a:focus-visible {
  outline: 3px solid #f6c344;
  outline-offset: 5px;
  border-radius: 10px;
}

main.flyer-lp .application-phone-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #fff;
  background: var(--blue-dark, #871a1d);
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(135,26,29,0.2);
}

main.flyer-lp .application-phone-icon svg {
  width: 22px;
  height: 22px;
}

main.flyer-lp .application-phone-number {
  line-height: 1.25;
  border-bottom: 2px solid currentColor;
}

/* =========================================================
   タブレット・スマートフォン
========================================================= */
@media (max-width: 767px) {
  main.flyer-lp .hero-official-links {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  main.flyer-lp .hero-official-link {
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    gap: 11px;
    min-height: 82px;
    padding: 13px 14px;
    border-radius: 15px;
  }

  main.flyer-lp .hero-official-link__icon {
    width: 44px;
    height: 44px;
  }

  main.flyer-lp .hero-official-link__icon svg {
    width: 24px;
    height: 24px;
  }

  main.flyer-lp .hero-official-link__meta {
    font-size: 0.68rem;
  }

  main.flyer-lp .hero-official-link__body strong {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  main.flyer-lp .hero-official-link__arrow {
    font-size: 1.15rem;
  }
}

@media (max-width: 374px) {
  main.flyer-lp .hero-official-link {
    grid-template-columns: 40px minmax(0, 1fr) 16px;
    gap: 9px;
    padding: 12px;
  }

  main.flyer-lp .hero-official-link__icon {
    width: 40px;
    height: 40px;
  }

  main.flyer-lp .hero-official-link__icon svg {
    width: 22px;
    height: 22px;
  }

  main.flyer-lp .hero-official-link__body strong {
    font-size: 0.82rem;
  }

  main.flyer-lp .application-phone-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  main.flyer-lp .application-phone-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  main.flyer-lp .hero-official-link {
    transition: none;
  }
}

/* =========================================================
   SVGイラスト追加CSS
========================================================= */

/* ---------- 共通色 ---------- */
#application,
#documents {
  --illust-green-dark: #871a1d;
  --illust-green: #a32126;
  --illust-green-light: #c75d61;
  --illust-bg: #f7eeee;
  --illust-paper: #ffffff;
  --illust-border: #e2cfd0;
}

/* =========================================================
   申出方法：Web・郵送・窓口のSVGイラスト
========================================================= */
#application .application-item {
  position: relative;
}

#application .application-illustration {
  position: absolute;
  z-index: 0;
  top: 18px;
  right: 18px;
  width: 104px;
  height: 84px;
  color: var(--illust-green-dark);
  pointer-events: none;
}

#application .application-illustration svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

#application .application-illustration .illust-bg {
  fill: var(--illust-bg);
}

#application .application-illustration .illust-line,
#application .application-illustration .illust-soft-line,
#application .application-illustration .illust-paper,
#application .application-illustration .illust-accent-soft,
#application .application-illustration .illust-person,
#application .application-illustration .illust-person-fill {
  stroke: var(--illust-green-dark);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#application .application-illustration .illust-line {
  fill: none;
}

#application .application-illustration .illust-soft-line {
  fill: none;
  stroke: var(--illust-green-light);
  stroke-width: 2;
}

#application .application-illustration .illust-paper {
  fill: var(--illust-paper);
}

#application .application-illustration .illust-accent {
  fill: var(--illust-green);
}

#application .application-illustration .illust-accent-soft {
  fill: #f2dfe0;
}

#application .application-illustration .illust-person {
  fill: #f4d8bd;
}

#application .application-illustration .illust-person-fill {
  fill: #f2dfe0;
}

#application .application-illustration .illust-check {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 番号・見出しがイラストと重ならないための幅 */
#application .application-item > .application-number,
#application .application-item > h3 {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 112px);
}

/* =========================================================
   必須資料：5種類のSVGアイコン
========================================================= */
#documents .check-list.document-illustrated-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#documents .check-list.document-illustrated-list > .document-illustrated-item {
  display: block;
  margin: 0;
  padding: 18px 0;
  list-style: none;
  border-bottom: 1px solid var(--illust-border);
}

#documents .check-list.document-illustrated-list > .document-illustrated-item:first-child {
  padding-top: 8px;
}

#documents .check-list.document-illustrated-list > .document-illustrated-item:last-child {
  border-bottom: 0;
}

/* 既存のチェックマークを、項目別アイコンへ置き換える */
#documents .check-list.document-illustrated-list > .document-illustrated-item::before {
  display: none;
  content: none;
}

#documents .document-item-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--illust-green-dark);
  background: var(--illust-bg);
  border: 1px solid var(--illust-border);
  border-radius: 50%;
}

#documents .document-item-icon svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#documents .document-item-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  min-width: 0;
}

#documents .document-item-heading > strong {
  display: block;
  color: var(--illust-green-dark);
  line-height: 1.7;
}

#documents .document-item-detail {
  min-width: 0;
  margin-left: 64px;
}

#documents .document-item-detail > p {
  margin-top: 8px;
}

/* 戸籍謄本内の注記リストは既存の縦並びを維持 */
#documents .document-item-detail > .flyer-small-notes {
  display: block;
  margin-top: 8px;
  padding-left: 0;
}

#documents .document-item-detail > .flyer-small-notes > li {
  display: block;
  margin: 4px 0 0;
  padding-left: 0;
}

#documents .document-item-detail > .flyer-small-notes > li::before {
  display: none;
  content: none;
}

/* =========================================================
   タブレット
========================================================= */
@media (max-width: 900px) {
  #application .application-illustration {
    top: 18px;
    right: 18px;
    width: 96px;
    height: 78px;
  }

  #application .application-item > .application-number,
  #application .application-item > h3 {
    max-width: calc(100% - 102px);
  }
}

/* =========================================================
   スマートフォン
========================================================= */
@media (max-width: 560px) {
  #application .application-illustration {
    top: 14px;
    right: 14px;
    width: 82px;
    height: 68px;
  }

  #application .application-item > .application-number,
  #application .application-item > h3 {
    max-width: calc(100% - 86px);
  }

  #documents .check-list.document-illustrated-list > .document-illustrated-item {
    padding: 16px 0;
  }

  #documents .document-item-heading {
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 12px;
  }

  #documents .document-item-icon {
    width: 42px;
    height: 42px;
  }

  #documents .document-item-icon svg {
    width: 26px;
    height: 26px;
  }

  #documents .document-item-heading > strong {
    line-height: 1.65;
  }

  #documents .document-item-detail {
    margin-left: 54px;
  }
}

/* 320px前後の狭い画面 */
@media (max-width: 360px) {
  #application .application-illustration {
    width: 72px;
    height: 60px;
  }

  #application .application-item > .application-number,
  #application .application-item > h3 {
    max-width: calc(100% - 76px);
  }

  #documents .check-list.document-illustrated-list > .document-illustrated-item {
    padding: 14px 0;
  }

  #documents .document-item-heading {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 10px;
  }

  #documents .document-item-icon {
    width: 38px;
    height: 38px;
  }

  #documents .document-item-icon svg {
    width: 24px;
    height: 24px;
  }

  #documents .document-item-detail {
    margin-left: 48px;
  }
}

/* =========================================================
   2026-07-17 認識合わせ後の改訂版
   概要全文 / 緑背景見出し / 横幅統一 / レスポンシブ表
   ========================================================= */

/* ヒーローの参考リンク：自治体サイト風の簡潔なURL表示 */
.flyer-lp .hero-reference-links {
  box-sizing: border-box;
  width: min(980px, calc(100% - 48px));
  margin: 30px auto 0;
  padding: 14px 22px;
  color: #642b2d;
  text-align: left;
  background: rgba(255,255,255,.97);
  border-left: 6px solid #1769aa;
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
.flyer-lp .hero-reference-row {
  display: grid;
  grid-template-columns: max-content minmax(0,1fr);
  gap: 10px 16px;
  align-items: baseline;
  margin: 0;
  padding: 8px 0;
  font-size: clamp(.92rem,1.45vw,1.05rem);
  line-height: 1.65;
}
.flyer-lp .hero-reference-row + .hero-reference-row { border-top: 1px solid #d4e0e9; }
.flyer-lp .hero-reference-label { font-weight: 700; white-space: nowrap; }
.flyer-lp .hero-reference-row a { color: #075ca8; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.flyer-lp .hero-reference-row a:hover,
.flyer-lp .hero-reference-row a:focus-visible { color: #003f78; text-decoration-thickness: 2px; }
.flyer-lp .hero-reference-arrow { margin-left: .4em; font-size: .9em; }

/* 全体の主要幅を揃える */
.flyer-lp .target,
.flyer-lp .overview-full-card,
.flyer-lp #amount .amount-card,
.flyer-lp #application .application-card,
.flyer-lp #documents .documents-card,
.flyer-lp .flyer-contact > .contact-card-list,
.flyer-lp .flyer-contact > .counter-location {
  box-sizing: border-box;
  width: min(1120px, calc(100% - 48px)) !important;
  max-width: 1120px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

/* 主要見出し：星は使わず、緑背景＋白文字＋内容別ピクト */
.flyer-lp .flyer-heading {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 17px 24px 19px;
  color: #fff;
  background: #ae1e22;
  border: 2px solid #ae1e22;
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(140,19,23,.13);
  overflow: hidden;
}
.flyer-lp #application > .flyer-heading,
.flyer-lp .flyer-contact > .flyer-heading {
  width: min(1120px, calc(100% - 48px));
  max-width: 1120px;
}
.flyer-lp .flyer-heading > span { display: block; margin-bottom: 4px; color: #f4d9da; font-size: .82rem; font-weight: 800; letter-spacing: .18em; }
.flyer-lp .flyer-heading h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: #fff !important;
  font-size: clamp(1.9rem,3.1vw,2.55rem);
  line-height: 1.3;
  letter-spacing: .02em;
  white-space: normal;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}
.flyer-lp .flyer-heading h2::before,
.flyer-lp #target-title::before {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: #ae1e22;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  background: #fff;
  border-radius: 50%;
}
.flyer-lp #overview-title::before { content: "概"; }
.flyer-lp #amount-title::before { content: "¥"; font-family: Arial,sans-serif; }
.flyer-lp #application-title::before { content: "申"; }
.flyer-lp #documents-title::before { content: "書"; }
.flyer-lp #contact-title::before { content: "☎"; font-family: Arial,sans-serif; font-size: 20px; }

/* 対象となる方：縦書き指定を確実に解除 */
.flyer-lp .target-wrap .target,
.flyer-lp .target-wrap .target-panel {
  display: block !important;
  grid-template-columns: none !important;
  min-width: 0 !important;
}
.flyer-lp #target-title {
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 0 24px !important;
  padding: 16px 20px !important;
  color: #fff !important;
  font-size: clamp(1.8rem,3vw,2.35rem) !important;
  line-height: 1.3 !important;
  letter-spacing: .02em !important;
  white-space: normal !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  background: #ae1e22 !important;
  border: 2px solid #ae1e22 !important;
  border-radius: 12px !important;
}
.flyer-lp #target-title::before { content: "対"; }

/* 追加給付の概要：全文掲載 */
.flyer-lp .overview-full-section { padding: 64px 0 30px; background: #f8f1f1; }
.flyer-lp .overview-full-card { padding: 38px !important; }
.flyer-lp .overview-content-block { margin-top: 34px; }
.flyer-lp .overview-subheading {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin: 0 0 20px;
  padding: 14px 18px;
  color: #fff;
  font-size: clamp(1.35rem,2.4vw,1.8rem);
  line-height: 1.4;
  background: #ae1e22;
  border-radius: 10px;
}
.flyer-lp .overview-subheading-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  color: #ae1e22;
  background: #fff;
  border-radius: 50%;
}
.flyer-lp .overview-subheading-icon svg { width: 30px; height: 30px; }
.flyer-lp .overview-text-list { display: grid; gap: 13px; }
.flyer-lp .overview-text-list p,
.flyer-lp .overview-content-block > p { margin: 0 0 13px; font-size: 1.05rem; line-height: 1.9; }
.flyer-lp .overview-text-list p { margin: 0; padding: 15px 18px; background: #fbf7f7; border-left: 5px solid #c4686b; border-radius: 7px; }
.flyer-lp .overview-lead-list { display: grid; gap: 8px; margin: 0 0 18px; padding-left: 1.5em; line-height: 1.8; }
.flyer-lp .overview-table-scroll { margin-top: 8px; border: 1px solid #d3b8b9; border-radius: 10px; background: #fff; }
.flyer-lp .overview-period-table,
.flyer-lp .overview-example-table { width: 100%; border-collapse: collapse; color: #642b2d; font-size: .92rem; line-height: 1.55; }
.flyer-lp .overview-period-table { min-width: 1040px; }
.flyer-lp .overview-example-table { min-width: 1060px; }
.flyer-lp .overview-period-table th,
.flyer-lp .overview-period-table td,
.flyer-lp .overview-example-table th,
.flyer-lp .overview-example-table td { padding: 13px 11px; border: 1px solid #ddc8c9; vertical-align: middle; }
.flyer-lp .overview-period-table thead th,
.flyer-lp .overview-example-table thead th { color: #fff; font-weight: 800; text-align: center; background: #ae1e22; }
.flyer-lp .overview-period-table tbody th,
.flyer-lp .overview-example-table tbody th { min-width: 220px; font-weight: 700; text-align: left; background: #f8eeee; }
.flyer-lp .overview-example-table td { min-width: 135px; text-align: center; }
.flyer-lp .overview-example-table td strong { color: #9e1318; font-size: 1.12rem; }
.flyer-lp .overview-period-bar { display: block; padding: 9px 12px; color: #fff; font-weight: 800; text-align: center; background: #c53f44; border-radius: 999px; }
.flyer-lp .overview-table-item-lines { display: block; line-height: 1.75; }
.flyer-lp .overview-annotations,
.flyer-lp .overview-notes { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.flyer-lp .overview-annotations li,
.flyer-lp .overview-notes li { padding: 13px 15px; line-height: 1.75; background: #f7f3f3; border-radius: 7px; }
.flyer-lp .overview-payment-copy { padding: 22px !important; font-size: clamp(1.25rem,2.3vw,1.65rem) !important; font-weight: 800; text-align: center; background: #f8eeee; border: 2px solid #bd8385; border-radius: 10px; }
.flyer-lp .overview-table-title { margin: 28px 0 12px; padding: 12px 16px; color: #fff; font-size: clamp(1.1rem,2vw,1.35rem); line-height: 1.5; background: #a13337; border-radius: 8px; }
.flyer-lp .overview-note-box { padding: 16px 18px !important; background: #fff9e8; border-left: 6px solid #dca823; border-radius: 8px; }
.flyer-lp .overview-source { margin-top: 32px !important; padding-top: 18px; font-size: .92rem !important; border-top: 1px solid #ddc8c9; }
.flyer-lp .overview-source a { color: #075ca8; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* 既存の追加給付額の例：他セクションと同じ幅 */
.flyer-lp #amount { width: 100%; padding-right: 0; padding-left: 0; }
.flyer-lp #amount .amount-card { padding: 38px !important; }
.flyer-lp #amount .amount-card > h3 { margin: 26px 0 20px; padding: 13px 17px; color: #fff; font-size: clamp(1.15rem,2vw,1.4rem); line-height: 1.55; background: #a13337; border-radius: 8px; }

/* 申出方法：見出しを枠内に収め、全端末で縦並び */
.flyer-lp #application { box-sizing: border-box; width: 100%; overflow: hidden; }
.flyer-lp #application .application-card { padding: 34px !important; }
.flyer-lp #application .application-list { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 24px !important; width: min(100%,960px) !important; max-width: 960px !important; margin-right: auto !important; margin-left: auto !important; }
.flyer-lp #application .application-item { position: relative; min-width: 0; padding: 34px 38px 40px !important; overflow: hidden; }
.flyer-lp #application .application-item > h3 {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 72px;
  margin: 12px 0 28px;
  padding: 14px 180px 14px 18px;
  color: #fff;
  font-size: clamp(1.65rem,2.7vw,2.05rem);
  line-height: 1.3;
  background: #ae1e22;
  border-radius: 9px;
}
.flyer-lp #application .application-illustration { width: 156px !important; height: 124px !important; top: 12px !important; right: 24px !important; }
.flyer-lp #application .application-number { font-size: 1.1rem; font-weight: 800; }

/* 郵送・窓口に共通する4つのダウンロードボタン */
.flyer-lp #application .application-downloads { margin-top: 30px; padding: 20px; background: #faf4f4; border: 2px solid #dcbdbe; border-radius: 14px; }
.flyer-lp #application .application-downloads-title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 11px 14px; color: #fff; font-size: clamp(1.15rem,2vw,1.4rem); line-height: 1.4; background: #a13337; border-radius: 8px; }
.flyer-lp #application .application-downloads-title-icon { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; color: #a13337; background: #fff; border-radius: 50%; }
.flyer-lp #application .application-downloads-title-icon svg { width: 21px; height: 21px; }
.flyer-lp #application .application-download-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.flyer-lp #application .application-download-button { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 12px; align-items: center; min-width: 0; min-height: 82px; padding: 13px 15px; color: #642b2d; text-decoration: none; background: #fff; border: 2px solid #cba8a9; border-radius: 12px; transition: transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.flyer-lp #application .application-download-button:hover,
.flyer-lp #application .application-download-button:focus-visible { color: #7b0e11; border-color: #ba2025; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(135,21,25,.12); }
.flyer-lp #application .application-file-type { display: inline-grid; place-items: center; min-width: 52px; min-height: 34px; padding: 4px 7px; color: #fff; font-size: .78rem; font-weight: 800; line-height: 1; background: #ba2025; border-radius: 7px; }
.flyer-lp #application .application-download-button.is-pdf .application-file-type { background: #b73535; }
.flyer-lp #application .application-download-button.is-word .application-file-type { background: #1769aa; }
.flyer-lp #application .application-file-name { display: grid; gap: 2px; min-width: 0; }
.flyer-lp #application .application-file-name strong { font-size: 1.02rem; line-height: 1.35; }
.flyer-lp #application .application-file-name small { color: #826768; font-size: .82rem; line-height: 1.35; }
.flyer-lp #application .application-file-arrow { font-size: 1.25rem; font-weight: 800; }

/* 書類セクションの小見出し・アイコン */
.flyer-lp .document-block > h3,
.flyer-lp .document-block > h4 { color: #fff !important; background: #ae1e22 !important; border-radius: 9px !important; }
.flyer-lp .document-block > h3 { padding: 14px 17px !important; font-size: clamp(1.35rem,2.4vw,1.75rem) !important; line-height: 1.45; }
.flyer-lp .document-block > h4 { padding: 12px 16px !important; font-size: clamp(1.15rem,2vw,1.4rem) !important; }
.flyer-lp .document-item-heading { align-items: center; gap: 16px; }
.flyer-lp .document-item-icon { display: grid; place-items: center; flex: 0 0 76px; width: 76px; height: 76px; background: #f9eeee; border: 2px solid #dcbdbe; border-radius: 17px; }
.flyer-lp .document-item-icon svg { width: 50px; height: 50px; }
.flyer-lp .document-item-heading > strong { color: #7b0e11; font-size: clamp(1.12rem,1.9vw,1.35rem); line-height: 1.55; }

@media (max-width: 760px) {
  .flyer-lp .hero-reference-links { width: min(100% - 28px,980px); padding: 10px 15px; }
  .flyer-lp .hero-reference-row { grid-template-columns: 1fr; gap: 3px; padding: 10px 0; }
  .flyer-lp .hero-reference-label { white-space: normal; font-size: .82rem; }
  .flyer-lp .target,
  .flyer-lp .overview-full-card,
  .flyer-lp #amount .amount-card,
  .flyer-lp #application .application-card,
  .flyer-lp #documents .documents-card,
  .flyer-lp .flyer-contact > .contact-card-list,
  .flyer-lp .flyer-contact > .counter-location { width: min(100% - 28px,1120px) !important; }
  .flyer-lp #application > .flyer-heading,
  .flyer-lp .flyer-contact > .flyer-heading { width: min(100% - 28px,1120px); }
  .flyer-lp .flyer-heading { padding: 14px 12px 16px; border-radius: 10px; }
  .flyer-lp .flyer-heading h2 { gap: 9px; font-size: clamp(1.45rem,6.6vw,1.9rem); line-height: 1.35; }
  .flyer-lp .flyer-heading h2::before,
  .flyer-lp #target-title::before { width: 34px; height: 34px; font-size: 15px; }
  .flyer-lp #target-title { gap: 9px; padding: 13px 14px !important; font-size: 1.6rem !important; }
  .flyer-lp .overview-full-section { padding-top: 44px; }
  .flyer-lp .overview-full-card,
  .flyer-lp #amount .amount-card,
  .flyer-lp #application .application-card { padding: 18px !important; }
  .flyer-lp .overview-content-block { margin-top: 26px; }
  .flyer-lp .overview-subheading { gap: 10px; padding: 12px; font-size: 1.25rem; }
  .flyer-lp .overview-subheading-icon { flex-basis: 40px; width: 40px; height: 40px; }
  .flyer-lp .overview-subheading-icon svg { width: 25px; height: 25px; }
  .flyer-lp .overview-text-list p,
  .flyer-lp .overview-content-block > p { font-size: 1rem; line-height: 1.8; }
  .flyer-lp .overview-period-table { min-width: 920px; }
  .flyer-lp .overview-example-table { min-width: 940px; }
  .flyer-lp .overview-table-title { font-size: 1.05rem; }
  .flyer-lp #amount .amount-card > h3 { font-size: 1.05rem; }
  .flyer-lp #application .application-list { gap: 18px !important; }
  .flyer-lp #application .application-item { padding: 24px 20px 28px !important; }
  .flyer-lp #application .application-item > h3 { min-height: 64px; margin: 9px 0 22px; padding: 11px 118px 11px 13px; font-size: 1.48rem; }
  .flyer-lp #application .application-illustration { width: 110px !important; height: 88px !important; top: 10px !important; right: 14px !important; }
  .flyer-lp #application .application-downloads { margin-top: 24px; padding: 14px 12px; }
  .flyer-lp #application .application-download-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .flyer-lp #application .application-download-button { min-height: 76px; padding: 12px; }
  .flyer-lp .document-item-heading { gap: 11px; }
  .flyer-lp .document-item-icon { flex-basis: 62px; width: 62px; height: 62px; border-radius: 14px; }
  .flyer-lp .document-item-icon svg { width: 41px; height: 41px; }
}

@media (max-width: 390px) {
  .flyer-lp .flyer-heading h2 { font-size: 1.38rem; }
  .flyer-lp .overview-subheading { align-items: flex-start; font-size: 1.15rem; }
  .flyer-lp #application .application-item { padding-right: 15px !important; padding-left: 15px !important; }
  .flyer-lp #application .application-item > h3 { padding-right: 98px; font-size: 1.35rem; }
  .flyer-lp #application .application-illustration { width: 94px !important; height: 76px !important; right: 8px !important; }
  .flyer-lp #application .application-download-button { gap: 8px; }
  .flyer-lp #application .application-file-type { min-width: 46px; font-size: .72rem; }
}


/* =========================================================
   2026-07-17 デザイン再調整
   対象旧レイアウト / 概要参照デザイン / 申出見出し修正
   ========================================================= */

/* 漢字1文字の仮アイコンを削除 */
.flyer-lp #target-title::before,
.flyer-lp #overview-title::before,
.flyer-lp #application-title::before,
.flyer-lp #documents-title::before {
  content: none !important;
  display: none !important;
}

/* 対象となる方：以前の左見出し帯レイアウトへ戻す */
.flyer-lp .target-wrap .target-panel {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: 140px minmax(0,1fr) !important;
  align-items: stretch !important;
  padding: 0 !important;
  overflow: hidden;
  background: #fff;
  border: 6px solid #ae1e22 !important;
  border-radius: 18px !important;
}
.flyer-lp #target-title {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 24px 14px !important;
  color: #fff !important;
  font-size: 1.25rem !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  background: #ae1e22 !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.flyer-lp .target-wrap .target-panel > ul {
  box-sizing: border-box;
  margin: 0 !important;
  padding: 30px 36px 30px 54px !important;
  align-self: center;
}

/* 概要：参照サイトと同様の白いカード、黒い中央見出し、緑の小見出し帯 */
.flyer-lp .overview-main-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 30px;
  padding: 10px 14px;
  color: #111;
  background: #fff;
}
.flyer-lp .overview-main-title h2 {
  margin: 0;
  padding: 0;
  color: #111 !important;
  font-size: clamp(2rem,3vw,2.55rem);
  line-height: 1.35;
  letter-spacing: .03em;
  text-align: center;
}
.flyer-lp .overview-main-title-icon {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  color: #682729;
}
.flyer-lp .overview-main-title-icon svg { width: 54px; height: 54px; }
.flyer-lp .overview-subheading {
  gap: 0;
  padding: 11px 15px;
  font-size: clamp(1.15rem,2vw,1.4rem);
  background: #c80a11;
  border-radius: 0;
  box-shadow: none;
}
.flyer-lp .overview-subheading-icon { display: none !important; }
.flyer-lp .overview-content-block { margin-top: 32px; }
.flyer-lp .overview-text-list { gap: 4px; }
.flyer-lp .overview-text-list p {
  padding: 7px 4px 7px 1.4em;
  background: transparent;
  border: 0;
  border-radius: 0;
  position: relative;
}
.flyer-lp .overview-text-list p::before {
  content: "•";
  position: absolute;
  left: .25em;
  color: #111;
  font-weight: 900;
}
.flyer-lp .overview-period-table,
.flyer-lp .overview-example-table {
  color: #111;
  border: 1px solid #444;
}
.flyer-lp .overview-period-table th,
.flyer-lp .overview-period-table td,
.flyer-lp .overview-example-table th,
.flyer-lp .overview-example-table td {
  border-color: #555;
}
.flyer-lp .overview-period-table thead th,
.flyer-lp .overview-example-table thead th {
  color: #111;
  background: #f3e5e5;
}
.flyer-lp .overview-period-table tbody th,
.flyer-lp .overview-example-table tbody th {
  color: #111;
  background: #f8eded;
}
.flyer-lp .overview-period-table tbody tr:nth-child(even) td { background: #fff6f6; }
.flyer-lp .overview-period-bar {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% - 34px);
  margin: 0 auto 31px;
  padding: 5px 8px;
  color: #c62828;
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  background: #fff;
  border: 2px solid #c62828;
  border-radius: 0;
}
.flyer-lp .overview-period-bar::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: calc(100% + 5px);
  left: -3%;
  width: 106%;
  height: 24px;
  background: #fff139;
  clip-path: polygon(0 18%,86% 18%,86% 0,100% 50%,86% 100%,86% 82%,0 82%);
  filter: drop-shadow(1px 0 0 #333) drop-shadow(-1px 0 0 #333) drop-shadow(0 1px 0 #333) drop-shadow(0 -1px 0 #333);
}
.flyer-lp .overview-table-title {
  margin-top: 28px;
  color: #111;
  background: transparent;
  border-radius: 0;
  padding: 5px 4px;
  font-weight: 800;
}

/* 申出3項目：タイトル背景を外し、イラストを拡大して干渉を解消 */
.flyer-lp #application .application-item {
  padding-top: 34px !important;
}
.flyer-lp #application .application-item > h3 {
  display: flex;
  align-items: center;
  min-height: 108px;
  margin: 8px 0 24px;
  padding: 16px 196px 16px 0;
  color: #901317;
  font-size: clamp(1.75rem,2.8vw,2.15rem);
  line-height: 1.3;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid #e9d6d7 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.flyer-lp #application .application-illustration {
  width: 184px !important;
  height: 148px !important;
  top: 6px !important;
  right: 18px !important;
}

@media (max-width: 760px) {
  .flyer-lp .target-wrap .target-panel {
    grid-template-columns: minmax(0,1fr) !important;
    border-width: 4px !important;
    border-radius: 13px !important;
  }
  .flyer-lp #target-title {
    width: 100% !important;
    height: auto !important;
    padding: 13px 15px !important;
    font-size: 1.4rem !important;
    white-space: normal !important;
    justify-content: flex-start !important;
  }
  .flyer-lp .target-wrap .target-panel > ul { padding: 22px 22px 22px 42px !important; }
  .flyer-lp .overview-main-title { gap: 11px; margin-bottom: 22px; padding: 6px 2px; }
  .flyer-lp .overview-main-title h2 { font-size: clamp(1.55rem,6.7vw,1.95rem); }
  .flyer-lp .overview-main-title-icon { flex-basis: 48px; width: 48px; height: 48px; }
  .flyer-lp .overview-main-title-icon svg { width: 46px; height: 46px; }
  .flyer-lp .overview-subheading { font-size: 1.13rem; padding: 10px 12px; }
  .flyer-lp #application .application-item > h3 {
    min-height: 92px;
    padding: 13px 132px 13px 0;
    font-size: 1.5rem;
  }
  .flyer-lp #application .application-illustration {
    width: 126px !important;
    height: 102px !important;
    top: 8px !important;
    right: 8px !important;
  }
}

@media (max-width: 390px) {
  .flyer-lp .overview-main-title { align-items: center; }
  .flyer-lp .overview-main-title h2 { font-size: 1.45rem; }
  .flyer-lp .overview-main-title-icon { flex-basis: 42px; width: 42px; height: 42px; }
  .flyer-lp .overview-main-title-icon svg { width: 40px; height: 40px; }
  .flyer-lp #application .application-item > h3 { min-height: 84px; padding-right: 112px; font-size: 1.38rem; }
  .flyer-lp #application .application-illustration { width: 108px !important; height: 88px !important; }
}

/* =========================================================
   2026-07-17 金額表・期間表・見出しの表示調整
   ========================================================= */

/* 「追加給付額の例」見出しの二重背景を解消 */
.flyer-lp #amount .flyer-heading h2 {
  background: none !important;
  background-image: none !important;
}

/* 対象期間表：年度列を同じ幅に固定して罫線を揃える */
.flyer-lp #overview .overview-period-table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}
.flyer-lp #overview .overview-period-table th,
.flyer-lp #overview .overview-period-table td {
  box-sizing: border-box;
}
.flyer-lp #overview .overview-period-table thead th:first-child {
  width: 62.5% !important;
}
.flyer-lp #overview .overview-period-table thead th:not(:first-child) {
  width: 5.357142% !important;
}

/* PC：追加給付額の例を横スクロールなしで全列表示 */
@media (min-width: 769px) {
  .flyer-lp #overview .overview-example-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
  }
  .flyer-lp #overview .overview-example-table th:nth-child(1),
  .flyer-lp #overview .overview-example-table td:nth-child(1) {
    width: 21% !important;
  }
  .flyer-lp #overview .overview-example-table th:nth-child(2),
  .flyer-lp #overview .overview-example-table td:nth-child(2) {
    width: 29% !important;
  }
  .flyer-lp #overview .overview-example-table th:nth-child(n+3),
  .flyer-lp #overview .overview-example-table td:nth-child(n+3) {
    width: 12.5% !important;
  }
}

/* スマホ・タブレット：表の可読性を保つため横スクロールを継続 */
@media (max-width: 768px) {
  .flyer-lp #overview .overview-example-table {
    width: 1060px !important;
    min-width: 1060px !important;
    table-layout: fixed !important;
  }
  .flyer-lp #overview .overview-period-table {
    width: 1040px !important;
    min-width: 1040px !important;
  }
}


/* =========================================================
   2026-07-17 表の改行・二重罫線の最終調整
   ========================================================= */

/* スクロール枠側の罫線を外し、表本体の罫線だけを表示 */
.flyer-lp #overview .overview-table-scroll {
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 9px !important;
}

/* 対象期間表：説明列と年度列の配分を見直す */
.flyer-lp #overview .overview-period-table thead th:first-child {
  width: 45% !important;
}
.flyer-lp #overview .overview-period-table thead th:nth-child(n+2):nth-child(-n+7) {
  width: 7% !important;
}
.flyer-lp #overview .overview-period-table thead th:last-child {
  width: 13% !important;
}
.flyer-lp #overview .overview-period-table thead th {
  white-space: normal !important;
  overflow-wrap: normal !important;
  line-height: 1.45 !important;
}

/* PCではスクロール領域を作らず、余計な下線を表示しない */
@media (min-width: 769px) {
  .flyer-lp #overview .overview-table-scroll {
    overflow-x: hidden !important;
    scrollbar-width: none !important;
  }
  .flyer-lp #overview .overview-table-scroll::-webkit-scrollbar {
    display: none !important;
  }
}

/* スマホ・タブレットのみ横スクロールを許可 */
@media (max-width: 768px) {
  .flyer-lp #overview .overview-table-scroll {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
  }
}

/* =========================================================
   2026-07-21 追加修正
   ・高知市向け「追加給付額の例」を概要内へ移設
   ・DOCUMENTSの指定項目をチェック枠から中黒へ変更
========================================================= */

/* 概要内へ移設した追加給付額の例 */
.flyer-lp #overview #amount {
  box-sizing: border-box;
  width: 100%;
  margin-top: 34px;
  padding: 0;
  scroll-margin-top: 88px;
}

.flyer-lp #overview #amount .amount-card {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
}

/* 中黒リスト */
.flyer-lp .document-bullet-list {
  margin: 0;
  padding-left: 1.5em !important;
  list-style: disc outside !important;
}

.flyer-lp .document-bullet-list > li {
  position: static;
  margin-top: 14px;
  padding-left: 0;
  line-height: 1.75;
}

.flyer-lp .document-bullet-list > li::before {
  content: none !important;
  display: none !important;
}

.flyer-lp .document-bullet-list > li::marker {
  color: var(--green, #a32126);
}

.flyer-lp .document-bullet-list span {
  color: var(--ink, #522c2d);
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .flyer-lp #overview #amount {
    margin-top: 26px;
  }

  .flyer-lp #overview #amount .amount-card {
    padding: 18px !important;
  }
}
.flyer-lp #overview #amount .amount-card {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.flyer-lp .application-period-mobile-break {
  display: none;
}

.flyer-lp .application-period-dates > span {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .flyer-lp #application .application-item > h3 {
    box-sizing: border-box;
    width: auto !important;
    max-width: calc(100% - 112px) !important;
    padding-right: 0 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
  }

  .flyer-lp .application-period-mobile-break {
    display: block;
  }

  .flyer-lp .application-period-dates {
    display: block;
    width: 100%;
    text-align: center;
  }

  .flyer-lp .application-period-dates > span {
    display: inline-block;
    white-space: nowrap;
  }
}

/* =========================================================
   2026-07-21 /lp/ responsive QA fixes
   - Keep the overview period table horizontally accessible.
   - Prevent the mobile header from exceeding its parent width.
   - Give icon headings an explicit text column to avoid orphaned characters.
   ========================================================= */

body.page-id-86 main.flyer-lp #overview .overview-table-scroll {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-inline: contain;
}

@media (max-width: 600px) {
  body.page-id-86 .site-header {
    box-sizing: border-box;
  }

  body.page-id-86 .site-header .nav {
    width: 100% !important;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  body.page-id-86 main.flyer-lp .overview-main-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
  }

  body.page-id-86 main.flyer-lp .overview-main-title #overview-title {
    min-width: 0;
  }

  body.page-id-86 main.flyer-lp .overview-main-title-icon {
    width: 42px;
    height: 42px;
    justify-self: end;
  }

  body.page-id-86 main.flyer-lp .overview-main-title-icon svg {
    width: 40px;
    height: 40px;
  }

  body.page-id-86 main.flyer-lp .overview-subheading {
    display: block;
  }

  body.page-id-86 main.flyer-lp .application-phone-title,
  body.page-id-86 main.flyer-lp .application-downloads-title,
  body.page-id-86 main.flyer-lp .document-block h4 {
  }

  body.page-id-86 main.flyer-lp .application-downloads-title {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    column-gap: 10px;
  }
}

@media (max-width: 390px) {
  body.page-id-86 main.flyer-lp .application-phone-title {
    font-size: 0.96rem;
    letter-spacing: -0.01em;
  }

  body.page-id-86 main.flyer-lp .application-downloads-title {
    font-size: 1.05rem;
  }
}

@media (max-width: 374px) {
  body.page-id-86 main.flyer-lp .document-block h4 {
    font-size: 0.95rem;
  }
}

/* =========================================================
   2026-07-21 /lp/ accessibility, footer and print improvements
   ========================================================= */

body.page-id-86 #open-side-panel {
  pointer-events: none !important;
}

@media (max-width: 1024px) {
  body:has(main.flyer-lp) footer {
    padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  }
}

@media print {
  @page {
    margin: 12mm;
  }

  body:has(main.flyer-lp) .site-header,
  body:has(main.flyer-lp) .floating-actions,
  body:has(main.flyer-lp) #tayori-ai-chatbot-app,
  body:has(main.flyer-lp) #open-side-panel {
    display: none !important;
  }

  body:has(main.flyer-lp) footer {
    padding-bottom: 0 !important;
  }

  main.flyer-lp {
    overflow: visible !important;
  }

  main.flyer-lp,
  main.flyer-lp * {
    color: #000 !important;
    background-color: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  main.flyer-lp .table-scroll,
  main.flyer-lp .flyer-table-scroll {
    overflow: visible !important;
  }

  main.flyer-lp .overview-period-table,
  main.flyer-lp .flyer-amount-table {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 7.5pt !important;
  }

  main.flyer-lp .overview-period-table th,
  main.flyer-lp .overview-period-table td,
  main.flyer-lp .flyer-amount-table th,
  main.flyer-lp .flyer-amount-table td {
    padding: 4px 3px !important;
  }

  main.flyer-lp .flyer-card,
  main.flyer-lp .application-item,
  main.flyer-lp .contact-card,
  main.flyer-lp .counter-location,
  main.flyer-lp .fraud-alert-inner {
    break-inside: avoid-page;
  }

  main.flyer-lp a {
    text-decoration: underline !important;
  }
}

/* =========================================================
   2026-07-22 /lp/ content, heading hierarchy and flow update
   ========================================================= */

body.page-id-86 main.flyer-lp .flyer-hero .eyebrow {
  width: fit-content;
  max-width: min(1120px, calc(100% - 48px));
  padding: 14px 28px;
  font-size: clamp(1.85rem, 2.7vw, 2.6rem);
  font-weight: 900;
  line-height: 1.35;
}

/* h3・h4は大見出しより装飾を抑える */
body.page-id-86 main.flyer-lp .overview-subheading {
  color: #871a1d !important;
  background: #f8eeee !important;
  border-left: 6px solid #ba2025;
}

body.page-id-86 main.flyer-lp .overview-subheading-icon {
  color: #fff;
  background: #ba2025;
}

body.page-id-86 main.flyer-lp #amount .amount-card > h4 {
  margin: 24px 0 20px;
  padding: 12px 16px !important;
  color: #871a1d !important;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem) !important;
  background: #f8eeee !important;
  border-left: 6px solid #c4686b;
  border-radius: 0 8px 8px 0 !important;
}

body.page-id-86 main.flyer-lp #application .application-item > h3 {
  min-height: 62px;
  color: #871a1d;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  background: #f8eeee;
  border-left: 6px solid #ba2025;
}

body.page-id-86 main.flyer-lp #application .application-downloads-title {
  color: #871a1d;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  background: #fff;
  border-left: 5px solid #c4686b;
}

body.page-id-86 main.flyer-lp #application .application-downloads-title-icon {
  color: #fff;
  background: #ba2025;
}

body.page-id-86 main.flyer-lp #application .application-example-link {
  margin: 14px 0 0;
  text-align: left;
}

body.page-id-86 main.flyer-lp #application .application-example-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  color: #075ca8;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.page-id-86 main.flyer-lp #application .application-example-link a:hover,
body.page-id-86 main.flyer-lp #application .application-example-link a:focus-visible {
  color: #871a1d;
}

body.page-id-86 main.flyer-lp #application .application-example-link-meta {
  font-size: 0.85em;
  font-weight: 600;
}

body.page-id-86 main.flyer-lp .document-block > h3 {
  padding: 12px 16px !important;
  color: #871a1d !important;
  font-size: clamp(1.2rem, 2vw, 1.5rem) !important;
  background: #f8eeee !important;
  border-left: 6px solid #ba2025;
  border-radius: 0 9px 9px 0 !important;
}

body.page-id-86 main.flyer-lp .document-block > h4 {
  padding: 10px 14px !important;
  color: #871a1d !important;
  font-size: clamp(1rem, 1.6vw, 1.16rem) !important;
  background: #fbf7f7 !important;
  border-left: 5px solid #c4686b !important;
  border-radius: 0 8px 8px 0 !important;
}

/* 追加給付額は「追加給付の概要について」配下のh3として扱う */
body.page-id-86 main.flyer-lp #amount {
  width: 100%;
  padding: 0;
  scroll-margin-top: 96px;
}

body.page-id-86 main.flyer-lp #amount .amount-card > h3.overview-subheading {
  margin: 0 0 20px !important;
  padding: 14px 18px !important;
  color: #871a1d !important;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem) !important;
  line-height: 1.4 !important;
  background: #f8eeee !important;
  border-left: 6px solid #ba2025 !important;
  border-radius: 0 10px 10px 0 !important;
}

body.page-id-86 main.flyer-lp #amount-title::before {
  content: none !important;
  display: none !important;
}

body.page-id-86 main.flyer-lp #amount > .amount-card {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.page-id-86 main.flyer-lp #amount .amount-subheading-text {
  display: grid;
  gap: 2px;
}

body.page-id-86 main.flyer-lp #amount .amount-subheading-kicker {
  color: #ba2025;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.2;
}

/* 支給までの流れ */
body.page-id-86 main.flyer-lp .payment-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

body.page-id-86 main.flyer-lp .payment-flow li {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-width: 0;
  min-height: 154px;
  padding: 22px 14px;
  text-align: center;
  background: #fff;
  border: 2px solid #c99b9d;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(135,26,29,0.08);
}

body.page-id-86 main.flyer-lp .payment-flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -28px;
  color: #ba2025;
  font-size: 1.7rem;
  font-weight: 900;
  transform: translateY(-50%);
}

body.page-id-86 main.flyer-lp .payment-flow-number {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  place-items: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  background: #ba2025;
  border-radius: 50%;
}

body.page-id-86 main.flyer-lp .payment-flow strong {
  color: #871a1d;
  font-size: clamp(1.05rem, 1.65vw, 1.28rem);
  line-height: 1.5;
}

body.page-id-86 main.flyer-lp .payment-flow li > span:last-child {
  margin-top: 7px;
  color: #856162;
  font-size: 0.9rem;
  line-height: 1.6;
}

body.page-id-86 main.flyer-lp .payment-flow a {
  color: #075ca8;
  font-weight: 700;
  text-underline-offset: 3px;
}

body.page-id-86 main.flyer-lp .payment-flow-note {
  margin: 18px 0 0 !important;
  padding: 14px 16px;
  color: #846869;
  font-size: 0.94rem !important;
  line-height: 1.75 !important;
  background: #faf7f7;
  border-radius: 8px;
}

/* 郵送申出方法 */
body.page-id-86 main.flyer-lp .postal-method-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: min(100%, 420px);
  min-height: 58px;
  margin: 22px 0;
  padding: 12px 18px;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  background: #ae1e22;
  border: 2px solid #ae1e22;
  border-radius: 10px;
  box-sizing: border-box;
}

body.page-id-86 main.flyer-lp .postal-method-button:hover,
body.page-id-86 main.flyer-lp .postal-method-button:focus-visible {
  color: #ae1e22;
  background: #fff;
  outline: 3px solid rgba(174,30,34,0.24);
  outline-offset: 3px;
}

body.page-id-86 main.flyer-lp .postal-method-details {
  margin: 0 auto 42px;
  padding: 26px;
  color: #642b2d;
  background: #faf4f4;
  border: 2px solid #dcbdbe;
  border-radius: 14px;
  scroll-margin-top: 96px;
}

body.page-id-86 main.flyer-lp .postal-method-details > h3 {
  margin: 0 0 18px;
  color: #871a1d;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.45;
}

body.page-id-86 main.flyer-lp .postal-address-box {
  padding: 20px 22px;
  background: #fff;
  border-left: 6px solid #ba2025;
  border-radius: 0 10px 10px 0;
}

body.page-id-86 main.flyer-lp .postal-address-box h4 {
  margin: 0 0 10px;
  color: #871a1d;
  font-size: 1.08rem;
}

body.page-id-86 main.flyer-lp .postal-address-box address {
  display: grid;
  gap: 3px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.7;
}

body.page-id-86 main.flyer-lp .postal-address-box p,
body.page-id-86 main.flyer-lp .postal-method-lead {
  margin: 12px 0 0;
  line-height: 1.75;
}

body.page-id-86 main.flyer-lp .postal-method-lead {
  font-weight: 700;
}

/* ページ上部へ戻る */
body.page-id-86 .lp-back-to-top {
  position: fixed;
  z-index: 999;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(18px, env(safe-area-inset-left));
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  background: #871a1d;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(109,22,25,0.28);
}

body.page-id-86 .lp-back-to-top[hidden] {
  display: none;
}

body.page-id-86 .lp-back-to-top:hover,
body.page-id-86 .lp-back-to-top:focus-visible {
  color: #871a1d;
  background: #fff;
  border-color: #871a1d;
  outline: 3px solid rgba(135,26,29,0.25);
  outline-offset: 3px;
}

@media (min-width: 601px) and (max-width: 1024px) {
  body.page-id-86 main.flyer-lp .flyer-hero .eyebrow {
    max-width: calc(100% - 48px);
    padding: 12px 22px;
    font-size: clamp(1.55rem, 3.5vw, 2rem);
  }

  body.page-id-86 .lp-back-to-top {
    bottom: calc(92px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 900px) {
  body.page-id-86 main.flyer-lp .payment-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  body.page-id-86 main.flyer-lp .payment-flow li {
    min-height: 0;
    padding: 18px 14px;
  }

  body.page-id-86 main.flyer-lp .payment-flow li:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -27px;
    transform: translateX(50%);
  }
}

@media (max-width: 760px) {
  body.page-id-86 main.flyer-lp .payment-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  body.page-id-86 main.flyer-lp .payment-flow li {
    min-height: 0;
    padding: 18px 14px;
  }

  body.page-id-86 main.flyer-lp .payment-flow li:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -27px;
    transform: translateX(50%);
  }

  body.page-id-86 main.flyer-lp #application .application-item > h3 {
    min-height: 60px;
    padding-right: 104px;
    font-size: 1.35rem;
    white-space: nowrap;
  }

  body.page-id-86 main.flyer-lp .postal-method-button {
    width: 100%;
  }

  body.page-id-86 main.flyer-lp .postal-method-details {
    margin-bottom: 30px;
    padding: 20px 16px;
  }
}

@media (max-width: 600px) {
  body.page-id-86 main.flyer-lp .flyer-hero .eyebrow {
    max-width: 100%;
    padding: 11px 15px;
    font-size: clamp(1.22rem, 5.8vw, 1.5rem);
    line-height: 1.45;
  }

  body.page-id-86 main.flyer-lp .document-block > h3 {
    font-size: 1.15rem !important;
  }

  body.page-id-86 main.flyer-lp .document-block > h4 {
    font-size: 1rem !important;
  }

  body.page-id-86 .lp-back-to-top {
    bottom: calc(92px + env(safe-area-inset-bottom));
    left: max(14px, env(safe-area-inset-left));
    width: 48px;
    height: 48px;
  }
}

@media print {
  body.page-id-86 .lp-back-to-top {
    display: none !important;
  }

  body.page-id-86 main.flyer-lp .payment-flow li {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* =========================================================
   2026-07-22 Accessibility and mobile usability polish
   ========================================================= */
.flyer-lp #application .application-number {
  color: #ae3236;
}

body:has(main.flyer-lp) .nav-toggle,
body:has(main.flyer-lp) .floating-actions__close {
  min-width: 44px;
  min-height: 44px;
}

body:has(main.flyer-lp) .floating-actions__close {
  width: 44px !important;
  height: 44px !important;
}

main.flyer-lp .application-phone a {
  min-height: 44px;
}

@media (max-width: 1024px) {
  body:has(main.flyer-lp) .floating-action__kicker {
    font-size: 11px !important;
    line-height: 1.25;
  }
}

@media (max-width: 600px) {
  main.flyer-lp .application-phone a {
    padding-block: 3px;
  }
}

/* =========================================================
   2026-07-22 Client revisions: header, overview, amount, documents
   ========================================================= */
body:has(main.flyer-lp) .nav {
  min-height: 88px;
  padding: 14px clamp(18px, 2.5vw, 34px);
}

body:has(main.flyer-lp) .nav-logo {
  min-width: 0;
  gap: 12px;
}

body:has(main.flyer-lp) .nav-logo-mark {
  flex: 0 0 auto;
  width: auto;
  height: 46px;
}

body:has(main.flyer-lp) .nav-logo-text {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline;
  min-width: 0;
  gap: 0.35em;
  white-space: nowrap;
}

body:has(main.flyer-lp) .nav-logo-city,
body:has(main.flyer-lp) .nav-logo-title {
  font-size: clamp(17px, 1.2vw, 22px) !important;
  line-height: 1.15;
  white-space: nowrap;
}

body:has(main.flyer-lp) .nav-logo-city {
  font-weight: 900;
}

body.page-id-86 main.flyer-lp #target {
  scroll-margin-top: 112px;
}

body.page-id-86 main.flyer-lp #overview #amount .amount-card {
  padding: clamp(22px, 3.5vw, 38px) !important;
  background: #fff !important;
  border: 3px solid #ba2025 !important;
  border-radius: 16px !important;
  box-shadow: 0 14px 34px rgba(135,26,29,0.12) !important;
}

body.page-id-86 main.flyer-lp #amount .flyer-amount-table thead th {
  color: #6d1619 !important;
  background: #f2dfe0 !important;
  border-color: #c38f91 !important;
}

body.page-id-86 main.flyer-lp #amount .amount-table-caption {
  padding-top: 10px;
  color: #8b7070;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.55;
  text-align: right;
  caption-side: bottom;
}

body.page-id-86 main.flyer-lp .postal-address-section {
  margin-top: 52px;
  padding: 26px;
  color: #642b2d;
  background: #faf4f4;
  border: 2px solid #dcbdbe;
  border-radius: 14px;
}

body.page-id-86 main.flyer-lp .postal-address-box h3 {
  margin: 0 0 12px;
  color: #871a1d;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
}

body.page-id-86 main.flyer-lp .postal-address-box .postal-envelope-note {
  margin-top: 16px;
  padding: 12px 14px;
  color: #7d1b12;
  font-weight: 900;
  background: #fff8cf;
  border: 2px solid #e0ad00;
  border-radius: 8px;
}

@media (max-width: 600px) {
  body:has(main.flyer-lp) .nav {
    width: calc(100vw - 24px);
    min-height: 74px;
    padding: 10px 12px;
    gap: 8px;
  }

  body:has(main.flyer-lp) .nav-logo {
    max-width: calc(100% - 48px);
    gap: 7px;
  }

  body:has(main.flyer-lp) .nav-logo-mark {
    height: 32px;
  }

  body:has(main.flyer-lp) .nav-logo-text {
    gap: 0.2em;
  }

  body:has(main.flyer-lp) .nav-logo-city,
  body:has(main.flyer-lp) .nav-logo-title {
    font-size: clamp(13px, 3.85vw, 15px) !important;
  }

  body:has(main.flyer-lp) .nav-toggle {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  body.page-id-86 main.flyer-lp #overview #amount .amount-card {
    padding: 20px 16px !important;
    border-width: 2px !important;
    border-radius: 13px !important;
  }

  body.page-id-86 main.flyer-lp .postal-address-section {
    margin-top: 38px;
    padding: 18px 14px;
  }
}

@media (max-width: 340px) {
  body:has(main.flyer-lp) .nav-logo {
    gap: 6px;
  }

  body:has(main.flyer-lp) .nav-logo-mark {
    height: 30px;
  }

  body:has(main.flyer-lp) .nav-logo-text {
    gap: 0.12em;
  }

  body:has(main.flyer-lp) .nav-logo-city,
  body:has(main.flyer-lp) .nav-logo-title {
    font-size: 12.5px !important;
  }
}


/* =========================================================
   2026-07-23 Amount notes and natural Japanese wrapping
   ========================================================= */
body.page-id-86 main.flyer-lp .flyer-notes {
  padding-left: 0;
  list-style: none;
}

body.page-id-86 main.flyer-lp .flyer-note-item {
  display: grid;
  grid-template-columns: 1em minmax(0, 1fr);
  column-gap: 0.35em;
  margin: 0;
  line-height: 1.75;
  text-align: left;
}

body.page-id-86 main.flyer-lp .flyer-note-item + .flyer-note-item {
  margin-top: 0.55em;
}

body.page-id-86 main.flyer-lp .flyer-note-mark,
body.page-id-86 main.flyer-lp .flyer-note-item > span:last-child {
  min-width: 0;
}

@media (max-width: 600px) {
  body.page-id-86 main.flyer-lp :where(
    h1, h2, h3, h4, p, li, dd, dt, caption, th, td, a, strong, span
  ):not(.tel):not(.application-phone-number):not(.application-period-dates) {
  }

  body.page-id-86 main.flyer-lp :where(h1, h2, h3, h4) {
  }

  body.page-id-86 main.flyer-lp :where(p, li, dd, dt, caption, th, td) {
  }

}



/* =========================================================
   2026-07-23 Header scale and requested mobile line breaks
   ========================================================= */
body:has(main.flyer-lp) .nav-logo-city,
body:has(main.flyer-lp) .nav-logo-title {
  font-size: clamp(25.5px, 1.8vw, 33px) !important;
}

body.page-id-86 main.flyer-lp .client-mobile-break {
  display: none;
}

body.page-id-86 main.flyer-lp .counter-location-nowrap {
  white-space: nowrap;
}

@media (max-width: 600px) {
  body:has(main.flyer-lp) .nav {
    width: calc(100vw - 8px);
    padding-right: 6px;
    padding-left: 6px;
    gap: 2px;
  }

  body:has(main.flyer-lp) .nav-logo {
    max-width: calc(100% - 46px);
    gap: 4px;
  }

  body:has(main.flyer-lp) .nav-logo-mark {
    height: 30px;
  }

  body:has(main.flyer-lp) .nav-logo-city,
  body:has(main.flyer-lp) .nav-logo-title {
    font-size: clamp(19.5px, 5.77vw, 22.5px) !important;
    letter-spacing: -0.035em;
  }

  body.page-id-86 main.flyer-lp .client-mobile-break {
    display: block;
  }

  body.page-id-86 main.flyer-lp .counter-location-nowrap {
    display: inline-block;
    max-width: 100%;
    font-size: clamp(0.72rem, 3.45vw, 0.88rem);
    letter-spacing: -0.02em;
    white-space: nowrap;
  }
}

@media (max-width: 340px) {
  body:has(main.flyer-lp) .nav-logo-mark {
    height: 24px;
  }

  body:has(main.flyer-lp) .nav-logo-city,
  body:has(main.flyer-lp) .nav-logo-title {
    font-size: 17.5px !important;
  }
}



/* =========================================================
   2026-07-23 Mobile forced-line polish
   ========================================================= */
@media (max-width: 600px) {
  body:has(main.flyer-lp) .site-header {
    padding-right: 4px;
    padding-left: 4px;
  }

  body.page-id-86 main.flyer-lp .hero-reference-links {
    padding-right: 4px;
    padding-left: 4px;
  }

  body.page-id-86 main.flyer-lp .hero-reference-row a {
    font-size: clamp(0.72rem, 3.45vw, 0.86rem);
  }

  body.page-id-86 main.flyer-lp .client-mobile-no-break {
    white-space: nowrap;
  }
}



/* 2026-07-23 Documents step heading copy */
body.page-id-86 main.flyer-lp .document-block > h3 > .document-heading-copy {
  display: block;
  flex: 1 1 auto;
  width: auto;
  height: auto;
  min-width: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  background: none;
  border-radius: 0;
}


/* 2026-07-23 Natural Japanese wrapping */
body.page-id-86 main.flyer-lp :where(h1, h2, h3, h4, .lead) {
  word-break: unset !important;
}


/* ===== 高知市版 追加スタイル(準備中表示) ===== */
.application-mynaportal-link.is-preparing {
  background: #f2f2f2;
  color: #666;
  border: 1px dashed #b3a2a3;
  cursor: default;
  pointer-events: none;
}
.application-mynaportal-link.is-preparing .application-mynaportal-kicker { color: #8a7476; }
.application-preparing-badge {
  display: inline-block;
  font-size: 0.8em;
  font-weight: 700;
  color: #7f191d;
  background: #f8ecec;
  border: 1px solid #e6cfd1;
  border-radius: 999px;
  padding: 0.15em 0.9em;
  white-space: nowrap;
}
.application-preparing-note {
  margin-top: 0.6em;
  font-size: 0.88em;
  color: #555;
}
.application-downloads-preparing {
  margin: 0.4em 0 0;
  padding: 0.9em 1em;
  background: #faf1f1;
  border: 1px dashed #d3bcbe;
  border-radius: 10px;
  color: #444;
  font-size: 0.95em;
  line-height: 1.7;
}
.application-data-note, .application-period-note {
  display: block;
  margin-top: 0.35em;
  font-size: 0.82em;
  font-weight: 400;
  color: #5c5c5c;
}
.application-period-note { text-align: center; margin-top: 0.6em; }


/* =========================================================
   2026-08-01 アクセシビリティ改修パッチ（追記のみ・既存行は無変更）
   ここから下をブロックごと削除すれば元に戻ります
   ========================================================= */

/* --- (1) 申出期間カード内の注記：赤背景 #A32126 上の #5C5C5C を白へ
       コントラスト比 1.12 → 7.49（WCAG AA合格） --- */
.application-period .application-period-note {
  color: #fff;
  font-weight: 500;
}

/* --- (2) 「受付時間 / 9:00〜17:00」行：#947F80(--muted) 3.75 → #522C2D(--ink) 11.95
       あわせて 13px → 16px に拡大 --- */
main.flyer-lp .flyer-contact .hours {
  color: var(--ink, #522c2d);
  font-size: 1rem;
}

/* --- (3a) ページ内CTAキッカー「オンラインで手続き」（準備中ボックス内）
       10px → 13px、色 #8A7476(比3.88 on #F2F2F2) → #6A5F61(比5.48) --- */
.application-mynaportal-kicker {
  font-size: 13px;
}

.application-mynaportal-link.is-preparing .application-mynaportal-kicker {
  color: #6a5f61;
}

/* --- (3b) フローティングCTAのキッカー：PC 13px(--apply)/12px(--faq) → 14px、
       タブレット/スマホは既存の「11px !important」を同一セレクタ・後方定義で 12px !important に引き上げ --- */
.floating-action__kicker,
.floating-action--faq .floating-action__kicker {
  font-size: 14px;
}

@media (max-width: 1024px) {
  body:has(main.flyer-lp) .floating-action__kicker {
    font-size: 12px !important;
    line-height: 1.25;
  }
}

/* --- (4) モバイル本文の16px化（600px以下のみ。PC・タブレットに影響なし） --- */
@media (max-width: 600px) {
  main.flyer-lp {
    font-size: 16px;
  }

  main.flyer-lp .application-item p,
  main.flyer-lp .application-item li,
  main.flyer-lp .application-data dd,
  main.flyer-lp .check-list > li {
    font-size: 1rem;
    line-height: 1.8;
  }

  main.flyer-lp .flyer-small-notes li,
  main.flyer-lp .flyer-note-line,
  main.flyer-lp .check-list.is-blue span,
  main.flyer-lp .table-swipe-note,
  main.flyer-lp .document-cautions,
  main.flyer-lp .flyer-contact .hours,
  main.flyer-lp .flyer-contact .contact-note {
    font-size: 1rem;
    line-height: 1.75;
  }

  main.flyer-lp .flyer-contact .contact-purpose {
    font-size: 1rem;
  }
}

/* 申出受付期間 dd 内の補足注記（現在 0.82em ≒ 12.6〜13.1px と小さすぎるため微増） */
main.flyer-lp .application-data .application-data-note {
  font-size: 0.95em;
}

/* --- (5) 電話リンクのタップターゲット：モバイルで約41px → 約57px（≥44px） --- */
main.flyer-lp .flyer-contact .tel {
  padding-block: 8px;
  margin-block: -4px;
}

/* --- (6) スキップリンク：通常時は視覚非表示、キーボードフォーカス時のみ表示
       ※HTML側に <body> 直後の <a class="skip-link" href="#main-content">本文へ移動する</a> と
         <main class="flyer-lp" id="main-content" tabindex="-1"> の追記が必要。
         HTML追記前でもこのCSSは無害（該当要素が無ければ何もしない） --- */
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 10000;
  display: inline-block;
  padding: 14px 22px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  background: var(--blue-dark, #871a1d);
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.skip-link:not(:focus):not(:focus-within) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus-visible {
  outline: 3px solid #f6c344;
  outline-offset: 3px;
}

/* --- (7) フォーカスリングの補完：outline 未定義のリンク・ボタンに可視リングを付与 --- */
main.flyer-lp :where(a, button):focus-visible,
body:has(main.flyer-lp) :where(.nav a):focus-visible {
  outline: 3px solid var(--blue-dark, #871a1d);
  outline-offset: 3px;
}

/* ハンバーガー開閉は SR-only のチェックボックス（input.nav-toggle-input）にフォーカスが当たる
   （.nav-toggle は label のためフォーカス不可）。リングは隣接するラベル側に表示する */
.nav-toggle-input:focus-visible + .nav-toggle {
  outline: 3px solid var(--blue-dark, #871a1d);
  outline-offset: 3px;
}

/* Web申出リンクが有効化（<a>要素化）された場合に既存の金色リングを保護（現在は div のため無害な保険） */
main.flyer-lp .application-mynaportal-link:focus-visible {
  outline: 3px solid #f6c344;
  outline-offset: 3px;
}

/* 赤背景のフッター内にリンクを設置した場合は白リング（将来用の予防的指定） */
.site-footer :where(a):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ===================== パッチここまで ===================== */


/* =========================================================
   2026-08-01 追記2: 申出書類ダウンロードカード（準備中状態）
   HTML側: 固定ページ内 .download-cards（岡山市版を参考にした構成）
   ここから下をブロックごと削除すれば元に戻ります
   ========================================================= */
.download-cards {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 600px) {
  .download-cards { grid-template-columns: 1fr; }
}

.download-cards li { margin: 0; }

.download-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
  background: #fff;
  border: 2px solid var(--line, #e0cfd0);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink, #522c2d);
  box-sizing: border-box;
}

.download-card-badge {
  flex: 0 0 auto;
  min-width: 58px;
  padding: 6px 0;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.download-card-badge--pdf { background: #c0392b; }
.download-card-badge--word { background: #1b5ea6; }

.download-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.download-card-name { font-size: 1rem; line-height: 1.4; }
.download-card-sub { font-size: 0.85rem; color: #6a5f61; }

.download-card-status {
  margin-left: auto;
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #efe7e7;
  color: #6a5f61;
  font-size: 0.82rem;
  font-weight: 700;
}

.download-card.is-preparing {
  background: #faf6f6;
  border-style: dashed;
}

.download-card.is-preparing .download-card-badge { opacity: 0.55; }

/* --- 以下は様式URL設定後（href付与後）に効く将来用スタイル --- */
a.download-card[href] { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
a.download-card[href]:hover { border-color: var(--blue, #a32126); box-shadow: 0 4px 14px rgba(82, 44, 45, 0.12); }
a.download-card[href]:focus-visible { outline: 3px solid var(--blue-dark, #871a1d); outline-offset: 3px; }
.download-card-arrow { margin-left: auto; font-weight: 700; color: var(--blue, #a32126); }

.download-cards-note {
  margin: 12px 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #6a5f61;
}

@media (max-width: 600px) {
  main.flyer-lp .download-cards-note { font-size: 1rem; }
}
/* ============== 追記2 ここまで ============== */


/* =========================================================
   2026-08-01 追記3: フッターナビ（プライバシーポリシー）と404ページ
   ここから下をブロックごと削除すれば元に戻ります
   ========================================================= */
.site-footer-nav { margin-bottom: 10px; }

.site-footer-nav a {
  display: inline-block;
  padding: 8px 10px;
  color: var(--white, #fff);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notfound-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 88px 24px 120px;
  text-align: center;
}

.notfound-code {
  margin: 0 0 8px;
  font-size: 64px;
  font-weight: 700;
  color: var(--line, #e0cfd0);
  line-height: 1;
}

.notfound-section h1 {
  margin: 0 0 18px;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--ink, #522c2d);
}

.notfound-section p {
  margin: 0 0 14px;
  line-height: 1.9;
}

.notfound-action { margin-top: 26px; }

.notfound-home-link {
  display: inline-block;
  padding: 14px 34px;
  background: var(--blue, #a32126);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(163, 33, 38, 0.3);
}

.notfound-home-link:hover { background: var(--blue-dark, #871a1d); }
/* ============== 追記3 ここまで ============== */


/* =========================================================
   2026-08-01 追記4: フローティングボタン準備中表示（先方確認用）
   URL確定後は footer.php の href 設定だけで自動的に通常表示へ戻る
   ========================================================= */
.floating-action.is-preparing {
  cursor: default;
}

.floating-action.is-preparing {
  position: relative;
}

.floating-action__preparing-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #fff;
  color: #871a1d;
  border: 1px solid rgba(135, 26, 29, 0.4);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
/* ============== 追記4 ここまで ============== */


/* =========================================================
   2026-08-01 追記5: ヒーロー参考リンク枚のモバイル調整
   ・強制改行（client-mobile-break）をこの枚内だけ無効化し自然折り返しに
   ・左右余白を 4px → 16px に拡大
   ========================================================= */
@media (max-width: 600px) {
  body.page-id-86 main.flyer-lp .hero-reference-links {
    padding: 12px 16px;
  }

  body.page-id-86 main.flyer-lp .hero-reference-links .client-mobile-no-break {
    white-space: normal;
  }

  body.page-id-86 main.flyer-lp .hero-reference-links .client-mobile-break {
    display: none;
  }
}
/* ============== 追記5 ここまで ============== */
