/* 07 毎日のひと粒を、いつもの暮らしに。 refs #1379 */
:root {
  /* 色: 一日の空の移り変わり */
  --kami: #F5F8F8;      /* 紙白（地） */
  --sora: #DAE8F2;      /* 朝の空 */
  --sage: #D2DFCD;      /* セージ（昼・散歩） */
  --hiru: #ECF0E4;      /* 午後の光 */
  --yoru: #1C2834;      /* 夜の墨紺 */
  --sumi: #22282D;      /* 墨（本文） */
  --sage-ink: #35523E;  /* 深いセージ（リンク・ボタン） */
  --sub: #4A555D;       /* 補足文字 */
  --line: #BFCCD3;
  --on-yoru: #EAF0F4;
  --on-yoru-sub: #BFCBD4;

  --f-maru: "Kiwi Maru", "Hiragino Maru Gothic ProN", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;

  --r-photo: 28px;
  --r-tile: 18px;
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--kami); color: var(--sumi);
  font-family: var(--f-body); font-size: 16px; line-height: 1.9; letter-spacing: .02em;
  line-break: strict; overflow-wrap: anywhere; word-break: normal;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, li, dt, dd, figcaption, a, button, label { line-break: strict; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-ink); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sage-ink); outline-offset: 3px; border-radius: 6px; }
.scene--yoru :focus-visible, .site-foot :focus-visible { outline-color: var(--on-yoru); }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--sumi); color: #fff; padding: 8px 14px; z-index: 30; border-radius: 8px; }
.skip:focus { top: 8px; }

.h2 {
  font-family: var(--f-maru); font-weight: 500; font-size: clamp(25px, 3.4vw, 36px);
  line-height: 1.5; letter-spacing: .04em;
}

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 10px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none;
  border: 2px solid var(--sage-ink);
}
.btn--solid { background: var(--sage-ink); color: #fff; }
.btn--solid:hover { background: #2A4232; border-color: #2A4232; }
.btn--line { color: var(--sage-ink); background: transparent; }
.btn--line:hover { background: rgba(53, 82, 62, .08); }

/* ヘッダー */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(245, 248, 248, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(191, 204, 211, .6); }
.site-head__in { max-width: 1200px; margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: baseline; gap: 12px; color: var(--sumi); text-decoration: none; }
.brand__name { font-family: var(--f-maru); font-size: 24px; font-weight: 500; letter-spacing: .02em; line-height: 1.3; }
.brand__sub { font-size: 12px; color: var(--sub); white-space: nowrap; }
.gnav ul { display: flex; gap: 4px; }
.gnav a { display: block; padding: 8px 10px; font-size: 14px; color: var(--sumi); text-decoration: none; border-radius: 8px; white-space: nowrap; }
.gnav a:hover { background: var(--sora); }
@media (max-width: 1023px) {
  .site-head__in { flex-wrap: wrap; row-gap: 0; padding-bottom: 4px; }
  .gnav { width: 100%; margin: 0 -10px; }
  .gnav ul { flex-wrap: wrap; gap: 0; }
  .gnav a { font-size: 13px; padding: 6px 10px; }
}
@media (max-width: 599px) {
  .gnav__opt { display: none; }
  .gnav a { padding: 6px 9px; }
}
@media (max-width: 420px) { .brand__sub { display: none; } }

/* ヒーロー */
.hero { background: var(--sora); padding-top: clamp(24px, 4vw, 56px); }
.hero__in {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
.hero__title {
  font-family: var(--f-maru); font-weight: 500; font-size: clamp(30px, 8vw, 40px); line-height: 1.45; letter-spacing: .06em;
}
.hero__title span { display: block; white-space: nowrap; }
.hero__lede { margin-top: 16px; font-size: 16px; line-height: 2; max-width: 30em; }
.hero__cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-photo); }
.tag-image {
  position: absolute; right: 12px; bottom: 12px; padding: 2px 10px; border-radius: 999px;
  background: rgba(28, 40, 52, .82); color: #fff; font-size: 12px; line-height: 1.7; letter-spacing: .08em;
}
@media (min-width: 960px) {
  .hero__in { grid-template-columns: minmax(300px, 4fr) 8fr; gap: 48px; align-items: end; }
  .hero__text { display: grid; grid-template-columns: auto; justify-items: end; padding-bottom: 8px; }
  .hero__title {
    writing-mode: vertical-rl; font-size: clamp(40px, 3.9vw, 50px); line-height: 1.7; letter-spacing: .12em;
    margin-right: -8px;
  }
  .hero__lede { margin-top: 28px; font-size: 15px; max-width: 20em; justify-self: start; }
  .hero__cta { justify-self: start; }
  .hero__photo img { aspect-ratio: 1 / 1; object-position: 58% 50%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__title { animation: fadein 1.2s .35s ease both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* 一日の帯 */
.daystrip { max-width: 1200px; margin: 0 auto; padding: 32px var(--gutter) 0; }
.daystrip ol { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 22px 22px 0 0; overflow: hidden; }
.daystrip a { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px 20px; text-decoration: none; color: var(--sumi); height: 100%; }
.daystrip__t { font-family: var(--f-maru); font-size: 19px; font-weight: 500; line-height: 1.5; }
.daystrip__d { font-size: 13px; color: var(--sub); line-height: 1.6; }
.daystrip__asa a { background: #C6DCEB; }
.daystrip__sanpo a { background: var(--sage); }
.daystrip__oyatsu a { background: var(--hiru); }
.daystrip__yoru a { background: var(--yoru); color: var(--on-yoru); }
.daystrip__yoru .daystrip__d { color: var(--on-yoru-sub); }
.daystrip a:hover .daystrip__t { text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 767px) {
  .daystrip { padding-top: 24px; }
  .daystrip ol { grid-template-columns: repeat(2, 1fr); border-radius: 18px 18px 0 0; }
  .daystrip li:nth-child(1) { border-top-left-radius: 18px; }
  .daystrip a { padding: 14px 14px 16px; }
  .daystrip__t { font-size: 17px; }
  .daystrip__d { font-size: 12px; }
}

/* 一日の場面 */
.day__intro { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(32px, 4vw, 48px); }
.day__intro p { margin-top: 12px; max-width: 38em; }
.scene { padding: clamp(40px, 6vw, 80px) 0; }
.scene--asa { background: var(--sora); }
.scene--sanpo { background: var(--sage); }
.scene--oyatsu { background: var(--hiru); }
.scene--yoru { background: var(--yoru); color: var(--on-yoru); }
.scene--yoru a { color: var(--on-yoru); }
.scene__in { display: grid; grid-template-columns: 1fr; gap: 20px; }
.scene__when {
  font-family: var(--f-maru); font-weight: 500; font-size: 28px; line-height: 1.3; letter-spacing: .1em; color: var(--sage-ink);
}
.scene--yoru .scene__when { color: var(--on-yoru); }
.scene__photo { position: relative; }
.scene__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-photo); }
.scene__h { font-family: var(--f-maru); font-weight: 500; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.55; letter-spacing: .04em; }
.scene__body > p { margin-top: 12px; }
.tips { margin-top: 20px; display: grid; gap: 14px; }
.tips > div { padding: 14px 16px; border-radius: var(--r-tile); background: rgba(255, 255, 255, .62); }
.scene--yoru .tips > div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(234, 240, 244, .18); }
.tips dt { font-weight: 700; font-size: 14px; color: var(--sage-ink); }
.scene--yoru .tips dt { color: #CFE0C9; }
.tips dd { font-size: 15px; line-height: 1.85; margin-top: 2px; }
.scene__items { margin-top: 22px; }
.scene__items-h { font-size: 13px; color: var(--sub); }
.scene--yoru .scene__items-h { color: var(--on-yoru-sub); }
.scene__items ul { margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; text-decoration: none; color: inherit; padding: 6px; border-radius: 16px; }
.mini:hover { background: rgba(255, 255, 255, .5); }
.scene--yoru .mini:hover { background: rgba(255, 255, 255, .08); }
.mini img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: #fff; }
.mini__n { font-size: 12.5px; line-height: 1.6; letter-spacing: 0; }
@media (max-width: 599px), (min-width: 960px) and (max-width: 1199px) { .scene__items ul { grid-template-columns: 1fr; gap: 4px; } }
.mini:hover .mini__n { text-decoration: underline; }
@media (min-width: 960px) {
  .scene__in { grid-template-columns: 64px 6fr 5fr; gap: 40px; align-items: start; }
  .scene__when { writing-mode: vertical-rl; font-size: 34px; letter-spacing: .2em; align-self: start; padding-top: 6px; }
  .scene--flip .scene__in { grid-template-columns: 64px 5fr 6fr; }
  .scene--flip .scene__photo { order: 3; }
  .scene--flip .scene__body { order: 2; }
  .scene__photo { position: sticky; top: 96px; }
  .scene__photo img { aspect-ratio: 4 / 3.4; }
}

/* 与え方のきほん */
.howto { padding: clamp(64px, 8vw, 104px) 0; }
.howto__lede { margin-top: 12px; max-width: 40em; }
.ways { margin-top: 36px; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.ways li { align-content: start; padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
.ways svg { grid-row: span 2; width: 44px; height: 44px; fill: none; stroke: var(--sage-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ways h3 { font-family: var(--f-maru); font-weight: 500; font-size: 20px; line-height: 1.5; }
.ways p { font-size: 15px; margin-top: 4px; }
@media (min-width: 768px) {
  .ways { grid-template-columns: repeat(2, 1fr); column-gap: 48px; border-top: 0; }
  .ways li { border-top: 1px solid var(--line); border-bottom: 0; }
}
@media (min-width: 1100px) {
  .ways { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .ways li { grid-template-columns: 1fr; row-gap: 10px; }
  .ways svg { grid-row: auto; }
}

/* ブランドの背景 */
.story { padding: clamp(64px, 8vw, 104px) 0; background: #fff; }
.story__head { display: grid; gap: 16px; }
.story__head p { max-width: 40em; }
.story__list { margin-top: 40px; display: grid; grid-template-columns: 1fr; gap: 36px; }
.story__list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-tile); }
.story__list h3 { margin-top: 16px; font-family: var(--f-maru); font-weight: 500; font-size: 21px; line-height: 1.5; }
.story__list p { margin-top: 6px; font-size: 15px; }
@media (min-width: 768px) {
  .story__head { grid-template-columns: 5fr 7fr; gap: 48px; align-items: end; }
  .story__list { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

/* 動物から選ぶ */
.animals { padding: clamp(64px, 8vw, 96px) 0 24px; }
.animals__list { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.animal {
  width: 100%; display: grid; grid-template-columns: 72px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 12px; border: 2px solid transparent; border-radius: 999px; background: var(--sora); color: var(--sumi);
  font: inherit; text-align: left; cursor: pointer;
}
.animal img { grid-row: span 2; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.animal__n { font-family: var(--f-maru); font-weight: 500; font-size: 21px; line-height: 1.3; align-self: end; }
.animal__c { font-size: 13px; color: var(--sub); align-self: start; }
.animal:hover { border-color: var(--sage-ink); }
.animal[aria-pressed="true"] { background: var(--sage-ink); color: #fff; }
.animal[aria-pressed="true"] .animal__c { color: #E3ECE0; }
@media (min-width: 768px) { .animals__list { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
@media (max-width: 400px) {
  .animal { grid-template-columns: 56px 1fr; column-gap: 10px; padding: 10px; }
  .animal img { width: 56px; height: 56px; }
  .animal__n { font-size: 18px; }
}

/* 商品 */
.products { padding: 32px 0 clamp(64px, 8vw, 104px); }
.products__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.products__head p { font-size: 14px; color: var(--sub); }
.filters { margin-top: 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.seg { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 4.5em 1fr; align-items: center; gap: 8px; min-width: 0; }
.seg legend { float: left; font-size: 14px; font-weight: 700; padding: 0; }
.seg__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label span { display: inline-block; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; line-height: 1.6; white-space: nowrap; }
.seg input:checked + span { background: var(--sumi); border-color: var(--sumi); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--sage-ink); outline-offset: 2px; }
.filters__count { font-size: 14px; color: var(--sub); }
@media (max-width: 599px) {
  .seg { grid-template-columns: 1fr; }
  .seg legend { float: none; margin-bottom: 6px; }
  .seg label span { padding: 6px 13px; font-size: 13.5px; }
}
.grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; scroll-margin-top: 90px; }
.card[hidden] { display: none; }
.card__img { background: #fff; border-radius: var(--r-tile); overflow: hidden; }
.card__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.card__series { margin-top: 12px; font-size: 12px; color: var(--sub); line-height: 1.6; }
.card__name { margin-top: 2px; font-size: 15.5px; font-weight: 700; line-height: 1.6; letter-spacing: .01em; }
.card__meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.card__meta span { font-size: 12px; line-height: 1.5; padding: 1px 8px; border-radius: 999px; background: var(--sora); color: var(--sumi); }
.card__price { margin-top: 8px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.card__price small { font-size: 12px; font-weight: 500; margin-left: 2px; }
.card__ask { margin-top: 8px; font-size: 14px; color: var(--sub); }
.card__more { margin-top: 10px; font-size: 14px; }
.card__more summary { cursor: pointer; color: var(--sage-ink); font-weight: 700; list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.card__more summary::-webkit-details-marker { display: none; }
.card__more summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
.card__more[open] summary::before { transform: rotate(45deg); }
.card__more-body { padding: 10px 0 4px; display: grid; gap: 10px; }
.card__more h4 { font-size: 13px; color: var(--sage-ink); margin: 0; }
.card__more p { font-size: 13.5px; line-height: 1.8; white-space: pre-line; }
.card__buy { margin-top: auto; padding-top: 12px; }
.card__buy .btn { width: 100%; min-height: 44px; font-size: 14px; padding: 8px 12px; background: #fff; color: var(--sage-ink); }
.card__buy .btn:hover { background: var(--sage-ink); color: #fff; }
@media (max-width: 599px) {
  .card__name { font-size: 14.5px; }
  .card__price { font-size: 16.5px; }
  .card__buy .btn { font-size: 13px; padding: 8px 6px; }
}

/* お問い合わせ */
.contact { background: var(--sage); padding: clamp(56px, 7vw, 88px) 0; }
.contact__in { display: grid; gap: 28px; }
.contact__in > div:first-child p { margin-top: 12px; max-width: 32em; }
.contact__box { background: var(--kami); border-radius: var(--r-photo); padding: 24px 28px; }
.contact__tel { font-family: var(--f-maru); font-size: clamp(30px, 4vw, 40px); line-height: 1.3; letter-spacing: .04em; }
.contact__tel a { color: var(--sumi); text-decoration: none; }
.contact__hours { font-size: 14px; color: var(--sub); margin-top: 4px; }
.contact__co { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; }
@media (min-width: 768px) { .contact__in { grid-template-columns: 7fr 5fr; align-items: center; gap: 48px; } }

/* フッター */
.site-foot { background: var(--yoru); color: var(--on-yoru); padding: 48px 0 40px; }
.site-foot__in { display: grid; gap: 24px; }
.site-foot__logo { width: 260px; }
.site-foot__notes p { font-size: 13px; color: var(--on-yoru-sub); line-height: 1.9; }
.site-foot__notes small { font-size: 13px; color: var(--on-yoru); }
@media (min-width: 768px) { .site-foot__in { grid-template-columns: 300px 1fr; gap: 48px; align-items: start; } }
.tk { white-space: nowrap; }
