/*汎用クラス*/
.frex {
  display: flex;
}

.is-center {
  align-items: center;
}

.is-between {
  justify-content: space-between;
}

mark {
  background: linear-gradient(transparent 70%, rgb(255, 245, 110) 0%);
  padding-bottom: 10px;
}

h1 {
  text-align: center;
  font-family: sans-serif;
  font-size: 2.5em;
  font-weight: bold;
  padding: 10px;
}

h2 {
  text-align: center;
  font-family: sans-serif;
  font-size: 1.5em;
  font-weight: bold;
  padding: 10px;
}

p {
  padding: 0 0 50px 0;
}

body {
  max-width: 1200px;
  margin: auto;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ,
    Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* test */
  /* height: 5000px; */
}

/*エンド*/

/*===========
header
=============*/

header .inner {
  height: 60px;
  width: 95%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
  background-color: rgb(255, 255, 255);

  position: fixed; /* ← 画面上部に固定 */
  top: 0; /* ← 上部からの距離 */
  left: 0;
  right: 0;
  z-index: 1000; /* 他の要素の上に表示 */
  /* box-shadow: 0px 5px 0px 0px rgba(0, 0, 0, 0.1);  影をつけて視認性UP */
}

.main-logo {
  margin-right: auto;
}

.main-logo img {
  width: 150px;
}

/* 初期は閉じる（モバイル想定） */
#pagelink .nav {
  display: none;
}
#pagelink .nav.is-open {
  display: block;
}
/*===========
header end
=============*/

/*===========
main
=============*/

.main-block {
  position: relative;
  width: 100%;
  /* max-height: 100vh; */
  overflow: hidden;
}

/* トップ */
.hero {
  margin: 70px auto 0px auto;
  width: 95%;
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ボタンをまとめるコンテナ */
.button-container {
  position: absolute;
  left: 50%;
  top: 70%; /* 中央より少し下 */
  transform: translateX(-50%);
  display: flex;
  gap: 30px; /* ボタン間の隙間 */
}

.contact-button {
  min-width: 200px;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: bold;
  background-color: #dc5be7;
  color: #fff;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;

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

/* 768px以下では縦並びに */
@media (max-width: 768px) {
  .button-container {
    flex-direction: column;
    top: 75%;
    gap: 20px;
  }
}

.contact-button:hover {
  background-color: #ac64b3;
}

/* ---------------動画で説明------------------ */
.vision {
  width: 95%;
  margin: 0 auto;
  padding-top: 20px;
  background-color: #cecece;
}

.product-video-section {
  width: 100%;
  background-color: #cecece;
  padding: 40px 0; /* 上下余白 */
  text-align: center; /* 見出し中央寄せ */
}

.product-video-section h1,
.product-video-section h2 {
  color: #000;
  margin: 0;
}

.product-video-section h2 {
  margin-bottom: 20px; /* 動画との隙間を20px */
}

.product-video {
  width: 85%;
  height: auto;
  display: block;
  margin: 0 auto; /* 横中央配置 */
  border-radius: 20px; /* 角丸 */
}

/* --------------------お悩みブロック----------------------- */

.trouble {
  margin: 30px 0px;
  opacity: 0; /* 初期は非表示 */
  transform: translateY(40px); /* 下にずらしておく */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.trouble.show {
  opacity: 1;
  transform: translateY(0);
}

.trouble-section {
  /* background: linear-gradient(to bottom, #fff5f5, #ffffff); */
  padding: 60px 20px;
  text-align: center;
}

.trouble-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 40px;
}

.trouble-cards {
  display: flex;
  flex-direction: column; /* ←縦並び */
  gap: 20px;
  margin-bottom: 100px;
}

.trouble-card {
  background-color: #fff;
  border: 2px solid #828df2;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(242, 139, 130, 0.2);
  width: 90%;
  overflow: hidden;
  margin: 0 auto;
}

.trouble-content img {
  width: 100px; /* 画像サイズ調整 */
  height: auto;
  margin-left: 20px;
  flex-shrink: 0;
}

.trouble-card:hover {
  transform: translateY(-5px);
}

.trouble-header {
  background-color: #828df2;
  color: #fff;
  font-weight: bold;
  padding: 10px 10px 10px 25px;
  font-size: 2em;
  text-align: left;
}

.trouble-content {
  display: flex;
  align-items: center;
  padding: 15px;
  gap: 15px;
}

.trouble-card p {
  /* padding: 20px; */
  font-size: 2.5em;
  font-weight: bold;
  line-height: 1.5;
}

.trouble-solution {
  font-size: 3em;
  font-weight: bold;
  color: #e53935;
}

@media (max-width: 768px) {
  .trouble-card p {
    /* padding: 20px; */
    font-size: 1.7em;
    font-weight: bold;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .trouble-card p {
    /* padding: 20px; */
    font-size: 1em;
    font-weight: bold;
    line-height: 1.5;
  }
}

/* ------------------------機能ブロック-------------------- */
.function {
  margin: 50px 0;
  opacity: 0; /* 初期は非表示 */
  transform: translateY(40px); /* 下にずらしておく */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.function.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== セクション全体 ===== */
.feature-section {
  position: relative;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== 見出しと裏レイヤー ===== */
/* 見出し行（左にタイトル、右にライン） */
.function-heading {
  display: flex;
  align-items: center; /* ラインと文字の中央に揃える */
  gap: 12px;
  margin-bottom: 10px;
}

/* 日本語タイトルを基準に、英語を“右斜め下”へ */
.title-wrap {
  position: relative;
  display: inline-block; /* 英語の位置基準にする */
  line-height: 1; /* ベースラインを詰める */
}

.function-ja {
  font-size: 6em;
  font-weight: 800;
  margin: 0;
}

/* 英語 FUNCTION（斜めにしない／薄く大きく） */
.function-en {
  position: absolute;
  left: calc(50%); /* 日本語の“右”から開始 */
  top: 0.55em; /* ほんの少し“下”へ（右斜め下） */
  font-size: clamp(42px, 10vw, 130px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.06); /* 薄く */
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* 見出しの横ライン（右端まで伸ばす） */
.heading-line {
  flex: 1 1 auto;
  height: 2px;
  background: #111; /* お好みで #ddd など */
  opacity: 0.7;
}

/* サブコピー（見出しの下） */
.function-sub {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-top: 40px;
}

/* 既存の .function-bg-word / .feature-bg-word は不要なので削除OK */

/* レスポンシブ微調整 */
@media (max-width: 768px) {
  .function-ja {
    font-size: 28px;
  }
  .function-en {
    left: calc(100% + 8px);
    top: 0.5em;
    font-size: clamp(32px, 16vw, 80px);
  }
  .heading-line {
    transform: translateY(-4px);
  }
}

/* ===== 本文レイアウト ===== */
.feature-body {
  margin-top: 130px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 左右 1:1 */
  gap: 28px;
  align-items: start;
}

/* 左：プレビューGIF */
.feature-preview {
  position: relative;
  aspect-ratio: 5/8;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}
.preview-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.preview-gif.is-fading {
  opacity: 0;
}

/* 右：機能リスト */
.feature-list {
  display: grid;
  gap: 12px;
}
.feature-item {
  appearance: none;
  border: 2px solid #e6e9ef;
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px 14px 56px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
  outline: none;
}
.feature-item .num {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: #2c7be5;
}
.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 123, 229, 0.12);
  border-color: #cbd6f6;
}
.feature-item.is-active {
  background: linear-gradient(0deg, #f5f9ff, #fff);
  border-color: #2c7be5;
  box-shadow: 0 10px 26px rgba(44, 123, 229, 0.18);
}

/* ===== レスポンシブ ===== */
@media (max-width: 992px) {
  .feature-body {
    grid-template-columns: 1fr; /* 縦並び */
  }
  .feature-list {
    order: 2;
  }
  .feature-preview {
    order: 1;
  }
}

/* 収録スタイル */
/* 英語 FUNCTION（斜めにしない／薄く大きく） */
.function-en2 {
  position: absolute;
  left: calc(10%); /* 日本語の“右”から開始 */
  top: 0.55em; /* ほんの少し“下”へ（右斜め下） */
  font-size: clamp(42px, 10vw, 130px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.06); /* 薄く */
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ショップボタン */

/* セクション本体：背景固定（パララックス風） */
.shop-cta {
  position: relative;
  z-index: 0; /* 基準の層を明示 */
  min-height: 200px;
  display: grid;
  place-items: center;
  padding: 24px 16px;

  background-image: url("../img/slide_01.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
}

/* 読みやすさ用の薄いオーバーレイ（←クリック透過＆背面へ） */
.shop-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none; /* ← 重要：クリックを通す */
  z-index: 0; /* ← 背面に固定 */
}

/* 中身は前面に */
.shop-cta__inner {
  position: relative;
  z-index: 1; /* ← ボタン群を前面へ */
  text-align: center;
}

.shop-cta__title {
  margin: 0 0 10px;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ボタン並び */
.shop-cta__buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 青いピル型ボタン（フェード版） */
.btn-pill {
  display: inline-block;
  padding: 15px 20px;
  border-radius: 30px;
  background: #2b9af2;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(43, 154, 242, 0.25);
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.btn-pill:hover {
  background-color: #1d82d4; /* 少し濃い青 */
  opacity: 0.85;
}

.btn-pill:active {
  opacity: 0.7;
}

/* iOS等のフォールバック */
@media (max-width: 768px) {
  .shop-cta {
    background-attachment: scroll;
    min-height: 180px;
    padding: 20px 12px;
  }
}

/* --------------商品仕様説明 -------------------*/

.function-en5 {
  position: absolute;
  left: calc(50%); /* 日本語の“右”から開始 */
  top: 0.55em; /* ほんの少し“下”へ（右斜め下） */
  font-size: clamp(42px, 10vw, 130px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.06); /* 薄く */
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.product-spec {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  width: 90%;
  margin: 40px auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.product-spec p {
  padding-top: 20px;
  font-weight: bold;
  text-align: center;
}

.spec-list {
  display: grid;
  grid-template-columns: 150px 1fr;
  row-gap: 12px;
  column-gap: 100px;
}

.spec-list dt {
  font-weight: bold;
  color: #333;
}

.spec-list dd {
  margin: 0;
  font-weight: bold;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .spec-list {
    grid-template-columns: 1fr; /* 1列レイアウト */
    column-gap: 0; /* 列間隔なし */
  }

  .spec-list dt {
    margin-top: 12px; /* 項目ごとに余白 */
  }

  .spec-list dd {
    margin-left: 0; /* 左余白なし */
  }
}

/* ---------------------FAQ--------------------------- */

.function-en3 {
  position: absolute;
  left: calc(40%); /* 日本語の“右”から開始 */
  top: 0.55em; /* ほんの少し“下”へ（右斜め下） */
  font-size: clamp(42px, 10vw, 130px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.06); /* 薄く */
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.faq {
  max-width: 900px;
  margin: 10px auto;
  padding: 0 16px;
}

.faq-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 20px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

/* 質問行 */
.faq-q {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  background: #fff;
  border: 2px solid #e6e9ef;
  border-radius: 12px;
  padding: 16px 52px 16px 16px; /* 右に＋の余白 */
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  position: relative;
  transition: background-color 0.25s ease, border-color 0.25s ease,
    color 0.25s ease;
}
.faq-q:hover {
  background-color: #f7faff;
  border-color: #cbd6f6;
}

/* 右端の＋アイコン（開いたら−に） */
.faq-q::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 900;
  color: #2c7be5;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* 回答ボックス（アコーディオン） */
.faq-a {
  overflow: hidden;
  max-height: 0; /* 初期は閉じる */
  transition: max-height 0.35s ease;
  will-change: max-height;
}
.faq-a__inner {
  padding: 12px 16px 18px;
  background: #fff;
  border: 2px solid #e6e9ef;
  border-top: none;
  border-radius: 0 0 12px 12px;
  color: #333;
  font-weight: bold;
  line-height: 1.7;
}

.faq-a__inner a {
  color: #2b9af2;
}

/* 開いた状態のスタイル（ボタン側） */
.faq-q[aria-expanded="true"] {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: #2c7be5;
  color: #0f3f91;
}
.faq-q[aria-expanded="true"]::after {
  content: "–"; /* en dash風のマイナス記号 */
  transform: translateY(-50%) rotate(0.001deg);
}

/* 低モーション設定のユーザー配慮 */
@media (prefers-reduced-motion: reduce) {
  .faq-a {
    transition: none;
  }
  .faq-q,
  .faq-q::after {
    transition: none;
  }
}

/* -------------------------お問い合わせ--------------------------- */

/* 英語 QUESTIONS（斜めにしない／薄く大きく） */
.function-en4 {
  position: absolute;
  left: calc(20%); /* 日本語の“右”から開始 */
  top: 0.55em; /* ほんの少し“下”へ（右斜め下） */
  font-size: clamp(42px, 10vw, 130px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.06); /* 薄く */
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* セクション */
.contact {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 16px;
}
.contact__title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 6px;
}
.contact__lead {
  margin: 0 0 18px;
  color: #666;
  font-size: 14px;
}

/* フォームレイアウト（グリッド） */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  background: #fff;
  border: 2px solid #e6e9ef;
  border-radius: 14px;
  padding: 20px;
}

/* 1カラムで使いたい行 */
.form-field--full {
  grid-column: 1 / -1;
}

/* ラベルとコントロール */
.form-field label {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 6px;
}
.req {
  color: #e53935;
  margin-left: 4px;
}

/* 入力UI */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 12px;
  border: 2px solid #e6e9ef;
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.contact-form textarea {
  resize: vertical;
}

/* ホバー＆フォーカス */
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: #cbd6f6;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2c7be5;
  box-shadow: 0 0 0 4px rgba(44, 123, 229, 0.12);
}

/* ヒント・エラー（ネイティブバリデーション用） */
.hint {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 12px;
}
.contact-form :required:user-invalid {
  border-color: #e66;
  background-color: #fff7f7;
}

/* 送信ボタン（既存の .btn-pill を流用） */
.btn-pill {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: #2b9af2;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(43, 154, 242, 0.25);
  transition: background-color 0.3s ease, opacity 0.3s ease;
}
.btn-pill:hover {
  background-color: #1d82d4;
  opacity: 0.9;
}
.btn-pill:active {
  opacity: 0.75;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.recaptcha-container {
  grid-column: 1 / -1; /* ← 2カラムをまたぐ（全幅扱い） */
  display: grid; /* 中央寄せを確実に */
  place-items: center; /* 水平・垂直とも中央 */
  margin-top: 8px;
}

.g-recaptcha {
  display: block;
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  display: none;
}
.modal.is-open {
  display: block;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 92vw);
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.modal__title {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 20px;
}
.modal__body {
  color: #333;
  line-height: 1.7;
  margin-bottom: 14px;
  white-space: pre-wrap;
}
.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* 送信中の薄暗くするオーバーレイ（任意） */
.form-is-sending {
  opacity: 0.6;
  pointer-events: none;
}

/* レスポンシブ：スマホは1カラム */
@media (max-width: 768px) {
  .contact-form {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
}

/* ===== その他のパネル（横スクロール） ===== */
#other-panels .function-sub {
  margin-bottom: 12px;
}

/* 英語 QUESTIONS（斜めにしない／薄く大きく） */
.function-en6 {
  position: absolute;
  left: calc(10%);
  top: 0.55em;
  font-size: clamp(42px, 10vw, 120px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.panels {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 48px; /* 左矢印 | ビューポート | 右矢印 */
  align-items: center;
  gap: 8px;
}

/* ---- ここだけ“ちょい良く”修正 ---- */
.panels__nav {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.08); /* 薄い縁 */
  background: rgba(255, 255, 255, 0.9); /* ガラス風で軽く */
  color: #111; /* 矢印色 */
  inline-size: 40px;
  block-size: 40px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); /* ほんのり影 */
  backdrop-filter: blur(6px); /* うっすらブラー */
  -webkit-backdrop-filter: blur(6px);
  font-size: 18px; /* ‹ › が見やすいサイズ */
  line-height: 1;
  display: grid;
  place-items: center;
  opacity: 0.85; /* 重くならない透明度 */
  transition: transform 0.12s ease, opacity 0.12s ease, box-shadow 0.12s ease,
    background-color 0.12s ease;
}
.panels__nav:hover {
  transform: scale(1.06);
  opacity: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  background: #fff;
}
.panels__nav:focus-visible {
  outline: 2px solid #0e6de9; /* キーボード操作でも見えるように */
  outline-offset: 2px;
}
.panels__nav:disabled {
  opacity: 0.25; /* うっすら残す（完全非表示にしない） */
  cursor: default;
  box-shadow: none;
}

/* ビューポート（400×480想定の幅） */
.panels__viewport {
  --gap: 16px;
  display: grid;
  grid-auto-flow: column;
  /* 1枚あたりの幅：画像400px＋本文込みで最大420px */
  grid-auto-columns: clamp(240px, 52vw, 420px);
  gap: var(--gap);
  overflow-x: auto;
  padding: 8px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.panels__viewport::-webkit-scrollbar {
  height: 10px;
}
.panels__viewport::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 6px;
}
.panels__viewport::-webkit-scrollbar-track {
  background: transparent;
}

.panel-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  scroll-snap-align: start;
  min-height: 100%;
  max-inline-size: 420px; /* 崩れ防止 */
}

.panel-card__thumb {
  display: block;
  aspect-ratio: 5 / 6; /* 500×600 の比率 */
  background: #f2f2f2;
  overflow: hidden;
}
.panel-card__thumb img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain; /* トリミングなし */
  display: block;
  transition: transform 0.25s ease;
  background: #fff; /* 余白の下地 */
}
.panel-card__thumb:hover img {
  transform: scale(1.03);
}

.panel-card__body {
  padding: 14px 14px 16px;
  display: grid;
  gap: 10px;
}
.panel-card__body p {
  padding-bottom: 10px;
}

.panel-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.panel-card__desc {
  color: #444;
  font-size: large;
}
.panel-card__desc a {
  color: #0e6de9;
}

.panel-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  background: #111;
  color: #fff;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn-mini:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* スマホ最適化 */
@media (max-width: 768px) {
  .panels {
    grid-template-columns: 1fr; /* 矢印を下に回す */
    gap: 6px;
  }
  .panels__nav--prev,
  .panels__nav--next {
    justify-self: center;
  }
}

/*===========
main end
=============*/

/* おすすめ：画面外に退避（ボットは見える、ユーザーは見えない） */
.form-field.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* シンプルに隠す場合（これでも可） */
/* .form-field.hp { display: none; } */

/* footer =================================================*/

.footer {
  color: #fff;
  background-color: #333;
  padding: 1em;
  text-align: center;
}

/* footer end =================================================*/
