/* TOP 構成表 v2・案 A（見本 1 枚目: 白地・太いゴシック・赤いボタン・薄い色の帯・手書き風の添え書き） */
:root {
  --ink: #1b1b1d;
  --text: #2a2a2d;
  --red: #e8412c;
  --red-dark: #c9311f;
  --pink: #fdecee;
  --beige: #f8efe0;
  --blue: #e5f1fa;
  --line: #e4ddd3;
  --white: #fff;
  --radius: 18px;
  --inner: 1200px;
  --gutter: 16px;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --hand: "Zen Kurenaido", "Klee One", "Noto Sans JP", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1.75; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: 0; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--ink); font-weight: 900; line-height: 1.25; letter-spacing: .01em; }
.sp { display: inline; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.section-inner { max-width: var(--inner); margin: 0 auto; padding: 0 var(--gutter); }

/* 部品 */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 56px; padding: 0 34px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 900; font-size: 18px; text-decoration: none; letter-spacing: .04em; box-shadow: 0 6px 0 rgba(201, 49, 31, .22); transition: transform .15s, background .15s; }
.button:hover { background: var(--red-dark); transform: translateY(-2px); }
.underlink { display: inline-flex; align-items: center; gap: .5em; color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.underlink:hover { color: var(--red); }
.underlink.small { font-size: 15px; }
.stars { color: #f2a81d; letter-spacing: .08em; }
.hand { font-family: var(--hand); font-weight: 400; color: var(--ink); line-height: 1.5; }

/* 枠 1 ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1320px; margin: 0 auto; padding: 6px var(--gutter) 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); flex: 1 1 auto; min-width: 0; }
.brand svg { width: 30px; height: 23px; fill: var(--ink); }
.brand-text { display: grid; line-height: 1.1; }
.brand-text b { font-size: 22px; font-weight: 900; letter-spacing: .08em; }
.brand-text small { font-size: 13px; margin-left: 6px; letter-spacing: .02em; }
.brand-text em { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; margin-top: 3px; }
.main-nav { display: none; }
.header-tools { display: contents; }
.search-button, .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; cursor: pointer; }
.search-button span { display: none; }
.search-button svg, .menu-toggle svg, .device-link svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.device-link { order: 5; flex: 1 0 100%; display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 40px; padding: 0 12px 0 8px; border: 2px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.device-link svg { width: 18px; height: 18px; }
.mobile-nav { display: grid; border-top: 1px solid var(--line); background: #fff; padding: 4px var(--gutter) 12px; }
.mobile-nav a { padding: 13px 4px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav a.sub { font-size: 14px; font-weight: 500; }
.site-header a[aria-current="page"] { color: var(--red); }

/* 枠 2 第一画面 */
.hero { position: relative; background: #fefefe; overflow: hidden; }
.hero-inner { max-width: 1320px; margin: 0 auto; padding: 18px var(--gutter) 28px; display: grid; gap: 14px; }
.label { display: flex; align-items: center; gap: 12px; color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: .08em; }
.label i { flex: 0 0 44px; height: 2px; background: var(--red); }
.hero h1 { font-size: clamp(46px, 14.4vw, 104px); line-height: 1.12; margin-top: 10px; letter-spacing: -.01em; }
.hero-sub { margin-top: 12px; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.hero-actions { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero-art { position: relative; }   /* スマホ: 文字が先、画像はその下 */
.hero-photo { position: relative; margin: 0 calc(var(--gutter) * -1); }
.hero-photo img { width: 100%; height: auto; }
.image-tag { position: absolute; right: 14px; bottom: 10px; background: #f1ece4; color: var(--ink); font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.hero-art .hand { margin-top: 4px; font-size: 22px; transform: rotate(-3deg); transform-origin: left center; padding-left: 6px; }

.order-strip { background: var(--pink); }
.strip-inner { max-width: var(--inner); margin: 0 auto; padding: 22px var(--gutter) 26px; display: grid; gap: 18px; align-items: center; }
.strip-image img { width: 100%; border-radius: 14px; background: #fff; }
.strip-lead { font-size: 26px; font-weight: 900; color: var(--ink); line-height: 1.3; }
.strip-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.strip-points li { background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.strip-note { margin-top: 8px; font-size: 14px; color: var(--text); }
.strip-price { margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.8; }
.strip-price b { font-size: 22px; font-weight: 900; color: var(--red); margin: 0 1px; }
.strip-price small { display: block; font-size: 13px; font-weight: 500; color: var(--text); }
.strip-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.mini-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 900; font-size: 15px; text-decoration: none; }
.mini-button:hover { background: var(--red-dark); }
.strip-review { margin-top: 12px; font-weight: 900; color: var(--ink); font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.store-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 700; }
.store-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.store-links a:hover { color: var(--red); }
.line-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: #06c755; color: #fff; font-weight: 900; font-size: 16px; text-decoration: none; }
.line-button:hover { background: #05a847; }
.insta-link { margin-top: 14px; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: 15px; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 14px; font-weight: 700; }

/* 枠 3 そのまま買える、好きな柄。 */
.collection { padding: 44px 0 36px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.section-head h2, .band-head h2, .faq h2 { font-size: clamp(30px, 8.4vw, 50px); }
.section-lead { font-weight: 700; color: var(--ink); margin-top: 6px; }
.chips { display: flex; gap: 8px; margin-top: 18px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.chip:hover { background: var(--ink); color: #fff; }
.boxes { max-width: var(--inner); margin: 18px auto 0; padding: 0 var(--gutter); display: grid; gap: 18px; }
.box { border-radius: var(--radius); padding: 20px 14px 16px; background: var(--beige); scroll-margin-top: 84px; }
.box-2, .box-5 { background: var(--blue); }
.box-3, .box-6 { background: var(--pink); }
.box-head h3 { font-size: clamp(26px, 7.4vw, 40px); word-break: keep-all; overflow-wrap: anywhere; }
.box-head p { margin-top: 4px; font-size: 16px; font-weight: 700; color: var(--ink); }
.box-more { margin-top: 10px; }
.box-items { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.item { display: block; text-decoration: none; color: var(--ink); }
.item img { width: 100%; transition: transform .18s; }
.item:hover img { transform: translateY(-4px) rotate(-1deg); }
.item-name { display: block; margin-top: 10px; text-align: center; font-size: 15px; font-weight: 900; color: var(--ink); line-height: 1.4; }
.item-type { display: block; margin-top: 2px; text-align: center; font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.5; }
.item-type b { font-size: 16px; font-weight: 900; color: var(--ink); }
.see { display: flex; justify-content: center; gap: .4em; margin-top: 4px; font-size: 14px; font-weight: 900; color: var(--red); }
.note { max-width: var(--inner); margin: 14px auto 0; padding: 0 var(--gutter); font-size: 13px; color: var(--text); line-height: 1.8; }

/* 帯（枠 4・5・6） */
.band { padding: 40px 0; }
.band-beige { background: var(--beige); }
.band-pink { background: var(--pink); }
.band-blue { background: var(--blue); }
.band-head p { margin-top: 6px; font-size: 17px; font-weight: 700; color: var(--ink); }
.band-head .underlink { margin-top: 10px; }
.duo-actions { margin-top: 16px; }

/* 枠 4 今月の新作 */
.new-body { margin-top: 18px; display: grid; gap: 14px; }
.new-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.sample-tag { display: block; margin-top: 8px; text-align: center; font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.new-tee { background: #fff; border-radius: 14px; padding: 10px; border: 2px dashed var(--ink); max-width: 260px; }
.new-tee .kind { display: inline-block; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 12px; border-radius: 999px; margin-bottom: 8px; }
.new-tee .item img { box-shadow: none; }
.new-items li { height: 100%; }
.new-items img { width: 100%; }
.new-items .item img { box-shadow: none; }

/* 枠 5 写真でつくる */
.photo { padding: 32px 0; }
.photo .band-head h2 { font-size: clamp(26px, 7.2vw, 40px); }
.photo-items { margin-top: 16px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.photo-items li { flex: 0 0 74%; scroll-snap-align: start; }
.photo-items img { width: 100%; border-radius: 14px; background: #fff; }
.photo-foot { margin-top: 16px; display: grid; gap: 18px; }
.reviews { display: grid; gap: 10px; }
.reviews blockquote { background: #fff; border-radius: 14px; padding: 14px 16px; }
.reviews .quote { font-size: 17px; font-weight: 900; color: var(--ink); line-height: 1.5; margin-top: 2px; }
.reviews footer { margin-top: 6px; display: flex; gap: 12px; font-size: 13px; font-weight: 700; color: var(--text); }
.reviews cite { font-style: normal; }
.photo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* 枠 6 ギフトと機種 */
.duo-grid { display: grid; gap: 18px; }
.duo-card { background: #fff; border-radius: var(--radius); padding: 22px 16px; scroll-margin-top: 84px; }
.duo-card h2 { font-size: clamp(26px, 7vw, 36px); }
.gift img { width: 100%; max-width: 460px; margin: 14px auto; border-radius: 12px; }
.devices > p { margin-top: 8px; }
.device-picker { margin-top: 14px; }
.device-picker legend { font-weight: 900; color: var(--ink); padding: 0; margin-bottom: 8px; }
.device-picker label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; margin-right: 8px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; cursor: pointer; }
.device-picker label:has(input:checked) { background: var(--ink); color: #fff; }
.device-picker input { accent-color: var(--red); }
.device-panel { margin-top: 14px; }
.device-panel h3 { font-size: 19px; }
.device-panel p { margin-top: 4px; font-size: 15px; }
.device-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.device-links a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; background: #fff; border: 2px solid var(--ink); color: var(--ink); font-weight: 900; font-size: 15px; text-decoration: none; }
.device-links a:hover { background: var(--ink); color: #fff; }
.case-types { margin-top: 18px; border-top: 2px solid var(--ink); padding-top: 4px; }
.case-types summary, .faq-list summary { cursor: pointer; font-weight: 900; color: var(--ink); padding: 12px 34px 12px 0; position: relative; list-style: none; }
.case-types summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.case-types summary::after, .faq-list summary::after { content: "＋"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%); font-weight: 900; color: var(--red); }
.case-types[open] summary::after, .faq-list details[open] summary::after { content: "－"; }
.case-types dl div { padding: 8px 0; border-top: 1px solid var(--line); }
.case-types dt { font-weight: 900; color: var(--ink); }
.case-types dd { font-size: 15px; }
.case-types .underlink { margin-top: 10px; }

/* 枠 7 読みもの */
.journal { padding: 44px 0 36px; }
.journal-grid { margin-top: 18px; display: grid; gap: 12px; }
.journal-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; text-decoration: none; background: var(--beige); border-radius: 14px; padding: 14px; color: var(--text); }
.journal-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; background: #fff; }
.journal-body { display: block; min-width: 0; }
.journal-card:hover { background: #f3e5cf; }
.journal-tag { display: inline-block; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 999px; }
.journal-card h3 { font-size: 17px; margin-top: 6px; line-height: 1.45; }
.journal-card p { font-size: 14px; margin-top: 4px; }
.journal-card time { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; }
.legacy-links { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.legacy-links span { font-weight: 900; color: var(--ink); }

/* 枠 8 よくある質問 */
.faq { padding: 36px 0 48px; }
.faq-grid { display: grid; gap: 18px; }
.faq .underlink { margin-top: 12px; }
.faq-list details { border-bottom: 2px solid var(--ink); }
.faq-list details:first-child { border-top: 2px solid var(--ink); }
.faq-list summary { font-size: 16px; padding: 16px 34px 16px 0; }
.faq-list p { padding: 0 0 16px; font-size: 15px; }
.faq-list .line-button { color: #fff; }

/* 枠 9 運営会社 */
.site-footer { background: var(--ink); color: #fff; padding: 36px 0 24px; }
.site-footer a { color: #fff; }
.footer-top { display: grid; gap: 22px; }
.footer-brand { font-size: 26px; font-weight: 900; letter-spacing: .08em; text-decoration: none; }
.footer-brand small { font-size: 14px; margin-left: 8px; }
.company h2 { color: #fff; font-size: 16px; margin-bottom: 6px; }
.company p { font-size: 14px; margin-top: 6px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 13px; }
.footer-bottom small { font-size: inherit; }

/* ダイアログ */
dialog { border: 0; border-radius: 18px; padding: 28px 22px 24px; width: min(560px, calc(100vw - 32px)); color: var(--text); }
dialog::backdrop { background: rgba(20, 20, 22, .55); }
dialog h2 { font-size: 22px; padding-right: 36px; }
.dialog-close { position: absolute; right: 10px; top: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; cursor: pointer; }
#search-form label { display: block; margin-top: 14px; font-weight: 700; font-size: 14px; }
.search-field { display: flex; gap: 8px; margin-top: 6px; }
.search-field input { flex: 1; min-width: 0; min-height: 48px; border: 2px solid var(--ink); border-radius: 999px; padding: 0 18px; }
.search-field button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font-weight: 900; cursor: pointer; }
#search-count { margin-top: 12px; font-size: 14px; }
#search-results li { border-top: 1px solid var(--line); }
#search-results a { display: block; padding: 12px 2px; font-weight: 700; text-decoration: none; }
#pending-dialog p { margin: 10px 0 16px; }
.noscript { padding: 12px 16px; background: var(--beige); font-size: 14px; }

/* タブレット以上 */
@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .sp { display: none; }
  .hero-inner { display: flex; align-items: center; min-height: clamp(480px, 50vw, 700px); padding-top: 36px; padding-bottom: 36px; }
  .hero-copy { position: relative; z-index: 1; max-width: 52%; }
  .hero-art { position: absolute; inset: 0; order: 0; }
  /* 画像（猫）に重なる所でも読めるよう、文字の下に白い地を敷く */
  .hero-sub { text-shadow: 0 0 4px #fff, 0 0 8px #fff, 0 0 14px #fff, 0 0 20px #fff; }
  .hero-actions .underlink { background: rgba(255, 255, 255, .9); padding: 4px 10px; border-radius: 8px; }
  .hero-photo { margin: 0; height: 100%; }
  .hero-photo picture { display: block; height: 100%; }
  .hero-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; object-position: right center; }
  .hero h1 { font-size: clamp(54px, 7.2vw, 104px); }
  .hero-sub { font-size: clamp(17px, 1.7vw, 23px); }
  .hero-art .hand { font-size: clamp(20px, 2.1vw, 30px); position: absolute; right: 50%; bottom: 5%; margin: 0; white-space: nowrap; }
  .strip-inner { grid-template-columns: 40% minmax(0, 1fr); gap: 36px; padding-top: 30px; padding-bottom: 32px; }
  .strip-lead { font-size: clamp(26px, 3vw, 38px); }
  .strip-price small { display: inline; }
  .box { padding: 28px 28px 24px; }
  .box-items { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .new-items { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .new-tee { max-width: none; }
  .photo-items { overflow: visible; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-bottom: 0; }
  .photo-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-actions { flex-direction: column; align-items: flex-start; }
  .duo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .duo-card { padding: 30px 28px; }
  .journal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 40px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .header-inner { flex-wrap: nowrap; gap: 28px; min-height: 68px; padding: 8px var(--gutter); }
  .brand { flex: none; }
  .header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
  .device-link { order: 0; flex: none; }
  .brand svg { width: 38px; height: 29px; }
  .brand-text b { font-size: 27px; }
  .brand-text em { font-size: 11px; }
  .main-nav { display: flex; gap: 20px; align-items: center; }
  .main-nav a.sub { font-size: 13px; font-weight: 500; }
  .main-nav a { font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); padding: 8px 0; border-bottom: 3px solid transparent; }
  .main-nav a:hover { border-bottom-color: var(--red); }
  .menu-toggle, .mobile-nav { display: none !important; }
  .search-button { width: auto; height: 44px; grid-auto-flow: column; gap: 8px; padding: 0 20px 0 14px; border: 2px solid var(--line); border-radius: 999px; }
  .search-button span { display: inline; font-size: 14px; font-weight: 500; color: var(--text); }
  .search-button svg { width: 18px; height: 18px; }
  .device-link { font-size: 14px; min-height: 44px; padding: 0 16px 0 10px; }
  .journal-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .journal-card { grid-template-columns: minmax(0, 1fr); }
  .box-head { display: flex; align-items: baseline; gap: 22px; flex-wrap: wrap; }
  .box-more { margin: 0 0 0 auto; }
  .box-head p { font-size: 18px; margin: 0; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
