/* ワケタラ */


:root {
  --color-red: #e60012;
  --color-orange: #ff7f60;
  --color-orange-light: #fff3eb;
  --color-pink-bg: #ffdbde; /* FV下部のピンク */
}


/* =========================================
   以下、コンテンツ部分（前回から変更なし）
========================================= */
/* フォント */
.wa_fonth2{font-family: "Noto Serif JP", serif;
         font-size: 14pt;}
.wa_font{font-family: "Noto Serif JP", serif; }

/* 見出し */
.midasi_h2 { position: relative; color: #333; font-size: 1.3rem; font-weight: bold; background-color: #fff; border: 3px solid var(--color-orange); padding: 12px 20px 12px 32px; border-radius: 8px; margin-bottom: 35px; display: inline-block; box-shadow: 4px 4px 0px var(--color-orange); }
.midasi_h2::before { content: ""; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 6px; height: 22px; background-color: var(--color-orange); border-radius: 3px; }

/* 導入部 */
.intro .lead { font-size: 1.1rem; font-weight: bold; color: var(--color-red); text-align: center; margin-bottom: 20px; }
.highlight-box { background-color: #fff8e2; border: 2px solid #ffb300; padding: 20px; border-radius: 8px; text-align: center; font-weight: bold; font-size: 1.1rem; margin-top: 20px; }

/* 目次 */
.toc { margin: 20px 30px 40px; background: var(--color-orange-light); border: 2px dashed #ffbca8; border-radius: 12px; padding: 25px 30px; }
.toc-title { font-weight: bold; font-size: 1.1rem; color: var(--color-red); text-align: center; margin-bottom: 20px; letter-spacing: 2px; border-bottom: 2px solid var(--color-orange); display: inline-block; padding-bottom: 5px; position: relative; left: 50%; transform: translateX(-50%); }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { border-bottom: 1px solid #f0e4e1; }
.toc-list li:last-child { border-bottom: none; }
.toc-list a { display: block; padding: 12px 5px 12px 25px; color: #444; text-decoration: none; font-weight: bold; position: relative; transition: all 0.3s ease; }
.toc-list a::before { content: "▶"; position: absolute; left: 5px; top: 50%; transform: translateY(-50%); color: var(--color-orange); font-size: 0.8rem; transition: transform 0.3s ease; }
.toc-list a:hover { color: var(--color-orange); background-color: #fff; }
.toc-list a:hover::before { transform: translateY(-50%) translateX(3px); }

/* おすすめシーン */
.scenes { background-color: var(--color-orange-light);　padding: 10px; }
.card-list { display: flex; flex-direction: column; gap: 8px; }
.card { background: #fff; padding: 10px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.card-img { width: 100%; height: 180px; border-radius: 8px; overflow: hidden; margin-bottom: 15px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card h3 { color: #ff5a36; font-size: 1.5rem; margin-top: 0; border-bottom: 1px dashed #ff7f60; padding-bottom: 10px; }
.card p { flex-grow: 1; }
.price-example { background: #ffebee; color: #c62828; padding: 10px; border-radius: 4px; text-align: center; margin-bottom: 0; margin-top: 15px; flex-grow: 0 !important; }

/* メリット */
.merit .big-text { font-size: 1.5rem; color: var(--color-red); text-align: center; background: #fff0f0; padding: 20px; border-radius: 8px; margin: 20px 0; }

/* ご利用の流れ */
.flow-branch { display: flex; flex-direction: column; gap: 30px; margin-top: 25px; }
.branch-box { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 25px 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.prior-dl { border-color: #ffbca8; }
.branch-title { color: #333; font-size: 1.15rem; font-weight: bold; padding-bottom: : 8px; border-bottom: dashed 1px #ff7f60; margin-top: 0; margin-bottom: 15px; }
.branch-desc { font-weight: bold; color: #333; margin-bottom: 20px; }

/* STEPリスト */
.step-list { list-style: none; padding: 0; margin: 25px 0 0 0; counter-reset: step-counter; }
.step-list li { position: relative; background: #ffffff; border: 3px solid var(--color-orange); margin-bottom: 30px; padding: 20px 15px 15px; border-radius: 8px; box-shadow: 3px 3px 0px #ffd5cc; overflow: hidden; counter-increment: step-counter; }
.step-list li:last-child { margin-bottom: 0; }
.step-list li::after { content: counter(step-counter); position: absolute; right: 10px; bottom: -20px; font-size: 5rem; font-weight: 900; color: var(--color-orange-light); z-index: 0; line-height: 1; font-style: italic; }
.step-list li > * { position: relative; z-index: 1; }
.step-label { position: absolute; top: -15px; left: 15px; background: var(--color-orange); color: #fff; padding: 3px 15px; border-radius: 20px; font-size: 11pt; font-weight: bold; letter-spacing: 1px; box-shadow: 2px 2px 0px #cc4c33; }
.step-list strong { display: block; font-size: 11pt; color: var(--color-red); margin-top: 5px; margin-bottom: 5px; }
.step-list p { margin: 0; color: #444; font-size: 10pt; }

/* テーブル */
.info-table { width: 100%; border-collapse: collapse; margin-bottom: 15px; }
.info-table th, .info-table td { border: 1px solid #ccc; padding: 12px; }
.info-table th { background-color: #f9f9f9; width: 35%; text-align: left; }
.note { font-size: 0.7rem; color: #666; }

/* FAQ */
.qa-box { margin-bottom: 15px; border: 1px solid #ddd; border-radius: 4px; }
.qa-box summary { padding: 15px; font-weight: bold; background-color: #f9f9f9; cursor: pointer; list-style: none; position: relative; }
.qa-box summary::after { content: "＋"; position: absolute; right: 15px; color: var(--color-orange); }
.qa-box[open] summary::after { content: "－"; }
.qa-box .answer { padding: 15px; border-top: 1px dashed #ddd; background: #fff; }

/* フッターCTA */
.footer-cta-inner { max-width: 600px; margin: 0 auto; }
.footer-lead { font-size: 1.4rem; font-weight: bold; color: var(--color-red); margin-bottom: 10px; }

/* 各種ボタン（300px最適化） */
.action-buttons { display: flex; flex-direction: column; gap: 15px; margin: 30px 0; }
.action-buttons a{text-decoration: none;}
.btn { display: flex; justify-content: center; align-items: center; padding: 12px 15px; border-radius: 40px; font-weight: bold; font-size: 0.95rem; text-decoration: none; transition: all 0.3s ease; width: 100%; max-width: 300px; margin: 0 auto; box-sizing: border-box; box-shadow: 0 4px 6px rgba(0,0,0,0.1); cursor: pointer; }
.btn-primary { background-color: var(--color-red); color: #fff; border: 2px solid var(--color-red); }
.btn-primary:hover { background-color: #cc0010; transform: translateY(-3px); box-shadow: 0 6px 12px rgba(230,0,18,0.2); }
.btn-outline { background-color: #fff; color: var(--color-red); border: 2px solid var(--color-red); }
.btn-outline:hover { background-color: #fff0f0; transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,0,0.08); }

/* LP専用ダウンロードボタン */
.btn01 { background: var(--color-orange); color: #fff; border: none; font-size: 0.9rem; padding: 14px 25px 14px 10px; box-shadow: 0 4px 10px rgba(255, 126, 0, 0.3); position: relative; overflow: hidden; }
.btn01::after { content: "＞"; position: absolute; right: 10px; font-weight: bold; }
.btn01:hover { background: #bf5f48; transform: translateY(-3px) scale(1.02); box-shadow: 0 6px 15px rgba(255, 126, 0, 0.4); }
.btn01-small { background: var(--color-orange); color: #fff; font-size: 0.95rem; padding: 10px 15px; width: 100%; max-width: 300px; margin: 0 auto; display: flex; justify-content: center; align-items: center; border-radius: 30px; text-decoration: none; box-sizing: border-box; }
.btn01-small:hover { background: #e57100; }

/* アプリDL枠・バッジ */
.store-badges { display: flex; justify-content: center; align-items: center; gap: 10px; }
.store-btn { display: block; transition: opacity 0.3s ease, transform 0.2s ease; height: 35px; }
.store-btn:hover { opacity: 0.8; transform: translateY(-2px); }
.store-btn img { height: 100%; width: auto; display: block; }
.small-badges .store-btn { height: 40px; }

.app-dl-box { background: #fff; padding: 25px 20px; border-radius: 12px; border: 2px solid #ffbca8; margin-top: 20px; }
.app-dl-box a{text-decoration: none;}
.app-dl-text { font-weight: bold; color: var(--color-red); margin: 0 0 15px 0; font-size: 0.95rem; }

/* ボタンを横並びにするラッパー（囲み枠） */
.app-download-buttons {
  display: flex;             /* 要素を横並びにするFlexboxを指定 */
  justify-content: center;   /* 中央揃え */
  align-items: center;       /* 縦の配置を中央揃え */
  gap: 16px;                 /* ボタンとボタンの間の隙間 */
  margin: 32px 0;            /* 上下に余白を持たせる */
  flex-wrap: wrap;           /* もし画面が極端に狭い場合は自動で折り返す */
}

/* ボタン（リンクタグ）自体の設定 */
.btn-store {
  display: block;
  width: 100%;
  max-width: 180px;          /* バッジがこれ以上大きくならないように制限 */
  transition: transform 0.2s ease, opacity 0.2s ease; /* ふわっと動くアニメーション設定 */
}

/* 画像を枠いっぱいに広げる（レスポンシブ対応） */
.btn-store img {
  width: 100%;               /* 親要素（max-width: 180px）に対して100%の幅 */
  height: auto;              /* 縦横比を崩さない */
  display: block;            /* 画像の下にできる謎の隙間を消す */
}

/* マウスを乗せた時（ホバー時）のちょっとした動き */
@media (hover: hover) {
  .btn-store:hover {
    transform: translateY(-2px); /* 少しだけ上に浮く */
    opacity: 0.9;                /* 少しだけ透明にして押せる感を出す */
  }
}

/* スマホ用の微調整（画面幅が480px以下の場合） */
@media (max-width: 480px) {
  .btn-store {
    max-width: 150px; /* スマホ画面では少し小さくして横並びをキープ */
  }
  .app-download-buttons {
    gap: 12px;        /* 隙間も少し狭める */
  }
}

/* レスポンシブ (PC) */
@media (min-width: 768px) {
  .card-list { flex-direction: row; align-items: stretch; }
  .card { flex: 1; width: 33.333%; }
  .action-buttons { flex-direction: row; justify-content: center; gap: 20px; }
  .btn { width: 45%; max-width: 300px; }
  .btn-lp { font-size: 1.05rem; padding: 16px 30px 16px 15px; max-width: 350px; }
  .store-btn { height: 44px; }
}
