/* ==============================================
   page-lp.css  —  LP固有スタイル
   PC基底 + SP(max-width:767px) + Tablet上書き
============================================== */

/* HERO */
.hero{position:relative;background:var(--sub);overflow:hidden;margin-top:80px}
.hero__gradient{position:relative;background:#ddeaf5;overflow:hidden}
/* Figmaから書き出した実画像をそのまま使用（色・角度とも完全一致）。パスはpage-lp.php側でPHP変数から出力 */
.hero__bg-pc{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:top left;background-repeat:no-repeat;pointer-events:none;z-index:0}
.hero__bg-sp{display:none}
.hero__inner{position:relative;max-width:1440px;margin:0 auto;padding:60px 150px;display:flex;align-items:flex-start;justify-content:space-between;gap:40px;z-index:1}
.hero__content{display:flex;flex-direction:column;gap:28px;width:490px;flex-shrink:0;z-index:1}
.hero__text{display:flex;flex-direction:column;gap:12px}
.hero__title{font-size:70px;font-weight:900;color:var(--white);line-height:1.2;white-space:nowrap}
.hero__subtitle{font-size:40px;font-weight:700;color:var(--white);line-height:1.2}
.hero__desc{display:flex;flex-direction:column;gap:8px;font-size:16px;font-weight:500;color:var(--white);line-height:1.5}
.hero__laurel-wrap{display:flex;align-items:center;gap:12px}
.hero__laurel-img{height:90px;width:auto}
.hero__track-info{display:flex;flex-direction:column}
.hero__track-label{font-size:16px;font-weight:500;color:var(--white);line-height:1.5}
.hero__track-num-row{display:flex;align-items:center;gap:4px}
.hero__track-count{font-family:'Poppins',sans-serif;font-size:56px;font-weight:700;color:#f8cf25;line-height:1;font-style:italic}
.hero__track-unit{font-size:16px;font-weight:500;color:var(--white)}
.hero__devices--pc{position:relative;width:680px;height:540px;flex-shrink:0;align-self:flex-start;margin-top:20px}
.hero__devices--pc .hero__macbook{position:absolute;left:0;top:40px;width:92%;border-radius:8px}
.hero__devices--pc .hero__iphone{position:absolute;right:-35px;top:-20px;width:335px;border-radius:28px;transform:rotate(3deg);z-index:10}
.hero__devices--sp{display:none}
.hero__sp-desc{display:none}
.hero__sp-desc-quote{display:none}
.hero__cta-section{background:var(--sub);padding:62px 150px 80px}
.hero__cta-inner{display:flex;gap:16px;justify-content:center;align-items:flex-start;flex-wrap:nowrap}

/* PROBLEM */
.problem{background:var(--white);padding:100px var(--px)}
.problem__heading{text-align:center;font-size:32px;font-weight:700;line-height:1.5;margin-bottom:40px}
.problem__heading .blue{color:var(--main)}
.problem__cards{display:flex;gap:43px;justify-content:center;flex-wrap:wrap}
.problem__card{display:flex;flex-direction:column;align-items:center;gap:21px;width:310px}
.problem__bubble{position:relative;background:#fff;border-radius:20px 20px 20px 4px;box-shadow:0 4px 20px rgba(0,0,0,.08);padding:37px 43px;width:310px;min-height:157px;display:flex;align-items:center}
.problem__bubble::after{content:'';position:absolute;bottom:-12px;left:24px;border-left:16px solid transparent;border-top:12px solid #fff;filter:drop-shadow(0 3px 3px rgba(0,0,0,.06))}
.problem__bubble-text{font-size:16px;font-weight:500;color:var(--text);line-height:2}
.problem__icon{width:160px;height:160px;display:flex;align-items:flex-end;justify-content:center}
.problem__icon img{width:100%;height:100%;object-fit:contain}

/* SOLVE */
.solve-banner{background:var(--sub);padding:60px var(--px);text-align:center}
.solve-banner__sub{font-size:16px;font-weight:500;color:var(--text);margin-bottom:3px}
.solve-banner__title{font-size:32px;font-weight:700;color:var(--text);position:relative;display:block;width:fit-content;margin:0 auto 32px}
.solve-banner__title::after{content:'';position:absolute;left:0;bottom:-6px;width:100%;height:22px;background:rgba(255,205,0,.25);z-index:-1}
.solve-banner__btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* ABOUT */
.about{background:var(--white);padding:100px var(--px);overflow:visible}
.about__inner{display:flex;flex-direction:column;gap:120px}
.about__top-wrap{position:relative;display:flex;align-items:flex-start;gap:44px;padding:0 79px;min-height:320px}
.about__top{display:flex;flex-direction:column;gap:40px;max-width:450px;flex-shrink:0;z-index:1}
.about__title{font-size:40px;font-weight:700;color:var(--text);white-space:nowrap}
.about__title strong{font-weight:900;color:var(--main)}
.about__body{font-size:16px;font-weight:400;color:var(--text);line-height:1.5;display:flex;flex-direction:column;gap:16px;max-width:447px}
.about__visual{position:relative;width:478px;flex-shrink:0;isolation:isolate}
.about__circle-img{position:absolute;right:-50px;top:-40px;width:280px;height:280px;object-fit:contain;z-index:0}
.about__device-img{position:relative;width:100%;border-radius:8px;display:block;z-index:1}
.who{display:flex;flex-direction:column;gap:40px;align-items:center}
.who__cards{display:flex;flex-wrap:wrap;gap:36px 30px;justify-content:center}

/* REASONS：POINTはタイトル上・下線なし。イラストと文字列を上端で揃える */
.reasons{background:rgba(221,234,245,.45);padding:100px 321px}
.reasons__inner{display:flex;flex-direction:column;gap:40px;align-items:center;max-width:798px;margin:0 auto}
.reasons__heading{text-align:center}
.reasons__heading-title{font-size:40px;font-weight:700;color:var(--text);margin-bottom:4px}
.reasons__heading-sub{font-size:24px;font-weight:400;color:var(--text)}
.reasons__list{display:flex;flex-direction:column;gap:60px;width:100%}
.reasons__item{display:flex;justify-content:space-between;gap:60px;align-items:flex-start;min-height:278px}
.reasons__item--reverse{flex-direction:row-reverse}
.reasons__text{flex:0 0 400px;width:400px;display:flex;flex-direction:column}
.reasons__point{display:flex;align-items:baseline;gap:1px;font-family:'Poppins',sans-serif;color:var(--main)}
.reasons__point-label{font-size:12px;letter-spacing:.04em}
.reasons__point-num{font-size:24px;letter-spacing:.04em}
.reasons__item-title{font-size:32px;font-weight:700;color:var(--main);line-height:1.5;margin-bottom:20px}
.reasons__item-title-sp{display:none}
.reasons__item-body{font-size:16px;font-weight:400;color:var(--text);line-height:1.5;max-width:400px}
.reasons__item-body-sp{display:none}
.reasons__item-visual{flex-shrink:0}
.reasons__img{width:269px;height:278px;object-fit:cover;border-radius:12px;mix-blend-mode:multiply;display:block}

/* INTERVIEWS：写真＋見出し＋本文＋お客様情報のカード */
.interviews{background:var(--white);padding:100px var(--px)}
.interviews__heading{text-align:center;margin-bottom:40px;display:flex;flex-direction:column;gap:16px}
.interviews__cards{display:flex;flex-wrap:wrap;gap:36px;justify-content:center}

/* PRICING */
.pricing{background:var(--sub-dark);padding:100px var(--px)}
.pricing__heading{text-align:center;margin-bottom:40px;display:flex;flex-direction:column;gap:8px}
.pricing__sub{font-size:24px;font-weight:500;color:var(--text)}
.pricing__title{font-size:40px;font-weight:700;color:var(--main)}
.pricing__img{width:100%;display:block;margin-bottom:32px}
.pricing__img--pc{display:block}
.pricing__img--sp{display:none}
.pricing__note{text-align:center;font-size:24px;line-height:1.8}
.pricing__note strong{font-weight:700;color:var(--main)}

/* STEPS */
.steps{padding:80px var(--px) 100px;background:var(--white)}
.steps__heading{text-align:center;margin-bottom:40px}
.steps__heading-tag{font-size:18px;font-weight:500;color:var(--text);display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:8px;letter-spacing:.02em}
.steps__heading-tag .slash{font-size:20px;font-weight:300;color:#333;line-height:1}
.steps__heading-main{display:flex;align-items:baseline;justify-content:center;gap:12px}
.steps__heading-text{font-size:32px;font-weight:700;color:var(--text)}
.steps__heading-num{font-family:'Poppins',sans-serif;font-size:56px;font-weight:700;color:var(--main);line-height:1}
.steps__cards{display:flex;gap:16px;justify-content:center;align-items:stretch;flex-wrap:nowrap}
.step__card-wrap{transition:transform .3s ease;cursor:pointer}
.step__card-wrap:hover{transform:scale(1.06)}
.step__card{position:relative;width:260px;min-height:300px;padding:20px 36px 20px 28px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:20px;color:var(--white);clip-path:polygon(0 0,calc(100% - 32px) 0,100% 50%,calc(100% - 32px) 100%,0 100%);flex-shrink:0}
.step__card--blue{background:rgba(0,90,170,.65)}
.step__card--navy{background:#000080}
.step__card--gold{background:#EAB038;clip-path:none !important;border-radius:4px;width:296px;padding:20px 40px}
.step__num{display:flex;flex-direction:column;align-items:center;line-height:1}
.step__num-label{font-family:'Poppins',sans-serif;font-size:13px;font-weight:600;color:var(--white);letter-spacing:.1em;line-height:1}
.step__num-n{font-family:'Poppins',sans-serif;font-size:52px;font-weight:700;color:var(--white);line-height:1}
.step__icon{width:220px;height:120px;object-fit:contain;mix-blend-mode:screen;flex-shrink:0}
.step__title{font-size:18px;font-weight:700;color:var(--white);text-align:center;line-height:1.6}

/* FAQ */
.faq{padding:100px var(--px)}
.faq__heading{text-align:center;margin-bottom:40px}
.faq__tag{font-family:'Poppins',sans-serif;font-size:24px;font-weight:500;color:var(--main);text-align:center}
.faq__title{font-size:48px;font-weight:500;color:var(--text);text-align:center}
.faq__list{display:flex;flex-direction:column;gap:16px;max-width:1140px;margin:0 auto}
.faq__item{background:var(--sub);padding:36px 48px;display:flex;flex-direction:column;gap:24px;cursor:pointer}
.faq__q{display:flex;gap:24px;align-items:center}
.faq__q-badge{width:60px;height:60px;border-radius:30px;background:var(--white);display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:400;color:var(--text);flex-shrink:0}
.faq__q-text{font-size:24px;font-weight:500;color:var(--text);line-height:1.5;flex:1}
/* 開閉が分かる＋アイコン（開いたら−に変化） */
.faq__toggle{position:relative;width:24px;height:24px;flex-shrink:0;margin-left:24px}
.faq__toggle::before,.faq__toggle::after{content:'';position:absolute;background:var(--main);border-radius:1px;transition:transform .25s ease,opacity .25s ease}
.faq__toggle::before{left:0;top:11px;width:24px;height:2px}
.faq__toggle::after{left:11px;top:0;width:2px;height:24px}
.faq__item.open .faq__toggle::after{transform:rotate(90deg);opacity:0}
.faq__a{display:flex;gap:24px;align-items:flex-start}
.faq__a-badge{width:60px;height:60px;border-radius:30px;background:var(--accent);display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:400;color:var(--text);flex-shrink:0}
.faq__a-text{font-size:16px;font-weight:400;color:var(--text);line-height:1.8;flex:1}

/* FINAL CTA：CTA①（solve-banner）を反復する見出し＋黄色ライン構成 */
.final-cta{background:var(--sub);padding:100px var(--px);text-align:center}
.final-cta__sub{font-size:16px;font-weight:500;color:var(--text);margin-bottom:3px}
.final-cta__title{font-size:32px;font-weight:700;color:var(--text);position:relative;display:block;width:fit-content;margin:0 auto 32px}
.final-cta__title::after{content:'';position:absolute;left:0;bottom:-11.5px;width:100%;height:22px;background:rgba(255,205,0,.25);z-index:-1}
.final-cta__btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* ============================================
   SP (max-width: 767px)
============================================ */
@media (max-width:767px){
  .header{height:72px;padding:0 20px}
  .header__logo{height:40px}
  .header__nav{display:none}
  .hamburger{display:flex}
  .mobile-menu{top:72px}

  .hero{margin-top:72px;overflow:visible}
  .hero__gradient{overflow:visible;background:#DDEAF5}
  .hero__bg-pc{display:none}
  .hero__bg-sp{display:block;position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:top left;background-repeat:no-repeat;z-index:0;pointer-events:none}
  .hero__inner{flex-direction:column;padding:24px 20px 0;gap:4px}
  .hero__content{width:100%;gap:8px}
  .hero__title{font-size:38px;white-space:normal}
  .hero__subtitle{font-size:22px}
  .hero__desc{display:none}
  .hero__laurel-img{height:48px}
  .hero__track-label{font-size:11px}
  .hero__track-count{font-size:32px}
  .hero__track-unit{font-size:13px}
  .hero__devices--pc{display:none !important}
  .hero__devices--sp{display:block;position:relative;width:100%;height:250px;margin-top:-50px;overflow:visible}
  .hero__devices--sp .hero__macbook{position:absolute;bottom:0;top:auto;left:50%;transform:translateX(-60%);width:68%;max-width:272px}
  .hero__devices--sp .hero__iphone{position:absolute;bottom:0;top:auto;left:50%;transform:translateX(10%) rotate(3deg);transform-origin:bottom center;width:40%;max-width:158px;border-radius:16px}
  .hero__sp-desc{display:block;font-size:14px;font-weight:500;color:#333;line-height:1.8;padding:16px 20px 0;text-align:left;max-width:340px;margin:0 auto}
  .hero__sp-desc-quote{display:block;text-align:center;margin-top:4px;font-size:14px;font-weight:500;color:#333;line-height:1.8;padding:0 20px}
  .hero__cta-section{padding:16px 20px 48px}
  .hero__cta-inner{flex-direction:column;align-items:center;gap:16px}
  /* SPは斜線を細く・短く */
  .btn-label .slash{width:1.5px;height:13px}
  .btn{width:100%;max-width:none;font-size:15px}
  .btn-wrapper{width:100%;max-width:none}
  .btn-label{font-size:13px}

  .problem{padding:40px 20px}
  .problem__heading{font-size:20px;margin-bottom:32px}
  .problem__cards{flex-direction:column;align-items:center;gap:24px}
  .problem__card{flex-direction:row;gap:0;width:100%;max-width:350px}
  .problem__card.reverse{flex-direction:row-reverse}
  .problem__bubble{width:215px;min-height:100px;padding:18px 20px;border-radius:16px 16px 4px 16px;flex-shrink:0}
  .problem__bubble-text{font-size:14px;line-height:2}
  .problem__bubble::after{bottom:auto;left:auto;top:50%;right:-10px;transform:translateY(-50%);border-left:10px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}
  .problem__card.reverse .problem__bubble::after{right:auto;left:-10px;border-left:none;border-right:10px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}
  .problem__icon{width:126px;height:127px}

  .solve-banner{padding:40px 20px}
  .solve-banner__sub{font-size:12px}
  .solve-banner__title{font-size:20px;margin:0 auto 16px}
  .solve-banner__title::after{bottom:0;height:6px}
  .solve-banner__btns{flex-direction:column;align-items:center}

  .about{padding:40px 20px}
  .about__inner{gap:64px}
  .about__top-wrap{flex-direction:column;padding:0}
  .about__top{max-width:100%;gap:16px;white-space:normal}
  .about__title{font-size:24px;white-space:normal;text-align:center}
  .about__body{font-size:14px;gap:12px;max-width:100%;margin:0 auto;text-align:left}
  .about__visual{width:100%;max-width:300px;margin:0 auto}
  .about__circle-img{width:133px;height:133px;right:0;top:-20px}
  .who{gap:32px}
  .who__cards{gap:8px;display:grid;grid-template-columns:1fr 1fr;justify-items:center}
  .who__card{width:170px;height:auto;padding:16px;gap:4px}
  .who__card:first-child{grid-column:1 / -1;width:170px}
  .who__card-title{font-size:14px}
  .who__card-icon{width:70px;height:74px}
  .who__card-desc{font-size:12px}

  .reasons{padding:40px 20px}
  .reasons__inner{gap:24px;align-items:stretch}
  .reasons__heading-title{font-size:20px;text-align:center}
  .reasons__heading-sub{font-size:12px;max-width:240px;margin:0 auto;text-align:center}
  .reasons__list{gap:20px;width:100%}
  .reasons__item,.reasons__item--reverse{flex-direction:column;align-items:stretch;gap:0;min-height:0}
  .reasons__text{flex:0 0 auto;width:100%}
  .reasons__point{margin-bottom:4px}
  .reasons__point-label{font-size:11px;letter-spacing:.04em}
  .reasons__point-num{font-size:18px;letter-spacing:.04em}
  .reasons__item-title{display:none}
  .reasons__item-title-sp{display:block;font-size:16px;font-weight:700;color:var(--main);line-height:1.5;margin-bottom:8px}
  .reasons__item-body{display:none}
  .reasons__item-body-sp{display:block;font-size:13px;font-weight:400;color:var(--text);line-height:1.7;margin-bottom:8px;max-width:100%}
  .reasons__item-visual{width:100%;display:flex;justify-content:center}
  .reasons__img{width:220px;height:227px;object-fit:contain;mix-blend-mode:normal}

  .interviews{padding:40px 20px}
  .interviews__heading{margin-bottom:32px;gap:4px}
  .section-title{font-size:24px}
  .section-sub{font-size:14px;max-width:260px;margin:8px auto 0;text-align:left}
  .interviews__cards{flex-direction:column;align-items:center;gap:16px}
  .interview__card{width:100%;max-width:350px;padding:16px;border-radius:12px}
  .interview__card:hover{transform:translateY(-6px);box-shadow:0 12px 32px rgba(0,0,128,.12)}
  .interview__photo{height:150px;margin-bottom:16px}
  .interview__headline{font-size:16px;margin-bottom:4px}
  .interview__desc{font-size:13px;margin-bottom:20px}
  .interview__person-name{font-size:14px}
  .interview__person-type{font-size:12px}
  .interview__person-plan{font-size:12px;margin-top:4px}

  .pricing{padding:40px 20px;position:relative}
  .pricing__heading{margin-bottom:24px}
  .pricing__sub{font-size:16px}
  .pricing__title{font-size:24px}
  .pricing__img--pc{display:none}
  .pricing__img--sp{display:none}
  .pricing__note{font-size:14px;text-align:center}
  .pricing-slider{display:block;position:relative;margin-bottom:24px}
  .pricing-slider__track-wrap{overflow:hidden;border-radius:12px}
  .pricing-slider__badge.visible{display:inline-flex !important}

  .steps{padding:40px 20px}
  .steps__heading{margin-bottom:32px}
  .steps__heading-tag{font-size:14px}
  .steps__heading-text{font-size:20px}
  .steps__heading-num{font-size:32px}
  .steps__cards{flex-direction:column;align-items:center;gap:6px}
  .step__card{position:relative;width:230px;height:194px;min-height:0;padding:0 14px 30px;clip-path:none;background:none;border-radius:0;margin-bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
  .step__card--blue{background:url('../images/lp/step-shape-blue.png') no-repeat center top/100% auto}
  .step__card--navy{background:url('../images/lp/step-shape-navy.png') no-repeat center top/100% auto}
  .step__num{position:absolute;top:14px;left:16px;align-self:auto}
  .step__icon{align-self:center;width:96px;height:91px;mix-blend-mode:screen}
  .step__card--gold{clip-path:none !important;background:#EAB038;border-radius:0;width:230px;height:170px;padding:0 12px;justify-content:center}
  .step__num-n{font-size:20px}
  .step__num-label{font-size:10px}
  .step__title{font-size:12px;text-align:center;line-height:1.4}
  .step__card--blue .step__br,.step__card--navy .step__br{display:none}

  .faq{padding:40px 20px}
  .faq__heading{margin-bottom:32px}
  .faq__tag{font-size:14px}
  .faq__title{font-size:24px}
  .faq__item{padding:24px 20px;gap:16px}
  .faq__q{gap:16px}
  .faq__q-badge,.faq__a-badge{width:41px;height:41px;font-size:14px;border-radius:20.5px}
  .faq__q-text{font-size:16px}
  .faq__toggle{width:18px;height:18px;margin-left:12px}
  .faq__toggle::before{top:8px;width:18px}
  .faq__toggle::after{left:8px;height:18px}
  .faq__a{gap:16px}
  .faq__a-text{font-size:16px}

  .final-cta{padding:40px 20px}
  .final-cta__sub{font-size:12px}
  .final-cta__title{font-size:17px;margin:0 auto 24px}
  .final-cta__title::after{bottom:0;height:6px}
  .final-cta__btns{flex-direction:column;align-items:center}

  /* Footer：ナビリンクを先に、ブランド表記を後ろに表示（Figma追加分） */
  /* SPはcolumn-reverseで表示順が「リンク→ブランド」になるため、線は footer-nav の外周ではなく footer-brand の上（お問い合わせとAI搭載の…の間）に出す */
  /* column-reverseのため下padding(logo下の余白)を0にし、footer-brandの12pxで上下均等にする */
  .footer-nav{border-top:none;padding:32px 20px 0;flex-direction:column-reverse;gap:24px;align-items:flex-start}
  /* 線を画面幅いっぱいに出すため、footer-navの左右padding(20px)を負マージンで打ち消す */
  /* ブランド表記は上下左右の余白を均等にして中央配置 */
  .footer-brand{align-self:stretch;width:auto;margin:0 -20px;padding:12px 20px;gap:4px;align-items:center;justify-content:center;text-align:center;border-top:1px solid #D9D9D9}
  .footer-brand__tag{font-size:12px}
  .footer-brand__logo{height:49px}
  .footer-links{flex-direction:column;gap:12px}
  /* 元データ：利用規約・プライバシーポリシーは左に縦積み、コピーライトは右下（プライバシーポリシーと下端を揃える） */
  .footer-bottom{border-top:1px solid #D9D9D9;padding:20px;flex-direction:row;justify-content:space-between;align-items:flex-end;gap:12px}
  .footer-bottom__links{flex-direction:column;align-items:flex-start;gap:8px}
  .footer-bottom__copy{font-size:11px}

  /* Header CTA：PCでは表示、SPではハンバーガーメニュー側に表示するため非表示 */
  .header__ctas{display:none}
  .mobile-menu__ctas{display:flex;flex-direction:column;gap:12px;margin-top:8px}
  .mobile-menu__ctas .header__btn{width:100%;text-align:center;padding:14px}
}

/* ============================================
   TABLET (768px〜1199px)
============================================ */
@media (min-width:768px) and (max-width:1199px){
  .header{padding:0 40px}
  .header__right{gap:16px}
  .header__nav{gap:20px}
  .header__btn{padding:8px 8px;font-size:13px;width:132px}
  .hero{overflow:hidden}
  .hero__gradient{overflow:hidden}
  .hero__inner{padding:50px 40px}
  .hero__cta-section{padding:28px 40px 40px}
  .hero__title{font-size:52px}
  .hero__subtitle{font-size:30px}
  .hero__devices--pc{width:420px;height:340px}
  .hero__devices--pc .hero__iphone{width:190px;right:0;top:0}
  .problem,.solve-banner,.about,.interviews,.pricing,.steps,.faq,.final-cta{padding-left:40px;padding-right:40px}
  .about__top-wrap{padding:0}
  .reasons{padding:80px 40px}
  .footer-nav,.footer-bottom{padding-left:40px;padding-right:40px}
}

/* PC overflow:hidden 復元 */
@media (min-width:768px){
  .hero{overflow:hidden}
  .hero__gradient{overflow:hidden}
}
