@charset "utf-8";

/* ==========================================================================
   背景デザインの LP 用。lp.css の後に読み込む
   案件ごとに変わる値はページ側の :root で上書きする
     :root{ --lp-bg: url(/img/www/lp/{番号}/desktop-back.jpg); }
   ========================================================================== */

:root{
  --lp-width: 600px;
  --lp-bg: none;
  --lp-cta-width: 80%;
  --lp-cta-max: 360px;
  --lp-cta-right: 4px;
  --lp-cta-bottom: 10px;
  --lp-fade: .3s;
  --faq-bg-top:    #061d43;
  --faq-bg-bottom: #03142f;
  --faq-panel:     #102745;
  --faq-border:    #294867;
  --faq-accent:    #18a9ec;
  --faq-icon:      #64c7f6;
  --faq-text:      #ffffff;
  --faq-answer:    #c1d1e2;
}

html{ scroll-behavior: smooth; }
body{
  background-color: #fff;
  background-image: var(--lp-bg);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.container-lp,
.customer_input{
  max-width: var(--lp-width);
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
}
.container-lp{
  padding: 0;
  position: relative;
  z-index: 1;
}
.container-lp h1,
.container-lp p{ margin: 0; }
.container-lp img.lp-img{
  display: block;
  width: 100%;
  height: auto;
}
.container-lp .lp1-table{
  max-width: 94%;
  margin-left: auto;
  margin-right: auto;
}
.container-lp #buy-form > .row{
  margin-left: 0;
  margin-right: 0;
}
/* lp.css の PC 向け（左右 50px・項目名 200px）は 900px 幅前提なので、600px の列に合わせる */
@media (min-width: 992px){
  .customer_input p{
    margin: 10px 15px;
  }
  .customer_input table{
    width: calc(100% - 30px);
    max-width: none;
    margin: 0 15px;
  }
  .customer_input table > tbody > tr > th{
    width: 170px;
  }
  .customer_input .input_box{
    margin: 0 15px;
    padding: 10px 15px;
  }
}

/* 左右の固定パネル（PC） */
.hero{
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--lp-fade) ease, visibility var(--lp-fade);
}
.hero.is-hidden{
  opacity: 0;
  visibility: hidden;
}
.hero__side{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc((100vw - var(--lp-width)) / 2);
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__side--left{ left: 0; }
.hero__side--right{ right: 0; }
.hero__side--left img{
  display: block;
  width: 60%;
  max-width: 300px;
  height: auto;
}
/* desktop-Right1.jpg（3000x2517）は白地の jpg なので、カード部分（232,217〜2767,2297）だけを切り出す */
.hero__card{
  position: relative;
  width: 80%;
  max-width: 440px;
  aspect-ratio: 2535 / 2080;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,40,90,.18);
}
.hero__card img{
  display: block;
  width: 118.343%;
  max-width: none;
  height: auto;
  margin-left: -9.152%;
  margin-top: -8.560%;
}
.hero__btn{
  position: absolute;
  left:   5.5%;
  top:    77.5%;
  width:  88.6%;
  height: 15.7%;
  pointer-events: auto;
  cursor: pointer;
  border-radius: 999px;
}
@media (max-width: 1239px){
  .hero{ display: none; }
}

/* スマホ固定ボタン */
.mobile-cta{ display: none; }
@media (max-width: 767px){
  .hero{ display: none; }
  .totop-area{ display: none !important; }
  .mobile-cta{
    display: block;
    position: fixed;
    right: var(--lp-cta-right);
    bottom: calc(var(--lp-cta-bottom) + env(safe-area-inset-bottom));
    width: var(--lp-cta-width);
    max-width: var(--lp-cta-max);
    z-index: 100;
    transition: opacity var(--lp-fade) ease, visibility var(--lp-fade);
  }
  .mobile-cta img{
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
  }
  .mobile-cta.is-hidden{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* FAQ アコーディオン */
.faq-section{
  background: linear-gradient(180deg, var(--faq-bg-top) 0%, var(--faq-bg-bottom) 100%);
  padding: 28px 14px 26px;
  color: var(--faq-text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
}
.faq-head{
  margin: 0 10px 26px;
}
.faq-index{
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}
.faq-index .num{
  color: var(--faq-accent);
  font-size: 31px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .02em;
}
.faq-index .label{
  color: var(--faq-accent);
  font-size: 12px;
  letter-spacing: .04em;
}
.faq-title{
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: .01em;
  color: var(--faq-text);
}
.faq{
  display: grid;
  gap: 9px;
}
.faq details{
  background: var(--faq-panel);
  border: 1px solid var(--faq-border);
  border-radius: 11px;
  overflow: hidden;
}
.faq summary{
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 17px 46px 17px 18px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}
.faq summary::-webkit-details-marker{
  display: none;
}
.faq summary::after{
  content: "+";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faq-icon);
  font-size: 27px;
  line-height: 1;
  font-weight: 500;
}
.faq details[open] summary::after{
  content: "−";
}
.faq .answer{
  padding: 0 18px 16px;
  color: var(--faq-answer);
  font-size: 11px;
  line-height: 1.8;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .hero,
  .mobile-cta{ transition: none; }
}
