/* ========================================
   土佐紫プロジェクト - スタイルシート
   ======================================== */

/* ---------- リセット & ベース ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Klee One", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ---------- 共通コンテナ ---------- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.container-wide {
  width: 100%;
}

/* ---------- 共通セクション ---------- */
.section {
  padding: 80px 0;
}

.section__title {
  font-size: 1.75rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.15em;
  position: relative;
}

.section__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: #000;
  margin: 16px auto 0;
}

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background 0.3s;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header.is-scrolled .header__logo,
.header.is-scrolled .header__nav a {
  color: #000;
}

.header.is-scrolled .header__hamburger span {
  background: #000;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.header__logo {
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  font-weight: 400;
  color: #fff;
}

.header__nav ul {
  display: flex;
  gap: 32px;
}

.header__nav a {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  transition: opacity 0.3s;
  color: #fff;
}

.header__nav a:hover {
  opacity: 0.6;
}

/* ハンバーガー */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.header__hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- ヒーロー（ファーストビュー・縦書き） ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.35);
}

/* コンテンツ: row-reverseで右→左に並べ、画面中央配置 */
.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  height: 400px;
  padding: 0;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  color: #f2f2f2;
}

/* タイトル（右端・大文字） */
.hero__title {
  writing-mode: vertical-rl;
  font-family: "Shippori Mincho", serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  height: 100%;
  flex: none;
  text-align: center;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
  margin: 0 0 0 1.5em;
  display: flex;
  justify-content: center;
}

/* テキスト列（タイトルの左に並ぶ） */
.hero__text {
  writing-mode: vertical-rl;
  font-size: 18px;
  font-weight: 400;
  line-height: 250%;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  margin-left: 1.5em;
  text-shadow:
    1px 1px 2px rgba(0, 0, 0, 0.6),
    0 0 8px rgba(0, 0, 0, 0.3);
  -webkit-font-smoothing: subpixel-antialiased;
}

/* スクロールインジケーター */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.hero__scroll span:first-child {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: #fff;
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
  100% {
    opacity: 0;
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

/* ---------- About（ムラサキとは） ---------- */
.section--about {
  padding: 0;
}

.about {
  display: flex;
  min-height: 100vh;
}

.about__decoration {
  width: 35%;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: end;
  justify-content: right;
  overflow: hidden;
}

.about__decoration img {
  width: 80%;
  max-width: 367px;
}

.about__body {
  flex: 1;
  padding: 80px 60px;
  background: #fff;
}

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

.about__name {
  font-family: "Shippori Mincho", serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
}

.about__latin {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  line-height: 1.8;
}

.about__text {
  max-width: 580px;
  margin: 0 auto;
}

.about__text p {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.02em;
  text-align: justify;
  text-indent: 1em;
}

.about__text p + p {
  margin-top: 1.5em;
}

/* ---------- 栽培プロセス ---------- */
.section--process {
  padding: 0;
}

.process {
  position: relative;
}

.process__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-family: "Klee One", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 140%;
  color: #ffffff;
  -webkit-text-stroke: 0.5px #ffffff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

.process__image-wrap {
  width: 100%;
  height: 368px;
  overflow: hidden;
  line-height: 0;
}

.process__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ---------- 歴史（テキストセクション） ---------- */
.section--history {
  background: #f5f5f0;
  padding: 80px 0;
}

.history__text {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.history__text p {
  font-size: 14px;
  font-weight: 600;
  line-height: 250%;
  letter-spacing: 0.05em;
  color: #666;
  -webkit-text-stroke: 0.3px #666;
}

.history__text p + p {
  margin-top: 2em;
}

/* ---------- ギャラリー ---------- */
.section--gallery {
  background: #fbfbfb;
}

.gallery__container {
  width: 100%;
  height: 100%;
}

.gallery__image {
  width: 100%;
  height: 1032px;
  object-fit: cover;
  display: block;
}

/* ---------- 健康効果 ---------- */
.section--benefits {
  background: #fbfbfb;
  padding: 60px 0 80px;
}

.benefits__container {
  width: 100%;
  max-width: 100%;
}

.benefits__heading {
  font-family: "Shippori Mincho", serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 48px;
}

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

.benefits__sub {
  font-family: "Klee One", sans-serif;
  font-size: 20px;
  font-weight: 400;
  -webkit-text-stroke: 0.3px #333;
  color: #333;
  line-height: 1.4;
  text-align: center;
  max-width: 100%;
  margin: 30px auto 0;
}

.benefits__block p {
  font-size: 20px;
  line-height: 220%;
  letter-spacing: 0.05em;
  color: #555;
}

.benefits__circles {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
}

.benefits__circle {
  width: 234px;
  height: 234px;
  border-radius: 50%;
  background: #eeece8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefits__circle span {
  font-family: "Shippori Mincho", serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  line-height: 1.6;
}

/* ---------- 栽培の経過（タイムライン） ---------- */
.section--timeline {
  background: #fff;
  padding: 80px 0;
}

.timeline__container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.timeline__heading {
  font-family: "Shippori Mincho", serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 60px;
}

.timeline__year {
  margin-bottom: 48px;
}

.timeline__year h3 {
  font-family: "Klee One", sans-serif;
  font-size: 20px;
  font-weight: 600;
  -webkit-text-stroke: 0.3px #333;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

.timeline__year dl {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 8px 16px;
}

.timeline__year dt {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  white-space: nowrap;
}

.timeline__year dd {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* ---------- CTA ---------- */
.section--cta {
  background: #f5f5f0;
  padding: 80px 0;
}

.cta {
  text-align: center;
}

.cta__text {
  font-family: "Klee One", sans-serif;
  font-size: 18px;
  font-weight: 600;
  -webkit-text-stroke: 0.3px #333;
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  border: 1px solid #000;
  transition: background 0.3s, color 0.3s;
}

.btn--primary {
  background: #000;
  color: #fff;
}

.btn--primary:hover {
  background: transparent;
  color: #000;
}

/* ---------- 概要（プロジェクト情報） ---------- */
.section--info {
  background: #fff;
  padding: 60px 0;
}

.info {
  text-align: center;
}

.info__list {
  display: block;
  text-align: center;
}

.info__list dd {
  font-family: "Klee One", sans-serif;
  font-size: 18px;
  font-weight: 600;
  -webkit-text-stroke: 0.3px #333;
  color: #333;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 2;
}

.info__list dt {
  font-family: "Klee One", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #333;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 2;
}

/* ---------- フッター ---------- */
.footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer__copy {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #888;
}

/* ==========================================
   レスポンシブ
   ========================================== */

/* タブレット */
@media (max-width: 768px) {
  .header__hamburger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.08);
  }

  .header__nav.is-open {
    right: 0;
  }

  .header__nav a {
    color: #000;
  }

  .header__nav ul {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  /* ヒーロー */
  .hero__content {
    height: 350px;
  }

  .hero__title {
    font-size: 28px;
    margin-left: 0.8em;
  }

  .hero__text {
    font-size: 14px;
    margin-left: 0.8em;
  }

  /* About */
  .about {
    flex-direction: column;
  }

  .about__decoration {
    width: 100%;
    height: 250px;
    justify-content: center;
  }

  .about__body {
    padding: 48px 24px;
  }

  .about__text {
    max-width: 100%;
  }

  /* ギャラリー */
  .gallery__image {
    height: 500px;
  }

  /* 健康効果 */
  .benefits__circles {
    flex-wrap: wrap;
    gap: 24px;
  }

  .benefits__circle {
    width: 180px;
    height: 180px;
  }

  .benefits__block p {
    font-size: 16px;
    padding: 0 16px;
  }

  .benefits__sub {
    font-size: 18px;
    padding: 0 16px;
  }

  /* 歴史 */
  .history__text p {
    font-size: 13px;
  }

  /* タイムライン */
  .timeline__year dl {
    grid-template-columns: 6em 1fr;
    gap: 6px 12px;
  }

  /* CTA */
  .cta__text {
    font-size: 16px;
    padding: 0 24px;
  }

  /* 概要 */
  .info {
    padding: 0 24px;
  }

  .section {
    padding: 60px 0;
  }
}

/* モバイル */
@media (max-width: 480px) {
  /* ヒーロー */
  .hero__content {
    height: 300px;
  }

  .hero__title {
    font-size: 22px;
    margin-left: 0.5em;
  }

  .hero__text {
    font-size: 11px;
    margin-left: 0.5em;
    line-height: 220%;
  }

  .section__title {
    font-size: 1.375rem;
  }

  /* About */
  .about__decoration {
    height: 180px;
  }

  .about__body {
    padding: 32px 16px;
  }

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

  .about__name {
    font-size: 1.1rem;
  }

  /* プロセス */
  .process__image-wrap {
    height: 200px;
  }

  /* ギャラリー */
  .gallery__image {
    height: 300px;
  }

  /* 健康効果 */
  .benefits__heading {
    font-size: 1.2rem;
    padding: 0 16px;
  }

  .benefits__circles {
    gap: 16px;
  }

  .benefits__circle {
    width: 150px;
    height: 150px;
  }

  .benefits__circle span {
    font-size: 1rem;
  }

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

  .benefits__sub {
    font-size: 16px;
  }

  /* タイムライン */
  .timeline__heading {
    font-size: 1.2rem;
  }

  .timeline__year dl {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .timeline__year dt {
    font-weight: 700;
    margin-top: 8px;
  }

  .timeline__year dd {
    padding-left: 1em;
  }

  /* CTA */
  .cta__text {
    font-size: 14px;
    padding: 0 16px;
  }

  /* 概要 */
  .info {
    padding: 0 16px;
  }

  .info__list {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .info__list dt {
    margin-top: 12px;
    font-weight: 700;
  }

  .info__list dd {
    padding-left: 1em;
  }
}
