/* ==========================================================================
   ファームレポート 公式サイト スタイルシート
   --------------------------------------------------------------------------
   色や余白などのデザインは、下記の「カスタムプロパティ（変数）」を
   変更するだけでサイト全体に反映されます。
   ========================================================================== */

:root {
  /* ▼基調色・メインカラー・アクセントカラー（ここを変えるとサイト全体の配色が変わります） */
  --color-white: #ffffff;
  --color-sky: #8FD9E8;        /* メインカラー：水色 */
  --color-sky-dark: #4FB8CF;
  --color-green: #A9DB6E;      /* メインカラー：黄緑 */
  --color-green-dark: #7CB93D;
  --color-accent-blue: #2E86AB; /* アクセントカラー：青 */
  --color-accent-green: #4CAF50; /* アクセントカラー：緑 */
  --color-bg-beige: #FAF6EF;   /* 補助背景：薄いベージュ */
  --color-bg-gray: #F4F6F5;    /* 補助背景：薄いグレー */
  --color-text: #3A3A3A;       /* 文字色：濃いグレー */
  --color-text-light: #6b6b6b;
  --color-border: #E0E6E2;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;

  --shadow-card: 0 4px 16px rgba(60, 90, 70, 0.08);
  --shadow-hover: 0 8px 24px rgba(60, 90, 70, 0.14);

  --max-width: 1180px;
  --header-height: 76px;

  /* ▼スマホ・PCモックアップの共通デザイン（色・影）。ここを変えると全ての端末フレームに反映されます */
  --device-frame-color: #4a5450;   /* チャコールグレー（緑がかった落ち着いた色） */
  --device-frame-shadow: 0 10px 26px rgba(40, 60, 50, 0.14);
}

/* ---------- リセット・基本設定 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.8;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* 横スクロール防止 */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; }
section { scroll-margin-top: var(--header-height); }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 24px;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-text);
}
.section-lead {
  text-align: center;
  font-size: 17px;
  color: var(--color-text-light);
  max-width: 720px;
  margin: 0 auto 40px;
}

/* ---------- ボタン共通 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-l);
  font-weight: 700;
  font-size: 17px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 56px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-green-dark), var(--color-sky-dark));
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline {
  background: var(--color-white);
  color: var(--color-accent-blue);
  border-color: var(--color-accent-blue);
}
.btn-outline:hover { background: var(--color-bg-gray); transform: translateY(-2px); }
.btn-large { padding: 18px 36px; font-size: 18px; }
.btn-xlarge { padding: 22px 48px; font-size: 20px; width: 100%; max-width: 420px; }

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}
.header-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img { width: 44px; height: 44px; }
.logo-text-group { display: flex; flex-direction: column; line-height: 1.3; }
.logo-tagline {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-light);
  white-space: nowrap;
}
.logo-text {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-accent-green);
  white-space: nowrap;
}

.global-nav { display: flex; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-link {
  display: inline-block;
  padding: 12px 16px;
  font-weight: 500;
  font-size: 16px;
  border-radius: var(--radius-s);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-link:hover { background: var(--color-bg-gray); color: var(--color-accent-green); }
.nav-link--contact {
  background: var(--color-accent-green);
  color: var(--color-white) !important;
  font-weight: 700;
  padding: 12px 22px;
  margin-left: 8px;
}
.nav-link--contact:hover { background: var(--color-green-dark); }

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-s);
}
.hamburger-btn:hover { background: var(--color-bg-gray); }
.hamburger-line {
  width: 26px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-btn[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   1. ヒーローセクション
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 56px);
  padding-bottom: 64px;
  overflow: hidden;
  background-color: var(--color-bg-beige);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.86) 45%, rgba(143,217,232,0.55) 100%);
}
.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-text { flex: 1.1; min-width: 0; }
.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--color-text);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 19px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-phone { flex: 0.9; display: flex; justify-content: center; }

/* スマートフォン型の外枠：最近の端末のような「極細ベゼル」＋チャコールグレー。外寸（幅）はサイト内で共通。枠を薄くすることで内側の画面表示エリアを最大化 */
.phone-mockup {
  width: 230px;
  background: var(--device-frame-color);
  border-radius: 22px;
  padding: 4px;
  box-shadow: var(--device-frame-shadow);
}
/* 「アプリ画面紹介」セクション：スマホ型・PC型ともに高さを共通にして見た目のサイズを統一（幅は各画像の縦横比に応じて自動計算されるため、引き伸ばしや切り取りは発生しません） */
.phone-mockup--small { width: auto; height: 230px; }
.phone-mockup--small .phone-screen-img { width: auto; height: 100%; }
/* 画像の実際の縦横比は場面ごとに異なるため、各使用箇所で style="aspect-ratio: 幅/高さ" をインラインで指定し、余白（白埋め部分）を最小化して画像をできるだけ大きく表示する（引き伸ばし・切り取りは行わない） */
.phone-screen-img {
  border-radius: 18px;
  width: 100%;
  display: block;
  object-fit: contain;
  background: var(--color-white);
}
/* トップ画面のアプリアイコン表示用：端末フレームではなく、正方形の白カードでアイコンをそのまま見せる */
.phone-mockup--icon {
  width: 170px;
  height: 170px;
  background: var(--color-white);
  border-radius: 30px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(40,60,50,0.12);
  border: 1px solid var(--color-border);
}
.phone-screen-img--icon {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
}

/* パソコン（ノート型）の外枠：横長の画面イメージ用。スマホ型と同じ色・影のテイストで統一し、極細で控えめなフレームにする（外寸は変えず、枠の太さのみ縮小） */
.laptop-mockup {
  width: 340px;
  max-width: 100%;
  background: var(--device-frame-color);
  border-radius: 10px 10px 3px 3px;
  padding: 5px 5px 9px;
  box-shadow: var(--device-frame-shadow);
  position: relative;
}
.laptop-mockup::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 5px;
  background: #3a4440;
  border-radius: 0 0 4px 4px;
}
/* 「アプリ画面紹介」セクション：PC型もスマホ型と同じように高さを共通にして見た目のサイズを統一（幅は各画像の縦横比に応じて自動計算） */
.laptop-mockup--small { width: auto; height: 230px; }
.laptop-mockup--small .laptop-screen { width: auto; height: 100%; }
/* 画像の実際の縦横比に合わせ、.laptop-screen に style="aspect-ratio: 幅/高さ" をインラインで指定することで余白を最小化する */
.laptop-screen {
  width: 100%;
  background: var(--color-white);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.laptop-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--color-white);
  display: block;
}

/* トップ画面：縦長のスマホ画面と、正方形のアプリアイコンが共存するビジュアル */
.device-combo {
  position: relative;
  display: inline-block;
  margin: 0 38px 38px 0; /* 右下に重なるアイコン分の余白を確保 */
}
/* ファーストビューのメイン画像のみ例外：共通サイズより一回り（約15~18%）大きく表示 */
.phone-mockup--hero { width: 265px; }
.laptop-mockup--hero { width: 400px; }
.device-combo .phone-mockup--icon {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 170px;
  height: 170px;
  padding: 16px;
  border-radius: 30px;
  box-shadow: 0 10px 22px rgba(40,60,50,0.16);
}

/* ==========================================================================
   2. アプリ概要
   ========================================================================== */
.about-section { background: var(--color-white); }
.about-content {
  display: flex;
  align-items: center;
  gap: 48px;
}
.about-text { flex: 1.2; min-width: 0; }
.about-paragraph { font-size: 17px; margin-bottom: 24px; }
.about-company {
  display: inline-block;
  background: var(--color-bg-gray);
  padding: 12px 20px;
  border-radius: var(--radius-m);
  font-size: 16px;
}
.about-image { flex: 0.9; display: flex; justify-content: center; }
.about-app-img {
  max-width: 300px;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}
.laptop-mockup--about { width: 340px; } /* PC型は共通サイズに統一（アプリ概要セクションだけ大きくしない） */

/* ==========================================================================
   3. お悩みセクション
   ========================================================================== */
.problems-section { background: var(--color-bg-gray); }

.card-grid { display: grid; gap: 24px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); } /* 主な機能セクション：横長カードを縦3列・横2列で配置 */

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-sky), var(--color-green));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--color-white);
  margin: 0 auto 18px;
}
.problem-card {
  background: var(--color-white);
  border-radius: var(--radius-l);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-text { font-size: 17px; font-weight: 500; margin: 0; }
.problems-solution-lead {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-accent-green);
  margin: 36px 0 0;
}

/* ==========================================================================
   4. 主な機能セクション
   ========================================================================== */
.features-section { background: var(--color-white); }
.feature-card {
  background: var(--color-bg-beige);
  border-radius: var(--radius-l);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  /* カードの高さを揃えるため縦方向のflexboxレイアウトにする */
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.feature-title { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.feature-desc {
  font-size: 15.5px;
  color: var(--color-text-light);
  margin-bottom: 20px;
  /* 説明文の行数（2行・3行）が違ってもカード内で領域を確保し、画像位置を揃える */
  flex-grow: 1;
}
.feature-img-row {
  display: flex;
  gap: 10px;
  margin-top: auto;
  align-items: flex-end;
  justify-content: center;
}
.feature-img {
  border-radius: var(--radius-m);
  width: 100%;
  flex: 1 1 0;
  min-width: 0;
  /* 画像の縦横比がバラバラでも高さ・横長比を固定して見た目を揃える（切れないように contain で余白を白で埋める） */
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: contain;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
/* 主な機能セクションのカード内で使う小型モックアップ：
   PC型はすべて「農作業記録」画像を基準とした同じ外寸（幅×高さ）に統一。画像は自分の縦横比を保ったまま枕内でcontain表示（引き伸ばし・トリミングはしない）。
   スマホ型は高さをPC型と揃え、幅は画像の縦横比に応じて自動計算（「携帯型は高さをそろえる」という指示に対応） */
.feature-img-row .phone-mockup--feature,
.feature-img-row .laptop-mockup--feature {
  flex: 0 0 auto;
}
.phone-mockup--feature {
  height: 172px;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--device-frame-color);
  border-radius: 14px;
  padding: 3px;
  box-shadow: var(--device-frame-shadow);
}
.phone-mockup--feature .phone-screen-img {
  border-radius: 11px;
  width: auto;
  height: 100%;
}
.laptop-mockup--feature {
  width: 190px;
  height: 172px;
  padding: 4px 4px 6px;
  border-radius: 7px 7px 2px 2px;
  background: var(--device-frame-color);
  box-shadow: var(--device-frame-shadow);
  position: relative;
}
.laptop-mockup--feature::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 46%;
  height: 3px;
  background: #3a4440;
  border-radius: 0 0 3px 3px;
}
.laptop-mockup--feature .laptop-screen { border-radius: 3px; width: 100%; height: 100%; }
.feature-img-slot--empty {
  border-radius: var(--radius-m);
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 4 / 3;
  background: var(--color-white);
  border: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 13px;
  text-align: center;
}

/* ==========================================================================
   5. アプリ画面紹介セクション
   ========================================================================== */
.screens-section { background: var(--color-bg-gray); }
.screen-row {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 56px;
}
.screen-row:last-child { margin-bottom: 0; }
.screen-row--reverse { flex-direction: row-reverse; }
.screen-phone { flex: 0 0 auto; display: flex; justify-content: center; }
.screen-desc { flex: 1; min-width: 0; }
.screen-title { font-size: 24px; font-weight: 700; margin-bottom: 14px; color: var(--color-accent-green); }
.screen-desc p { font-size: 17px; color: var(--color-text); }

/* ==========================================================================
   6. 利用するメリット
   ========================================================================== */
.benefits-section { background: var(--color-white); }
.benefit-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-l);
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.benefit-card:hover { transform: translateY(-4px); border-color: var(--color-sky); }
.benefit-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.benefit-desc { font-size: 15px; color: var(--color-text-light); margin: 0; }

/* ==========================================================================
   7. こんな方におすすめ
   ========================================================================== */
.recommend-section { background: var(--color-bg-beige); position: relative; overflow: hidden; }
.recommend-section .section-inner { position: relative; }

.recommend-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.recommend-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-white);
  padding: 20px 28px;
  border-radius: var(--radius-l);
  font-size: 17px;
  font-weight: 500;
  box-shadow: var(--shadow-card);
}
.recommend-item i { color: var(--color-accent-green); font-size: 24px; flex-shrink: 0; }

/* ==========================================================================
   8. 料金セクション
   ========================================================================== */
.pricing-section { background: var(--color-white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 820px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  background: var(--color-bg-gray);
  border-radius: var(--radius-l);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--color-border);
}
.pricing-card--highlight {
  background: linear-gradient(160deg, #eefaf3, #eaf7fb);
  border-color: var(--color-green);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent-green);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
}
.pricing-plan-name { font-size: 22px; font-weight: 700; text-align: center; margin-bottom: 12px; }
.pricing-price { text-align: center; font-size: 28px; font-weight: 900; color: var(--color-accent-green); margin: 0 0 4px; }
.pricing-price-note { text-align: center; font-size: 14px; color: var(--color-text-light); margin-bottom: 24px; }
.pricing-price-note:empty { display: none; margin-bottom: 0; }
/* 任意テキストが空になっても余白・行が残らないようにする共通ルール（お悩み・機能紹介などのカード内でも利用） */
.card-text:empty,
.feature-desc:empty,
.benefit-desc:empty,
.screen-desc p:empty {
  display: none;
}
.pricing-feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pricing-feature-list li {
  font-size: 15.5px;
  padding-left: 28px;
  position: relative;
}
.pricing-feature-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--color-accent-green);
  position: absolute;
  left: 0;
  top: 2px;
}
.pricing-cta { text-align: center; margin-top: 44px; }

.payment-method-box {
  max-width: 820px;
  margin: 32px auto 0;
  background: var(--color-bg-gray);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-l);
  padding: 24px 32px;
  text-align: center;
}
.payment-method-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--color-text);
}
.payment-method-title i { color: var(--color-accent-green); margin-right: 6px; }
.payment-method-note {
  font-size: 15px;
  color: var(--color-text-light);
  margin: 0;
}

/* ==========================================================================
   9. 利用開始までの流れ
   ========================================================================== */
.flow-section { background: var(--color-bg-beige); }
.flow-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 手順が2段階のため2列表示（手順数を変更した場合はここも調整してください） */
  max-width: 640px;
  margin: 0 auto;
  gap: 24px;
  counter-reset: none;
}
.flow-step {
  background: var(--color-white);
  border-radius: var(--radius-l);
  padding: 36px 20px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
}
.flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-sky-dark), var(--color-green-dark));
  color: var(--color-white);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 16px;
}
.flow-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.flow-desc { font-size: 14.5px; color: var(--color-text-light); margin: 0; }

/* ==========================================================================
   10. よくある質問（アコーディオン）
   ========================================================================== */
.faq-section { background: var(--color-white); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--color-bg-gray);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
}
.faq-icon { transition: transform 0.25s ease; color: var(--color-accent-green); flex-shrink: 0; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 24px;
}
.faq-answer p { padding-bottom: 20px; margin: 0; font-size: 16px; color: var(--color-text-light); }

/* ==========================================================================
   お知らせセクション（トップページ／一覧／詳細で共通利用）
   お知らせの内容自体は js/news-data.js を編集してください。
   ========================================================================== */
.news-section { background: var(--color-white); }
.news-list-top,
.news-list-full {
  list-style: none;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-item {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-m);
  background: var(--color-bg-gray);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.news-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-sky);
}
.news-item-link {
  display: block;
  padding: 22px 24px;
  color: inherit;
}
.news-item-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.news-date { font-size: 14px; color: var(--color-text-light); }
.news-category {
  display: inline-block;
  background: var(--color-accent-green);
  color: var(--color-white);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}
.news-version {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-accent-blue);
  background: var(--color-white);
  border: 1px solid var(--color-accent-blue);
  padding: 3px 10px;
  border-radius: 12px;
}
.news-item-title { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.news-item-body { font-size: 15px; color: var(--color-text-light); margin: 0; }
.news-empty { text-align: center; color: var(--color-text-light); font-size: 16px; }
.news-more { text-align: center; margin-top: 32px; }

/* お知らせ詳細ページ用 */
.news-detail-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--color-bg-gray);
  border-radius: var(--radius-l);
  padding: 44px;
  box-shadow: var(--shadow-card);
}
.news-detail-title { font-size: 26px; font-weight: 700; margin: 0 0 20px; }
.news-detail-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.news-detail-row { display: flex; gap: 16px; align-items: baseline; }
.news-detail-row dt { flex: 0 0 100px; font-weight: 700; color: var(--color-text-light); font-size: 14.5px; }
.news-detail-row dd { margin: 0; font-size: 16px; }
.news-detail-body { font-size: 17px; line-height: 1.9; margin-bottom: 32px; }
.news-detail-link { text-align: center; margin: 0 0 28px; }
.news-detail-back { text-align: center; margin: 0; }

/* ==========================================================================
   利用規約／プライバシーポリシー／特定商取引法ページ（PDF掲載）
   ========================================================================== */
.legal-section { background: var(--color-white); }
.legal-pdf-box {
  max-width: 900px;
  margin: 0 auto 32px;
  background: var(--color-bg-gray);
  border-radius: var(--radius-l);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.legal-pdf-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.legal-pdf-frame-wrap {
  width: 100%;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.legal-pdf-frame {
  width: 100%;
  height: 80vh;
  min-height: 420px;
  border: none;
  display: block;
}
.legal-pdf-fallback {
  text-align: center;
  font-size: 14.5px;
  color: var(--color-text-light);
  margin: 18px 0 0;
}
@media (max-width: 600px) {
  .legal-pdf-box { padding: 20px 16px; }
  .legal-pdf-frame { height: 65vh; }
}

/* ==========================================================================
   マニュアル（使い方マニュアル）ページ専用スタイル
   内容は js/manual-data.js を編集してください。
   ========================================================================== */
.manual-hero {
  background: linear-gradient(160deg, #eefaf3, #eaf7fb);
  padding-top: calc(var(--header-height) + 40px);
}
.manual-hero .section-inner { padding-top: 0; padding-bottom: 40px; text-align: center; }
.manual-hero-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 14px;
}
.manual-hero-title i { color: var(--color-accent-green); }
.manual-hero-lead {
  font-size: 17px;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 28px;
}
.manual-search-box {
  max-width: 520px;
  margin: 0 auto;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-l);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
}
.manual-search-box i { color: var(--color-text-light); font-size: 16px; }
.manual-search-box input {
  border: none;
  outline: none;
  font-size: 16px;
  flex: 1;
  min-width: 0;
  background: transparent;
  color: var(--color-text);
  font-family: inherit;
}

.manual-body-section { background: var(--color-white); }
.manual-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.manual-sidebar {
  flex: 0 0 220px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}
.manual-sidebar-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-light);
  margin: 0 0 12px;
}
.manual-category-nav { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.manual-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.manual-nav-link i { width: 18px; text-align: center; color: var(--color-accent-green); }
.manual-nav-link:hover { background: var(--color-bg-gray); }
.manual-nav-link.is-active {
  background: var(--color-accent-green);
  color: var(--color-white) !important;
}
.manual-nav-link.is-active i { color: var(--color-white); }

.manual-main { flex: 1; min-width: 0; }
.manual-category-block { margin-bottom: 48px; scroll-margin-top: calc(var(--header-height) + 16px); }
.manual-category-block:last-child { margin-bottom: 0; }
.manual-category-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-green);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.manual-category-title i { color: var(--color-accent-green); margin-right: 8px; }
.manual-paid-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff4de;
  color: #b4780a;
  border: 1px solid #f0c98a;
  border-radius: var(--radius-s);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  margin-left: auto;
}
.manual-paid-badge i { color: #b4780a; margin-right: 0; }
.manual-category-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff4de;
  border: 1px solid #f0c98a;
  color: #8a5d06;
  border-radius: var(--radius-m);
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 700;
  margin: -4px 0 20px;
}
.manual-category-note i { margin-top: 2px; flex-shrink: 0; }

.manual-article-list { display: flex; flex-direction: column; gap: 12px; }
.manual-article {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-m);
  background: var(--color-bg-gray);
  overflow: hidden;
}
.manual-article-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  text-align: left;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  cursor: pointer;
}
.manual-article-icon { transition: transform 0.25s ease; color: var(--color-accent-green); flex-shrink: 0; }
.manual-article-question[aria-expanded="true"] .manual-article-icon { transform: rotate(180deg); }
.manual-article-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 22px;
}
.manual-article-body { padding-bottom: 18px; font-size: 15.5px; line-height: 1.9; color: var(--color-text-light); }
.manual-step-list {
  margin: 10px 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.manual-step-list li { padding-left: 4px; }

.manual-search-empty {
  text-align: center;
  color: var(--color-text-light);
  font-size: 16px;
  padding: 40px 0;
}

.manual-cta-section { background: var(--color-bg-gray); }
.manual-cta-section .section-inner { text-align: center; padding-top: 48px; padding-bottom: 48px; }
.manual-cta-text { font-size: 17px; font-weight: 500; margin-bottom: 24px; }
.manual-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   11. お問い合わせセクション
   ========================================================================== */
.contact-section { background: var(--color-bg-gray); }
.contact-box {
  max-width: 820px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-l);
  padding: 44px;
  box-shadow: var(--shadow-card);
}
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact-info-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 16px;
}
.contact-info-row dt {
  flex: 0 0 160px;
  font-weight: 700;
  color: var(--color-text-light);
  font-size: 15.5px;
}
.contact-info-row dt i { color: var(--color-accent-green); margin-right: 6px; width: 18px; text-align: center; }
.contact-info-row dd { margin: 0; font-size: 17px; }
.contact-link { color: var(--color-accent-blue); font-weight: 700; text-decoration: underline; }
.contact-cta { text-align: center; }

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  background: #33413a;
  color: #e3ece6;
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-company-name { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.footer-address, .footer-phone, .footer-website { font-size: 14.5px; margin: 4px 0; color: #cdd9d2; }
.footer-phone a, .footer-website a { color: #cdd9d2; text-decoration: underline; }
.footer-sns { display: flex; gap: 14px; margin-top: 14px; }
.footer-sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #e3ece6;
  font-size: 20px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-sns-link:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #ffffff;
  transform: translateY(-2px);
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.footer-links a { font-size: 14px; color: #cdd9d2; text-decoration: underline; }
.footer-copyright { font-size: 13px; color: #9fb0a7; margin: 0; }

/* ==========================================================================
   レスポンシブ対応（タブレット）
   ========================================================================== */
@media (max-width: 1024px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 36px; }
  .laptop-mockup, .laptop-mockup--about { width: 280px; }
  .laptop-mockup--small { width: auto; height: 200px; }
  .phone-mockup--small { width: auto; height: 200px; }
  .phone-mockup--hero { width: 220px; }
  .laptop-mockup--hero { width: 300px; }
  .device-combo .phone-mockup--icon { width: 130px; height: 130px; right: -20px; bottom: -20px; }
  .laptop-mockup--feature { width: 150px; height: 138px; }
  .phone-mockup--feature { height: 138px; }
}

/* ==========================================================================
   レスポンシブ対応（スマートフォン）
   ========================================================================== */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .section-inner { padding: 56px 20px; }
  .section-title { font-size: 26px; }
  .problems-solution-lead { font-size: 26px; }

  /* ハンバーガーメニュー切り替え */
  .hamburger-btn { display: flex; }
  .global-nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  }
  .global-nav.is-open { max-height: 480px; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 4px; }
  .nav-link { padding: 16px; font-size: 17px; text-align: center; border-radius: var(--radius-s); }
  .nav-link--contact { margin: 10px 0 0; }

  .hero-inner { flex-direction: column; padding-top: 8px; }
  .hero-title { font-size: 28px; }
  .hero-desc { font-size: 16px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .phone-mockup { width: 220px; }
  .phone-mockup--hero { width: 200px; }
  .phone-mockup--icon { width: 150px; height: 150px; }
  .device-combo { margin: 0 24px 24px 0; }
  .device-combo .phone-mockup--icon { width: 110px; height: 110px; right: -16px; bottom: -16px; padding: 12px; border-radius: 26px; }
  .laptop-mockup, .laptop-mockup--about, .laptop-mockup--hero { width: 100%; max-width: 320px; }
  .laptop-mockup--small { width: auto; height: 170px; max-width: 100%; }
  .phone-mockup--small { width: auto; height: 170px; }
  .feature-img-row { align-items: center; }
  .laptop-mockup--feature { width: 220px; height: 170px; }
  .phone-mockup--feature { height: 170px; }

  .about-content { flex-direction: column; }
  .about-image { order: -1; }

  .card-grid--4, .card-grid--3, .card-grid--2 { grid-template-columns: 1fr; }
  .feature-img-row { flex-direction: column; }
  .flow-list { grid-template-columns: 1fr; }

  .screen-row, .screen-row--reverse { flex-direction: column; text-align: center; }
  .screen-desc { text-align: left; }

  .pricing-grid { grid-template-columns: 1fr; }

  .contact-box { padding: 28px 20px; }
  .contact-info-row { flex-direction: column; gap: 4px; }
  .contact-info-row dt { flex: none; }

  .footer-links { flex-direction: column; gap: 12px; }

  .news-detail-box { padding: 28px 20px; }
  .news-detail-row { flex-direction: column; gap: 2px; }
  .news-detail-row dt { flex: none; }

  /* マニュアル（使い方マニュアル）ページ：スマホではサイドメニューを上部の横並びタブに変更 */
  .manual-hero-title { font-size: 24px; }
  .manual-layout { flex-direction: column; gap: 24px; }
  .manual-sidebar {
    flex: none;
    position: static;
    width: 100%;
  }
  .manual-category-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .manual-nav-link { font-size: 14px; padding: 10px 12px; }
  .manual-category-title { font-size: 19px; }
  .manual-cta-buttons { flex-direction: column; width: 100%; }
  .manual-cta-buttons .btn { width: 100%; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 24px; }
  .logo-text { font-size: 17px; }
}
