@charset "UTF-8";
/*
  構成: ①ベース（PC想定・メディアクエリなし）→ ②モバイル（max-width:767px のみを末尾に集約）
*/

/* ========== ① ベース（PC想定） ========== */

:root {
  --blue: #004071;
  --orange: #fd5c01;
  --red: #e60012;
  --text: #000000;
  --gray: #666666;
  --gray-light: #b4b4b4;
  --yellow: #f4e9bf;
  --header-height: 60rem;
}

html {
  font-size: min(calc(100vw / 1200), 1px);
}

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

body {
  margin: 0;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

p {
  margin: 0;
}

fieldset {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-size: inherit;
  font-weight: 700;
}

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

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  background: #fff;
  border: 1rem solid #000;
  border-radius: 0;
  padding: 6rem 8rem;
  color: inherit;
}

input[type="checkbox"],
input[type="radio"] {
  width: 16rem;
  height: 16rem;
  margin: 0 8rem 0 0;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

textarea {
  min-height: 160rem;
  resize: vertical;
}

/* その他：枠の縦を少し詰める */
#comment {
  min-height: 125rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.lp-form-group:has(#comment) {
  margin-bottom: 4rem;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.lp {
  width: 1200rem;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── フルブリード（背景だけ全幅）：ヘッダー／フッター ── */
/* .lp が基準幅で中央寄せのため、子の .lp-strip だけ画面いっぱいへ拡げる */
.lp > .lp-strip {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  box-sizing: border-box;
}

.lp-strip {
  position: relative;
  width: 100%;
  background-color: var(--blue);
  color: #fff;
}

.lp-strip__inner {
  position: relative;
  width: 1200rem;
  max-width: 100%;
  margin: 0 auto;
}

.lp-header {
  min-height: 72rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-header__brand {
  display: flex;
  align-items: center;
}

/* 【差し替え】ヘッダーロゴ。正式アセット準備まで img の src を差し替え可能 */
.lp-header__brand img,
.lp-header__logo-img {
  width: auto;
  height: 42rem;
  display: block;
}

.lp-header__logo-fallback {
  display: inline-flex;
  align-items: center;
  gap: 8rem;
  font-weight: 700;
  font-size: 20rem;
  letter-spacing: 0.04em;
}

.lp-header__logo-fallback-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
  font-size: 16rem;
  color: #fff;
}

.lp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120rem;
  padding: 10rem 24rem;
  border: 1rem solid #fff;
  border-radius: 999rem;
  font-size: 13rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.lp-btn-outline:hover {
  color: var(--blue);
  background: #fff;
}

.lp-main {
  flex: 1;
  padding: 50rem 20rem;
}

.lp-page-heading {
  text-align: center;
  margin-bottom: 40rem;
}

.lp-page-heading__title {
  font-size: 36rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 20rem;
}

.lp-page-heading__lead {
  font-size: 16rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 5rem;
}

.lp-page-heading__privacy {
  margin: 0;
  font-size: 16rem;
}

.lp-page-heading__link {
  color: var(--orange);
  text-decoration: underline;
}

.lp-page-heading__link:hover {
  color: var(--orange);
}

.lp-submit-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 20rem;
  text-align: center;
}

.lp-submit-section .lp-consent {
  margin-top: 0;
}

.lp-submit-section .lp-actions {
  width: 100%;
  max-width: 480rem;
  justify-content: center;
  margin-top: 8rem;
}

.lp-submit-section .lp-msg-error {
  width: 100%;
  max-width: 650rem;
  margin-top: 16rem;
  margin-bottom: 12rem;
}

.lp-grid {
  display: grid;
  grid-template-columns: 1fr minmax(0, 582rem);
  gap: 24rem;
  align-items: start;
}

.lp-catch {
  font-size: 36rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  margin: 50rem 0;
  line-height: 1.3;
  text-shadow: 3rem 3rem 5rem rgba(0, 0, 0, 0.2);
  text-align: center;
}

.lp-block-title {
  font-size: 20rem;
  font-weight: 700;
  color: #000;
  margin-bottom: -14rem;
}

#solution-title {
  text-align: right;
}

.title-highlight {
  font-size: 26rem;
  font-weight: 700;
}

.lp-box-gray {
  background-image: url("../img/gray.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 110% 100%;
  padding: 15rem 15rem;
  margin-bottom: 28rem;
  border-radius: 0;
}

.lp-box-yellow {
  background-image: url("../img/yellow.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 110% 100%;
  padding: 15rem 15rem;
  margin-bottom: 28rem;
  border-radius: 0;
}

.lp-split {
  display: flex;
  gap: 8rem;
  align-items: flex-start;
}

/* お悩みブロック（グレー）：テキストと画像を枠の高さ方向で中央揃え */
.lp-box-gray .lp-split {
  align-items: center;
}

/* 即日解決ブロック：テキストと画像を枠の高さ方向で中央揃え */
.lp-split.lp-split--solution {
  align-items: center;
}

/* テキスト : 画像 ≒ 3 : 1（flex-basis 0 で幅を按分） */
.lp-split__text {
  flex: 3 1 0%;
  min-width: 0;
  padding-top: 20rem;
}

.lp-split .lp-man-photo {
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
  max-width: 100rem;
  border-radius: 4rem;
  overflow: visible;
  margin: 0;
}

.lp-split.lp-split--solution .lp-woman-photo {
  flex: 1 1 0%;
  min-width: 0;
  width: auto;
  max-width: 100rem;
  border-radius: 4rem;
  overflow: visible;
  margin: 0;
}

.lp-man-photo img,
.lp-woman-photo img {
  width: 100%;
  height: auto; 
  display: block;
  border-radius: 4rem;
}

.lp-list-disc {
  font-size: 16rem;
  line-height: 1.2;
}

.lp-list-disc li {
  padding-left: 0;
  position: relative;
  margin: 5rem 0;
}

.lp-list-disc li::before {
  content: none;
  display: none;
}

.lp-solution-text {
  font-size: 16rem;
  line-height: 1.5;
  padding-left: 20rem;
}

.lp-solution-text strong.highlight {
  color: var(--orange);
  font-size: 20rem;
  font-weight: 700;
}

.lp-privacy-box {
  border: 1rem solid #000;
  padding: 16rem 18rem;
  font-size: 11rem;
  line-height: 1.85;
  color: #333;
  margin-top: 40rem;
}

.lp-privacy-box__title {
  font-size: 16rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8rem;
  line-height: 1.4;
}

.lp-privacy-box__text {
  color: var(--text);
  font-size: 13.5rem;
  margin: 0;
}

.lp-privacy-box__link {
  color: var(--orange);
  text-decoration: underline;
}

.lp-privacy-box__link:hover {
  color: var(--orange);
}

/* ── フォームパネル ── */
.lp-form-wrap {
  position: relative;
  background: rgb(0 159 232 / 0.08);
  padding: 25rem 30rem 28rem;
  border-radius: 4rem;
}

.lp-form-required-note {
  position: absolute;
  top: 16rem;
  right: 20rem;
  font-size: 12rem;
  color: var(--red);
}

.lp-form-group {
  margin-bottom: 16rem;
}

.lp-form-group.lp-has-field-error,
fieldset.lp-form-group.lp-has-field-error {
  background-color: rgb(255 235 237 / 0.75);
  border-radius: 4rem;
  padding: 10rem 12rem 12rem;
  margin-left: -4rem;
  margin-right: -4rem;
  box-shadow: inset 0 0 0 1rem rgb(255 160 170 / 0.65);
}

.lp-consent.lp-has-field-error {
  background-color: rgb(255 235 237 / 0.75);
  border-radius: 4rem;
  padding: 10rem 12rem;
  box-shadow: inset 0 0 0 1rem rgb(255 160 170 / 0.65);
}

.lp-form-label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4rem;
  font-size: 18rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.lp-form-required {
  color: var(--red);
  font-weight: 700;
}

.lp-checkbox-row,
.lp-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
}

.lp-check {
  display: inline-flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  font-weight: 400;
  font-size: 16rem;
}

/* その他製品：折りたたみ（閉＝ラベル行のみ、開＝6項目を下へ重ねて表示＝位置は詰まったまま） */
.lp-other-products {
  position: relative;
  z-index: 1;
  color: var(--gray);
  margin-top: 16rem;
  font-weight: 400;
}

.lp-other-products[open] {
  z-index: 100;
}

.lp-other-products > summary {
  list-style: none;
}

.lp-other-products > summary::-webkit-details-marker {
  display: none;
}

.lp-other-products__summary {
  cursor: pointer;
  width: 80%;
  font-size: 16rem;
  font-weight: 700;
  padding: 8rem 12rem;
  border: 1rem solid #000;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12rem;
  box-sizing: border-box;
}

.lp-other-products__summary-text {
  flex: 1;
  min-width: 0;
  font-weight: 500;
  text-align: left;
  line-height: 1.35;
  white-space: pre-line;
}

.lp-other-products__summary::after {
  content: "▼";
  font-size: 10rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 4rem;
  transition: transform 0.2s ease;
}

.lp-other-products[open] .lp-other-products__summary::after {
  transform: rotate(180deg);
}

/* 開いたリストは本文レイアウトを押し下げず、その上に白枠で重ねる（日付ピッカーに近い挙動） */
.lp-other-products__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 80%;
  z-index: 50;
  background: #fff;
  padding: 5rem 10rem;
  border: 1rem solid #000;
  box-sizing: border-box;
  box-shadow: 0 8rem 24rem rgba(0, 0, 0, 0.12);
}

/* その他製品：縦並び・1行1枠 */
.lp-checkbox-row--other {
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 4rem;
}

.lp-check--other {
  display: flex;
  width: 100%;
  font-size: 14rem;
  color: var(--text);
  align-items: center;
  padding: 4rem 10rem;
  box-sizing: border-box;
}

.lp-form-hint {
  font-size: 12rem;
  font-weight: 400;
  color: #333;
  margin-top: 6rem;
}

.lp-form-label .lp-form-hint--label-inline {
  margin-top: 0;
  font-size: 12rem;
  font-weight: 400;
  color: #333;
  line-height: 1.35;
}

.lp-date-row {
  display: flex;
  align-items: center;
  gap: 12rem;
  flex-wrap: wrap;
}

.lp-date-row input[type="text"],
.lp-date-row input[type="date"] {
  flex: 1;
  min-width: 140rem;
}

.lp-date-divider {
  font-size: 16rem;
  font-weight: 500;
}

.lp-consent {
  margin-top: 32rem;
  text-align: center;
}

.lp-consent label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16rem;
  cursor: pointer;
}

.lp-actions {
  margin-top: 20rem;
  display: flex;
  justify-content: center;
}

.lp-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 350rem;
  max-width: 100%;
  padding: 14rem;
  border-radius:10rem;
  font-size: 20rem;
  font-weight: 700;
  color: var(--orange);
  background: var(--yellow);
  background-size: 200% auto;
  border: 2.2rem solid var(--orange);
  box-shadow: 0 6rem 20rem rgb(0 0 0 / 0.12);
  transition: background-position 0.35s, box-shadow 0.2s;
}

.lp-btn-submit:hover {
  color: #fff;
  background: var(--orange);
  background-position: 100% center;
  box-shadow: 0 10rem 24rem rgb(0 0 0 / 0.18);
}

a.lp-btn-submit--link {
  text-decoration: none;
}

.lp-msg-error {
  display: none;
  margin-bottom: 20rem;
  padding: 14rem;
  border: 1rem solid var(--red);
  border-radius: 4rem;
  background: #ffebed;
  color: var(--red);
  text-align: center;
  font-size: 16rem;
}

.lp-msg-error.is-show {
  display: block;
}

.lp-footer-strip {
  margin-top: auto;
}

.lp-footer {
  text-align: center;
  padding: 20rem 16rem;
  font-size: 12rem;
  font-weight: 400;
}

/* ── confirm / thanks 簡易表示 ── */
.lp-page-title {
  text-align: center;
  font-size: 26rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 24rem;
}

.lp-confirm-intro {
  text-align: center;
  font-size: 14rem;
  margin-bottom: 32rem;
  line-height: 1.85;
}

.lp-confirm-intro a {
  color: var(--orange);
  text-decoration: underline;
}

.lp-confirm-panel {
  max-width: 900rem;
  margin: 0 auto;
  border: 1rem solid #d0d0d0;
  background: #fff;
}

.lp-confirm-panel__row {
  display: grid;
  grid-template-columns: 220rem 1fr;
  border-bottom: 1rem solid #ededed;
  font-size: 14rem;
}

.lp-confirm-panel__row dt {
  margin: 0;
  padding: 16rem;
  font-weight: 700;
  background: #f5f7fa;
}

.lp-confirm-panel__row dd {
  margin: 0;
  padding: 16rem;
  word-break: break-word;
}

.lp-confirm-panel__row:last-child {
  border-bottom: none;
}

.lp-buttons {
  display: flex;
  gap: 24rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40rem;
}

.lp-btn-muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200rem;
  padding: 14rem 28rem;
  border-radius: 999rem;
  border: 1rem solid var(--gray);
  background: transparent;
  font-size: 14rem;
  text-decoration: none;
}

.lp-thanks-msg {
  text-align: center;
  font-size: 14rem;
  line-height: 1.9;
  margin-bottom: 32rem;
}

.lp-thanks-msg a {
  color: var(--orange);
  text-decoration: underline;
}

/* ========== ② モバイル（767px以下・集約） ========== */

@media (max-width: 767px) {
  html {
    font-size: min(calc(100vw / 375), 1px);
  }

  .lp {
    width: 375rem;
  }

  .lp-strip__inner {
    width: 375rem;
    max-width: 100%;
  }

  .lp-header {
    padding: 0 20rem;
    min-height: 60rem;
  }

  .lp-header__brand img {
    height: 24rem;
  }

  .lp-main {
    padding: 28rem 20rem 40rem;
  }

  .lp-page-heading__title {
    font-size: 22rem;
    margin-bottom: 16rem;
  }

  .lp-page-heading__lead {
    font-size: 13rem;
  }

  .lp-submit-section {
    margin-top: 28rem;
  }

  .lp-grid {
    grid-template-columns: 1fr;
    gap: 40rem;
  }

  .lp-catch {
    font-size: 22rem;
    margin-bottom: 24rem;
  }

  .lp-block-title {
    font-size: 16rem;
  }

  .lp-split {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-split.lp-split--solution {
    align-items: stretch;
  }

  .lp-box-gray .lp-split {
    align-items: stretch;
  }

  .lp-split__text {
    flex: 1 1 auto;
    min-width: 0;
  }

  .lp-split .lp-man-photo,
  .lp-split.lp-split--solution .lp-woman-photo {
    flex: 0 0 auto;
    width: 100%;
    max-width: 200rem;
    margin-inline: auto;
  }

  .lp-form-wrap {
    padding: 24rem 20rem 28rem;
  }

  .lp-form-required-note {
    position: static;
    text-align: right;
    margin-bottom: 12rem;
  }

  .lp-btn-submit {
    width: 100%;
    font-size: 15rem;
    padding: 16rem 24rem;
  }

  .lp-confirm-panel__row {
    grid-template-columns: 1fr;
  }

  .lp-confirm-panel__row dt {
    border-bottom: 1rem dashed #ddd;
  }
}
