/* =========================================
   リセット・ベース
   ========================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html,
body { margin: 0; padding: 0; background: #FFFDEA; font-family: Inter, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; }

html { scroll-behavior: smooth; }

body.is-modal-open { overflow: hidden; }

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

/* =========================================
   PC / SP 表示切替
   ========================================= */
.pc-version,
.sp-version { display: none; }

@media (min-width: 600px) {
  body.main-page { padding-bottom: clamp(110px, 14vw, 170px); }
  .pc-version { display: block; }
}

@media (max-width: 599px) {
  body.main-page { padding-bottom: 110px; }
  .sp-version { display: block; }
}

/* =========================================
   PC 共通レイアウト
   ========================================= */
.pc-version .lp { width: 100%; max-width: 1280px; margin: 0 auto; overflow: hidden; }

.pc-version .lp-section { line-height: 0; }

.pc-version .lp-hero,
.pc-version .lp-final-cta { position: relative; }

.pc-version .lp-form-section { padding: clamp(24px, 4vw, 56px) 0 clamp(40px, 6vw, 72px); background: repeating-linear-gradient(127deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 5px, rgba(245, 232, 158, 0.23) 5px, rgba(245, 232, 158, 0.23) 21px, rgba(255, 255, 255, 0) 21px, rgba(255, 255, 255, 0) 76px), #fffbe8; }

/* =========================================
   統合LP（index.html = .main-page）：PC/SPを1本化し .is-pc / .is-sp で出し分け
   ※ dl-form等の .pc-version/.sp-version には影響させないため .main-page で限定
   ========================================= */
.main-page .lp { width: 100%; max-width: 1280px; margin: 0 auto; overflow: hidden; }

@media (min-width: 600px) {
  .main-page .is-sp { display: none !important; }
}

@media (max-width: 599px) {
  .main-page .lp { max-width: 600px; }
  .main-page .is-pc { display: none !important; }
}

.main-page .lp-section { position: relative; line-height: 0; }

.main-page .lp-hero,
.main-page .lp-final-cta { position: relative; }

/* 問い合わせフォーム：PC/SP共通の罫線ストライプ背景。フォームは中央寄せ・左右に余白を確保 */
.main-page .contact-section { padding: clamp(24px, 4vw, 56px) 16px clamp(40px, 6vw, 72px); background: repeating-linear-gradient(104deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 13px, rgba(245, 232, 158, 0.45) 13px, rgba(245, 232, 158, 0.45) 21px, rgba(255, 255, 255, 0) 21px, rgba(255, 255, 255, 0) 56px), #fffbe8; }

.main-page .sp-popups { position: relative; line-height: 0; }

/* =========================================
   フォーム共通（送信ボタン・補足文・入力フォーカス）
   ========================================= */
.fv-request-form__button,
.wide-request-form__button,
.request-card__button { display: block; border: 0; background: linear-gradient(180deg, #bf261a 0.75%, #e66799 100.17%); box-shadow: 3.96px 3.96px 5.94px rgba(76, 17, 3, 0.85); color: #fff; cursor: pointer; font-family: "Noto Sans JP", sans-serif; font-weight: 900; transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease; }

.fv-request-form__button:hover,
.wide-request-form__button:hover,
.request-card__button:hover,
.fv-request-form__button:focus-visible,
.wide-request-form__button:focus-visible,
.request-card__button:focus-visible { transform: translateY(-2px); box-shadow: 5px 6px 10px rgba(76, 17, 3, 0.55); filter: brightness(1.05); }

.fv-request-form__button:active,
.wide-request-form__button:active,
.request-card__button:active { transform: translateY(0); box-shadow: 2px 2px 4px rgba(76, 17, 3, 0.85); }

.fv-request-form__note,
.wide-request-form__note,
.request-card__note { margin: 10px 0 0; text-align: center; font-size: 12px; line-height: 17px; color: #4d4d4d; }

.fv-request-form__input:focus-visible,
.wide-request-form__input:focus-visible,
.request-card__input:focus-visible { outline: 2px solid rgba(230, 103, 153, 0.9); outline-offset: 2px; }

/* =========================================
   FV内 資料請求フォーム
   ========================================= */
.fv-request-form { position: absolute; z-index: 2; top: 36%; right: 6.8%; width: 27.34375%; max-width: 350px; padding: 12px 20px 9px; background: rgba(255, 255, 255, 0.8); border-radius: 20px; box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25); line-height: normal; }

.fv-request-form__title { margin: 0 0 14px; text-align: center; font-size: 28px; line-height: 34px; font-weight: 700; color: #4d4d4d; }

.fv-request-form__field,
.wide-request-form__field { display: block; margin: 0 0 21px; }

.fv-request-form__label,
.wide-request-form__label { display: block; margin: 0 0 4px; font-size: 14px; line-height: 17px; color: #4d4d4d; }

.fv-request-form__input,
.wide-request-form__input { display: block; width: 100%; height: 38px; padding: 0 10px; border: 0.99px solid #4d4d4d; background: #fff; border-radius: 8px; font: inherit; font-size: 14px; outline: 0; }

.fv-request-form__button { width: 100%; height: 60px; margin: 6px 0 0; border-radius: 8px; font-size: 22px; letter-spacing: 0.05em; }

/* =========================================
   下部 ワイド資料請求フォーム
   ========================================= */
.wide-request-form { position: relative; z-index: 2; width: min(600px, calc(100% - 64px)); max-width: 600px; margin: 0 auto; padding: 12px 58px 9px; background: rgba(255, 255, 255, 0.8); border-radius: 20px; line-height: normal; }

.wide-request-form__title { margin: 0 0 14px; text-align: center; font-size: 28px; line-height: 41px; font-weight: 700; color: #4d4d4d; }

.wide-request-form__input { border: 1.24px solid #4d4d4d; border-radius: 4px; }

.wide-request-form__button { width: min(310px, 100%); height: 60px; margin: 6px auto 0; border-radius: 8px; font-size: 20px; letter-spacing: 0.03em; }

/* =========================================
   PC 資料ダウンロード3カード
   ========================================= */
.lp-section--downloads { padding: clamp(40px, 5vw, 70px) clamp(20px, 3vw, 40px); background: #fffdea url('images/pc_section_02_bg.jpg') center / 100% 100% no-repeat; line-height: normal; }

.pc-downloads { display: flex; justify-content: center; align-items: flex-start; gap: clamp(20px, 2.5vw, 36px); max-width: 1280px; margin: 0 auto; }

.pc-download-card { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 30%; max-width: 288px; }

.pc-download-card__image-link { display: block; width: 100%; cursor: pointer; }

.pc-download-card__image { width: 100%; transition: transform 0.2s ease, filter 0.2s ease; }

.pc-download-card:hover .pc-download-card__image,
.pc-download-card:focus-within .pc-download-card__image { transform: translateY(-4px); filter: brightness(1.04); }

.pc-download-card__button { display: block; transition: transform 0.18s ease, filter 0.18s ease; }

.pc-download-card__button img { width: clamp(180px, 17vw, 250px); }

.pc-download-card__button:hover,
.pc-download-card__button:focus-visible { transform: translateY(-2px); filter: brightness(1.05); }

.pc-download-card__button:focus-visible { outline: 3px solid rgba(230, 103, 153, 0.9); outline-offset: 4px; border-radius: 999px; }

.pc-download-card__button:active { transform: translateY(0); filter: brightness(1); }

/* =========================================
   固定フッターCVバナー（PC）
   ========================================= */
.fixed-footer-banner { position: fixed; left: 50%; bottom: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(4px, 0.6vw, 8px); width: 100%; max-width: 1280px; padding: clamp(8px, 1vw, 12px) 24px clamp(10px, 1.2vw, 14px); background: #fff; border-top: 1px solid #d8d8d8; box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08); transform: translateX(-50%); }

.fixed-footer-banner__catch { width: auto; max-width: 100%; height: clamp(20px, 2.4vw, 34px); }

.fixed-footer-banner__buttons { display: flex; justify-content: center; gap: clamp(16px, 2.5vw, 32px); width: 100%; }

.fixed-footer-banner__button { display: block; text-decoration: none; transition: transform 0.18s ease, filter 0.18s ease; }

.fixed-footer-banner__button:hover,
.fixed-footer-banner__button:focus-visible { transform: translateY(-2px); filter: brightness(1.05); }

.fixed-footer-banner__button:focus-visible { outline: 3px solid rgba(230, 103, 153, 0.9); outline-offset: 4px; }

.fixed-footer-banner__button img { width: clamp(240px, 31vw, 400px); }

/* =========================================
   SP 固定フッターCVバナー
   ========================================= */
.sp-fixed-footer-banner { display: none; }

@media (max-width: 599px) {
  .sp-fixed-footer-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; display: block; line-height: 0; box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08); }

  .sp-fixed-footer-banner__link { display: block; text-decoration: none; transition: transform 0.18s ease, filter 0.18s ease; }

  .sp-fixed-footer-banner__link:active { transform: translateY(-1px); filter: brightness(1.05); }

  .sp-fixed-footer-banner__image { display: block; width: 100%; height: auto; }
}

/* =========================================
   Responsive: FV form (Tablet/Narrow PC)
   ========================================= */
@media (min-width: 1101px) and (max-width: 1190px) {
  .fv-request-form { top: 31%; right: 4.7%; width: 33%; max-width: 385px; padding: 10px 18px 8px; }
  .fv-request-form__title { margin-bottom: 10px; font-size: 26px; line-height: 1.18; }
  .fv-request-form__field { margin-bottom: 12px; }
  .fv-request-form__input { height: 34px; }
  .fv-request-form__button { height: 52px; margin-top: 4px; font-size: 20px; }
}

@media (min-width: 600px) and (max-width: 1100px) {
  .fv-request-form { top: 33%; right: 4.8%; width: 32%; max-width: 330px; padding: clamp(6px, 0.9vw, 10px) clamp(10px, 1.45vw, 16px) clamp(6px, 0.85vw, 8px); border-radius: clamp(14px, 2vw, 20px); }
  .fv-request-form__title { margin-bottom: clamp(5px, 0.8vw, 10px); font-size: clamp(18px, 2.35vw, 25px); line-height: 1.18; }
  .fv-request-form__field { margin-bottom: clamp(5px, 0.9vw, 10px); }
  .fv-request-form__label { margin-bottom: 3px; font-size: clamp(11px, 1.35vw, 14px); line-height: 1.25; }
  .fv-request-form__input { height: clamp(25px, 3vw, 33px); padding: 0 8px; border-radius: 7px; font-size: 13px; }
  .fv-request-form__button { height: clamp(36px, 4.3vw, 48px); margin-top: clamp(2px, 0.5vw, 5px); font-size: clamp(14px, 1.95vw, 19px); letter-spacing: 0.02em; }
  .fv-request-form__note { margin-top: clamp(6px, 0.8vw, 9px); font-size: clamp(9px, 1.15vw, 12px); line-height: 1.35; }
}

@media (min-width: 600px) and (max-width: 860px) {
  .fv-request-form { top: 34%; right: 3.8%; width: 33%; padding-right: 12px; padding-left: 12px; }
  .fv-request-form__button { letter-spacing: 0; }
}

/* =========================================
   SP 共通レイアウト
   ========================================= */
.sp-lp { width: 100%; max-width: 600px; margin: 0 auto; overflow: hidden; }

.whitepaper-lp { width: 100%; margin: 0 auto; overflow: hidden; }

.sp-section { position: relative; line-height: 0; }

/* =========================================
   SP ホットスポット（タップ領域）
   ========================================= */
.hotspot { position: absolute; z-index: 5; display: block; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: rgba(230, 103, 153, 0.22); }

.hotspot:focus-visible,
.popup-modal__close:focus-visible { outline: 3px solid rgba(230, 103, 153, 0.9); outline-offset: 3px; }

.popup-trigger { left: 5.05%; width: 89.9%; height: 14.8%; border-radius: 14px; }

.popup-trigger--1 { top: 20.55%; }
.popup-trigger--2 { top: 37.8%; }
.popup-trigger--3 { top: 54.9%; }
.popup-trigger--4 { top: 72.05%; }

/* =========================================
   SP 資料ダウンロードカード
   ========================================= */
.sp-section--downloads { padding: 20px 16px 24px; background: #fffdea; line-height: normal; }

.download-card { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 auto 28px; }

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

/* スマホ 資料DLカード：1枚目・3枚目を非表示（中央のみ表示） */
.download-card--hidden { display: none; }

.download-card__image-link { display: block; width: 100%; cursor: pointer; }

.download-card__image { width: 100%;  transition: transform 0.2s ease, filter 0.2s ease; }

.download-card:hover .download-card__image,
.download-card:focus-within .download-card__image { transform: translateY(-3px); filter: brightness(1.04); }

.download-card__button { display: block; -webkit-tap-highlight-color: rgba(230, 103, 153, 0.22); transition: transform 0.18s ease, filter 0.18s ease; }

.download-card__button img { width: clamp(220px, 70vw, 280px); }

.download-card__button:hover,
.download-card__button:focus-visible { transform: translateY(-2px); filter: brightness(1.05); }

.download-card__button:focus-visible { outline: 3px solid rgba(230, 103, 153, 0.9); outline-offset: 4px; border-radius: 999px; }

.download-card__button:active { transform: translateY(0); filter: brightness(1); }

/* =========================================
   SP ホワイトペーパー intro セクション
   ========================================= */
.whitepaper-intro { padding: 22px 1% 50px 1%; background: #FFFDEA; background: #fff; }

.whitepaper-intro__topimage { display: block; width: 24.53%; max-width: 92px; height: auto; margin: 0 0 0 3.73%; }

.whitepaper-intro__image { display: block; width: 89.33%; max-width: 335px; height: auto; margin: 27px auto 0; }

/* =========================================
   SP 資料請求フォーム
   ========================================= */
/* .html-form-section { padding: 16px 20px 24px; line-height: normal; background: repeating-linear-gradient(104deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 13px, rgba(245, 232, 158, 0.28) 13px, rgba(245, 232, 158, 0.28) 21px, rgba(255, 255, 255, 0) 21px, rgba(255, 255, 255, 0) 56px), #fffbe8; } */
.html-form-section img{margin-bottom: 27px;}
.html-form-section--whitepaper { padding: 22px 20px 34px; max-width: 335px; margin: 0 auto;}

.request-card { width: 100%; margin: 0 auto; padding: 20px 20px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.86); box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.22); color: #4d4d4d; }

.request-card--sp { margin-top: -2px; }

.request-card__title { margin: 0 0 12px; text-align: center; font-size: 31px; line-height: 1.2; font-weight: 800; color: #4d4d4d; }

.request-card__field { display: block; margin: 0 0 12px; }

.request-card__label { display: block; margin: 0 0 4px; font-size: 15px; line-height: 1.25; color: #4d4d4d; }

.request-card__input { width: 100%; height: 40px; padding: 0 12px; border: 1.5px solid #4d4d4d; border-radius: 8px; background: #fff; color: #333; font: inherit; font-size: 16px; outline: 0; }

.request-card__button { width: 100%; min-height: 62px; margin: 20px auto 0; border-radius: 10px; font-size: 25px; line-height: 1.25; letter-spacing: 0; }

.request-card__note { margin-top: 14px; font-size: 12px; line-height: 1.45; }

/* =========================================
   SP ホワイトペーパー専用フォーム（Figma node-id=50-439 準拠）
   ========================================= */
.whitepaper-form { width: 100%; margin: 0 auto; padding: 13px 19px 10px; border-radius: 20px; background: rgba(255, 255, 255, 0.8); box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25); color: #4D4D4D; font-family: "Noto Sans JP", sans-serif; }

.whitepaper-form__title { margin: 0 0 12px; text-align: center; font-size: 26px; line-height: 1.46; font-weight: 700; color: #4D4D4D; }

.whitepaper-form__field { display: block; margin: 0 0 9px; }

.whitepaper-form__label { display: block; margin: 0 0 2px; font-size: 13px; line-height: 1.46; color: #4D4D4D; }

.whitepaper-form__input { display: block; width: 100%; height: 36px; padding: 0 10px; border: 0.95px solid #4D4D4D; border-radius: 8px; background: #fff; color: #4D4D4D; font: inherit; font-size: 14px; outline: 0; }

.whitepaper-form__button { display: block; width: 100%; height: 57px; margin: 21px auto 0; border: 0; border-radius: 10px; background: linear-gradient(180deg, #bf261a 0.75%, #e66799 100.17%); box-shadow: 3.79px 3.79px 5.68px rgba(76, 17, 3, 0.85); color: #fff; cursor: pointer; font-family: "Noto Sans JP", sans-serif; font-size: 22px; font-weight: 900; line-height: 1.25; letter-spacing: 0; transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease; }

.whitepaper-form__button:hover,
.whitepaper-form__button:focus-visible { transform: translateY(-2px); box-shadow: 5px 6px 10px rgba(76, 17, 3, 0.55); filter: brightness(1.05); }

.whitepaper-form__button:active { transform: translateY(0); box-shadow: 2px 2px 4px rgba(76, 17, 3, 0.85); }

.whitepaper-form__input:focus-visible { outline: 2px solid rgba(230, 103, 153, 0.9); outline-offset: 2px; }

.whitepaper-form__note { margin: 16px 0 0; text-align: center; font-size: 12px; line-height: 17px; color: #4D4D4D; }

/* =========================================
   ポップアップモーダル
   ========================================= */
.popup-modal { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 24px 16px; }

.popup-modal.is-open { display: flex; }

.popup-modal__backdrop { position: absolute; inset: 0; border: 0; background: rgba(0, 0, 0, 0.62); cursor: pointer; }

.popup-modal__dialog { position: relative; z-index: 1; width: min(94vw, 390px); }

.popup-modal__image { border-radius: 18px; box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35); }

.popup-modal__close { position: absolute; right: -4px; top: -44px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: #7b1712; font-size: 26px; line-height: 34px; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22); }

/* =========================================
   Responsive: Small Mobile
   ========================================= */
@media (max-width: 360px) {
  .request-card__title { font-size: 28px; }
  .request-card__button { font-size: 22px; }
  .whitepaper-form__title { font-size: 24px; }
  .whitepaper-form__button { font-size: 20px; }
}

/* =========================================
   ホワイトペーパーDLフォーム（PC）
   ========================================= */
/* PC時、body 全体に左白/右クリームの2色背景を敷き、dl-form 下にも色を延長 */
@media (min-width: 600px) {
  body.whitepaper-page { min-height: 100vh; background: linear-gradient(to right, #fff 0, #fff 58.6%, #FFFDEA 58.6%, #FFFDEA 100%); }
}

@media (min-width: 1280px) {
  body.whitepaper-page { background: linear-gradient(to right, #FFFDEA 0, #FFFDEA calc(50% - 640px), #fff calc(50% - 640px), #fff calc(50% - 640px + 750px), #FFFDEA calc(50% - 640px + 750px), #FFFDEA 100%); }
}

.dl-form { display: flex; align-items: stretch; width: 100%; max-width: 1280px; min-height: clamp(560px, 60vw, 780px); margin: 0 auto; background: transparent; }

.dl-form .left { position: relative; width: 58.6%; padding: clamp(20px, 2.2vw, 28px) 0 clamp(36px, 5vw, 64px); background: #fff; }

.dl-form .left > img:not(.textimg) { display: block; width: 20%; max-width: 150px; height: auto; margin: 0 0 0 13.33%; }

.dl-form .left .textimg { display: block; width: 73.6%; max-width: 552px; height: auto; margin: clamp(16px, 2.4vw, 32px) auto 0; }

.dl-form .right { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: 41.4%; padding: clamp(28px, 3.6vw, 46px) clamp(16px, 2vw, 28px) clamp(36px, 5vw, 64px); }

.dl-form .right .box { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 388px; }

.dl-form .right .box > img { display: block; width: 100%; height: auto; margin: 0 auto clamp(18px, 2.6vw, 33px); }

/* dl-form 内 資料請求フォームの位置・サイズ上書き */
.dl-form .fv-request-form { position: relative; top: auto; right: auto; left: auto; width: 100%; max-width: 350px; margin: 0 auto; padding: 14px 20px 18px; }

/* =========================================
   一期日和に込めた想い：問い合わせCTAボタン
   （画像_1の下部にあるピンク余白へ position:absolute で重ねる。
     流れに高さを足さないため隙間が出ない。topは%でレスポンシブ対応）
   ========================================= */
.section03-cta { position: absolute; left: 50%; z-index: 2; transform: translate(-50%, -50%); line-height: 0; }

.section03-cta img { width: 100%; height: auto; transition: transform 0.18s ease, filter 0.18s ease; }

.section03-cta:hover img,
.section03-cta:focus-visible img { transform: translateY(-3px); filter: brightness(1.05); }

.section03-cta--pc { top: 70.4%; width: min(640px, 50%); }

.section03-cta--sp { top: 71.4%; width: min(540px, 86%); }

/* =========================================
   Responsive: Mobile
   ========================================= */
@media (max-width: 599px) {
  .section03-cta--sp { width: min(540px, 80%); }
}

.dl-form .fv-request-form__field { margin: 0 0 14px; }