/* =========================================================
   LPデザインの型「特典オプトイン」
   元: UTAGEで作られたメルマガ登録LP（https://utage-system.com/p/w2DQmfX8WFIU）の作り。
   元は画像の帯を縦に並べたページ。ここでは帯・特典の枠を、すべて文字とCSSで作り直している。
   水色のドット絵風の枠、太い文字、青→黒の帯に緑の立体ボタン、黄色い札の感想。
   色・書体はここ（:root）が正本。
   ========================================================= */
:root {
  --teal: #1aa7b8;          /* 枠・札の水色 */
  --teal-deep: #0d6f80;
  --teal-pale: #e8f7f9;
  --navy: #0d2f4f;          /* 濃い帯 */
  --ink: #111;
  --title-grad: linear-gradient(180deg, #7ff0ff 0%, #22b8d6 45%, #0a6f9a 100%); /* 大きな文字の水色グラデ */
  --btn-1: #6ee03a;         /* 緑の立体ボタン */
  --btn-2: #2ea316;
  --btn-edge: #1d6e0c;
  --optin-bg: linear-gradient(90deg, #2f2cff 0%, #1c1aa0 45%, #000 100%);
  --red: #e60012;
  --yellow: #ffe600;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --dot: "DotGothic16", var(--sans);
  --col: 480px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #f2f4f6; color: var(--ink); font-family: var(--sans); line-height: 1.8; font-size: 15px; }
p, ul, h1, h2, h3, figure { margin: 0; padding: 0; list-style: none; }
.banner, .bonus, .band, .rcard h3, .letter__end { text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
.page { max-width: var(--col); margin: 0 auto; background: #fff; box-shadow: 0 0 30px rgba(0, 0, 0, .08); overflow: hidden; }

/* 見本だけの部品名札（本番では消す） */
.part-label { margin: 0; padding: 6px 12px; font: 700 11px/1.4 var(--sans); color: #fff; background: #555; }
.part-label b { display: inline-block; margin-right: 8px; padding: 0 6px; background: #000; border-radius: 3px; }
.part-label code { margin-left: 8px; padding: 0 6px; background: #777; border-radius: 3px; font-size: 11px; }

/* 写真・スクショの仮置き */
.ph { display: grid; place-items: center; aspect-ratio: var(--r, 4/3); margin: 12px 0; border-radius: 6px; background: #dfe7ea; color: #7a8a90; font-size: 12px; }

/* ---------- 水色のドット絵風の枠（画像の帯をCSSで） ---------- */
.banner {
  position: relative; margin: 14px; padding: 22px 16px 20px; text-align: center; background: #fff;
  border: 4px solid var(--teal); outline: 3px dashed var(--teal); outline-offset: -11px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--teal-pale);
}
.banner::before, .banner::after { /* きらきら */
  content: "✦"; position: absolute; color: var(--teal); font-size: 20px; line-height: 1;
}
.banner::before { top: 10px; left: 14px; } .banner::after { bottom: 10px; right: 14px; }
.banner__tag {
  display: inline-block; margin-bottom: 8px; padding: 4px 18px; border-radius: 999px; background: var(--teal-deep); color: #fff;
  font: 900 clamp(14px, 4.2vw, 18px)/1.4 var(--sans); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--teal);
}
.banner__tag--dark { background: #fff; color: var(--navy); box-shadow: 0 0 0 3px var(--navy); }
.banner__title {
  font: 900 clamp(34px, 11vw, 52px)/1.15 var(--sans); letter-spacing: -.03em; color: var(--ink);
  text-shadow: 3px 3px 0 #fff, 4px 4px 0 rgba(0, 0, 0, .15);
}
.banner__title--ink { font-size: clamp(26px, 8vw, 40px); margin: 6px 0; }
.banner__lines span { display: block; width: fit-content; margin: 6px auto; padding: 2px 12px; border: 2px solid var(--navy); font-weight: 900; font-size: 14px; }
.banner__lines b { color: var(--teal-deep); font-size: 1.3em; }
.banner__slash { margin: 14px -16px 4px; padding: 6px; background: var(--teal); color: #fff; font: 900 16px/1.4 var(--sans); }
.banner__big span { display: block; font: 900 clamp(36px, 11vw, 54px)/1.15 var(--sans); letter-spacing: -.02em; }
.banner__big em, .banner--title em, .bonus__title em {
  display: block; font-style: normal; font: 900 clamp(44px, 14vw, 66px)/1.1 var(--sans); letter-spacing: -.03em;
  background: var(--title-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1.5px var(--navy); filter: drop-shadow(3px 3px 0 #fff) drop-shadow(1px 1px 0 var(--navy));
}
.banner__foot { margin-top: 10px; font-weight: 900; font-size: 14px; }
.banner__foot b { color: var(--teal-deep); font-size: 1.15em; border-bottom: 3px solid var(--teal); }

/* FV：左寄せのチェック3つ */
.banner--fv { padding-top: 28px; }
.banner--fv .banner__title { margin: 6px 0 14px; border-bottom: 3px dotted var(--teal); padding-bottom: 8px; }
.checks { display: grid; gap: 8px; text-align: left; }
.checks li { position: relative; padding: 8px 10px 8px 40px; border: 2px solid var(--teal); border-radius: 6px; background: #fff; font-weight: 900; font-size: 14px; line-height: 1.45; }
.checks li::before { content: "✓"; position: absolute; left: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 4px; background: var(--teal-deep); color: #fff; font-size: 15px; }
.checks b { color: var(--teal-deep); font-size: 1.15em; }
.banner--fv .checks { width: 78%; }
.checks--wide { margin-top: 10px; }
.checks--wide li { font-size: 13px; }

/* 章の帯：濃い水色の地に光る大きな文字 */
.banner--title { background: radial-gradient(ellipse at center, #0f5a73, #072b3c 75%); border-color: var(--teal-deep); outline-color: rgba(127, 240, 255, .5); }
.banner--title::before, .banner--title::after { color: var(--yellow); }
.banner--title em { font-size: clamp(30px, 9.4vw, 46px); -webkit-text-stroke: 1px #fff; filter: drop-shadow(0 0 8px rgba(127, 240, 255, .6)); background: linear-gradient(180deg, #fffbe0, #ffe600 55%, #ffb300); -webkit-background-clip: text; background-clip: text; }
.banner--title .banner__tag { background: transparent; box-shadow: 0 0 0 2px #7ff0ff; }

/* ---------- 登録フォーム ---------- */
.optin { padding: 22px 16px 26px; background: var(--optin-bg); }
.optin input { width: 100%; height: 52px; padding: 0 14px; border: 0; border-radius: 2px; font: 500 16px var(--sans); color: #333; }
.optin button {
  display: block; width: 100%; margin-top: 12px; padding: 14px 10px 10px; border: 0; border-radius: 8px; cursor: pointer;
  background: linear-gradient(180deg, var(--btn-1), var(--btn-2)); color: #fff; font-family: var(--sans);
  box-shadow: 0 6px 0 var(--btn-edge), 0 10px 18px rgba(0, 0, 0, .4); transform: rotate(-1deg);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .25); animation: pulse 2s ease-in-out infinite;
}
.optin button span { display: block; font-weight: 900; font-size: clamp(19px, 5.8vw, 26px); line-height: 1.3; }
.optin button small { display: block; font-size: 13px; font-weight: 700; opacity: .9; }
@keyframes pulse { 50% { transform: rotate(-1deg) scale(1.03); } }

/* ---------- 濃い帯の見出し ---------- */
.band { padding: 22px 16px 14px; background: linear-gradient(180deg, #0d2f4f, #0a4a6e); color: #fff; text-align: center; font: 900 clamp(22px, 6.6vw, 30px)/1.4 var(--sans); letter-spacing: .04em; }
.band i { display: block; font-style: normal; font-size: 18px; letter-spacing: -.1em; }

/* ---------- 実績 ---------- */
.results { padding: 26px 14px 10px; background: radial-gradient(ellipse at top, #24304a, #0b1324 70%); }
.results__ttl { margin-bottom: 18px; text-align: center; color: #fff; font: 700 24px/1.4 var(--serif); letter-spacing: .1em; }
.results__ttl::after { content: ""; display: block; width: 60%; margin: 6px auto 0; border-top: 2px solid #fff; }
.rcard { margin-bottom: 18px; padding: 18px 14px; background: #eef1f4; }
.rcard h3 { margin-bottom: 12px; font: 700 clamp(17px, 5vw, 21px)/1.5 var(--serif); }
.rcard h3 em { font-style: normal; color: var(--red); background: linear-gradient(transparent 70%, var(--yellow) 70%); font-size: 1.15em; }
.rtable { width: 100%; border-collapse: collapse; background: #fff; font-size: 13px; }
.rtable th, .rtable td { padding: 8px 10px; border-bottom: 1px solid #e3e6ea; text-align: left; }
.rtable th { font-weight: 500; color: #555; }
.rtable td.hit { outline: 2px solid var(--red); outline-offset: -3px; }
.rcard__note { margin-top: 12px; padding: 14px; background: #fff; font-size: 13px; }
.rcard__note u { text-decoration: none; border-bottom: 2px solid var(--red); }

/* ---------- 感想（黄色い札） ---------- */
.voices { padding-bottom: 10px; }
.voice { margin: 14px 16px 22px; }
.voice .ph { margin: 0; }
.voice figcaption {
  width: fit-content; max-width: 100%; margin: -14px 0 0 12px; position: relative; padding: 4px 14px; background: var(--yellow);
  font-weight: 900; font-size: clamp(17px, 5.2vw, 22px); line-height: 1.4; box-shadow: 2px 2px 0 rgba(0, 0, 0, .15);
}

/* ---------- 特典 ---------- */
.bonus {
  position: relative; margin: 14px; padding: 20px 14px 18px; text-align: center; background: var(--teal-pale);
  border: 4px solid var(--teal); outline: 3px dashed var(--teal); outline-offset: -11px;
}
.bonus__no {
  display: inline-block; padding: 4px 30px; border-radius: 10px; background: linear-gradient(180deg, #1fb5c6, #0d6f80); color: #fff;
  font: 900 clamp(26px, 8vw, 34px)/1.3 var(--sans); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--teal-deep);
}
.bonus__sub { width: fit-content; margin: 12px auto 8px; padding: 2px 14px; background: var(--teal-deep); color: #fff; font-weight: 900; font-size: 14px; clip-path: polygon(4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%, 0 50%); }
.bonus__title { margin-bottom: 14px; font: 900 clamp(24px, 7.4vw, 34px)/1.25 var(--sans); letter-spacing: -.02em; }
.bonus__title em { display: inline; font-size: 1em; -webkit-text-stroke: 1px var(--navy); }
.bonus__list { padding: 12px 12px 10px; background: #fff; border: 2px solid var(--teal); text-align: left; }
.bonus__list li { position: relative; padding: 4px 0 4px 18px; border-bottom: 1px dashed #b8dfe5; font-weight: 700; font-size: 13px; line-height: 1.6; }
.bonus__list li:last-child { border-bottom: 0; }
.bonus__list li::before { content: "◆"; position: absolute; left: 0; color: var(--teal-deep); font-size: 11px; top: 6px; }
.bonus__list b { color: var(--teal-deep); }

/* ---------- 自己紹介の手紙 ---------- */
.letter { padding: 28px 22px 20px; font: 600 15.5px/2 var(--serif); }
.letter p { margin-bottom: 1.6em; }
.red-under { color: var(--red); background: linear-gradient(transparent 75%, #ffd3a8 75%); }
.red-mark { color: var(--red); font-size: 1.15em; background: linear-gradient(transparent 70%, var(--yellow) 70%); }
.yellow-mark { color: var(--red); background: linear-gradient(transparent 70%, var(--yellow) 70%); font-weight: 900; }
.letter__end { text-align: center; font-weight: 900; }
.profile { display: grid; grid-template-columns: 1fr 110px; align-items: center; gap: 10px; margin: 0 0 1.6em; padding-top: 14px; border-top: 2px solid #ccc; }
.profile__label { margin: 0 0 4px !important; text-align: center; font-weight: 900; }
.profile__name { margin: 0 !important; font: 900 22px/1.4 var(--sans); }
.profile__face { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; border: 4px solid #2bd18c; background: #eafaf3; }
.profile__face::before { content: attr(data-initial); font: 900 40px var(--sans); color: #1a9e66; }

.ft { padding: 22px; background: #111; color: #aaa; text-align: center; font-size: 11px; }
.ft a { color: #ddd; }

@media (prefers-reduced-motion: reduce) { .optin button { animation: none; } }
