:root {
  --ink: #28302f;
  --soft-ink: #5f625d;
  --deep: #101a1c;
  --deep-2: #182324;
  --paper: #f7f5f0;
  --white: #ffffff;
  --line: #ded8cc;
  --gold: #b9934d;
  --gold-dark: #8a6a32;
  --shadow: 0 18px 40px rgba(27, 30, 29, 0.12);
  --sans: 'Noto Sans JP', sans-serif;
  --serif: 'Noto Serif JP', serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.6rem;
  line-height: 1.8;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(185, 147, 77, 0.55);
  outline-offset: 4px;
}

.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24;
  line-height: 1;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: auto;
  max-width: 100vw;
  padding: 34px clamp(22px, 7vw, 108px);
  color: var(--white);
}

.sub-header {
  position: relative;
  background: var(--deep);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  width: auto;
  max-width: min(320px, calc(100vw - 92px));
  padding: 6px 12px 6px 6px;
  background: rgba(255, 255, 255, 0.1);
}

.site-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  /* filter: brightness(0) invert(1); */
}

.site-name {
  color: var(--white);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
  font-size: 14px;
  font-weight: 700;
}

.global-nav a {
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.global-nav a:hover {
  color: #dfc27e;
}

.nav-contact {
  padding: 13px 18px;
  background: rgba(0, 0, 0, 0.42);
}

.nav-contact:hover {
  background: rgba(185, 147, 77, 0.85);
  color: var(--white);
}

.menu-button {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.mv {
  position: relative;
  display: grid;
  grid-template-columns: minmax(500px, 52%) minmax(0, 1fr);
  min-height: 690px;
  overflow: hidden;
  color: var(--ink);
  background: #f7fbfd;
}

.mv::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: min(52%, 720px);
  border-radius: 0 24px 24px 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 18px 0 42px rgba(20, 48, 70, 0.08);
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  content: '';
}

.hero-image,
.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 36%;
  width: 61%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 58% top;
}

.hero-overlay {
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.16) 18%, rgba(255, 255, 255, 0) 34%), linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(17, 26, 28, 0.08));
}

.hero-content {
  position: relative;
  z-index: 3;
  align-self: stretch;
  width: min(680px, calc(100% - 40px));
  margin-left: 0;
  padding: 152px clamp(20px, 2vw, 28px) 54px clamp(28px, 5.6vw, 78px);
  border-radius: 0 28px 28px 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

.hero-lead {
  margin: 0 0 18px;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: clamp(27px, 2.9vw, 36px);
}

.mv h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 3.55vw, 52px);
  font-weight: 600;
  line-height: 1.45;
  color: #17263c;
}

.hero-subtitle {
  margin: 30px 0 34px;
  color: #3d4644;
  font-family: var(--serif);
  font-size: clamp(21px, 2.1vw, 30px);
  font-weight: 600;
}

.sp-break {
  display: none;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(560px, 92%);
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  min-height: 58px;
  border: 1px solid rgba(185, 147, 77, 0.56);
  border-radius: 999px;
  color: #263638;
  background: #fff;
  box-shadow: 0 10px 24px rgba(37, 44, 46, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.hero-points .material-symbols-outlined {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 19px;
}

.hero-badge {
  position: absolute;
  right: clamp(28px, 6vw, 88px);
  bottom: 44px;
  z-index: 3;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.36rem;
  width: clamp(164px, 17vw, 225px);
  aspect-ratio: 1;
  padding: clamp(10px, 1vw, 16px);
  border: 2px solid rgba(255, 240, 192, 0.72);
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(145deg, #c9a35b, #9d793b);
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.1),
    0 14px 22px rgba(0, 0, 0, 0.24);
  text-align: center;
}

.hero-badge span {
  width: 100%;
  font-size: clamp(10px, 0.96vw, 13px);
  font-weight: 700;
  line-height: 1.55;
  white-space: nowrap;
}

.hero-badge strong {
  display: block;
  width: 100%;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: clamp(16px, 1.9vw, 24px);
  line-height: 1.38;
  letter-spacing: 0;
}

.worries,
.portfolio,
.flow,
.contact-section,
.page-hero,
.thanks-panel {
  padding-inline: clamp(20px, 7vw, 120px);
}

.worries {
  padding-top: 44px;
  padding-bottom: 58px;
  background: var(--white);
}

.section-title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  margin-bottom: 36px;
}

.section-title-line span {
  width: 70px;
  height: 1px;
  background: var(--gold);
}

h2,
h1 {
  letter-spacing: 0;
}

.section-title-line h2,
.portfolio h2,
.flow h2,
.features h2,
.bottom-contact h2,
.page-hero h1,
.thanks-panel h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
}

.section-title-line h2 {
  font-size: clamp(22px, 2.2vw, 31px);
}

.worry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1080px;
  margin: 0 auto;
}

.worry-item {
  min-height: 162px;
  padding: 4px 28px;
  text-align: center;
}

.worry-item + .worry-item {
  border-left: 1px solid var(--line);
}

.worry-item .material-symbols-outlined {
  color: #877f72;
  font-size: 58px;
}

.worry-item p {
  margin: 16px 0 0;
  font-weight: 700;
  line-height: 1.8;
}

.dark-section {
  color: var(--white);
  background: linear-gradient(90deg, #192324, #11191b);
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 320px;
}

.features-visual {
  height: 100%;
  min-height: 320px;
}

.features-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.features-text {
  padding: 50px clamp(24px, 8vw, 120px) 50px clamp(32px, 5vw, 78px);
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.features h2,
.portfolio h2,
.flow h2 {
  font-size: clamp(27px, 3vw, 42px);
}

.feature-list {
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 24px);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-list .material-symbols-outlined {
  color: var(--gold);
  font-size: 25px;
}

.portfolio {
  padding-top: 62px;
  padding-bottom: 52px;
  text-align: center;
  background: var(--paper);
}

.section-copy {
  margin: 14px 0 28px;
  font-weight: 700;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 34px;
  max-width: 1180px;
  margin: 0 auto;
}

.portfolio-card {
  padding: 18px 18px 24px;
  border: 1px solid #ded6c8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 28px rgba(52, 48, 42, 0.06);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 9.7;
  object-fit: cover;
  object-position: center;
}

.portfolio-type {
  margin: 18px 0 3px;
  color: var(--soft-ink);
  font-weight: 700;
}

.portfolio-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
}

.portfolio-card p:last-child {
  margin: 0;
  font-weight: 600;
  line-height: 1.9;
}

.flow {
  padding-top: 34px;
  padding-bottom: 70px;
  text-align: center;
  background: var(--paper);
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 36px auto 0;
}

.flow-step {
  position: relative;
  padding-inline: 10px;
}

.flow-step:not(:last-child)::after {
  position: absolute;
  top: 96px;
  right: -19px;
  color: var(--gold);
  content: '›';
  font-size: 28px;
}

.flow-number {
  margin: 0 0 22px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 25px;
}

.flow-step .material-symbols-outlined {
  color: #81776c;
  font-size: 54px;
}

.flow-step h3 {
  min-height: 58px;
  margin: 18px 0 8px;
  font-size: 17px;
}

.flow-step p:last-child {
  margin: 0;
  font-weight: 600;
  line-height: 2;
}

.bottom-contact {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 520px);
  gap: 40px;
  align-items: center;
  padding: 58px clamp(22px, 10vw, 150px);
}

.contact-small {
  margin: 0 0 8px;
  color: #d6d0c5;
}

.bottom-contact h2 {
  margin-bottom: 8px;
  font-size: clamp(28px, 3vw, 42px);
}

.bottom-contact p {
  margin-top: 0;
}

.large-contact-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 92px;
  padding: 22px 34px;
  color: var(--white);
  background: linear-gradient(135deg, #be9650, #d0ad6b);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.large-contact-button:hover,
.primary-button:hover,
.submit-button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.large-contact-button .material-symbols-outlined:first-child {
  font-size: 43px;
}

.large-contact-button small {
  display: block;
  width: fit-content;
  margin-bottom: 4px;
  padding: 1px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.large-contact-button span:nth-child(2) {
  font-size: 21px;
  font-weight: 700;
}

.site-footer {
  padding: 22px;
  color: rgba(255, 255, 255, 0.72);
  background: #0c1213;
  text-align: center;
}

.sub-page {
  background: #f6f3ed;
}

.page-hero {
  padding-top: 76px;
  padding-bottom: 40px;
  text-align: center;
}

.page-hero h1,
.thanks-panel h1 {
  font-size: clamp(32px, 4vw, 48px);
}

.page-hero p:last-child {
  margin: 18px 0 0;
  font-weight: 600;
}

.contact-section {
  padding-bottom: 78px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-form em {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  color: var(--white);
  background: var(--gold);
  font-size: 12px;
  font-style: normal;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfc8bd;
  border-radius: 4px;
  padding: 13px 14px;
  background: #fcfbf8;
}

.contact-form textarea {
  resize: vertical;
}

.full-field {
  grid-column: 1 / -1;
}

.privacy-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.privacy-check input {
  width: 20px;
  height: 20px;
}

.submit-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, #a88242, #c8a15c);
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.back-link {
  display: block;
  width: fit-content;
  margin: 28px auto 0;
  border-bottom: 1px solid currentColor;
  color: var(--soft-ink);
  font-weight: 700;
}

.thanks-panel {
  max-width: 820px;
  margin: 88px auto;
  padding-top: 78px;
  padding-bottom: 78px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-panel p:not(.section-kicker) {
  margin: 22px 0 30px;
  font-weight: 600;
}

.primary-button {
  padding: 12px 34px;
}

.free-design-cta {
  padding: 56px clamp(20px, 7vw, 120px);
  color: var(--white);
  background: linear-gradient(135deg, #263638, #11191b);
}

.free-design-cta__inner {
  display: grid;
  grid-template-columns: 1fr minmax(380px, 560px);
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.free-design-cta h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.5;
}

.free-design-cta p:last-child {
  margin: 0;
}

.free-design-cta__button small {
  font-size: 16px;
}

.form-page-hero {
  padding-bottom: 32px;
}

.form-page-hero .free-scope-note {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(185, 147, 77, 0.45);
  background: rgba(255, 255, 255, 0.62);
  color: var(--soft-ink);
}

.form-layout {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding-bottom: 80px;
}

.design-form {
  display: grid;
  gap: 30px;
}

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

.step-nav li {
  display: grid;
  place-items: center;
  gap: 5px;
  min-width: 0;
  padding: 11px 4px;
  border-bottom: 2px solid var(--gold);
  color: var(--soft-ink);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  text-align: center;
}

.step-nav span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--white);
  background: var(--gold);
}

.form-step {
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(27, 30, 29, 0.08);
}

.form-step__heading {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.form-step__heading > span {
  padding: 5px 12px;
  color: var(--white);
  background: var(--gold);
  font-family: Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.form-step h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 600;
}

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

.field,
.field-group {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 24px 0 0;
  font-weight: 700;
}

.form-grid .field,
.upload-grid .upload-field {
  margin-top: 0;
}

.field-group {
  padding: 0;
  border: 0;
}

.field em,
.field-group em {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  color: var(--white);
  background: var(--gold);
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #cfc8bd;
  border-radius: 4px;
  color: var(--ink);
  background: #fcfbf8;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field-help {
  margin: 0 0 18px;
  padding: 13px 16px;
  border-left: 3px solid var(--gold);
  color: var(--soft-ink);
  background: var(--paper);
  font-weight: 600;
}

.choice-grid,
.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.choice-grid label,
.option-grid label {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.choice-grid input,
.option-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-grid span,
.option-grid span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 11px 12px 11px 42px;
  border: 1px solid #d8d1c5;
  border-radius: 4px;
  background: #fcfbf8;
  font-weight: 600;
  line-height: 1.5;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.choice-grid span::before,
.option-grid span::before {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  border: 2px solid #b8afa2;
  border-radius: 3px;
  content: '';
  transform: translateY(-50%);
}

.choice-grid input[type='radio'] + span::before,
.option-grid input[type='radio'] + span::before {
  border-radius: 50%;
}

.choice-grid input:checked + span,
.option-grid input:checked + span {
  border-color: var(--gold);
  background: #f8f2e6;
}

.choice-grid input:checked + span::before,
.option-grid input:checked + span::before {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: inset 0 0 0 4px #f8f2e6;
}

.choice-grid input:focus-visible + span,
.option-grid input:focus-visible + span {
  outline: 3px solid rgba(185, 147, 77, 0.55);
  outline-offset: 3px;
}

.page-sections {
  margin-top: 14px;
  padding: 18px;
  border: 1px dashed var(--gold);
  background: #fcfaf5;
}

.upload-field {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 18px;
  border: 1px dashed #b9aa91;
  border-radius: 5px;
  background: #fcfbf8;
  font-weight: 700;
  cursor: pointer;
}

.upload-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-field small {
  width: fit-content;
  padding: 8px 16px;
  color: var(--white);
  background: var(--deep-2);
  font-size: 16px;
}

.upload-field output {
  overflow-wrap: anywhere;
  color: var(--soft-ink);
  font-weight: 500;
}

.option-group {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

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

.option-grid span {
  display: grid;
  align-content: center;
  gap: 3px;
  min-height: 104px;
}

.option-grid small {
  color: var(--soft-ink);
  font-size: 16px;
  font-weight: 500;
}

.option-grid b {
  color: var(--gold-dark);
}

.free-includes {
  padding: 20px 24px;
  border-left: 4px solid var(--gold);
  background: var(--paper);
}

.free-includes h3,
.estimate-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 21px;
}

.free-includes ul,
.estimate-card ul {
  margin: 0;
  padding-left: 22px;
}

.estimate-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
  border: 2px solid var(--gold);
  background: #fffcf5;
}

.estimate-card > p {
  min-width: 220px;
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.estimate-card strong {
  display: block;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.3;
}

.estimate-note {
  color: var(--soft-ink);
  font-weight: 600;
}

.design-submit {
  width: min(520px, 100%);
  margin: 28px auto 0;
}

.submit-message {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--gold);
  background: #f8f2e6;
}

.submit-message strong,
.submit-message span {
  display: block;
}

.submit-message dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
}

.submit-message dl div {
  padding: 10px;
  background: var(--white);
}

.submit-message dt {
  color: var(--soft-ink);
  font-weight: 700;
}

.submit-message dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.mobile-only {
  display: none;
}

.check-layout {
  width: min(1000px, 92%);
  margin: 0 auto;
  padding-bottom: 80px;
}

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

.check-info-card,
.application-conditions,
.precheck-card {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(27, 30, 29, 0.08);
}

.check-info-card > .material-symbols-outlined {
  color: var(--gold);
  font-size: 48px;
}

.check-info-card h2,
.application-conditions h2 {
  margin: 12px 0;
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 600;
}

.check-info-card ul {
  padding-left: 22px;
  margin-bottom: 0;
  font-weight: 600;
}

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

.application-conditions p:last-child {
  margin-bottom: 0;
}

.precheck-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.precheck-list label,
.scope-agreement {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid #d8d1c5;
  border-radius: 4px;
  background: #fcfbf8;
  font-weight: 700;
  cursor: pointer;
}

.precheck-list input,
.scope-agreement input {
  width: 22px;
  height: 22px;
  accent-color: var(--gold);
}

.precheck-button {
  width: min(520px, 100%);
  margin: 12px auto 0;
}

.precheck-button.is-disabled {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.6);
  pointer-events: auto;
}

.precheck-button.is-disabled:hover {
  filter: grayscale(0.6);
  transform: none;
}

.precheck-status {
  margin: 12px 0 0;
  color: var(--soft-ink);
  font-weight: 700;
  text-align: center;
}

.scope-agreement {
  margin-top: 24px;
  border-color: var(--gold);
  background: #fffcf5;
}

.scope-agreement em {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  color: var(--white);
  background: var(--gold);
  font-style: normal;
}

@media (max-width: 980px) {
  .site-header {
    padding: 22px;
  }

  .site-name {
    display: none;
  }

  .site-logo {
    max-width: none;
    padding-right: 6px;
  }

  .menu-button {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 50;
    display: grid !important;
    opacity: 1;
    visibility: visible;
    border-color: rgba(185, 147, 77, 0.78);
    color: var(--gold-dark);
    background: rgba(255, 255, 255, 0.86);
  }

  .global-nav {
    position: absolute;
    top: calc(100% - 8px);
    right: 22px;
    display: none;
    width: min(310px, calc(100vw - 44px));
    padding: 18px;
    background: rgba(16, 26, 28, 0.96);
    box-shadow: var(--shadow);
  }

  .global-nav.is-open {
    display: grid;
    gap: 4px;
  }

  .global-nav a {
    padding: 12px 10px;
  }

  .nav-contact {
    margin-top: 6px;
    text-align: center;
  }

  .mv {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 760px;
    background: #f8f6f1;
  }

  .mv::before {
    display: none;
  }

  .hero-content {
    width: min(610px, calc(100% - 44px));
    margin: 0 auto;
    padding: 138px 32px 42px;
    border-radius: 0 22px 22px 0;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 34px rgba(25, 45, 55, 0.08);
    clip-path: none;
  }

  .hero-image,
  .hero-overlay {
    left: 34%;
    width: 66%;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(248, 246, 241, 0.95), rgba(248, 246, 241, 0.3), rgba(248, 246, 241, 0));
  }

  .hero-badge {
    right: 28px;
    bottom: 24px;
  }

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

  .worry-item:nth-child(3) {
    border-left: 0;
  }

  .worry-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }

  .features,
  .bottom-contact,
  .free-design-cta__inner {
    grid-template-columns: 1fr;
  }

  .features-text {
    padding: 42px 28px;
  }

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

  .flow-step:not(:last-child)::after {
    display: none;
  }

  .free-design-cta__button {
    width: min(580px, 100%);
  }

  .choice-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-logo {
    gap: 10px;
    max-width: calc(100vw - 90px);
    padding: 4px 8px 4px 4px;
  }

  .site-logo img {
    width: 42px;
    height: 42px;
  }

  .site-name {
    font-size: 14px;
  }

  .mv {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 720px;
    background: #f8f6f1;
  }

  .hero-image,
  .hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 30%;
    width: 70%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .hero-image {
    object-position: 58% top;
  }

  .hero-overlay {
    display: block;
    z-index: 1;
    background: linear-gradient(90deg, rgba(248, 246, 241, 0.98) 0%, rgba(248, 246, 241, 0.9) 24%, rgba(248, 246, 241, 0.32) 58%, rgba(248, 246, 241, 0.04) 100%), linear-gradient(180deg, rgba(248, 246, 241, 0.12), rgba(17, 26, 28, 0.08));
  }

  .hero-content {
    width: min(86%, 330px);
    margin: 0;
    padding: 118px 10px 42px 18px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .mv h1 {
    font-size: clamp(30px, 8.6vw, 36px);
    line-height: 1.5;
  }

  .hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
  }

  .sp-break {
    display: inline;
  }

  .hero-points {
    grid-template-columns: 1fr;
    width: min(210px, 100%);
    gap: 10px;
  }

  .hero-points li {
    justify-content: flex-start;
    min-height: 52px;
    padding-inline: 10px;
    font-size: 14px;
  }

  .hero-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: auto;
    top: auto;
    width: clamp(120px, 32vw, 136px);
    margin: 0;
  }

  .hero-badge span {
    font-size: 9px;
  }

  .hero-badge strong {
    font-size: 16px;
  }

  .section-title-line {
    gap: 16px;
  }

  .section-title-line span {
    width: 34px;
  }

  .worry-grid,
  .portfolio-grid,
  .flow-steps,
  .contact-form,
  .form-grid,
  .upload-grid,
  .option-grid,
  .estimate-card,
  .submit-message dl,
  .check-info-grid {
    grid-template-columns: 1fr;
  }

  .worry-item,
  .worry-item + .worry-item {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 26px;
  }

  .worry-item:first-child {
    border-top: 0;
  }

  .features-visual {
    min-height: 220px;
  }

  .bottom-contact {
    padding-block: 46px;
  }

  .large-contact-button {
    grid-template-columns: auto 1fr;
    padding: 20px;
  }

  .large-contact-button .material-symbols-outlined:last-child {
    display: none;
  }

  .contact-form {
    padding: 24px;
  }

  .privacy-check {
    align-items: flex-start;
  }

  .free-design-cta {
    padding-block: 44px;
  }

  .free-design-cta__inner {
    gap: 28px;
  }

  .form-layout {
    width: 92%;
  }

  .step-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .step-nav li {
    font-size: 16px;
  }

  .form-step {
    padding: 22px 16px;
  }

  .form-step__heading {
    align-items: flex-start;
    gap: 10px;
  }

  .choice-grid,
  .choice-grid.compact {
    grid-template-columns: 1fr;
  }

  .choice-grid span {
    min-height: 54px;
  }

  .page-sections {
    padding: 12px;
  }

  .estimate-card > p {
    min-width: 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    text-align: left;
  }

  .mobile-only {
    display: inline;
  }

  .precheck-list label,
  .scope-agreement {
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  .mv h1 {
    font-size: clamp(27px, 8vw, 32px);
    line-height: 1.35;
  }
}

@media (max-width: 360px) {
  .hero-points {
    width: min(168px, 50vw, 100%);
  }

  .hero-badge {
    right: 10px;
    left: auto;
    top: auto;
    width: 118px;
  }
}

/* Top page: reference-lp.png alignment. Form and sub-page styles are intentionally unchanged. */
.home-page {
  font-size: 16px;
}

.home-page a:focus-visible {
  outline: 3px solid rgba(185, 147, 77, 0.7);
  outline-offset: 4px;
}

.home-page .site-header {
  padding-inline: max(4vw, 22px);
}

.home-page .site-logo {
  padding: 0;
  background: transparent;
}

.home-page .mv {
  display: block;
  min-height: clamp(640px, 50vw, 760px);
  color: var(--white);
  background: var(--deep);
}

.home-page .mv::before {
  display: none;
}

.home-page .hero-image,
.home-page .hero-overlay {
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-page .hero-image {
  object-position: center top;
}

.home-page .hero-overlay {
  display: block;
  z-index: 1;
  background: linear-gradient(90deg, rgba(13, 24, 22, 0.9) 0%, rgba(13, 24, 22, 0.78) 33%, rgba(13, 24, 22, 0.34) 58%, rgba(13, 24, 22, 0.08) 78%), linear-gradient(180deg, rgba(8, 15, 14, 0.22), rgba(8, 15, 14, 0.12));
}

.home-page .hero-content {
  align-self: auto;
  width: min(860px, 68%);
  margin: 0;
  padding: clamp(165px, 13vw, 210px) 20px 62px max(4vw, 70px);
  color: var(--white);
  background: transparent;
  box-shadow: none;
}

.home-page .hero-lead {
  color: #d3ad61;
  font-size: clamp(30px, 3vw, 46px);
}

.home-page .mv h1 {
  color: var(--white);
  font-size: clamp(46px, 4.7vw, 68px);
  line-height: 1.42;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.home-page .hero-subtitle {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.home-page .hero-points {
  gap: 14px;
  width: min(650px, 100%);
}

.home-page .hero-points li {
  min-height: 68px;
  border: 1px solid rgba(185, 147, 77, 0.8);
  border-radius: 0;
  color: var(--white);
  background: rgba(10, 20, 19, 0.44);
  box-shadow: none;
}

.home-page .hero-badge {
  right: max(5vw, 42px);
  bottom: 28px;
  width: clamp(190px, 17vw, 260px);
}

.home-page .hero-badge span {
  font-size: 16px;
  white-space: normal;
}

.home-page .worries,
.home-page .portfolio,
.home-page .flow {
  padding-inline: max(4vw, 20px);
}

.home-page .worries {
  padding-top: 54px;
  padding-bottom: 68px;
}

.home-page .worry-grid,
.home-page .portfolio-grid,
.home-page .flow-steps {
  max-width: 1200px;
}

.home-page .features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.home-page .features-visual {
  width: 100%;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

.home-page .features-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.home-page .features-text {
  width: auto;
  margin: 0;
  padding: 54px max(4vw, 42px);
}

.home-page .portfolio {
  padding-top: 72px;
  padding-bottom: 74px;
}

.home-page .portfolio-card {
  padding: 20px 20px 28px;
  border-color: #d7cebd;
  background: rgba(255, 255, 255, 0.78);
}

.home-page .flow {
  padding-top: 42px;
  padding-bottom: 88px;
}

.home-page .bottom-contact,
.home-page .free-design-cta {
  padding-inline: max(4vw, 22px);
}

.home-page .global-nav,
.home-page .section-kicker,
.home-page .hero-points li,
.home-page .large-contact-button small {
  font-size: 16px;
}

@media (max-width: 980px) {
  .home-page .site-header {
    padding-inline: max(4vw, 22px);
  }

  .home-page .site-logo {
    padding: 0;
  }

  .home-page .hero-content {
    width: min(700px, 82%);
    margin: 0;
    padding-left: max(4vw, 30px);
    background: transparent;
    box-shadow: none;
  }

  .home-page .hero-image,
  .home-page .hero-overlay {
    inset: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .home-page .features {
    grid-template-columns: 1fr;
  }

  .home-page .mv {
    min-height: 780px;
  }

  .home-page .hero-image,
  .home-page .hero-overlay {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .home-page .hero-image {
    object-position: 58% top;
  }

  .home-page .hero-overlay {
    background: linear-gradient(90deg, rgba(13, 24, 22, 0.93) 0%, rgba(13, 24, 22, 0.76) 48%, rgba(13, 24, 22, 0.2) 100%), linear-gradient(180deg, rgba(8, 15, 14, 0.2), rgba(8, 15, 14, 0.2));
  }

  .home-page .hero-content {
    width: 92%;
    padding: 118px 8px 36px max(4vw, 16px);
    color: var(--white);
  }

  .home-page .hero-lead {
    color: #d3ad61;
    font-size: 24px;
  }

  .home-page .mv h1 {
    color: var(--white);
    font-size: clamp(27px, 7.5vw, 30px);
    line-height: 1.42;
  }

  .home-page .hero-subtitle {
    color: var(--white);
    font-size: 16px;
  }

  .home-page .hero-points {
    width: min(220px, 100%);
  }

  .home-page .hero-points li {
    min-height: 54px;
    background: rgba(10, 20, 19, 0.58);
  }

  .home-page .hero-badge {
    right: max(4vw, 12px);
    bottom: 14px;
    width: 190px;
  }

  .home-page .hero-badge strong {
    font-size: 18px;
  }

  .home-page .worries,
  .home-page .portfolio,
  .home-page .flow,
  .home-page .bottom-contact,
  .home-page .free-design-cta {
    padding-inline: max(4vw, 16px);
  }

  .home-page .features-visual {
    width: 100%;
    height: clamp(230px, 68vw, 320px);
    min-height: 0;
  }

  .home-page .features-visual img {
    /* object-position: center; */
    object-fit: cover;
  }

  .home-page .features-text {
    width: 92%;
    padding: 38px 0 44px;
    margin: 0 auto;
  }
}
