@charset "UTF-8";

/* =======================
Breakpoint & mixin
======================= */
/* =======================
Theme tokens
======================= */
:root {
  --ink: #493a43;
  --accent: #ff6698;
  --alt: #8699e4;
  --btn: #ff3130;
  --bg-soft: #efe4e6;
  --gap: clamp(16px, 3vw, 32px);
}

/* =======================
Base
======================= */
html,
body {
  height: 100%;
}

body {
  color: var(--ink);
  background: var(--bg-soft);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* =======================
横スナップ土台 / 背景
======================= */
.main-page {
  display: flex;
  width: 100vw;
  height: 100svh;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.main-page::-webkit-scrollbar {
  height: 10px;
}

.main-page::-webkit-scrollbar-thumb {
  background: #ffd6e4;
  border-radius: 6px;
}

.main-page::-webkit-scrollbar-track {
  background: #f6eef1;
}

.sec {
  position: relative;
  flex: 0 0 100vw;
  height: 100svh;
  scroll-snap-align: start;
  display: grid;
  place-items: center;
  padding: clamp(8px, 2vw, 16px);
}

@media screen and (max-width: 600px) {
  .sec {
    height: 100svh;
    overflow-y: hidden;
  }
}

.bg {
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* =======================
Layout helpers
======================= */
.wrap {
  width: min(86vw, 72rem);
  margin: 0 auto;
  padding: clamp(16px, 4vw, 32px);
}

@media screen and (max-width: 600px) {
  .wrap {
    padding: clamp(12px, 3.2vw, 20px);
  }
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

@media screen and (max-width: 600px) {
  .grid2 {
    grid-template-columns: 1fr;
    gap: clamp(12px, 2.6vw, 20px);
  }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.5vw, 20px);
}

@media screen and (max-width: 600px) {
  .stack {
    gap: clamp(8px, 2.2vw, 16px);
  }
}

/* CTAセクション限定：PC時のみ横並びにする */
@media screen and (min-width: 601px) {
  .sec-cta .stack {
    flex-direction: row;
    align-items: center;
    /* 必要なら中央揃え */
    justify-content: space-between;
    /* 必要なら間を広げる */
  }
}

.center {
  text-align: center;
}

/* =======================
CTA セクション
======================= */
.sec-cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  text-align: left;
}

@media screen and (max-width: 600px) {
  .sec-cta .wrap {
    flex-direction: column;
    text-align: center;
    gap: 1.2em;
  }
}

/* CTAテキスト側 */
.cta-text {
  flex: 1;
}

.cta-text p {
  margin-bottom: 1em;
  line-height: 1.6;
}

.cta-lead {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 900;
  text-align: center;
  color: var(--ink);
  margin-bottom: 1em;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

@media screen and (max-width: 600px) {
  .cta-lead {
    font-size: clamp(18px, 5vw, 22px);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
  }
}

/* =======================
特典ボックス（CTA 内）
※ 後半の .perk（バッジ用）とクラス名が同じため、
  セクション作用域で上書き優先度を確保
======================= */
.sec-cta .perk {
  flex: 1;
  background: #fdf6f0;
  border: 2px solid #fdf6f0;
  border-radius: 18px;
  padding: 2em 1.5em 1.5em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1em;
}

.sec-cta .perk .perk-img {
  width: 100px;
  height: 100px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto;
  display: block;
}

.sec-cta .perk .perk-text {
  font-size: clamp(14px, 2.6vw, 16px);
  line-height: 1.6;
  color: var(--ink);
  margin-top: 0.5em;
}

@media screen and (max-width: 600px) {
  .sec-cta .perk {
    padding: 1.2em 1em;
    gap: 0.6em;
  }

  .sec-cta .perk p,
  .sec-cta .perk .perk-text {
    font-size: clamp(11px, 3.4vw, 13px);
    line-height: 1.45;
  }

  .sec-cta .perk .perk-img {
    width: 80px;
    height: 80px;
  }
}

/* =======================
Fonts / Typography
======================= */
@font-face {
  font-family: "IPAex Mincho";
  src: local("IPAexMincho"), url("https://fonts.gstatic.com/ea/ipaexmincho/v1/ipaexm.ttf") format("truetype");
  font-display: swap;
}

.hero-text,
.title {
  font-family: "IPAex Mincho", "Hiragino Mincho ProN", "Source Han Serif JP", serif;
  font-weight: 1000;
  align-self: center;
}

.title {
  color: #fff;
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 800;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  text-align: center;
}

@media screen and (max-width: 600px) {
  .title {
    font-size: clamp(22px, 5vw, 30px);
    line-height: 1.16;
  }
}

.hero-title {
  text-align: left;
  font-size: clamp(28px, 5.4vw, 44px);
  line-height: 1.5;
  margin: 0.25em 0 0;
  font-weight: 1200;
}

@media screen and (max-width: 600px) {
  .hero-title {
    font-size: clamp(22px, 5vw, 30px);
    line-height: 1.16;
    text-align: center;
  }
}

.section-lead {
  font-weight: 1000;
  font-size: clamp(26px, 5vw, 48px);
  margin: 1em 0 0;
  color: #c40080;
  /* 最終色に統一 */
}

@media screen and (max-width: 600px) {
  .section-lead {
    display: flex;
    justify-content: center;
    line-height: 1.28;
  }
}

.lead {
  font-size: clamp(18px, 3.2vw, 28px);
}

@media screen and (max-width: 600px) {
  .lead {
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.35;
  }
}

.semi-lead {
  font-weight: 600;
  font-size: clamp(24px, 3.6vw, 33px);
  letter-spacing: -0.03em;
  margin: 0;
}

@media screen and (max-width: 600px) {
  .semi-lead {
    font-size: clamp(14px, 3.8vw, 18px);
    line-height: 1.25;
  }
}

.semi-lead .accent {
  color: var(--alt);
}

.red {
  color: #ff3130;
  font-weight: 700;
}

/* =======================
Hero
======================= */
.sec-hero .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sec-hero .wrap .hero-text {
  order: 1;
  width: 60%;
}

.sec-hero .wrap .hero-img {
  order: 2;
  width: 40%;
}

.sec-hero .wrap .pill {
  order: 3;
  width: 100%;
  margin-top: 1.5em;
}

.sec-hero .wrap .btn {
  order: 4;
  margin-top: 1em;
}

@media screen and (max-width: 600px) {
  .sec-hero .wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sec-hero .wrap .hero-text,
  .sec-hero .wrap .hero-img {
    width: 100%;
  }

  .sec-hero .wrap .pill {
    order: 3;
    width: auto;
    margin: 1.2em auto 0;
  }

  .sec-hero .wrap .btn {
    order: 4;
    margin-top: 0;
  }
}

.hero-img {
  display: grid;
  place-items: center;
}

.hero-img img {
  max-height: min(60vh, 520px);
  -o-object-fit: cover;
  object-fit: cover;
  transform: rotate(5deg);
  transform-origin: 50% 60%;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.15));
  will-change: transform;
}

@media screen and (max-width: 600px) {
  .hero-img img {
    max-height: 38vh;
    padding-top: 18px;
    transform: rotate(3deg);
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12));
  }
}

/* ヒーロー末尾のボタン容器を中央寄せ */
#hero>.btn {
  display: flex;
  justify-content: center;
  margin-top: clamp(12px, 2.4vw, 18px);
}

@media screen and (max-width: 600px) {
  #hero>.btn {
    margin-top: clamp(8px, 2vw, 14px);
  }
}

/* 強調ピル（ベース） */
.pill {
  display: inline-block;
  padding: 0.6em 1.1em;
  border-radius: 18px;
  background: #ffe6db;
  border: 2px solid #ffe6db;
  font-size: clamp(14px, 2.6vw, 18px);
  line-height: 1.45;
  text-align: left;
  /* PC：左寄せ */
  margin: 0;
}

@media screen and (max-width: 600px) {
  .pill {
    text-align: center;
    /* SP：中央寄せ */
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(12px, 3.4vw, 14px);
    line-height: 1.35;
    padding: 0.5em 0.9em;
  }
}

/* fit-content 対応 */
@supports ((max-width: -moz-fit-content) or (max-width: fit-content)) {
  .sec-hero .wrap .pill {
    max-width: -moz-fit-content;
    max-width: fit-content;
  }
}

/* =======================
Buttons
======================= */
a.btn,
a.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1em 3.6em;
  border-radius: 16px;
  font-weight: 600;
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1;
  transition: transform 0.15s ease, filter 0.2s ease, box-shadow 0.2s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

a.btn.btn--primary,
a.btn.hero-btn,
a.hero-btn.btn--primary,
a.hero-btn.hero-btn {
  background: var(--btn);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 49, 48, 0.25), 0 2px 6px rgba(0, 0, 0, 0.08);
}

a.btn:hover,
a.hero-btn:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

a.btn:active,
a.hero-btn:active {
  transform: scale(1.12);
}

a.btn:focus-visible,
a.hero-btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(255, 49, 48, 0.7), 0 10px 22px rgba(255, 49, 48, 0.25), 0 2px 6px rgba(0, 0, 0, 0.08);
}

@media screen and (max-width: 600px) {

  a.btn,
  a.hero-btn {
    padding: 1em 1.8em;
    font-size: clamp(18px, 4.5vw, 27px);
  }
}

/* =======================
Problem bubbles / remark
======================= */
.bubbles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bubbles li {
  display: inline-block;
  padding: 0.6em 1.1em;
  border-radius: 18px;
  background: #ffe6db;
  border: 2px solid #ffe6db;
  font-size: clamp(14px, 2.6vw, 18px);
  line-height: 1.5;
}

@media screen and (max-width: 600px) {
  .bubbles li {
    font-size: clamp(12px, 3.4vw, 14px);
    line-height: 1.45;
    padding: 0.5em 0.9em;
  }
}

.remark {
  font-size: clamp(16px, 3vw, 22px);
  margin: 0.6em 0 0;
}

.remark .em {
  color: #ff3130;
  font-weight: 700;
}

/* =======================
Solution cards
======================= */
.triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  width: min(100%, 64rem);
  margin-top: clamp(8px, 1.8vw, 16px);
}



/* スマホだけ1列に */
@media screen and (max-width: 600px) {
  .triple {
    grid-template-columns: 1fr;
  }
}



@media screen and (max-width: 600px) {
  .triple.single {
    width: min(84vw, 28rem);
    margin-inline: auto;
    grid-template-columns: 1fr;
    gap: clamp(12px, 2.6vw, 20px);
  }

  .triple.single .card {
    padding: clamp(12px, 3vw, 18px);
  }

  .triple.single .card img {
    max-height: 100px;
  }
}

/* デスクトップ専用拡大 */
.sec--solution.only-desktop .wrap {
  overflow: visible;
}

.sec--solution.only-desktop .triple {
  transform: scale(1.3);
  transform-origin: center;
}

@media screen and (max-width: 600px) {
  .sec--solution.only-desktop .triple {
    transform: none;
  }
}

.card {
  padding-top: 80px;
  padding-left: 18px;
  padding-right: 18px;
}

.card img {
  max-height: 120px;
  margin-inline: auto;
}

@media screen and (max-width: 600px) {
  .card img {
    max-height: 90px;
  }
}

.label {
  font-weight: 600;
  margin: 0.3em 0 0;
}

.role {
  color: var(--alt);
  font-weight: 500;
}

.desc {
  margin: 0.1em 0 0;
}

.desc .accent {
  color: var(--accent);
  font-weight: 600;
}

/* =======================
Know-how title / list / CTA perk badge
======================= */
.knowhow-title {
  display: flex;
}

.knowhow-title h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.2;
  font-weight: 800;
}

@media screen and (max-width: 600px) {
  .knowhow-title h2 {
    font-size: clamp(22px, 5vw, 32px);
  }
}

.book-icon {
  width: 40px;
  height: auto;
  margin-left: 12px;
  vertical-align: middle;
}

/* list（重複を一本化、nth-child オフセット込み） */
.list {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding: 0;
  margin: 0;
}

.list li {
  list-style: none;
  font-size: clamp(14px, 2.6vw, 18px);
  border-radius: 18px;
  padding: 1em 2em;
  line-height: 1.6;
  border: 1px solid #ffe6db;
  background-color: #ffe6db;
  transition: transform 0.3s ease;
  width: -moz-fit-content;
  width: fit-content;
}

@media screen and (max-width: 600px) {
  .list li {
    font-size: clamp(12px, 3.4vw, 14px);
    line-height: 1.5;
    width: 100%;
    transform: none;
  }
}

.list li:nth-child(2),
.list li:nth-child(4) {
  transform: translateX(2em);
}

@media screen and (max-width: 600px) {

  .list li:nth-child(2),
  .list li:nth-child(4) {
    transform: none;
  }
}

.list .accent {
  color: var(--accent);
  font-weight: 600;
}

/* バッジ用途の .perk （※クラス名衝突注意：CTA箱は .sec-cta .perk を上で優先制御） */
.perk {
  display: inline-block;
  padding: 0.6em 1em;
  border-radius: 16px;
  background: #fdf6f0;
  border: 2px solid #f1e3d6;
  font-weight: 700;
}

/* =======================
画像（problem / knowhow）
重複を整理し、コンテナで右寄せ→SP中央寄せ
======================= */
.problem-img,
.knowhow-img {
  display: flex;
  justify-content: flex-end;
  /* PC：右寄せ */
  align-items: center;
}

@media screen and (max-width: 600px) {

  .problem-img,
  .knowhow-img {
    justify-content: center;
  }
}

.problem-img img,
.knowhow-img img {
  max-height: min(56vh, 480px);
  -o-object-fit: cover;
  object-fit: cover;
}

@media screen and (max-width: 600px) {

  .problem-img img,
  .knowhow-img img {
    max-height: 32vh;
  }
}

@media screen and (max-width: 600px) {
  .knowhow-img {
    display: none;
    /* 既存仕様を維持 */
  }
}

/* =======================
Desktop/Mobile 切替ユーティリティ
======================= */
.only-desktop {
  display: block;
}

.only-mobile {
  display: none;
}

@media screen and (max-width: 600px) {
  .only-desktop {
    display: none;
  }

  .only-mobile {
    display: block;
  }
}

/* =======================
PROBLEM safety net（溢れ時のみ内部スクロール）
======================= */
@media screen and (max-width: 600px) {
  .sec-problem {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* =======================
SP分割ページの中央寄せ（problem-2, solution-m1..m4）
======================= */
@media screen and (max-width: 600px) {
  .sec.only-mobile {
    display: grid;
    place-items: center;
    height: 100svh;
    overflow: hidden;
    /* 必要なら auto */
  }
}

@media screen and (max-width: 600px) {
  .only-mobile .wrap {
    width: min(92vw, 34rem);
    margin: 0 auto;
    padding: clamp(12px, 3.2vw, 20px);
    text-align: center;
  }

  .only-mobile .grid2 {
    grid-template-columns: 1fr !important;
    justify-items: center;
    gap: clamp(12px, 2.6vw, 20px);
  }

  .only-mobile .stack {
    align-items: center;
    gap: clamp(8px, 2.2vw, 16px);
  }

  .only-mobile .problem-img,
  .only-mobile .hero-media {
    width: 100%;
    justify-self: center;
  }

  .only-mobile .problem-img img,
  .only-mobile .hero-media img {
    width: 100%;
    height: auto;
    max-height: 34vh;
    -o-object-fit: contain;
    object-fit: contain;
  }

  .only-mobile .triple.single {
    width: min(84vw, 28rem);
    margin-inline: auto;
    grid-template-columns: 1fr;
    gap: clamp(12px, 2.6vw, 20px);
  }

  .only-mobile .triple.single .card {
    padding: clamp(12px, 3vw, 18px);
  }

  .only-mobile .triple.single .card img {
    max-height: 100px;
  }
}

/* =======================
SOLUTION（SP：導入ページ文字サイズ最適化）
======================= */
@media screen and (max-width: 600px) {
  .sec--solution.only-mobile {
    display: flex;
    /* grid→flex */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100svh;
    text-align: center;
    padding: 0 clamp(12px, 3vw, 20px);
  }

  #solution-m1 .title {
    margin: 0 0 0.5em;
    font-size: clamp(26px, 6vw, 40px);
    line-height: 1.2;
  }

  #solution-m1 .lead {
    margin: 0.2em 0 0;
    font-size: clamp(18px, 5vw, 26px);
    line-height: 1.4;
  }

  #solution-m1 .section-lead {
    margin: 0.4em 0 0;
    font-size: clamp(20px, 5.5vw, 30px);
  }
}

/*# sourceMappingURL=style.css.map */



/*# 決済ページ */
/***** Payment page (ID 11) theming *****/
body.page-id-11 .nf-form-wrap {
  max-width: 720px;
  margin: clamp(24px, 4vw, 48px) auto;
  background: #fff;
  border: 2px solid #ffe6db;
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(255, 49, 48, 0.08), 0 2px 6px rgba(0, 0, 0, 0.06);
  padding: clamp(20px, 4vw, 36px);
  color: #493a43;
}

body.page-id-11 .nf-field-label label {
  font-weight: 600;
  color: #493a43;
  margin-bottom: 6px;
  display: inline-block;
}

body.page-id-11 .ninja-forms-field {
  width: 100%;
  background: #fff;
  border: 1px solid #e9d4d9;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 16px;
  color: #493a43;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

body.page-id-11 .ninja-forms-field:focus {
  border-color: #ff6698;
  box-shadow: 0 0 0 3px rgba(255, 102, 152, .2);
}

/***** 決済ボタン *****/
body.page-id-11 input[type="submit"],
body.page-id-11 .nf-stripe-checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff3130;
  color: #fff;
  border: 0;
  border-radius: 16px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: clamp(16px, 3.6vw, 18px);
  box-shadow: 0 10px 22px rgba(255, 49, 48, .25), 0 2px 6px rgba(0, 0, 0, .08);
  cursor: pointer;
  transition: transform .15s ease, filter .2s ease;
}

body.page-id-11 input[type="submit"]:hover,
body.page-id-11 .nf-stripe-checkout-button:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

/***** フォーム全体のレイアウト調整 *****/
body.page-id-11 .nf-field-container {
  margin-bottom: 14px;
}

body.page-id-11 .nf-form-wrap .nf-after-form-content {
  margin-top: 12px;
  text-align: center;
  color: #7b6e75;
}

/* 画面が 601px 以上＝PC/タブレット相当で非表示 */
@media (min-width: 601px) {
  #knowhow .book-icon {
    display: none;
  }
}