:root {
  --red: #d7281f;
  --red-dark: #a91915;
  --orange: #f47c20;
  --yellow: #ffd84d;
  --green: #5f9f28;
  --ink: #342d2b;
  --muted: #6d625d;
  --cream: #fffaf0;
  --paper: #ffffff;
  --line: #eadfc9;
  --shadow: 0 12px 32px rgb(89 48 14 / 12%);
  --radius: 18px;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.75;
  overflow-wrap: break-word;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: radial-gradient(circle at 10% 10%, rgb(255 216 77 / 14%) 0 3px, transparent 4px), radial-gradient(circle at 90% 20%, rgb(95 159 40 / 8%) 0 4px, transparent 5px);
  background-size: 36px 36px, 54px 54px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #1676d2;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 0.65rem 1rem;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

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

.site-header {
  position: relative;
  z-index: 20;
  background: #fff;
  border-top: 6px solid var(--red);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgb(89 48 14 / 8%);
}

.header-main {
  display: flex;
  min-height: 98px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}

.header-main > *,
.brand > span,
.hero-grid > *,
.page-hero-inner > *,
.cta-panel > *,
.service-card,
.info-card {
  min-width: 0;
}

.brand {
  display: inline-flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand-kicker,
.brand-name {
  display: block;
}

.brand-kicker {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-name {
  color: var(--red);
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.35;
}

.header-contact {
  text-align: right;
}

.header-contact small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.phone-number {
  color: var(--red);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.nav-wrap {
  background: var(--ink);
}

.site-nav {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 8px 6px;
  color: #fff;
  border-inline-start: 1px solid rgb(255 255 255 / 12%);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.site-nav li:last-child a {
  border-inline-end: 1px solid rgb(255 255 255 / 12%);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--yellow);
}

.menu-button {
  display: none;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 10px;
  font-size: 1.35rem;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #fff7dc 0%, #fff 55%, #eaf6dc 100%);
  border-bottom: 8px solid var(--yellow);
}

.hero::after {
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  content: "";
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.08;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 520px;
  align-items: center;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 38px;
  padding-block: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--red-dark);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.eyebrow::before {
  width: 32px;
  height: 4px;
  content: "";
  background: var(--orange);
  border-radius: 99px;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.4;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--red);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.02em;
  line-break: strict;
  overflow-wrap: anywhere;
}

.hero-lead {
  max-width: 40rem;
  margin: 0 0 26px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 7px 12px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--yellow);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 34px 34px 80px 34px;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  width: 120px;
  height: 120px;
  place-items: center;
  padding: 12px;
  color: #fff;
  background: var(--red);
  border: 5px solid #fff;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  transform: rotate(5deg);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 7px 0 rgb(52 45 43 / 14%);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  box-shadow: 0 4px 0 rgb(52 45 43 / 16%);
  transform: translateY(3px);
}

.button-primary {
  color: #fff;
  background: var(--red);
}

.button-secondary {
  color: var(--ink);
  background: var(--yellow);
}

.button-ghost {
  color: var(--red-dark);
  background: #fff;
  border-color: var(--red);
}

.section {
  padding-block: 76px;
}

.section-tight {
  padding-block: 52px;
}

.section-white {
  background: #fff;
}

.section-warm {
  background: #fff3cf;
}

.section-green {
  background: #edf7e4;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-header .eyebrow {
  justify-content: center;
}

.section-title,
.page-title {
  margin-bottom: 14px;
  color: var(--red);
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 950;
}

.section-lead,
.page-lead {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.page-hero {
  padding-block: 52px;
  background: linear-gradient(120deg, #fff5d4, #fff);
  border-bottom: 6px solid var(--yellow);
}

.page-hero-inner {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 28px;
}

.page-hero-mark {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.breadcrumb {
  margin: 0 0 12px;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  list-style: none;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li + li::before {
  margin-inline: 8px;
  content: ">";
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  background: #fff8d7;
}

.service-card-body {
  padding: 20px;
}

.service-card h2,
.service-card h3 {
  margin-bottom: 8px;
  color: var(--red-dark);
  font-size: 1.18rem;
  font-weight: 900;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.featured-card {
  border-color: var(--orange);
  box-shadow: 0 14px 34px rgb(244 124 32 / 20%);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  padding: 24px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card h2,
.info-card h3 {
  margin-bottom: 8px;
  color: var(--red-dark);
  font-size: 1.2rem;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.price-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-box {
  padding: 24px 18px;
  background: #fff;
  border: 3px solid var(--yellow);
  border-radius: var(--radius);
  text-align: center;
}

.price-box:nth-child(2) {
  border-color: var(--orange);
}

.price-box:nth-child(3) {
  border-color: #91c84b;
}

.price-label {
  display: block;
  font-weight: 900;
}

.price-value {
  display: block;
  margin-top: 6px;
  color: var(--red);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 950;
  line-height: 1.25;
}

.price-value small {
  font-size: 0.85rem;
}

.notice-box {
  padding: 22px;
  background: #fff;
  border-inline-start: 6px solid var(--orange);
  border-radius: 0 14px 14px 0;
}

.notice-box strong {
  color: var(--red-dark);
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table th {
  width: 28%;
  color: var(--red-dark);
  background: #fff7d9;
  font-weight: 900;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  counter-reset: flow;
  list-style: none;
}

.flow-list li {
  position: relative;
  padding: 28px 20px 22px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  counter-increment: flow;
}

.flow-list li::before {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin: -52px auto 16px;
  color: #fff;
  content: counter(flow);
  background: var(--red);
  border: 4px solid var(--cream);
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
}

.flow-list h2,
.flow-list h3 {
  margin-bottom: 8px;
  color: var(--red-dark);
  font-size: 1.12rem;
  text-align: center;
}

.flow-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
}

.faq-list summary {
  position: relative;
  padding: 18px 54px 18px 54px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::before {
  position: absolute;
  top: 17px;
  left: 18px;
  color: var(--red);
  content: "Q";
  font-size: 1.2rem;
  font-weight: 950;
}

.faq-list summary::after {
  position: absolute;
  top: 17px;
  right: 20px;
  color: var(--orange);
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 20px 54px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.cta-panel {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 32px;
  color: #fff;
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.cta-panel p {
  margin: 0;
}

.cta-panel .button-row {
  justify-content: flex-end;
}

.line-status {
  display: grid;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  background: #f1faea;
  border: 2px solid #75b847;
  border-radius: var(--radius);
}

.line-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 18px;
  font-size: 1.8rem;
  font-weight: 950;
}

.line-status h2,
.line-status h3 {
  margin-bottom: 4px;
  color: #356f18;
}

.line-status p {
  margin: 0;
}

.form-shell {
  min-height: 480px;
  padding: 28px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-note {
  margin-top: 20px;
  padding: 18px;
  color: var(--muted);
  background: #fff8dc;
  border-radius: 12px;
  font-size: 0.92rem;
}

.form-note a {
  color: var(--red-dark);
  font-weight: 800;
}

.site-footer {
  color: #fff;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 34px;
  padding-block: 48px;
}

.footer-brand {
  margin-bottom: 12px;
  font-size: 1.15rem;
  font-weight: 900;
}

.footer-grid h2 {
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 1rem;
}

.footer-grid p,
.footer-grid ul {
  margin-top: 0;
  color: #e8dfda;
  font-size: 0.9rem;
}

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

.footer-links a {
  display: inline-block;
  padding-block: 3px;
}

.copyright {
  margin: 0;
  padding-block: 18px;
  color: #d6ccc6;
  border-top: 1px solid rgb(255 255 255 / 14%);
  font-size: 0.82rem;
  text-align: center;
}

.mobile-actions {
  display: none;
}

.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 28px;
}

.mt-3 {
  margin-top: 44px;
}

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

.list-check li {
  position: relative;
  padding-left: 1.55em;
}

.list-check li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "●";
  font-size: 0.8em;
}

@media (max-width: 900px) {
  .header-main {
    min-height: 84px;
  }

  .brand img {
    width: 60px;
    height: 60px;
  }

  .header-contact {
    display: none;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .nav-wrap {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    box-shadow: var(--shadow);
  }

  .site-nav {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    padding: 8px;
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    min-height: 52px;
    border: 1px solid rgb(255 255 255 / 12%);
  }

  .hero-grid,
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding-block: 42px;
  }

  .hero-visual {
    max-width: 640px;
    margin-inline: auto;
  }

  .page-hero-mark {
    display: none;
  }

  .service-grid,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel .button-row {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 72px;
  }

  .container {
    width: min(calc(100% - 24px), var(--wrap));
  }

  .site-header {
    border-top-width: 4px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand-kicker {
    font-size: 0.68rem;
  }

  .brand-name {
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .hero h1 br {
    display: none;
  }

  .hero-visual img {
    border-width: 5px;
    border-radius: 24px 24px 50px 24px;
  }

  .hero-badge {
    width: 96px;
    height: 96px;
    font-size: 0.76rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .section {
    padding-block: 56px;
  }

  .section-tight {
    padding-block: 42px;
  }

  .service-grid,
  .card-grid,
  .price-summary,
  .flow-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .flow-list {
    row-gap: 48px;
  }

  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
    padding: 13px;
  }

  .data-table th {
    border-bottom: 0;
  }

  .line-status {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .line-icon {
    margin-inline: auto;
  }

  .form-shell {
    min-height: 400px;
    padding: 16px;
  }

  .mobile-actions {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgb(52 45 43 / 12%);
  }

  .mobile-actions a {
    display: grid;
    min-height: 54px;
    place-items: center;
    color: #fff;
    background: var(--red);
    border-radius: 10px 0 0 10px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
  }

  .mobile-actions a + a {
    color: var(--ink);
    background: var(--yellow);
    border-radius: 0 10px 10px 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
