:root { color-scheme: light; --ink: #253330; --green: #194c48; --line: #dde4e1; --muted: #63706b; --accent: #a44235; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif; font-size: 15px; line-height: 1.8; letter-spacing: 0; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
[hidden] { display: none !important; }
.catalog-header { border-bottom: 1px solid var(--line); }
.header-inner, .catalog-main, .footer-inner { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex: 0 0 180px; }
.logo img { display: block; width: 180px; height: 78px; object-fit: contain; }
.primary-nav { display: flex; gap: 32px; align-items: center; }
.primary-nav a { text-decoration: none; padding-block: 12px; font-size: 14px; }
.primary-nav a[aria-current] { color: var(--green); border-bottom: 2px solid var(--green); }
.primary-nav a:last-child { border-left: 1px solid var(--line); padding-left: 28px; }
.breadcrumb { display: flex; gap: 12px; font-size: 12px; color: var(--muted); padding-top: 25px; }
.breadcrumb a { text-decoration: none; }
.page-heading { position: relative; isolation: isolate; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 158px; margin: 22px 0 30px; padding: 28px 26px; background: linear-gradient(90deg, #f7faf8 0%, #d9ebe6 30%, #b4d4d3 65%, #f4f8f6 100%); }
.page-heading > :not(.title-sea) { position: relative; z-index: 1; }
.page-heading, header.story-heading, header.chirimon-heading {
  background-color: #edf7fa;
  background-image: linear-gradient(90deg, #ffffffc7, #ffffff80 48%, #ffffff14), url('assets/header-coast-clean.png');
  background-size: cover;
  background-position: center 70%;
}
header.story-heading, header.chirimon-heading { margin: 22px 0 30px; padding: 28px 26px; }
@media (max-width: 700px) {
  header.story-heading, header.chirimon-heading { padding: 25px 20px; }
}
.title-sea { position: absolute; inset: 0 320px 0 0; pointer-events: none; }
.title-fish { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: calc(var(--w) * .28); opacity: .82; transform: translate(0, 0) rotate(var(--r)); animation: titleFishSwim var(--duration) ease-in-out infinite; animation-delay: var(--delay); }
.title-fish::before { position: absolute; inset: 0 14% 0 0; border-radius: 999px 74% 74% 999px; background: linear-gradient(90deg, rgba(255,255,255,.98), rgba(227,236,232,.88) 54%, rgba(181,199,197,.68)); box-shadow: inset 7px 0 8px rgba(255,255,255,.88), 0 5px 12px rgba(21,75,88,.12); content: ""; }
.title-fish::after { position: absolute; right: 0; top: 50%; width: 24%; height: 72%; background: rgba(247,251,250,.82); clip-path: polygon(0 50%,100% 0,76% 50%,100% 100%); content: ""; transform: translateY(-50%); }
.title-fish > i { position: absolute; z-index: 1; left: 14%; top: 34%; width: 3px; height: 3px; border-radius: 50%; background: rgba(39,57,65,.42); }
.title-fish:nth-of-type(1) { --x: 35%; --y: 26px; --w: 86px; --r: -12deg; --dx: 22px; --dy: 7px; --turn: -5deg; --duration: 8.6s; --delay: -1s; }
.title-fish:nth-of-type(2) { --x: 47%; --y: 78px; --w: 68px; --r: 8deg; --dx: -18px; --dy: 9px; --turn: 7deg; --duration: 9.2s; --delay: -3.1s; }
.title-fish:nth-of-type(3) { --x: 57%; --y: 39px; --w: 80px; --r: -3deg; --dx: 24px; --dy: -8px; --turn: 4deg; --duration: 7.8s; --delay: -2s; }
.title-fish:nth-of-type(4) { --x: 69%; --y: 107px; --w: 96px; --r: -16deg; --dx: -24px; --dy: 6px; --turn: -6deg; --duration: 10s; --delay: -4.6s; }
.title-fish:nth-of-type(5) { --x: 80%; --y: 22px; --w: 64px; --r: 15deg; --dx: 17px; --dy: 11px; --turn: 8deg; --duration: 8.8s; --delay: -5.2s; }
.title-fish:nth-of-type(6) { --x: 87%; --y: 73px; --w: 76px; --r: 6deg; --dx: -22px; --dy: -9px; --turn: -5deg; --duration: 9.6s; --delay: -1.8s; }
.title-wave { position: absolute; left: 50%; top: -125px; width: 440px; height: 440px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; animation: titleWavePulse 8s ease-in-out infinite; }
.title-wave-second { left: 59%; top: -85px; width: 320px; height: 320px; animation-delay: -2.2s; }
@keyframes titleFishSwim { 0%,100% { transform: translate(0,0) rotate(var(--r)); } 50% { transform: translate(var(--dx),var(--dy)) rotate(calc(var(--r) + var(--turn))); } }
@keyframes titleWavePulse { 0%,100% { transform: scale(1); opacity: .72; } 50% { transform: scale(1.045); opacity: .42; } }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 11px; line-height: 1.5; }
h1, .product-name, .detail-info h2, .footer-brand { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-weight: 600; }
h1 { margin: 0; font-size: 34px; line-height: 1.4; }
.search-label { display: grid; gap: 5px; font-size: 12px; color: var(--muted); width: 290px; }
input[type="search"] { width: 100%; height: 44px; padding: 9px 13px; color: var(--ink); border: 1px solid #bac9c2; border-radius: 3px; background: #fff; font-size: 14px; }
.catalog-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 38px; border-top: 1px solid var(--line); padding-top: 25px; padding-bottom: 64px; }
.category-panel h2 { margin: 0 0 16px; font-size: 14px; font-weight: 600; }
.category-list { display: grid; }
.category-list button { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); padding: 15px 10px; font-size: 13px; line-height: 1.6; min-height: 52px; }
.category-list button[aria-pressed="true"] { color: var(--green); background: #eef4f1; border-left: 3px solid var(--green); padding-left: 7px; font-weight: 600; }
.category-list span { font-size: 11px; font-weight: 400; }
.category-quality-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 16px 0; margin-bottom: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-quality-links[hidden] { display: none; }
.category-quality-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px; padding: 14px 18px; border: 1px solid #9db4a8; border-radius: 3px; background: #f0f5f2; color: var(--green); font-size: 13px; line-height: 1.8; text-decoration: none; overflow-wrap: anywhere; transition: background-color 160ms ease, border-color 160ms ease; }
.category-quality-links a::after { content: "→"; flex: none; font-size: 18px; line-height: 1; }
.category-quality-links a:hover { background: #e1ece5; border-color: var(--green); }
.category-quality-links a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@media (max-width: 700px) {
  .category-quality-links { grid-template-columns: 1fr; gap: 10px; }
}
.product-facts > .product-order-guidance { display: block; }
.product-order-guidance dd { margin: 0; }
.product-order-guidance > dt { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.product-order-guidance .product-dispatch-note { margin: 6px 0 8px; color: #b42323; font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.product-guide-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.product-guide-links a { color: var(--green); font-size: 12px; line-height: 1.8; text-decoration: underline; text-underline-offset: 3px; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; min-height: 26px; }
.results-bar h2 { font-size: 15px; margin: 0; font-weight: 500; }
.results-bar p { margin: 0; font-size: 12px; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 23px; }
.product-card { min-width: 0; display: flex; flex-direction: column; }
.product-photo { display: block; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; padding: 0; border: 0; background: #f2f3f2; border-radius: 3px; }
.product-image-pending { display: grid; place-items: center; width: 100%; height: 100%; color: #69746f; background: #f2f3f2; font-size: 13px; }
.product-photo picture, .product-photo img { display: block; width: 100%; height: 100%; }
.product-photo img { object-fit: contain; transition: transform 220ms ease; }
.product-photo:hover img { transform: scale(1.035); }
.product-category { color: var(--muted); font-size: 10px; margin: 14px 0 4px; }
.product-name { margin: 0 0 9px; font-size: 19px; line-height: 1.5; overflow-wrap: anywhere; }
.product-description { font-size: 12px; color: var(--muted); line-height: 1.85; margin: 0 0 14px; overflow-wrap: anywhere; }
.product-card .image-note { font-size: 10px; color: var(--muted); margin: 0 0 12px; }
.product-bottom { margin-top: auto; display: flex; justify-content: space-between; gap: 8px; align-items: end; padding-top: 12px; border-top: 1px solid var(--line); min-height: 40px; }
.product-price { margin: 0; font-size: 15px; color: var(--accent); }
.product-price small { color: var(--muted); font-size: 10px; }
.detail-button { flex-shrink: 0; border: 0; background: none; padding: 2px 0; font-size: 12px; color: var(--green); border-bottom: 1px solid #819b8e; margin-left: auto; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty-state button { border: 1px solid var(--line); background: white; color: var(--green); border-radius: 3px; padding: 8px 16px; }
.catalog-footer { background: #f5f7f5; border-top: 1px solid var(--line); padding: 36px 0; }
.footer-brand { font-size: 20px; margin: 0 0 18px; }
.catalog-footer nav { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: 12px; }
.catalog-footer nav a { text-decoration: none; }
.catalog-footer small { display: block; margin-top: 24px; font-size: 10px; color: var(--muted); }
dialog { width: min(960px, calc(100% - 36px)); max-height: calc(100dvh - 36px); padding: 50px 36px 36px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: white; }
dialog::backdrop { background: rgba(25, 38, 34, .6); }
.close-button { position: absolute; top: 7px; right: 10px; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: var(--ink); font-size: 28px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 34px; }
.detail-photo { aspect-ratio: 1; background: #f3f4f3; }
.detail-photo picture, .detail-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.detail-thumbnails { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.detail-thumbnails button { width: 56px; height: 56px; border: 1px solid var(--line); background: #f3f4f3; padding: 2px; border-radius: 2px; }
.detail-thumbnails button[aria-pressed="true"] { border: 2px solid var(--green); padding: 1px; }
.detail-thumbnails img { display: block; width: 100%; height: 100%; object-fit: contain; }
.detail-info h2 { font-size: 27px; line-height: 1.5; margin: 8px 0 26px; overflow-wrap: anywhere; }
.detail-info h3 { font-size: 12px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 18px; }
.detail-info p { font-size: 14px; overflow-wrap: anywhere; }
#detail-description { white-space: pre-line; }
.detail-info .image-note { font-size: 11px; color: var(--muted); }
.detail-info .detail-price { color: var(--accent); font-size: 24px; }
.detail-price small { font-size: 12px; }
.price-line { display: flex; align-items: baseline; gap: 10px; line-height: 1.7; }
.price-line small { min-width: 2em; font-weight: 400; color: var(--muted); }
.price-exclusive { color: var(--muted); font-size: 12px; }
.price-inclusive { color: var(--accent); font-size: 16px; }
.product-price { margin: 0; }
.product-facts { margin: 0 0 16px; font-size: 12px; }
.product-facts > div { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 8px; padding-block: 3px; }
.product-facts dt { color: var(--muted); font-size: 11px; }
.product-facts dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.detail-facts { padding-block: 12px; border-block: 1px solid var(--line); font-size: 14px; }
.detail-facts dt { font-size: 12px; }
.detail-price .price-exclusive { font-size: 15px; }
.detail-price .price-inclusive { font-size: 24px; }
.variant-label { display: grid; gap: 8px; font-size: 12px; margin-top: 22px; }
.variant-label select { max-width: 100%; border: 1px solid #bac9c2; border-radius: 3px; padding: 10px; background: white; color: var(--ink); }
body:has(dialog[open]) { overflow: hidden; }
@media (max-width: 1000px) { .catalog-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 24px; } .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .header-inner, .catalog-main, .footer-inner { width: calc(100% - 32px); }
  .header-inner { min-height: 82px; gap: 10px; }
  .logo { flex-basis: 128px; } .logo img { width: 128px; height: 55px; }
  .primary-nav { gap: 14px; } .primary-nav a { font-size: 11px; }
  .primary-nav a:first-child { display: none; } .primary-nav a:last-child { padding-left: 12px; }
  .page-heading { align-items: start; flex-direction: column; gap: 22px; padding: 26px 20px; min-height: 216px; margin: 20px 0 24px; }
  .title-sea { inset: 0 0 auto; height: 108px; }
  .title-fish:nth-of-type(1) { --x: 57%; --y: 15px; --w: 56px; }
  .title-fish:nth-of-type(2) { --x: 65%; --y: 61px; --w: 48px; }
  .title-fish:nth-of-type(3) { --x: 82%; --y: 26px; --w: 52px; }
  .title-fish:nth-of-type(4) { --x: 85%; --y: 86px; --w: 56px; }
  .title-fish:nth-of-type(5), .title-fish:nth-of-type(6) { display: none; }
  h1 { font-size: 28px; } .search-label { width: 100%; }
  .catalog-layout { display: block; padding-top: 16px; }
  .category-panel h2 { display: none; }
  .category-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 24px; }
  .category-list button { min-height: 40px; padding: 8px 0; border-bottom: 2px solid transparent; font-size: 12px; }
  .category-list button[aria-pressed="true"] { background: none; border-left: 0; border-bottom-color: var(--green); padding-left: 0; }
  .category-list span { display: none; }
  .product-grid { gap: 30px 14px; } .product-name { font-size: 17px; } .product-description { font-size: 11px; }
  .product-bottom { flex-wrap: wrap; } .product-price { font-size: 13px; }
  .product-facts { font-size: 11px; }
  .product-card .product-facts > div { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 3px; }
  .product-card .price-exclusive { font-size: 11px; }
  .product-card .price-inclusive { font-size: 14px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  dialog { padding: 48px 20px 26px; } .detail-info h2 { font-size: 24px; }
}
@media (max-width: 360px) { .product-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .product-photo img { transition: none; } .title-fish, .title-wave { animation: none; } }

.detail-price .chirimon-gift-note { display: block; margin-top: 8px; font-size: 14px; line-height: 1.8; font-weight: 700; color: var(--ink); }
