/* === GENERAL === */
body {
    font-family: 'Noto Sans JP', 'Roboto', Arial, sans-serif;
    font-size: 16px;
    color: #222;
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: #e30613; text-decoration: none; }
a:hover { color: #c80411; text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: 'Noto Sans JP', 'Roboto', sans-serif;
    font-weight: 700;
    color: #212529;
    margin: 0 0 20px;
}

h1 { font-size: 42px; line-height: 1.15; }
h2 { font-size: 32px; line-height: 1.2; }
h3 { font-size: 22px; }
h4 { font-size: 1.125rem; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; }

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.12);
    padding: 18px 20px;
    font-size: 14px;
    color: #333;
    z-index: 9999;
    display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner .container { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.cookie-banner p { margin: 0; flex: 1; min-width: 220px; }
.cookie-banner .cookie-actions { display:flex; gap:10px; flex-wrap:wrap; }
.cookie-banner .btn-accept { background: #212529; color: #fff; border: 0; padding: 10px 22px; border-radius: 4px; cursor:pointer; font-size:14px; }
.cookie-banner .btn-decline { background: #fff; color: #212529; border: 1px solid #212529; padding: 10px 22px; border-radius: 4px; cursor:pointer; font-size:14px; }
.cookie-banner .btn-settings { background: transparent; color: #6c757d; border: 0; text-decoration: underline; padding: 10px 0px; cursor:pointer; font-size:14px; }

/* === HEADER === */
.site-header {
    background: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #eee;
    transition: all .25s ease;
}
.site-header .header-inner { display:flex; justify-content:space-between; align-items:center; }
.site-header .logo { display:flex; align-items:center; gap:10px; text-decoration:none; }
.site-header .logo svg { width:38px; height:38px; }
.site-header .logo-text { font-size:20px; font-weight:800; color:#212529; letter-spacing:-0.5px; }
.site-header .logo-text span { color:#e30613; }
.site-header .main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.site-header .main-nav a { color: #222; font-weight: 500; font-size:15px; }
.site-header .main-nav a:hover { color: #e30613; text-decoration: none; }
.site-header .nav-cta { background:#e30613; color:#fff !important; padding:8px 18px; border-radius:4px; }
.site-header .nav-cta:hover { background:#c80411; }

/* hamburger */
.burger { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:4px; }
.burger span { display:block; width:24px; height:2px; background:#222; transition:.2s; }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.open span:nth-child(2) { opacity:0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* === HERO === */
.hero {
    background: #f7f7f7;
    padding: 70px 0 90px;
    position: relative;
}
.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: #212529;
    margin-bottom: 18px;
}
.hero p { font-size: 1.125rem; color: #444; margin-bottom: 24px; max-width: 520px; }
.hero .hero-cta { display:flex; gap:12px; flex-wrap:wrap; }
.hero-img { border-radius: 8px; overflow: hidden; }
.hero-img img { width:100%; height:auto; display:block; border-radius:8px; }

/* === BUTTONS === */
.btn {
    display: inline-block;
    background: #e30613;
    border: 1px solid #e30613;
    padding: 12px 24px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    transition: background .2s, border-color .2s;
    cursor: pointer;
    text-decoration:none;
}
.btn:hover { background: #c80411; border-color: #c80411; color:#fff; text-decoration: none; }
.btn-primary { background: #e30613; }
.btn.btn-lg { padding: 16px 32px; font-size: 1.125rem; }
.btn-outline { background: #fff; color: #e30613; border: 1px solid #E30613; }
.btn-outline:hover { background:#e30613; color:#fff; }
.btn-dark { background:#212529; border-color:#212529; color:#fff; }
.btn-dark:hover { background:#111; border-color:#111; color:#fff; }

/* === CATEGORY GRID === */
.category-grid { padding: 60px 0 40px; text-align: center; }
.category-grid h2 { margin-bottom: 8px; }
.category-grid .lead { color: #666; margin-bottom: 36px; }
.category-grid .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.category-grid .cat-item {
    flex: 0 0 calc(16.6667% - 18px);
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 24px 10px;
    transition: box-shadow .25s, transform .25s;
    cursor:pointer;
}
.category-grid .cat-item:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.category-grid .cat-item .icon-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #fff5f5;
    margin: 0 auto 12px;
    display:flex; align-items:center; justify-content:center;
}
.category-grid .cat-item .icon-circle i { font-size:24px; color:#e30613; }
.category-grid .cat-item span { display: block; font-size: 14px; color: #222; font-weight: 500; }
.category-grid .cat-item.last { flex: 0 0 calc(16.6667% - 18px); }

/* === STATS === */
.stats-row { background: #f7f7f7; padding: 60px 0; }
.stats-row .row { display:flex; justify-content: space-around; text-align:center; flex-wrap:wrap; gap:30px; }
.stats-row .stat-item h3 { font-size: 48px; color: #e30613; margin: 0 0 6px; font-weight:800; }
.stats-row .stat-item span { color:#666; font-size: 16px; }

/* === PROCESS / HOW IT WORKS === */
.how-it-works { padding: 80px 0; }
.how-it-works .img-wrap { border-radius: 8px; overflow: hidden; max-width: 460px; }
.how-it-works .img-wrap img { width:100%; height:auto; display:block; }
.how-it-works ol { list-style: none; padding: 0; margin: 0; }
.how-it-works ol li {
    display: flex; align-items: flex-start; gap: 18px;
    margin-bottom: 28px;
}
.how-it-works ol li .num {
    flex: 0 0 42px;
    width:42px; height:42px;
    border:2px solid #e30613;
    color:#e30613;
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-weight:700;
    font-size: 18px;
}
.how-it-works ol li h4 { margin: 0 0 6px; }
.how-it-works ol li p { margin:0; color:#666; font-size: 15px; }

/* === CTA BAND === */
.cta-band { background:#f7f7f7; padding: 60px 0; text-align:center; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { font-size: 22px; font-weight: 600; margin-bottom: 24px; color:#212529; }

/* === PRICING === */
.pricing { padding: 80px 0; }
.pricing h2 { text-align:center; margin-bottom:8px; }
.pricing .lead { text-align:center; color:#666; margin-bottom:40px; }
.pricing .row { display:flex; flex-wrap:wrap; gap:24px; justify-content:center; }
.pricing .price-card {
    flex: 0 0 calc(33.3333% - 24px);
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 32px 28px;
    background:#fff;
    position:relative;
    transition: box-shadow .25s, transform .25s;
}
.pricing .price-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.09); transform:translateY(-3px); }
.pricing .price-card.featured {
    border-color: #e30613;
    box-shadow: 0 4px 18px rgba(227,6,19,0.12);
}
.pricing .price-card .badge {
    position:absolute; top:-12px; left:50%; transform:translateX(-50%);
    background:#e30613; color:#fff; font-size:12px; font-weight:700;
    padding:4px 14px; border-radius:20px; white-space:nowrap;
}
.pricing .price-card h3 { font-size:20px; margin-bottom:8px; }
.pricing .price-card .price-amount { font-size:42px; font-weight:800; color:#e30613; margin-bottom:4px; line-height:1; }
.pricing .price-card .price-amount sup { font-size:18px; vertical-align:top; margin-top:8px; display:inline-block; }
.pricing .price-card .price-period { font-size:14px; color:#999; margin-bottom:20px; }
.pricing .price-card ul { list-style:none; padding:0; margin:0 0 24px; }
.pricing .price-card ul li { padding:8px 0; border-bottom:1px solid #f0f0f0; font-size:15px; color:#444; display:flex; align-items:center; gap:8px; }
.pricing .price-card ul li i { color:#e30613; font-size:13px; }
.pricing .price-card .btn { width:100%; text-align:center; }

/* === REVIEW CARDS === */
.reviews { padding: 60px 0; }
.reviews h2 { text-align:center; margin-bottom:8px; }
.reviews .lead { text-align:center; color:#666; margin-bottom:36px; }
.reviews .row { display:flex; flex-wrap:wrap; gap:20px; }
.reviews .review-card {
    flex: 1 1 calc(33.3333% - 20px);
    background:#fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 22px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.reviews .review-card h4 { font-size: 16px; margin-bottom: 4px; }
.reviews .review-card .meta { color:#999; font-size: 13px; margin-bottom: 12px; }
.reviews .review-card .stars { color:#ffc107; margin-bottom: 8px; font-size: 14px; }
.reviews .review-card .body { font-size: 14px; color: #444; margin-bottom: 14px; line-height: 1.45; }
.reviews .review-card a.more { color:#e30613; font-size: 14px; font-weight:500; }
.reviews .review-card.last { margin-right: 0 !important; }
.reviews .review-card.last { padding-right: 22px !important; } /* duplicate */

/* === ARTICLE GRID === */
.articles { padding: 70px 0 40px; }
.articles h2 { margin-bottom:8px; }
.articles .lead { color:#666; margin-bottom:36px; }
.articles .row { display:flex; flex-wrap:wrap; gap:24px; }
.articles .article-card { flex: 1 1 calc(25% - 24px); margin-bottom: 30px; }
.articles .article-card .img-wrap { border-radius: 6px; overflow:hidden; margin-bottom: 14px; }
.articles .article-card .img-wrap img { width:100%; height:200px; object-fit:cover; display:block; }
.articles .article-card .meta-row { display:flex; gap: 14px; font-size: 12px; color:#6c757d; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.articles .article-card h3 { font-size: 20px; margin-bottom: 8px; }
.articles .article-card p { color:#555; font-size: 14px; margin-bottom: 10px; }
.articles .article-card a.read-more { color: #e30613; font-weight: 600; font-size: 14px; }

/* === INFO CARDS 2x2 === */
.info-cards { padding: 50px 0 70px; }
.info-cards h2 { text-align:center; margin-bottom:8px; }
.info-cards .lead { text-align:center; color:#666; margin-bottom:36px; }
.info-cards .row { display:flex; flex-wrap:wrap; gap:20px; }
.info-cards .infoCard {
    flex: 1 1 calc(50% - 20px);
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 24px;
    background:#fff;
}
.info-cards .infoCard h4 { font-size: 18px; margin-bottom: 10px; }
.info-cards .infoCard .meta { color:#999; font-size: 12px; margin-bottom: 14px; display:flex; gap: 16px; }
.info-cards .infoCard p { color:#555; font-size: 14px; line-height: 1.5; margin-bottom: 12px; }

/* === LONG FORM EXPLAINER === */
.explainer { padding: 70px 0; }
.explainer h2 { text-align:center; margin-bottom: 28px; }
.explainer h3 { font-size: 18px; margin: 24px 0 8px; }
.explainer p { color:#444; margin-bottom: 14px; }
.explainer ul { padding-left: 18px; margin-bottom: 16px; color:#444; }
.explainer .cta-bar {
    background: #e30613;
    color:#fff;
    border-radius: 6px;
    padding: 18px 22px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}
.explainer .cta-bar p { color:#fff; margin: 0; font-weight: 600; }
.explainer .cta-bar .btn { background:#fff; color:#e30613; border-color:#fff; }

/* === TESTIMONIALS === */
.testimonials { padding: 60px 0 80px; background:#f7f7f7; }
.testimonials h2 { text-align:center; margin-bottom: 36px; }
.testimonials .row { display:flex; flex-wrap:wrap; gap:20px; }
.testimonials .quote { flex:1 1 calc(33.3333% - 20px); background:#fff; padding: 22px; border-radius: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.04); }
.testimonials .quote p { font-size: 15px; color: #444; margin-bottom: 18px; line-height: 1.5; }
.testimonials .quote .person { display:flex; align-items:center; gap: 12px; }
.testimonials .quote .person .avatar { width: 42px; height: 42px; border-radius: 50%; background:#e5e5e5; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.testimonials .quote .person .avatar i { color:#999; font-size:18px; }
.testimonials .quote .person span { font-size: 14px; color: #212529; font-weight:500; }

/* === FAQ === */
.faq { padding: 70px 0; }
.faq h2 { text-align:center; margin-bottom: 32px; }
.faq .q { border-bottom:1px solid #eee; padding: 18px 0; cursor:pointer; }
.faq .q h4 { font-size: 16px; margin: 0; display:flex; justify-content:space-between; align-items:center; }
.faq .q h4 i { font-size:13px; color:#999; transition:transform .2s; }
.faq .q.open h4 i { transform:rotate(180deg); }
.faq .q .a { display:none; padding-top: 10px; color:#444; font-size: 14px; }
.faq .q.open .a { display:block; }

/* === CONTACT FORM === */
.contact-section { padding: 80px 0; }
.contact-section h1 { margin-bottom:10px; }
.contact-section .lead { color:#666; margin-bottom:40px; }
.contact-section .row { display:flex; flex-wrap:wrap; gap:40px; }
.contact-section .contact-info { flex:0 0 300px; }
.contact-section .contact-info h3 { font-size:20px; margin-bottom:20px; }
.contact-section .contact-info .info-item { display:flex; gap:14px; margin-bottom:20px; align-items:flex-start; }
.contact-section .contact-info .info-item i { color:#e30613; font-size:18px; margin-top:2px; }
.contact-section .contact-info .info-item p { margin:0; font-size:15px; color:#444; line-height:1.5; }
.contact-section .contact-form-wrap { flex:1; }
.form-group { margin-bottom:20px; }
.form-group label { display:block; font-weight:600; margin-bottom:6px; font-size:15px; }
.form-group input, .form-group textarea, .form-group select {
    width:100%; padding:12px 14px;
    border:1px solid #ced4da;
    border-radius:4px;
    font-size:15px;
    font-family:inherit;
    transition:border-color .2s;
    box-sizing:border-box;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color:#e30613; outline:none; }
.form-group textarea { min-height:140px; resize:vertical; }
.form-required { color:#e30613; margin-left:2px; }

/* === PAGE HERO (inner pages) === */
.page-hero { background:#f7f7f7; padding: 60px 0 50px; border-bottom:1px solid #e5e5e5; }
.page-hero h1 { margin-bottom:12px; }
.page-hero p { color:#555; font-size:1.125rem; max-width:620px; }

/* === TEXT PAGE === */
.text-page { padding: 70px 0; }
.text-page h2 { font-size:24px; margin:32px 0 12px; }
.text-page h3 { font-size:20px; margin:24px 0 10px; }
.text-page p { color:#444; margin-bottom:16px; line-height:1.7; }
.text-page ul, .text-page ol { padding-left:22px; margin-bottom:18px; color:#444; line-height:1.7; }
.text-page li { margin-bottom:6px; }

/* bg style inline */
.bg-grey { background:#f7f7f7; }
.section-pad { padding:60px 0; }
.video-consent { background:rgba(0,0,0,.55); color:#fff; padding:40px 20px; text-align:center; border-radius:6px; }
.video-consent .btn { background:#fff; color:#212529; border-color:#fff; }

/* === FOOTER === */
.site-footer { background:#212529; color:#bbb; padding: 50px 0 20px; font-size: 14px; }
.site-footer a { color:#bbb; }
.site-footer a:hover { color:#fff; }
.site-footer h5 { color:#fff; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.site-footer .footer-row { display:flex; flex-wrap:wrap; gap:30px; }
.site-footer .footer-col { flex:1; min-width:140px; }
.site-footer .footer-col ul { list-style:none; padding:0; margin:0; }
.site-footer .footer-col ul li { margin-bottom:8px; }
.site-footer .footer-logo { font-size:18px; font-weight:800; color:#fff; margin-bottom:12px; }
.site-footer .footer-logo span { color:#e30613; }
.site-footer .footer-desc { font-size:13px; color:#888; line-height:1.6; margin-bottom:16px; }
.site-footer .social-links { display:flex; gap:12px; margin-bottom:16px; }
.site-footer .social-links a { width:34px; height:34px; background:#333; border-radius:4px; display:flex; align-items:center; justify-content:center; transition:background .2s; }
.site-footer .social-links a:hover { background:#e30613; }
.site-footer .social-links a i { color:#bbb; font-size:15px; }
.site-footer .copy { border-top:1px solid #333; padding-top: 16px; margin-top: 30px; font-size: 12px; color:#777; text-align:center; }

/* === UTILITY === */
.clearfix:after { content:""; display:table; clear:both; }
.pull-left { float:left; }
.pull-right { float:right; }
.hidden-xs { }
.text-center { text-align:center !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px !important; }

/* row/col helpers */
.row { display:flex; flex-wrap:wrap; }
.col-lg-5 { flex: 0 0 41.666%; max-width:41.666%; }
.col-lg-6 { flex: 0 0 50%; max-width:50%; }
.col-lg-7 { flex: 0 0 58.333%; max-width:58.333%; }
.align-items-center { align-items:center; }
.d-flex { display:flex; }
.justify-content-between { justify-content:space-between; }
.gap-3 { gap:16px; }

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .container { max-width: 100%; }
    .hero { padding: 50px 0 60px; }
    .hero h1 { font-size: 36px; }
    .category-grid .cat-item { flex: 0 0 calc(33.3333% - 18px); }
    .how-it-works .col-lg-5 { flex:0 0 100%; max-width:100%; }
    .how-it-works .col-lg-7 { flex:0 0 100%; max-width:100%; }
    .how-it-works .img-wrap { margin: 0 auto 30px; max-width:100%; }
    .col-lg-5, .col-lg-6, .col-lg-7 { flex:0 0 100%; max-width:100%; }
    .pricing .price-card { flex: 0 0 calc(50% - 24px); }
    .reviews .review-card { flex: 0 0 calc(50% - 20px); }
    .articles .article-card { flex: 0 0 calc(50% - 24px); }
}

@media (max-width: 767px) {
    h1 { font-size: 30px; }
    h2 { font-size: 24px; }
    .hero { padding: 40px 0 50px; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 16px; }
    .category-grid .cat-item { flex: 0 0 calc(50% - 12px); }
    .stats-row .row { gap: 30px; }
    .how-it-works { padding: 50px 0; }
    .reviews .review-card { flex:0 0 100%; margin-bottom: 16px; }
    .articles .article-card { flex:0 0 100%; margin-bottom: 24px; }
    .info-cards .infoCard { flex:0 0 100%; }
    .explainer .cta-bar { flex-direction: column; gap: 14px; text-align:center; }
    .site-footer { padding: 40px 0 20px; }
    .pricing .price-card { flex:0 0 100%; }
    .testimonials .quote { flex:0 0 100%; }
    .site-header .main-nav { display:none; position:absolute; top:100%; left:0; right:0; background:#fff; border-bottom:1px solid #eee; padding:16px 20px; }
    .site-header .main-nav.open { display:block; }
    .site-header .main-nav ul { flex-direction:column; gap:0; }
    .site-header .main-nav ul li { border-bottom:1px solid #f0f0f0; }
    .site-header .main-nav a { display:block; padding:10px 0; }
    .burger { display:flex; }
    .contact-section .contact-info { flex:0 0 100%; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    .btn { padding: 12px 18px; font-size: 14px; }
    .category-grid .cat-item { flex: 0 0 100%; }
    .stats-row .stat-item h3 { font-size: 36px; }
}

/* TODO: refactor mobile */
