@charset "UTF-8";
:root {
  --paper: #faf9f5;
  --ink: #211815;
  --brown: #9f7865;
  --blue: #d2dce3;
  --header: 88px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "dnp-shuei-gothic-gin-std", "Yu Gothic", sans-serif;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: 5px;
}
.site-header {
  height: var(--header);
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5vw;
  border-bottom: 1px solid #9f786533;
}
.logo {
  width: 235px;
}
.back {
  font-size: 13px;
  text-decoration: none;
}
.back:hover {
  color: var(--brown);
}
main {
  overflow: clip;
}
.eyebrow {
  color: var(--brown);
  font-size: 11px;
  letter-spacing: 0.16em;
  margin-bottom: 22px;
}
.cover {
  min-height: calc(100svh - var(--header));
  display: grid;
  place-content: center;
  text-align: center;
  padding: 70px 24px 80px;
  position: relative;
}
.cover::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(300px, 45vw, 560px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("../images/story/story-cover-mark.png") center / contain
    no-repeat;
  opacity: 0.06;
  pointer-events: none;
}
.cover h1 {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.06em;
  position: relative;
}
.cover .intro {
  font-size: 15px;
  margin-top: 30px;
}
.read-link {
  display: inline-block;
  margin: 44px auto 0;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.13em;
  color: var(--brown);
}
.read-link:after {
  content: "↓";
  display: block;
  font-size: 26px;
}
.book {
  position: relative;
  padding-bottom: 0;
}
.book-page {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  min-height: 100svh;
  background: #faf9f5;
  display: flex;
  align-items: center;
  padding: 74px 7vw 84px;
  border-top: 1px solid #9f78652b;
  box-shadow: 0 -16px 38px #2118150a;
  isolation: isolate;
}
.book-page:nth-child(2) {
  background: #f5f4ef;
}
.book-page:nth-child(3) {
  background: #eef1f0;
}
.book-page:nth-child(4) {
  background: #f8f5f0;
}
.book-page:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #9f786509,
    transparent 5%,
    transparent 95%,
    #9f786505
  );
  z-index: -1;
}
.page-inner {
  width: min(100%, 1120px);
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 65px;
}
.book-page.reverse .art {
  order: 2;
}
.page-copy {
  max-width: 460px;
}
.page-copy h2 {
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.7;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 28px;
}
.page-copy p:not(.eyebrow) {
  font-size: 16px;
  line-height: 2.15;
}
.page-copy p + p {
  margin-top: 18px;
}
.page-number {
  position: absolute;
  bottom: 32px;
  left: 7vw;
  font-size: 11px;
  color: var(--brown);
  letter-spacing: 0.1em;
}
.page-name {
  position: absolute;
  bottom: 32px;
  right: 7vw;
  font-size: 10px;
  color: var(--brown);
}
.art {
  mix-blend-mode: multiply;
  width: 100%;
  margin: auto;
}
.art-window {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.5;
}
.art-window img {
  position: absolute;
  width: 200%;
  max-width: none;
  left: 0;
  top: 0;
}
.art--2 img {
  left: -100%;
}
.art--3 img {
  top: -100%;
}
.art--4 img {
  left: -100%;
  top: -100%;
}
.art.is-final .art-window {
  overflow: visible;
  aspect-ratio: auto;
}
.art.is-final img {
  position: static;
  width: 100%;
  max-width: 100%;
}
.center-page .page-inner {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 30px;
}
.center-page .art {
  max-width: 430px;
}
.center-page .page-copy {
  max-width: 680px;
}
.center-page .page-copy h2 {
  margin-bottom: 18px;
}
.together .art {
  max-width: 600px;
}
.together .page-copy h2 {
  font-size: clamp(27px, 3vw, 39px);
}
.details {
  position: relative;
  z-index: 6;
  background: var(--paper);
  padding: 120px 24px;
}
.section-inner {
  max-width: 1060px;
  margin: auto;
}
.details-heading {
  text-align: center;
  margin-bottom: 75px;
}
.details-heading h2 {
  font-size: 30px;
  line-height: 1.7;
  font-weight: 600;
}
.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  margin-top: 90px;
}
.detail-row:nth-of-type(even) figure {
  order: 2;
}
.detail-row img {
  width: 100%;
  aspect-ratio: 4/3;
  -o-object-fit: cover;
  object-fit: cover;
}
.detail-copy h3 {
  font-size: 23px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.detail-copy p {
  font-size: 15px;
}
.detail-row figcaption {
  font-size: 11px;
  color: #736963;
  margin-top: 10px;
}
.editor-note {
  font-size: 13px !important;
  border-left: 2px solid var(--brown);
  padding-left: 16px;
  margin-top: 20px;
  color: #74645b;
}
.product-link {
  position: relative;
  z-index: 7;
  background: var(--blue);
  padding: 85px 24px;
}
.product-inner {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 65px;
  align-items: center;
  margin: auto;
}
.product-inner h2 {
  font-size: 29px;
  line-height: 1.7;
  margin-bottom: 22px;
}
.product-inner p {
  font-size: 14px;
  color: #536b7d;
}
.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  background: var(--brown);
  color: white;
  text-decoration: none;
  padding: 16px 24px;
  margin-top: 28px;
  max-width: 310px;
  font-size: 16px;
  transition: background 0.2s, transform 0.2s;
}
.button:hover {
  background: #805f4f;
  transform: translateY(-2px);
}
footer {
  position: relative;
  z-index: 7;
  text-align: center;
  padding: 35px 24px;
  font-size: 11px;
  background: var(--paper);
}
.reveal {
  opacity: 1;
}
.js-motion .reveal.is-pending {
  opacity: 0;
  transform: translateY(10px);
}
.reveal {
  transition: opacity 1s ease, transform 1s ease;
}
.js-motion .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.page-art-ready {
  -webkit-animation: art-arrive 0.9s ease both;
  animation: art-arrive 0.9s ease both;
}
@-webkit-keyframes art-arrive {
  from {
    opacity: 0;
    translate: 0 8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes art-arrive {
  from {
    opacity: 0;
    translate: 0 8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.motion-toggle {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 30;
  border: 1px solid #9f786577;
  background: #faf9f5ed;
  color: #74645b;
  font: inherit;
  font-size: 10px;
  padding: 5px 12px;
  cursor: pointer;
}
.static-book .book-page {
  position: relative;
}
.static-book .reveal {
  opacity: 1 !important;
  transform: none !important;
}
.static-book .art {
  -webkit-animation: none !important;
  animation: none !important;
}
@media (max-width: 767px) {
  :root {
    --header: 72px;
  }
  .site-header {
    padding: 15px 20px;
  }
  .logo {
    width: 185px;
  }
  .back {
    font-size: 11px;
  }
  .cover {
    min-height: calc(90svh - var(--header));
    padding: 70px 22px;
  }
  .cover h1 {
    font-size: 29px;
  }
  .cover .intro {
    font-size: 13px;
    line-height: 2.1;
  }
  .book-page {
    position: relative;
    min-height: 0;
    padding: 70px 25px 80px;
    box-shadow: none;
  }
  .page-inner {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }
  .art,
  .center-page .art {
    max-width: 340px;
  }
  .book-page.reverse .art {
    order: 0;
  }
  .page-copy {
    max-width: 440px;
    width: 100%;
  }
  .page-copy h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .page-copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 2.05;
  }
  .eyebrow {
    margin-bottom: 14px;
  }
  .page-number,
  .page-name {
    bottom: 20px;
  }
  .center-page .page-inner {
    text-align: left;
    gap: 26px;
  }
  .together .art {
    max-width: 430px;
  }
  .together .page-copy h2 {
    font-size: 25px;
  }
  .details {
    padding: 75px 25px;
  }
  .details-heading {
    margin-bottom: 40px;
  }
  .details-heading h2 {
    font-size: 24px;
  }
  .detail-row {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 55px;
  }
  .detail-row:nth-of-type(even) figure {
    order: 0;
  }
  .detail-copy h3 {
    font-size: 21px;
  }
  .product-link {
    padding: 60px 25px;
  }
  .product-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .product-inner h2 {
    font-size: 25px;
  }
  .motion-toggle {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .book-page {
    position: relative;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
  .art,
  .button {
    -webkit-animation: none !important;
    animation: none !important;
    transition: none;
  }
  .motion-toggle {
    display: none;
  }
}

/* 愛犬に届けるための、ひと手間 */
.story-care {
  position: relative;
  padding: 140px 24px;
}

.story-care__inner {
  width: min(100%, 1060px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: start;
  gap: clamp(48px, 7vw, 100px);
}

/* 動画 */
.story-care__movie {
  width: 100%;
  max-width: 460px;
}

.story-care__movie video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  -o-object-fit: cover;
  object-fit: cover;
  background-color: #e6e2db;
}

/* 写真・見出し・本文 */
.story-care__contents {
  padding-top: 100px;
}

.story-care__photo {
  width: 100%;
  margin: 0 0 40px;
}

.story-care__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  -o-object-fit: cover;
  object-fit: cover;
}

.story-care__title {
  margin: 0 0 28px;
  color: #211815;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.story-care__text {
  color: #211815;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.04em;
}

.story-care__text p {
  margin: 0;
}

.story-care__text p + p {
  margin-top: 24px;
}

/* スマホ */
@media (max-width: 767px) {
  .story-care {
    padding: 80px 24px;
  }

  .story-care__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story-care__movie {
    width: 85%;
    max-width: 360px;
    margin-inline: auto;
  }

  .story-care__contents {
    padding-top: 0;
  }

  .story-care__photo {
    width: 80%;
    margin: 0 0 32px auto;
  }

  .story-care__title {
    font-size: 25px;
  }

  .story-care__text {
    font-size: 15px;
  }

  .story-care__text br {
    display: none;
  }
}

/* ========================================
   物語：横に送る絵本
======================================== */

.story-reader {
  position: relative;
  padding-block: 32px 56px;
  background-color: #faf9f5;
  scroll-margin-top: 100px;
}

.story-reader__guide {
  margin: 0 24px 24px;
  color: #9f7865;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.08em;
}

/* 4ページを横に並べる */
.story-reader .book {
  display: flex;
  width: 100%;
  height: auto;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #9f7865 #eee9e2;
}

.story-reader .book:focus-visible {
  outline: 2px solid #9f7865;
  outline-offset: -2px;
}

/* 既存のstickyを解除 */
.story-reader .book-page {
  position: relative;
  inset: auto;
  z-index: auto !important;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  min-height: 640px;
  height: auto;
  margin: 0;
  padding: 64px 40px 72px;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transform: none;
}

/* イラストと文章 */
.story-reader .page-inner {
  width: min(100%, 1100px);
  min-height: 490px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.story-reader .reverse .art {
  grid-column: 2;
  grid-row: 1;
}

.story-reader .reverse .page-copy {
  grid-column: 1;
  grid-row: 1;
}

/* 3・4ページ目は中央配置 */
.story-reader .center-page .page-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  text-align: center;
}

.story-reader .art {
  width: 100%;
  margin: 0;
}

.story-reader .center-page .art {
  width: min(100%, 380px);
}

.story-reader .together .art {
  width: min(100%, 520px);
}

.story-reader .page-copy {
  min-width: 0;
}

.story-reader .page-copy h2 {
  margin: 20px 0 28px;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.story-reader .page-copy > p:not(.eyebrow) {
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.04em;
}

.story-reader .page-copy > p + p {
  margin-top: 20px;
}

/* 横スクロール中に文章が隠れないようにする */
.story-reader .page-copy.reveal {
  opacity: 1;
  visibility: visible;
  transform: none;
  -webkit-animation: none;
  animation: none;
}

.story-reader .page-number {
  position: absolute;
  right: 32px;
  bottom: 24px;
  font-size: 14px;
}

.story-reader .page-name {
  position: absolute;
  left: 32px;
  bottom: 24px;
  font-size: 14px;
  letter-spacing: 0.06em;
}

/* ページ送り */
.story-reader__controls:not([hidden]) {
  width: min(100% - 48px, 440px);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.story-reader__controls button {
  padding: 12px 16px;
  border: 1px solid #c8b5a8;
  border-radius: 0;
  background: transparent;
  color: #211815;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.story-reader__controls button:disabled {
  opacity: 0.35;
  cursor: default;
}

.story-reader__status {
  margin: 0;
  color: #9f7865;
  font-size: 14px;
  white-space: nowrap;
}

@media (hover: hover) {
  .story-reader__controls button:not(:disabled):hover {
    background-color: #9f7865;
    color: #fff;
  }
}

/* ========================================
   魚・製造工程の文章を調整
======================================== */

.detail-copy h3,
.story-care__title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.detail-copy > p:not(.eyebrow),
.story-care__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.04em;
}

.detail-copy > p + p {
  margin-top: 20px;
}

.detail-copy > .detail-copy__lead {
  font-size: 18px;
  font-weight: 600;
}

.story-care__text p + p {
  margin-top: 24px;
}

/* ========================================
   スマホ
======================================== */

@media (max-width: 767px) {
  .story-reader {
    padding-block: 24px 40px;
  }

  .story-reader .book-page {
    min-height: 0;
    padding: 40px 24px 64px;
  }

  .story-reader .page-inner,
  .story-reader .center-page .page-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    gap: 24px;
    text-align: left;
  }

  .story-reader .art,
  .story-reader .center-page .art,
  .story-reader .together .art {
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .story-reader .page-copy {
    width: 100%;
  }

  .story-reader .page-copy h2 {
    margin: 16px 0 20px;
    font-size: 24px;
  }

  .story-reader .page-copy > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.9;
  }

  .story-reader .page-copy p br {
    display: none;
  }

  .story-reader .page-name {
    display: none;
  }

  .story-reader .page-number {
    right: 24px;
    bottom: 20px;
  }

  .detail-copy h3,
  .story-care__title {
    font-size: 25px;
  }
}

/* 動きを減らす設定では瞬時にページ移動 */
@media (prefers-reduced-motion: reduce) {
  .story-reader .book {
    scroll-behavior: auto;
  }

  .story-reader__controls button {
    transition: none;
  }
}
/* ========================================
   PC：画面を固定して紙のようにページを送る
======================================== */

.story-reader.is-scroll-linked {
  padding: 0;
  overflow: visible;
}

.story-reader.is-scroll-linked .story-reader__stage {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  isolation: isolate;
}

.story-reader.is-scroll-linked .story-reader__guide {
  flex: 0 0 auto;
  margin: 0;
  padding: 20px 24px 8px;
  text-align: center;
}

.story-reader.is-scroll-linked .book {
  position: relative;
  flex: 1 1 0;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  gap: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  -ms-scroll-snap-type: none;
  scroll-snap-type: none;
  scroll-behavior: auto !important;
  scrollbar-width: none;
  transform: none;
  box-shadow: none;
}

.story-reader.is-scroll-linked .book-page {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  padding: 24px 40px 48px;
  box-sizing: border-box;
  border: 0;
  box-shadow: none;
}

.story-reader.is-scroll-linked .page-inner {
  height: 100%;
  min-height: 0;
}

.story-reader.is-scroll-linked .center-page .page-inner {
  gap: 16px;
}

.story-reader.is-scroll-linked .center-page .art {
  width: min(100%, 300px);
}

.story-reader.is-scroll-linked .together .art {
  width: min(100%, 400px);
}

.story-reader.is-scroll-linked .page-copy h2 {
  margin-block: 16px 20px;
}

.story-reader.is-scroll-linked .page-copy > p + p {
  margin-top: 16px;
}

.story-reader .page-name {
  left: 32px;
  right: auto;
  bottom: 16px;
}

.story-reader .page-number {
  left: auto;
  right: 32px;
  bottom: 16px;
}

.story-reader.is-scroll-linked .story-reader__controls:not([hidden]) {
  flex: 0 0 auto;
  margin: 0 auto;
  padding-block: 8px 16px;
}

/* めくっている間だけ重ねる紙 */
.story-reader .paper-turn {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
  -webkit-filter: drop-shadow(12px 0 14px rgb(53 38 28 / 12%));
  filter: drop-shadow(12px 0 14px rgb(53 38 28 / 12%));
}

.story-reader .paper-turn > .book-page {
  width: 100%;
  height: 100%;
  margin: 0;
}

/* 紙に柔らかい陰影を加える */
.story-reader .paper-turn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgb(123 101 78 / 3%) 55%,
    rgb(123 101 78 / 11%) 85%,
    rgb(255 255 255 / 40%)
  );
}

@media (max-width: 767px) {
  .story-reader .page-name {
    display: none;
  }

  .story-reader .page-number {
    right: 24px;
    bottom: 20px;
  }
}

/* 和紙の背景 */
:root {
  --washi-texture: linear-gradient(
      rgba(250, 249, 245, 0.45),
      rgba(250, 249, 245, 0.45)
    ),
    url("../images/common/bg-washi.png");
}

body,
.cover,
.story-reader,
.story-reader.is-scroll-linked .story-reader__stage,
.story-reader .book-page,
.details,
.story-care,
footer {
  background-color: #faf9f5;
  background-image: url(../images/common/bg-texture.svg);
  background-repeat: repeat;
  background-size: auto, 640px 640px;
}

/* 物語：和紙の質感＋ページごとの色 */
.story-reader .book-page {
  position: relative;
  isolation: isolate;
  background-image: none;
  background-color: var(--page-color, #faf9f5);
}

/* 表紙の手書きタイトル */
.cover__title {
  width: min(76vw, 400px);
  margin-inline: auto;
}

.cover__title img {
  display: block;
  width: 100%;
  height: auto;
}
/* 物語：2色＋和紙 */
.story-reader .book-page {
  position: relative;
  isolation: isolate;
  background-image: none;
  background-color: var(--page-color, #f5eeea);
}

/* 1・3ページ：淡い桃色 */
.story-reader .book-page[aria-labelledby="chapter-1"],
.story-reader .book-page[aria-labelledby="chapter-3"] {
  --page-color: #f5eeea;
}

/* 2・4ページ：青灰色 */
.story-reader .book-page[aria-labelledby="chapter-2"],
.story-reader .book-page[aria-labelledby="chapter-4"] {
  --page-color: #eaf0f2;
}

/* 和紙の質感 */
.story-reader .book-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/common/bg-washi.png") repeat 0 0 / 640px 640px;
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
}

/* イラストの後ろに白い円 */
.story-reader .art {
  position: relative;
  isolation: isolate;
  mix-blend-mode: normal;
}

.story-reader .art::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  z-index: -1;
  background: url("../images/story/story-art-circle.png") center / contain
    no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

/* イラスト画像の白地を背景になじませる */
.story-reader .art-window {
  mix-blend-mode: multiply;
}

/* 色の上に和紙だけを薄く重ねる */
.story-reader .book-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../images/common/bg-washi.png") repeat 0 0 / 640px 640px;
  mix-blend-mode: multiply;
  opacity: 0.35;
  pointer-events: none;
}

/* ========================================
   絵本の後：魚の紹介・製造工程
======================================== */

.details,
.making {
  position: relative;
  background-color: var(--paper, #faf9f5);
  background-image: var(
    --washi-texture,
    linear-gradient(rgb(250 249 245 / 75%), rgb(250 249 245 / 75%)),
    url("../images/common/bg-washi.png")
  );
  background-repeat: repeat;
  background-size: auto, 640px 640px;
}

.details {
  padding: 110px 24px 80px;
}

.making {
  padding: 40px 24px 100px;
}

/* 横幅を共通にする */
.details > .section-inner,
.making > .section-inner {
  width: 100%;
  max-width: 1060px;
  margin-inline: auto;
}

/* 中央の見出し */
.details .section-heading,
.making .section-heading {
  margin-bottom: 64px;
  text-align: center;
}

.details .section-heading h2,
.making .section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.section-heading__intro {
  margin-top: 18px;
  font-size: 15px;
}

/* 魚の写真と説明 */
.fish-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
}

.fish-detail__photo {
  margin: 0;
}

.fish-detail__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  -o-object-fit: cover;
  object-fit: cover;
}

.fish-detail__photo figcaption {
  margin-top: 12px;
  color: #74645b;
  font-size: 11px;
  line-height: 1.8;
}

.fish-detail__copy h3,
.making-detail__copy h3 {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.fish-detail__copy > p,
.making-detail__copy > p:not(.eyebrow) {
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.04em;
}

.fish-detail__copy > p + p,
.making-detail__copy > p + p {
  margin-top: 20px;
}

/* 魚の情報を短く見せる */
.fish-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.fish-detail__tags li {
  padding: 3px 12px;
  border: 1px solid #536b7d;
  color: #536b7d;
  font-size: 12px;
  line-height: 1.8;
}

/* 4つの工程 */
.making__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.making__step {
  padding-top: 20px;
  border-top: 1px solid rgb(159 120 101 / 45%);
}

.making__number {
  display: block;
  margin-bottom: 14px;
  color: #536b7d;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}

.making__step h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.making__step p {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}

/* 写真・動画と対応する説明 */
.making-detail {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
  margin-top: 100px;
}

.making-detail__media {
  min-width: 0;
  margin: 0;
}

.making-detail__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  -o-object-fit: cover;
  object-fit: cover;
}

/* 2組目は動画を右側に */
.making-detail--reverse .making-detail__media {
  grid-column: 2;
  grid-row: 1;
}

.making-detail--reverse .making-detail__copy {
  grid-column: 1;
  grid-row: 1;
}

.making-detail__movie {
  width: min(100%, 360px);
  margin-inline: auto;
}

.making-detail__movie video {
  display: block;
  width: 100%;
  height: auto;
  background-color: #e6e2db;
}

/* 商品への橋渡し */
.making__closing {
  margin: 90px 0 0;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.06em;
}

/* スマホ */
@media (max-width: 767px) {
  .details {
    padding: 75px 24px 50px;
  }

  .making {
    padding: 25px 24px 75px;
  }

  .details .section-heading,
  .making .section-heading {
    margin-bottom: 40px;
  }

  .details .section-heading h2,
  .making .section-heading h2 {
    font-size: 24px;
  }

  .section-heading__intro {
    font-size: 14px;
  }

  .fish-detail,
  .making-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fish-detail__copy h3,
  .making-detail__copy h3 {
    font-size: 24px;
  }

  .fish-detail__copy > p,
  .making-detail__copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .making__steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .making__step {
    position: relative;
    padding-left: 48px;
  }

  .making__number {
    position: absolute;
    top: 22px;
    left: 0;
    font-size: 21px;
  }

  .making-detail {
    margin-top: 65px;
  }

  .making-detail--reverse .making-detail__media,
  .making-detail--reverse .making-detail__copy {
    grid-column: auto;
    grid-row: auto;
  }

  .making-detail__movie {
    width: 85%;
    max-width: 320px;
  }

  .making__closing {
    margin-top: 60px;
    font-size: 18px;
  }
}

/* ========================================
   人物とブリの写真
======================================== */

.fish-detail {
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

/* 写真2枚をまとめる */
.fish-detail__photos {
  position: relative;
  min-width: 0;
  padding: 0 70px 55px 0;
}

.fish-detail__portrait {
  margin: 0;
}

.fish-detail__portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  -o-object-fit: cover;
  object-fit: cover;
}

/* 小さいブリの写真 */
.fish-detail__closeup {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: 33%;
  margin: 0;
  border: 5px solid #faf9f5;
}

.fish-detail__closeup img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  -o-object-fit: cover;
  object-fit: cover;
}

.fish-detail__caption {
  margin: 16px 0 0;
  color: #74645b;
  font-size: 11px;
  line-height: 1.8;
}

/* ========================================
   商品案内に作り手の切り抜き
======================================== */

.product-link .product-inner {
  align-items: center;
}

.product-link__photo {
  width: 100%;
}

.product-link__copy {
  min-width: 0;
}

/* ボタンの下に、小さな作り手紹介 */
.product-link__maker {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.product-link .product-link__maker p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.product-link .product-link__maker img {
  flex: 0 0 auto;
  width: 155px;
  max-width: 42%;
  height: auto;
}

/* スマホ */
@media (max-width: 767px) {
  .fish-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fish-detail__photos {
    width: min(100%, 420px);
    margin-inline: auto;
    padding: 0 55px 35px 0;
  }

  .fish-detail__closeup {
    bottom: 55px;
    width: 32%;
    border-width: 4px;
  }

  .product-link__maker {
    gap: 12px;
    margin-top: 28px;
  }

  .product-link .product-link__maker img {
    width: 130px;
  }

  .product-link .product-link__maker p {
    font-size: 12px;
  }
}

/* ========================================
   ストーリーの背景装飾
======================================== */

.details,
.making {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

/* 写真・本文を波より手前に */
.details > .section-inner,
.making > .section-inner {
  position: relative;
  z-index: 1;
}

/* ========================================
   手仕事の締め・作り手
======================================== */

.making__ending {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 100px auto 0;
}

.making .making__closing {
  margin: 0;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 2;
  letter-spacing: 0.06em;
  text-align: left;
}

.story-maker {
  display: flex;
  align-items: center;
  gap: 16px;
}

.story-maker__message {
  position: relative;
  margin: 0;
  padding-bottom: 16px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.05em;
  transform: rotate(-5deg);
}

.story-maker__message::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 4px;
  width: 30px;
  height: 1px;
  background-color: #9f7865;
  transform: rotate(24deg);
}

.story-maker__image {
  display: block;
  flex-shrink: 0;
  width: 180px;
  height: auto;
}

/* ========================================
   商品案内・チワワ
======================================== */

.product-link {
  position: relative;
  overflow: clip;
}

/*
  写真と文章を上段に。
  犬は右下の独立したマスに入れる。
*/
.product-link .product-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  -moz-column-gap: 65px;
  column-gap: 65px;
  row-gap: 24px;
  padding-bottom: 0;
}

.product-link__photo {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
}

.product-link__copy {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

/* 絶対配置を解除して重なりを防ぐ */
.product-link__dog {
  position: static;
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  width: 190px;
  margin: 0 12px 0 0;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.product-link .product-link__dog img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
   スマホ
======================================== */

@media (max-width: 767px) {
  .story-wave {
    width: 540px;
    top: 30vh;
    opacity: 0.14;
  }

  .story-wave--left {
    margin-left: -350px;
  }

  .story-wave--right {
    top: 45vh;
    margin-right: -350px;
  }

  .making__ending {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 32px;
    margin-top: 65px;
  }

  .making .making__closing {
    font-size: 18px;
    text-align: center;
  }

  .story-maker {
    gap: 16px;
  }

  .story-maker__image {
    width: 145px;
  }

  .story-maker__message {
    font-size: 12px;
  }

  .product-link .product-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 32px;
    padding-bottom: 0;
  }

  .product-link__photo {
    grid-column: 1;
    grid-row: 1;
  }

  .product-link__copy {
    grid-column: 1;
    grid-row: 2;
  }

  .product-link__dog {
    grid-column: 1;
    grid-row: 3;
    width: 145px;
    margin: 0 8px 0 0;
  }
}

/* 動きを減らす設定・停止ボタンに対応 */
@media (prefers-reduced-motion: reduce) {
  .story-wave {
    position: relative;
    top: auto;
  }
}

.static-book .story-wave {
  position: relative;
  top: auto;
}

/* 波を上から見せる */
.story-wave--left {
  top: 15vh;
}

.story-wave--left img {
  transform: translateY(-140px) rotate(-12deg);
}

.story-wave--right {
  top: 25vh;
}

.story-wave--right img {
  transform: translateY(-140px) scaleX(-1) rotate(-10deg);
}

/* 作り手の横にある、短い棒を削除 */
.story-maker__message::after {
  content: none;
}

/* 犬をボタンの下・左寄りに配置 */
.product-link .product-inner {
  row-gap: 8px;
}

.product-link__dog {
  justify-self: start;
  width: 180px;
  margin: 0 0 0 35px;
}

/* スマホ */
@media (max-width: 767px) {
  .story-wave--left {
    top: 15vh;
  }

  .story-wave--right {
    top: 25vh;
  }

  .story-wave--left img {
    transform: translateY(-80px) rotate(-12deg);
  }

  .story-wave--right img {
    transform: translateY(-80px) scaleX(-1) rotate(-10deg);
  }

  .product-link .product-inner {
    row-gap: 24px;
  }

  .product-link__dog {
    justify-self: end;
    width: 140px;
    margin: 0 24px 0 0;
  }
}

/* 商品案内：写真と切り抜きをひとまとまりに */
.product-link {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 0 40px 85px;
  background: none;
}

/* 写真の途中から青背景が始まる */
.product-link::before {
  content: "";
  position: absolute;
  inset: 70px 0 0;
  z-index: -1;
  background-color: #d2dce3;
}

.product-link .product-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-rows: auto;
  align-items: center;
  gap: clamp(40px, 5vw, 75px);
  max-width: 1100px;
  margin-inline: auto;
  padding: 0;
}

.product-link__visual {
  position: relative;
  min-width: 0;
  margin-bottom: 45px;
}

.product-link .product-link__photo {
  display: block;
  width: 100%;
  height: auto;
}

/* 写真の左下に、右向きの犬 */
.product-link .product-link__dog {
  position: absolute;
  top: auto;
  right: auto;
  bottom: -45px;
  left: -40px;
  z-index: 2;
  width: clamp(130px, 14vw, 175px);
  margin: 0;
  transform: scaleX(-1);
  pointer-events: none;
}

.product-link .product-link__dog img {
  display: block;
  width: 100%;
  height: auto;
}

.product-link__copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding-top: 70px;
}

.product-link__copy .eyebrow {
  margin-bottom: 20px;
}

.product-link__copy h2 {
  margin-bottom: 24px;
  font-size: clamp(25px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.product-link__copy > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 2;
}

.product-link__copy .button {
  width: 100%;
  max-width: 310px;
  margin-top: 30px;
}

/* スマホ */
@media (max-width: 767px) {
  .product-link {
    padding: 0 24px 60px;
  }

  .product-link::before {
    top: 45px;
  }

  .product-link .product-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 35px;
    padding: 0;
  }

  .product-link__visual {
    margin-bottom: 35px;
  }

  .product-link .product-link__dog {
    width: 120px;
    bottom: -35px;
    left: -12px;
    margin: 0;
  }

  .product-link__copy {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
  }

  .product-link__copy h2 {
    font-size: 26px;
  }

  .product-link__copy .button {
    max-width: none;
  }
}

/* 波をセクションの外まで見せる */
.making {
  overflow: visible;
}

/*
  商品エリアの白い部分には背景を敷かず、
  前のセクションの波を見せる
*/
.product-link {
  background: transparent;
}

/* 青背景は波を覆い、写真と文字の後ろに配置 */
.product-link::before {
  z-index: 0;
}

.product-link .product-inner {
  position: relative;
  z-index: 1;
}

/* 北陸産天然鮮魚の丸い印 */
.product-link__badge {
  position: absolute;
  top: -30px;
  right: -25px;
  z-index: 3;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;

  width: 112px;
  height: 112px;
  margin: 0;
  padding: 12px;

  border: 1px solid #9f7865;
  border-radius: 48% 52% 49% 51%;
  background-color: #faf9f5;
  color: #805f4f;

  text-align: center;
  transform: rotate(8deg);
}

/* 内側にもう一本、細い輪郭 */
.product-link__badge::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #536b7d;
  border-radius: 51% 49% 52% 48%;
  pointer-events: none;
}

.product-link__badge span {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.product-link__badge strong {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

/* 茶色の小見出しを読みやすく */
.eyebrow,
.product-link__copy .eyebrow {
  color: #805f4f;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

/* スマホ */
@media (max-width: 767px) {
  .product-link__badge {
    top: -22px;
    right: -10px;
    width: 92px;
    height: 92px;
    padding: 10px;
  }

  .product-link__badge span {
    font-size: 11px;
  }

  .product-link__badge strong {
    font-size: 15px;
  }

  .eyebrow,
  .product-link__copy .eyebrow {
    font-size: 13px;
  }
}

/* 写真からはみ出すバッジも表示する */
.product-link,
.product-link__visual {
  overflow: visible;
}

/* 作り手のひと言の左に集中線 */
.story-maker__message {
  position: relative;
}

.story-maker__message::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -58px;
  width: 46px;
  aspect-ratio: 287 / 173;

  background: url("../images/story/maker-rays.png") center / contain no-repeat;

  transform: translateY(-50%) scaleX(-1);
  pointer-events: none;
}

/* 以前の短い棒は表示しない */
.story-maker__message::after {
  content: none;
}

@media (max-width: 767px) {
  .story-maker__message::before {
    left: -42px;
    width: 34px;
  }
}

/* 集中線：ひと言の左上に */
.story-maker__message::before {
  top: -15px;
  left: -26px;
  width: 26px;
  transform: scaleX(-1) rotate(12deg);
}

@media (max-width: 767px) {
  .story-maker__message::before {
    top: -6px;
    left: -26px;
    width: 25px;
  }
}
.product-link .product-link__dog {
  width: 145px;
  left: -100px;
  bottom: -0px;
  transform: none;
}

@media (max-width: 767px) {
  .product-link .product-link__dog {
    width: 105px;
    left: -10px;
    bottom: -25px;
  }
}

/* 魚の説明〜手仕事を、同じ波が追従 */
.story-flow {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: clip;
}

.story-flow__decoration,
.story-flow__content {
  grid-area: 1 / 1;
}

.story-flow__decoration {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  align-self: start;
  height: 100svh;
  z-index: 0;
  pointer-events: none;
}

.story-flow__decoration img {
  position: absolute;
  top: 24%;
  right: -180px;
  width: clamp(550px, 65vw, 850px);
  max-width: none;
  height: auto;
  opacity: 0.13;
  -webkit-animation: story-flow-drift 9s ease-in-out infinite alternate;
  animation: story-flow-drift 9s ease-in-out infinite alternate;
}

.story-flow__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

/* セクションの背景で波を覆わないように */
.story-flow__content > .details,
.story-flow__content > .making {
  background: transparent;
}

@-webkit-keyframes story-flow-drift {
  from {
    transform: translate3d(-8px, 6px, 0) rotate(-1deg);
  }

  to {
    transform: translate3d(8px, -6px, 0) rotate(1deg);
  }
}

@keyframes story-flow-drift {
  from {
    transform: translate3d(-8px, 6px, 0) rotate(-1deg);
  }

  to {
    transform: translate3d(8px, -6px, 0) rotate(1deg);
  }
}

@media (max-width: 767px) {
  .story-flow__decoration img {
    top: 28%;
    right: -260px;
    width: 580px;
    opacity: 0.1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-flow__decoration img {
    -webkit-animation: none;
    animation: none;
  }
}

.static-book .story-flow__decoration img {
  -webkit-animation: none;
  animation: none;
}

/* ブリの横長写真を元の比率で表示 */
.fish-detail__photos {
  padding: 0;
}

.fish-detail__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

/* 波を大きく、中央より少し左に配置 */
.story-flow__decoration img {
  top: 24%;
  right: auto;
  left: 44%;

  width: min(90vw, 1400px);
  max-width: none;
  height: auto;
  opacity: 0.13;

  -webkit-animation: story-flow-center-drift 9s ease-in-out infinite alternate;

  animation: story-flow-center-drift 9s ease-in-out infinite alternate;
}

@-webkit-keyframes story-flow-center-drift {
  from {
    transform: translateX(-50%) translateY(6px) rotate(-1deg);
  }

  to {
    transform: translateX(-50%) translateY(-6px) rotate(1deg);
  }
}

@keyframes story-flow-center-drift {
  from {
    transform: translateX(-50%) translateY(6px) rotate(-1deg);
  }

  to {
    transform: translateX(-50%) translateY(-6px) rotate(1deg);
  }
}

@media (max-width: 767px) {
  .story-flow__decoration img {
    top: 28%;
    left: 40%;
    right: auto;
    width: 850px;
    opacity: 0.1;
  }
}

/* 動きを止めても、配置は維持 */
@media (prefers-reduced-motion: reduce) {
  .story-flow__decoration img {
    -webkit-animation: none;
    animation: none;
    transform: translateX(-50%);
  }
}

.static-book .story-flow__decoration img {
  -webkit-animation: none;
  animation: none;
  transform: translateX(-50%);
}

/* 波：大きく、左へ */
.story-flow__decoration img {
  width: min(110vw, 1650px);
  left: 35%;
  right: auto;
}

/* ワンちゃん：左右反転 */
.product-link .product-link__dog {
  transform: scaleX(-1);
}

@media (max-width: 767px) {
  .story-flow__decoration img {
    width: 1000px;
    left: 28%;
    right: auto;
  }
}

/* 魚屋の仕事を支える人たち */
.story-partners {
  position: relative;
  padding: 0px 40px 150px;
}

.story-partners__inner {
  width: min(100%, 1120px);
  margin-inline: auto;
}

.story-partners__heading {
  margin-bottom: 64px;
  text-align: center;
}

.story-partners__eyebrow {
  margin: 0 0 14px;
  color: #9f7865;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.story-partners__heading h2 {
  margin: 0;
  color: #211815;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.story-partners__intro {
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.story-partners__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 38px;
}

/* 中央だけ下げ、少しリズムをつける */
.story-partners__item:nth-child(2) {
  margin-top: 56px;
}

.story-partners__photo {
  position: relative;
  margin: 0;
}

/* 写真の下に短いアクセント */
.story-partners__photo::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  width: 46px;
  height: 2px;
  background-color: #9f7865;
}

.story-partners__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  -o-object-fit: cover;
  object-fit: cover;
}

.story-partners__copy {
  padding-top: 28px;
}

.story-partners__place {
  margin: 0 0 8px;
  color: #805f4f;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.story-partners__copy h3 {
  margin: 0 0 16px;
  color: #211815;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.story-partners__text {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .story-partners {
    padding: 0px 24px 90px;
  }

  .story-partners__heading {
    margin-bottom: 40px;
  }

  .story-partners__heading h2 {
    font-size: 25px;
  }

  .story-partners__intro {
    margin-top: 20px;
    font-size: 14px;
    text-align: left;
  }

  .story-partners__intro br {
    display: none;
  }

  .story-partners__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    max-width: 440px;
    margin-inline: auto;
  }

  .story-partners__item:nth-child(2) {
    margin-top: 0;
  }

  .story-partners__copy {
    padding-top: 24px;
  }

  .story-partners__copy h3 {
    margin-bottom: 12px;
    font-size: 20px;
  }
}

/* 絵本の隅に添える、小さなページ名 */
.story-reader .page-name {
  width: 200px;
}

.story-reader .page-name img {
  display: block;
  width: 100%;
  height: auto;
}
/* ========================================
   ストーリーの背景を統一
======================================== */

:root {
  --paper: #f2f2f2;

  --washi-texture: linear-gradient(
      rgba(242, 242, 242, 0.75),
      rgba(242, 242, 242, 0.75)
    ),
    url("../images/common/bg-texture.svg");
}

/* 基本背景・絵本の周辺 */
body,
.cover,
.story-reader,
.story-reader.is-scroll-linked .story-reader__stage,
footer {
  background-color: #f2f2f2;
  background-image: var(--washi-texture);
  background-size: auto, 320px auto;
  background-repeat: no-repeat, repeat;
  background-position: left top;
  background-attachment: scroll;
}

/* 絵本は、ページごとの2色を残す */
.story-reader .book-page {
  background-color: var(--page-color, #f2f2f2);
  background-image: linear-gradient(
      rgba(242, 242, 242, 0.35),
      rgba(242, 242, 242, 0.35)
    ),
    url("../images/common/bg-texture.svg");
  background-size: auto, 320px auto;
  background-repeat: no-repeat, repeat;
  background-position: left top;
  background-attachment: scroll;
}

/* ページに重なっていた古い和紙画像を解除 */
.story-reader .book-page::before {
  content: none;
}

/* 本文部分はbodyの背景を見せる */
.details,
.making,
.story-care,
.story-flow__content > .details,
.story-flow__content > .making {
  background-color: transparent;
  background-image: none;
}

/* 商品エリア上部もbodyの背景につなげる */
.product-link {
  background-color: transparent;
  background-image: none;
}

/* ストーリーのアクセントカラー */
:root {
  --brown: #536b7d;
}

/* 商品へのボタン */
.button {
  background-color: #536b7d;
  color: #fff;
}

/* ホバー・キーボード選択時 */
.button:hover,
.button:focus-visible {
  background-color: #fff;
  color: #536b7d;
  outline: 1px solid #536b7d;
}

/* アクセントを青に統一 */
:root {
  --brown: #536b7d;
}

/* リンク・小文字・数字 */
.back,
.read-link,
.eyebrow,
.product-link__copy .eyebrow,
.page-number,
.page-name,
.story-reader__guide,
.story-reader__status,
.story-reader__controls button,
.fish-detail__caption,
.fish-detail__photo figcaption,
.detail-row figcaption,
.editor-note,
.story-partners__eyebrow,
.story-partners__place,
.product-link__badge,
.motion-toggle {
  color: #211815;
}

/* 枠線・区切り線 */
.site-header,
.story-reader .book-page,
.story-reader__controls button,
.fish-detail__tags li,
.making__number,
.making__step,
.editor-note,
.product-link__badge,
.product-link__badge::after,
.motion-toggle {
  border-color: #536b7d;
}

/* 背景色で描かれている短い線 */
.story-maker__message::after,
.story-partners__photo::after {
  background-color: #536b7d;
}

/* 商品ボタン */
.product-link .button {
  background-color: #536b7d;
  color: #fff;
}

/* 商品ボタンのホバー */
.product-link .button:hover,
.product-link .button:focus-visible {
  background-color: #fff;
  color: #536b7d;
  outline: 1px solid #536b7d;
}

/* ページ送りボタンのホバー */
.story-reader__controls button:not(:disabled):hover {
  background-color: #536b7d;
  color: #fff;
}

/* 横スクロールバー */
.story-reader .book {
  scrollbar-color: #536b7d #f2f2f2;
}

/* 動画に添える、中骨の写真 */
.making-bone-photo {
  width: 88%;
  max-width: 460px;
  margin: 32px 0 0 auto;
}

.making-bone-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  -o-object-fit: cover;
  object-fit: cover;
}

.making-bone-photo figcaption {
  margin-top: 12px;
  color: #536b7d;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

@media (max-width: 767px) {
  .making-bone-photo {
    width: 90%;
    margin-top: 24px;
  }

  .making-bone-photo figcaption {
    font-size: 13px;
  }
}

/* 動画の下に添える中骨の写真 */
.making-bone-photo {
  width: 78%;
  max-width: 350px;
  margin: 28px 0 0 auto;
}

.making-bone-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  -o-object-fit: cover;
  object-fit: cover;
}

.making-bone-photo figcaption {
  margin-top: 12px;
  color: #211815;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  text-align: center;
}

@media (max-width: 767px) {
  .making-bone-photo {
    width: 85%;
    max-width: 350px;
    margin-top: 24px;
  }

  .making-bone-photo figcaption {
    font-size: 13px;
  }
}

/* 絵本：青の濃淡を交互に */
.book > .book-page:nth-child(odd) {
  --page-color: #eaf0f3;
}

.book > .book-page:nth-child(even) {
  --page-color: #dce6ec;
}

.book .book-page,
.paper-turn .book-page {
  background-color: var(--page-color, #eaf0f3);
  background-image: none;
  color: #211815;
}
