@charset "UTF-8";
/*
Theme Name: Cocoon Child
Description: Cocoon の子テーマ（ねこと畑のある暮らし専用）
Theme URI: https://wp-cocoon.com/
Template: cocoon-master
Author: 恭子
Author URI: https://nekotohatake.wdesignjournal.com
Version: 1.0.0
*/

/* ==========================================================================
   ▼ kiso.css（リセット / ベース）
   ========================================================================== */
*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
}

:where(:root) {
  font-family: sans-serif;
  line-height: 1.5;
  text-spacing-trim: trim-start;
  text-autospace: normal;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
  -webkit-tap-highlight-color: transparent;
}

:where(body) {
  min-block-size: 100dvb;
  margin: unset;
}

:where(h1, h2, h3, h4, h5, h6) {
  text-wrap: pretty;
}

:where(h1) {
  margin-block: 0.67em;
  font-size: 2em;
}

:where(h2, h3, h4, h5, h6) {
  margin-block: unset;
}

:where(search) {
  display: block flow;
}

:where(p, blockquote, figure, pre, address, ul, ol, dl, menu) {
  margin-block: unset;
}

:where(blockquote, figure) {
  margin-inline: unset;
}

:where(p:lang(en)) {
  text-wrap: pretty;
}

:where(address:lang(ja)) {
  font-style: unset;
}

:where(ul, ol, menu) {
  padding-inline-start: unset;
  list-style-type: "";
}

:where(dt) {
  font-weight: bolder;
}

:where(dd) {
  margin-inline-start: unset;
}

:where(pre) {
  text-spacing-trim: space-all;
  text-autospace: no-autospace;
}

:where(em:lang(ja)) {
  font-weight: bolder;
}

:where(:is(i, cite, em, dfn, var):lang(ja)) {
  font-style: unset;
}

:where(code, kbd, samp) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-feature-settings: initial;
  font-variation-settings: initial;
  font-size: unset;
  font-variant-ligatures: none;
}

:where(abbr[title]) {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  cursor: help;
}

:where(time) {
  text-autospace: no-autospace;
}

@media (forced-colors: active) {
  :where(mark) {
    background-color: Highlight;
    color: HighlightText;
  }
}

@media print {
  :where(mark) {
    border-width: 1px;
    border-style: dotted;
  }
}

:where(a:any-link) {
  color: unset;
  text-decoration-line: unset;
  text-decoration-thickness: from-font;
}

:where(img, svg, picture, video, canvas, model, audio, iframe, embed, object) {
  block-size: auto;
  max-inline-size: 100%;
  vertical-align: bottom;
}

:where(iframe) {
  border: unset;
}

:where(table) {
  border-collapse: collapse;
}

:where(caption, th) {
  text-align: unset;
}

:where(caption) {
  text-wrap: pretty;
}

:where(button, input, select, textarea),
::file-selector-button {
  border-width: 1px;
  border-style: solid;
  border-color: unset;
  border-radius: unset;
  color: unset;
  font: unset;
  letter-spacing: unset;
  text-align: unset;
}

:where(input:is([type="radio" i], [type="checkbox" i])) {
  margin: unset;
}

:where(input[type="file" i]) {
  border: unset;
}

:where(input[type="search" i]) {
  -webkit-appearance: textfield;
}

@supports (-webkit-touch-callout: none) {
  :where(input[type="search" i]) {
    background-color: Canvas;
  }
}

:where(input:is([type="tel" i],
    [type="url" i],
    [type="email" i],
    [type="number" i]):not(:placeholder-shown)) {
  direction: ltr;
}

:where(textarea) {
  margin-block: unset;
  resize: block;
}

:where(input:not([type="button" i], [type="submit" i], [type="reset" i]),
  textarea,
  [contenteditable]) {
  text-autospace: no-autospace;
}

:where(button,
  input:is([type="button" i], [type="submit" i], [type="reset" i])),
::file-selector-button {
  background-color: unset;
}

:where(button,
  input:is([type="button" i], [type="submit" i], [type="reset" i]),
  [role="tab" i],
  [role="button" i],
  [role="option" i]),
::file-selector-button {
  touch-action: manipulation;
}

:where(button:enabled,
  label[for],
  select:enabled,
  input:is([type="button" i],
    [type="submit" i],
    [type="reset" i],
    [type="radio" i],
    [type="checkbox" i]):enabled,
  [role="tab" i],
  [role="button" i],
  [role="option" i]),
:where(:enabled)::file-selector-button {
  cursor: pointer;
}

:where(fieldset) {
  min-inline-size: 0;
  margin-inline: unset;
  padding: unset;
  border: unset;
}

:where(legend) {
  padding-inline: unset;
}

:where(progress) {
  vertical-align: unset;
}

::placeholder {
  opacity: unset;
}

:where(summary) {
  list-style-type: "";
  cursor: pointer;
}

:where(summary)::-webkit-details-marker {
  display: none;
}

:where(dialog, [popover]) {
  overscroll-behavior-block: contain;
  padding: unset;
  border: unset;
}

:where(dialog:not([open], [popover]), [popover]:not(:popover-open)) {
  display: none !important;
}

:where(dialog) {
  max-inline-size: unset;
  max-block-size: unset;
}

:where(dialog)::backdrop {
  background-color: oklch(0% 0 0deg / 30%);
}

:where([popover]) {
  margin: unset;
}

:where(:focus-visible) {
  outline-offset: 3px;
}

[tabindex="-1"]:focus {
  outline: none !important;
}

:where(:disabled, [aria-disabled="true" i]) {
  cursor: default;
}

[hidden]:not([hidden="until-found" i]) {
  display: none !important;
}

/* ==========================================================================
   ▼ style.css（メイン：Design Tokens + 全ブロック）
   ========================================================================== */
/* ==========================================================================
   Design Tokens (Variables)
   ========================================================================== */
:root {
  /* ---------- Colors: Brand ---------- */
  --color-primary:       #46533f;  /* 深い苔色：見出し・主要テキスト */
  --color-primary-hover: #364132;  /* primary hover時 */
  --color-primary-deep:  #334537;  /* primaryより深いトーン：farming title / cta hover */
  --color-accent:        #735a36;  /* 温かみのあるブラウン：ラベル・サブ */

  /* ---------- Colors: Text ---------- */
  --color-text-body:     #444841;  /* 本文 */
  --color-text-muted:    #675d50;  /* リード文・補足（柔らかいブラウン寄り） */
  --color-text-soft:     #a89b8c;  /* farmingラベル等の薄い色 */
  --color-text-deep:     #514f49;  /* footer tagline等の濃いめテキスト */

  /* ---------- Colors: Background ---------- */
  --color-bg-page:       #f0eded;  /* ページ全体の基本背景 */
  --color-bg-light:      #f6f3f2;  /* セクション背景（明） */
  --color-bg-cream:      #fbf9f4;  /* セクション背景（クリーム／farming） */
  --color-bg-card:       #f0eded;  /* カード背景（cats等） */
  --color-bg-gallery:    rgba(253, 218, 172, 0.2); /* galleryセクション背景（淡いクリーム） */
  --color-bg-header:     rgba(251, 249, 248, 0.9); /* ヘッダー半透明 */
  --color-bg-placeholder:#e0e0e0;  /* 画像ロード前のプレースホルダ */
  --color-white:         #ffffff;

  /* ---------- Colors: Border ---------- */
  --color-border:        rgba(197, 200, 190, 0.3); /* 通常のボーダー */
  --color-border-soft:   rgba(197, 200, 190, 0.2); /* overview等の薄ボーダー */
  --color-border-cta:    #737872;                  /* farming CTAのソリッドボーダー */

  /* ---------- Colors: Farming Labels ---------- */
  --color-label-beginner:  #8b7d6b;  /* BEGINNER BASICS（やわらかなベージュ） */
  --color-label-seasonal:  #7a826a;  /* SEASONAL GROWING（セージグリーン） */
  --color-label-practical: #8a6f5a;  /* PRACTICAL LESSONS（土のブラウン） */

  /* ---------- Typography ---------- */
  --font-jp-sans:        "Noto Sans JP", sans-serif;     /* 和文ゴシック：本文 */
  --font-jp-serif:       "Noto Serif JP", serif;         /* 和文明朝：通常の見出し */
  --font-jp-display:     "Zen Old Mincho", serif;        /* 和文明朝：Hero専用ディスプレイ */
  --font-en-sans:        "DM Sans", sans-serif;          /* 欧文ゴシック：ラベル */
  --font-en-serif:       "Libre Caslon Text", serif;     /* 欧文セリフ：署名 */

  /* ---------- Layout ---------- */
  --radius-card:         16px;
  --radius-md:           12px;
  --radius-sm:           10px;

  /* ---------- Motion ---------- */
  --transition-base:     0.3s ease;                                       /* 基本（opacity/color等） */
  --transition-hover:    0.35s ease;                                      /* hoverリンク類 */
  --transition-slow:     0.6s ease;                                       /* gallery caption / overlay */
  --transition-smooth:   0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);      /* カード持ち上げ等 */
  --transition-image:    1.2s cubic-bezier(0.22, 1, 0.36, 1);             /* 画像ズーム */
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg-page);
  color: var(--color-primary);
  font-family: var(--font-jp-sans);
  -webkit-font-smoothing: antialiased;
}

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

/* ==========================================================================
   Components: Buttons
   ========================================================================== */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 35px;
  border-radius: 9999px;
  text-decoration: none;
  font-family: var(--font-en-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04px;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  cursor: pointer;
  box-sizing: border-box;
}

.c-btn--small {
  height: 32px;
  padding: 0 24px;
}

.c-btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* hover：深色＋強い lift＋柔らかな影で「押せる感」を明示 */
.c-btn--primary:hover {
  background-color: var(--color-primary-deep);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(70, 83, 63, 0.25);
}

.c-btn--outline {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background-color: transparent;
}

/* hover：塗りつぶし反転で静→動の劇的変化、同様に lift＋影 */
.c-btn--outline:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(115, 90, 54, 0.25);
}

/* ==========================================================================
   Utility: Skip Link（キーボード/スクリーンリーダー向け）
   ========================================================================== */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  padding: 8px 16px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-jp-sans);
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  transform: translateY(-100%);
  transition: transform var(--transition-base);
  z-index: 9999;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ==========================================================================
   Block: Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 83px;
  background: var(--color-bg-header);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
}

.header__container {
  width: 100%;
  max-width: 1280px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.header__logo {
  flex: 0 0 auto;
  margin-right: 56px;
}

.header__logo-link {
  text-decoration: none;
  color: var(--color-primary);
  font-family: var(--font-jp-sans);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.header__nav {
  flex: 1;
}

.header__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 38px;
}

.header__menu-link {
  text-decoration: none;
  color: var(--color-text-body);
  font-family: var(--font-en-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: opacity var(--transition-base);
}

.header__menu-link:hover {
  opacity: 0.7;
}

/* ハンバーガーボタン：1024px 以下で表示。アニメーション付き三本線→X */
.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.header__hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 1px;
}

/* 開いた状態：三本線 → X */
.header__hamburger[aria-expanded="true"] .header__hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__hamburger[aria-expanded="true"] .header__hamburger-line:nth-child(2) {
  opacity: 0;
}
.header__hamburger[aria-expanded="true"] .header__hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__lang-switcher {
  background: none;
  border: none;
  color: var(--color-primary);
  font-family: var(--font-en-sans);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Block: Hero
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 830px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__visual {
  position: absolute;
  top: 75px;
  left: 0;
  width: 100%;
  height: 680px;
  z-index: 1;
}

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

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  height: 830px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* heading-group：subtitle / tagline / h1 を内包し、flex-end で右端揃え
   gap ではなく個別 margin で柔軟な間隔制御 */
.hero__heading-group {
  margin-top: 24px;       /* subtitle をグレー領域の中央へ */
  margin-left: 90px;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: flex-end;  /* subtitle 末尾 と h1 第1列の右端を同一垂直ラインに */
}

/* h1を縦書き化（vertical-rl）：3行構成・ねこ/畑/暮を大きく */
.hero__title {
  color: var(--color-primary);
  font-family: var(--font-jp-display);
  font-weight: 400;
  line-height: 1;            /* 列間は margin-block-end で制御（display:flex 子に line-height は効かない） */
  margin: 0;
  writing-mode: vertical-rl;
}

/* 各列：align-items: center で混在サイズの中心軸を揃え、ガタつき抑制 */
.hero__title-line {
  display: flex;
  align-items: center;
  line-height: 1;
}

/* 列間ギャップ。subtitle「LIFE WITH CATS AND GARDENS」の幅と概ね揃うよう調整
   3列 × 64px = 192px + 2gap × 40px = 272px ≈ subtitle 幅 */
.hero__title-line:not(:last-child) {
  margin-block-end: 40px;
}

/* 階段オフセット（1文字分ずつ降りる waterfall） */
.hero__title-line--offset-1 { padding-inline-start: 72px; }
.hero__title-line--offset-2 { padding-inline-start: 144px; }

/* 各文字：letter-spacing 0.3em で「ゆっくりした時間」を演出
   opacity 0.7 + 淡い白halo で水彩上での視認性確保 */
.hero__title-text {
  letter-spacing: 0.3em;
  opacity: 0.7;
  transition: opacity 0.6s ease;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

/* サイズ変動：ねこ・畑・暮（強調文字） vs 他（基準文字） */
.hero__title-text--large { font-size: 64px; }
.hero__title-text--base  { font-size: 48px; }

.hero:hover .hero__title-text,
.hero:focus-within .hero__title-text {
  opacity: 1;
}

/* Stagger：10文字を右列→中列→左列の順に約0.07sずつ */
.hero__title-line:nth-of-type(1) .hero__title-text:nth-child(1) { transition-delay: 0.00s; }
.hero__title-line:nth-of-type(1) .hero__title-text:nth-child(2) { transition-delay: 0.07s; }
.hero__title-line:nth-of-type(1) .hero__title-text:nth-child(3) { transition-delay: 0.14s; }
.hero__title-line:nth-of-type(2) .hero__title-text:nth-child(1) { transition-delay: 0.21s; }
.hero__title-line:nth-of-type(2) .hero__title-text:nth-child(2) { transition-delay: 0.28s; }
.hero__title-line:nth-of-type(2) .hero__title-text:nth-child(3) { transition-delay: 0.35s; }
.hero__title-line:nth-of-type(2) .hero__title-text:nth-child(4) { transition-delay: 0.42s; }
.hero__title-line:nth-of-type(3) .hero__title-text:nth-child(1) { transition-delay: 0.49s; }
.hero__title-line:nth-of-type(3) .hero__title-text:nth-child(2) { transition-delay: 0.56s; }
.hero__title-line:nth-of-type(3) .hero__title-text:nth-child(3) { transition-delay: 0.63s; }

/* subtitle：tagline との垂直リズム用の小さな下マージン */
.hero__subtitle {
  margin: 0 0 8px 0;
  color: var(--color-primary);
  font-family: var(--font-en-sans);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.hero__footer {
  margin-bottom: 32px;
  align-self: flex-end;
  text-align: center;
  transform: translateY(28px);
}

/* 和文タグライン：subtitle 直下のグレー領域に1行で収める
   subtitle 幅(280px)に合わせて font-size を13pxに、letter-spacing を 0 に調整
   （21文字 × 13px ≈ 273px ≤ 280px で1行確定） */
.hero__tagline {
  color: var(--color-primary-deep);
  font-family: var(--font-jp-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  margin: 0 0 32px 0;
  max-width: 280px;
  text-align: right;
  white-space: nowrap;
}

/* harmony：margin 撤去 + position:relative+top で20px下に。レイアウト不変、ボタン直上に配置 */
.hero__harmony {
  color: var(--color-accent);
  font-family: var(--font-en-sans);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  margin: 0;
  position: relative;
  top: 20px;
  width: 100%;
  text-align: center;
}

.hero__actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.hero__actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;       /* harmony の margin-bottom 削除分を補償（buttons 位置を維持） */
}

/* ==========================================================================
   Block: Welcome（ターゲット別の入り口・3カード）
   ========================================================================== */
.welcome {
  background-color: var(--color-bg-cream);
  padding: 100px 0;
  width: 100%;
}

.welcome__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 70px;
  box-sizing: border-box;
}

.welcome__header {
  text-align: center;
  margin-bottom: 56px;
}

.welcome__label {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-jp-sans);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.5;
}

.welcome__title {
  color: var(--color-primary);
  font-family: var(--font-jp-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin: 0 0 16px;
  text-indent: -0.1em;
}

.welcome__lead {
  color: var(--color-text-muted);
  font-family: var(--font-jp-sans);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  letter-spacing: 0.04em;
}

.welcome__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

/* farming__card と同系のグラスモーフィズム */
.welcome__card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-sizing: border-box;
  cursor: pointer;
  transition:
    transform var(--transition-smooth),
    background 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

.welcome__card:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--color-primary-deep);
  box-shadow: 0 12px 28px rgba(70, 83, 63, 0.18);
}

.welcome__card-link {
  display: block;
  padding: 32px 28px 28px;
  text-decoration: none;
  color: inherit;
  position: relative;
  min-height: 220px;
  box-sizing: border-box;
}

.welcome__card-label {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-jp-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.welcome__card-title {
  color: var(--color-primary);
  font-family: var(--font-jp-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}

.welcome__card-text {
  color: var(--color-text-body);
  font-family: var(--font-jp-sans);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 32px;
  letter-spacing: 0.03em;
}

.welcome__card-arrow {
  position: absolute;
  bottom: 24px;
  right: 28px;
  color: var(--color-primary);
  font-family: var(--font-en-sans);
  font-size: 18px;
  transition: transform var(--transition-hover);
}

.welcome__card:hover .welcome__card-arrow {
  transform: translateX(6px);
}

/* ==========================================================================
   Block: Journal
   ========================================================================== */
.journal {
  background-color: var(--color-bg-light);
  padding: 120px 0;
  width: 100%;
}

.journal__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 70px;
  box-sizing: border-box;
}

/* Header Layout */
.journal__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 40px;
}

.journal__label {
  display: block;
  color: var(--color-accent); /* #735A36 */
  font-family: var(--font-jp-sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 0;
  line-height: 1.5;
}

.journal__title {
  margin: 0;
  padding: 0;
  color: var(--color-primary); /* #46533F */
  font-family: var(--font-jp-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  display: block;
  text-indent: -0.1em;
}

.journal__title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left; /* 親の flex-end の影響を受けないよう左寄せを確定 */
}

.journal__lead {
  margin: 0;
  color: var(--color-primary);
  font-family: var(--font-jp-sans);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  flex: 1;
  max-width: 480px;
}

.journal__more-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-jp-sans);
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: all var(--transition-hover);
}

.journal__more-link:hover {
  opacity: 0.6;
  transform: translateX(2px);
}

.journal__arrow {
  width: 15px;
  height: 1px;
  background-color: var(--color-primary);
  position: relative;
}

.journal__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--color-primary);
  border-right: 1px solid var(--color-primary);
  transform: rotate(45deg);
}

/* Grid System */
.journal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Card Styling */
.journal__card {
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth);
}

.journal__card:hover {
  transform: translateY(-4px);
}

.journal__image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 24px;
  background-color: var(--color-bg-placeholder);
}

.journal__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.journal__card-title {
  margin: 0 0 16px 0;
  color: var(--color-primary);
  font-family: var(--font-jp-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  transition: color var(--transition-hover);
}

.journal__card:hover .journal__image {
  transform: scale(1.05);
}

.journal__card:hover .journal__card-title {
  color: var(--color-accent);
}

.journal__card-subtitle {
  display: block;
  font-size: 0.9em;
}

.journal__card-text {
  margin: 0;
  color: var(--color-text-body);
  font-family: var(--font-jp-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Block: Gallery
   ========================================================================== */
.gallery {
  background-color: var(--color-bg-gallery);
  padding: 120px 0;
  width: 100%;
  overflow: hidden;
}

.gallery__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 70px;
  box-sizing: border-box;
}

/* Header Styling */
.gallery__header {
  margin-bottom: 60px;
}

.gallery__label {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-jp-sans);
  font-size: 13px;
  letter-spacing: 0.15em;
  margin-bottom: 8px;   /* journal と統一 */
  line-height: 1.5;     /* journal と統一 */
}

/* グループ全体は中央に置きつつ、内部は左揃え。
   タイトル幅に合わせて label が左の縦ラインに揃う（句読点ハック撤去） */
.gallery__title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  margin: 0 auto 40px;
}

.gallery__title {
  color: var(--color-primary);
  font-family: var(--font-jp-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;            /* journal と統一 */
  letter-spacing: 0.04em;
  text-indent: -0.1em;       /* journal と統一（先頭文字の左ベアリング補正） */
  margin: 0;
}

.gallery__info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1012px;
  margin: 0 auto;
  text-align: left;
}

.gallery__intro {
  color: var(--color-text-muted);
  font-family: var(--font-jp-sans);
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
  max-width: 600px;
}

.gallery__link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
  text-decoration: none;
  font-family: var(--font-jp-sans);
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: all var(--transition-hover);
}

.gallery__link:hover {
  opacity: 0.6;
  transform: translateX(2px);
}

.gallery__arrow {
  width: 15px;
  height: 1px;
  background-color: var(--color-primary);
  position: relative;
}

.gallery__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--color-primary);
  border-right: 1px solid var(--color-primary);
  transform: rotate(45deg);
}

/* Grid Layout */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 16px;
  max-width: 1012px;
  margin: 0 auto;
}

.gallery__item {
  margin: 0;
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0);

  transition: background var(--transition-slow);

  z-index: 2;
  pointer-events: none;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform var(--transition-image),
    filter 0.8s ease;
}

.gallery__item:hover .gallery__img {
  transform: scale(1.05);
  filter: brightness(0.92);
}

.gallery__item:hover::after {
  background: rgba(0, 0, 0, 0.12);
}

/* Grid Positioning */
.gallery__item--large {
  grid-area: 1 / 1 / 3 / 3; /* Spans 2x2 */
}

.gallery__item--wide {
  grid-area: 2 / 3 / 3 / 5; /* Spans bottom-right wide area */
}

/* Caption Styling */
.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;

  padding: 30px;
  box-sizing: border-box;

  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0) 100%
  );

  color: white;
  font-family: var(--font-jp-sans);

  transition:
    transform var(--transition-slow),
    opacity var(--transition-slow);
}

.gallery__item:hover .gallery__caption {
  transform: translateY(-6px);
}

.gallery__item--small .gallery__caption {
  padding: 15px;
}

.gallery__caption-title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 4px 0;
}

.gallery__caption-title--shadow {
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.gallery__caption-sub {
  font-size: 16px;
  opacity: 0.8;
  margin: 0;
}

.gallery__item--small .gallery__caption-title {
  font-size: 18px;
}
.gallery__item--small .gallery__caption-sub {
  font-size: 13px;
}

/* ==========================================================================
   Block: Farming
   ========================================================================== */
.farming {
  background-color: var(--color-bg-cream); /* luminosityブレンドのベースとなる背景色 */
  padding: 120px 0;
  width: 100%;
  overflow: hidden;
}

.farming__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 70px;
  box-sizing: border-box;
}

/* ヘッダーテキスト */
.farming__header {
  text-align: center;
  margin-bottom: 60px;
}

/* グループ全体は中央配置・内部は左揃え（gallery と統一パターン） */
.farming__title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  margin: 0 auto 25px;
  text-align: left;
}

.farming__label {
  display: block;
  font-family: var(--font-jp-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-soft);
  letter-spacing: 0.3em;
  margin-bottom: 8px;   /* journal と統一 */
  line-height: 1.5;     /* journal と統一 */
}

.farming__title {
  font-family: var(--font-jp-serif);
  font-size: 32px;
  color: var(--color-primary-deep);
  margin: 0;
  font-weight: 400;
  line-height: 1;           /* journal と統一 */
  text-indent: -0.1em;      /* journal と統一 */
}

.farming__intro {
  font-family: var(--font-jp-sans);
  font-size: 20px;
  color: var(--color-text-muted);
  line-height: 1.44;
  margin: 0;
}

/* 視覚エリア（画像とカードの重なりを制御） */
.farming__visual-area {
  position: relative;
  width: 826px; /* Figmaの画像サイズに基づく */
  height: 619px;
  margin: 0 auto; /* 中央配置 */
  z-index: 1;
}

/* 画像スタック：luminosity効果の再現 */
.farming__image-stack {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.farming__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 下層：モノクロ + 半透明（落ち着いた雰囲気のベース） */
.farming__image--luminosity {
  filter: grayscale(100%);
  opacity: 0.7;
  z-index: 1;
}

/* 上層：カラー写真を透かして重ねる。visual-area hover で鮮明化 → 「畑の世界が色づく」演出 */
.farming__image--overlay {
  opacity: 0.4;
  transition: opacity 0.8s ease;
  z-index: 2;
}

.farming__visual-area:hover .farming__image--overlay {
  opacity: 0.9;
}

/* カードリスト：画像の上に絶対配置で中央寄せ */
.farming__content-list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 真ん中に浮かせる */
  width: 499px;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
}

/* ガラスモーフィズム・カード（リンク化対応） */
.farming__card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-sizing: border-box;
  cursor: pointer;
  transition:
    transform var(--transition-smooth),
    background 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease;
}

/* カード内部全体をクリック可能エリアに */
.farming__card-link {
  display: block;
  padding: 24px 25px;
  text-decoration: none;
  color: inherit;
}

/* hover強化：lift＋境界線＋shadow で「押せる」シグナル */
.farming__card:hover {
  transform: translateY(-3px) scale(1.02);
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--color-primary-deep);
  box-shadow: 0 12px 28px rgba(70, 83, 63, 0.18);
}

.farming__card-label {
  display: block;
  font-family: var(--font-jp-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* farming__card-label のテーマ別カラー（HTMLのインラインstyleから移行） */
.farming__card-label--beginner  { color: var(--color-label-beginner); }
.farming__card-label--seasonal  { color: var(--color-label-seasonal); }
.farming__card-label--practical { color: var(--color-label-practical); }

.farming__card-title {
  font-family: var(--font-jp-sans);
  font-size: 18px;
  color: var(--color-text-muted);
  font-weight: 400;
  margin: 0;
  line-height: 1.25;
}

/* フッター・CTA：中央配置・primary filled で訴求力UP */
.farming__footer {
  width: 826px;
  margin: 60px auto 0;
  display: flex;
  justify-content: center;
}

.farming__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 40px;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 9999px;
  color: var(--color-white);
  font-family: var(--font-jp-sans);
  font-size: 14px;
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: all var(--transition-hover);
}

.farming__cta:hover {
  background: var(--color-primary-deep);
  border-color: var(--color-primary-deep);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(70, 83, 63, 0.25);
}

/* ==========================================================================
   Block: Cats
   ========================================================================== */
.cats {
  background-color: var(--color-white);
  padding: 120px 0;
  width: 100%;
}

.cats__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 60px; /* Based on Layout Strategy requirement */
}

/* Left Visual Side */
.cats__visual {
  flex: 0 0 410px; /* Critical requirement */
}

.cats__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card); /* 旧15px→16pxへ統一 */
  object-fit: cover;
}

/* Right Content Side */
.cats__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Label & Icon */
.cats__label-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.cats__icon {
  width: 20px;
  height: 19px;
  background-color: var(--color-accent);
  display: inline-block;
  flex-shrink: 0;
}

.cats__label {
  font-family: var(--font-jp-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-accent);
  letter-spacing: 1.3px;
  line-height: 1.2;
}

/* Main Title */
.cats__title {
  font-family: var(--font-jp-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0 0 32px 0;
}

/* 1文字ずつ stagger 浮き上がり：--i × 40ms の遅延でホバー時に流れるように出現 */
.cats__title-char {
  display: inline-block;
  opacity: 0.7;
  transform: translateY(0);
  transition-property: opacity, transform;
  transition-duration: 0.5s;
  transition-timing-function: ease;
  transition-delay: calc(var(--i, 0) * 40ms);
}

.cats__title:hover .cats__title-char,
.cats__title:focus-within .cats__title-char {
  opacity: 1;
  transform: translateY(-3px);
}

/* Lead Text */
.cats__lead {
  font-family: var(--font-jp-sans);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-body);
  line-height: 1.8;
  margin: 0 0 40px 0;
}

/* Feature Cards Grid */
.cats__feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 258px);
  gap: 16px;
}

/* リンク化＋ホバーで YouTube Shorts プレビュー（iframe は JS で動的挿入） */
.cats__card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  height: 106px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform var(--transition-hover);
}

.cats__card:hover,
.cats__card:focus-visible {
  transform: scale(1.02);
}

/* 動画オーバーレイ層：初期は非表示、ホバーで iframe をフェードイン */
.cats__card-video {
  position: absolute;
  inset: 0;
  background-color: #000;
  border-radius: var(--radius-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.cats__card:hover .cats__card-video,
.cats__card:focus-visible .cats__card-video {
  opacity: 1;
}

/* iframe（JSで挿入）はカードを覆い、9:16動画を中央クロップで表示 */
.cats__card-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 460px;   /* card幅 258px × 16/9 ≈ 459px：縦長動画の中心帯のみ可視 */
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

/* ラベル：iframe の上、ホバーでフェードアウト */
.cats__card-labels {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: opacity 0.3s ease;
}

.cats__card:hover .cats__card-labels,
.cats__card:focus-visible .cats__card-labels {
  opacity: 0;
}

.cats__card-label-en {
  font-family: var(--font-jp-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.65px;
  line-height: 1.2;
}

.cats__card-label-jp {
  font-family: var(--font-jp-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-accent);
  line-height: 1.2;
}

/* ==========================================================================
   Utility: Helpers
   ========================================================================== */
.u-desktop-only {
  display: block;
}

/* ==========================================================================
   Layout: Common Container
   ========================================================================== */
.l-container {
  width: min(1190px, 100%);
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* ==========================================================================
   Block: About（Overview + Profile）
   ========================================================================== */
/* --- Upper: Overview --- */
.overview {
  background-color: var(--color-bg-light);
  padding: 120px 0;
  width: 100%;
}

.overview__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 494px;
  gap: 72px;
  align-items: center;
}

/* セクション他と統一の label（about にメリハリを出す） */
.overview__label {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-jp-sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;   /* journal と統一 */
  line-height: 1.5;     /* journal と統一 */
}

.overview__heading {
  font-family: var(--font-jp-serif);
  font-size: 36px;
  color: var(--color-primary);
  letter-spacing: 5px;
  margin-bottom: 40px;
  font-weight: 500;
  line-height: 1;            /* journal と統一 */
  text-indent: -0.1em;       /* journal と統一 */
}

.overview__body {
  font-family: var(--font-jp-sans);
  font-size: 20px;               /* 24px → 20px（他リード文と統一） */
  line-height: 1.8;
  color: var(--color-text-body); /* accent → text-body（読みやすさ優先） */
  max-width: 494px;
}

.overview__body p {
  margin-bottom: 2rem;
}

.overview__image-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-soft);
  width: 494px;
  height: 617px;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: end;
}

.overview__image-wrapper {
  width: 493px;
  height: 493px;
  overflow: hidden;
}

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

/* --- 数字バッジ：overview と profile の間 --- */
.about__stats {
  background-color: var(--color-bg-cream);
  padding: 56px 0;
  width: 100%;
  border-top: 1px solid var(--color-border-soft);
  border-bottom: 1px solid var(--color-border-soft);
}

.about__stats-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 40px;
}

.about__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.about__stat-value {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-en-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.about__stat-label {
  display: block;
  color: var(--color-text-muted);
  font-family: var(--font-jp-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

/* --- Lower: Profile (About Me) --- */
.profile {
  padding: 120px 0;
  background-color: var(--color-white);
}

.profile__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
  margin-bottom: 32px;
}

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

.profile__title {
  font-family: var(--font-en-serif);
  font-size: 32px;
  color: var(--color-primary);
  margin: 0 0 8px;               /* 48px → 8px（サブタイトルとの近接） */
  font-weight: 400;
}

/* 「運営者について」サブタイトル（profile__title の和文補足） */
.profile__subtitle {
  color: var(--color-text-muted);
  font-family: var(--font-jp-sans);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin: 0 0 48px;              /* 元の profile__title 下マージン分を継承 */
}

.profile__bio {
  font-family: var(--font-jp-sans);
  font-size: 20px;
  line-height: 1.8;
  letter-spacing: 1.3px;
  color: var(--color-text-body);
  max-width: 866px; /* Optimized for the readability of centered text lines */
  margin-bottom: 60px;
}

.profile__signature {
  font-family: var(--font-en-serif);
  font-size: 24px;
  color: var(--color-primary);
  align-self: flex-end;
  margin-right: 15%; /* Visual alignment based on Figma offset */
}

/* ==========================================================================
   Block: Newsletter（Follow CTA + メール購読予告）
   ========================================================================== */
.newsletter {
  background-color: var(--color-bg-cream);
  padding: 100px 0;
  width: 100%;
}

.newsletter__container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.newsletter__label {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-jp-sans);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.5;
}

.newsletter__title {
  color: var(--color-primary);
  font-family: var(--font-jp-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  text-indent: -0.1em;
}

.newsletter__lead {
  color: var(--color-text-body);
  font-family: var(--font-jp-sans);
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 36px;
  letter-spacing: 0.04em;
}

.newsletter__actions {
  margin-bottom: 20px;
}

.newsletter__cta {
  padding: 0 36px;
}

.newsletter__note {
  color: var(--color-text-muted);
  font-family: var(--font-jp-sans);
  font-size: 13px;
  margin: 0;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Block: Page Hero（サブページ共通のヘッダー領域）
   ========================================================================== */
.page-hero {
  background-color: var(--color-bg-light);
  padding: 120px 0 80px;
  text-align: center;
}

.page-hero__container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}

.page-hero__label {
  display: block;
  color: var(--color-accent);
  font-family: var(--font-en-sans);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero__title {
  color: var(--color-primary);
  font-family: var(--font-jp-serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 24px;
}

.page-hero__lead {
  color: var(--color-text-body);
  font-family: var(--font-jp-sans);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

/* ==========================================================================
   Block: Contact Form（Google Form 埋め込み）
   ========================================================================== */
.contact-form {
  background-color: var(--color-bg-page);
  padding: 80px 0 120px;
}

.contact-form__container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* iframe高さはフォームの長さに応じて調整（質問数が増えたら +100px 程度ずつ） */
.contact-form__iframe {
  display: block;
  width: 100%;
  height: 1100px;
  border: 0;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
}

.contact-form__note {
  margin: 24px 0 0;
  text-align: center;
  font-family: var(--font-jp-sans);
  font-size: 13px;
  color: var(--color-text-muted);
}

.contact-form__note a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ==========================================================================
   Block: Footer（4カラム + ボトム行）
   ========================================================================== */
.footer {
  background-color: var(--color-bg-page);
  border-top: 1px solid var(--color-border);
  width: 100%;
  padding-top: 80px;
  padding-bottom: 32px;
  box-sizing: border-box;
}

.footer__container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* 3カラム：Brand 左 / Top to top 中央 / Follow 右 */
.footer__main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  margin-bottom: 56px;
  align-items: center;
}

.footer__col--top {
  display: flex;
  justify-content: center;
}

.footer__col--follow {
  justify-self: end;
}

/* Top に戻るボタン（円みのある outline + hover で塗りつぶし） */
.footer__back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-family: var(--font-jp-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 12px 22px;
  border: 1px solid var(--color-primary);
  border-radius: 9999px;
  background: transparent;
  transition: all var(--transition-hover);
}

.footer__back-to-top:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(70, 83, 63, 0.18);
}

.footer__back-to-top-icon {
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition-hover);
}

.footer__back-to-top:hover .footer__back-to-top-icon {
  transform: translateY(-2px);
}

.footer__col-title {
  color: var(--color-primary);
  font-family: var(--font-jp-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
  line-height: 1.5;
}

/* --- Column 1: ブランド --- */
.footer__title {
  font-family: var(--font-jp-sans);
  font-size: 22px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.4;
  margin: 0 0 16px 0;
}

.footer__tagline {
  font-family: var(--font-en-sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-deep);
  line-height: 1.7;
  margin: 0;
}

/* --- Column 2: Sitemap --- */
.footer__link-list,
.footer__article-list,
.footer__follow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  color: var(--color-text-body);
  font-family: var(--font-en-sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color var(--transition-base), opacity var(--transition-base);
}

.footer__link:hover {
  color: var(--color-primary);
  opacity: 0.85;
}

/* --- Column 3: 最新の Journal --- */
.footer__article-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition-base);
}

.footer__article-link:hover {
  opacity: 0.7;
}

.footer__article-title {
  display: block;
  font-family: var(--font-jp-sans);
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.5;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}

.footer__article-meta {
  display: block;
  font-family: var(--font-jp-sans);
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
}

/* --- Column 4: Follow & Contact --- */
.footer__follow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-deep);
  font-family: var(--font-jp-sans);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__follow-link:hover {
  color: var(--color-primary);
}

.footer__follow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  color: var(--color-text-deep);
  flex-shrink: 0;
}

.footer__follow-link:hover .footer__follow-icon {
  color: var(--color-primary);
}

/* --- ボトム行：コピーライト + 法的リンク --- */
.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copyright {
  font-family: var(--font-en-sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(68, 72, 65, 0.7);
  letter-spacing: 0.05em;
  margin: 0;
}

.footer__legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.footer__legal-link {
  color: var(--color-text-muted);
  font-family: var(--font-jp-sans);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__legal-link:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   ▼ mobile.css（レスポンシブ / 5段階ブレイクポイント）
   ========================================================================== */
/* ==========================================================================
   Responsive Overrides (mobile.css)

   ブレイクポイント設計
   - max-width: 1280px : ラージタブレット（ヘッダー余白圧縮）
   - max-width: 1024px : タブレット（ハンバーガー化開始、welcome 2列維持、cats 縦積み）
   - max-width: 834px  : タブレットポートレート（welcome 1列、overview 縦積み）
   - max-width: 768px  : モバイル（共通余白 20px、各セクション再設計）
   - max-width: 480px  : スモールモバイル（共通余白 16px、最終微調整）
   ========================================================================== */

/* ==========================================================================
   ラージタブレット（1280px 以下）
   ========================================================================== */
@media (max-width: 1280px) {
  .header__container {
    padding: 0 32px;
  }
}

/* ==========================================================================
   タブレット（1024px 以下）：ハンバーガー化、welcome 2列維持、cats 縦積み
   ========================================================================== */
@media (max-width: 1024px) {
  /* 共通：左右余白 28px */
  .l-container,
  .journal__container,
  .gallery__container,
  .farming__container,
  .welcome__container,
  .newsletter__container,
  .footer__container {
    padding-left: 28px;
    padding-right: 28px;
  }

  .header__container {
    padding: 0 24px;
  }

  /* ===== Header：ハンバーガーメニュー化 ===== */
  .header__hamburger {
    display: flex;
  }

  /* ナビをフルワイドのドロワーに */
  .header__nav {
    position: fixed;
    top: 83px;
    left: 0;
    right: 0;
    background: var(--color-bg-page);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-150%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 999;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  }

  .header__nav[data-open="true"] {
    transform: translateY(0);
  }

  .header__menu {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 28px 28px;
    gap: 0;
  }

  .header__menu-item {
    border-bottom: 1px solid var(--color-border-soft);
  }

  .header__menu-item:last-child {
    border-bottom: none;
    margin-top: 16px;
  }

  .header__menu-link {
    display: block;
    padding: 16px 0;
    font-size: 15px;
  }

  .header__menu-item .c-btn {
    width: 100%;
  }

  /* スクロールロック */
  body.is-nav-open {
    overflow: hidden;
  }

  /* ===== Welcome：2列のまま（カードが大きく見える） ===== */
  .welcome__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* ===== Journal：2列 ===== */
  .journal__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ===== Cats：縦積み、画像サイズ制約 ===== */
  .cats__container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .cats__visual {
    flex: 0 0 auto;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  /* ===== About stats：3列のまま、余白圧縮 ===== */
  .about__stats-container {
    gap: 24px;
    padding: 0 24px;
  }
  .about__stat-value {
    font-size: 32px;
  }

  /* ===== Footer：3列 → 1列縦積み、中央寄せ ===== */
  .footer__main {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer__col--brand,
  .footer__col--top,
  .footer__col--follow {
    justify-self: center;
  }
  .footer__col--brand {
    text-align: center;
  }
  .footer__follow-list {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }

  /* ===== Farming：固定幅 → レスポンシブ ===== */
  .farming__visual-area {
    width: 100%;
    max-width: 700px;
    height: auto;
    aspect-ratio: 826 / 619;
    margin: 0 auto;
  }
  .farming__footer {
    width: 100%;
  }
}

/* ==========================================================================
   タブレットポートレート（834px 以下）：welcome 1列、overview 縦積み
   ========================================================================== */
@media (max-width: 834px) {
  /* Welcome：1列に */
  .welcome__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Journal：1列に */
  .journal__grid {
    grid-template-columns: 1fr;
  }

  /* Overview：1列縦積み */
  .overview__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .overview__image-card {
    width: 100%;
    max-width: 494px;
    height: auto;
    aspect-ratio: 494 / 617;
    margin: 0 auto;
    justify-self: center;
  }
  .overview__image-wrapper {
    width: 100%;
    height: 100%;
  }

  /* Hero：少し余白 */
  .hero__heading-group {
    margin-left: 32px;
  }
}

/* ==========================================================================
   モバイル（768px 以下）：共通余白 20px、全セクション再設計
   ========================================================================== */
@media (max-width: 768px) {
  /* 共通：左右余白 20px */
  .l-container,
  .journal__container,
  .gallery__container,
  .farming__container,
  .welcome__container,
  .newsletter__container,
  .footer__container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ===== Hero ===== */
  .hero {
    height: auto;
    min-height: 500px;
  }
  .hero__visual {
    position: relative;
    top: 0;
    height: 360px;
  }
  .hero__content {
    height: auto;
  }
  .hero__title-text--large {
    font-size: 38px;
  }
  .hero__title-text--base {
    font-size: 28px;
  }
  .hero__title-line--offset-1 {
    padding-inline-start: 40px;
  }
  .hero__title-line--offset-2 {
    padding-inline-start: 80px;
  }
  .hero__title-line:not(:last-child) {
    margin-block-end: 22px;
  }
  .hero__heading-group {
    margin-top: 12px;
    margin-left: 20px;
  }
  .hero__subtitle {
    font-size: 11px;
  }
  .hero__tagline {
    max-width: 230px;
    font-size: 12px;
  }

  /* ===== Page Hero（サブページ） ===== */
  .page-hero {
    padding: 64px 0 48px;
  }
  .page-hero__title {
    font-size: 26px;
  }

  /* ===== Welcome：1列縦積み ===== */
  .welcome {
    padding: 64px 0;
  }
  .welcome__header {
    margin-bottom: 32px;
  }
  .welcome__title {
    font-size: 24px;
  }
  .welcome__lead {
    font-size: 14px;
  }
  .welcome__grid {
    max-width: 100%;
    gap: 16px;
  }
  .welcome__card-link {
    padding: 24px 22px 22px;
    min-height: auto;
  }
  .welcome__card-arrow {
    bottom: 20px;
    right: 22px;
  }

  /* ===== Journal ===== */
  .journal {
    padding: 72px 0;
  }
  .journal__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
  }
  .journal__title {
    font-size: 26px;
  }
  .journal__lead {
    font-size: 16px;
  }

  /* ===== Gallery ===== */
  .gallery {
    padding: 72px 0;
  }
  .gallery__title {
    font-size: 26px;
  }
  .gallery__info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 12px;
  }
  .gallery__item--large,
  .gallery__item--wide {
    grid-area: auto;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
  .gallery__item--small {
    aspect-ratio: 1 / 1;
  }

  /* ===== Farming ===== */
  .farming {
    padding: 72px 0;
  }
  .farming__title {
    font-size: 26px;
  }
  .farming__intro {
    font-size: 16px;
  }
  .farming__visual-area {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .farming__image-stack {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .farming__content-list {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: -20px;
    padding: 0 8px;
  }
  .farming__card {
    width: 100%;
  }

  /* ===== Cats ===== */
  .cats {
    padding: 72px 0;
  }
  .cats__container {
    gap: 32px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .cats__visual {
    max-width: 320px;
  }
  .cats__title {
    font-size: 26px;
  }
  .cats__lead {
    font-size: 16px;
  }
  .cats__feature-grid {
    grid-template-columns: 1fr;
  }

  /* ===== About ===== */
  .overview {
    padding: 64px 0;
  }
  .overview__heading {
    font-size: 28px;
    letter-spacing: 2px;
  }
  .overview__body {
    font-size: 16px;
  }
  .overview__image-card {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  /* About stats：縦積み */
  .about__stats {
    padding: 40px 0;
  }
  .about__stats-container {
    flex-direction: column;
    gap: 28px;
    padding: 0 20px;
  }
  .about__stat-value {
    font-size: 28px;
  }

  /* Profile */
  .profile {
    padding: 64px 0;
  }
  .profile__bio {
    font-size: 16px;
    max-width: 100%;
  }

  /* ===== Newsletter ===== */
  .newsletter {
    padding: 56px 0;
  }
  .newsletter__container {
    padding: 0 20px;
  }
  .newsletter__title {
    font-size: 22px;
  }
  .newsletter__lead {
    font-size: 14px;
  }

  /* ===== Contact Form ===== */
  .contact-form {
    padding: 56px 0 72px;
  }
  .contact-form__iframe {
    height: 1200px;
  }

  /* ===== Footer ===== */
  .footer {
    padding-top: 56px;
  }
  .footer__main {
    margin-bottom: 32px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .footer__legal {
    justify-content: center;
  }
}

/* ==========================================================================
   スモールモバイル（480px 以下）：左右余白 16px、最終微調整
   ========================================================================== */
@media (max-width: 480px) {
  .l-container,
  .journal__container,
  .gallery__container,
  .farming__container,
  .welcome__container,
  .newsletter__container,
  .footer__container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Hero：さらに縮小 */
  .hero__title-text--large {
    font-size: 32px;
  }
  .hero__title-text--base {
    font-size: 24px;
  }
  .hero__title-line:not(:last-child) {
    margin-block-end: 18px;
  }
  .hero__heading-group {
    margin-left: 16px;
  }

  /* Welcome */
  .welcome__title {
    font-size: 22px;
  }

  /* Newsletter */
  .newsletter__title {
    font-size: 20px;
  }

  /* About */
  .overview__heading {
    font-size: 24px;
  }

  /* CTA ボタン：内側余白を縮小 */
  .c-btn {
    padding: 0 24px;
    font-size: 12px;
  }
}