/* ==========================================================
   Mori no Te — story.css（こだわり・ストーリーページ固有スタイル）
   ========================================================== */

/* ---- オーナーメッセージ ---- */
.owner-message__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.owner-message__blockquote {
  font-family: var(--font-base);
  font-weight: 300;
  font-size: 22px;
  color: var(--color-text);
  line-height: 1.8;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  position: relative;
  padding: 32px 40px;
}

.owner-message__blockquote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 80px;
  color: rgba(92, 122, 90, 0.2);
  position: absolute;
  top: -10px;
  left: 0;
  line-height: 1;
}

.owner-message__profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.owner-message__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(92, 122, 90, 0.2);
}

.owner-message__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-sub);
  letter-spacing: 0.08em;
}

.owner-message__body {
  text-align: left;
  padding: 32px 40px;
  background-color: rgba(255,255,255,0.5);
  border-radius: var(--radius-card);
  border: 1px solid rgba(92, 122, 90, 0.1);
}

.owner-message__text {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 16px;
}

.owner-message__text:last-child {
  margin-bottom: 0;
}

/* ---- こだわりセクション（交互レイアウト） ---- */
.story-section__inner {
  display: grid;
  gap: 64px;
  align-items: center;
}

.story-section__inner--img-left {
  grid-template-columns: 1fr 1fr;
}

.story-section__inner--img-right {
  grid-template-columns: 1fr 1fr;
}

.story-section__img-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.story-section__img {
  width: 100%;
  height: 100%;
}

.story-section__number {
  font-family: var(--font-display);
  font-size: 56px;
  color: rgba(92, 122, 90, 0.2);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.story-section__title {
  font-family: var(--font-base);
  font-weight: 300;
  font-size: 28px;
  color: var(--color-text);
  line-height: 1.4;
  margin-bottom: 0;
}

.story-section__text {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 16px;
}

.story-section__text:last-child {
  margin-bottom: 0;
}

/* ---- ギャラリー ---- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__item {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery__img {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.04);
}

/* ---- CTAセクション ---- */
.story-cta__inner {
  text-align: center;
  padding: 40px 0;
}

.story-cta__title {
  font-family: var(--font-base);
  font-weight: 300;
  font-size: 32px;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.story-cta__text {
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin-bottom: 32px;
}

.story-cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- レスポンシブ: タブレット ---- */
@media (max-width: 1023px) {
  .story-section__inner {
    gap: 40px;
  }

  .story-section__title {
    font-size: 24px;
  }

  .owner-message__blockquote {
    font-size: 19px;
    padding: 24px 24px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- レスポンシブ: スマホ ---- */
@media (max-width: 767px) {
  /* こだわりセクション: SP では写真上・テキスト下 */
  .story-section__inner--img-left,
  .story-section__inner--img-right {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* 画像を必ず上に */
  .story-section__inner--img-right .story-section__img-wrap {
    order: -1;
  }

  .story-section__number {
    font-size: 40px;
  }

  .story-section__title {
    font-size: 22px;
  }

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

  .owner-message__body {
    padding: 24px 20px;
  }

  .owner-message__blockquote {
    font-size: 17px;
    padding: 20px 16px;
  }

  .owner-message__blockquote::before {
    font-size: 56px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .story-cta__title {
    font-size: 24px;
  }

  .story-cta__btns {
    flex-direction: column;
    align-items: center;
  }
}
