/* クロセツ 公式サイト v2（2026-11-25）
   参考：水彩のにじみ・手書きのコピー・英字＋日本語の見出し・ゆるく傾いたカード・大きな角丸のヒーロー
   色・書体はアプリと同じ系統（ピンク→薄紫、濃いピンクの主役、Zen Maru Gothic と Nunito）＋手書き風の Klee One。暗い背景にしない */
:root {
  --pink: #E23F82; --pink2: #F0508C; --pink-soft: #FFE3EE; --lav: #8A63D2; --kuro: #6B4FA0;
  --ink: #2A2838; --sub: #5B5670; --line: #F3D3E2; --card: #FFFFFF; --cream: #FFF9FB; --yellow: #FFE38A;
  --jp: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', sans-serif;
  --hand: 'Klee One', 'Zen Maru Gothic', serif;
  --en: 'Nunito', 'Zen Maru Gothic', sans-serif;
  --r: 32px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--jp); font-weight: 500; color: var(--ink); background: var(--cream); line-height: 1.9; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(255, 249, 251, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 21px; color: var(--pink); letter-spacing: 2px; }
.brand img { width: 40px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--sub); padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a:focus-visible { background: var(--pink-soft); color: var(--pink); outline: none; }
.nav a.cta-mini { color: var(--pink); border: 2px solid #F7B3CC; margin-left: 6px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { font-size: 15px; padding: 12px 8px; }
  .nav a.cta-mini { margin: 6px 0 0; text-align: center; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pink-soft); color: var(--pink); font-size: 20px; cursor: pointer; }
}

/* ヒーロー：大きな角丸のパネル（空の色）＋手書きのコピー＋ふたり */
.hero { padding-block: 8px 0; }
.hero-panel { position: relative; overflow: hidden; border-radius: 40px; min-height: max(600px, min(80vh, 700px)); margin: 0 auto; max-width: 1400px;
  background: radial-gradient(ellipse at 18% 12%, #FFFFFF 0, rgba(255,255,255,0) 32%),
              radial-gradient(ellipse at 82% 88%, #FFE1EE 0, rgba(255,225,238,0) 46%),
              linear-gradient(160deg, #BFE3FA 0%, #D9E6FF 38%, #F3DDF6 72%, #FFE3EE 100%); }
.hero-panel .wc { position: absolute; pointer-events: none; opacity: .9; }
.hero-copy { position: absolute; top: 8%; right: 7%; z-index: 3; writing-mode: vertical-rl; font-family: var(--hand); font-weight: 600; color: #3A3552; font-size: clamp(24px, 3vw, 42px); line-height: 1.6; letter-spacing: .1em; text-shadow: 0 2px 0 rgba(255,255,255,.7); white-space: nowrap; }
.hero-copy span { display: block; }
.hero-copy .l2 { margin-top: 1.6em; }
.hero-art { position: absolute; left: 4%; bottom: -2%; z-index: 2; width: min(58%, 640px); filter: drop-shadow(0 26px 30px rgba(110, 80, 150, .22)); animation: float 6s ease-in-out infinite; }
.hero-badge { position: absolute; left: 5%; top: 7%; z-index: 3; background: rgba(255,255,255,.85); color: var(--pink); font-size: 14px; font-weight: 700; padding: 8px 18px; border-radius: 999px; letter-spacing: 1px; box-shadow: 0 8px 20px rgba(194, 24, 91, .1); }
@keyframes float { 50% { transform: translateY(-12px); } }
@media (max-width: 760px) {
  .hero-panel { min-height: 600px; border-radius: 28px; }
  .hero-copy { top: 12%; right: 6%; font-size: 27px; }
  .hero-art { width: 92%; left: 4%; }
}

/* ステートメント：手書きの大きな一文＋水彩の筆あと */
.statement { padding-block: 96px 40px; }
.statement h2 { position: relative; display: inline-block; font-family: var(--hand); font-weight: 600; font-size: clamp(24px, 3.4vw, 40px); word-break: auto-phrase; line-height: 1.5; z-index: 0; }
.statement h2 .en { display: block; font-family: var(--en); font-size: .5em; letter-spacing: .08em; color: var(--pink); }
.statement h2::after { content: ""; position: absolute; left: -4%; right: -6%; bottom: -.1em; height: .9em; background: url(img/wc-stroke.png) center / 100% 100% no-repeat; z-index: -1; }
.manifesto { margin-top: 40px; display: grid; gap: 22px; font-size: 16.5px; color: #3A3552; }
.manifesto p { line-height: 2.1; }
.manifesto b { color: var(--pink); font-weight: 700; }

/* セクション見出し：英字（淡い）＋日本語（グラデーション） */
.sec { position: relative; padding-block: 110px; }
.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head .en { font-family: var(--en); font-weight: 800; letter-spacing: .2em; font-size: 15px; color: #F6A9C6; }
.sec-head h2 { word-break: auto-phrase; text-wrap: balance; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.4; background: linear-gradient(90deg, #F06C9B, #F59A7C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-head p { color: var(--sub); max-width: 34em; margin: 14px auto 0; }
.panel { background: #fff; border-radius: 48px; box-shadow: 0 -10px 40px rgba(240, 120, 160, .06); }
@media (max-width: 760px) { .sec { padding-block: 72px; } .panel { border-radius: 32px; } }

/* CONTENTS：ゆるく傾いた水彩カード */
.tiles { overflow: hidden; padding: 20px 0 40px; display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.tile { position: relative; width: 230px; aspect-ratio: 230 / 290; text-decoration: none; display: block; transition: transform .35s; }
.tile:nth-child(1) { transform: rotate(-5deg); }
.tile:nth-child(2) { transform: rotate(3deg) translateY(30px); }
.tile:nth-child(3) { transform: rotate(-2deg); }
.tile:nth-child(4) { transform: rotate(5deg) translateY(30px); }
.tile:hover, .tile:focus-visible { transform: rotate(0) translateY(-8px) scale(1.03); outline: none; }
.tile .bg { position: absolute; inset: 0; background-size: 100% 100%; border-radius: 26px; }
.tile .t { position: absolute; top: 18px; left: 0; right: 0; text-align: center; font-size: 22px; font-weight: 700; }
.tile img { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); max-height: 70%; width: auto; filter: drop-shadow(0 10px 14px rgba(100, 70, 140, .18)); }
@media (max-width: 760px) { .tile { width: 44%; } .tile:nth-child(2), .tile:nth-child(4) { transform: rotate(3deg) translateY(18px); } }

/* APP：スマホの枠＋水彩 */
.app { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.app .text { position: relative; }
.app .text::before { content: ""; position: absolute; left: -60px; top: 20%; width: 360px; height: 280px; background: url(img/wc-peach.png) center / contain no-repeat; z-index: -1; opacity: .8; }
.app h3 { font-family: var(--hand); font-weight: 600; font-size: 28px; color: var(--pink); margin-bottom: 14px; }
.app p { color: #3A3552; margin-bottom: 14px; }
.phones { position: relative; display: flex; justify-content: center; gap: 18px; }
.phone { width: 44%; max-width: 230px; background: #fff; border-radius: 34px; padding: 10px; box-shadow: 0 24px 50px rgba(140, 70, 120, .18); }
.phone img { border-radius: 26px; }
.phone:nth-child(2) { transform: translateY(46px); }
.note { font-size: 12.5px; color: var(--sub); margin-top: 64px; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.step { position: relative; padding: 30px 26px 26px; min-width: 0; }
.step .bg { position: absolute; inset: 0; background-size: 100% 100%; opacity: .9; z-index: 0; }
.step > *:not(.bg) { position: relative; z-index: 1; }
.step .n { font-family: var(--en); font-weight: 800; font-size: 40px; color: #fff; text-shadow: 0 3px 0 rgba(226, 63, 130, .25); line-height: 1; }
.step h4 { font-size: 19px; margin: 10px 0 6px; }
.step p { font-size: 14.5px; color: #3A3552; }
@media (max-width: 860px) { .app { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr; } .app .text::before { left: -20px; } }

/* CHARACTER：水彩のプロフィールカード */
.charas { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.chara { position: relative; padding: 40px 34px 34px; min-width: 0; }
.chara .bg { position: absolute; inset: 0; background-size: 100% 100%; z-index: 0; }
.chara > *:not(.bg) { position: relative; z-index: 1; }
.chara .top { display: grid; grid-template-columns: 1fr 170px; gap: 12px; align-items: end; }
.chara .role { font-size: 13px; color: var(--sub); letter-spacing: 1px; }
.chara h3 { font-family: var(--hand); font-weight: 600; font-size: 44px; line-height: 1.2; }
.chara .roma { font-family: var(--en); font-size: 14px; letter-spacing: .15em; }
.chara.kuro h3, .chara.kuro .roma { color: var(--kuro); }
.chara.setsu h3, .chara.setsu .roma { color: var(--pink); }
.chara .top img { height: 220px; width: auto; justify-self: center; filter: drop-shadow(0 12px 16px rgba(100, 70, 140, .2)); }
.chara .say { font-family: var(--hand); font-weight: 600; font-size: 18px; background: rgba(255,255,255,.85); border-radius: 22px 22px 22px 6px; padding: 12px 18px; margin: 14px 0 6px; display: inline-block; }
.chara dl { font-size: 14.5px; margin-top: 10px; }
.chara dt { font-weight: 700; margin-top: 10px; }
.chara dd { color: #3A3552; margin: 0; }
@media (max-width: 860px) { .charas { grid-template-columns: 1fr; } .chara .top { grid-template-columns: 1fr 130px; } .chara .top img { height: 170px; } }

/* 着せかえの帯（横にゆっくり流れる） */
.closet { margin-top: 60px; text-align: center; }
.closet h3 { word-break: auto-phrase; font-family: var(--hand); font-weight: 600; font-size: 24px; color: var(--pink); }
.closet p { color: var(--sub); font-size: 14px; }
.marquee { overflow: hidden; margin-top: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee .row { display: flex; gap: 22px; width: max-content; animation: slide 46s linear infinite; }
.marquee img { height: 150px; width: auto; }
@keyframes slide { to { transform: translateX(-50%); } }

/* COLUMN */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.col { position: relative; display: flex; flex-direction: column; text-decoration: none; background: #fff; border-radius: 30px; overflow: hidden; box-shadow: 0 16px 36px rgba(140, 70, 120, .08); transition: transform .3s; min-width: 0; }
.col:hover { transform: translateY(-6px); }
.col:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; }
.col .thumb { position: relative; aspect-ratio: 16 / 11; display: grid; place-items: center; overflow: hidden; }
.col .thumb .bg { position: absolute; inset: -10%; background-size: 100% 100%; }
.col .thumb img { position: relative; height: 80%; width: auto; }
.col .body { padding: 18px 22px 24px; }
.col .cat { font-family: var(--en); font-weight: 800; font-size: 12px; letter-spacing: .15em; color: var(--pink); }
.col h3 { font-size: 17px; line-height: 1.55; margin: 6px 0; word-break: auto-phrase; }
.col p { font-size: 13px; color: var(--sub); }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

/* STICKER */
.stickers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.stickers img { background: #fff; border-radius: 22px; padding: 10px; box-shadow: 0 10px 24px rgba(140, 70, 120, .08); transition: transform .25s; }
.stickers img:hover { transform: rotate(-4deg) scale(1.05); }
.center-note { text-align: center; color: var(--sub); margin-top: 22px; font-size: 14px; }
@media (max-width: 600px) { .stickers { grid-template-columns: repeat(2, 1fr); } }

/* NEWS */
.news { list-style: none; padding: 0; max-width: 820px; margin: 0 auto; }
.news li { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 22px 6px; border-bottom: 1px dashed #F1C3D6; }
.news time { font-family: var(--en); font-weight: 800; color: var(--pink); letter-spacing: 1px; }
.news b { display: block; }
.news span { font-size: 14px; color: var(--sub); }
@media (max-width: 600px) { .news li { grid-template-columns: 1fr; gap: 2px; } }

/* ABOUT（作り手の思い＋表） */
.letter { position: relative; max-width: 760px; margin: 0 auto; padding: 46px 48px; }
.letter .bg { position: absolute; inset: 0; background-size: 100% 100%; z-index: 0; }
.letter > *:not(.bg) { position: relative; z-index: 1; }
.letter p { font-family: var(--hand); font-weight: 600; font-size: 17px; line-height: 2.1; margin: 0 0 14px; color: #3A3552; }
.letter .sign { text-align: right; color: var(--pink); }
.info { max-width: 760px; margin: 36px auto 0; border-collapse: collapse; width: 100%; font-size: 14.5px; }
.info th, .info td { text-align: left; padding: 14px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info th { width: 9em; color: var(--sub); font-weight: 700; }
@media (max-width: 600px) { .letter { padding: 32px 26px; } }

/* さいごの誘い */
.closing { position: relative; text-align: center; padding-block: 90px 110px; overflow: hidden; }
.closing h2 { word-break: auto-phrase; font-family: var(--hand); font-weight: 600; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.6; }
.closing img { width: min(420px, 80%); margin: 26px auto 0; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 32px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; color: #fff; background: linear-gradient(135deg, #FF6FA3, var(--pink)); box-shadow: 0 12px 26px rgba(194, 24, 91, .28); transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; }
.btn.ghost { background: #fff; color: var(--sub); box-shadow: none; border: 2px dashed #E7C9D8; cursor: default; }

/* 記事ページ（v1 から引きつぐ） */
.label { font-family: var(--en); font-weight: 800; font-size: 13px; letter-spacing: 4px; color: var(--pink); }
.article { max-width: 760px; margin: 0 auto; padding-block: 56px 80px; }
.article .crumb { font-size: 13px; color: var(--sub); }
.article .crumb a { color: var(--pink); }
.article h1 { font-size: clamp(24px, 4vw, 36px); line-height: 1.5; margin: 12px 0 16px; word-break: auto-phrase; }
.article .lead { font-size: 17px; color: var(--sub); padding: 18px 22px; background: #fff; border-radius: 20px; border-left: 6px solid var(--pink2); }
.article .eye { position: relative; margin: 28px 0; border-radius: 28px; overflow: hidden; display: grid; place-items: center; padding: 24px; background: linear-gradient(160deg, #FFE3EE, #F1E4FF); }
.article .eye img { height: 240px; width: auto; }
.article h2 { font-size: 23px; margin: 46px 0 14px; padding-left: 14px; border-left: 6px solid var(--pink2); line-height: 1.5; }
.article p { margin: 14px 0; font-size: 16.5px; }
.article .say { display: flex; gap: 14px; align-items: flex-end; margin: 26px 0; }
.article .say img { width: 86px; }
.article .say div { background: #fff; border-radius: 22px 22px 22px 6px; padding: 14px 18px; box-shadow: 0 8px 20px rgba(120, 60, 120, .08); font-size: 15px; font-family: var(--hand); font-weight: 600; }
.article .sum { background: #fff; border-radius: 24px; padding: 22px 26px; margin-top: 36px; border: 2px solid var(--line); }
.article .sum h2 { margin: 0 0 8px; border: 0; padding: 0; font-size: 18px; color: var(--pink); }
.article .sum ul { padding-left: 1.2em; }
.article .cta { margin-top: 28px; text-align: center; }
.article .cta p { color: var(--sub); }

/* フッター */
.ft { background: linear-gradient(170deg, #F6E1FA 0%, #FFD3E5 100%); padding-block: 52px 36px; }
.ft .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-start; }
.ft nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
.ft nav a { text-decoration: none; opacity: .85; }
.ft small { display: block; width: 100%; margin-top: 18px; opacity: .7; font-size: 12px; }

/* スクロールで出る（止まった状態でも見える） */
.rv { transition: opacity .8s ease, transform .8s ease; }
.js .rv:not(.in) { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) { .js .rv:not(.in) { opacity: 1; transform: none; } .hero-art, .marquee .row { animation: none; } html { scroll-behavior: auto; } }
