/* ===== LP固有CSS ===== */

/* セクション見出し */
.sec-ttl {
  font-size: 15px; font-weight: 900;
  background: var(--navy); color: #fff;
  padding: 8px 12px;
  margin: 0 -12px 12px;
  border-left: 5px solid var(--cyan);
  letter-spacing: 0.03em;
}
.sec-ttl .ttl-en { font-size: 9px; font-weight: 700; color: var(--cyan); display: block; letter-spacing: 0.1em; margin-bottom: 1px; }
.sec-ttl-inline {
  font-size: 15px; font-weight: 900; color: var(--navy);
  border-left: 5px solid var(--orange); padding-left: 10px;
  margin-bottom: 13px; line-height: 1.3; display: flex; align-items: center; gap: 8px;
}
.sec-ttl-inline .num-badge { background: var(--orange); color: #fff; font-size: 11px; font-weight: 900; padding: 2px 8px; border-radius: 3px; white-space: nowrap; }

/* FV */
.fv {
  background: linear-gradient(160deg, var(--navy) 0%, #0d2d7a 40%, #0a4fc4 100%);
  padding: 0; position: relative; overflow: hidden;
}
.fv::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 20px),
    repeating-linear-gradient(-45deg, rgba(0,200,224,0.04) 0px, rgba(0,200,224,0.04) 1px, transparent 1px, transparent 20px);
  pointer-events: none;
}
.fv-top-band {
  background: var(--yellow); padding: 5px 12px;
  font-size: 12px; font-weight: 900; color: var(--navy);
  display: flex; align-items: center; gap: 6px;
  animation: blink-band 2s ease-in-out infinite;
}
@keyframes blink-band { 0%,100%{background:var(--yellow);}50%{background:#ffe94d;} }
.fv-top-band .dot { width: 7px; height: 7px; background: var(--red); border-radius: 50%; animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);}50%{transform:scale(1.4);} }
.fv-main { padding: 16px 14px 0; position: relative; z-index: 1; }
.fv-person {
  position: absolute; top: 0; right: 0;
  width: 150px; height: 190px;
  background: radial-gradient(ellipse at 65% 30%, rgba(0,200,224,0.15) 0%, transparent 70%);
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.fv-person img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center; display: block;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
.fv-person-placeholder {
  width: 120px; height: 170px;
  border-radius: 50% 50% 0 0 / 50% 50% 0 0;
  background: rgba(255,255,255,0.06);
  border: 1.5px dashed rgba(0,200,224,0.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 10px; color: rgba(255,255,255,0.35); gap: 5px;
}
.fv-content { max-width: 60%; }
.fv-sticker {
  display: inline-block; background: var(--pink); color: #fff;
  font-size: 14px; font-weight: 900; padding: 3px 10px; border-radius: 3px;
  margin-bottom: 8px; transform: rotate(-1.5deg);
  box-shadow: 2px 2px 0 rgba(0,0,0,0.3); letter-spacing: 0.05em;
}
.fv-headline { color: #fff; font-size: 13px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.fv-headline-big {
  display: block; font-size: 32px; font-weight: 900; line-height: 1.2;
  color: var(--yellow);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4), 2px 2px 0 rgba(255,136,0,0.6);
  letter-spacing: -0.01em; margin-bottom: 6px;
}
.fv-headline-big em { color: #fff; font-style: normal; }
.fv-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.fv-badge { font-size: 11px; font-weight: 900; padding: 3px 9px; border-radius: 20px; border: 1.5px solid; }
.fvb-cyan   { background: var(--cyan);   color: var(--navy); border-color: var(--cyan); }
.fvb-white  { background: transparent;   color: #fff;        border-color: rgba(255,255,255,0.6); }
.fvb-yellow { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.fvb-red { background: #ffb3b3; color: var(--navy); border-color: #ffb3b3; }
.fv-bottom {
  position: relative; z-index: 1;
  background: rgba(0,0,0,0.35); margin: 12px -14px 0;
  padding: 8px 14px; font-size: 11px; color: rgba(255,255,255,0.75);
  display: flex; align-items: center; gap: 7px;
  border-top: 1px solid rgba(0,200,224,0.3);
}
.fv-bottom-badge { background: var(--orange); color: #fff; font-size: 10px; font-weight: 900; padding: 2px 7px; border-radius: 3px; }

/* URGENCY */
.urgency-wrap { background: var(--red); padding: 0; }
.urgency-main {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px; font-size: 14px; font-weight: 900; color: #fff;
  background: linear-gradient(90deg, #cc0000, var(--red), #cc0000);
}
.urgency-timer-big { font-size: 22px; font-weight: 900; color: var(--yellow); font-variant-numeric: tabular-nums; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.urgency-off { display: none; padding: 8px 14px; background: #444; color: #ccc; font-size: 12px; text-align: center; }

/* TOP3 QUICK */
.top3-quick { background: var(--white); padding: 14px 12px; }
.quick-cards { display: flex; flex-direction: column; gap: 8px; }
.quick-card {
  display: flex; align-items: center; gap: 9px;
  border: 2px solid var(--gray); border-radius: 8px; padding: 10px;
  background: var(--white); text-decoration: none; color: var(--text);
  transition: all 0.12s; position: relative; overflow: hidden;
}
.quick-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.qc-1::before { background: #FFD700; }
.qc-2::before { background: #b0bcd0; }
.qc-3::before { background: #D4845A; }
.quick-card:active { background: var(--offwhite); border-color: var(--blue); }
.rank-medal { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.rm-1 { background: linear-gradient(135deg,#ffe066,#FFD700,#c8a800); color: #5a4000; }
.rm-2 { background: linear-gradient(135deg,#e0e5ef,#C0C8D8,#9aa5b8); color: #3a3a3a; }
.rm-3 { background: linear-gradient(135deg,#e8a080,#D4845A,#b06040); color: #fff; }
.banner-wrap { flex-shrink: 0; }
.banner-small {
  width: 70px; height: 40px; min-width: 70px;
  background: #eef2f7; border: 1.5px dashed #b0bcd0; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: #9aa5b8; text-align: center; line-height: 1.3; overflow: hidden;
}
.banner-small img { width: 100%; height: 100%; object-fit: contain; display: block; }
.quick-info { flex: 1; min-width: 0; }
.quick-name { font-weight: 900; font-size: 14px; color: var(--navy); }
.quick-tag { display: inline-block; font-size: 10px; font-weight: 900; padding: 1px 6px; border-radius: 3px; margin-top: 2px; }
.qt-green  { background: #e6f7ec; color: var(--green);  border: 1px solid #a8dbb8; }
.qt-orange { background: #fff0e0; color: var(--orange); border: 1px solid #f5c88a; }
.qt-blue   { background: #e8f2ff; color: var(--blue);   border: 1px solid #b3d0f0; }
.quick-point { font-size: 11px; color: var(--gray-text); margin-top: 3px; }
.quick-arrow { color: var(--orange); font-size: 22px; flex-shrink: 0; font-weight: 900; }

/* 診断 */
.diagnosis { background: linear-gradient(160deg, var(--navy) 0%, #0d2d7a 100%); padding: 16px 12px; position: relative; overflow: hidden; }
.diagnosis::before { content: ''; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(0,200,224,0.15) 0%, transparent 70%); pointer-events: none; }
.diag-ttl { text-align: center; margin-bottom: 14px; }
.diag-ttl-main { font-size: 16px; font-weight: 900; color: var(--yellow); display: block; letter-spacing: 0.02em; }
.diag-ttl-sub { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.diag-step { background: rgba(255,255,255,0.07); border: 1px solid rgba(0,200,224,0.25); border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.diag-q { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 9px; display: flex; align-items: center; gap: 7px; }
.diag-q-num { background: var(--cyan); color: var(--navy); font-size: 11px; font-weight: 900; padding: 2px 8px; border-radius: 3px; }
.diag-options { display: flex; flex-wrap: wrap; gap: 6px; }
.diag-btn { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); border: 1.5px solid rgba(255,255,255,0.2); border-radius: 6px; padding: 7px 13px; font-size: 13px; cursor: pointer; transition: all 0.12s; font-family: inherit; font-weight: 700; }
.diag-btn:hover, .diag-btn.active { background: var(--yellow); color: var(--navy); border-color: var(--yellow); box-shadow: 0 2px 8px rgba(255,224,0,0.4); }
.diag-result { display: none; background: var(--white); border-radius: 8px; padding: 13px; margin-top: 10px; border: 2px solid var(--cyan); }
.diag-result.show { display: block; }
.diag-result-ttl { font-size: 13px; font-weight: 900; color: var(--navy); margin-bottom: 10px; text-align: center; padding-bottom: 8px; border-bottom: 2px dashed var(--cyan); }
.diag-result-card { display: flex; align-items: center; gap: 11px; }
.diag-result-banner { width: 80px; height: 46px; min-width: 80px; background: #eef2f7; border: 1.5px dashed #b0bcd0; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-size: 9px; color: #9aa5b8; text-align: center; flex-shrink: 0; overflow: hidden; }
.diag-result-banner img { width: 100%; height: 100%; object-fit: contain; display: block; }
.diag-result-name { font-size: 17px; font-weight: 900; color: var(--navy); }
.diag-result-reason { font-size: 12px; color: var(--gray-text); margin-top: 3px; }
.diag-search-btn { width: 100%; background: linear-gradient(135deg, var(--orange) 0%, var(--orange2) 100%); color: #fff; border: none; border-radius: 8px; padding: 14px; font-size: 16px; font-weight: 900; cursor: pointer; margin-top: 6px; letter-spacing: 0.04em; font-family: inherit; box-shadow: 0 4px 14px rgba(255,77,0,0.4); transition: transform 0.1s; }
.diag-search-btn:active { transform: scale(0.98); }

/* タイプ別CTA */
.type-select { background: var(--white); padding: 16px 12px; }
.type-cta-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.type-cta-row {
  display: flex; align-items: center;
  background: var(--offwhite); border: 1.5px solid #d8dff0; border-radius: 9px;
  padding: 11px 12px; text-decoration: none; color: var(--text); gap: 10px;
  transition: background 0.12s, border-color 0.12s, box-shadow 0.12s;
  position: relative; overflow: hidden;
}
.type-cta-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--cyan); border-radius: 4px 0 0 4px; }
.type-cta-row:active { background: #eaf4ff; border-color: var(--cyan); box-shadow: 0 2px 10px rgba(0,200,224,0.2); }
.type-cta-left { flex: 1; min-width: 0; }
.type-cta-situation { font-size: 11px; color: var(--gray-text); font-weight: 700; margin-bottom: 3px; }
.type-cta-name { font-size: 16px; font-weight: 900; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.type-cta-tag { font-size: 10px; font-weight: 900; background: var(--cyan); color: var(--navy); padding: 1px 6px; border-radius: 3px; white-space: nowrap; }
.type-cta-sub { font-size: 11px; color: var(--gray-text); margin-top: 2px; }
.type-cta-arrow { flex-shrink: 0; background: var(--navy); color: #fff; width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; line-height: 1; }

/* ランキング */
.ranking-section { padding: 14px 12px; }
.ranking-ttl { text-align: center; font-size: 17px; font-weight: 900; color: var(--navy); margin-bottom: 16px; position: relative; padding: 10px 0; border-top: 3px solid var(--navy); border-bottom: 3px solid var(--navy); letter-spacing: 0.02em; }

/* 比較表 */
.hikaku { background: var(--white); padding: 16px 12px; }
.hikaku-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 11px; table-layout: fixed; }
.hikaku-table th { background: var(--navy); color: #fff; padding: 9px 4px; text-align: center; border: 1px solid #1a5fa0; font-weight: 900; word-break: keep-all; overflow-wrap: break-word; }
.hikaku-table th.item-col { background: #060f2e; width: 28%; }
.hikaku-table th:not(.item-col) { width: 24%; }
.hikaku-company-name { font-size: 11px; font-weight: 900; color: #fff; display: block; line-height: 1.3; word-break: keep-all; overflow-wrap: break-word; }
.hikaku-table td { padding: 9px 5px; text-align: center; border: 1px solid #e8ecf4; font-size: 12px; vertical-align: middle; }
.hikaku-table tr:nth-child(even) td { background: var(--offwhite); }
.hikaku-table td:first-child { text-align: left; font-weight: 700; color: var(--gray-text); background: var(--offwhite); padding-left: 9px; }
.hikaku-table .val-best { color: var(--orange); font-weight: 900; }
.hikaku-cta-row td { padding: 10px 6px; background: #fff !important; border-top: 2px solid var(--navy); }
.hikaku-cta-btn { display: block; width: 100%; background: linear-gradient(135deg, var(--orange), var(--orange2)); color: #fff; text-align: center; padding: 9px 5px; border-radius: 6px; font-size: 12px; font-weight: 900; text-decoration: none; box-shadow: 0 2px 7px rgba(255,77,0,0.35); }

/* バレない */
.anshin { background: var(--white); padding: 16px 12px; }
.anshin-cards { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.anshin-card { display: flex; gap: 11px; align-items: flex-start; background: var(--offwhite); border-radius: 8px; padding: 12px; border-left: 5px solid var(--cyan); }
.anshin-num { background: var(--navy); color: var(--cyan); font-weight: 900; font-size: 18px; width: 34px; height: 34px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.anshin-ttl { font-size: 14px; font-weight: 900; color: var(--navy); margin-bottom: 3px; }
.anshin-txt { font-size: 13px; color: var(--gray-text); }

/* FAQ */
.faq { background: var(--white); padding: 16px 12px; margin-top: 8px; }
.faq-item { border-bottom: 1px solid #e8ecf4; }
.faq-q { display: flex; align-items: flex-start; gap: 9px; padding: 13px 0; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--text); }
.faq-q-icon { background: var(--navy); color: #fff; font-size: 12px; font-weight: 900; width: 22px; height: 22px; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; align-self: flex-start; margin-top: 1px; line-height: 1; padding-bottom: 2px; }
.faq-a { display: none; padding: 0 0 13px 31px; font-size: 13px; color: var(--gray-text); line-height: 1.75; }
.faq-a.open { display: block; }
.faq-interest-ex { background: var(--yellow2); border: 1.5px solid #e0c800; border-radius: 7px; padding: 9px 11px; margin-top: 9px; font-size: 13px; }
.faq-interest-ex .ex-ttl { font-weight: 900; color: var(--text); margin-bottom: 5px; }

/* 最終CTA */
.final-cta { background: linear-gradient(160deg, var(--navy) 0%, #0a2060 50%, #0d3a8c 100%); padding: 20px 12px; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; bottom: -30px; left: -30px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(0,200,224,0.12) 0%, transparent 70%); pointer-events: none; }
.final-cta-zigzag { text-align: center; margin-bottom: 14px; }
.final-cta-label { display: inline-block; background: var(--yellow); color: var(--navy); font-size: 13px; font-weight: 900; padding: 6px 20px; border-radius: 4px; box-shadow: 0 3px 10px rgba(255,224,0,0.5); letter-spacing: 0.05em; }
.final-cta-card { background: var(--white); border-radius: 10px; padding: 14px; border: 2px solid var(--cyan); }
.final-cta-card-top { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.final-banner { flex-shrink: 0; width: 108px; height: 108px; background: #eef2f7; border: 1.5px dashed #b0bcd0; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 9px; color: #9aa5b8; text-align: center; gap: 4px; overflow: hidden; }
.final-banner img { width: 100%; height: 100%; object-fit: contain; display: block; }
.final-card-name { font-size: 20px; font-weight: 900; color: var(--navy); }
.final-card-name a { text-decoration: none; color: inherit; }
.final-card-catch { font-size: 12px; color: var(--gray-text); margin-top: 2px; }
.final-points { font-size: 13px; color: var(--gray-text); margin-bottom: 12px; padding-left: 0; list-style: none; }
.final-points li { margin-bottom: 5px; display: flex; align-items: flex-start; gap: 7px; font-weight: 700; }

/* 絞り込み検索 */
.search-section { background: var(--white); }
.search-toggle { width: 100%; background: none; border: none; padding: 14px 14px; display: flex; align-items: center; gap: 10px; cursor: pointer; font-family: inherit; border-top: 2px solid var(--gray); }
.search-toggle-icon { width: 34px; height: 34px; border-radius: 8px; background: var(--navy); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.search-toggle-text { flex: 1; text-align: left; }
.search-toggle-title { font-size: 14px; font-weight: 900; color: var(--navy); display: block; }
.search-toggle-sub { font-size: 11px; color: var(--gray-text); display: block; margin-top: 1px; }
.search-toggle-arrow { color: var(--navy); font-size: 18px; font-weight: 900; transition: transform 0.2s; flex-shrink: 0; }
.search-toggle.open .search-toggle-arrow { transform: rotate(90deg); }
.search-body { display: none; padding: 0 14px 16px; }
.search-body.open { display: block; }
.form-block { background: var(--offwhite); border-radius: 9px; margin-bottom: 10px; overflow: hidden; border: 1.5px solid var(--gray); }
.form-block-head { background: var(--navy); padding: 8px 12px; display: flex; align-items: center; gap: 8px; }
.form-block-head-label { font-size: 13px; font-weight: 900; color: #fff; }
.form-block-head-sub { font-size: 10px; color: rgba(255,255,255,0.6); margin-left: auto; }
.form-block-body { padding: 12px; }
.form-select {
  width: 100%; appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230a1f5c' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1.5px solid var(--gray); border-radius: 7px;
  padding: 10px 36px 10px 12px; font-size: 14px; font-weight: 700; color: var(--text);
  font-family: inherit; cursor: pointer;
}
.form-select:focus { outline: none; border-color: var(--cyan); }
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.checkbox-item { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1.5px solid var(--gray); border-radius: 7px; padding: 8px 10px; cursor: pointer; transition: all 0.12s; user-select: none; }
.checkbox-item input[type="checkbox"] { display: none; }
.checkbox-box { width: 20px; height: 20px; flex-shrink: 0; border: 2px solid var(--gray); border-radius: 4px; background: var(--white); display: flex; align-items: center; justify-content: center; transition: all 0.12s; }
.checkbox-item input:checked + .checkbox-box { background: var(--navy); border-color: var(--navy); }
.checkbox-item input:checked + .checkbox-box::after { content: ''; display: block; width: 5px; height: 9px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg) translate(-1px,-1px); }
.checkbox-item:has(input:checked) { background: #eaf4ff; border-color: var(--cyan); }
.checkbox-label { font-size: 12px; font-weight: 700; color: var(--text); line-height: 1.3; }
.search-form-footer { display: flex; gap: 8px; margin-top: 12px; }
.reset-btn { flex-shrink: 0; background: var(--offwhite); color: var(--gray-text); border: 1.5px solid var(--gray); border-radius: 8px; padding: 12px 14px; font-size: 13px; font-weight: 700; font-family: inherit; cursor: pointer; }
.search-exec-btn { flex: 1; background: linear-gradient(135deg, var(--orange), var(--orange2)); color: #fff; border: none; border-radius: 8px; padding: 14px; font-size: 15px; font-weight: 900; font-family: inherit; cursor: pointer; box-shadow: 0 4px 12px rgba(255,77,0,0.35); position: relative; }
.search-exec-btn::after { content: ''; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-top: 2.5px solid #fff; border-right: 2.5px solid #fff; rotate: 45deg; }