:root {
    --theme: #ee4136;
    --theme-dark: #b72a22;
    --theme-deep: #65120f;
    --theme-light: #fff3f2;
    --theme-soft: #ffe3e0;
    --theme-accent: #ff6b60;
    --theme-hover: #d3342b;
    --theme-border: rgba(238, 65, 54, 0.24);
    --header-bg: #841d18;
    --header-bg-2: #ae2a22;
    --text-main: #351412;
    --text-muted: #76524f;
    --on-theme: #ffffff;
    --on-header: #ffffff;
    --on-dark: #ffffff;
    --white: #ffffff;
    --shadow-soft: 0 18px 48px rgba(132, 29, 24, 0.16);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--theme-light);
    color: var(--text-main);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: var(--theme-dark);
}

img {
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container,
.section-inner,
.header-inner,
.footer-inner,
.hero-inner {
    width: min(1280px, calc(100% - 80px));
    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: 78px 0;
}

.section-soft {
    background: linear-gradient(180deg, var(--theme-soft) 0%, var(--theme-light) 100%);
}

.section-heading {
    max-width: 820px;
    margin-bottom: 34px;
}

.centered-heading {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2 {
    margin: 10px 0 14px;
    color: var(--theme-dark);
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: 1.14;
    letter-spacing: -0.025em;
}

.section-heading p,
.prose-copy p {
    color: var(--text-muted);
    font-size: 17px;
}

.eyebrow,
.hero-badge,
.hero-tags span,
.tag,
.badge,
.category-pill {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: max-content;
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--theme-soft);
    color: var(--theme-dark);
    border: 1px solid var(--theme-border);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-2) 100%);
    color: var(--on-header);
    box-shadow: 0 14px 34px rgba(101, 18, 15, 0.24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    overflow: visible;
}

.header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    overflow: visible;
}

.site-logo,
.drawer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: visible;
}

.site-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 190px;
    max-height: 72px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.main-nav a {
    position: relative;
    color: var(--on-header);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    padding: 28px 0 25px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 17px;
    height: 3px;
    border-radius: 999px;
    background: var(--theme-accent);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--white);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 22px;
    border: 0;
    background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%);
    color: var(--on-theme);
    border-radius: 999px;
    box-shadow: 0 14px 28px rgba(82, 10, 19, 0.28);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 900;
    transition: transform .2s ease, filter .2s ease;
}

.main-btn:hover {
    transform: translateY(-2px);
    filter: brightness(.96);
}

.mobile-menu-toggle {
    display: none;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--on-header);
    border-radius: 999px;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform .28s ease;
    z-index: 10001;
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--theme-deep) 100%);
    color: var(--on-header);
    box-shadow: 28px 0 60px rgba(82, 10, 19, 0.32);
    padding: 20px;
    overflow-y: auto;
}

.mobile-drawer.is-open {
    transform: translateX(0);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 10000;
    background: rgba(82, 10, 19, 0.58);
    transition: opacity .28s ease, visibility .28s ease;
}

.drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.drawer-logo img {
    display: block;
    max-width: 150px;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.drawer-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--on-header);
    font-size: 27px;
    cursor: pointer;
}

.drawer-nav {
    display: grid;
    gap: 8px;
    padding-top: 18px;
}

.drawer-nav a {
    padding: 11px 12px;
    color: var(--on-header);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
}

.drawer-nav a.active,
.drawer-nav a:hover {
    background: rgba(255, 255, 255, 0.14);
}

.hero-section {
    padding: 72px 0 48px;
    background:
        radial-gradient(circle at 14% 20%, rgba(208, 28, 45, 0.18) 0%, transparent 34%),
        linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: 56px;
}

.hero-content h1 {
    max-width: 820px;
    font-size: clamp(42px, 4.2vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 16px 0 22px;
    color: var(--theme-dark);
}

.hero-content p {
    max-width: 760px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-main);
    margin: 0 0 28px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-visual,
.page-hero-visual,
.app-visual,
.card-media,
.media-box {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-media-box {
    width: min(100%, 540px);
    min-height: 320px;
    max-height: 420px;
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
    border: 1px solid var(--theme-border);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-media-box img {
    max-width: 100%;
    max-height: 340px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
}

.info-section {
    padding: 32px 0 52px;
    background: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.info-card,
.category-card,
.feature-card,
.point-card,
.feedback-card,
.faq-item,
.notice,
.visual-card,
.news-card,
.service-card {
    background: var(--white);
    color: var(--text-main);
    border: 1px solid var(--theme-border);
    box-shadow: var(--shadow-soft);
    border-radius: 24px;
    min-height: auto;
    height: auto;
    padding: 28px;
}

.info-card::before,
.category-card::before,
.feature-card::before,
.point-card::before,
.news-card::before,
.service-card::before {
    content: '';
    display: block;
    width: 52px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--theme), var(--theme-accent));
    margin-bottom: 16px;
}

.info-card span,
.card-number {
    color: var(--theme);
    font-weight: 900;
}

.info-card h2,
.category-card h3,
.feature-card h3,
.point-card h3,
.news-card h3,
.service-card h3 {
    color: var(--theme-dark);
    margin: 10px 0;
    line-height: 1.3;
}

.info-card p,
.category-card p,
.feature-card p,
.point-card p,
.news-card p,
.service-card p {
    color: var(--text-muted);
    margin: 0;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.category-pills a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--white);
    color: var(--theme-dark);
    border: 1px solid var(--theme-border);
    text-decoration: none;
    font-weight: 800;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.category-pills a:hover {
    background: linear-gradient(180deg, var(--theme-accent), var(--theme));
    color: var(--on-theme);
    transform: translateY(-2px);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.category-card a,
.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--theme-dark);
    font-weight: 900;
    text-decoration: none;
    border-bottom: 2px solid var(--theme-accent);
}

.service-grid,
.feedback-grid,
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.alternating-grid,
.app-grid,
.page-hero-grid,
.prose-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    align-items: center;
    gap: 54px;
}

.alternating-grid.reverse .alternating-visual {
    order: -1;
}

.alternating-copy h2,
.app-copy h2,
.page-hero-copy h1 {
    color: var(--theme-dark);
    font-size: clamp(32px, 3.8vw, 54px);
    line-height: 1.14;
    letter-spacing: -0.025em;
    margin: 12px 0 20px;
}

.alternating-copy p,
.app-copy p,
.page-hero-copy p {
    color: var(--text-muted);
    font-size: 17px;
}

.alternating-copy ul,
.app-copy ul,
.prose-copy ul {
    padding-left: 22px;
}

.alternating-copy li,
.app-copy li {
    margin: 8px 0;
}

.visual-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
}

.visual-card img,
.media-box img,
.hero-visual img,
.app-visual img,
.card-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.app-section {
    background: linear-gradient(135deg, var(--theme-deep) 0%, var(--header-bg-2) 100%);
    color: var(--on-dark);
}

.app-section .app-copy h2,
.app-section .app-copy p,
.app-section .app-copy li,
.app-section .eyebrow {
    color: var(--on-dark);
}

.app-section .eyebrow {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.22);
}

.app-visual .visual-card {
    background: rgba(255, 255, 255, 0.96);
}

.feedback-card {
    margin: 0;
    position: relative;
}

.feedback-card::before {
    content: '“';
    display: block;
    color: var(--theme);
    font-size: 54px;
    line-height: .7;
    font-weight: 900;
}

.feedback-card p {
    margin: 14px 0 0;
    color: var(--text-muted);
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    padding: 0;
    overflow: visible;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 26px;
    color: var(--theme-dark);
    font-weight: 900;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
    color: var(--theme);
    font-size: 24px;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin: 0;
    padding: 0 26px 24px;
    color: var(--text-muted);
}

.notice-section {
    padding-top: 48px;
}

.compliance-notice {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, var(--theme-deep) 0%, var(--header-bg-2) 100%);
    color: var(--on-dark);
}

.compliance-notice h2,
.compliance-notice p {
    color: var(--on-dark);
    margin-top: 0;
}

.notice-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: var(--white);
    color: var(--theme-dark);
    font-size: 24px;
    font-weight: 900;
}

.page-hero {
    padding: 68px 0 58px;
    background:
        radial-gradient(circle at 84% 12%, rgba(208, 28, 45, 0.18) 0%, transparent 32%),
        linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%);
}

.page-hero-copy h1 {
    font-size: clamp(40px, 4.4vw, 62px);
}

.topic-media-box {
    width: min(100%, 540px);
    min-height: 360px;
    max-height: 460px;
    padding: 32px;
    border-radius: 30px;
    background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
    border: 1px solid var(--theme-border);
    box-shadow: var(--shadow-soft);
}

.topic-media-box img {
    max-height: 380px;
}

.prose-grid {
    align-items: start;
}

.prose-copy p:first-child {
    margin-top: 0;
}

.point-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.point-card {
    padding: 22px;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.related-links a {
    display: inline-flex;
    padding: 11px 16px;
    border-radius: 14px;
    border: 1px solid var(--theme-border);
    background: var(--white);
    color: var(--theme-dark);
    text-decoration: none;
    font-weight: 800;
}

.related-links a:hover {
    background: var(--theme-soft);
}

.footer {
    background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%);
    color: var(--on-dark);
    padding-top: 62px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 38px;
}

.footer-brand img {
    display: block;
    max-width: 190px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 18px;
}

.footer-brand p,
.footer-bottom p {
    color: rgba(255, 255, 255, 0.78);
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-column h2 {
    color: var(--on-dark);
    font-size: 18px;
    margin: 0 0 10px;
}

.footer a {
    color: var(--on-dark);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 24px 0 32px;
}

.footer-bottom-inner {
    display: block;
}

.footer-bottom p {
    margin: 7px 0;
    font-size: 14px;
}

@media (min-width: 1440px) {
    .container,
    .section-inner,
    .header-inner,
    .footer-inner,
    .hero-inner {
        width: min(1360px, calc(100% - 120px));
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(480px, .95fr);
        gap: 80px;
    }

    .hero-media-box {
        max-width: 560px;
        min-height: 400px;
    }
}

@media (max-width: 1180px) {
    .main-nav {
        gap: 12px;
    }

    .main-nav a {
        font-size: 13px;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .header-inner {
        width: min(100% - 28px, 1280px);
        min-height: 68px;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
    }

    .main-nav {
        display: none;
    }

    .site-logo {
        justify-self: center;
    }

    .site-logo img {
        max-width: min(150px, 42vw);
        max-height: 56px;
    }

    .header-actions {
        justify-self: end;
    }

    .header-actions .main-btn {
        white-space: nowrap;
        padding: 10px 16px;
    }

    .hero-section {
        padding: 48px 0 36px;
    }

    .hero-inner,
    .alternating-grid,
    .app-grid,
    .page-hero-grid,
    .prose-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-content h1 {
        font-size: clamp(36px, 8vw, 52px);
    }

    .hero-media-box,
    .topic-media-box {
        max-width: 100%;
        min-height: 300px;
        padding: 24px;
    }

    .hero-media-box img,
    .topic-media-box img {
        max-height: 300px;
    }

    .info-grid,
    .service-grid,
    .feedback-grid,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alternating-grid.reverse .alternating-visual {
        order: 0;
    }

    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .container,
    .section-inner,
    .header-inner,
    .footer-inner,
    .hero-inner {
        width: min(100% - 32px, 1280px);
    }

    .section {
        padding: 56px 0;
    }

    .info-grid,
    .category-grid,
    .service-grid,
    .feedback-grid,
    .news-grid,
    .point-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero-content h1,
    .page-hero-copy h1 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .hero-media-box,
    .topic-media-box,
    .visual-card {
        min-height: 250px;
    }

    .compliance-notice {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .notice-mark {
        width: 68px;
        height: 68px;
    }

    .footer-brand img {
        max-width: 160px;
    }
}

@media (max-width: 390px) {
    .header-inner {
        width: min(100% - 20px, 1280px);
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 8px;
    }

    .site-logo img {
        max-width: min(120px, 36vw);
        max-height: 48px;
    }

    .header-actions .main-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}
