/* ============================================================
   NAYOSEL トップページ（NAYOSEL_LP.xd NAYOSEL_PC / NAYOSEL_SP 準拠）
   共通: common.css / about.css(.principles) / plan.css相当 / blog.css(.bcard) を利用
   ============================================================ */

.pc-only-img { display: block; }
.sp-only-img { display: none; }

/* ---------- ヒーロー ---------- */
/* XD 20260816: FVグラデ 画像86 1440x760 vec(0.662,0.892)->(0.745,-0.024) */
.hero { padding: 40px 0 90px; position: relative; overflow: hidden; background: linear-gradient(9.7deg, #f1f5f4 24.3%, #e4ede6 53%, #f5da78 76.6%, #f8c37a 95.5%); }
.hero__inner {
  max-width: 1440px; margin: 0 auto; padding: 0 20px 0 80px;
  display: grid;
  grid-template-columns: 1fr 692px;
  grid-template-rows: 1fr auto;
  grid-template-areas: "txt mock" "bottom mock";
  column-gap: 0;
  align-items: start;
}
.hero__txt { grid-area: txt; padding-top: 40px; }
.hero__bottom { grid-area: bottom; }
.hero__mock { grid-area: mock; align-self: end; margin-bottom: -31px; }
.hero__eyebrow { font-size: 33px; font-weight: 700; letter-spacing: 0.06em; }
.hero__ttl { font-size: 78px; font-weight: 700; line-height: 1.23; letter-spacing: 0.06em; margin-top: 14px; }
.hero__tag {
  display: inline-block;
  margin-top: 42px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #fff;
  border-radius: 0 100px 100px 100px;
  padding: 6px 24px;
}
.ac-sep { color: #ff9a32; }
.hero__lead { margin-top: 32px; font-size: 15px; font-weight: 500; line-height: 2.1; letter-spacing: 0.02em; }
.hero__btns { margin-top: 42px; display: flex; gap: 17px; }
.hero__mock img { width: 692px; max-width: 100%; }

/* バッジ付きピルボタン */
.btn-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 256px;
  height: 55px;
  padding-right: 56px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  transition: 0.2s;
  box-shadow: 0 6px 5px rgba(27, 53, 146, 0.15);
}
.btn-badge:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-badge--dark { background: var(--ink); }
.btn-badge--orange { background: var(--orange); }
.btn-badge__badge {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 30px;
  border-radius: 100px;
  background: #dfebe7;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- 固定CTA（右下・右端吸着） ---------- */
.fixed-cta {
  position: fixed;
  right: 0;
  bottom: 24px;
  z-index: 100;
  display: block;
  background: var(--orange);
  border-radius: 20px 20px 0 20px;
  padding: 18px 14px 12px;
  width: 215px;
  text-align: center;
  box-shadow: 0 10px 10px rgba(255, 154, 50, 0.55);
  transition: 0.2s;
}
.fixed-cta:hover { transform: translateY(-2px); }
.fixed-cta__main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  border-radius: 100px;
  height: 40px;
  box-shadow: 0 4px 5px rgba(27, 53, 146, 0.15);
}
.fixed-cta__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
}
.fixed-cta__play::after { content: ""; width: 0; height: 0; border-style: solid; border-width: 4px 0 4px 6px; border-color: transparent transparent transparent #fff; margin-left: 1px; }
.fixed-cta__sub { display: block; margin-top: 8px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }

/* ---------- 課題 ---------- */
.issues { padding: 100px 0 0; position: relative; z-index: 1; }
.issues__grid { margin-top: 66px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.issues__card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 28px 40px;
  box-shadow: 0 10px 15px rgba(27, 53, 146, 0.2);
  text-align: center;
}
.issues__icon { margin: 0 auto; width: 324px; max-width: 100%; }
.issues__ttl { margin-top: 36px; font-size: 23px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.issues__txt { margin-top: 14px; font-size: 15px; font-weight: 500; text-align: left; line-height: 1.95; }

/* ---------- 回答（ダーク帯） ---------- */
.answer {
  /* XD: 帯はカード下端の115px上から始まり、フォグ493pxで溶ける。見出しは帯上端+272px */
  margin-top: -115px;
  background:
    linear-gradient(180deg, #f1f5f4 66px, rgba(205, 228, 238, 0.8) 151px, rgba(168, 210, 232, 0.6) 237px, rgba(132, 193, 225, 0.4) 322px, rgba(95, 175, 219, 0.2) 408px, rgba(59, 158, 213, 0) 493px),
    linear-gradient(90deg, #182a36 0%, #114c5a 100%);
  color: #fff;
  text-align: center;
  padding: 272px 20px 100px;
}
.answer__ttl { font-size: 38px; font-weight: 700; letter-spacing: 0.05em; line-height: 1.6; }
.answer__txt { margin-top: 46px; font-size: 17px; font-weight: 700; line-height: 2.15; letter-spacing: 0.03em; }

/* ---------- 図解セクション ---------- */
.diagram { padding: 100px 0 0; }
.diagram--soft { margin-top: 90px; padding: 90px 0 110px; background: linear-gradient(180deg, #f1f5f4 0, var(--bg-card) 238px, var(--bg-card) calc(100% - 238px), #f1f5f4 100%); }
.diagram__card { margin: 66px auto 0; max-width: 1200px; background: #fff; border-radius: 20px; padding: 30px; box-shadow: 0 10px 15px rgba(27, 53, 146, 0.2); }
.diagram__card img { margin: 0 auto; }

/* ---------- 主な機能（.principles 併用） ---------- */
.tfeat { margin-top: 0; padding: 90px 0 0; background: none; }

/* 下層誘導ボタン */
.more-btn {
  margin: 70px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 312px;
  height: 60px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 5px rgba(27, 53, 146, 0.15);
  transition: 0.2s;
}
.more-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-arrow2 { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff; }

/* ---------- 3通り ---------- */
.methods { margin-top: 100px; padding: 90px 0 110px; background: linear-gradient(180deg, #f1f5f4 0, var(--bg-card) 238px, var(--bg-card) calc(100% - 238px), #f1f5f4 100%); }
.methods__grid { margin-top: 112px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.methods__card {
  position: relative;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 74px 28px 40px;
  box-shadow: 0 10px 15px rgba(27, 53, 146, 0.2);
  text-align: center;
}
.methods__card--ai { background: var(--orange); color: #fff; }
.methods__icon { position: absolute; top: -48px; left: 50%; transform: translateX(-50%); width: 110px; }
.methods__label { font-size: 14px; font-weight: 500; letter-spacing: 0.05em; }
.methods__ttl { margin-top: 6px; font-size: 25px; font-weight: 700; letter-spacing: 0.03em; }
.methods__txt { margin-top: 18px; font-size: 15px; font-weight: 500; text-align: left; line-height: 1.95; }

/* ---------- 安全（security.cssの.sec-safety併用） ---------- */
.safety { padding: 90px 0 0; background: linear-gradient(180deg, #f1f5f4 0, #ffffff 238px, #ffffff 100%); }
.safety .sec-safety__grid { margin-top: 66px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.safety .sec-safety__card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 44px 28px 0;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 10px 15px rgba(27, 53, 146, 0.2);
  display: flex;
  flex-direction: column;
}
.sec-safety__label { color: var(--orange); font-size: 14px; font-weight: 500; letter-spacing: 0.16em; }
.sec-safety__ttl { margin-top: 10px; font-size: 30px; font-weight: 700; letter-spacing: 0.05em; }
.sec-safety__txt { margin-top: 18px; font-size: 15px; font-weight: 500; text-align: left; line-height: 1.95; }
.sec-safety__img { margin: 26px -28px 0; width: calc(100% + 56px); max-width: none; }

/* ---------- 料金（plan.css相当をローカル定義） ---------- */
.tplan { padding: 100px 0 0; }
.plan__grid { margin-top: 66px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.plan-card { background: #fff; border-radius: 20px; box-shadow: 0 5px 5px rgba(27, 53, 146, 0.1); padding: 0 22px 30px; display: flex; flex-direction: column; }
.plan-card__head { margin: 0 -22px; border-radius: 20px 20px 0 0; min-height: 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 12px 6px; }
.plan-card__name { font-size: 25px; font-weight: 700; line-height: 1.2; letter-spacing: 0.02em; }
.plan-card__range { font-size: 15px; font-weight: 700; }
.plan-card__head--starter { background: #d5e4e8; color: var(--ink); }
.plan-card__head--standard { background: #114c5a; }
.plan-card__head--pro { background: #172b36; }
.plan-card__head--ent { background: var(--orange); }
.plan-card__sub { margin-top: 22px; font-size: 15px; font-weight: 700; line-height: 1.8; min-height: 84px; }
.plan-card__list { border-top: 1px solid #ccd9dd; padding-top: 24px; list-style: none; }
.plan-card__list li { position: relative; font-size: 14px; font-weight: 500; padding-left: 22px; margin-bottom: 14px; }
.plan-card__list li::before { content: "✔"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.plan-card__list li.no-check { padding-left: 2px; }
.plan-card__list li.no-check::before { content: ""; }
.plan-card__price { border-top: 1px solid #ccd9dd; margin-top: 4px; padding: 20px 0 24px; text-align: center; min-height: 92px; }
.plan-card__num { font-size: 44px; font-weight: 700; letter-spacing: 0.02em; }
.plan-card__unit { font-size: 18px; font-weight: 700; }
.plan-card__tax { font-size: 14px; font-weight: 500; color: #99adb2; margin-left: 2px; }
.plan-card__quote { font-size: 25px; font-weight: 700; line-height: 72px; }
.plan-card__btn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border-radius: 100px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; box-shadow: 0 3px 3px rgba(27, 53, 146, 0.15); transition: 0.2s; }
.plan-card__btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-arrow { width: 0; height: 0; border-style: solid; border-width: 4px 0 4px 7px; border-color: transparent transparent transparent #fff; }

.plan-ob { margin-top: 50px; display: flex; background: #fff; border-radius: 20px; box-shadow: 0 5px 5px rgba(27, 53, 146, 0.1); }
.plan-ob__card { flex: 0 0 290px; border-radius: 20px 0 0 20px; background: linear-gradient(160deg, #124754 0%, #1d5766 34%, #b56317 78%, #df700b 100%); color: #fff; text-align: center; padding: 36px 20px 34px; display: flex; flex-direction: column; }
.plan-ob__en { font-size: 14px; font-weight: 500; letter-spacing: 0.16em; }
.plan-ob__ttl { margin-top: 8px; font-size: 25px; font-weight: 700; letter-spacing: 0.04em; }
.plan-ob__badge { margin: 16px auto 0; display: inline-flex; align-items: center; justify-content: center; width: 141px; height: 30px; border-radius: 100px; background: #dfebe7; color: var(--ink); font-size: 14px; font-weight: 700; }
.plan-ob__price { margin-top: auto; padding-top: 26px; font-size: 21px; font-weight: 700; letter-spacing: 0.04em; }
.plan-ob__price-num { font-size: 51px; letter-spacing: 0.02em; }
.plan-ob__body { flex: 1; padding: 36px 44px 30px; }
.plan-ob__intro { font-size: 15px; font-weight: 700; line-height: 2.0; }
.plan-ob__checks { margin-top: 22px; border-top: 1px solid #ccd9dd; padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; list-style: none; }
.plan-ob__checks li { position: relative; font-size: 16px; font-weight: 500; padding-left: 28px; }
.plan-ob__checks li::before { content: "✔"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.plan-ob__note { margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--gray); }
.plan__foot { margin-top: 24px; text-align: center; font-size: 14px; font-weight: 500; color: var(--gray); }

/* ---------- STEP ---------- */
.tsteps { margin-top: 100px; padding: 90px 0 120px; background: linear-gradient(180deg, #f1f5f4 0, var(--bg-card) 238px, var(--bg-card) calc(100% - 100px), #f1f5f4 100%); }
.tsteps__grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tsteps__item { text-align: center; }
.tsteps__label { font-size: 15px; font-weight: 700; letter-spacing: 0.2em; color: #7f9fb1; }
.tsteps__num { margin-top: -6px; font-size: 121px; font-weight: 700; line-height: 0.9; letter-spacing: -0.02em; color: #7f9fb1; }
.tsteps__card {
  margin-top: -44px;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 66px 26px 26px;
  box-shadow: 0 20px 5px -2px rgba(27, 53, 146, 0.1);
  text-align: center;
}
.tsteps__ttl { font-size: 22px; font-weight: 700; letter-spacing: 0.02em; }
.tsteps__txt { margin-top: 12px; font-size: 15px; font-weight: 500; text-align: left; line-height: 1.9; }
.tsteps__week { margin: 24px auto 0; display: flex; align-items: center; justify-content: center; width: 141px; height: 30px; border-radius: 100px; background: var(--gray); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.06em; }

/* ---------- ブログ ---------- */
.tblog { padding: 100px 0 30px; }
.tblog__grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 33px; }
.tblog .bcard__body { padding: 20px 26px 22px; }
.tblog .bcard__meta { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e3ebee; }

/* ============================================================
   SP（NAYOSEL_SP 375準拠）
   ============================================================ */
@media (max-width: 768px) {
  .pc-only-img { display: none; }
  .sp-only-img { display: block; }

  .hero { padding: 16px 0 56px; background: linear-gradient(12.4deg, #f1f5f4 21.8%, #e4ede6 53.5%, #f5da78 79.6%, #f8c37a 100.6%); }
  .hero__inner { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "txt" "mock" "bottom"; padding: 0 30px; row-gap: 0; }
  .hero__mock { align-self: auto; margin-bottom: 0; }
  .hero__txt { padding-top: 8px; text-align: center; }
  .hero__eyebrow { font-size: 19px; letter-spacing: 0.18em; }
  .hero__ttl { font-size: 45px; letter-spacing: 0.18em; line-height: 1.33; margin: 10px -20px 0; }
  .hero__tag { display: block; margin-top: 22px; font-size: 11px; line-height: 1.9; letter-spacing: 0.1em; padding: 7px 10px; border-radius: 0 0 40px 40px; text-align: center; }
  .hero__tag .ac-sep { display: none; }
  .hero__mock { margin-top: 10px; }
  .hero__mock img { width: 100%; }
  .hero__lead { margin-top: 22px; font-size: 14px; letter-spacing: 0.04em; text-align: center; line-height: 2.0; }
  .hero__btns { margin-top: 30px; flex-direction: column; gap: 12px; }
  .btn-badge { width: 100%; height: 55px; }

  /* SP固定CTA: 全幅ボトムバー（XD: 375x49 r10 10 0 0） */
  .fixed-cta {
    left: 0; right: 0; bottom: 0; width: 100%;
    border-radius: 10px 10px 0 0;
    padding: 9px 15px;
    display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 10px;
    box-shadow: 0 -4px 10px rgba(255, 154, 50, 0.4);
  }
  .fixed-cta__main { font-size: 13px; height: 31px; width: 161px; flex: none; gap: 6px; }
  .fixed-cta__play { width: 17px; height: 17px; }
  .fixed-cta__sub { font-size: 12px; margin-top: 0; }

  .c-ttl { font-size: 26px; letter-spacing: 0.15em; line-height: 1.55; }
  .l-inner { padding: 0 30px; }
  .issues { padding-top: 40px; }
  .issues__grid { margin-top: 36px; grid-template-columns: 1fr; gap: 30px; }
  .issues__ttl { font-size: 18px; white-space: normal; }

  .answer { margin-top: -114px; padding: 213px 24px 70px; background: linear-gradient(180deg, #f1f5f4 41px, rgba(205, 228, 238, 0.8) 94px, rgba(168, 210, 232, 0.6) 147px, rgba(132, 193, 225, 0.4) 200px, rgba(95, 175, 219, 0.2) 253px, rgba(59, 158, 213, 0) 306px), linear-gradient(180deg, #182a36 5%, #114c5a 95.5%); }
  .answer__ttl { font-size: 25px; letter-spacing: 0.15em; }
  .answer__txt { margin-top: 24px; font-size: 15px; letter-spacing: 0.1em; text-align: left; }

  .diagram { padding: 60px 0 0; }
  .diagram--soft { margin-top: 60px; padding: 60px 0 70px; }
  .diagram__card { margin-top: 32px; padding: 20px 16px; }
  .diagram__card img { max-width: 275px; }

  .tfeat { padding: 60px 0 0; }
  .more-btn { margin-top: 44px; width: 300px; height: 56px; font-size: 15px; }

  .methods { margin-top: 60px; padding: 60px 0 80px; }
  .methods__grid { margin-top: 80px; grid-template-columns: 1fr; gap: 78px; }
  .methods__ttl { font-size: 22px; }

  .safety { padding: 60px 0 0; }
  .safety .sec-safety__grid { margin-top: 36px; grid-template-columns: 1fr; gap: 26px; }

  .tplan { padding: 64px 0 0; }
  .plan__grid { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; margin: 36px -30px 0; padding: 0 30px 16px; gap: 13px; }
  .plan-card { flex: 0 0 290px; scroll-snap-align: start; }
  .plan__grid::-webkit-scrollbar { height: 4px; }
  .plan__grid::-webkit-scrollbar-track { background: #dce6e4; border-radius: 2px; margin: 0 30px; }
  .plan__grid::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }
  .plan-card__sub { min-height: 0; }
  .plan-card__price { min-height: 0; }
  .plan-ob { flex-direction: column; }
  .plan-ob__card { flex: none; border-radius: 20px 20px 0 0; }
  .plan-ob__body { padding: 24px 22px 26px; }
  .plan-ob__checks { grid-template-columns: 1fr; gap: 12px; }
  .plan-ob__checks li { font-size: 14px; }
  .plan__foot { margin-top: 36px; text-align: left; }

  .tsteps { margin-top: 60px; padding: 60px 0 80px; }
  .tsteps__grid { margin-top: 40px; grid-template-columns: 1fr; gap: 44px; }
  .tsteps__num { font-size: 80px; }
  .tsteps__card { margin-top: -30px; padding: 50px 22px 24px; }
  .tsteps__ttl { font-size: 19px; }

  .tblog { padding: 64px 0 20px; }
  .tblog__grid { margin-top: 36px; grid-template-columns: 1fr; gap: 26px; }
}
