/* ===== DP ミニ教材ライブラリ /library/ =====
   本体サイト（digitalpromotion.co.jp テーマ）のトンマナに合わせた版（2026-09-17）。
   テーマの style.css は読み込まない（:focus の枠消し・a:hover の半透明化など全体ルールまで入るため）。
   ヘッダー／大見出し／ボタン／フッターの値だけを本体CSSから写している。
   ブレークポイントも本体と同じ 800px。 */

:root{
  --green:#51ba97;--green-d:#3c997b;--blue:#0a86ac;--yellow:#ddab24;
  --ink:#000;--text:#444;--gray:#666;--line:#e6e6e6;
  --beige:#f6f4e9;--footer:#f6f6f6;
  --shadow:15px 25.981px 30px 0 rgba(1,100,147,.05);
  --font-ja:"source-han-sans-japanese","游ゴシック体","Yu Gothic",YuGothic,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","Meiryo",sans-serif;
  --font-en:"neue-haas-grotesk-display","Helvetica Neue",Arial,sans-serif;
  --header-h:120px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-h)}
body{font-family:var(--font-ja);color:var(--ink);background:#fff;font-size:16px;font-weight:500;line-height:2;
  letter-spacing:.05em;-webkit-font-smoothing:antialiased;word-wrap:break-word}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}
strong{font-weight:700;background:linear-gradient(transparent 62%,rgba(221,171,36,.35) 62%)}
.wrap{width:100%;max-width:1200px;margin:0 auto}
.nb{white-space:nowrap}
.tlink{color:var(--green-d);text-decoration:underline;text-underline-offset:3px}
body.no-scroll{overflow:hidden}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--yellow);outline-offset:3px;border-radius:4px}

/* ---------- ボタン（本体 .c-button-main の写し） ---------- */
.c-btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:flex-start;
  height:80px;min-width:240px;max-width:400px;padding:0 5.2em 0 1.5em;border-radius:3em;border:0;cursor:pointer;
  background-image:linear-gradient(90deg,#e3bb4d 0%,#ddab24 100%);box-shadow:7.071px 7.071px 20px 0 rgba(209,107,41,.35);
  color:#fff;font-family:var(--font-en),var(--font-ja);font-size:20px;font-weight:600;letter-spacing:0;line-height:1.4;
  transition:box-shadow .2s ease-out}
.c-btn>*{position:relative;z-index:1}
.c-btn .arrow{position:absolute;top:0;bottom:0;right:1.25em;margin:auto 0;width:42px;height:12px;border-bottom:1px solid #fff;transition:right .2s ease-out}
.c-btn .arrow::after{content:"";position:absolute;bottom:-6px;right:2px;width:12px;height:12px;border-top:1px solid #fff;transform:rotate(45deg)}
.c-btn:hover{box-shadow:none}
.c-btn:hover .arrow{right:1em}
.c-btn-green{background-image:linear-gradient(90deg,#72caad 0%,#50bd99 100%);box-shadow:7.071px 7.071px 20px 0 rgba(101,198,166,.35)}
.c-btn-small{height:60px;min-width:240px;font-size:17px;padding-right:4.6em}
.c-btn-small .arrow{width:32px;height:9px}
.c-btn-small .arrow::after{bottom:-5px;width:9px;height:9px}

/* Read more（本体 .c-button-readmore の写し） */
.c-readmore{display:inline-flex;align-items:center;gap:1em;color:#000}
.c-readmore .text{font-family:var(--font-en),var(--font-ja);font-weight:600;font-size:18px;line-height:1.25}
.c-readmore .circle{position:relative;width:60px;height:60px;border-radius:50%;border:1px solid #000;flex-shrink:0}
.c-readmore .arrow{position:absolute;inset:0;top:-5px;margin:auto;width:28px;height:9px;border-bottom:1px solid #000;transition:transform .2s ease-out}
.c-readmore .arrow::after{content:"";position:absolute;bottom:-5px;right:2px;width:9px;height:9px;border-top:1px solid #000;transform:rotate(45deg)}
.c-readmore:hover .arrow{transform:translateX(10%)}

/* ---------- 大見出し（本体 .c-title-section の写し） ---------- */
.c-title-section{margin:0 0 50px;position:relative}
.c-title-section>*{display:block}
.c-title-section .english{margin:0 0 10px;font-family:var(--font-en);font-size:90px;font-weight:700;line-height:1.05;letter-spacing:0}
.c-title-section .japanese{font-family:var(--font-ja);font-size:24px;font-weight:900;line-height:1.8}
.c-title-section.u-white{color:#fff}

/* ---------- ヘッダー（本体 .header-global の写し） ---------- */
.gh{position:fixed;z-index:100;top:0;left:0;right:0;height:var(--header-h);background:transparent;transition:background-color .2s ease-out,box-shadow .2s ease-out}
.gh.scrolled{background:#fff;box-shadow:var(--shadow)}
.gh-inner{display:flex;align-items:center;height:100%;padding:0 30px}
.gh-logo{width:239px;flex-shrink:0;margin-right:auto}
.gh-logo img{width:239px;height:auto}
.gh-nav{margin:0 2em 0 0}
.gh-nav ul{display:flex;align-items:center}
.gh-nav a{position:relative;display:block;padding:0 1em;line-height:var(--header-h);font-size:18px;color:#444;letter-spacing:0}
.gh-nav a::before{content:"";position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--green);transition:width .1s ease-out}
.gh-nav a:hover::before{width:100%}
.gh-toggler{display:none}
.sp-nav,.sp-overlay{display:none}

/* ---------- ファーストビュー ---------- */
.fv{position:relative;overflow:hidden;padding:calc(var(--header-h) + 50px) 0 40px;
  background:url(assets/bg-gradient01.webp) no-repeat right -30% top 0/110% auto}
.fv-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.fv-title{margin-bottom:28px}
.fv-title .sub{position:relative;padding-left:60px;margin-bottom:6px;opacity:.25;font-family:var(--font-en);font-size:26px;font-weight:700;line-height:1.6;letter-spacing:0}
.fv-title .sub::before{content:"";position:absolute;top:0;bottom:0;left:0;margin:auto 0;width:50px;height:1px;background:#000}
.fv-title .english{color:var(--green);font-size:clamp(64px,7.2vw,104px)}
.fv-catch{font-size:clamp(24px,2.6vw,34px);font-weight:900;line-height:1.6;margin-bottom:18px}
.fv-catch em{font-style:normal;color:var(--green)}
.fv-lead{color:var(--text);max-width:600px}
.fv-cta{display:flex;align-items:center;gap:36px;flex-wrap:wrap;margin-top:34px}
.fv-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.fv-badges li{font-size:13px;color:var(--text);background:#fff;border:1px solid var(--line);padding:4px 16px;border-radius:999px;line-height:1.8}
.fv-fan{position:relative;height:400px}
.fv-fan img{position:absolute;width:68%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;box-shadow:0 24px 48px rgba(1,60,90,.18)}
.fv-fan img:nth-child(1){left:0;top:50px;transform:rotate(-6deg);z-index:1}
.fv-fan img:nth-child(2){left:16%;top:130px;transform:rotate(1deg);z-index:2}
.fv-fan img:nth-child(3){left:32%;top:20px;transform:rotate(6deg);z-index:3}
.fv-fan .fan-count{position:absolute;right:0;bottom:12px;z-index:4;background:var(--yellow);color:#fff;font-weight:900;font-size:15px;
  padding:8px 20px;border-radius:999px;letter-spacing:.04em;box-shadow:7px 7px 20px rgba(209,107,41,.3)}

/* パンくず（本体 #breadcrumbs の写し） */
.crumbs{display:flex;justify-content:flex-end;gap:1em;padding:30px 0;font-family:var(--font-en);font-size:16px;line-height:40px;letter-spacing:0}
.crumbs a{opacity:.5}
.crumbs a:hover{text-decoration:underline}

/* ---------- セクション ---------- */
.section{padding:100px 0}
.section-beige{background:var(--beige)}
.sec-desc{color:var(--text);max-width:760px;margin:-20px 0 50px}

/* SHELF（棚） */
.shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.shelf-item{background:#fff;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow);border:1px solid #eef1f1;transition:transform .3s ease-out}
.shelf-item:hover{transform:translateY(-6px)}
.shelf-cover{position:relative;aspect-ratio:16/9;background:#eef1f1;overflow:hidden}
.shelf-cover img{width:100%;height:100%;object-fit:cover}
.shelf-cover .ribbon{position:absolute;left:0;top:14px;background:var(--blue);color:#fff;font-family:var(--font-en);font-size:13px;font-weight:700;
  letter-spacing:.06em;line-height:1.6;padding:3px 14px 3px 12px;border-radius:0 999px 999px 0}
.shelf-cover .ribbon.new{background:var(--yellow)}
.shelf-cover .pages{position:absolute;right:12px;bottom:12px;background:rgba(0,0,0,.7);color:#fff;font-size:12px;font-weight:700;line-height:1.6;padding:2px 12px;border-radius:999px}
.shelf-body{padding:24px 26px 28px;display:flex;flex-direction:column;gap:12px;flex:1}
.shelf-tags{display:flex;gap:6px;flex-wrap:wrap}
.shelf-tags span{font-size:12px;font-weight:700;color:var(--green-d);background:var(--beige);padding:1px 10px;border-radius:999px;line-height:1.9}
.shelf-item h3{font-size:19px;line-height:1.6;font-weight:900}
.shelf-item p{color:var(--text);font-size:14px;line-height:1.9}
.shelf-learn{display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:1.8;color:var(--ink);flex:1}
.shelf-learn li{padding-left:20px;position:relative}
.shelf-learn li::before{content:"";position:absolute;left:0;top:.62em;width:10px;height:10px;border-radius:50%;background:var(--green)}
.shelf-actions{display:flex;gap:6px 14px;flex-wrap:wrap;align-items:center;margin-top:8px}
.shelf-actions .c-btn{min-width:210px}
.shelf-peek{background:none;border:0;color:#000;font-weight:700;font-size:14px;cursor:pointer;padding:10px 4px;font-family:inherit;text-decoration:underline;text-underline-offset:4px}
.shelf-peek:hover{color:var(--green-d)}
.shelf-meta{font-size:12px;color:var(--gray)}
.shelf-more{margin-top:40px;color:var(--text);font-size:14px}

/* HOW（受け取り方） */
.steps-3{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.step{background:#fff;border-radius:20px;padding:36px 32px}
.step-no{display:block;font-family:var(--font-en);font-weight:700;font-size:44px;line-height:1;color:var(--green);letter-spacing:0}
.step h3{font-size:19px;font-weight:900;margin:16px 0 8px;line-height:1.6}
.step p{color:var(--text);font-size:14px;line-height:1.9}
.step-note{color:var(--text);font-size:13px;margin-top:30px}

/* WHO（こんな方に） */
.who{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.who div{background:var(--beige);border-radius:20px;padding:32px 30px;font-size:14px;color:var(--text);line-height:1.9}
.who b{display:block;font-size:19px;font-weight:900;margin-bottom:10px;color:var(--ink);line-height:1.6}

/* GATE（受け取りフォーム）＝本体 .action-contact と同じ写真背景 */
.gate{position:relative;color:#fff;padding:110px 0;background:#2f6f5e url(assets/action-contact-bg.webp) no-repeat center top/cover}
.gate::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,70,58,.82) 0%,rgba(18,70,58,.55) 60%,rgba(18,70,58,.35) 100%)}
.gate-inner{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.gate .c-title-section{margin-bottom:24px}
.gate .c-title-section .japanese{font-size:30px;line-height:1.6}
.gate .lead{margin-bottom:22px}
.gate ul{display:flex;flex-direction:column;gap:8px;font-size:15px}
.gate li{padding-left:26px;position:relative;line-height:1.8}
.gate li::before{content:"";position:absolute;left:2px;top:.45em;width:7px;height:12px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.form-card{background:#fff;color:var(--ink);border-radius:20px;padding:36px 34px 28px;box-shadow:0 24px 60px rgba(0,0,0,.25)}
.form-card h3{font-size:21px;font-weight:900;margin-bottom:6px;line-height:1.6}
.form-card .form-lead{font-size:14px;color:var(--text);margin-bottom:14px;line-height:1.9}
.form-note{font-size:12px;color:var(--gray);margin-top:12px;text-align:center}

/* FAQ */
.faq{max-width:900px}
.faq details{background:#fff;border-bottom:1px solid var(--line)}
.faq details:first-child{border-top:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:26px 60px 26px 50px;font-weight:700;font-size:17px;position:relative;line-height:1.7}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{content:"Q";position:absolute;left:6px;top:22px;font-family:var(--font-en);font-size:26px;font-weight:700;color:var(--green);line-height:1.2}
.faq summary::after{content:"";position:absolute;right:16px;top:50%;width:14px;height:14px;margin-top:-10px;border-right:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(45deg);transition:transform .3s}
.faq details[open] summary::after{transform:rotate(225deg);margin-top:-2px}
.faq details p{padding:0 60px 26px 50px;color:var(--text);font-size:15px}

/* MODAL（中身をちょっと見る） */
.modal{position:fixed;inset:0;z-index:200;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.6)}
.modal.open{display:flex}
.modal-box{background:#fff;border-radius:20px;max-width:960px;width:100%;max-height:92vh;max-height:92dvh;overflow:auto;position:relative;padding:30px 30px 28px}
.modal-close{position:absolute;right:14px;top:14px;width:44px;height:44px;border-radius:50%;border:1px solid #000;background:#fff;cursor:pointer;font-size:22px;line-height:1;color:#000}
.modal-close:hover{background:var(--beige)}
.modal h3{font-size:19px;font-weight:900;padding-right:50px;margin-bottom:4px;line-height:1.6}
.modal .modal-sub{font-size:13px;color:var(--text);margin-bottom:16px}
.peek-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.peek-grid img{width:100%;border-radius:10px;border:1px solid var(--line)}
.peek-cap{font-size:12px;color:var(--gray);margin-top:6px;font-weight:700;font-family:var(--font-en)}
.peek-blur{position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;border:1px solid var(--line)}
.peek-blur img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0;border-radius:0;filter:blur(3px)}
.peek-blur .veil{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.74));text-align:center;padding:14px 18px}
.peek-blur .veil b{font-size:clamp(15px,1.9vw,18px);font-weight:900;line-height:1.5;text-shadow:0 0 8px #fff,0 1px 0 #fff}
.peek-blur .veil span{font-size:12px;color:var(--text);line-height:1.6;text-wrap:balance}

/* ---------- フッター（本体 .footer-global の写し） ---------- */
.gf{background:var(--footer);color:#444}
.gf-main{padding:60px 0}
.gf-inner{display:flex;justify-content:space-between;gap:40px}
.gf-left{width:290px;flex-shrink:0}
.gf-logo{width:239px;margin-bottom:2em}
.gf-address{font-size:12px;line-height:1.8}
.gf-nav{display:flex;gap:50px}
.gf-heading{margin-bottom:.4em;font-family:var(--font-en);font-size:18px;font-weight:600;text-transform:uppercase;letter-spacing:.02em}
.gf-nav li{font-size:13px;letter-spacing:0;line-height:2.1}
.gf-nav a:hover{opacity:.5}
.gf-bottom{display:flex;justify-content:space-between;align-items:center;flex-direction:row-reverse;gap:20px;border-top:1px solid rgba(0,0,0,.1);padding:35px 0;font-size:12px;line-height:1}
.gf-bottom a:hover{opacity:.5}
.gf-copy{opacity:.5;letter-spacing:0}

/* REVEAL */
.js .reveal{opacity:0;transform:translateY(34px);transition:opacity .7s ease,transform .7s ease}
.js .reveal.visible{opacity:1;transform:none}
.reveal-delay-1{transition-delay:.1s}.reveal-delay-2{transition-delay:.2s}
.reveal-delay-3{transition-delay:.3s}.reveal-delay-4{transition-delay:.4s}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
  .js .reveal{opacity:1;transform:none}
}

/* ---------- 800〜1239px（本体もナビ文字を縮める帯） ---------- */
@media screen and (min-width:800px) and (max-width:1239px){
  .wrap{padding:0 40px}
  .gh-nav a{font-size:14px;padding:0 .8em}
  .gh-cta{min-width:200px;font-size:15px}
  .shelf{grid-template-columns:repeat(2,1fr)}
  .fv-inner{grid-template-columns:1fr}
  .fv-fan{max-width:620px;height:340px}
  .gf-inner{flex-direction:column}
}

/* ---------- SP（本体と同じ 799px 以下） ---------- */
@media screen and (max-width:799px){
  :root{--header-h:60px}
  body{font-size:15px;line-height:1.95}
  .wrap{padding:0 6.25vw}
  .gh{background:#fff}
  .gh-inner{padding:0 0 0 6.25vw}
  .gh-logo,.gh-logo img{width:170px}
  .gh-nav,.gh-cta{display:none}
  .gh-toggler{display:block;position:relative;width:80px;height:60px;background:none;border:0;cursor:pointer;z-index:120}
  .gh-toggler span{position:absolute;left:26px;width:28px;height:2px;background:var(--green);transition:transform .14s ease-out,opacity .14s ease-out}
  .gh-toggler span:nth-child(1){top:22px}
  .gh-toggler span:nth-child(2){top:29px}
  .gh-toggler span:nth-child(3){top:36px}
  .gh-toggler.active span:nth-child(1){transform:translateY(7px) rotate(-45deg)}
  .gh-toggler.active span:nth-child(2){opacity:0}
  .gh-toggler.active span:nth-child(3){transform:translateY(-7px) rotate(45deg)}
  .sp-nav{display:block;position:fixed;z-index:110;top:0;left:0;width:80vw;height:100vh;height:100dvh;overflow-y:auto;background:#fff;
    padding:6.25vw 6.25vw 20vw;box-shadow:15px 25.981px 30px rgba(0,0,0,.07);transform:translate3d(-100%,0,0);visibility:hidden;
    transition:transform .3s ease-out,visibility 0s linear .3s}
  .sp-nav.on{transform:none;visibility:visible;transition:transform .3s ease-out}
  .sp-nav-logo{width:170px;margin-bottom:6.25vw}
  .sp-nav-heading{margin:2em 0 .75em;font-family:var(--font-en);color:#999;font-size:16px;font-weight:600;line-height:1}
  .sp-nav li{font-size:14px;line-height:1}
  .sp-nav li+li{margin-top:18px}
  .sp-nav li a{display:block;color:#444}
  .sp-nav-cta{margin-top:32px;height:56px;min-width:0;width:100%;font-size:15px}
  .sp-overlay{display:block;position:fixed;inset:0;z-index:105;background:rgba(0,0,0,.35)}
  .sp-overlay[hidden]{display:none}

  .c-btn{height:60px;min-width:160px;font-size:15px;padding-right:4em}
  .c-btn .arrow{width:28px;height:9px}
  .c-btn .arrow::after{bottom:-5px;width:9px;height:9px}
  .c-title-section{margin-bottom:6.25vw}
  .c-title-section .english{font-size:36px;margin-bottom:2px}
  .c-title-section .japanese{font-size:15px}

  .fv{padding:calc(var(--header-h) + 36px) 0 10px;background-size:190% auto;background-position:right 30% top 0}
  .fv-inner{grid-template-columns:1fr;gap:26px}
  .fv-title .sub{padding-left:40px;font-size:12px}
  .fv-title .sub::before{width:30px}
  .fv-title .english{font-size:clamp(40px,12vw,56px)}
  .fv-title .japanese{font-size:16px}
  .fv-catch{font-size:clamp(20px,6vw,26px)}
  .fv-catch .nb{white-space:normal}
  .fv-cta{gap:18px 24px;margin-top:26px}
  .fv-cta .c-btn{width:100%;max-width:none}
  .c-readmore .text{font-size:15px}
  .c-readmore .circle{width:48px;height:48px}
  .fv-fan{height:56vw}
  .fv-fan .fan-count{font-size:13px;padding:6px 14px;bottom:0}
  .crumbs{padding-top:14px;padding-bottom:14px;font-size:11px;line-height:30px}

  .section{padding:60px 0}
  .sec-desc{margin:-2px 0 30px}
  .shelf,.steps-3,.who,.gate-inner,.peek-grid{grid-template-columns:1fr}
  .shelf,.steps-3,.who{gap:20px}
  .shelf-body{padding:20px 20px 24px}
  .shelf-item h3,.step h3,.who b{font-size:17px}
  .step,.who div{padding:26px 22px}
  .step-no{font-size:36px}
  .gate{padding:64px 0}
  .gate-inner{gap:30px}
  .gate .c-title-section .japanese{font-size:21px}
  .gate ul{font-size:14px}
  .form-card{padding:26px 20px 22px}
  .faq summary{font-size:15px;padding:20px 40px 20px 36px}
  .faq summary::before{left:2px;top:17px;font-size:21px}
  .faq summary::after{right:8px;width:11px;height:11px}
  .faq details p{padding:0 10px 20px 36px;font-size:14px}
  .modal{padding:12px}
  .modal-box{padding:22px 18px 20px}
  .peek-blur{aspect-ratio:auto}
  .peek-blur .veil{position:relative;padding:22px 16px}

  .gf{font-size:12px}
  .gf-main{padding:6.25vw 0}
  .gf-inner{flex-direction:column;gap:28px}
  .gf-left{width:100%}
  .gf-logo{width:180px;margin-bottom:12px}
  .gf-address{font-size:11px}
  .gf-nav{display:grid;grid-template-columns:1fr 1fr;gap:22px 16px}
  .gf-heading{font-size:15px}
  .gf-nav li{font-size:12px}
  .gf-bottom{flex-direction:column;gap:14px;padding:22px 6.25vw;text-align:center}
  .gf-copy{font-size:9px}
}

/* SATORI 埋め込みフォームの受け皿 */
#satori-mount{min-height:220px}
#satori-mount .satori__custom_form{width:100%;background:transparent}
