@charset "UTF-8";

:root {
  --color-primary: #c33c1e;
  --color-primary-dark: #a43118;
  --color-primary-soft: #faeee5;
  --color-phone: #595757;
  --color-phone-dark: #444242;
  --color-text: #333333;
  --color-muted: #5f5b58;
  --color-line: #ddd3cc;
  --color-bg-soft: #faeee5;
  --color-white: #ffffff;
  --color-link: #c33c1e;
  --shadow-feature: 0 14px 36px rgba(0, 0, 0, 0.08);
  --radius-large: 24px;
  --radius-medium: 16px;
  --radius-small: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  line-height: 1.8;
  background: #ffffff;
  word-break: break-word;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

p,
ul,
ol,
dl,
figure,
h1,
h2,
h3 {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(900px, calc(100% - 32px));
}

.section {
  padding: 88px 0;
}

.problem-section,
.support-section {
  background: var(--color-bg-soft);
}

.feature-section,
.promise-section,
.call-section,
.form-section,
.company-section {
  background: #ffffff;
}

.heading-underline {
  display: inline;
  background: linear-gradient(transparent 62%, rgba(195, 60, 30, 0.16) 62%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 0.08em;
}

.heading-underline--strong {
  background: linear-gradient(transparent 65%, rgba(195, 60, 30, 0.22) 65%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(195, 60, 30, 0.08);
}

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

.header-brand {
  display: inline-flex;
  align-items: center;
}

.header-brand img {
  width: min(100%, 228px);
  height: auto;
}

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

.header-contact__label {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.4;
}

.header-contact__tel {
  display: inline-block;
  color: var(--color-phone);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.header-contact__meta {
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.5;
}

.hero {
  position: relative;
  padding: 86px 0 94px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 42%, rgba(255, 255, 255, 0.58) 70%, rgba(255, 255, 255, 0.12) 100%),
    url("../images/applehome-landi-fv-family-pc.webp") center right / cover no-repeat;
}

.hero-panel {
  max-width: 620px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(250, 238, 229, 0.92);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.hero-brand {
  margin-bottom: 18px;
}

.hero-brand img {
  width: min(100%, 340px);
}

.hero-title {
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.36;
  letter-spacing: 0.03em;
}

.hero-title__line {
  display: block;
}

.hero-text {
  margin-bottom: 24px;
  color: var(--color-muted);
  font-size: 17px;
  line-height: 1.95;
}

.hero-merit {
  margin-bottom: 28px;
  padding: 20px 20px 18px;
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(195, 60, 30, 0.12);
}

.hero-merit__title {
  margin-bottom: 14px;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.hero-points {
  display: grid;
  gap: 12px;
}

.hero-points li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border-radius: var(--radius-medium);
  background: var(--color-white);
  border: 1px solid rgba(195, 60, 30, 0.12);
  font-weight: 700;
  line-height: 1.65;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 16px;
  width: 22px;
  height: 22px;
  background: url("../images/checkbox001a.svg") center / contain no-repeat;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-phone,
.btn-secondary {
  background: var(--color-phone);
  border-color: var(--color-phone);
  color: var(--color-white);
}

.btn-phone:hover,
.btn-secondary:hover {
  background: var(--color-phone-dark);
  border-color: var(--color-phone-dark);
}

.btn-phone-large {
  min-width: 280px;
  font-size: 28px;
}

.btn-submit {
  width: min(100%, 420px);
  font-size: 18px;
  cursor: pointer;
  border: 0;
}

.hero-phone-note {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

.hero-phone-note span {
  display: inline-block;
  margin-left: 8px;
  color: var(--color-phone);
  font-weight: 700;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading__en {
  margin-bottom: 12px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.45;
}

.section-heading__lead {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.9;
}

.section-heading.centered .section-heading__lead {
  max-width: 760px;
  margin: 0 auto;
}

.problem-list {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.problem-list li {
  position: relative;
  padding: 16px 18px 16px 56px;
  border: 1px solid rgba(195, 60, 30, 0.16);
  border-radius: var(--radius-medium);
  background: var(--color-white);
  font-weight: 700;
  line-height: 1.7;
}

.problem-list li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 18px;
  width: 22px;
  height: 22px;
  background: url("../images/checkbox001a.svg") center / contain no-repeat;
}

.problem-text {
  margin-bottom: 32px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.95;
}

.problem-figure {
  margin-top: 28px;
  text-align: center;
}

.problem-figure--flow img {
  width: 100%;
  max-width: 760px;
}

.problem-figure--solution img {
  width: 100%;
  max-width: 580px;
}

.problem-figure--time img {
  width: 80%;
  max-width: 520px;
}

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

.support-card {
  padding: 28px 24px;
  border-radius: var(--radius-large);
  background: var(--color-white);
  border: 1px solid rgba(195, 60, 30, 0.12);
}

.support-card--featured {
  grid-column: 1 / -1;
  padding: 32px;
  background: rgba(255, 255, 255, 0.88);
}

.support-card__label {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-card h3 {
  margin-bottom: 14px;
  color: var(--color-text);
  font-size: 24px;
  line-height: 1.5;
}

.support-card--featured h3 {
  font-size: clamp(28px, 3vw, 34px);
}

.support-card p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.9;
}

.support-card__points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.support-card__points li {
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(195, 60, 30, 0.12);
  font-weight: 700;
  line-height: 1.65;
}

.feature-logo {
  margin-bottom: 18px;
}

.feature-logo img {
  width: 180px;
}

.feature-list {
  display: grid;
  gap: 28px;
}

.feature-item {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius-large);
  background: var(--color-white);
  box-shadow: var(--shadow-feature);
}

.feature-item__text h3 {
  position: relative;
  margin-bottom: 16px;
  padding-left: 92px;
  min-height: 76px;
  display: flex;
  align-items: center;
  font-size: 26px;
  line-height: 1.45;
}

.feature-item__text h3::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 76px;
  height: 76px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.feature-item:nth-child(1) .feature-item__text h3::before { background-image: url("../images/fig_no001.svg"); }
.feature-item:nth-child(2) .feature-item__text h3::before { background-image: url("../images/fig_no002.svg"); }
.feature-item:nth-child(3) .feature-item__text h3::before { background-image: url("../images/fig_no003.svg"); }
.feature-item:nth-child(4) .feature-item__text h3::before { background-image: url("../images/fig_no004.svg"); }
.feature-item:nth-child(5) .feature-item__text h3::before { background-image: url("../images/fig_no005.svg"); }
.feature-item:nth-child(6) .feature-item__text h3::before { background-image: url("../images/fig_no006.svg"); }
.feature-item:nth-child(7) .feature-item__text h3::before { background-image: url("../images/fig_no007.svg"); }

.feature-item__text p {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.95;
}

.feature-note {
  margin-top: 12px;
  font-size: 13px !important;
}

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

.feature-item__image img {
  width: 100%;
  border-radius: 0;
}

.feature-item:nth-child(3) .feature-item__image img {
  width: 60%;
  max-width: 260px;
}

.feature-item:nth-child(6) .feature-item__image img {
  width: 80%;
  max-width: 280px;
}

.promise-list {
  display: grid;
  gap: 20px;
}

.promise-list li {
  position: relative;
  min-height: 120px;
  padding: 28px 32px 28px 110px;
  border-radius: var(--radius-large);
  background: var(--color-white);
  border: 1px solid rgba(195, 60, 30, 0.12);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.85;
}

.promise-list li::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 18px;
  width: 70px;
  border-radius: 999px;
  background: url("../images/bg_promise001.svg") center / contain no-repeat;
}

.promise-list li::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 38px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.promise-list li:nth-child(1)::after { background-image: url("../images/fig_no001.svg"); }
.promise-list li:nth-child(2)::after { background-image: url("../images/fig_no002.svg"); }
.promise-list li:nth-child(3)::after { background-image: url("../images/fig_no003.svg"); }

.call-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px;
  border-radius: var(--radius-large);
  background: var(--color-bg-soft);
  border: 1px solid rgba(195, 60, 30, 0.12);
}

.call-box__label {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.call-box h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.45;
}

.call-box__body p:last-child {
  color: var(--color-muted);
}

.call-box__action {
  min-width: 320px;
  text-align: center;
}

.call-box__action p {
  margin-top: 10px;
  color: var(--color-muted);
  font-size: 14px;
}

.form-container {
  max-width: 980px;
}

.form-card,
.confirm-card,
.thanks-card {
  padding: 34px 32px;
  border-radius: var(--radius-large);
  background: var(--color-white);
  border: 1px solid rgba(195, 60, 30, 0.12);
}

.form-card__note {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-medium);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1.8;
}

.contact-form {
  display: block;
}

.form-list {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-line);
}

.form-row:first-child {
  padding-top: 0;
}

.form-row dt {
  margin: 0;
}

.form-row dd {
  margin: 0;
}

.form-row label,
.form-row dt {
  display: block;
  font-weight: 700;
  line-height: 1.6;
}

.required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  padding: 0 10px;
  min-width: 42px;
  min-height: 24px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #d3d3d3;
  border-radius: var(--radius-small);
  background: #ffffff;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  appearance: none;
}

textarea {
  min-height: 180px;
  resize: vertical;
}

select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-primary) 50%),
    linear-gradient(135deg, var(--color-primary) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(195, 60, 30, 0.18);
  border-color: rgba(195, 60, 30, 0.45);
}

.privacy-box {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  background: #ffffff;
}

.privacy-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  line-height: 1.7;
}

.privacy-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--color-primary);
}

.privacy-link {
  margin-top: 10px;
  color: var(--color-link);
  font-size: 14px;
}

.privacy-link a {
  color: var(--color-link);
  text-decoration: underline;
}

.form-actions {
  margin-top: 28px;
  text-align: center;
}

.company-data {
  display: grid;
  border-top: 1px solid var(--color-line);
}

.company-data__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line);
}

.company-data dt {
  font-weight: 700;
}

.company-data dd {
  margin: 0;
}

.company-data a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
}

.site-footer {
  padding: 56px 0 108px;
  background: var(--color-phone);
  color: var(--color-white);
}

.site-footer__logo {
  text-align: center;
  margin-bottom: 18px;
}

.site-footer__logo img {
  width: min(100%, 320px);
}

.site-footer__copy {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  background: rgba(255, 255, 255, 0.98);
}

.floating-cta__item {
  flex: 1 1 50%;
  width: 50%;
  max-width: 50%;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  font-weight: 700;
  color: #ffffff;
}

.floating-cta__item--phone {
  background: var(--color-phone);
}

.floating-cta__item--form {
  background: var(--color-primary);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
}

.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
}

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

.confirm-table th {
  width: 230px;
  background: #fbf8f6;
  font-weight: 700;
}

.form-error {
  margin-bottom: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(195, 60, 30, 0.2);
  border-radius: var(--radius-medium);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.form-error ul {
  margin: 0;
  padding-left: 1.4em;
  list-style: disc;
}

.button-row,
.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.button-row .btn {
  min-width: 220px;
}

.confirm-note,
.thanks-note {
  margin-top: 20px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.page-panel {
  padding-top: 40px;
  padding-bottom: 100px;
}

.page-panel .section-heading {
  margin-bottom: 24px;
}

.thanks-card,
.confirm-card {
  text-align: center;
}

.thanks-card h1,
.confirm-card h1 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.45;
}

.thanks-card p {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.95;
}

.page-footer-space {
  padding-bottom: 0;
}

@media (max-width: 1024px) {
  .feature-item,
  .form-row,
  .company-data__row,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-card--featured {
    grid-column: auto;
  }

  .support-card__points {
    grid-template-columns: 1fr;
  }

  .call-box {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .call-box__body,
  .call-box__action {
    width: 100%;
  }

  .call-box__action {
    min-width: 0;
  }

  .form-row {
    gap: 10px;
  }

  .form-row dt {
    padding-bottom: 4px;
  }

  .company-data__row {
    gap: 8px;
  }

  .confirm-table th,
  .confirm-table td {
    display: block;
    width: 100%;
  }

  .confirm-table th {
    padding-bottom: 8px;
    border-bottom: 0;
  }

  .confirm-table td {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 68px 0;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    align-items: center;
    justify-content: flex-start;
    padding: 12px 0;
    min-height: auto;
  }

  .header-brand img {
    width: min(100%, 190px);
  }

  .header-contact {
    display: none;
  }

  .hero {
    padding: 52px 0 62px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.87) 0%, rgba(255, 255, 255, 0.82) 44%, rgba(255, 255, 255, 0.62) 100%),
      url("../images/applehome-landi-fv-family-sp-long2.webp") center top / cover no-repeat;
  }

  .hero-panel {
    max-width: none;
  }

  .hero-brand {
    margin-bottom: 14px;
  }

  .hero-brand img {
    width: min(100%, 280px);
  }

  .hero-eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .hero-title {
    font-size: clamp(28px, 9vw, 38px);
    margin-bottom: 18px;
  }

  .hero-text,
  .section-heading__lead,
  .support-card p,
  .problem-text,
  .feature-item__text p,
  .thanks-card p {
    font-size: 15px;
  }

  .hero-points li,
  .problem-list li {
    padding-left: 44px;
    font-size: 15px;
  }

  .hero-points li::before,
  .problem-list li::before {
    top: 17px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn,
  .btn-phone-large,
  .btn-submit {
    width: 100%;
  }

  .hero-phone-note span {
    display: block;
    margin-left: 0;
    margin-top: 6px;
  }

  .feature-item,
  .support-card,
  .call-box,
  .form-card,
  .confirm-card,
  .thanks-card {
    padding: 24px 20px;
  }

  .call-box {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .call-box__body,
  .call-box__action {
    width: 100%;
  }

  .call-box__action {
    min-width: 0;
  }

  .call-box h2 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.5;
  }

  .call-box__action .btn-phone-large {
    min-width: 0;
    width: 100%;
    font-size: clamp(22px, 7vw, 28px);
  }

  .support-card--featured {
    padding: 24px 20px;
  }

  .support-card--featured h3 {
    font-size: 24px;
  }

  .feature-item__text h3 {
    min-height: 0;
    padding-left: 72px;
    font-size: 22px;
  }

  .feature-item__text h3::before {
    width: 58px;
    height: 58px;
  }

  .promise-list li {
    min-height: auto;
    padding: 22px 18px 22px 88px;
    font-size: 16px;
  }

  .promise-list li::before {
    inset: 14px auto 14px 14px;
    width: 56px;
  }

  .promise-list li::after {
    left: 28px;
    width: 22px;
    height: 22px;
  }

  .privacy-box {
    padding: 16px;
  }

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

  .site-footer {
    padding: 46px 0 74px;
  }

  .floating-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .floating-cta__item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 8px;
    font-size: 13px;
    text-align: center;
    line-height: 1.35;
  }
}
