@charset "UTF-8";

:root {
  --font-base: "dnp-shuei-gothic-gin-std", sans-serif;
  --font-number: "TikTok Sans", sans-serif;
  --color-text: #211815;
}

/* 基本設定 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background-color: #faf9f5;
  color: var(--color-text);
  font-family: var(--font-base);
  font-weight: 600;
  font-style: normal;
  line-height: 1.8;
  background-image: url("../images/common/bg-texture.svg");
  background-repeat: repeat;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* fv */

.fv {
  position: relative;
  height: 100svh;
  min-height: 650px;
  overflow: hidden;
}

.fv__visual {
  position: absolute;
  inset: 0;
}

.fv__list {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 写真を同じ位置に重ねる */
.fv__item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s ease;
}

/* JSが読み込めない場合も1枚目を表示 */
.fv__item:first-child {
  opacity: 1;
}

/* スライド開始後の表示 */
.fv.is-ready .fv__item {
  opacity: 0;
}

.fv.is-ready .fv__item.is-active {
  opacity: 1;
}

.fv__item img {
  width: 100%;
  height: 100%;

  -o-object-fit: cover;

  object-fit: cover;
}

/* 写真は小さな幅で、ゆっくり拡大・縮小 */
.fv.is-playing .fv__item img {
  -webkit-animation: fv-zoom 12s ease-in-out infinite alternate;

  animation: fv-zoom 12s ease-in-out infinite alternate;
}

@-webkit-keyframes fv-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@keyframes fv-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.fv__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1200px);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(80px, 10vh, 140px);
  pointer-events: none;
}

.fv__contents {
  color: #fff;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 20px;
  margin-left: 20%;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.fv__contents h1 {
  -webkit-writing-mode: vertical-rl;

  -ms-writing-mode: tb-rl;

  writing-mode: vertical-rl;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;

  -webkit-animation: fv-copy-in 1.8s ease both;

  animation: fv-copy-in 1.8s ease both;
}

.fv__subtitle {
  -webkit-writing-mode: vertical-rl;

  -ms-writing-mode: tb-rl;

  writing-mode: vertical-rl;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.1em;

  -webkit-animation: fv-copy-in 1.8s ease 0.5s both;

  animation: fv-copy-in 1.8s ease 0.5s both;
}

@-webkit-keyframes fv-copy-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fv-copy-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* スライドの一時停止ボタン */
.fv__pause {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.fv__pause:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.fv.is-paused .fv__item img {
  -webkit-animation-play-state: paused;

  animation-play-state: paused;
}

/* 端末で動きを減らす設定がある場合 */
@media (prefers-reduced-motion: reduce) {
  .fv.is-playing .fv__item img,
  .fv__contents h1,
  .fv__subtitle {
    -webkit-animation: none;

    animation: none;
  }

  .fv__item {
    transition: none;
  }
}
/* header */

.header {
  position: -webkit-sticky;

  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: #fff;
}

.header__inner {
  width: 100%;
  height: 80px;
  padding-left: max(20px, calc((100% - 1400px) / 2));
  margin-inline: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.logo-contents {
  display: flex;
  align-items: center;
  gap: 46px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 46px;
}

.nav__contents {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo img {
  width: 60px;
  height: auto;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
  font-size: 24px;
}

.header__logo-text span {
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.18em;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background-color: #9f7865;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  height: 100%;
  border-radius: 0;
}

.header__cta:hover {
  background-color: #87634f;
}

/* ナビ：下線を左から表示 */
.nav__item a {
  position: relative;
  display: inline-block;
  padding-block: 8px;
  transition: color 0.3s ease;
}

.nav__item a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background-color: #9f7865;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

/* CTA */
.header__cta,
.product__button {
  transition: background-color 0.35s ease;
}

@media (hover: hover) {
  .nav__item a:hover {
    color: #9f7865;
  }

  .nav__item a:hover::after {
    transform: scaleX(1);
  }

  .header__cta:hover,
  .product__button:hover {
    background-color: #80604f;
  }
}

/* キーボードで選択したとき */
.nav__item a:focus-visible::after {
  transform: scaleX(1);
}

.header__cta:focus-visible,
.product__button:focus-visible,
.nav__item a:focus-visible {
  outline: 2px solid #9f7865;
  outline-offset: 4px;
}

/* ごあいさつ */
.greeting {
  position: relative;
  isolation: isolate;
  overflow: clip;

  -webkit-clip-path: inset(0);

  clip-path: inset(0);
  padding: 140px 20px 120px;
}

/* 以前の固定の魚を解除 */
.greeting::after {
  content: none;
}

/* ごあいさつ全体を覆う、魚専用のエリア */
.greeting__fish-area {
  position: absolute;
  top: 0;
  right: 0;
  bottom: -400px;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

/* 左の魚 */
.greeting__fish {
  position: -webkit-sticky;

  position: sticky;
  top: 60vh;

  display: block;
  width: clamp(140px, 15vw, 230px);
  height: auto;
  margin-top: 420px;
  margin-left: 3vw;
  opacity: 0.4;
}

/* 本文・写真を魚より手前に */
.greeting__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-inline: auto;
}

/* 右下の背景ロゴ */
.greeting::before {
  content: "";
  position: absolute;
  width: 1800px;
  aspect-ratio: 1;
  right: -600px;
  bottom: -600px;

  background-image: url("../images/greeting/greeting-logo.png");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;

  opacity: 0.035;
  pointer-events: none;
}

/* 見出し・本文 */
.greeting__body {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: flex-start;
  gap: 42px;
}

.greeting .section-heading {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 8px;

  -webkit-writing-mode: horizontal-tb;

  -ms-writing-mode: lr-tb;

  writing-mode: horizontal-tb;
  transform: translateY(-28px);
}

.greeting .section-heading h2 {
  margin: 0;

  -webkit-writing-mode: vertical-rl;

  -ms-writing-mode: tb-rl;

  writing-mode: vertical-rl;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.3em;
}

.greeting .sub-title {
  -webkit-writing-mode: vertical-rl;

  -ms-writing-mode: tb-rl;

  writing-mode: vertical-rl;
  color: #9f7865;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.1em;
}

.greeting__copy {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 40px;
  font-family: var(--font-base);
  font-style: normal;
  font-weight: 600;
}

.greeting__text {
  -webkit-writing-mode: vertical-rl;

  -ms-writing-mode: tb-rl;

  writing-mode: vertical-rl;
  white-space: nowrap;
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: 0.2em;
}

/* ごあいさつ：作り手の写真 */
.greeting__figure {
  position: relative;
  width: min(100% - 100px, 720px);
  margin: 100px auto 60px;
}

/* 写真 */
.greeting__photo {
  position: relative;
  isolation: isolate;
}

.greeting__photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* 写真の後ろにずらした枠 */
.greeting__photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 100px;
  right: 40px;
  bottom: -60px;
  left: -80px;
  border: 1px solid #706b65;
  pointer-events: none;
}

/* 写真右上の縦書きの札 */
.greeting__figure .greeting__message {
  position: absolute;
  z-index: 2;
  top: -70px;
  right: -48px;

  margin: 0;
  padding: 40px 24px;

  -webkit-writing-mode: vertical-rl;

  -ms-writing-mode: tb-rl;

  writing-mode: vertical-rl;
  white-space: nowrap;

  font-family: var(--font-base);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16em;
  color: var(--color-text);

  background-color: #faf9f5;
}

/* 墨風にかすれた札の枠 */
.greeting__message::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/greeting/message-frame.svg");
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.greeting__photo img {
  width: 100%;
  height: auto;
}

/* 商品紹介 */
.product {
  position: relative;
  overflow: hidden;
  background-color: #d2dce3;
  padding: 120px 20px;
}

.product::before,
.product::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.product::before {
  width: 920px;
  height: 420px;
  left: -10px;
  bottom: -40px;
  background-image: url("../images/product/product-sumi.png");
  opacity: 0.6;
}

.product::after {
  width: 360px;
  height: 400px;
  top: -30px;
  right: -10px;
  background-image: url("../images/product/product-fish.png");
  opacity: 0.8;
}

.product__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1250px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  gap: 50px;
}

.product__visual img {
  width: 100%;
}

.product__lead {
  color: #9f7865;
  font-size: 16px;
  letter-spacing: 0.06em;
}

.product__contents h2 {
  margin: 0 0 10px;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.product__text {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.9;
}

.product__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.product__item {
  border: 1px solid var(--color-text);
  padding: 2px 12px;
  font-size: 18px;
}

.product__quantity {
  font-size: 16px;
}

.product__price {
  margin-bottom: 26px;
  font-size: 26px;
  line-height: 1.5;
}

.product__price span {
  margin-left: 4px;
  font-size: 14px;
}

.product__button {
  display: flex;
  justify-content: center;
  width: 260px;
  padding: 12px 20px;
  background-color: #9f7865;
  color: #fff;
  font-size: 16px;
}

/* 循環 */
.cycle {
  padding: 120px 20px;
  text-align: center;
}

.cycle__inner {
  max-width: 1200px;
  margin-inline: auto;
}

.cycle__lead {
  color: #9f7865;
  font-size: 16px;
  letter-spacing: 0.06em;
}

.cycle h2 {
  margin: 8px 0 18px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.cycle__message {
  margin-bottom: 8px;
  font-size: 24px;
  letter-spacing: 0.08em;
}

.cycle__text {
  font-size: 18px;
  letter-spacing: 0.05em;
}

.cycle__diagram {
  position: relative;
  width: 800px;
  height: 800px;
  margin: 90px auto 0;
}

.cycle__list {
  position: absolute;
  inset: 0;
}

.cycle__item,
.cycle__center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 190px;
  height: 190px;
  font-size: 17px;

  border: 1px solid #d8dfe2;
  border-radius: 50%;
  background-color: #fff;
}

.cycle__item img,
.cycle__center img,
.cycle__illustration {
  width: 150px;
  height: 120px;

  -o-object-fit: contain;

  object-fit: contain;
}

.cycle__center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cycle__item:nth-child(1) {
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cycle__item:nth-child(2) {
  top: 50%;
  left: 85%;
  transform: translate(-50%, -50%);
}

.cycle__item:nth-child(3) {
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cycle__item:nth-child(4) {
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%);
}

.cycle__handwriting {
  position: absolute;
  top: -65px;
  left: calc(85% + 90px);

  -webkit-writing-mode: vertical-rl;

  -ms-writing-mode: tb-rl;

  writing-mode: vertical-rl;
  white-space: nowrap;
  color: #9f7865;
  font-family: var(--font-base);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.25em;
}

/* 循環の矢印 */
.cycle__arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: var(--color-text);
  stroke-width: 1.3;
}

.cycle__arrows marker path {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cycle__arrows,
.cycle__arrows marker path {
  stroke: var(--color-text);
}

/* 海からごはんになるまで */
.story {
  background-color: #fff;
  padding: 100px 20px 120px;
}

.story__inner {
  width: min(100%, 1100px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}

.story__card img {
  width: 100%;
  aspect-ratio: 3 / 2;

  -o-object-fit: cover;

  object-fit: cover;
}

.story__card h3 {
  margin: 20px 0 8px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.story__card p {
  font-size: 16px;
  line-height: 1.9;
}

/* 6つの特徴 */
.features {
  padding: 105px 20px;
  background: linear-gradient(
      rgba(250, 249, 245, 0.9),
      rgba(250, 249, 245, 0.9)
    ),
    url("../images/features/work.webp") center / cover;
}

.features__inner {
  width: min(100%, 1120px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: start;
  gap: 36px;
}

.features__heading {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 12px;
  justify-self: center;
  margin-top: 65px;
}

.features__heading span {
  -webkit-writing-mode: vertical-rl;

  -ms-writing-mode: tb-rl;

  writing-mode: vertical-rl;
  color: #9f7865;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.1em;
}

.features__heading h2 {
  margin: 0;

  -webkit-writing-mode: vertical-rl;

  -ms-writing-mode: tb-rl;

  writing-mode: vertical-rl;

  -webkit-text-orientation: upright;

  text-orientation: upright;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.3em;
}

.features__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.features__card {
  min-width: 0;
  background: #fff;
  box-shadow: 0 10px 32px rgba(52, 69, 80, 0.05);
}

.features__card img {
  width: 100%;
  aspect-ratio: 1.55;

  -o-object-fit: cover;

  object-fit: cover;
}

.features__body {
  padding: 23px 22px 27px;
}

.features__number {
  display: block;
  color: #a97c68;
  font-family: var(--font-number);
  font-size: 34px;
  line-height: 1;
  font-weight: 500;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "slnt" 0, "wdth" 100;
}

.features__card:nth-child(even) .features__number {
  color: #7695a0;
}

.features__number::after {
  content: "";
  display: block;
  width: 27px;
  height: 1px;
  margin-top: 8px;
  background: currentColor;
  opacity: 0.65;
}

.features__body h3 {
  margin: 14px 0 9px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
}

.features__body p {
  font-size: 16px;
  line-height: 1.8;
}

/* こんなワンちゃんと、飼い主さんへ */
.recommend {
  padding: 85px 20px 105px;
}

.recommend__inner {
  width: min(100%, 1120px);
  margin-inline: auto;
  padding-bottom: 95px;
  border-bottom: 1px solid #8299a1;
}

.recommend__en {
  color: #9f7865;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.recommend h2 {
  margin: 4px 0 48px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.recommend__contents {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 70px;
}

.recommend__list li {
  position: relative;
  padding: 18px 0 18px 26px;
  font-size: 20px;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.recommend__list li:not(:last-child) {
  border-bottom: 1px solid #8299a1;
}

.recommend__list li::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #9f7865;
  border-bottom: 2px solid #9f7865;
  transform: rotate(45deg);
}

.recommend__image {
  width: 100%;
  aspect-ratio: 1.5;

  -o-object-fit: cover;

  object-fit: cover;
}

/* お客様の声 */
.voice {
  padding: 110px 20px 140px;
}

.voice__inner {
  width: min(100%, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: start;
  gap: 60px;
}

.voice__list {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.voice__item {
  width: min(100%, 700px);
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  grid-template-areas: "photo body";
  align-items: stretch;
  gap: 40px;
}

.voice__item:nth-child(even) {
  align-self: flex-end;
  grid-template-columns: minmax(0, 1fr) 270px;
  grid-template-areas: "body photo";
}

.voice__photo {
  grid-area: photo;
  width: 100%;
  aspect-ratio: 5 / 6;

  -o-object-fit: cover;

  object-fit: cover;
  border: 1px solid var(--color-text);
}

.voice__body {
  grid-area: body;
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 22px;
}

.voice__bubble {
  position: absolute;
  z-index: 1;
  isolation: isolate;
  top: 18px;
  left: -35px;
  display: grid;
  place-items: center;
  width: 310px;
  min-height: 130px;
  margin: 0;
  padding: 22px 28px 30px;
  color: #fff;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  text-align: center;
}

.voice__bubble::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("../images/voice/bubble.png") center / 100% 100% no-repeat;
}

.voice__item:nth-child(even) .voice__bubble {
  left: auto;
  right: -35px;
}

.voice__item:nth-child(even) .voice__bubble::before {
  transform: scaleX(-1);
}

.voice__body h3 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.voice__body h3::after {
  content: "";
  display: block;
  width: 300px;
  height: 1px;
  margin-top: 12px;
  background-color: #8299a1;
}

.voice__review {
  font-size: 16px;
  line-height: 1.9;
}

.voice__note {
  align-self: flex-end;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.12em;
}

.voice__side {
  position: -webkit-sticky;

  position: sticky;
  top: 100px;
  justify-self: center;
}

.voice__heading {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
}

.voice__heading h2 {
  margin: 0;

  -webkit-writing-mode: vertical-rl;

  -ms-writing-mode: tb-rl;

  writing-mode: vertical-rl;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.2em;
}

.voice__heading span {
  -webkit-writing-mode: vertical-rl;

  -ms-writing-mode: tb-rl;

  writing-mode: vertical-rl;
  color: #9f7865;
  font-size: 13px;
  line-height: 1;
}

.voice__scroll {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-top: 60px;
}

.voice__scroll > span:first-child {
  -webkit-writing-mode: vertical-rl;

  -ms-writing-mode: tb-rl;

  writing-mode: vertical-rl;
  font-size: 16px;
  letter-spacing: 0.18em;
}

.voice__scroll-arrow {
  position: relative;
  display: block;
  width: 1px;
  height: 80px;
  background-color: #536b7d;

  -webkit-animation: voice-scroll 2.4s ease-in-out infinite;

  animation: voice-scroll 2.4s ease-in-out infinite;
}

.voice__scroll-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-right: 1px solid #536b7d;
  border-bottom: 1px solid #536b7d;
  background: none;
  transform: translateX(-50%) rotate(45deg);
  transform-origin: center;
}

@-webkit-keyframes voice-scroll {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}

@keyframes voice-scroll {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice__scroll-arrow {
    -webkit-animation: none;

    animation: none;
  }
}

/* ギフト */
.gift {
  position: relative;
  overflow: hidden;
  padding: 110px 40px 130px;
  background-color: #e4eaee;
}

.gift__inner {
  width: min(100%, 1400px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 60px;
}

/* 文章 */
.gift__contents {
  position: relative;
  isolation: isolate;
  padding-bottom: 160px;
}

.gift__en {
  margin: 0 0 16px;
  color: #211815;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.gift__title {
  margin: 0 0 32px;
  font-size: clamp(25px, 2.2vw, 32px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

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

/* テキスト左下の波 */
.gift__wave {
  position: absolute;
  z-index: -1;
  left: -70px;
  bottom: -15px;
  width: 320px;
  max-width: none;
  height: auto;
  opacity: 0.18;
  pointer-events: none;
}

/* 写真と、右下にずらした細枠 */
.gift__visual {
  position: relative;
  isolation: isolate;
  min-width: 0;
  margin: 0 22px 22px 0;
}

.gift__visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 22px -22px -22px 22px;
  border: 1px solid #536b7d;
  pointer-events: none;
}

.gift__visual > img {
  display: block;
  width: 100%;
  height: auto;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .gift {
    padding: 64px 24px 80px;
  }

  .gift__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .gift__contents {
    padding-bottom: 90px;
  }

  .gift__en {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .gift__title {
    margin-bottom: 22px;
    font-size: 25px;
    letter-spacing: 0.02em;
  }

  .gift__text {
    font-size: 15px;
  }

  .gift__text br {
    display: none;
  }

  .gift__wave {
    left: -45px;
    bottom: -10px;
    width: 210px;
    opacity: 0.16;
  }

  .gift__visual {
    margin: 0 12px 12px 0;
  }

  .gift__visual::before {
    inset: 12px -12px -12px 12px;
  }
}

/* 海の写真・フッター */
.footer-sea {
  height: clamp(300px, 29vw, 500px);
  background-image: url("../images/common/footer-sea.png");
  background-size: cover;
  background-position: center 62%;
  background-attachment: fixed;
}
.footer {
  background-color: #536b7d;
  color: #fff;
}

.footer__inner {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
  padding: 28px 0 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;

  -moz-column-gap: 40px;

  column-gap: 40px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  width: -webkit-fit-content;

  width: -moz-fit-content;

  width: fit-content;
}

.footer__logo img {
  width: 42px;
  height: 42px;

  -o-object-fit: contain;

  object-fit: contain;
}

.footer__logo-text {
  display: flex;
  flex-direction: column;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.footer__logo-text small {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-align: center;
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 8px;
}

.footer__nav a {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.footer__nav a:hover {
  opacity: 0.7;
}

.footer__copyright {
  grid-column: 1 / -1;
  margin-top: 42px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.fv__item picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* PCではハンバーガーを表示しない */
.header__menu {
  display: none;
}

/* ========================================
   スマホ
======================================== */
@media screen and (max-width: 767px) {
  html {
    scroll-padding-top: 90px;
  }

  /* FV */
  .fv {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .fv__inner {
    width: calc(100% - 40px);
    padding-top: 30px;
  }

  .fv__contents {
    margin-left: 20%;
    gap: 12px;
  }

  .fv__contents h1 {
    font-size: clamp(24px, 6.4vw, 34px);
    line-height: 1.45;
    letter-spacing: 0.1em;
  }

  .fv__subtitle {
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.06em;
  }

  .fv__pause {
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
    font-size: 11px;
  }

  /* ヘッダー：ロゴとメニューボタン */
  .header__inner {
    position: relative;
    height: 76px;
    min-height: 76px;
    padding: 10px 20px;
    flex-wrap: nowrap;
    gap: 16px;
  }

  .logo-contents {
    width: auto;
    padding: 0;
    gap: 0;
  }
  .header__logo {
    gap: 8px;
  }
  .header__logo img {
    width: 40px;
  }
  .logo-name {
    font-size: 17px;
  }
  .header__logo-text span {
    font-size: 9px;
  }

  /* ハンバーガーボタン */
  .header__menu {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-text);
    cursor: pointer;
  }

  .header__menu span {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: top 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  }

  .header__menu span:nth-child(1) {
    top: 14px;
  }

  .header__menu span:nth-child(2) {
    top: 22px;
  }

  .header__menu span:nth-child(3) {
    top: 30px;
  }

  /* 開いているときは × に */
  .header__menu[aria-expanded="true"] span:nth-child(1) {
    top: 22px;
    transform: rotate(45deg);
  }

  .header__menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .header__menu[aria-expanded="true"] span:nth-child(3) {
    top: 22px;
    transform: rotate(-45deg);
  }

  .header__menu:focus-visible {
    outline: 2px solid #9f7865;
    outline-offset: 3px;
  }

  /* 全画面メニュー：上76pxはロゴ・閉じるボタン */
  .header .nav__contents {
    position: fixed;
    inset: 76px 0 0;
    display: none;
    width: 100%;
    height: calc(100dvh - 76px);
    max-height: none;
    padding: 32px 28px;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
    overflow-y: auto;
    -ms-scroll-chaining: none;
    overscroll-behavior: contain;
    align-items: stretch;
    border-top: 1px solid #e8e3dd;
    background: #faf9f5;
  }

  .header .nav__contents.is-open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
  }

  .header .nav__list {
    width: 100%;
    flex: none;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }

  .header .nav__item {
    border-bottom: 1px solid #e8e3dd;
  }

  .header .nav__item a {
    display: block;
    padding: 20px 4px;
    text-align: center;
    font-size: 17px;
    letter-spacing: 0.12em;
  }

  .header .header__cta {
    width: 100%;
    height: auto;
    min-height: 52px;
    flex-shrink: 0;
    padding: 14px 20px;
    font-size: 14px;
  }

  body:has(.header__menu[aria-expanded="true"]) {
    overflow: hidden;
  }

  .header:has(.header__menu[aria-expanded="true"]) {
    position: fixed;
    inset: 0 0 auto;
    height: 76px;
  }

  body:has(.header__menu[aria-expanded="true"]) .fv {
    margin-bottom: 76px;
  }

  @media (prefers-reduced-motion: reduce) {
    .header__menu span {
      transition: none;
    }
  }

  /* ごあいさつ */
  .greeting {
    padding: 80px 24px 90px;
  }

  .greeting__body {
    flex-direction: column;
    align-items: center;
    gap: 35px;
  }

  .greeting .section-heading {
    transform: none;
  }

  .greeting .section-heading h2 {
    font-size: 26px;
  }

  .greeting__copy {
    width: 100%;
    max-width: 360px;
    flex-direction: column;
    gap: 24px;
  }

  .greeting__text {
    -webkit-writing-mode: horizontal-tb;

    -ms-writing-mode: lr-tb;

    writing-mode: horizontal-tb;
    white-space: normal;
    font-size: 16px;
    line-height: 2.1;
    letter-spacing: 0.06em;
  }

  .greeting::before {
    width: 750px;
    right: -390px;
    bottom: -170px;
    opacity: 0.03;
  }

  .greeting__fish {
    width: 110px;
    margin-top: 320px;
    margin-left: -25px;
    opacity: 0.2;
  }

  .greeting__figure {
    width: calc(100% - 26px);
    max-width: 420px;
    margin: 80px auto 25px;
  }

  .greeting__photo::before {
    top: 35px;
    right: 22px;
    bottom: -25px;
    left: -20px;
  }

  .greeting__figure .greeting__message {
    top: -35px;
    right: -15px;
    padding: 20px 12px;
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  /* 商品 */
  .product {
    padding: 65px 24px;
  }

  .product__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .product__visual {
    grid-row: 1;
  }

  .product__contents h2 {
    font-size: 28px;
    letter-spacing: 0.1em;
  }

  .product__lead {
    font-size: 12px;
  }

  .product__text {
    font-size: 15px;
  }

  .product__list {
    gap: 8px;
  }

  .product__item {
    padding: 3px 10px;
    font-size: 13px;
  }

  .product__quantity {
    font-size: 14px;
  }

  .product__button {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    padding: 15px 20px;
  }

  .product::before {
    width: 480px;
    height: 260px;
    left: -180px;
    opacity: 0.3;
  }

  .product::after {
    width: 160px;
    height: 180px;
    right: -35px;
    opacity: 0.4;
  }

  /* 循環 */
  .cycle {
    padding: 70px 20px 60px;
  }

  .cycle__lead {
    font-size: 12px;
  }

  .cycle h2 {
    margin: 10px 0 24px;
    font-size: 24px;
    line-height: 1.7;
    letter-spacing: 0.05em;
    text-wrap: balance;
  }

  .cycle__message {
    font-size: 17px;
    line-height: 1.9;
    letter-spacing: 0.04em;
    text-wrap: balance;
  }

  .cycle__text {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.9;
  }

  .cycle__diagram {
    width: min(100%, 420px);
    height: auto;
    aspect-ratio: 1;
    margin: 45px auto 90px;
  }

  .cycle__item,
  .cycle__center {
    width: 27%;
    height: auto;
    aspect-ratio: 1;
    font-size: 12px;
  }

  .cycle__item img,
  .cycle__center img,
  .cycle__illustration {
    width: 75%;
    height: 58%;

    -o-object-fit: contain;

    object-fit: contain;
  }

  .cycle__handwriting {
    top: calc(100% + 20px);
    left: 0;
    width: 100%;

    -webkit-writing-mode: horizontal-tb;

    -ms-writing-mode: lr-tb;

    writing-mode: horizontal-tb;
    font-size: 23px;
    line-height: 1.6;
    text-align: center;
    letter-spacing: 0.2em;
  }

  /* 6つの特徴 */
  .features {
    padding: 65px 20px;
  }

  .features__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .features__heading {
    margin-top: 0;
    gap: 8px;
  }

  .features__heading h2 {
    font-size: 26px;
  }

  .features__heading span {
    font-size: 10px;
  }

  .features__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .features__body {
    padding: 16px 12px 20px;
  }

  .features__number {
    font-size: 29px;
  }

  .features__body h3 {
    margin: 12px 0 8px;
    font-size: 16px;
    line-height: 1.6;
  }

  .features__body p {
    font-size: 13px;
    line-height: 1.9;
  }

  /* PCの3列用の表示タイミングを2列用に */
  .features__card.reveal {
    --reveal-delay: 0s;
  }

  .features__card.reveal:nth-child(even) {
    --reveal-delay: 0.12s;
  }

  /* おすすめ */
  .recommend {
    padding: 65px 24px 0;
  }

  .recommend__inner {
    padding-bottom: 60px;
  }

  .recommend__en {
    font-size: 11px;
  }

  .recommend h2 {
    margin: 8px 0 28px;
    font-size: 24px;
    line-height: 1.7;
    letter-spacing: 0.06em;
    text-wrap: balance;
  }

  .recommend__contents {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .recommend__list li {
    font-size: 15px;
    letter-spacing: 0;
  }

  /* お客様の声 */
  .voice {
    padding: 65px 24px 75px;
  }

  .voice__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .voice__side {
    position: static;
    grid-row: 1;
    justify-self: center;
  }

  .voice__heading {
    gap: 8px;
  }

  .voice__heading h2 {
    font-size: 26px;
  }

  .voice__heading span {
    font-size: 11px;
  }

  .voice__scroll {
    display: none;
  }

  .voice__list {
    gap: 60px;
  }

  .voice__item,
  .voice__item:nth-child(even) {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "photo"
      "body";
    gap: 22px;
    align-self: stretch;
  }

  .voice__photo {
    width: 65%;
    max-width: 250px;
    justify-self: start;
    aspect-ratio: 5 / 6;
  }

  .voice__item:nth-child(even) .voice__photo {
    justify-self: end;
  }

  .voice__body {
    padding-bottom: 0;
    position: static;
  }

  .voice__item,
  .voice__item:nth-child(even) {
    position: relative;
    padding-top: 100px;
  }

  .voice .voice__bubble,
  .voice .voice__item:nth-child(even) .voice__bubble {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: min(280px, 100%);
    min-height: 120px;
    margin: 0;
    padding: 22px 24px 30px;
    font-size: 16px;
    line-height: 1.7;
  }

  .voice .voice__item:nth-child(even) .voice__bubble {
    right: auto;
    left: 0;
  }

  /* 吹き出しも通常の配置にして、
     写真・本文との重なりを防ぐ */
  .voice__bubble,
  .voice__item:nth-child(even) .voice__bubble {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: min(100%, 260px);
    min-height: 105px;
    align-self: flex-end;
    margin: 0 0 22px;
    padding: 18px 22px 26px;
    font-size: 15px;
  }

  .voice__item:nth-child(even) .voice__bubble {
    align-self: flex-start;
  }

  .voice__body h3 {
    margin-bottom: 14px;
    font-size: 21px;
    letter-spacing: 0.04em;
  }

  .voice__body h3::after {
    width: 100%;
    margin-top: 18px;
  }

  .voice__review {
    font-size: 15px;
  }

  .voice__note {
    font-size: 11px;
  }

  /* 海・フッター */
  .footer-sea {
    height: 240px;
    background-attachment: scroll;
    background-position: center;
  }

  .footer__inner {
    width: calc(100% - 48px);
    padding: 32px 0 24px;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer__logo {
    justify-self: center;
  }

  .footer__nav ul {
    justify-content: center;
    gap: 16px 24px;
    padding-top: 0;
  }

  .footer__nav a {
    font-size: 12px;
  }

  .footer__copyright {
    margin-top: 10px;
    font-size: 10px;
  }

  /* 幅が特に小さいスマートフォン */
  @media screen and (max-width: 359px) {
    .nav__item a,
    .header__cta {
      font-size: 9px;
    }

    .features__list {
      grid-template-columns: minmax(0, 1fr);
    }

    .cycle__item,
    .cycle__center {
      font-size: 10px;
    }
  }
}

/* フォーム部品にも共通フォントを使用 */
button,
input,
select,
textarea {
  font-family: var(--font-base);
}

/* サイズ未指定の見出しにも同じ太さを適用 */
h1,
h2,
h3 {
  font-weight: 600;
}

/* 高さが小さいスマートフォンではメニューを上から表示 */
@media screen and (max-width: 767px) and (max-height: 600px) {
  .header .nav__contents.is-open {
    justify-content: flex-start;
  }
}

/* 本文の字間を少し広げる */
.product__text,
.cycle__text,
.story__card p,
.features__body p,
.voice__review,
.gift__text {
  letter-spacing: 0.08em;
}

/* PC：ギフトの見出しを1行に収める */
@media screen and (min-width: 768px) {
  .gift__contents h2 {
    font-size: clamp(22px, 2.1vw, 30px);
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
}

/* 本文は少しやわらかい色・太さに */
.greeting__copy,
.product__text,
.cycle__text,
.story__card p,
.features__body p,
.recommend__list,
.voice__review,
.gift__text {
  color: #3b332f;
  font-weight: 400;
}

.greeting__text {
  font-weight: 600;
}

/* 本文：太さを残し、間隔で読みやすく */
.product__text,
.cycle__text,
.story__card p,
.voice__review,
.gift__text {
  color: #211815;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.9;
}

/* 特徴カードは字間を少し控えめに */
.features__body p {
  color: #211815;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

/* ========================================
   海からごはんになるまで
======================================== */
.story {
  padding: 100px 0 120px;
  background: transparent;
}

.story__inner {
  display: block;
  width: min(calc(100% - 80px), 1376px);
  margin-inline: auto;
}

/* 大きな映像と、横写真＋文章の2列 */
.story__row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  -moz-column-gap: clamp(48px, 6vw, 100px);
  column-gap: clamp(48px, 6vw, 100px);
}

.story__row + .story__row {
  margin-top: clamp(140px, 16vw, 220px);
}

/* 大きな縦長写真・動画 */
.story__main {
  min-width: 0;
}

.story__video,
.story__main-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
}

/* 小写真側を下げて、上下にずれを作る */
.story__detail {
  min-width: 0;
  padding-top: clamp(60px, 8vw, 120px);
}

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

/* 横写真と文章の間をゆったり */
.story__copy {
  margin-top: 42px;
  text-align: center;
}

.story__eyebrow {
  margin: 0 0 16px;
  color: #9f7865;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.story__copy h3 {
  margin: 0 0 26px;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.06em;
}

.story__text {
  margin: 0;
  color: #211815;
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.06em;
}

/* 下段は、大きな写真を右に */
.story__row--reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.story__row--reverse .story__main {
  grid-column: 2;
  grid-row: 1;
}

.story__row--reverse .story__detail {
  grid-column: 1;
  grid-row: 1;
}

/* SP */
@media screen and (max-width: 767px) {
  .story {
    padding: 64px 0 80px;
  }

  .story__inner {
    width: calc(100% - 48px);
  }

  .story__row,
  .story__row--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .story__row + .story__row {
    margin-top: 100px;
  }

  .story__row--reverse .story__main,
  .story__row--reverse .story__detail {
    grid-column: auto;
    grid-row: auto;
  }

  .story__main {
    width: 88%;
  }

  .story__row--reverse .story__main {
    margin-left: auto;
  }

  /* 小写真は反対側に寄せる */
  .story__detail {
    width: 100%;
    padding-top: 28px;
  }

  .story__sub-photo {
    width: 72%;
    margin-left: auto;
  }

  .story__row--reverse .story__sub-photo {
    margin-right: auto;
    margin-left: 0;
  }

  .story__copy {
    margin-top: 30px;
  }

  .story__eyebrow {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .story__copy h3 {
    margin-bottom: 20px;
    font-size: 24px;
  }

  .story__text {
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0.04em;
  }

  /* 狭い画面では文章を自然に折り返す */
  .story__text br {
    display: none;
  }
}

/* SP：循環の矢印のサイズと線の太さを調整 */
@media screen and (max-width: 767px) {
  .cycle__arrows {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    stroke-width: 2.5;
    pointer-events: none;
  }
}

/* 特徴の背景を保ったまま、直前の写真・文章に重ねる */
.story {
  position: relative;
  z-index: 1;
  padding-bottom: 0;
  overflow: visible;
}
.story__pin-track {
  margin-top: clamp(140px, 16vw, 220px);
}
.story__pin-track.is-pin-ready .story__row--pinned {
  position: -webkit-sticky;
  position: sticky;
  top: var(--story-pin-top, 100px);
}
.features {
  position: relative;
  z-index: 2;
  /* 半透明の写真背景の下から、前の写真が透けないようにする */
  background-color: #faf9f5;
}
.story.is-pin-ready + .features {
  margin-top: calc(-1 * var(--story-overlap, 0px));
}
@media (max-width: 767px) {
  .story__pin-track {
    margin-top: 100px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .story__pin-track {
    height: auto !important;
  }
  .story__pin-track.is-pin-ready .story__row--pinned {
    position: static;
  }
  .story.is-pin-ready + .features {
    margin-top: 0;
  }
}

/* 商品紹介：写真を大きく見せる2列 */
.product-showcase {
  background-color: #d2dce3;
  padding: 80px 0 0;
}
.product-showcase__heading {
  padding: 0 24px 48px;
  text-align: center;
}
.product-showcase__heading p {
  margin: 0 0 12px;
  color: #9f7865;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.product-showcase__heading h2 {
  margin: 0;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: 0.12em;
}
.product-showcase__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}
.product-showcase__card {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1;
  color: #fff;
  background: #9f7865;
  text-decoration: none;
}
.product-showcase__image {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.product-showcase__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(33, 24, 21, 0.55),
    rgba(33, 24, 21, 0.14) 35%,
    transparent 65%
  );
}
.product-showcase__copy {
  position: absolute;
  top: clamp(24px, 3vw, 48px);
  left: clamp(24px, 3vw, 48px);
  right: 24px;
  z-index: 2;
}
.product-showcase__eyebrow {
  margin: 0 0 8px;
  font-size: clamp(12px, 1.1vw, 16px);
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}
.product-showcase__copy h3 {
  margin: 0 0 24px;
  font-size: clamp(26px, 2.7vw, 42px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}
.product-showcase__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 48px;
  padding: 10px 24px;
  border: 1px solid currentColor;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.3s ease, background-color 0.3s ease,
    border-color 0.3s ease;
}
.product-showcase__button span {
  transition: transform 0.3s ease;
}
.product-showcase__card:focus-visible {
  outline: 3px solid #211815;
  outline-offset: -6px;
}
.product-showcase__card:focus-visible .product-showcase__button {
  background-color: #faf9f5;
  border-color: #faf9f5;
  color: #211815;
}
@media (hover: hover) and (pointer: fine) {
  .product-showcase__card:hover .product-showcase__image {
    transform: scale(1.045);
  }
  .product-showcase__card:hover .product-showcase__button {
    background-color: #faf9f5;
    border-color: #faf9f5;
    color: #211815;
  }
  .product-showcase__card:hover .product-showcase__button span {
    transform: translateX(5px);
  }
}
@media (max-width: 767px) {
  .product-showcase {
    padding-top: 56px;
  }
  .product-showcase__heading {
    padding-bottom: 32px;
  }
  .product-showcase__heading p {
    font-size: 12px;
  }
  .product-showcase__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-showcase__copy {
    top: 24px;
    left: 24px;
  }
  .product-showcase__copy h3 {
    margin-bottom: 16px;
    font-size: 28px;
  }
  .product-showcase__button {
    min-height: 44px;
    padding: 9px 18px;
    font-size: 12px;
    gap: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-showcase__image,
  .product-showcase__button,
  .product-showcase__button span {
    transition: none;
  }
  .product-showcase__card:hover .product-showcase__image,
  .product-showcase__card:hover .product-showcase__button span {
    transform: none;
  }
}

.product-showcase__quantity {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.product-showcase__price {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.product-showcase__price span {
  font-size: 15px;
}

@media (max-width: 767px) {
  .product-showcase__quantity {
    font-size: 15px;
  }

  .product-showcase__price {
    margin-bottom: 18px;
    font-size: 14px;
  }
}
/* SP：矢印の先端と丸の間に余白を作る */
@media (max-width: 767px) {
  .cycle__arrow:nth-of-type(1) {
    d: path("M465 134 A245 245 0 0 1 566 235");
  }

  .cycle__arrow:nth-of-type(2) {
    d: path("M566 465 A245 245 0 0 1 465 566");
  }

  .cycle__arrow:nth-of-type(3) {
    d: path("M235 566 A245 245 0 0 1 134 465");
  }

  .cycle__arrow:nth-of-type(4) {
    d: path("M134 235 A245 245 0 0 1 235 134");
  }

  .cycle__arrows {
    stroke-width: 2;
  }
}
/* よくあるご質問 */
.faq {
  padding: 110px 24px 130px;
}

.faq__inner {
  width: min(100%, 960px);
  margin-inline: auto;
}

.faq__heading {
  margin-bottom: 48px;
  text-align: center;
}

.faq__heading p {
  margin: 0 0 10px;
  color: #9f7865;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.faq__heading h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.faq__item {
  border-top: 1px solid rgba(33, 24, 21, 0.25);
}

.faq__item:last-child {
  border-bottom: 1px solid rgba(33, 24, 21, 0.25);
}

.faq__item summary {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 28px 48px 28px 12px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__q {
  flex-shrink: 0;
  color: #9f7865;
  font-family: var(--font-number, sans-serif);
  font-size: 22px;
  font-weight: 500;
}

/* ＋の横線と縦線 */
.faq__item summary::before,
.faq__item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 14px;
  height: 1px;
  background-color: #211815;
}

.faq__item summary::after {
  transform: rotate(90deg);
  transition: transform 0.25s ease;
}

.faq__item[open] summary::after {
  transform: rotate(0deg);
}

.faq__item summary:focus-visible {
  outline: 2px solid #9f7865;
  outline-offset: -4px;
}

.faq__answer {
  padding: 0 48px 28px 51px;
}

.faq__answer p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
}

.faq__answer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (hover: hover) {
  .faq__item summary:hover {
    color: #9f7865;
  }
}

@media (max-width: 767px) {
  .faq {
    padding: 72px 24px 80px;
  }

  .faq__heading {
    margin-bottom: 32px;
  }

  .faq__heading h2 {
    font-size: 24px;
  }

  .faq__item summary {
    gap: 14px;
    padding: 22px 34px 22px 0;
    font-size: 14px;
  }

  .faq__q {
    font-size: 20px;
  }

  .faq__item summary::before,
  .faq__item summary::after {
    right: 4px;
  }

  .faq__answer {
    padding: 0 24px 24px 30px;
  }

  .faq__answer p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq__item summary::after {
    transition: none;
  }
}

/* フローティング注文ボタン */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 90;

  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 20px;
  padding: 16px 24px;

  background-color: #9f7865;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  box-shadow: 0 3px 14px rgba(33, 24, 21, 0.12);

  transition: background-color 0.3s ease, opacity 0.3s ease, translate 0.3s ease;
}

.floating-cta > span:first-child {
  grid-column: 1 / -1;
  font-size: 10px;
}

.floating-cta__arrow {
  transition: transform 0.3s ease;
}

/* JSで表示を制御する場合だけ隠す */
.floating-cta.is-controlled:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  translate: 0 12px;
}

.floating-cta:focus-visible {
  outline: 2px solid #211815;
  outline-offset: 4px;
}

/* スマホメニューが開いている間は隠す */
body:has(.header__menu[aria-expanded="true"]) .floating-cta {
  display: none;
}

@media (hover: hover) {
  .floating-cta:hover {
    background-color: #86634f;
  }

  .floating-cta:hover .floating-cta__arrow {
    transform: translateX(4px);
  }
}

@media (max-width: 767px) {
  .floating-cta {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    gap: 2px 14px;
    padding: 12px 18px;
    font-size: 13px;
  }

  .floating-cta > span:first-child {
    font-size: 9px;
  }

  /* ページ末尾の文字をボタンで隠さない */
  .footer {
    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta,
  .floating-cta__arrow {
    transition: none;
  }
}

/* ==================================================
   アニメーション：設定はここに集約
   JSが動かないときは、文字・写真・矢印をそのまま表示。
   ================================================== */
.reveal,
.heading-reveal {
  transition: opacity var(--enter-duration, 0.75s) ease,
    translate var(--enter-duration, 0.75s) cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-pending,
.heading-reveal.is-pending {
  opacity: 0;
  translate: 0 10px;
}
.reveal.is-visible,
.heading-reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}
.reveal--delay {
  --reveal-delay: 0.15s;
}
.features__card:nth-child(3n + 2) {
  --reveal-delay: 0.1s;
}
.features__card:nth-child(3n + 3) {
  --reveal-delay: 0.2s;
}

/* 吹き出しは、写真が見えてから少し遅れて表示 */
.voice__bubble {
  transition: opacity 0.9s ease 0.85s, translate 0.9s ease 0.85s;
}
.voice__bubble.is-bubble-pending {
  opacity: 0;
  translate: 0 8px;
}
.voice__bubble.is-bubble-visible {
  opacity: 1;
  translate: 0 0;
}

/* 線は1本ずつ。矢印の先端は線を描き終えてから表示 */
.cycle__arrow {
  stroke-linecap: round;
}
.cycle__diagram.is-motion-ready .cycle__arrow {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  marker-end: none;
}
.cycle__diagram.is-motion-ready.is-animated .cycle__arrow {
  -webkit-animation: cycle-draw 0.55s ease both;
  animation: cycle-draw 0.55s ease both;
  -webkit-animation-delay: calc(var(--arrow-index, 0) * 0.58s);
  animation-delay: calc(var(--arrow-index, 0) * 0.58s);
}
@-webkit-keyframes cycle-draw {
  from {
    stroke-dashoffset: 1;
    marker-end: none;
  }
  99% {
    marker-end: none;
  }
  to {
    stroke-dashoffset: 0;
    marker-end: url(#cycle-arrowhead);
  }
}
@keyframes cycle-draw {
  from {
    stroke-dashoffset: 1;
    marker-end: none;
  }
  99% {
    marker-end: none;
  }
  to {
    stroke-dashoffset: 0;
    marker-end: url(#cycle-arrowhead);
  }
}

/* 輪郭の揺れはJSで画像のfilterだけ切り替える。傾き・上下移動はなし */
.cycle__item img,
.cycle__center img {
  transform: none;
}

/* 改行・字間・縦書きの配置は元のデザインを保持 */
.cycle__char {
  display: inline-block;
}
.cycle__handwriting.is-letter-ready .cycle__char {
  opacity: 0;
  translate: 0 5px;
}
.cycle__handwriting.is-letter-ready.is-animated .cycle__char {
  -webkit-animation: cycle-letter-in 0.7s ease both;
  animation: cycle-letter-in 0.7s ease both;
  -webkit-animation-delay: calc(var(--char-index) * 0.16s);
  animation-delay: calc(var(--char-index) * 0.16s);
}
@-webkit-keyframes cycle-letter-in {
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes cycle-letter-in {
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (max-width: 767px) {
  .features__card {
    --reveal-delay: 0s !important;
  }
  .cycle__arrows {
    height: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .heading-reveal,
  .reveal.is-pending,
  .heading-reveal.is-pending,
  .voice__bubble,
  .voice__bubble.is-bubble-pending {
    opacity: 1;
    translate: none;
    transition: none;
  }
  .cycle__diagram.is-motion-ready .cycle__arrow {
    -webkit-animation: none;
    animation: none;
    stroke-dashoffset: 0;
    marker-end: url(#cycle-arrowhead);
  }
  .cycle__diagram .cycle__item img,
  .cycle__diagram .cycle__center img {
    -webkit-animation: none;
    animation: none;
    transform: none;
    -webkit-filter: none;
    filter: none;
  }
  .cycle__handwriting.is-letter-ready .cycle__char {
    opacity: 1;
    translate: none;
    -webkit-animation: none;
    animation: none;
  }
  .product-showcase__image,
  .product-showcase__button,
  .product-showcase__button span {
    transition: none;
    transform: none !important;
  }
}

/* SVGフィルター定義はレイアウトに影響させない */
.cycle-ink-filters {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

/* 主要3見出し：ゆっくり一度だけ表示 */
#product-title,
#cycle-title,
#features-title {
  --enter-duration: 1.5s;
  --reveal-delay: 0.1s;
}

/* SVGへの切り替えが成功するまで元の画像を表示 */
.cycle__illustration {
  display: none;
  overflow: visible;
  flex-shrink: 0;
}
.cycle__illustration.is-ready {
  display: block;
}
.cycle__item img.cycle__source--hidden,
.cycle__center img.cycle__source--hidden {
  display: none;
}

/* FV：作成した筆文字の透過PNGを使用 */
.fv__contents .fv__title {
  width: clamp(160px, 14vw, 200px);
  margin: 0;
  -ms-writing-mode: lr-tb;
  writing-mode: horizontal-tb;
  -webkit-writing-mode: horizontal-tb;
  font-size: 0;
  line-height: 1;
  letter-spacing: normal;
}
.fv__title-image {
  display: block;
  width: 100%;
  height: auto;
  -webkit-filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}
/* サブ文言は画像に含まれるため、読み上げ用だけ残す */
.fv__subtitle.fv__subtitle--accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  -webkit-animation: none;
  animation: none;
}
@media (max-width: 767px) {
  .fv__contents .fv__title {
    width: clamp(110px, 30vw, 145px);
  }
}

/* FVのタイトルをひと回り大きく */
.fv__contents .fv__title {
  width: clamp(180px, 16vw, 230px);
}

/* 写真の明るさを少し抑えて文字を読みやすく */
.fv__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 24, 21, 0.18);
  pointer-events: none;
}

/* 透過画像なので text-shadow ではなくこちら */
.fv__title-image {
  -webkit-filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

@media (max-width: 767px) {
  .fv__contents .fv__title {
    width: clamp(125px, 34vw, 160px);
  }
}

/* 横長のロゴに差し替え */
.header__logo {
  display: block;
  width: 280px;
}

.header__logo img {
  width: 100%;
  height: auto;
}

.logo-contents {
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .header__logo {
    width: 210px;
  }
}

/* ごあいさつ：札の枠を残して文字だけ画像に */
.greeting__figure .greeting__message {
  -webkit-writing-mode: horizontal-tb;
  -ms-writing-mode: lr-tb;
  writing-mode: horizontal-tb;
  padding: 32px 22px;
}

.greeting__message img {
  width: 48px;
  height: auto;
}

/* 循環：手書きのメッセージ画像 */
.cycle__handwriting-image {
  position: absolute;
  top: -65px;
  left: calc(85% + 90px);
  width: 145px;
  margin: 0;
}

.cycle__handwriting-image img {
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .greeting__figure .greeting__message {
    padding: 22px 14px;
  }

  .greeting__message img {
    width: 34px;
  }

  /* スマホでは循環図の下に置く */
  .cycle__handwriting-image {
    top: calc(100% + 20px);
    left: 50%;
    width: 100px;
    margin-left: -50px;
  }

  /* 縦長画像が次のセクションに重ならないよう余白を確保 */
  .cycle__diagram {
    margin-bottom: 280px;
  }
}

/* 海からつながる、みんなの笑顔。 */
.cycle__handwriting-image {
  width: 115px;
}

.cycle__handwriting-image svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

@media (max-width: 767px) {
  .cycle__handwriting-image {
    width: 85px;
    margin-left: -42.5px;
  }
}

.cycle__handwriting-image {
  width: 115px;
}
.cycle__handwriting-image .cycle__message-ink {
  width: 100%;
  height: auto;
  overflow: visible;
}
@media (max-width: 767px) {
  .cycle__handwriting-image {
    width: 85px;
    margin-left: -42.5px;
  }
}

/* お客様から届いた動画 */
.voice-movies {
  width: min(100% - 48px, 900px);
  margin: 100px auto 0;
}

.voice-movies__heading {
  margin-bottom: 32px;
  text-align: center;
}

.voice-movies__heading h3 {
  margin: 0;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.voice-movies__heading p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.06em;
}

.voice-movies__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.voice-movies__list video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  -o-object-fit: contain;
  object-fit: contain;
  background-color: #211815;
  border: 1px solid #211815;
}

/* スマホでは横にスワイプ */
@media (max-width: 767px) {
  .voice-movies {
    margin-top: 64px;
  }

  .voice-movies__heading h3 {
    font-size: 19px;
  }

  .voice-movies__heading p {
    font-size: 12px;
  }

  .voice-movies__list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 20px;

    overflow-x: auto;
    -ms-scroll-snap-type: x proximity;
    scroll-snap-type: x proximity;
    padding-bottom: 16px;
  }

  .voice-movies__list video {
    scroll-snap-align: start;
  }
}

/* ご挨拶：またたびの文字画像 */
.greeting__copy-image {
  flex: 0 1 560px;
  width: min(100%, 560px);
  min-width: 0;
}

.greeting__copy-image img {
  width: 100%;
  height: auto;
}

/* フッター：屋号の横長ロゴ */
.footer .footer__logo {
  display: block;
  width: min(100%, 300px);
  margin-inline: auto;
}

.footer .footer__logo img {
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .greeting__copy-image {
    flex: initial;
    width: min(100%, 400px);
    margin-inline: auto;
  }

  .footer .footer__logo {
    width: min(100%, 240px);
  }
}

/* 想いの画像を少し小さく */
.greeting__copy-image {
  flex: 0 1 460px;
  width: min(100%, 460px);
}

/* JSで作るSVGにも同じサイズを適用 */
.greeting__copy-image .greeting__copy-ink {
  width: 100%;
  height: auto;
  overflow: visible;
}

@media (max-width: 767px) {
  .greeting__copy-image {
    flex: initial;
    width: min(100%, 330px);
  }
}

/* 私たちが作りました：テキストに戻す */
.greeting__figure .greeting__message {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  padding: 32px 22px;
  font-family: "dnp-shuei-gothic-gin-std", sans-serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

@media (max-width: 767px) {
  .greeting__figure .greeting__message {
    padding: 22px 14px;
    font-size: 18px;
  }
}

/* こだわりエリア：余白に漂う波 */
.story__pin-track {
  position: relative;
}

/* 配置用：動きとは分けて指定 */
.story__wave {
  position: absolute;
  top: -250px;
  left: 50%;
  z-index: 0;

  width: min(1200px, 90vw);
  transform: translateX(-50%);
  opacity: 0.12;
  pointer-events: none;
}

/* 動き用 */
.story__wave img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-animation: story-wave-drift 8s ease-in-out infinite alternate;
  animation: story-wave-drift 8s ease-in-out infinite alternate;
}

/* 波より写真・文章を手前に */
.story__row {
  position: relative;
  z-index: 1;
}

@-webkit-keyframes story-wave-drift {
  from {
    transform: translate(-16px, 4px) rotate(-1deg);
  }

  to {
    transform: translate(16px, -4px) rotate(1deg);
  }
}

@keyframes story-wave-drift {
  from {
    transform: translate(-16px, 4px) rotate(-1deg);
  }

  to {
    transform: translate(16px, -4px) rotate(1deg);
  }
}

@media (max-width: 767px) {
  .story__wave {
    top: -100px;
    width: 88vw;
    opacity: 0.1;
  }
}

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

/* おすすめ〜voiceの間だけ、波が追従 */
.home-wave-area {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: clip;
}

.home-wave-layer,
.home-wave-content {
  grid-area: 1 / 1;
}

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

.home-wave-layer img {
  position: absolute;
  right: -15%;
  bottom: -12%;
  width: 125%;
  max-width: none;
  height: auto;
  opacity: 0.07;
  -webkit-animation: home-wave-drift 8s ease-in-out infinite alternate;
  animation: home-wave-drift 8s ease-in-out infinite alternate;
}

.home-wave-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

/* 波を見せるため、対象セクションの背景を透明に */
.home-wave-content > section {
  background-color: transparent;
  background-image: none;
}

@-webkit-keyframes home-wave-drift {
  from {
    transform: translate3d(-12px, 8px, 0) rotate(-1deg);
  }

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

@keyframes home-wave-drift {
  from {
    transform: translate3d(-12px, 8px, 0) rotate(-1deg);
  }

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

@media (max-width: 767px) {
  .home-wave-layer img {
    width: 190%;
    right: -55%;
    bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-wave-layer img {
    -webkit-animation: none;
    animation: none;
  }
}

.static-book .home-wave-layer img {
  -webkit-animation: none;
  animation: none;
}

.product-title-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
}

.product-title-row h2 {
  margin: 0;
}

.product-title-row .origin-badge {
  position: relative;
  inset: auto;
  flex: 0 0 auto;

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

  width: 88px;
  height: 88px;
  margin: 0;
  padding: 8px;

  border: 1px solid #9f7865;
  border-radius: 48% 52% 49% 51%;
  background: #faf9f5;
  color: #536b7d;
  text-align: center;
  transform: rotate(5deg);
}

.product-title-row .origin-badge::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #536b7d;
  border-radius: 51% 49% 52% 48%;
}

.product-title-row .origin-badge span {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.product-title-row .origin-badge strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

@media (max-width: 767px) {
  .product-title-row {
    gap: 14px;
  }

  .product-title-row h2 {
    font-size: clamp(23px, 6vw, 30px);
    letter-spacing: 0.03em;
  }

  .product-title-row .origin-badge {
    width: 74px;
    height: 74px;
  }

  .product-title-row .origin-badge strong {
    font-size: 12px;
  }
}

/* TOPの波：右側の余白に収める */
.home-wave-layer img {
  width: clamp(480px, 65vw, 900px);
  right: -12%;
  bottom: 5%;
  opacity: 0.05;
}

@media (max-width: 767px) {
  .home-wave-layer img {
    width: 540px;
    right: -300px;
    bottom: 12%;
    opacity: 0.045;
  }
}

/* 循環から、誕生のストーリーへ */
.story-entry {
  width: min(100%, 520px);
  margin: 48px auto 0;
}

.story-entry__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;

  padding: 26px 30px;
  border: 1px solid #9f786566;
  background: rgb(250 249 245 / 70%);
  color: #211815;
  text-decoration: none;
  text-align: left;

  transition: background-color 0.3s, border-color 0.3s;
}

.story-entry__label {
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  color: #805f4f;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.story-entry__copy {
  display: block;
  padding-left: 24px;
  border-left: 1px solid #9f786544;
}

.story-entry__lead {
  display: block;
  margin-bottom: 9px;
  color: #805f4f;
  font-size: 12px;
  line-height: 1.8;
}

.story-entry__title {
  display: block;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.story-entry__break {
  display: none;
}

.story-entry__arrow {
  color: #805f4f;
  font-size: 22px;
  transition: transform 0.3s;
}

@media (hover: hover) {
  .story-entry__card:hover {
    background-color: #faf9f5;
    border-color: #9f7865;
  }

  .story-entry__card:hover .story-entry__arrow {
    transform: translateX(4px);
  }
}

@media (max-width: 767px) {
  .story-entry {
    margin-top: 32px;
  }

  .story-entry__card {
    gap: 14px;
    padding: 22px 18px;
  }

  .story-entry__copy {
    padding-left: 14px;
  }

  .story-entry__lead {
    font-size: 11px;
  }

  .story-entry__title {
    font-size: 18px;
  }

  .story-entry__break {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-entry__card,
  .story-entry__arrow {
    transition: none;
  }
}

/* TOPの波の位置 */
.home-wave-layer img {
  top: 18%;
  bottom: auto;
  left: -12%;
  right: auto;
  width: clamp(650px, 78vw, 1100px);
  opacity: 0.055;
}

@media (max-width: 767px) {
  .home-wave-layer img {
    top: 20%;
    bottom: auto;
    left: -240px;
    right: auto;
    width: 650px;
  }
}

/* 商品名そのものを中央に */
.product-title-row {
  position: relative;
  display: block;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}

.product-title-row h2 {
  margin: 0;
  text-align: center;
}

/* バッジは中央揃えの計算から外して右へ */
.product-title-row .origin-badge {
  position: absolute;
  top: 50%;
  right: auto;
  bottom: auto;
  left: calc(100% + 32px);

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

  transform: translateY(-50%) rotate(5deg);
}

.product-title-row .origin-badge span {
  font-size: 12px;
  color: #536b7d;
}

.product-title-row .origin-badge strong {
  font-size: 17px;
  color: #536b7d;
}

/* スマホでは、はみ出さない大きさに */
@media (max-width: 767px) {
  .product-title-row h2 {
    font-size: clamp(20px, 5.3vw, 28px);
    letter-spacing: 0.03em;
  }

  .product-title-row .origin-badge {
    left: calc(100% + 10px);
    width: 66px;
    height: 66px;
    padding: 6px;
    gap: 1px;
  }

  .product-title-row .origin-badge span {
    font-size: 9px;
  }

  .product-title-row .origin-badge strong {
    font-size: 11px;
  }
}

/* スマホ：ストーリーを読み終えてから「6つの特徴」へ */
@media screen and (max-width: 767px) {
  .story__pin-track {
    height: auto !important;
    min-height: 0;
  }

  .story__pin-track.is-pin-ready .story__row--pinned {
    position: relative;
    top: auto;
  }

  .story.is-pin-ready + .features {
    margin-top: 0;
  }

  .story {
    padding-bottom: 80px;
  }
}

/* TOP調整：作り手の吹き出し・重なり演出の解除 */
.greeting__figure .greeting__message {
  top: -42px;
  right: -28px;
  bottom: auto;
  left: auto;
  width: auto;
  max-width: calc(100% - 16px);
  margin: 0;
  padding: 20px 28px;
  -webkit-writing-mode: horizontal-tb;
  -ms-writing-mode: lr-tb;
  writing-mode: horizontal-tb;
  white-space: normal;
  border: 1px solid #9f7865;
  border-radius: 46% 52% 43% 48% / 49% 43% 54% 47%;
  background: #faf9f5;
  color: #211815;
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: center;
  transform: rotate(3deg);
}
.greeting__figure .greeting__message::before {
  content: "";
  position: absolute;
  inset: auto;
  left: 32px;
  bottom: -10px;
  width: 18px;
  height: 18px;
  border-right: 1px solid #9f7865;
  border-bottom: 1px solid #9f7865;
  background: #faf9f5;
  transform: skew(-12deg) rotate(45deg);
  pointer-events: none;
}
.greeting__figure .greeting__message::after {
  content: none;
}
/* 写真・背景・通常の表示アニメーションはそのまま残す */
.story__pin-track,
.story__pin-track.is-pin-ready {
  height: auto !important;
  min-height: 0;
}
.story__pin-track .story__row--pinned,
.story__pin-track.is-pin-ready .story__row--pinned {
  position: relative;
  top: auto;
}
.story + .features,
.story.is-pin-ready + .features {
  margin-top: 0;
}
.story {
  padding-bottom: 100px;
}
@media (max-width: 767px) {
  .greeting__figure .greeting__message {
    top: -32px;
    right: -4px;
    padding: 16px 20px;
    font-size: 17px;
  }
  .greeting__figure .greeting__message::before {
    left: 26px;
  }
  .story {
    padding-bottom: 80px;
  }
}

/* 作り手の吹き出し */
.greeting__figure .greeting__message {
  top: -56px;
  right: -18px;
  padding: 24px 30px;

  border: 1.5px solid #9f7865;
  border-radius: 28px;
  background: #faf9f5;

  font-size: 22px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  transform: rotate(2deg);
}

/* 小さなしっぽ */
.greeting__figure .greeting__message::before {
  content: "";
  position: absolute;
  inset: auto;
  left: 38px;
  bottom: -9px;

  width: 16px;
  height: 16px;
  border: 0;
  border-right: 1.5px solid #9f7865;
  border-bottom: 1.5px solid #9f7865;
  background: #faf9f5;

  transform: rotate(45deg);
}

.greeting__figure .greeting__message::after {
  content: none;
}

/* 背景の波を右へ。追従と揺れはそのまま */
.home-wave-layer img {
  left: auto;
  right: -2%;
}

@media (max-width: 767px) {
  .greeting__figure .greeting__message {
    top: -42px;
    right: -4px;
    padding: 18px 22px;
    border-radius: 22px;
    font-size: 17px;
  }

  .greeting__figure .greeting__message::before {
    left: 28px;
  }

  .home-wave-layer img {
    left: auto;
    right: -240px;
  }
}

/* 作り手のコメント：和紙の吹き出し */
.greeting__figure .greeting__message {
  top: -72px;
  right: -28px;
  bottom: auto;
  left: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 340px;
  max-width: 100%;
  aspect-ratio: 796 / 373;
  margin: 0;
  padding: 24px 28px 34px;

  border: 0;
  border-radius: 0;
  background: url("../images/greeting/greeting-bubble.png") center / contain
    no-repeat;

  -webkit-writing-mode: horizontal-tb;
  -ms-writing-mode: lr-tb;
  writing-mode: horizontal-tb;

  color: #211815;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;

  transform: rotate(2deg);
}

/* CSSで作っていた枠・しっぽを解除 */
.greeting__figure .greeting__message::before,
.greeting__figure .greeting__message::after {
  content: none;
}

@media (max-width: 767px) {
  .greeting__figure .greeting__message {
    top: -62px;
    right: -8px;
    width: 270px;
    padding: 18px 22px 27px;
    font-size: 17px;
  }
}

/* 作り手写真の後ろの枠 */
.greeting__photo::before {
  border-color: #9f7865;
}

/* 商品詳細へのリンク */
.product-detail-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  width: -webkit-fit-content;

  width: -moz-fit-content;

  width: fit-content;
  margin: 24px auto 0;
  padding: 8px 0;

  border-bottom: 1px solid #9f7865;
  color: #211815;
  font-size: 15px;
  letter-spacing: 0.06em;
  transition: color 0.25s;
}

.product-detail-link span {
  transition: transform 0.25s;
}

@media (hover: hover) {
  .product-detail-link:hover {
    color: #9f7865;
  }

  .product-detail-link:hover span {
    transform: translateX(4px);
  }
}

.product-detail-link:focus-visible {
  outline: 2px solid #9f7865;
  outline-offset: 5px;
}

/* ===================================
   本文・レビューの読みやすさを調整
=================================== */

/* 本文の字間を少し落ち着かせる */
.story__text,
.voice__review,
.gift__text,
.features__body p,
.faq__answer p {
  letter-spacing: 0.04em;
  line-height: 1.9;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

/* レビュー：見出しと本文の大きさに差をつける */
.voice__body h3 {
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.voice__body h3::after {
  width: min(100%, 300px);
  margin-top: 16px;
}

.voice__review {
  font-size: 18px;
  text-align: left;
  text-wrap: pretty;
}

.voice__note {
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

/* PC：レビュー本文の幅を少し広げる */
@media (min-width: 768px) {
  .voice__item {
    width: min(100%, 760px);
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 32px;
  }

  .voice__item:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
}

/* ===================================
   スマホ
=================================== */
@media (max-width: 767px) {
  /* 作り手の吹き出しを写真の上へ。
     顔に被せず、小さなしっぽだけ近づける */
  .greeting__figure {
    margin-top: 145px;
  }

  .greeting__figure .greeting__message {
    top: auto;
    bottom: calc(100% + 4px);
    right: -4px;
    left: auto;

    width: min(245px, 100%);
    max-width: 100%;
    min-height: 0;
    aspect-ratio: 796 / 373;

    margin: 0;
    padding: 18px 20px 27px;

    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.03em;
    transform: rotate(2deg);
  }

  /* 循環：説明文の窮屈さを軽減 */
  .cycle__message {
    font-size: 17px;
    line-height: 1.9;
    letter-spacing: 0.02em;
    text-wrap: pretty;
  }

  .cycle__text {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.03em;
    text-wrap: pretty;
  }

  /* ストーリー：本文だけ左揃え */
  .story__text {
    width: 100%;
    max-width: 34em;
    margin-inline: auto;

    font-size: 15px;
    line-height: 2;
    letter-spacing: 0.03em;
    text-align: left;
    text-wrap: pretty;
  }

  .story__text br {
    display: none;
  }

  /* レビュー */
  .voice__body h3 {
    font-size: 21px;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }

  .voice__review {
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.03em;
  }

  /* 動画の見出し：「と…」だけが残るのを抑える */
  .voice-movies__heading h3 {
    font-size: clamp(16px, 4.3vw, 19px);
    line-height: 1.7;
    letter-spacing: 0.02em;
    text-wrap: balance;
  }

  .voice-movies__heading p {
    font-size: 13px;
    letter-spacing: 0.03em;
  }

  /* ギフト：見出しを収めやすく */
  .gift__contents h2 {
    font-size: clamp(20px, 5.5vw, 24px);
    line-height: 1.6;
    letter-spacing: 0.02em;
    text-wrap: pretty;
  }

  .gift__text {
    font-size: 15px;
    line-height: 1.9;
    text-align: left;
    text-wrap: pretty;
  }

  .gift__text br {
    display: none;
  }
}

/* footer上端を、ゆるい波に */
.footer {
  position: relative;
  overflow: visible;
}

.footer::before {
  content: "";
  position: absolute;
  top: -39px;
  left: 0;

  width: 100%;
  height: 40px;

  background-color: #536b7d;

  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C180 0 260 0 440 35 S700 70 900 35 S1200 0 1440 30 L1440 80 L0 80 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 30 C180 0 260 0 440 35 S700 70 900 35 S1200 0 1440 30 L1440 80 L0 80 Z'/%3E%3C/svg%3E");

  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  pointer-events: none;
}

@media (max-width: 767px) {
  .footer::before {
    top: -23px;
    height: 24px;
  }
}

/* 海の写真を縦に広く */
.footer-sea {
  height: clamp(420px, 65svh, 720px);
}

/* headerと同じ位置に左端をそろえる */
.footer__inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;

  padding: 40px max(20px, calc((100% - 1400px) / 2)) 24px;
}

.footer .footer__logo {
  justify-self: start;
  margin-inline: 0;
}

@media (max-width: 767px) {
  .footer-sea {
    height: 380px;
  }

  .footer__inner {
    padding: 32px 20px 24px;
  }

  .footer .footer__logo {
    justify-self: start;
    margin-inline: 0;
  }
}

/* =====================================
   配色：グレーの和紙 × 濃い青
===================================== */
:root {
  --home-background: #f2f2f2;
  --home-blue: #536b7d;
  --home-blue-hover: #405767;
  --home-brown: #9f7865;
}

/* 今の和紙画像は残し、下地だけ変更 */
body {
  background-color: var(--home-background);
}

/* 商品エリアの水色を解除。
   透明にすることでbodyの和紙が見える */
.product-showcase,
.product-showcase__heading {
  background: transparent;
}

/* 小さな英字・補足見出し */
.greeting .sub-title,
.product-showcase__heading > p,
.product__lead,
.cycle__lead,
.features__heading > span,
.recommend__en,
.voice__heading > span,
.gift__en,
.story__eyebrow,
.faq__heading > p {
  color: var(--home-blue);
}

/* 特徴の数字：偶数も含めて青に統一 */
.features__number,
.features__card:nth-child(even) .features__number {
  color: var(--home-blue);
}

/* ナビの下線 */
.nav__item a::after {
  background-color: var(--home-blue);
}

/* おすすめのチェックマーク */
.recommend__list li::before {
  border-color: var(--home-blue);
}

/* 商品詳細リンク */
.product-detail-link {
  border-bottom-color: var(--home-blue);
}

/* FAQのQ */
.faq__q {
  color: var(--home-blue);
}

/* バッジ */
.product-title-row .origin-badge {
  background-color: var(--home-background);
  border-color: var(--home-blue);
  color: var(--home-blue);
}

/* 写真の後ろの細い枠も青系に */
.greeting__photo::before {
  border-color: #8599a5;
}

/* footerは今の濃い青を維持 */
.footer,
.footer::before {
  background-color: var(--home-blue);
}

/* ホバー */
@media (hover: hover) {
  .header__cta:hover,
  .floating-cta:hover,
  .product-showcase__card:hover .product-showcase__button {
    background-color: var(--home-blue-hover);
  }

  .nav__item a:hover,
  .product-detail-link:hover,
  .faq__item summary:hover {
    color: var(--home-blue);
  }
}

/* キーボード操作時の枠 */
.header__cta:focus-visible,
.product__button:focus-visible,
.product-showcase__card:focus-visible,
.floating-cta:focus-visible,
.product-detail-link:focus-visible,
.nav__item a:focus-visible,
.header__menu:focus-visible,
.faq__item summary:focus-visible {
  outline-color: var(--home-blue);
}

/* 魚の追従範囲：ご挨拶〜商品まで */
.greeting-product-area {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

/* 魚は共通の背景レイヤーへ */
.greeting-product-area > .greeting__fish-area {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* 魚が商品名エリアまで見えるように */
.greeting-product-area > .greeting {
  isolation: auto;
  overflow: visible;
  -webkit-clip-path: none;
  clip-path: none;
}

/* 商品エリアを魚より手前へ。
   見出し背景は透明なので魚が見える */
.greeting-product-area > .product-showcase {
  position: relative;
  z-index: 1;
  background: transparent;
}

.product-showcase__heading {
  background: transparent;
}

/* 商品写真で魚を覆う */
.product-showcase__list {
  position: relative;
  z-index: 1;
  background-color: #f2f2f2;
}

/* 6つの特徴：背景写真に青グレーを重ねる */
.features {
  background-color: #e4eaee;
  background-image: linear-gradient(
      rgba(228, 234, 238, 0.9),
      rgba(228, 234, 238, 0.9)
    ),
    url("../images/features/work.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
/* ものがたりへのリンク：青系に統一 */
.story-entry__card {
  background-color: #fff;
  border-color: rgba(83, 107, 125, 0.4);
}

.story-entry__label,
.story-entry__lead,
.story-entry__arrow {
  color: #536b7d;
}

.story-entry__copy {
  border-left-color: rgba(83, 107, 125, 0.25);
}

/* メインの見出しは読みやすい黒を維持 */
.story-entry__title {
  color: #211815;
}

@media (hover: hover) {
  .story-entry__card:hover {
    background-color: #e3e9ed;
    border-color: #536b7d;
  }
}

.story-entry__card:focus-visible {
  outline: 2px solid #536b7d;
  outline-offset: 4px;
}

/* 小さな英字・補足文字を黒へ */
.greeting .sub-title,
.product-showcase__heading > p,
.product__lead,
.cycle__lead,
.features__heading > span,
.recommend__en,
.voice__heading > span,
.gift__en,
.story__eyebrow,
.faq__heading > p,
.story-entry__label,
.story-entry__lead,
.story-entry__title,
.story-entry__arrow {
  color: #211815;
}

/* 商品カードの注文ボタン */
.product-showcase__button {
  transition: background-color 0.25s, color 0.25s;
}

@media (hover: hover) {
  .product-showcase__card:hover .product-showcase__button {
    background-color: #fff;
    border-color: #fff;
    color: #211815;
  }
}

/* キーボードで選択した場合も同じ見た目に */
.product-showcase__card:focus-visible .product-showcase__button {
  background-color: #fff;
  border-color: #fff;
  color: #211815;
}

/* ギフト：波を大きく配置 */
.gift__contents {
  padding-bottom: 150px;
}

.gift__wave {
  left: -280px;
  bottom: -130px;
  width: 700px;
  opacity: 0.25;
}

@media screen and (max-width: 767px) {
  .gift__contents {
    padding-bottom: 100px;
  }

  .gift__wave {
    left: -35px;
    bottom: -10px;
    width: 280px;
    opacity: 0.2;
  }
}

/* 見出し右上の手書き文字 */
.gift__heading {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 32px;
  padding-right: 65px;
}

.gift__heading .gift__title {
  margin-bottom: 0;
}

.gift__message {
  position: absolute;
  top: -85px;
  right: 0;
  width: 60px;
  height: auto;
  transform: rotate(8deg);
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .gift__heading {
    margin-top: 45px;
    margin-bottom: 24px;
    padding-right: 45px;
  }

  .gift__message {
    top: -55px;
    width: 42px;
  }
}

/* ギフトの手書き文字を小刻みに揺らす */
.gift__message {
  transform-origin: center;
  -webkit-animation: gift-message-jitter 0.6s steps(1, end) infinite;
  animation: gift-message-jitter 0.6s steps(1, end) infinite;
}

@-webkit-keyframes gift-message-jitter {
  0%,
  100% {
    transform: translate(0, 0) rotate(8deg);
  }
  25% {
    transform: translate(1px, -1px) rotate(7deg);
  }
  50% {
    transform: translate(-1px, 1px) rotate(9deg);
  }
  75% {
    transform: translate(1px, 0) rotate(7.5deg);
  }
}

@keyframes gift-message-jitter {
  0%,
  100% {
    transform: translate(0, 0) rotate(8deg);
  }
  25% {
    transform: translate(1px, -1px) rotate(7deg);
  }
  50% {
    transform: translate(-1px, 1px) rotate(9deg);
  }
  75% {
    transform: translate(1px, 0) rotate(7.5deg);
  }
}

/* 動きを減らす設定では停止 */
@media (prefers-reduced-motion: reduce) {
  .gift__message {
    -webkit-animation: none;
    animation: none;
  }
}

/* 文章を写真の縦中央に揃える */
.gift__inner {
  align-items: center;
}

.gift__contents {
  padding-bottom: 0;
}

/* 波を配置する余白はセクション側で確保 */
.gift {
  padding-bottom: 180px;
}

.gift__wave {
  top: calc(100% + 40px);
  bottom: auto;
}

/* 元画像と、JSで生成するSVGに共通の配置 */
.gift__message,
.gift__message-ink {
  position: absolute;
  top: -135px;
  right: -10px;
  width: 60px;
  height: auto;
  max-width: none;
  transform: rotate(8deg);
  transform-origin: center;
  -webkit-animation: none;
  animation: none;
  pointer-events: none;
}

.gift__message-ink {
  overflow: visible;
}

@media screen and (max-width: 767px) {
  .gift {
    padding-bottom: 80px;
  }

  .gift__contents {
    padding-bottom: 100px;
  }

  .gift__wave {
    top: auto;
    bottom: -10px;
  }

  .gift__message,
  .gift__message-ink {
    top: -75px;
    right: 8px;
    width: 42px;
  }
}

/* 基本背景：和紙の黄み・粒々を薄める */
body {
  background-color: #f2f2f2;
  background-image: linear-gradient(
      rgba(242, 242, 242, 0.5),
      rgba(242, 242, 242, 0.5)
    ),
    url("../images/common/bg-texture.svg");
  background-repeat: repeat;
}

/* ごあいさつ：切り抜き写真と手書き文字 */
.greeting {
  padding: 110px 24px 130px;
}

.greeting-layout {
  position: relative;
  width: min(100%, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 34% 66%;
  align-items: start;
}

/* 縦書き見出し */
.greeting-layout__heading {
  position: relative;
  z-index: 3;
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 8px;
  padding-top: 20px;
}

.greeting-layout__heading > p {
  margin: 0;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.1em;
}

.greeting-layout__heading h2 {
  margin: 0;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.2em;
}

/* 人物写真 */
.greeting-layout__people {
  position: relative;
  z-index: 1;
  isolation: isolate;
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  padding-top: 90px;
}

/* 人物の後ろの淡い青 */
.greeting-layout__people::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 35%;
  right: -24px;
  bottom: 0;
  left: 0;
  background-color: #dce4e8;
}

.greeting-layout__team {
  display: block;
  width: 100%;
  height: auto;
}

/* 写真の上に重ねる手書き文字 */
.greeting-layout__message {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  width: min(88%, 560px);
  transform: translateX(-50%) rotate(-3deg);
}

.greeting-layout__message img {
  display: block;
  width: 100%;
  height: auto;
}

/* 左手前の本文 */
.greeting-layout__copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 2;
  width: 112%;
  margin-top: 45px;
  padding: 30px;
  background-color: #fafaf8;
}

.greeting-layout__copy img {
  display: block;
  width: 100%;
  height: auto;
}

/* スマホ */
@media (max-width: 767px) {
  .greeting {
    padding: 70px 20px 80px;
  }

  .greeting-layout {
    grid-template-columns: 1fr;
  }

  .greeting-layout__heading {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    margin-right: 12px;
    padding-top: 0;
  }

  .greeting-layout__heading h2 {
    font-size: 26px;
  }

  .greeting-layout__people {
    grid-column: 1;
    grid-row: 2;
    margin-top: 28px;
    padding-top: 60px;
  }

  .greeting-layout__people::before {
    right: -10px;
  }

  .greeting-layout__message {
    top: 8px;
    width: 95%;
  }

  .greeting-layout__copy {
    grid-column: 1;
    grid-row: 3;
    width: min(88%, 360px);
    margin-top: -24px;
    padding: 24px;
  }
}

/* 「わたしたちが」の文字画像を小さく */
.greeting-layout__message {
  width: min(70%, 400px);
}

/* PC：ごあいさつ全体を少し右へ */
@media (min-width: 768px) {
  .greeting-layout {
    left: clamp(20px, 4vw, 70px);
  }
}

/* スマホ：文字画像の大きさ */
@media (max-width: 767px) {
  .greeting-layout__message {
    width: 78%;
    max-width: 300px;
  }
}

/* ②「わたしたちが」は傾けず水平に */
.greeting-layout__message {
  transform: translateX(-50%);
}

/* ③ 写真の後ろ：淡い青＋和紙の質感 */
.greeting-layout__people::before {
  background-color: #dce4e8;
  background-image: linear-gradient(
      rgba(220, 228, 232, 0.82),
      rgba(220, 228, 232, 0.82)
    ),
    url("../images/common/bg-texture.svg");
  background-size: auto, 320px auto;
  background-repeat: no-repeat, repeat;
}

/* 青い細枠を少しずらして重ねる */
.greeting-layout__people::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: calc(35% + 14px);
  right: -10px;
  bottom: -14px;
  left: 14px;
  border: 1px solid rgba(83, 107, 125, 0.55);
  pointer-events: none;
}

@media (max-width: 767px) {
  .greeting-product-area > .greeting__fish-area {
    padding-top: 92px;
  }

  .greeting__fish {
    top: 92px;
  }

  .greeting-layout__people::after {
    top: calc(35% + 8px);
    right: -2px;
    bottom: -8px;
    left: 8px;
  }
}

/* PC：ワンちゃんの写真を大きく */
@media (min-width: 768px) {
  .recommend__inner {
    width: min(100%, 1240px);
  }

  .recommend__contents {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 50px;
  }

  .recommend__image {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1.5;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

@media (prefers-reduced-motion: reduce) {
  .greeting__fish.is-enter-ready {
    opacity: 0.4;
    translate: none;
    transition: none;
  }
}

/* 魚：今より60px下から追従 */
.greeting-product-area > .greeting__fish-area {
  padding-top: 160px;
}

.greeting__fish {
  position: -webkit-sticky;
  position: sticky;
  top: 160px;
  margin-top: 0;
  opacity: 0.4;
  translate: none;
  transition: none;
}

@media (max-width: 767px) {
  .greeting-product-area > .greeting__fish-area {
    padding-top: 152px;
  }

  .greeting__fish {
    top: 152px;
  }
}

/* ごあいさつ：白い本文パネルに薄い影 */
.greeting-layout__copy {
  box-shadow: 6px 8px 24px rgba(33, 24, 21, 0.08);
}

/* レビュー本文：横幅を抑えて読みやすく */
.voice__review {
  width: 100%;
  max-width: 22em;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: left;
  overflow-wrap: anywhere;
}

/* 手動改行が入っている場合も自然に折り返す */
.voice__review br {
  display: none;
}

/* ========================================
   いただいた声：左右交互の縦型カード
======================================== */

.voice--cards {
  padding: 110px 24px 120px;
}

.voice--cards .voice__inner {
  width: min(100%, 1120px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  align-items: start;
  gap: 70px;
}

.voice--cards .voice__list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  min-width: 0;
}

/* カード：固定の高さにしない */
.voice-card {
  position: relative;
  width: min(100%, 440px);
  align-self: flex-start;
  background-color: #fff;
  border: 1px solid rgba(83, 107, 125, 0.3);
  box-shadow: 4px 6px 18px rgba(33, 24, 21, 0.05);
}

/* 偶数のカードは右へ */
.voice-card:nth-of-type(even) {
  align-self: flex-end;
}

/* 写真 */
.voice-card__visual {
  position: relative;
}

.voice-card__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center 35%;
  object-position: center 35%;
  border-bottom: 1px solid rgba(83, 107, 125, 0.3);
}

/* 吹き出し：写真の右上に重ねる */
.voice-card__bubble {
  position: absolute;
  z-index: 1;
  top: 18px;
  right: -24px;
  width: 228px;
  margin: 0;
  padding: 17px 12px 19px;
  background-color: #849aa6;
  color: #fff;
  -webkit-clip-path: polygon(
    4% 0,
    96% 0,
    100% 10%,
    99% 82%,
    95% 90%,
    83% 90%,
    89% 100%,
    71% 90%,
    4% 90%,
    0 80%,
    0 10%
  );
  clip-path: polygon(
    4% 0,
    96% 0,
    100% 10%,
    99% 82%,
    95% 90%,
    83% 90%,
    89% 100%,
    71% 90%,
    4% 90%,
    0 80%,
    0 10%
  );
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

/* 本文 */
.voice-card__body {
  padding: 28px 30px 32px;
}

.voice-card__body h3 {
  margin: 0;
  color: #211815;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

/* 見出しの下の細い線 */
.voice-card__body h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 16px;
  background-color: rgba(83, 107, 125, 0.45);
}

.voice-card__review {
  margin: 18px 0 0;
  color: #211815;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.95;
  letter-spacing: 0.04em;
  text-align: left;
  overflow-wrap: break-word;
}

/* 注意書き */
.voice--cards .voice__note {
  align-self: stretch;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

/* 右側の縦書き見出し */
.voice--cards .voice__side {
  position: -webkit-sticky;
  position: sticky;
  top: 110px;
  justify-self: center;
}

/* ========================================
   動画エリア
======================================== */

.voice--cards .voice-movies {
  width: min(100%, 1000px);
  margin: 130px auto 0;
}

.voice--cards .voice-movies__heading {
  text-align: center;
  margin-bottom: 40px;
}

.voice-movies__title-wrap {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.voice--cards .voice-movies__heading h3 {
  margin: 0;
  color: #211815;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

/* 見出しの下：短く太い青いライン */
.voice--cards .voice-movies__heading h3::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin: 20px auto 0;
  background-color: #536b7d;
}

.voice--cards .voice-movies__heading > p {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

/* 見出しの右上にチワワを添える */
.voice-movies__dog {
  position: absolute;
  right: -125px;
  bottom: 8px;
  display: block;
  width: 100px;
  height: auto;
  pointer-events: none;
}

.voice--cards .voice-movies__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.voice--cards .voice-movies__list video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  -o-object-fit: cover;
  object-fit: cover;
  border: 1px solid rgba(83, 107, 125, 0.5);
}

/* ========================================
   スマホ・タブレット
======================================== */

@media (max-width: 767px) {
  .voice--cards {
    padding: 70px 20px 80px;
  }

  .voice--cards .voice__inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  /* スマホは見出しを先に */
  .voice--cards .voice__side {
    position: static;
    order: -1;
    align-self: flex-end;
    margin-right: 8px;
  }

  .voice--cards .voice__heading h2 {
    font-size: 28px;
  }

  .voice--cards .voice__scroll {
    display: none;
  }

  .voice--cards .voice__list {
    width: 100%;
    gap: 48px;
  }

  /* スマホも小さく左右にずらす */
  .voice-card {
    width: 94%;
    max-width: 440px;
  }

  .voice-card__bubble {
    top: 12px;
    right: -8px;
    width: min(76%, 220px);
    padding: 14px 10px 18px;
    font-size: 14px;
  }

  .voice-card__body {
    padding: 24px;
  }

  .voice-card__body h3 {
    font-size: 21px;
  }

  .voice-card__review {
    font-size: 16px;
  }

  .voice--cards .voice-movies {
    margin-top: 90px;
  }

  /* 切り抜きは見出しの上に置いて重なりを防ぐ */
  .voice-movies__title-wrap {
    padding-top: 85px;
  }

  .voice-movies__dog {
    top: 0;
    right: 12px;
    bottom: auto;
    width: 65px;
    max-height: 78px;
    -o-object-fit: contain;
    object-fit: contain;
  }

  .voice--cards .voice-movies__heading h3 {
    font-size: 22px;
  }

  .voice--cards .voice-movies__heading > p {
    font-size: 14px;
  }

  /* 動画は横にスワイプして見る */
  .voice--cards .voice-movies__list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
    -ms-scroll-snap-type: x mandatory;
    scroll-snap-type: x mandatory;
  }

  .voice--cards .voice-movies__list video {
    flex: 0 0 78%;
    width: 78%;
    min-width: 0;
    scroll-snap-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .voice-movies__title-wrap {
    padding-top: 90px;
  }

  .voice-movies__dog {
    top: 0;
    right: 0;
    bottom: auto;
    width: 75px;
    max-height: 85px;
    -o-object-fit: contain;
    object-fit: contain;
  }
}

/* カードをひと回り小さく */
.voice-card {
  width: min(100%, 390px);
}

/* 写真は少し横長に */
.voice-card__photo {
  aspect-ratio: 3 / 2;
  -o-object-position: center 35%;
  object-position: center 35%;
}

/* 吹き出しを写真の上辺へ */
.voice-card__bubble {
  top: 0;
  right: -20px;
  width: 210px;
  transform: translateY(-55%);
  font-size: 14px;
}

/* 本文の余白 */
.voice-card__body {
  padding: 26px 28px 30px;
}

/* カード間：吹き出しの分も空ける */
.voice--cards .voice__list {
  padding-top: 40px;
  gap: 100px;
}

/* 動画見出しの青ラインを長く */
.voice--cards .voice-movies__heading h3::after {
  width: 100px;
  height: 4px;
}

@media (max-width: 767px) {
  .voice-card {
    width: 94%;
    max-width: 390px;
  }

  .voice-card__bubble {
    right: -6px;
    width: min(76%, 210px);
    font-size: 13px;
  }

  .voice-card__body {
    padding: 24px;
  }

  .voice--cards .voice__list {
    gap: 75px;
  }

  .voice--cards .voice-movies__heading h3::after {
    width: 80px;
  }
}

/* 吹き出し：文字と背景を分ける */
.voice-card__bubble {
  top: -24px;
  right: -170px;
  left: auto;
  width: 220px;
  padding: 18px 12px 24px;
  background: none;
  -webkit-clip-path: none;
  clip-path: none;
  transform: none;
  isolation: isolate;
}

/* 背景だけを反転できるように */
.voice-card__bubble::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-color: #849aa6;
  -webkit-clip-path: polygon(
    4% 0,
    96% 0,
    100% 10%,
    99% 82%,
    95% 90%,
    83% 90%,
    89% 100%,
    71% 90%,
    4% 90%,
    0 80%,
    0 10%
  );
  clip-path: polygon(
    4% 0,
    96% 0,
    100% 10%,
    99% 82%,
    95% 90%,
    83% 90%,
    89% 100%,
    71% 90%,
    4% 90%,
    0 80%,
    0 10%
  );
  pointer-events: none;
}

/* 1・3枚目：右外側、しっぽは左下 */
.voice-card:nth-of-type(odd) .voice-card__bubble::before {
  transform: scaleX(-1);
}

/* 2・4枚目：左外側、しっぽは右下 */
.voice-card:nth-of-type(even) .voice-card__bubble {
  right: auto;
  left: -170px;
}

/* 動画見出しの左：お皿の切り抜き */
.voice-movies__dish {
  position: absolute;
  left: -155px;
  bottom: 0;
  width: 130px;
  height: auto;
  pointer-events: none;
}

/* 狭いPC画面では、吹き出しのはみ出しを控えめに */
@media (min-width: 768px) and (max-width: 1100px) {
  .voice-card__bubble {
    right: -75px;
  }

  .voice-card:nth-of-type(even) .voice-card__bubble {
    left: -75px;
  }
}

/* スマホ：画面からはみ出さない位置 */
@media (max-width: 767px) {
  .voice-card__bubble {
    top: -35px;
    right: -6px;
    width: min(76%, 210px);
  }

  .voice-card:nth-of-type(even) .voice-card__bubble {
    right: auto;
    left: -6px;
  }

  .voice-movies__dish {
    top: 12px;
    left: 8px;
    bottom: auto;
    width: 95px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .voice-movies__dish {
    top: 12px;
    left: 0;
    bottom: auto;
    width: 110px;
  }
}

/* 吹き出し：元の画像を使う */
.voice-card__bubble {
  top: -24px;
  right: -170px;
  left: auto;
  width: 240px;
  min-height: 112px;
  padding: 24px 26px 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: none;
  -webkit-clip-path: none;
  clip-path: none;
  transform: none;
  isolation: isolate;
}

/* CSSの図形を解除して画像へ */
.voice-card__bubble::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;

  background: url("../images/voice/bubble.png") center / 100% 100% no-repeat;
  -webkit-clip-path: none;
  clip-path: none;
  transform: none;
}

/* 1・3枚目：背景画像だけ左右反転 */
.voice-card:nth-of-type(odd) .voice-card__bubble::before {
  transform: scaleX(-1);
}

/* 2・4枚目：写真の左外側 */
.voice-card:nth-of-type(even) .voice-card__bubble {
  right: auto;
  left: -170px;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .voice-card__bubble {
    right: -75px;
  }

  .voice-card:nth-of-type(even) .voice-card__bubble {
    left: -75px;
  }
}

@media (max-width: 767px) {
  .voice-card__bubble {
    top: -35px;
    right: -6px;
    width: 220px;
    max-width: 85%;
    min-height: 104px;
    padding: 22px 22px 28px;
  }

  .voice-card:nth-of-type(even) .voice-card__bubble {
    right: auto;
    left: -6px;
  }
}

/* 吹き出しを大きく */
.voice-card__bubble {
  width: 320px;
  min-height: 132px;
  padding: 28px 30px 36px;
  font-size: 16px;
}

/* 1・3枚目：反転なし */
.voice-card:nth-of-type(odd) .voice-card__bubble::before {
  transform: none;
}

/* 2・4枚目：背景画像だけ反転 */
.voice-card:nth-of-type(even) .voice-card__bubble::before {
  transform: scaleX(-1);
}

@media (max-width: 767px) {
  .voice-card__bubble {
    max-width: 90%;
    min-height: 118px;
    padding: 24px 26px 32px;
    font-size: 14px;
  }
}

/* 1・3枚目：上へ＋右へ */
.voice-card__bubble {
  top: -30px;
  right: -230px;
}

/* 2・4枚目：上へ＋左へ */
.voice-card:nth-of-type(even) .voice-card__bubble {
  right: auto;
  left: -230px;
}

/* 狭いPC画面 */
@media (min-width: 768px) and (max-width: 1100px) {
  .voice-card__bubble {
    right: -100px;
  }

  .voice-card:nth-of-type(even) .voice-card__bubble {
    left: -100px;
  }
}

/* スマホ：横には広げず、上へ離す */
@media (max-width: 767px) {
  .voice-card__bubble {
    top: -65px;
    right: -6px;
  }

  .voice-card:nth-of-type(even) .voice-card__bubble {
    right: auto;
    left: -6px;
  }
}

@media (max-width: 767px) {
  /* 吹き出し用の空間を確保 */
  .voice--cards .voice__list {
    padding-top: 135px;
    gap: 155px;
  }

  /* 高さが変わっても、写真より上に配置 */
  .voice-card .voice-card__bubble {
    top: auto;
    bottom: calc(100% + 8px);
    right: -6px;
    left: auto;
  }

  .voice-card:nth-of-type(even) .voice-card__bubble {
    right: auto;
    left: -6px;
  }

  /* 1・3枚目：背景画像だけ反転 */
  .voice-card:nth-of-type(odd) .voice-card__bubble::before {
    transform: scaleX(-1);
  }
}

/* レビュー本文の読みやすさを調整 */
.voice-card__review {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  word-break: normal;
  overflow-wrap: break-word;
}
