:root {
  --ink: #07111f;
  --navy: #020b1a;
  --text: #243244;
  --muted: #647184;
  --blue: #004f86;
  --blue-dark: #003b66;
  --accent: #078ed6;
  --soft: #f4f8fb;
  --line: #dce7ef;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(7, 17, 31, .09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
li,
summary,
td,
th,
a,
span,
strong {
  overflow-wrap: anywhere;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(220, 231, 239, .9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand-image img {
  width: auto;
  height: 46px;
  object-fit: contain;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.brand-mark.light {
  background: var(--white);
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #1d2d40;
  font-size: 14px;
  font-weight: 800;
}

.nav a {
  text-decoration: none;
}

.nav-toggle {
  position: fixed;
  top: 10px;
  right: 16px;
  z-index: 9999;
  appearance: none;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue) !important;
  color: #fff;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
}

.hamburger-lines {
  position: relative;
  width: 30px;
  height: 22px;
  display: block;
}

.hamburger-lines::before,
.hamburger-lines::after,
.hamburger-lines {
  background: linear-gradient(#fff, #fff) center / 100% 3px no-repeat;
}

.hamburger-lines::before,
.hamburger-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
}

.hamburger-lines::before {
  top: 0;
}

.hamburger-lines::after {
  bottom: 0;
}

.back-to-top {
  display: none;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  line-height: 1.25;
  white-space: nowrap;
}

.button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
  border-color: #cfdce8;
}

.button.line {
  border-color: #18a957;
  background: #18a957;
}

.button.full {
  width: 100%;
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 4px;
  background: rgba(7, 142, 214, .12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.button .icon {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.button.secondary .icon {
  background: rgba(7, 142, 214, .12);
  color: var(--blue);
}

.hero {
  padding: 76px 0 94px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #f7fbfd);
}

.hero-photo {
  position: relative;
  min-height: clamp(600px, calc(100svh - 96px), 700px);
  display: flex;
  align-items: center;
  padding: 82px 0 70px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .78) 35%, rgba(255, 255, 255, .16) 62%, rgba(255, 255, 255, 0) 100%),
    url("../images/hero-nishinomiya-search3.webp?v=20260610-hero") center center / cover no-repeat;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04) 58%, rgba(255, 255, 255, .28));
  pointer-events: none;
}

.hero-photo-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-copy {
  max-width: 560px;
}

.hero-photo h1 {
  max-width: 600px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .58);
}

.hero-photo .lead {
  max-width: 560px;
  color: #1e2d3f;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

.badge,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid #cfe4f2;
  border-radius: 999px;
  background: #f4faff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.badge::before,
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: 46px;
  line-height: 1.16;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.34;
  letter-spacing: 0;
}

h3 {
  line-height: 1.4;
}

.blue-text {
  color: var(--accent);
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: 16px;
}

.hero-actions,
.action-row,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 24px;
  color: #26394d;
  font-size: 14px;
}

.mini-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mini-check-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}

.home-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 14px;
}

.home-photo-grid figure {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #eef5f8;
  box-shadow: var(--shadow);
}

.home-photo-grid figure:first-child {
  grid-row: span 2;
}

.home-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-photo-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(2, 11, 26, .72);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

section {
  padding: 82px 0;
}

.soft {
  background: var(--soft);
}

.section-head {
  max-width: 790px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
}

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

.card {
  min-height: 180px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.card-icon {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 16px;
  background: #eef6fb;
}

.card h3 {
  margin: 18px 0 10px;
  font-size: 19px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card a {
  color: var(--blue-dark);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 44px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.feature-item > img.feature-check-img {
  width: 22px;
  height: 22px;
  max-width: 22px;
  min-width: 22px;
  object-fit: contain;
  flex: 0 0 auto;
  margin-top: 4px;
}

.feature-item strong,
.feature-item span {
  display: block;
}

.feature-item span {
  color: var(--muted);
  font-size: 14px;
}

.sample-img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.pricing {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}

.price-box {
  padding: 34px;
  border: 2px solid var(--blue);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.price-label {
  color: var(--blue);
  font-weight: 900;
}

.price {
  margin: 12px 0 10px;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.price small {
  font-size: 18px;
}

.pricing-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.pricing-four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px 20px 22px;
  border: 1px solid var(--line);
  border-top: 4px solid #a8d5ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 17, 31, .06);
}

.plan-card.popular {
  border: 2px solid var(--blue);
  border-top-width: 5px;
  background: #f7fbff;
  box-shadow: 0 16px 38px rgba(0, 79, 134, .16);
}

.popular-badge {
  position: absolute;
  top: -15px;
  right: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.price-main {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.12;
}

.price-main small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.monthly {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 900;
}

.note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.plan-card .check-list {
  margin-top: 4px;
}

.plan-description {
  min-height: 5.25em;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.initial-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2px 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.initial-price span {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.initial-price strong {
  margin-left: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
  text-align: right;
}

.initial-price small {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.initial-price.zero strong {
  color: var(--blue);
}

.recurring-price {
  margin: 22px 0 8px;
}

.recurring-price > span {
  display: block;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.recurring-price strong {
  display: block;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.1;
}

.recurring-price strong small {
  font-size: 15px;
  font-weight: 800;
}

.monthly-equivalent {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 900;
}

.savings {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #e4f4ff;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}

.plan-note,
.plan-caution {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.plan-caution {
  padding: 10px 12px;
  border-left: 3px solid #a9c9dc;
  background: #f7fafc;
}

.plan-button {
  width: 100%;
  margin-top: auto;
}

.common-plan-contents {
  margin-top: 32px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.common-plan-heading {
  margin-bottom: 22px;
}

.common-plan-heading .kicker {
  margin-bottom: 10px;
}

.common-plan-heading h3 {
  margin: 0;
  font-size: 24px;
}

.common-check-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 24px;
}

.price-subsection-head {
  margin-top: 64px;
}

.option-table-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.option-table {
  table-layout: fixed;
}

.option-table th {
  width: 68%;
}

.option-table td {
  width: 32%;
  color: var(--blue-dark);
  font-weight: 900;
  white-space: nowrap;
}

.payment-section-head {
  margin-top: 64px;
}

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

.payment-method {
  position: relative;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.payment-method.recommended {
  border: 2px solid var(--blue);
  background: #f7fbff;
}

.payment-method h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.payment-method p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.payment-badge {
  position: absolute;
  top: -13px;
  right: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.section-head.compact {
  margin-bottom: 24px;
}

.table-wrap {
  overflow-x: auto;
}

.table-wrap .table {
  min-width: 760px;
}

.table-wrap .table th {
  width: 22%;
}

.table-wrap .table td {
  width: 28%;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #26394d;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.page-hero {
  padding: 72px 0;
  background: linear-gradient(180deg, #fff, var(--soft));
}

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

.page-hero.center h1,
.page-hero.center .lead {
  margin-left: auto;
  margin-right: auto;
}

.about-lead-section {
  background: var(--soft);
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.about-visual-line {
  height: 1px;
  width: 100%;
  background: var(--line);
}

.about-owner-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.info-card {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.info-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.info-card strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

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

.value-card {
  min-height: 190px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.value-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
}

.value-card p {
  margin: 0;
  color: var(--muted);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.work-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.work-preview {
  min-height: 0;
  background: #eef6fb;
  display: block;
  padding: 0;
}

.work-sample-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.work-preview-inner {
  width: min(100%, 360px);
  min-height: 220px;
  border: 1px solid #d8e7f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(7, 17, 31, .08);
  padding: 22px;
}

.work-preview-line {
  height: 10px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #dfeaf2;
}

.work-preview-line.dark {
  width: 52%;
  background: var(--blue);
}

.work-preview-line.mid {
  width: 76%;
}

.work-preview-line.short {
  width: 44%;
}

.work-body {
  padding: 24px 26px 28px;
}

.work-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 9px;
  border-radius: 6px;
  background: #eaf6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.work-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.work-body p {
  margin: 0 0 16px;
  color: var(--muted);
}

.works-cta {
  max-width: 900px;
  margin: 0 auto;
  padding: 58px 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #003b66);
  color: #fff;
  text-align: center;
}

.works-cta .kicker {
  color: #fff;
  border-color: rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .12);
}

.works-cta p {
  max-width: 680px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, .86);
}

.works-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.works-cta .button.secondary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.message-card {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 42px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.message-avatar {
  width: 112px;
  height: 112px;
  border: 3px solid #dceefa;
  border-radius: 50%;
  background: #f7fbff;
  object-fit: cover;
}

.message-card p {
  margin: 0 0 16px;
  color: var(--text);
}

.message-sign {
  margin-top: 20px;
  font-weight: 900;
}

.message-sign span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

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

.table th {
  width: 30%;
  background: #f6faff;
}

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

.form-card {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

#contact-methods {
  scroll-margin-top: 100px;
}

.form-heading {
  display: grid;
  gap: 10px;
}

.form-heading h2,
.form-heading p {
  margin: 0;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 18px;
}

.contact-form[hidden] {
  display: none;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 900;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 123, 198, 0.14);
}

.form-row input[aria-invalid="true"],
.form-row textarea[aria-invalid="true"],
.form-row select[aria-invalid="true"] {
  border-color: #a32727;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.required-label,
.optional-label {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.4;
  vertical-align: 1px;
}

.required-label {
  background: #075d91;
  color: #fff;
}

.optional-label {
  background: #edf4f8;
  color: var(--muted);
}

.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.privacy-consent input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #075d91;
}

.privacy-consent a {
  color: #075d91;
  font-weight: 800;
  text-decoration: underline;
}

.form-submit-button {
  min-height: 56px;
  font-size: 17px;
}

.form-submit-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-assurance {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.form-message:empty,
.field-error:empty {
  display: none;
}

.form-message {
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.7;
}

.form-message-success {
  border: 1px solid #8bc7b4;
  background: #edf9f5;
  color: #145c47;
}

.form-message-error,
.field-error {
  color: #a32727;
}

.form-message-error {
  border: 1px solid #e6adad;
  background: #fff2f2;
}

.field-error {
  font-size: 13px;
}

.content-stack {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

summary {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef6ff;
  color: var(--blue-dark);
  font-size: 20px;
  flex: 0 0 auto;
}

details[open] summary::after {
  content: "-";
}

.detail-body {
  padding: 0 20px 18px;
  color: var(--muted);
}

@media (min-width: 981px) {
  .site-header .nav-toggle {
    display: none !important;
  }
}

.client-hero {
  padding: 58px 0 72px;
}

.client-shell {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.client-top {
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 28px;
  align-items: center;
}

.client-photo {
  min-height: 280px;
  border-radius: 16px;
  background: linear-gradient(145deg, #eaf4fb, #f7fbff);
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  font-weight: 900;
}

.client-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.client-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.client-info > div {
  padding: 22px;
  background: #fff;
}

.client-info strong {
  display: block;
  margin-bottom: 8px;
}

.cta {
  background: #07111f;
  color: #fff;
  text-align: center;
}

.cta p {
  max-width: 680px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, .78);
}

.cta-actions {
  justify-content: center;
}

.cta .button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

.site-footer {
  padding: 78px 0 34px;
  background: var(--navy);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(150px, .7fr) minmax(150px, .7fr) minmax(220px, .9fr);
  gap: 54px;
  align-items: start;
}

.footer-brand p {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .9);
  font-weight: 700;
}

.footer-logo {
  color: #fff;
}

.footer-logo-image img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.footer-button {
  margin-top: 26px;
  width: fit-content;
  min-width: 0;
  max-width: none;
  padding-left: 28px;
  padding-right: 28px;
}

.site-footer h3 {
  margin: 0 0 18px;
  font-size: 17px;
}

.site-footer a {
  display: block;
  margin: 0 0 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.site-footer p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .9);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  margin: 0;
}

@media (max-width: 1180px) and (min-width: 701px) {
  .pricing-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .pricing-four .plan-description {
    min-height: 3.5em;
  }
}

@media (max-width: 980px) {
  .wrap {
    width: calc(100% - 32px);
    max-width: 680px;
  }

  .header-inner {
    min-height: 66px;
    position: relative;
  }

  .brand-image img {
    height: 40px;
    max-width: 180px;
  }

  .footer-logo-image img {
    height: 38px;
    max-width: 190px;
  }

  .site-header .nav-toggle {
    position: fixed;
    top: 10px;
    right: 16px;
    z-index: 9999;
    appearance: none;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--blue);
    border-radius: 8px;
    background: var(--blue) !important;
    color: #fff;
    font-size: 0;
    line-height: 1;
    text-decoration: none;
  }

  .nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 68px;
    z-index: 90;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  body.nav-open .nav {
    display: flex;
  }

  .back-to-top {
    position: fixed;
    left: calc(100vw - 62px);
    right: auto;
    bottom: 18px;
    z-index: 900;
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--blue);
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(7, 17, 31, .18);
  }

  .header-inner > .button {
    display: none;
  }

  .hero,
  .page-hero {
    padding: 54px 0 66px;
  }

  .hero-photo {
    min-height: clamp(600px, calc(100svh - 70px), 680px);
    align-items: flex-start;
    padding: 52px 0 46px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .82) 58%, rgba(255, 255, 255, .22) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .4)),
      url("../images/hero-nishinomiya-search3.webp?v=20260610-hero") 58% center / cover no-repeat;
  }

  .hero-photo-inner {
    width: calc(100% - 32px);
    max-width: 680px;
  }

  .hero-copy {
    max-width: 360px;
  }

  .hero-grid,
  .split,
  .pricing,
  .client-top,
  .about-grid,
  .message-card {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 340px;
    font-size: 30px;
    line-height: 1.24;
  }

  h2 {
    font-size: 27px;
  }

  h1,
  h2 {
    line-break: anywhere;
  }

  .lead {
    max-width: 360px;
  }

  .hero-photo .lead {
    max-width: 340px;
  }

  .hero-actions,
  .action-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .home-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .home-photo-grid figure,
  .home-photo-grid figure:first-child {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  section {
    padding: 58px 0;
  }

  .cards,
  .client-info,
  .footer-grid,
  .info-grid,
  .value-grid,
  .works-grid,
  .pricing-three,
  .payment-methods,
  .common-check-list {
    grid-template-columns: 1fr;
  }

  .pricing-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-four .popular {
    order: -1;
  }

  .plan-description {
    min-height: 3.5em;
  }

  .common-plan-contents {
    padding: 24px 20px;
  }

  .common-plan-heading h3 {
    font-size: 21px;
  }

  .option-table th,
  .option-table td {
    padding: 13px 12px;
  }

  .option-table th {
    width: 62%;
  }

  .option-table td {
    width: 38%;
    white-space: normal;
  }

  .work-preview {
    min-height: 260px;
  }

  .works-cta {
    padding: 38px 22px;
  }

  .works-cta-actions {
    flex-direction: column;
  }

  .message-card {
    padding: 28px;
    gap: 22px;
  }

  .message-avatar {
    width: 92px;
    height: 92px;
  }

  .section-head {
    text-align: left;
  }

  .mini-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mini-points span {
    justify-content: flex-start;
    min-width: 0;
  }

  .table,
  .table tbody,
  .table tr,
  .table th,
  .table td {
    display: block;
    width: 100%;
  }

  .table th {
    border-bottom: 0;
  }

  .option-table {
    display: table;
    width: 100%;
  }

  .option-table tbody {
    display: table-row-group;
    width: 100%;
  }

  .option-table tr {
    display: table-row;
    width: 100%;
  }

  .option-table th,
  .option-table td {
    display: table-cell;
    border-bottom: 1px solid var(--line);
  }

  .option-table th {
    width: 62%;
  }

  .option-table td {
    width: 38%;
  }

  .table-wrap {
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px;
  }

  .table-wrap .table,
  .table-wrap .table tbody,
  .table-wrap .table tr,
  .table-wrap .table th,
  .table-wrap .table td {
    display: revert;
  }

  .table-wrap .table {
    min-width: 720px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .site-footer .footer-button {
    width: fit-content;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 700px) {
  .pricing-four {
    grid-template-columns: 1fr;
  }

  .plan-description {
    min-height: 0;
  }

  .plan-card {
    padding: 28px 22px 22px;
  }
}
