/* AI検索 掲載状況診断 案内ページ（Thinks参考の試作）
   Thinksの構成・見せ方を参考にし、地色は同業との混同を避けるため黄色から水色に変えている
   クラス名は th_ で名前空間を切る */
:root{
  --ink:#222;
  --sub:#4f4f4f;
  --sky1:#c4ecff;
  --sky2:#6fc6f2;
  --yellow:#ffd60a;
  --orange:#ee8a3c;
  --red:#c8382e;
  --gray:#555;
  --blue:#3a8fc4;
  --green:#14a07c;
  --bg-gray:#f3f3f3;
  --wrap:1080px;
  --gutter:16px;
  --display:'Zen Kaku Gothic New',sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:#fff}
body{
  font-family:'Noto Sans JP',sans-serif;color:var(--ink);font-size:16px;line-height:1.85;
  -webkit-font-smoothing:antialiased;word-break:keep-all;overflow-wrap:break-word;line-break:strict;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
a:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.th_wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter);position:relative}
.th_center{text-align:center}
.th_nobr{white-space:nowrap}

/* ヘッダー：ロゴ・ページ内リンク・電話番号・申し込みボタン */
.th_head{background:#fff;position:relative;z-index:2}
.th_head__in{display:flex;align-items:center;gap:24px;height:84px}
.th_head__logo{width:130px;margin-right:auto}
.th_head__nav{display:flex}
.th_head__nav a{font-size:14px;text-decoration:none;padding:6px 24px;border-left:1px solid #333}
.th_head__nav a:last-child{border-right:1px solid #333}
.th_head__tel{margin:0;font-size:22px;font-weight:700;font-style:italic;line-height:1.3;text-align:center;letter-spacing:.02em}
.th_head__tel span{display:block;font-size:12px;font-style:normal;font-weight:400;color:var(--sub)}
.th_head__cta{
  display:flex;align-items:center;gap:12px;background:var(--orange);color:#fff;text-decoration:none;
  font-weight:700;font-size:15px;padding:8px 20px 8px 8px;border-radius:6px;
}
.th_head__badge{
  display:flex;align-items:center;justify-content:center;width:62px;height:62px;margin:-14px 0 -14px -20px;
  background:#333;color:#fff;border-radius:50%;font-size:11px;line-height:1.3;text-align:center;border:3px solid #fff;
}

/* ファーストビュー */
.th_mv{position:relative;overflow:hidden;background:linear-gradient(100deg,var(--sky1),var(--sky2));padding:96px 0 104px;text-align:center}
.th_mv__in{position:relative;z-index:1}
.th_mv__pre{font-weight:900;font-size:clamp(18px,2.6vw,28px);letter-spacing:.14em;margin:0 0 8px}
.th_mv__title{font-family:var(--display);font-weight:900;font-size:clamp(48px,9vw,104px);line-height:1.15;letter-spacing:.04em;margin:0 0 28px}
.th_mv__q{display:inline-block;background:#fff;font-weight:700;font-size:clamp(16px,2.2vw,22px);line-height:1.6;padding:12px 28px;border-radius:999px;box-shadow:0 4px 0 rgba(0,0,0,.15);margin:0}
.th_mv__ic{position:absolute;width:150px;height:100px}
.th_mv__ic--1{left:6%;top:12%}
.th_mv__ic--2{right:6%;top:10%}
.th_mv__ic--3{left:12%;bottom:12%}
.th_mv__ic--4{right:10%;bottom:14%}
.th_mv__ic--5{left:-30px;top:48%;width:120px}

/* 共通のセクション */
.th_sec{position:relative;padding:88px 0}
.th_sec--gray{background:var(--bg-gray)}
.th_sec--color{background:linear-gradient(100deg,var(--sky1),var(--sky2))}
.th_h2{
  font-weight:900;font-size:clamp(22px,3vw,32px);letter-spacing:.12em;line-height:1.5;text-align:center;margin:0 0 56px;
}
.th_h2::after{content:"";display:block;width:140px;height:6px;background:var(--yellow);margin:18px auto 0}
.th_h2--onColor::after{background:#fff}
.th_intro{max-width:44em;margin:-24px auto 56px;text-align:center;font-weight:500}

/* セクションの角に置く色の帯（Thinksの装飾に対応） */
.th_deco{position:absolute;top:56px;display:flex;flex-direction:column;gap:22px}
.th_deco i{display:block;height:38px}
.th_deco--l{left:0}
.th_deco--r{right:0;align-items:flex-end}
.th_deco .g{width:60px;background:var(--green)}
.th_deco .y{width:180px;background:var(--yellow)}
.th_deco .o{width:260px;background:var(--orange)}
.th_deco .b{width:90px;background:var(--blue)}

/* お悩みの吹き出し */
.th_bubbles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.th_bubbles li{position:relative;aspect-ratio:340/260}
.th_bubbles svg{position:absolute;inset:0;width:100%;height:100%}
.th_bubbles span{position:absolute;inset:0 0 18%;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:700;font-size:clamp(17px,2vw,22px);line-height:1.6;letter-spacing:.06em}

/* 料金・納期・納品形式 */
.th_spec{list-style:none;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(3,260px);justify-content:center;gap:26px}
.th_spec li{position:relative;color:#fff;border-radius:8px;height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:14px}
.th_spec__red{background:var(--red)}
.th_spec__gray{background:var(--gray)}
.th_spec__blue{background:var(--blue)}
.th_tag{position:absolute;top:-18px;left:50%;transform:translateX(-50%);background:var(--yellow);color:var(--ink);font-size:17px;padding:4px 18px;border-radius:6px;white-space:nowrap}
.th_spec__big{font-family:var(--display);font-weight:900;font-size:60px;line-height:1;letter-spacing:-.01em}
.th_spec__big small{font-family:'Noto Sans JP',sans-serif;font-weight:900;font-size:26px;margin-left:4px}
.th_spec__mid{font-family:var(--display);font-weight:900;font-size:34px;line-height:1.25;text-align:center}
.th_spec__sub{font-size:14px;font-weight:700;margin-top:10px;background:rgba(255,255,255,.22);padding:0 10px;border-radius:3px}
.th_pay{text-align:center;font-weight:700;margin:28px 0 0}

/* 丸いボタン */
.th_btns{display:flex;justify-content:center;gap:36px;margin-top:48px;flex-wrap:wrap}
.th_btn{
  position:relative;display:flex;align-items:center;justify-content:center;width:460px;max-width:100%;height:96px;
  border-radius:999px;font-weight:900;font-size:21px;letter-spacing:.08em;text-decoration:none;
  box-shadow:0 6px 0 rgba(0,0,0,.18);
}
.th_btn svg{position:absolute;right:52px;width:24px;height:24px}
.th_btn--or{background:var(--orange);color:#fff}
.th_btn--ye{background:var(--yellow);color:var(--ink)}
.th_btn--wh{background:#fff;color:var(--ink)}
.th_btn:active{transform:translateY(3px);box-shadow:0 3px 0 rgba(0,0,0,.18)}

/* 診断で分かること：大きな見出しと白い枠 */
.th_feat{display:grid;grid-template-columns:1fr 1.05fr;gap:56px;align-items:center;margin-bottom:88px}
.th_feat--rev .th_feat__text{order:2}
.th_feat__text{position:relative;font-weight:700;letter-spacing:.04em}
.th_feat__big{font-family:var(--display);font-weight:900;font-size:clamp(40px,5.4vw,68px);line-height:1.25;letter-spacing:.02em;margin:0 0 20px}
.th_feat__badge{
  width:112px;height:112px;border-radius:50%;background:#333;color:#fff;
  display:flex;align-items:center;justify-content:center;text-align:center;font-size:16px;line-height:1.4;margin:0 0 20px;
}
.th_card{position:relative;background:#fff;border-radius:14px;padding:44px 36px 32px;box-shadow:10px 10px 0 #333}
.th_card__tag{position:absolute;top:22px;right:22px;background:var(--yellow);font-size:14px;padding:2px 12px}
.th_card__cap{margin:20px 0 0;font-size:15px}
.th_card__cap strong{font-size:18px;font-weight:900}
.th_mini{width:100%;border-collapse:collapse;font-size:15px;margin-top:18px}
.th_mini th{background:#2c4a6b;color:#fff;font-weight:700;padding:8px;text-align:left}
.th_mini td{border-bottom:1px solid #ddd;padding:9px 8px}
.th_card__fact{margin:10px 0 0;font-weight:900;font-size:22px;line-height:1}
.th_card__fact span{font-family:var(--display);font-weight:900;font-size:64px;color:var(--red);margin-right:4px}
.th_card__factnote{margin:4px 0 14px;font-size:14px;color:var(--sub);border-bottom:1px dashed #ccc;padding-bottom:12px}
.th_card__boxh{margin:18px 0 6px;color:var(--red);font-weight:900}
.th_card__box{margin:0;background:#fbf1f0;border-left:5px solid var(--red);padding:14px 16px;font-weight:500}

/* レポートの見本 */
.th_sample{position:relative;max-width:600px;margin:36px auto 0}
.th_sample img{border:1px solid #ddd;box-shadow:0 8px 24px rgba(0,0,0,.12)}
.th_sample__free{
  position:absolute;right:-36px;top:-36px;z-index:1;width:104px;height:104px;border-radius:50%;background:#333;color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:900;font-size:22px;letter-spacing:.1em;
}
.th_sample figcaption{text-align:center;font-size:14px;color:var(--sub);margin-top:12px}
.th_note{text-align:center;font-size:14px;color:var(--sub);margin:8px 0 0}

/* ご利用の流れ */
.th_flow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:32px;counter-reset:none}
.th_flow li{position:relative;background:#fff;border-radius:6px;padding:28px 18px 40px;text-align:center;font-weight:700}
.th_flow li:not(:last-child)::after{
  content:"";position:absolute;right:-26px;top:50%;width:20px;height:20px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 5l7 7-7 7' fill='none' stroke='%23555' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-size:contain;
}
.th_flow__no{display:inline-block;font-size:13px;color:#777;line-height:1.2;border-bottom:1px solid #777;padding-bottom:4px}
.th_flow__no b{display:block;font-size:28px;font-weight:500}
.th_flow svg{display:block;width:150px;height:100px;margin:20px auto}
.th_flow p{margin:0;font-size:17px;line-height:1.6}
.th_flow__bar{max-width:560px;margin:-22px auto 0;position:relative;background:#6f6f6f;color:#fff;text-align:center;font-weight:700;letter-spacing:.08em;padding:12px 24px;border-radius:999px}

/* 提供する会社 */
.th_company{display:grid;grid-template-columns:220px 1fr;gap:48px;align-items:center;max-width:880px;margin:0 auto;border:4px solid #333;border-radius:14px;padding:40px 48px;box-shadow:10px 10px 0 var(--yellow)}
.th_company__lead{font-weight:900;font-size:20px;margin:0 0 12px}
.th_company dl{display:grid;grid-template-columns:5em 1fr;margin:0 0 12px}
.th_company dt{font-weight:700;color:var(--sub);border-bottom:1px solid #ddd;padding:6px 0}
.th_company dd{margin:0;border-bottom:1px solid #ddd;padding:6px 0}
.th_company p:last-child{margin:0}

/* お申し込み・ご注意 */
.th_apply{display:grid;grid-template-columns:1fr 1fr;gap:40px;max-width:960px;margin:0 auto}
.th_apply__list{font-weight:700;padding-left:1.4em}
.th_caution{background:#fff;border-radius:10px;padding:24px 28px}
.th_caution__h{margin:0 0 8px;font-weight:900;color:var(--red)}
.th_caution ul{margin:0;padding-left:1.2em;font-size:15px}
.th_btns--one{margin-top:40px}

/* 特商法・フッター */
.th_law{padding:56px 0;border-top:1px solid #ddd}
.th_law h2{font-size:16px;margin:0 0 14px}
.th_law table{width:100%;border-collapse:collapse;font-size:14px}
.th_law th,.th_law td{border:1px solid #ddd;padding:8px 12px;text-align:left;vertical-align:top}
.th_law th{background:var(--bg-gray);width:11em;font-weight:500}
.th_foot{background:#333;color:#fff;text-align:center;font-size:13px;padding:20px}

/* タブレット以下 */
@media (max-width:960px){
  .th_head__nav{display:none}
  .th_spec{grid-template-columns:repeat(3,1fr)}
  .th_flow{grid-template-columns:repeat(2,1fr)}
  .th_flow li:nth-child(2)::after{display:none}
}
/* スマホ */
@media (max-width:640px){
  body{font-size:15px}
  .th_head__in{height:64px;gap:10px}
  .th_head__logo{width:100px}
  .th_head__tel{display:none}
  .th_head__cta{font-size:13px;padding:6px 12px 6px 6px;gap:8px}
  .th_head__badge{width:52px;height:52px;font-size:10px;margin:-10px 0 -10px -14px}
  .th_mv{padding:72px 0 88px}
  .th_mv__ic{width:96px;height:64px}
  .th_mv__ic--1{left:-14px;top:14px}
  .th_mv__ic--2{right:-10px;top:12px}
  .th_mv__ic--3{left:4px;bottom:10px}
  .th_mv__ic--4{right:0;bottom:12px}
  .th_mv__ic--5{display:none}
  .th_mv__q{border-radius:14px;padding:12px 18px}
  .th_sec{padding:64px 0}
  .th_h2{margin-bottom:40px;letter-spacing:.06em}
  .th_deco{top:24px;gap:12px}.th_deco i{height:22px}
  .th_deco .y{width:110px}.th_deco .o{width:150px}
  .th_bubbles{grid-template-columns:1fr;gap:12px;max-width:320px;margin:0 auto}
  .th_bubbles li{aspect-ratio:340/190}
  .th_bubbles span{font-size:17px}
  .th_spec{grid-template-columns:1fr;gap:34px;max-width:300px}
  .th_spec li{height:160px}
  .th_btns{gap:18px;margin-top:36px}
  .th_btn{height:72px;font-size:17px}
  .th_btn svg{right:28px;width:20px}
  .th_intro{text-align:left;margin-bottom:40px}
  .th_feat,.th_feat--rev{grid-template-columns:1fr;gap:28px;margin-bottom:56px}
  .th_feat--rev .th_feat__text{order:0}
  .th_feat__badge{width:92px;height:92px;font-size:14px}
  .th_card{padding:44px 18px 22px;box-shadow:6px 6px 0 #333}
  .th_mini{font-size:13px}
  .th_sample__free{right:-8px;top:-24px;width:76px;height:76px;font-size:17px}
  .th_flow{grid-template-columns:1fr;gap:28px;max-width:300px;margin:0 auto}
  .th_flow li::after{display:none}
  .th_flow__bar{margin-top:28px}
  .th_company{grid-template-columns:1fr;gap:20px;padding:28px 20px;box-shadow:6px 6px 0 var(--yellow)}
  .th_company img{width:140px;margin:0 auto}
  .th_apply{grid-template-columns:1fr;gap:24px}
  .th_law th{width:9.5em}
}
@media (prefers-reduced-motion:reduce){.th_btn:active{transform:none}}
