*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0d1f3c;
  --navy-mid: #1a3560;
  --blue: #1e5fad;
  --blue-light: #e8f0fa;
  --gold: #c9a84c;
  --gold-light: #f5eedc;
  --white: #ffffff;
  --gray: #f7f8fa;
  --gray-mid: #e2e6ed;
  --text: #1a2332;
  --text-sub: #5a6a7e;
  --text-light: #8a99ab;
  --green: #1a8c5e;
  --green-light: #e6f5ef;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(13,31,60,.08);
  --shadow-lg: 0 8px 40px rgba(13,31,60,.14);
}

html { scroll-behavior: smooth; }
body { font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', sans-serif; color: var(--text); line-height: 1.75; font-size: 15px; background: var(--white); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ========== HEADER ========== */
.header { background: var(--navy); position: sticky; top: 0; z-index: 200; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 64px; max-width: 1080px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 32px; height: 32px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--navy); font-weight: 900; }
.logo-text { font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: .02em; }
.logo-text span { color: var(--gold); }
.nav { display: flex; gap: 0; }
.nav a { color: rgba(255,255,255,.75); font-size: 13px; font-weight: 500; padding: 0 16px; height: 64px; display: flex; align-items: center; transition: color .2s, background .2s; }
.nav a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; font-weight: 700 !important; }
.nav-cta:hover { background: #b8942f !important; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--white); padding: 8px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px 0; border-radius: 2px; }
.mobile-nav { display: none; background: var(--navy-mid); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; color: rgba(255,255,255,.85); font-size: 14px; padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,.08); }

/* ========== HERO ========== */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1a3f7a 100%); color: var(--white); padding: 88px 24px 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(201,168,76,.15) 0%, transparent 70%); pointer-events: none; }
.hero-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.4); color: var(--gold); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 50px; letter-spacing: .08em; margin-bottom: 22px; text-transform: uppercase; }
.hero h1 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; line-height: 1.25; margin-bottom: 20px; letter-spacing: -.01em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-lead { font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.9; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--radius); overflow: hidden; margin-top: 32px; }
.hero-stat { background: rgba(255,255,255,.05); padding: 20px 16px; text-align: center; }
.hero-stat-num { font-size: 28px; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .04em; }
.hero-img-wrap { position: relative; }
.hero-img-placeholder { background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,.3); font-size: 13px; gap: 8px; }
.hero-img-placeholder svg { width: 48px; height: 48px; opacity: .3; }
.hero-badge { position: absolute; bottom: -16px; left: 24px; background: var(--white); border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.hero-badge-icon { width: 36px; height: 36px; background: var(--green-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--green); font-size: 18px; }
.hero-badge-text { font-size: 12px; color: var(--text-sub); line-height: 1.5; }
.hero-badge-text strong { display: block; color: var(--text); font-size: 13px; }

/* ========== BUTTONS ========== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; transition: all .2s; cursor: pointer; border: none; letter-spacing: .02em; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: #b8942f; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,.4); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); display: inline-flex; align-items: center; gap: 6px; font-weight: 700; transition: all .2s; }
.btn-sm:hover { background: var(--navy-mid); }
.btn-lg { padding: 16px 36px; font-size: 15px; }

/* ========== SECTION COMMON ========== */
.section { padding: 80px 0; }
.section-gray { background: var(--gray); }
.section-navy { background: var(--navy); color: var(--white); }
.section-gold { background: var(--gold-light); }
.section-head { text-align: center; margin-bottom: 52px; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border-bottom: 2px solid var(--gold); padding-bottom: 4px; margin-bottom: 14px; }
.section-head h1, .section-head h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 14px; }
.section-navy .section-head h2 { color: var(--white); }
.section-head p { font-size: 15px; color: var(--text-sub); max-width: 560px; margin: 0 auto; line-height: 1.85; }
.section-navy .section-head p { color: rgba(255,255,255,.7); }

/* ========== FEATURES ========== */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-card { background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius); padding: 32px 28px; transition: box-shadow .25s, transform .25s; }
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-icon { width: 48px; height: 48px; background: var(--blue-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-icon svg { width: 24px; height: 24px; color: var(--blue); }
.feature-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: 13px; color: var(--text-sub); line-height: 1.8; }

/* ========== COMPANY TABLE ========== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); }
thead { background: var(--navy); }
th { padding: 16px 18px; text-align: left; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.85); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
td { padding: 18px 18px; border-bottom: 1px solid var(--gray-mid); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--blue-light); }
.company-name { font-weight: 700; color: var(--navy); font-size: 15px; }
.company-area { font-size: 13px; color: var(--text-sub); }
.tag-ok { display: inline-flex; align-items: center; gap: 4px; background: var(--green-light); color: var(--green); padding: 4px 10px; border-radius: 50px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tag-ng { display: inline-flex; align-items: center; gap: 4px; background: var(--gray); color: var(--text-light); padding: 4px 10px; border-radius: 50px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; font-weight: 800; margin-right: 8px; }
.rank-1 { background: var(--gold); color: var(--navy); }
.rank-2 { background: #b0bec5; color: var(--white); }
.rank-3 { background: #a1785c; color: var(--white); }
.rank-other { background: var(--gray-mid); color: var(--text-sub); }

/* ========== COMPANY CARDS ========== */
.company-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.company-card { background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.company-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.company-card-img { background: var(--gray); height: 160px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 12px; border-bottom: 1px solid var(--gray-mid); }
.company-card-body { padding: 24px; }
.company-card-body h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.company-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--blue); background: var(--blue-light); padding: 3px 10px; border-radius: 50px; margin-bottom: 12px; }
.company-card-body p { font-size: 13px; color: var(--text-sub); line-height: 1.75; margin-bottom: 18px; }
.company-card-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.meta-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-sub); }
.meta-label { font-weight: 700; color: var(--text); min-width: 80px; }

/* ========== DETAIL PAGE ========== */
.breadcrumb { background: var(--gray); border-bottom: 1px solid var(--gray-mid); }
.breadcrumb-inner { max-width: 1080px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-light); }
.breadcrumb a { color: var(--blue); }
.breadcrumb-sep { color: var(--gray-mid); }
.detail-hero { background: var(--navy); color: var(--white); padding: 52px 24px; }
.detail-hero-inner { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.detail-hero h1 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 12px; }
.detail-hero-desc { font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.85; margin-bottom: 24px; }
.detail-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail-meta-item { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 14px 16px; }
.detail-meta-label { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.detail-meta-value { font-size: 15px; font-weight: 700; color: var(--white); }
.detail-cta-box { background: var(--white); border-radius: var(--radius); padding: 28px; color: var(--text); }
.detail-cta-box h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.detail-cta-box p { font-size: 13px; color: var(--text-sub); margin-bottom: 20px; line-height: 1.75; }
.detail-body { max-width: 1080px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.detail-content h2 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
.detail-content p { font-size: 14px; color: var(--text-sub); line-height: 1.9; margin-bottom: 24px; }
.detail-content ul { list-style: none; margin-bottom: 24px; }
.detail-content ul li { font-size: 14px; color: var(--text-sub); padding: 8px 0; border-bottom: 1px solid var(--gray-mid); display: flex; align-items: center; gap: 10px; }
.detail-content ul li::before { content: ''; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }
.detail-img { background: var(--gray); border-radius: var(--radius); height: 220px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 12px; margin-bottom: 24px; border: 1px solid var(--gray-mid); }
.sidebar-card { background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow); }
.sidebar-card h3 { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-mid); }

/* ========== PAGE HERO ========== */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); color: var(--white); padding: 56px 24px; text-align: center; }
.page-hero h1 { font-size: clamp(24px, 3.5vw, 38px); font-weight: 800; margin-bottom: 10px; }
.page-hero p { font-size: 15px; color: rgba(255,255,255,.75); }

/* ========== PRICE ========== */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 40px; }
.price-card { background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius); padding: 32px 28px; text-align: center; transition: box-shadow .2s; }
.price-card:hover { box-shadow: var(--shadow-lg); }
.price-card-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--text-light); text-transform: uppercase; margin-bottom: 12px; }
.price-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.price-range { font-size: 28px; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 4px; }
.price-unit { font-size: 12px; color: var(--text-light); margin-bottom: 16px; }
.price-card p { font-size: 13px; color: var(--text-sub); line-height: 1.8; text-align: left; }
.price-featured { border: 2px solid var(--gold); }
.price-featured .price-card-label { color: var(--gold); }

/* ========== FAQ ========== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-mid); }
.faq-q { display: flex; align-items: flex-start; gap: 16px; padding: 24px 0; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--navy); }
.faq-q-badge { flex-shrink: 0; width: 28px; height: 28px; background: var(--navy); color: var(--white); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; margin-top: 1px; }
.faq-a { padding: 0 0 24px 44px; font-size: 14px; color: var(--text-sub); line-height: 1.9; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.required { color: #e53e3e; font-size: 11px; margin-left: 4px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-mid); border-radius: 6px; font-size: 14px; font-family: inherit; transition: border-color .2s; background: var(--white); color: var(--text); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--blue); }
.form-group textarea { height: 120px; resize: vertical; }
.submit-btn { width: 100%; padding: 15px; background: var(--navy); color: var(--white); border: none; border-radius: 6px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; font-family: inherit; }
.submit-btn:hover { background: var(--navy-mid); }
.contact-info-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 32px; margin-bottom: 20px; }
.contact-info-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 16px; font-size: 13px; }
.contact-info-label { color: rgba(255,255,255,.5); min-width: 80px; }
.contact-info-value { color: rgba(255,255,255,.9); line-height: 1.6; }

/* ========== REASONS ========== */
.reasons-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.reason-card { background: var(--white); border-radius: var(--radius); padding: 36px 28px; box-shadow: var(--shadow); }
.reason-num { font-size: 48px; font-weight: 900; color: var(--gold-light); line-height: 1; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.reason-card h3 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.reason-card p { font-size: 13px; color: var(--text-sub); line-height: 1.85; }

/* ========== CTA ========== */
.cta-section { background: var(--navy); padding: 72px 24px; text-align: center; }
.cta-section h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-section p { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 36px; }

/* ========== NOTICE ========== */
.notice { background: var(--gold-light); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 0 6px 6px 0; font-size: 13px; color: var(--text-sub); line-height: 1.75; margin-bottom: 32px; }

/* ========== FOOTER ========== */
.footer { background: #09172b; color: rgba(255,255,255,.5); padding: 52px 24px 32px; }
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-logo span { color: var(--gold); }
.footer-desc { font-size: 12px; line-height: 1.85; }
.footer-nav-title { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.4); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 10px; }
.footer-nav-list a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-nav-list a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-note { font-size: 11px; line-height: 1.7; max-width: 520px; }
.copyright { font-size: 11px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-img-wrap { display: none; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .company-grid { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .reasons-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .detail-hero-inner { grid-template-columns: 1fr; }
  .detail-body { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .company-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .detail-meta-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ========== RANKING SPECIFIC ========== */
.ranking-top3 { display: flex; flex-direction: column; gap: 48px; margin-bottom: 64px; }
.rank-card { background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.rank-card-1 { border-top: 4px solid var(--gold); }
.rank-card-2 { border-top: 4px solid #b0bec5; }
.rank-card-3 { border-top: 4px solid #a1785c; }
.rank-card-inner { display: grid; grid-template-columns: 340px 1fr; }
.rank-card-img { background: var(--gray); min-height: 280px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 13px; flex-direction: column; gap: 8px; border-right: 1px solid var(--gray-mid); }
.rank-card-body { padding: 36px; }
.rank-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.rank-num-large { font-size: 48px; font-weight: 900; line-height: 1; }
.rank-num-1 { color: var(--gold); }
.rank-num-2 { color: #b0bec5; }
.rank-num-3 { color: #a1785c; }
.rank-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--text-light); text-transform: uppercase; }
.rank-card-body h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.rank-card-body .company-tag { margin-bottom: 16px; }
.rank-card-body p { font-size: 14px; color: var(--text-sub); line-height: 1.85; margin-bottom: 20px; }
.rank-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.rank-points li { background: var(--blue-light); color: var(--blue); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; }
.rank-card-footer { display: flex; align-items: center; gap: 16px; padding: 20px 36px; background: var(--gray); border-top: 1px solid var(--gray-mid); }
.rank-meta { display: flex; gap: 24px; flex: 1; flex-wrap: wrap; }
.rank-meta-item { font-size: 13px; }
.rank-meta-item .label { color: var(--text-light); font-size: 11px; display: block; margin-bottom: 2px; }
.rank-meta-item .value { font-weight: 700; color: var(--text); }

.ranking-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.mid-card { background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; }
.mid-card-rank { width: 64px; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; color: rgba(255,255,255,.3); flex-shrink: 0; }
.mid-card-body { padding: 24px; flex: 1; }
.mid-card-body h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.mid-card-body .company-tag { margin-bottom: 10px; }
.mid-card-body p { font-size: 13px; color: var(--text-sub); line-height: 1.75; margin-bottom: 16px; }

.ranking-rest-toggle { text-align: center; margin-bottom: 24px; }
.toggle-btn { background: var(--white); border: 2px solid var(--navy); color: var(--navy); padding: 14px 36px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 10px; font-family: inherit; }
.toggle-btn:hover { background: var(--navy); color: var(--white); }
.toggle-icon { transition: transform .3s; display: inline-block; }
.toggle-icon.open { transform: rotate(180deg); }
.ranking-rest { display: none; }
.ranking-rest.open { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.rest-card { background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius); display: flex; align-items: center; gap: 0; overflow: hidden; }
.rest-card-rank { width: 56px; background: var(--gray); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; color: var(--text-light); flex-shrink: 0; align-self: stretch; }
.rest-card-body { padding: 18px 24px; flex: 1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.rest-card-body h3 { font-size: 16px; font-weight: 800; color: var(--navy); min-width: 160px; }
.rest-card-area { font-size: 12px; color: var(--text-sub); flex: 1; }
.rest-card-tags { display: flex; gap: 8px; }

@media (max-width: 900px) {
  .rank-card-inner { grid-template-columns: 1fr; }
  .rank-card-img { min-height: 200px; border-right: none; border-bottom: 1px solid var(--gray-mid); }
  .ranking-mid { grid-template-columns: 1fr; }
}

/* ========== ARTICLE-STYLE 10-SELECTION LAYOUT ========== */
.article-intro { max-width: 760px; margin: 0 auto 48px; }
.article-intro p { font-size: 15px; line-height: 2; color: var(--text); margin-bottom: 18px; }
.article-intro .lead-link { color: var(--blue); text-decoration: underline; }
.toc-box { background: var(--gray); border: 1px solid var(--gray-mid); border-radius: var(--radius); padding: 28px 32px; max-width: 760px; margin: 0 auto 56px; }
.toc-box h3 { font-size: 14px; font-weight: 800; color: var(--navy); margin-bottom: 16px; letter-spacing: .04em; }
.toc-list { list-style: none; columns: 2; column-gap: 24px; }
.toc-list li { font-size: 13px; padding: 6px 0; break-inside: avoid; }
.toc-list a { color: var(--blue); }
.toc-list a:hover { text-decoration: underline; }
@media (max-width: 640px) { .toc-list { columns: 1; } }

.item-list { display: flex; flex-direction: column; gap: 40px; max-width: 900px; margin: 0 auto; }
.item-card { background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius); overflow: hidden; scroll-margin-top: 90px; }
.item-card-inner { display: grid; grid-template-columns: 280px 1fr; }
.item-card-img { background: var(--gray); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 12px; border-right: 1px solid var(--gray-mid); flex-direction: column; gap: 8px; }
.item-card-body { padding: 28px 32px; }
.item-num { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .06em; margin-bottom: 10px; }
.item-num-circle { width: 30px; height: 30px; background: var(--navy); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.item-card-body h2 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.item-card-body .company-tag { margin-bottom: 14px; }
.item-card-body p { font-size: 14px; color: var(--text-sub); line-height: 1.85; margin-bottom: 18px; }
.item-meta-row { display: flex; gap: 20px; flex-wrap: wrap; padding: 16px 32px; background: var(--gray); border-top: 1px solid var(--gray-mid); align-items: center; }
.item-meta-row .rank-meta-item { font-size: 13px; }
@media (max-width: 760px) {
  .item-card-inner { grid-template-columns: 1fr; }
  .item-card-img { min-height: 160px; border-right: none; border-bottom: 1px solid var(--gray-mid); }
}

/* Photo styling */
.item-card-img img, .hero-img-placeholder img, .company-card-img img, .rank-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-card-img { padding: 0 !important; overflow: hidden; }
.hero-img-placeholder { padding: 0; overflow: hidden; }
.rank-card-img { padding: 0 !important; overflow: hidden; }

/* ===== SITE ACCENT: WATER BLUE ===== */
:root { --accent: #0f6db8; --accent-light: #e7f2fb; --accent-dark: #0a5490; }

/* ===== NEW LISTING CARD (seikatsu110-inspired) ===== */
.listing-card { background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.listing-head { background: var(--accent); padding: 16px 24px; }
.listing-head-num { display: inline-block; background: rgba(255,255,255,.22); color: var(--white); font-size: 11px; font-weight: 800; padding: 2px 10px; border-radius: 50px; margin-bottom: 6px; letter-spacing: .05em; }
.listing-head h2 { color: var(--white); font-size: 19px; font-weight: 800; margin: 0; }
.listing-body { display: block; }
.listing-img { background: var(--gray); overflow: hidden; }
.listing-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 180px; }
.listing-content { padding: 22px 26px; }
.listing-tagline { font-size: 15px; font-weight: 700; color: var(--accent-dark); margin-bottom: 14px; line-height: 1.6; }
.listing-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; margin-bottom: 16px; background: var(--gray); border-radius: 8px; padding: 14px 18px; }
.listing-info-item { display: flex; gap: 8px; font-size: 13px; align-items: baseline; }
.listing-info-label { color: var(--text-light); font-weight: 700; min-width: 68px; flex-shrink: 0; font-size: 12px; }
.listing-info-value { color: var(--text); font-weight: 700; }
.listing-info-value.price { color: var(--accent-dark); font-size: 16px; font-weight: 800; }
.listing-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.listing-tag { background: var(--accent-light); color: var(--accent-dark); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 50px; }
.listing-desc { font-size: 13px; color: var(--text-sub); line-height: 1.8; margin-bottom: 18px; }
.listing-cta-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.listing-btn { background: var(--accent); color: var(--white); padding: 11px 26px; border-radius: 6px; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; transition: background .2s; }
.listing-btn:hover { background: var(--accent-dark); }
@media (max-width: 760px) {
  .listing-body { grid-template-columns: 1fr; }
  .listing-img img { min-height: 160px; }
  .listing-info-grid { grid-template-columns: 1fr; }
}

/* ===== FULL-WIDTH HERO IMAGE ===== */
.hero-image-section { width: 100%; line-height: 0; }
.hero-full-image { width: 100%; height: auto; display: block; }
.hero-cta-bar { background: var(--gray); padding: 28px 20px; text-align: center; border-bottom: 1px solid var(--gray-mid); }

/* Hero image clickable hotspots */
.hero-image-wrap { position: relative; width: 100%; line-height: 0; }
.hero-hotspot { position: absolute; display: block; }
.hero-hotspot-topright { top: 0%; left: 85.3%; width: 14.7%; height: 9.8%; }
.hero-hotspot-bottomright { top: 70%; left: 65%; width: 35%; height: 24%; }

/* Logo images: contain with padding instead of crop */
.listing-img.logo-img { background: var(--white); display: flex; align-items: center; justify-content: center; padding: 16px; }
.listing-img.logo-img img { object-fit: contain; width: 100%; height: 100%; }

/* Hero overlay logo (replaces baked-in image text) */
.hero-logo-overlay { position: absolute; top: 2%; left: 2%; display: flex; align-items: center; gap: 10px; }
.hero-logo-icon { width: 34px; height: 34px; flex-shrink: 0; }
.hero-logo-icon svg { width: 100%; height: 100%; }
.hero-logo-title { font-size: 19px; font-weight: 800; color: #1a2636; line-height: 1.2; }
.hero-logo-title span { color: #1a4fa8; }
.hero-logo-sub { font-size: 11px; color: #8a99ab; margin-top: 2px; }
@media (max-width: 700px) {
  .hero-logo-icon { width: 20px; height: 20px; }
  .hero-logo-title { font-size: 11px; }
  .hero-logo-sub { font-size: 7px; }
}

/* ========== BLOG ========== */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.blog-card { background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-img { background: var(--accent-light); height: 140px; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 13px; border-bottom: 1px solid var(--gray-mid); }
.blog-card-body { padding: 22px 24px; }
.blog-date { font-size: 11px; color: var(--text-light); font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; }
.blog-card h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 10px; line-height: 1.5; }
.blog-card p { font-size: 13px; color: var(--text-sub); line-height: 1.75; margin-bottom: 14px; }
.blog-readmore { font-size: 13px; font-weight: 700; color: var(--accent); }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* Article page */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-meta { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--text-light); margin-bottom: 16px; }
.article-tag { background: var(--accent-light); color: var(--accent-dark); padding: 3px 12px; border-radius: 50px; font-weight: 700; }
.article-body h2 { font-size: 20px; font-weight: 800; color: var(--navy); margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--accent-light); }
.article-body h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin: 28px 0 12px; }
.article-body p { font-size: 15px; color: var(--text); line-height: 2; margin-bottom: 18px; }
.article-body ul { margin: 0 0 20px 0; padding-left: 4px; list-style: none; }
.article-body ul li { font-size: 14px; color: var(--text-sub); line-height: 1.9; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--gray-mid); position: relative; }
.article-body ul li::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; position: absolute; left: 0; top: 17px; }
.article-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.article-table th { background: var(--accent); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 700; }
.article-table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-mid); }
.article-table tr:nth-child(even) { background: var(--gray); }
.article-cta-box { background: var(--accent-light); border-radius: var(--radius); padding: 28px; text-align: center; margin: 36px 0; }
.article-cta-box h3 { color: var(--accent-dark); margin-bottom: 10px; font-size: 17px; }
.article-cta-box p { font-size: 13px; color: var(--text-sub); margin-bottom: 18px; }

/* ========== SIDEBAR LAYOUT (sticky blog/info panel) ========== */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.sidebar-sticky { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: var(--white); border: 1px solid var(--gray-mid); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sidebar-widget-head { background: var(--navy); color: var(--white); padding: 14px 18px; font-size: 14px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.sidebar-widget-body { padding: 6px 0; }
.sidebar-blog-item { display: block; padding: 14px 18px; border-bottom: 1px solid var(--gray-mid); text-decoration: none; }
.sidebar-blog-item:last-child { border-bottom: none; }
.sidebar-blog-tag { display: inline-block; font-size: 10px; font-weight: 700; color: var(--accent); background: var(--accent-light); padding: 2px 8px; border-radius: 50px; margin-bottom: 6px; }
.sidebar-blog-item h4 { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.6; margin: 0; }
.sidebar-blog-item:hover h4 { color: var(--accent); }
.sidebar-cta-widget { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); color: var(--white); padding: 24px 20px; border-radius: var(--radius); text-align: center; }
.sidebar-cta-widget h4 { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.sidebar-cta-widget p { font-size: 11px; color: rgba(255,255,255,.75); margin-bottom: 14px; line-height: 1.7; }
.sidebar-quicklinks { list-style: none; }
.sidebar-quicklinks li { border-bottom: 1px solid var(--gray-mid); }
.sidebar-quicklinks li:last-child { border-bottom: none; }
.sidebar-quicklinks a { display: block; padding: 12px 18px; font-size: 13px; color: var(--text); text-decoration: none; }
.sidebar-quicklinks a:hover { color: var(--accent); background: var(--gray); }

@media (max-width: 960px) {
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar-sticky { position: static; flex-direction: row; overflow-x: auto; }
  .sidebar-widget { min-width: 260px; flex-shrink: 0; }
}
