/**
 cssはこちらに追加してください。
**/


/* =========================================================
   LIH 全ページ共通＆最適化 CSS (Final Ver.)
========================================================= */

/* ====================================
   1. サービス固定ページ共通 (Tailwind併用前提)
   ==================================== */
.lih-page { font-family: 'Noto Sans JP', sans-serif; color: #333; line-height: 1.8; background: #fff; }
.lih-container { max-width: 1000px; margin: 0 auto; padding: 0 1rem; }

/* アニメーション（フワッと浮き上がる） */
.lih-fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* 見出し装飾 */
.lih-h2 { font-size: clamp(24px, 5vw, 36px); font-weight: 900; color: #1e3a8a; text-align: center; margin-bottom: 3rem; position: relative; }
.lih-h2::after { content: ""; display: block; width: 60px; height: 3px; background: #1e3a8a; margin: 1rem auto 0; }

/* 共通カードデザイン */
.lih-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 2rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); transition: 0.3s; height: 100%; }
.lih-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px -5px rgba(30, 58, 138, 0.1); border-color: #bfdbfe; }

/* テーブル（スマホで横スクロール可） */
.lih-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 2rem 0; box-shadow: 0 0 10px rgba(0,0,0,0.05); }
.lih-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 0.95rem; }
.lih-table th { background: #f8fafc; color: #1e3a8a; padding: 1.5rem 1rem; text-align: left; border-bottom: 1px solid #e2e8f0; width: 30%; font-weight: bold; white-space: nowrap; }
.lih-table td { padding: 1.5rem 1rem; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }

/* リスト・ステップ */
.lih-check-list li { display: flex; align-items: center; gap: 0.5rem; font-weight: bold; color: #1e3a8a; margin-bottom: 0.5rem; }
.lih-check-list i { color: #2563eb; }
.step-number { width: 40px; height: 40px; border-radius: 50%; background: #1e3a8a; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; flex-shrink: 0; }

/* 共通ボタン群 */
.lih-btn-solid { 
  display: inline-flex; justify-content: center; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); 
  color: #fff !important; padding: 1.2rem 4rem; border-radius: 50px; font-weight: bold; text-decoration: none !important; 
  box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.3); transition: 0.3s; position: relative; overflow: hidden;
}
.lih-btn-solid:hover { transform: translateY(-3px); box-shadow: 0 15px 25px -3px rgba(37, 99, 235, 0.4); }
.lih-btn-solid::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-25deg); animation: shine 3s infinite;
}
@keyframes shine { 100% { left: 200%; } }

.lih-btn-outline { 
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: #fff; color: #1e3a8a !important; border: 2px solid #e2e8f0; 
  padding: 1rem 2rem; border-radius: 50px; font-weight: bold; text-decoration: none !important; transition: 0.3s; 
}
.lih-btn-outline:hover { border-color: #1e3a8a; background: #eff6ff; color: #1e40af !important; }


/* ====================================
   2. トップページ用 (AI診断・ストーリー等)
   ==================================== */
/* AI診断バナー (トップページFV下) */
.ai-diagnosis-banner {
  background: linear-gradient(135deg, #000 0%, #111 50%, #000 100%); width: 100%; overflow: hidden; position: relative;
  border-top: 1px solid #CFB162; border-bottom: 1px solid #CFB162; animation: glowPulse 3s infinite ease-in-out;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 5px rgba(207, 177, 98, 0.1) inset; border-color: rgba(207, 177, 98, 0.4); }
  50% { box-shadow: 0 0 25px rgba(207, 177, 98, 0.4) inset; border-color: rgba(207, 177, 98, 1); }
}
.ai-diagnosis-banner a { display: flex; justify-content: center; align-items: center; padding: 24px 20px; text-decoration: none; color: #fff; transition: all 0.3s; gap: 25px; flex-wrap: wrap; position: relative; z-index: 2; }
.ai-diagnosis-banner a:hover { background: rgba(255, 255, 255, 0.05); }
.ai-tag { background: #CFB162; color: #000; font-weight: 800; padding: 6px 14px; font-size: 13px; letter-spacing: 0.1em; border-radius: 2px; white-space: nowrap; box-shadow: 0 0 10px rgba(207, 177, 98, 0.6); }
.ai-text { font-size: 18px; font-weight: 700; letter-spacing: 0.05em; line-height: 1.4; text-shadow: 0 0 10px rgba(0,0,0,0.8); }
.ai-sub { font-size: 14px; color: #CFB162; font-weight: normal; margin-left: 15px; display: inline-block; }
.ai-arrow { display: inline-block; width: 44px; height: 44px; border: 1px solid #CFB162; border-radius: 50%; position: relative; flex-shrink: 0; background: #000; animation: arrowMove 1.5s infinite; }
@keyframes arrowMove { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.ai-arrow::after { content: ''; position: absolute; top: 50%; left: 45%; transform: translate(-50%, -50%) rotate(45deg); width: 8px; height: 8px; border-top: 2px solid #fff; border-right: 2px solid #fff; }
@media (max-width: 768px) {
  .ai-diagnosis-banner a { padding: 20px 15px; gap: 12px; }
  .ai-text { font-size: 15px; width: 100%; text-align: center; }
  .ai-sub { display: block; margin-left: 0; margin-top: 8px; font-size: 12px; }
  .ai-arrow { width: 36px; height: 36px; }
}

/* ストーリーテリング（なぜ集客にこだわるのか） */
.top-story { padding-top: 60px; padding-bottom: 60px; }
.top-story__content { display: flex; flex-direction: column; gap: 30px; margin-top: 40px; }
.top-story__image { width: 100%; }
.top-story__image img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08); object-fit: cover; }
.top-story__text { width: 100%; }
.top-story__subheading { font-size: 1.25rem; font-weight: bold; margin-bottom: 20px; color: #111; line-height: 1.5; border-left: 4px solid #000; padding-left: 12px; }
.top-story__text p { font-size: 1rem; line-height: 1.9; color: #333; }
.top-story__text strong { color: #d32f2f; font-weight: bold; }
@media screen and (min-width: 768px) {
  .top-story { padding-top: 80px; padding-bottom: 80px; }
  .top-story__content { flex-direction: row; align-items: center; gap: 60px; }
  .top-story__image { width: 45%; }
  .top-story__text { width: 55%; }
  .top-story__subheading { font-size: 1.5rem; }
}


/* ====================================
   3. 無料ツール・シミュレーター系共通 (黒背景)
   ==================================== */
.lih-tool-body, .pro-screen { background: #050505; color: #fff; font-family: "Inter", "Helvetica Neue", Arial, sans-serif; text-align: center; width: 100%; min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; }
#lih-loss-final, #lih-img-studio-final, #lih-serp-pro, #lih-cid-meo { position: relative; width: 100%; }
.pro-content { width: 100%; max-width: 600px; margin: auto; }
.pro-wide { max-width: 640px; }

.pro-tag { background: #fff; color: #000; padding: 6px 12px; font-weight: 900; font-size: 12px; letter-spacing: 2px; border-radius: 4px; display: inline-block; margin-bottom: 20px; }
.pro-title { font-size: clamp(28px, 6vw, 48px); font-weight: 800; line-height: 1.2; margin: 0 0 30px; word-break: keep-all; letter-spacing: -1px; }
.pro-intro { color: #bbb; line-height: 1.6; margin-bottom: 40px; }
.pro-main-text { font-size: 18px; font-weight: bold; color: #fff; margin-bottom: 15px; }
.pro-sub-text { font-size: 14px; color: #aaa; margin-top: 10px; }
.pro-desc-box { background: #111; padding: 20px; border-radius: 12px; text-align: left; font-size: 13px; line-height: 1.6; border: 1px solid #333; }

.pro-controls { width: 100%; text-align: left; animation: fadeIn 0.5s ease; margin-top: 30px; }
.pro-input-group { margin-bottom: 25px; }
.pro-input-group label { display: block; font-size: 12px; color: #ccc; margin-bottom: 8px; font-weight: bold; }
.pro-input-wrap { background: #222; border-radius: 8px; padding: 12px 16px; display: flex; align-items: center; border: 1px solid #333; transition: 0.2s; }
.pro-input-wrap:focus-within { border-color: #777; background: #000; }
.pro-input { background: transparent; border: none; color: #fff; font-size: 20px; font-weight: bold; width: 100%; outline: none; text-align: right; font-family: inherit; }
.pro-input-text, .pro-input-area { width: 100%; background: #222; border: 1px solid #333; color: #fff; padding: 12px; border-radius: 6px; font-size: 14px; margin-bottom: 5px; box-sizing: border-box; font-family: inherit; }
.pro-input-area { height: 80px; resize: none; }
.pro-input-text:focus, .pro-input-area:focus { outline: none; border-color: #777; background: #000; }

.pro-btn-start { background: #fff; color: #000; border: none; padding: 20px 60px; font-size: 20px; font-weight: 900; border-radius: 50px; cursor: pointer; box-shadow: 0 10px 30px rgba(255,255,255,0.2); transition: transform 0.1s; }
.pro-btn-start:active { transform: scale(0.96); }
.pro-btn-main { width: 100%; padding: 18px; background: #fff; color: #000; border: none; border-radius: 12px; font-weight: 900; font-size: 18px; cursor: pointer; transition: transform 0.1s; display: block; text-decoration: none; }
.pro-btn-main:active { transform: scale(0.98); }

.pro-monitor { background: #111; padding: 20px; border-radius: 16px; border: 1px solid #333; margin-bottom: 30px; text-align: center; }
.pro-monitor-label { font-size: 12px; color: #ff4d4d; font-weight: bold; margin-bottom: 10px; display: block; letter-spacing: 1px; }
.pro-monitor-val { font-size: clamp(36px, 8vw, 64px); font-weight: 900; color: #fff; line-height: 1; letter-spacing: -2px; }

/* ====================================
   4. オウンドメディア用 (対談・ランキング等)
   ==================================== */
.lih-crosstalk-wrap { margin: 40px 0 !important; padding: 30px 20px !important; background-color: #f7f9fa !important; border-radius: 12px !important; }
.lih-crosstalk-title { text-align: center !important; font-size: 1.2em !important; color: #333 !important; margin: 0 0 30px 0 !important; }
.lih-chat-row { display: flex !important; align-items: flex-start !important; margin-bottom: 25px !important; flex-wrap: nowrap !important; }
.lih-chat-row.right { flex-direction: row-reverse !important; }
.lih-chat-avatar img { width: 60px !important; height: 60px !important; min-width: 60px !important; object-fit: cover !important; border-radius: 50% !important; border: 2px solid #fff !important; box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important; aspect-ratio: 1/1 !important; display: block !important; margin: 0 !important; }
.lih-chat-bubble { margin: 0 0 0 15px !important; background-color: #fff !important; border: 1px solid #e1e8ed !important; border-radius: 0 16px 16px 16px !important; padding: 15px 20px !important; position: relative !important; width: 100% !important; max-width: calc(100% - 75px) !important; box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important; }
.lih-chat-bubble.right { margin: 0 15px 0 0 !important; background-color: #e8f5fd !important; border-radius: 16px 0 16px 16px !important; }
.lih-chat-name { margin: 0 0 6px 0 !important; font-size: 0.85em !important; font-weight: bold !important; color: #657786 !important; line-height: 1.2 !important; }
.lih-chat-name.right { text-align: right !important; }
.lih-chat-text { margin: 0 !important; font-size: 0.95em !important; line-height: 1.7 !important; color: #333 !important; padding: 0 !important; }

/* ランキングボックス（簡易版） */
.lih-rank-box { border: 2px solid #e5e5e5; border-radius: 8px; padding: 20px; margin-bottom: 30px; background: #fff; position: relative; }
.lih-rank-box h3 { margin-top: 0; color: #333; font-size: 1.3em; border-bottom: 2px solid #0066ff; padding-bottom: 10px; margin-bottom: 15px; }
.lih-rank-box:first-of-type { border-color: #ffd700; box-shadow: 0 0 15px rgba(255, 215, 0, 0.2); }


/* ========================================================
   LIH ショート動画制作ページ専用 CSS（完全版・絶対崩れない仕様）
======================================================== */
.lih-page { font-family: 'Noto Sans JP', sans-serif; color: #333; line-height: 1.8; background: #fff; overflow-x: hidden; padding-bottom: 80px; }
.lih-page * { box-sizing: border-box; }
.lih-container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.lih-section { padding: 6rem 0; }
.lih-bg-light { background-color: #f8fafc; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }

/* タイポグラフィ */
.lih-h2 { font-size: 2rem; font-weight: 900; color: #0f172a; text-align: center; margin-bottom: 3.5rem; position: relative; padding-bottom: 1.5rem; line-height: 1.4; }
.lih-h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: #db2777; border-radius: 2px; }
.lih-h3 { font-size: 1.3rem; font-weight: bold; color: #0f172a; margin-bottom: 1rem; line-height: 1.5; }
.lih-text-pink { color: #db2777; }
.lih-text-center { text-align: center; }

/* アニメーション */
.lih-fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-anim { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.lih-pulse { animation: pulse-anim 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* レイアウト（グリッド＆フレックス） */
.lih-grid { display: grid; gap: 2.5rem; }
.lih-grid-2 { grid-template-columns: 1fr; }
.lih-grid-3 { grid-template-columns: 1fr; }
.lih-grid-4 { grid-template-columns: 1fr; gap: 1.5rem; }
.lih-grid-5 { grid-template-columns: 1fr; gap: 1.5rem; }

@media (min-width: 768px) {
  .lih-grid-2 { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
  .lih-grid-row-reverse { direction: rtl; }
  .lih-grid-row-reverse > * { direction: ltr; }
  .lih-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .lih-grid-5 { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1024px) {
  .lih-grid-3 { grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 2rem; }
  .lih-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.lih-flex { display: flex; flex-wrap: wrap; gap: 1rem; }
.lih-items-center { align-items: center; }
.lih-justify-center { justify-content: center; }
.lih-justify-between { justify-content: space-between; }

/* ボタン */
.lih-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1.2rem 3rem; border-radius: 50px; font-weight: bold; text-decoration: none !important; transition: all 0.3s; cursor: pointer; border: none; }
.lih-btn:hover { transform: translateY(-3px); }
.lih-btn-pink { background: linear-gradient(135deg, #e11d48, #be185d); color: #fff; box-shadow: 0 10px 15px -3px rgba(225, 29, 72, 0.3); }
.lih-btn-pink:hover { box-shadow: 0 15px 25px -5px rgba(225, 29, 72, 0.4); }
.lih-btn-white { background: #fff; color: #0f172a; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.lih-btn-outline { border: 2px solid #fff; color: #fff; background: transparent; }
.lih-btn-outline:hover { background: rgba(255,255,255,0.1); }

/* タグ・ラベル */
.lih-tag { display: inline-block; padding: 0.3rem 1rem; border-radius: 50px; font-size: 0.75rem; font-weight: bold; margin-bottom: 1rem; }
.lih-tag-pink { background: #fce7f3; color: #db2777; border: 1px solid #fbcfe8; }
.lih-tag-dark { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(4px); }

/* コンポーネント */
.lih-fv-price-box { background: #fff; padding: 2.5rem; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-top: 4px solid #db2777; text-align: center; position: relative; width: 100%; max-width: 350px; margin: 0 auto; }
.lih-card-white { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 2.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.lih-banner-dark { background: linear-gradient(135deg, #0f172a, #1e293b); border-radius: 24px; padding: 3.5rem; color: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.2); position: relative; overflow: hidden; }

.lih-reason-num { font-size: 5rem; font-weight: 900; color: #fbcfe8; line-height: 1; display: block; margin-bottom: -1rem; opacity: 0.5; }
.lih-reason-img-box { background: #f8fafc; border-radius: 24px; padding: 3rem 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: inset 0 2px 5px rgba(0,0,0,0.02); border: 1px solid #f1f5f9; width: 100%; text-align: center; }

/* 制作の流れステップ */
.lih-step-card { background: #fff; padding: 1.5rem; border-radius: 16px; border: 1px solid #e2e8f0; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.02); }
.lih-step-num { width: 40px; height: 40px; background: #db2777; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; margin: 0 auto 1rem; }

/* 料金プランカード */
.lih-plan-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s; display: flex; flex-direction: column; border: 1px solid #e2e8f0; position: relative; }
.lih-plan-card:hover { transform: translateY(-5px); box-shadow: 0 20px 30px rgba(0,0,0,0.1); }
.lih-plan-card.is-popular { border: 4px solid #db2777; z-index: 10; box-shadow: 0 10px 25px rgba(219, 39, 119, 0.2); }
@media (min-width: 1024px) {
  .lih-plan-card.is-popular { transform: scale(1.05); }
  .lih-plan-card.is-popular:hover { transform: scale(1.05) translateY(-5px); }
}
.lih-plan-header { padding: 1.5rem; text-align: center; color: #fff; }
.lih-plan-price { padding: 1.5rem; text-align: center; background: #f8fafc; border-bottom: 1px solid #e2e8f0; }
.lih-plan-body { padding: 2.5rem; flex: 1; }
.lih-plan-list { list-style: none; padding: 0; margin: 0; }
.lih-plan-list li { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 1rem; font-size: 0.95rem; font-weight: 500; color: #334155; }
.lih-plan-list li i { margin-top: 0.3rem; }

/* Q&A */
.lih-faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 1rem; overflow: hidden; }
.lih-faq-item summary { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; font-weight: bold; cursor: pointer; list-style: none; font-size: 1.1rem; color: #0f172a; }
.lih-faq-item summary::-webkit-details-marker { display: none; }
.lih-faq-item details[open] summary i { transform: rotate(180deg); }
.lih-faq-content { padding: 0 1.5rem 1.5rem; border-top: 1px solid #f1f5f9; margin-top: 0.5rem; font-size: 0.95rem; color: #475569; }

/* 追従バナー */
.lih-sticky-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(8px); z-index: 9999; border-top: 3px solid #db2777; padding: 0.8rem 1rem; }


/* ========================================================
   LIH トップページ専用 追加SEOスタイル（11位からTOP奪還用）
======================================================== */

/* FV: AI診断リンク */
.top-fv__diagnosis {
  margin-top: 25px;
  text-align: center;
  animation: fadeUp 1s ease 0.5s forwards;
  opacity: 0;
}
.top-fv__diagnosis-link {
  display: inline-block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}
.top-fv__diagnosis-link:hover {
  background: #fff;
  border-color: #db2777;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.top-fv__diagnosis-link--bold {
  font-weight: 900;
  color: #db2777;
  font-size: 0.95rem;
  display: block;
  margin-top: 4px;
}

/* ストーリー・強みセクション背景 */
.top-story--bg { background-color: #f4f6f9; }
.top-advantage__inner-bg { background-color: #ffffff; }

/* 3つの強みセクション (top-features) */
.top-features { padding: 5rem 0; background-color: #ffffff; }
.top-features__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}
.top-features__item {
  background: #f8fafc;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}
.top-features__item:hover { transform: translateY(-5px); }
.top-features__item--blue { border-left: 6px solid #002B5B; }
.top-features__item--pink { border-left: 6px solid #db2777; }
.top-features__item--yellow { border-left: 6px solid #f59e0b; }

.top-features__item-heading {
  font-size: 1.3rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  line-height: 1.4;
}
.top-features__icon { font-size: 1.5rem; }
.top-features__icon--blue { color: #002B5B; }
.top-features__icon--pink { color: #db2777; }
.top-features__icon--yellow { color: #f59e0b; }

.top-features__item-text {
  color: #475569;
  margin: 0;
  line-height: 1.8;
  font-weight: 500;
}

/* プレミアムCTA */
.cta-premium-fp {
  background: linear-gradient(135deg, #001b3a 0%, #002B5B 50%, #004080 100%);
  border-radius: 24px;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 43, 91, 0.25);
}
@media screen and (min-width: 768px) {
  .cta-premium-fp {
    flex-direction: row;
    padding: 4rem;
    gap: 4rem;
  }
}
.cta-premium-fp__image {
  width: 100%;
  max-width: 280px;
  border-radius: 16px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  flex-shrink: 0;
  margin: 0 auto;
}
.cta-premium-fp__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.cta-premium-fp__content {
  color: #ffffff;
  width: 100%;
  text-align: center;
  flex: 1; /* ←追加：テキストエリアを「可能な限り横に広げる」よう強制します */
}
@media screen and (min-width: 768px) {
  .cta-premium-fp__content { text-align: left; }
}
.cta-premium-fp__title {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem); /* ←微調整：画面幅が中途半端な時も綺麗に収まるよう調整 */
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #fff;
  word-break: keep-all; /* ←追加：日本語の変な位置（「い！」など）での改行を強制ブロックします */
}


.cta-premium-fp__highlight { color: #facc15; }
.cta-premium-fp__text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: #e2e8f0;
}
.cta-premium-fp__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}
@media screen and (min-width: 768px) {
  .cta-premium-fp__buttons {
    flex-direction: row;
    justify-content: flex-start;
  }
}
.cta-btn-fp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  flex: 1;
  max-width: 300px;
}
.cta-btn-fp--primary {
  background: #ffffff;
  color: #002B5B !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}
.cta-btn-fp--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}
.cta-btn-fp--secondary {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid #ffffff;
}
.cta-btn-fp--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}