/*
  案 E：子ども向けの絵本・ポスター。全面ミント、丸く切り抜いた写真、極太の色つきメッセージ、波の区切り。
  例外（GYOMO のブランドに合わせるため許可）：角丸カード（12px・24px）、丸い写真、ピル 999px。
  影・グラデーション・イラスト・絵文字・アイコンフォントは使わない（インライン SVG の波形・点線・矢印のみ）。
*/
:root{
  --green:#22AC38;
  --mint:#E0FBFC;
  --orange:#F39A1E;
  --orange-hover:#E08A0F;
  --orange-deep:#D9780A;
  --teal:#30C4B6;
  --teal-hover:#26A99C;
  --teal-deep:#0E8F83;
  --leaf:#58B88B;
  --yellow:#F7D33C;
  --red:#E8383D;
  --navy:#1B2F5E;
  --ink:#1F1F1F;
  --gutter:48px;
  --section-y:96px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Noto Sans JP",sans-serif;font-weight:400;
  font-size:16px;line-height:1.8;color:var(--ink);background:var(--mint);
  overflow-x:hidden;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0;list-style:none}
h1,h2,h3{font-family:"Noto Sans JP",sans-serif;font-weight:700;letter-spacing:0;line-height:1.4}
.num{font-family:"Inter",sans-serif;font-weight:600;letter-spacing:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 var(--gutter)}
section{padding:var(--section-y) 0;background:var(--mint)}
/* 見出し：色の丸印 */
section h2{font-size:clamp(26px,3.4vw,36px);display:flex;align-items:center;gap:14px}
section h2::before{content:"";flex:none;width:22px;height:22px;border-radius:50%;background:var(--orange)}
section.teal-dot h2::before{background:var(--teal)}
a:focus-visible,summary:focus-visible,.btn:focus-visible{outline:3px solid var(--ink);outline-offset:3px}


.btn{display:inline-block;padding:14px 32px;border-radius:999px;font-weight:700;text-decoration:none;line-height:1.4;letter-spacing:0;transition:background-color .2s,color .2s}
.btn-orange{background:var(--orange);color:var(--ink)}
.btn-orange:hover{background:var(--orange-hover)}
.btn-teal{background:var(--teal);color:var(--ink)}
.btn-teal:hover{background:var(--teal-hover)}
.btn-navy{background:var(--navy);color:#fff}
.btn-navy:hover{background:#12214A}
.btn-navy:focus-visible{outline-color:var(--navy)}

/* 波形：緑とティールの 2 層＋次の区画の色 */
.wave{display:block;line-height:0;background:var(--from)}
.wave svg{display:block;width:100%;height:56px}
.wave .p1{fill:var(--teal)}
.wave .p2{fill:var(--leaf)}
.wave .p3{fill:var(--to)}

/* 浮かせたロゴとピルのナビ */
.logo{position:absolute;top:20px;left:24px;z-index:30;display:block;width:104px;height:104px;border-radius:50%;background:var(--green);padding:8px;line-height:0}
.logo img{width:100%;height:100%}
.pillnav{position:absolute;top:28px;right:24px;z-index:30;display:flex;gap:4px;background:#fff;border-radius:999px;padding:6px}
.pillnav a{display:block;padding:8px 18px;border-radius:999px;font-weight:700;font-size:15px;text-decoration:none;white-space:nowrap;transition:background-color .2s}
.pillnav a:hover{background:var(--yellow)}
.menu{display:none;position:absolute;top:28px;right:16px;z-index:30}
.menu summary{list-style:none;cursor:pointer;font-weight:700;padding:10px 22px;background:#fff;border-radius:999px;line-height:1.4}
.menu summary::-webkit-details-marker{display:none}
.menu summary:hover{background:var(--yellow)}
.menu ul{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border-radius:24px;min-width:230px;padding:8px 0}
.menu li a{display:block;padding:10px 24px;text-decoration:none;font-weight:700}
.menu li a:hover{background:var(--yellow)}

/* 最初の画面 */
.fv{padding:110px 0 40px}
.fv .wrap{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:40px;align-items:center}
.fv .msg{font-weight:900;font-size:clamp(28px,4.4vw,60px);line-height:1.3;letter-spacing:0}
.fv .msg span{display:block}
.fv .m1{color:var(--orange)}
.fv .m2{color:var(--teal-deep)}
.fv .intro{margin-top:24px;font-size:17px;font-weight:700}
.sticker{display:block;width:230px;margin-top:28px;border:5px solid #fff;border-radius:24px;background:#fff}
.sticker img{width:100%}
.scatter{position:relative;width:100%;aspect-ratio:1/1}
.scatter img{position:absolute;border-radius:50%;aspect-ratio:1/1;object-fit:cover;height:auto}
.c1{width:54%;left:0;top:0;border:8px solid var(--orange)}
.c2{width:34%;left:59%;top:4%;border:8px solid var(--teal)}
.c3{width:39%;left:57%;top:40%;border:8px solid var(--yellow)}
.c4{width:30%;left:5%;top:59%;border:8px solid var(--leaf)}
.c5{width:21%;left:36%;top:79%;border:6px solid var(--orange)}

/* 3 ステップ：曲がった点線の道に沿ってジグザグ */
.steps .wrap{position:relative}
.road{position:absolute;left:var(--gutter);right:var(--gutter);top:110px;bottom:60px;z-index:0}
.road svg{display:block;width:100%;height:100%}
.road path{fill:none;stroke:var(--teal);stroke-width:5;stroke-dasharray:2 14;stroke-linecap:round;vector-effect:non-scaling-stroke}
.step-list{position:relative;z-index:1;margin-top:32px}
.step{display:flex;align-items:center;gap:32px;min-height:300px}
.step.r{flex-direction:row-reverse;text-align:right}
.step img{flex:none;width:clamp(180px,25vw,300px);aspect-ratio:1/1;object-fit:cover;border-radius:50%;border:8px solid #fff}
.step:nth-child(1) img{border-color:var(--orange)}
.step:nth-child(2) img{border-color:var(--teal)}
.step:nth-child(3) img{border-color:var(--yellow)}
.chip{display:inline-block;padding:6px 24px;border-radius:999px;font-weight:700;font-size:20px;line-height:1.5}
.step:nth-child(1) .chip{background:var(--orange)}
.step:nth-child(2) .chip{background:var(--teal)}
.step:nth-child(3) .chip{background:var(--yellow)}
.step p{margin-top:8px;font-weight:700;font-size:18px}
.step .tx{background:var(--mint);padding:8px}

/* GYOMO：巨大な数字 */
.gyomo-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px;align-items:center}
.gyomo .title{font-size:clamp(56px,9vw,104px);font-weight:900;line-height:1.1;color:var(--orange);display:block;letter-spacing:0}
.gyomo .title::before{display:none}
.gyomo .title span{display:block;font-size:clamp(28px,4vw,44px);font-weight:700;color:var(--teal-deep);line-height:1.3}
.gyomo .catch{margin-top:20px;font-size:clamp(24px,3vw,32px);font-weight:700;line-height:1.5}
.gyomo .catch em{font-style:normal;color:var(--red);text-decoration:underline;text-decoration-thickness:4px;text-underline-offset:6px;margin:0 .2em}
.giant{margin-top:24px}
.giant li{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 16px;line-height:1.1}
.giant .n{font-family:"Inter",sans-serif;font-weight:700;font-size:clamp(56px,9vw,120px);letter-spacing:0;color:var(--orange-deep)}
.giant li:nth-child(2) .n{color:var(--teal-deep)}
.giant .n small{font-family:"Noto Sans JP",sans-serif;font-weight:900;font-size:.36em;margin-left:4px}
.giant .c{font-weight:700;font-size:18px}
.gyomo-photo{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:50%;border:10px solid var(--orange)}
.pill{margin-top:40px;display:block;background:var(--yellow);border-radius:999px;padding:16px 40px;font-weight:700;text-align:center;line-height:1.6}
.pill .num{font-size:20px}
.more{margin-top:32px}

/* ROCA.（ここだけ紺） */
.roca-card{background:#fff;border-radius:24px;padding:40px;color:var(--navy)}
.roca-card .label{display:inline-block;padding:4px 20px;border-radius:999px;background:var(--navy);color:#fff;font-weight:700;font-family:"Inter",sans-serif;letter-spacing:0}
.roca-head{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:16px}
.roca-head .logo2{width:72px}
.roca-card h2{display:block;font-size:clamp(32px,5vw,48px);font-family:"Inter","Noto Sans JP",sans-serif;font-weight:700;color:var(--navy)}
.roca-card h2::before{display:none}
.roca-card .when{font-size:20px;font-weight:700}
.roca-card .lead{margin-top:12px;font-weight:700}
.roca-pics{margin-top:28px;display:grid;grid-template-columns:minmax(0,560fr) minmax(0,490fr);gap:20px;align-items:end}
.roca-pics img{width:100%;border-radius:24px}
.roca-pics .b{max-width:560px}
.roca-pics .s{max-width:490px}
.roca-card .btn{margin-top:28px}

/* ヤドカリン：小さな帯 */
.yado{padding:0 0 var(--section-y)}
.yado-card{background:#fff;border-radius:24px;overflow:hidden}
.yado-body{display:flex;align-items:center;gap:32px;padding:20px 28px 24px}
.yado-body img{flex:none;width:300px;border-radius:12px}
.yado-body h3{font-size:22px}
.yado-body p{margin-top:4px}
.yado-body a{display:inline-block;margin-top:8px;font-weight:700;text-underline-offset:5px;text-decoration-thickness:2px}
.yado-body a:hover{color:var(--teal-deep)}

/* 作品と製品：不揃いな組み */
.bento{margin-top:40px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;gap:20px}
.bento li{min-width:0}
.bento img{width:100%;height:100%;object-fit:cover;border-radius:24px}
.bento .big{grid-row:1/3}
.bento .big img{aspect-ratio:3/4}
.bento .sm img{aspect-ratio:4/3}
.bento li:nth-child(4){grid-column:2/4}
.bento li:nth-child(4) img{aspect-ratio:16/7}
.bento li:nth-child(5){grid-column:1/4}
.bento li:nth-child(5) img{aspect-ratio:3/1}
.bento figure{height:100%;display:flex;flex-direction:column;gap:8px}
.bento figure img{flex:1;min-height:0}
.bento figcaption{font-weight:700;line-height:1.5}
.bento figcaption small{display:block;font-weight:400;font-size:16px}

/* 企業・学校の方へ */
.card{background:#fff;border-radius:24px;overflow:hidden}
.tab{display:block;padding:8px 20px;font-weight:700;line-height:1.5;color:var(--ink)}
.tab-orange{background:var(--orange)}
.tab-teal{background:var(--teal)}
.tab-yellow{background:var(--yellow)}
.corp .sub{margin:12px 0 0 36px;color:var(--teal-deep);font-weight:700}
.doors{margin-top:32px;display:grid;gap:16px}
.door{display:grid;grid-template-columns:160px minmax(0,1fr)}
.door .tab{display:flex;align-items:center;font-size:20px;padding:20px}
.door-body{padding:20px 28px 28px}
.door-body h3{font-size:20px}
.door-body p{margin-top:4px}
.door-body .btn{margin-top:16px}
.contents{margin:16px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
.contents li{display:flex;align-items:center;gap:12px;font-weight:700;line-height:1.5}
.lb{flex:none;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:"Inter",sans-serif;font-weight:700;color:var(--ink);line-height:1}
.lb-a{background:var(--orange)}
.lb-b{background:var(--teal)}
.lb-c{background:var(--leaf)}
.lb-d{background:var(--yellow)}
.door .tour{margin-top:8px;display:grid;grid-template-columns:120px minmax(0,1fr);gap:20px;align-items:start}
.door .tour img{width:120px;aspect-ratio:1/1;object-fit:cover;border-radius:50%}
.tour-list{margin-top:8px;font-weight:700}

/* イドベタのこと：丸い札 */
.about-list{margin-top:32px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.about-list a{display:block;background:#fff;border-radius:24px;padding:20px 28px;text-decoration:none;height:100%;transition:background-color .2s}
.about-list a:hover{background:var(--yellow)}
.about-list b{display:flex;align-items:center;gap:10px;font-size:20px}
.about-list b::before{content:"";flex:none;width:14px;height:14px;border-radius:50%;background:var(--orange)}
.about-list li:nth-child(even) b::before{background:var(--teal)}
.about-list span{display:block;margin:2px 0 0 24px}

/* お知らせ：1 枚大＋2 枚小 */
.news-head{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.news-head a{font-weight:700;text-underline-offset:5px;text-decoration-thickness:2px}
.news-head a:hover{color:var(--teal-deep)}
.news-cards{margin-top:32px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);grid-template-rows:auto auto;gap:20px}
.news-cards li{min-width:0}
.news-cards li:first-child{grid-row:1/3}
.news-cards a{display:block;height:100%;text-decoration:none;color:var(--ink);background:#fff;border-radius:24px;overflow:hidden}
.news-cards img{width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;background:#fff}
.news-cards li:first-child img{aspect-ratio:4/3}
.news-cards .in{display:block;padding:12px 24px 24px}
.news-cards .nt{display:block;font-weight:700;line-height:1.6;overflow-wrap:anywhere}
.news-cards li:first-child .nt{font-size:20px}
.news-cards .nm{display:block;margin-top:8px;font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.news-cards li:nth-child(1) .tab{background:var(--orange)}
.news-cards li:nth-child(2) .tab{background:var(--teal)}
.news-cards li:nth-child(3) .tab{background:var(--yellow)}
.news-cards a:hover .nt,.news-cards a:focus-visible .nt{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.news-cards a:focus-visible{outline:3px solid var(--ink);outline-offset:4px}

/* サポーター：3 つの丸いバッジ */
.badges{margin:40px 0 24px;display:flex;flex-wrap:wrap;gap:24px 32px}
.badges li{width:clamp(150px,19vw,230px);aspect-ratio:1/1;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-weight:700;font-size:clamp(16px,1.8vw,22px);line-height:1.5;padding:12px}
.badges small{display:block;font-size:16px;font-weight:700}
.badges li:nth-child(1){background:var(--orange)}
.badges li:nth-child(2){background:var(--teal)}
.badges li:nth-child(3){background:var(--yellow)}
.support .fee{margin-bottom:28px}

/* お問い合わせ */
.contact .card{padding:40px;display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center}
.contact .mail{margin-top:20px;font-weight:700;font-size:20px;overflow-wrap:anywhere}
.contact .mail a:hover{color:var(--teal-deep)}

/* footer：ティールの波の下に団体の緑 */
.footer{background:var(--green);color:var(--ink);padding:56px 0 40px}
.footer a{text-decoration:none}
.footer a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.footer .top{display:flex;justify-content:space-between;gap:48px}
.footer .org{font-size:20px;font-weight:700}
.footer .addr{margin-top:12px}
.footer .addr+.addr{margin-top:8px}
.footer .copy{margin-top:56px;font-family:"Inter",sans-serif;font-weight:600}
.sitemap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 40px;max-width:560px}
.wave-foot{background:var(--mint)}
.wave-foot .p3{fill:var(--green)}

/* ログイン中の管理バーに隠れないようにする */
.admin-bar .logo,.admin-bar .pillnav,.admin-bar .menu{margin-top:32px}
@media (max-width:782px){.admin-bar .logo,.admin-bar .pillnav,.admin-bar .menu{margin-top:46px}}
@media (max-width:1100px){
  .pillnav a{padding:8px 12px;font-size:14px}
}
@media (max-width:960px){
  .pillnav{display:none}
  .menu{display:block}
}
@media (max-width:860px){
  :root{--gutter:20px;--section-y:56px}
  .logo{width:72px;height:72px;top:14px;left:12px;padding:6px}
  .menu{top:22px}
  .fv{padding:96px 0 24px}
  .fv .wrap{grid-template-columns:minmax(0,1fr);gap:28px}
  .sticker{width:170px}
  .wave svg{height:36px}
  .step{gap:16px;min-height:0;padding:12px 0}
  .step img{width:140px;border-width:5px}
  .step p{font-size:16px}
  .chip{font-size:16px;padding:4px 16px}
  .gyomo-grid{grid-template-columns:minmax(0,1fr);gap:32px}
  .gyomo-photo{width:70%;justify-self:center}
  .pill{padding:14px 24px;text-align:left;border-radius:32px}
  .roca-card{padding:24px 20px}
  .roca-pics{grid-template-columns:minmax(0,1fr)}
  .yado-body{flex-direction:column;align-items:flex-start;gap:16px;padding:16px 20px 24px}
  .yado-body img{width:100%;max-width:320px}
  .bento{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .bento .big{grid-column:1/3;grid-row:auto}
  .bento .big img{aspect-ratio:4/3}
  .bento li:nth-child(4),.bento li:nth-child(5){grid-column:1/3}
  .door{grid-template-columns:minmax(0,1fr)}
  .door .tab{padding:8px 20px;font-size:16px}
  .door-body{padding:16px 20px 24px}
  .contents{grid-template-columns:minmax(0,1fr)}
  .door .tour{grid-template-columns:minmax(0,1fr)}
  .about-list{grid-template-columns:minmax(0,1fr)}
  .news-cards{grid-template-columns:minmax(0,1fr)}
  .news-cards li:first-child{grid-row:auto}
  .contact .card{grid-template-columns:minmax(0,1fr);padding:24px 20px;gap:20px}
  .footer .top{flex-direction:column;gap:32px}
  .sitemap{grid-template-columns:1fr 1fr;gap:8px 20px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important}
}
