/* パイン×アップル 紹介ページ：果物屋さんの店先（日よけ・値札・木箱） */
:root {
  --leaf: #0e2a1f; --leaf-2: #17402f; --leaf-3: #22573f;
  --gold: #ffcd3c; --gold-deep: #f29a16; --apple: #ff3b4d; --cream: #fff6e3; --paper: #fffaf0; --ink: #2a1306; --mint: #8af5c4; --kraft: #e9cf9e;
  --f: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --fd: "Dela Gothic One", "Hiragino Sans", sans-serif;
  --sw: 34px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--f); font-weight: 500; font-size: 16px; line-height: 1.85;
  background: var(--cream); background-image: radial-gradient(rgba(242,154,22,.13) 1.4px, transparent 1.9px); background-size: 22px 22px; }
img { max-width: 100%; height: auto; display: block; }
a { color: #b4321f; text-underline-offset: 3px; }
.wrap { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
p, h1, h2, h3, ul, ol, dl, figure { margin: 0; }
.nw { white-space: nowrap; }
.kw { word-break: keep-all; overflow-wrap: anywhere; }

/* 日よけ */
.awning { position: relative; height: 44px; background: repeating-linear-gradient(90deg, var(--apple) 0 var(--sw), var(--cream) var(--sw) calc(var(--sw) * 2)); box-shadow: 0 8px 18px rgba(0,0,0,.18); z-index: 2; }
.awning::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: calc(var(--sw) / 2);
  background: radial-gradient(circle at 50% 0, var(--apple) calc(var(--sw) / 2 - 1px), transparent calc(var(--sw) / 2)) calc(var(--sw) / -2) 0 / calc(var(--sw) * 2) 100% repeat-x,
    radial-gradient(circle at 50% 0, var(--cream) calc(var(--sw) / 2 - 1px), transparent calc(var(--sw) / 2)) calc(var(--sw) / 2) 0 / calc(var(--sw) * 2) 100% repeat-x; }

/* ヒーロー */
.hero { background: radial-gradient(120% 90% at 50% 30%, var(--leaf-3) 0%, var(--leaf-2) 50%, var(--leaf) 100%); color: var(--cream); padding-bottom: 56px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,246,227,.07) 1.3px, transparent 1.8px); background-size: 22px 22px; pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; padding-top: 52px; }
.brand { line-height: 0; margin-bottom: 14px; }
.brand img { height: 22px; width: auto; }
h1 { font-family: var(--fd); font-weight: 400; line-height: 1.05; }
h1 .t { display: inline-block; font-size: clamp(46px, 7vw, 84px); paint-order: stroke fill; -webkit-text-stroke: .12em var(--ink); transform: rotate(-3deg); white-space: nowrap; }
h1 .lp { color: var(--gold); text-shadow: 0 .07em 0 var(--apple), 0 .13em 0 var(--ink); }
h1 .lx { display: inline-block; color: var(--cream); font-size: .6em; margin: 0 .08em; transform: translateY(-.14em) rotate(12deg); text-shadow: 0 .1em 0 var(--ink); }
h1 .la { color: var(--apple); text-shadow: 0 .07em 0 var(--gold), 0 .13em 0 var(--ink); }
h1 .sub { display: block; font-family: var(--f); font-weight: 800; font-size: 15px; letter-spacing: .08em; color: var(--mint); margin-top: 26px; }
.lead { margin-top: 16px; font-size: 17px; font-weight: 800; line-height: 1.8; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
.btn-go { display: inline-flex; align-items: center; gap: .4em; font-family: var(--fd); font-size: 24px; letter-spacing: .06em; color: var(--ink); background: var(--gold); border-radius: 16px;
  padding: .5em 1.4em .56em; box-shadow: 0 6px 0 var(--gold-deep), 0 12px 24px rgba(0,0,0,.3); text-decoration: none; transition: transform .08s, box-shadow .08s; }
.btn-go:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--gold-deep), 0 14px 28px rgba(0,0,0,.3); }
.btn-go:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--gold-deep); }
.btn-go svg { width: 1.1em; height: 1.1em; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; }
.cta-note { font-size: 13px; color: rgba(255,246,227,.75); }
.hero-shot { position: relative; transform: rotate(2deg); }
.hero-shot img { border: 6px solid var(--cream); border-radius: 10px; box-shadow: 0 16px 36px rgba(0,0,0,.45); }
.hero-shot .tag { position: absolute; left: -14px; bottom: -18px; transform: rotate(-6deg); }

/* 値札（見出し） */
.sec { padding: 64px 0 8px; }
.sec-head { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.tag { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 74px; height: 74px; padding: 0 12px 0 22px;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 10px 18px 18px 10px; box-shadow: 0 4px 0 var(--ink); transform: rotate(-4deg); font-family: var(--fd); line-height: 1; }
.tag::before { content: ""; position: absolute; left: 7px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--cream); }
.tag i { font-style: normal; font-family: var(--f); font-weight: 800; font-size: 10px; letter-spacing: .12em; color: #7a5a3a; }
.tag b { font-weight: 400; font-size: 30px; color: var(--apple); }
.sec-head h2 { font-family: var(--fd); font-weight: 400; font-size: clamp(26px, 4vw, 36px); line-height: 1.25; }
.sec-head .kana { width: 100%; font-weight: 800; font-size: 13px; letter-spacing: .14em; color: #7a5a3a; margin-top: -8px; padding-left: 4px; }
.sec-lead { font-size: 16px; max-width: 46em; margin-bottom: 22px; }

/* あそびかた */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; counter-reset: st; }
.step { background: var(--paper); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.step img { aspect-ratio: 1200 / 780; object-fit: cover; border-bottom: 3px solid var(--ink); }
.step-body { padding: 16px 18px 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.step-body::before { counter-increment: st; content: counter(st); grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--fd); font-size: 20px; color: var(--ink); background: var(--gold); border: 3px solid var(--ink); }
.step h3 { font-family: var(--fd); font-weight: 400; font-size: 21px; line-height: 1.35; }
.step p { font-size: 15px; margin-top: 4px; }

/* 熟れ具合 */
.ripe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; padding: .3em .9em; border-radius: 99px; border: 3px solid var(--ink); background: var(--paper); white-space: nowrap; }
.chip i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }
.arrow { font-weight: 800; color: #7a5a3a; }
.rate-tbl { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 8px; }
.rate { display: flex; align-items: center; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; background: var(--leaf-2); color: var(--cream); border: 3px solid var(--ink); border-radius: 16px; padding: 10px 18px; box-shadow: 0 4px 0 var(--ink); }
.rate b { font-family: var(--fd); font-weight: 400; font-size: 22px; letter-spacing: .02em; white-space: nowrap; }
.rate span { font-size: 14px; font-weight: 800; }
.rate.p b { color: var(--gold); } .rate.g b { color: var(--mint); } .rate.o b { color: var(--cream); }
.box { background: var(--paper); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 0 6px 0 var(--ink); padding: 22px 22px 24px; }
.two { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; align-items: start; }
.box h3 { font-family: var(--fd); font-weight: 400; font-size: 20px; margin-bottom: 8px; }
.box p + p { margin-top: 8px; }
.note-s { font-size: 14px; color: #5a4632; }

/* コツ */
.tips { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tips li { position: relative; background: var(--paper); border: 3px solid var(--ink); border-radius: 18px; padding: 14px 16px 14px 56px; font-weight: 800; box-shadow: 0 4px 0 var(--ink); }
.tips li::before { content: ""; position: absolute; left: 14px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--apple); border: 3px solid var(--ink);
  background-image: radial-gradient(circle at 35% 35%, rgba(255,255,255,.7) 0 3px, transparent 4px); }
.tips li:nth-child(even)::before { background-color: var(--gold); }
.tips small { display: block; font-weight: 500; font-size: 14px; color: #5a4632; margin-top: 2px; }

/* ランク */
.ranks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ranks li { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; background: var(--paper); border: 2px solid #ead9b6; border-radius: 14px; padding: 6px 14px 6px 8px; }
.ranks .r { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--fd); font-size: 20px; border: 3px solid var(--ink); background: var(--cream); transform: rotate(-8deg); }
.ranks .rSS { background: linear-gradient(135deg, #fff3a8, #ffcd3c 40%, #ff8a3c); } .ranks .rS { background: var(--gold); } .ranks .rA { background: var(--apple); color: #fff; } .ranks .rB { background: var(--mint); }
.ranks b { font-weight: 800; }
.ranks span { font-family: var(--fd); font-size: 15px; color: #7a5a3a; white-space: nowrap; }
.shot-frame img { border: 6px solid #fff; border-radius: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.25); transform: rotate(-1.5deg); }

/* じゅんび・安全 */
.safe { padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.safe li { list-style: none; background: var(--leaf-2); color: var(--cream); border: 3px solid var(--ink); border-radius: 20px; padding: 18px 16px; box-shadow: 0 5px 0 var(--ink); }
.safe li:first-child { background: #4a3608; border-color: var(--ink); outline: 3px solid var(--gold); outline-offset: -9px; }
.safe svg { width: 56px; height: 56px; margin-bottom: 6px; }
.safe b { display: block; font-family: var(--fd); font-weight: 400; font-size: 19px; }
.safe span { font-size: 14px; color: rgba(255,246,227,.85); }
.safe ul { padding: 0; }
.ic-c { fill: var(--cream); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.ic-g { fill: var(--gold); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.ic-m { fill: var(--mint); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.ic-i { fill: var(--ink); }
.ic-l { fill: none; stroke: var(--cream); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.ic-d { fill: none; stroke: var(--gold); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 3 5; }
.ic-t { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }

/* おうちの方へ（木箱の札） */
.parents { background: var(--leaf); color: var(--cream); margin-top: 72px; padding: 0 0 64px; position: relative; }
.parents .sec { padding-top: 56px; }
.parents .sec-head h2 { color: var(--cream); }
.parents .sec-head .kana { color: var(--mint); }
.p-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.p-card { background: var(--paper); color: var(--ink); border: 3px solid var(--ink); border-radius: 18px; padding: 20px 20px 22px; box-shadow: 0 6px 0 #000; }
.p-card h3 { font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.p-card h3::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--apple); transform: rotate(45deg); }
.p-card p, .p-card li { font-size: 15px; }
.p-card ul { padding-left: 1.2em; margin-top: 6px; }
.p-card li + li { margin-top: 4px; }
.p-card.wide { grid-column: 1 / -1; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { color: var(--ink); background: var(--paper); border: 3px solid var(--ink); border-radius: 16px; padding: 0 18px; box-shadow: 0 4px 0 var(--ink); }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; padding: 14px 28px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--fd); font-size: 22px; color: var(--apple); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; font-size: 15px; }

/* さいごの呼びかけ */
.end { text-align: center; padding: 72px 0 40px; }
.end h2 { font-family: var(--fd); font-weight: 400; font-size: clamp(30px, 5vw, 44px); line-height: 1.2; margin-bottom: 18px; }
.end h2 em { font-style: normal; color: var(--apple); }
footer { text-align: center; font-size: 13px; padding: 20px 16px 40px; color: #5a4632; }
footer a { color: inherit; }
footer .links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 8px; font-weight: 500; }
footer .links a + a::before { content: "/"; display: inline-block; opacity: .55; text-decoration: none; margin-right: 10px; }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 40px; gap: 34px; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .steps, .tips, .p-grid, .safe { grid-template-columns: 1fr; }
  .rate { padding: 8px 14px; flex-direction: column; align-items: flex-start; gap: 0; }
  .rate b { font-size: 19px; }
  .rate span { font-size: 14px; }
  .lead { font-size: 16px; }
  .btn-go { font-size: 21px; }
  .sec { padding-top: 52px; }
  .ranks li { grid-template-columns: 46px 1fr; }
  .ranks span { grid-column: 2; font-size: 13px; margin-top: -8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
h2, h3, .step h3, .tips li, .p-card h3 { word-break: keep-all; overflow-wrap: anywhere; }
/* 「なかよし！」の吹き出し */
/* 2026-10-15 「パ」の上半分にかぶっていたので、文字の上へ持ち上げ、そのぶんタイトルの上をあける */
h1 .t{position:relative;margin-top:.62em}
h1 .nk{position:absolute;left:-.12em;top:-2.55em;z-index:2;font-size:.3em;line-height:1;white-space:nowrap;color:var(--apple);background:var(--cream);border:.1em solid var(--ink);border-radius:999px;padding:.3em .3em .34em .62em;box-shadow:0 .12em 0 var(--ink);-webkit-text-stroke:0;text-shadow:none;transform:rotate(-9deg)}
/* しっぽ：ふちの三角（濃い色）に、中の三角（クリーム色）を重ねる。中の三角は吹き出しのふちの上まで入れて、つなぎ目の線を消す */
h1 .nk::before{content:"";position:absolute;right:18%;bottom:-.66em;width:1em;height:.78em;background:var(--ink);clip-path:polygon(0 0,100% 0,80% 100%,74% 100%)}
h1 .nk::after{content:"";position:absolute;right:calc(18% + .16em);bottom:-.4em;width:.62em;height:.54em;background:var(--cream);clip-path:polygon(0 0,100% 0,72% 100%,66% 100%)}
