/* =========================================
   Reset & Base (Inherited from dlform.html)
   ========================================= */
html {
    font-size: 62.5%;
    /* 1rem = 10px */
    scroll-behavior: smooth;
}

:root {
    --color-primary: #333333;
    --color-accent-brand: #4CB5A2;
    --color-accent-data: #2C5282;
    --color-accent: #4CB5A2;
    --color-bg-gray: #F5F5F5;
    --color-border: #DDDDDD;
    --color-error: #e74c3c;
    --font-base: 'Noto Sans JP', sans-serif;
    --font-en: 'Manrope', sans-serif;
    --header-height: 80px;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-base);
    color: var(--color-primary);
    line-height: 1.6;
    font-size: 1.6rem;
    letter-spacing: 0.01em;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-height);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Utility */
.u-pc-only {
    display: block;
}

.u-sp-only {
    display: none;
}

@media (max-width: 768px) {
    .u-pc-only {
        display: none;
    }

    .u-sp-only {
        display: block;
    }
}

/* Animation */
.js-scroll-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.0s var(--ease-out-expo), transform 1.0s var(--ease-out-expo);
}

.js-scroll-fade-up.is-show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Header (Common)
   ========================================= */
.p-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #fff;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.p-header__logo img {
    width: 180px;
    display: block;
}

.p-header__nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.p-nav__list {
    display: flex;
    align-items: center;
}

.p-nav__item {
    position: relative;
    padding: 0 24px;
}

.p-nav__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background-color: #ccc;
}

.p-nav__link {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    position: relative;
    display: block;
}

.p-nav__link:hover {
    opacity: 0.7;
}

.p-header__right-content {
    display: flex;
    gap: 12px;
    align-items: center;
}

.c-header-btn {
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    background-color: #F5F5F5;
    color: #333;
    padding: 10px 24px;
    transition: all 0.3s;
}

.c-header-btn:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
    opacity: 1;
}

.c-header-btn--primary {
    background-color: #333;
    color: #fff;
}

.c-hamburger {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    margin-left: 10px;
}

.c-hamburger span {
    position: absolute;
    left: 5px;
    width: 30px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s;
}

.c-hamburger span:nth-of-type(1) {
    top: 12px;
}

.c-hamburger span:nth-of-type(2) {
    top: 19px;
}

.c-hamburger span:nth-of-type(3) {
    top: 26px;
}

.c-hamburger.is-active span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 19px;
}

.c-hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
}

.c-hamburger.is-active span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 19px;
}

/* Mobile Menu */
.p-mobile-header {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: #fff;
    z-index: 999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out-expo);
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.p-mobile-header.is-active {
    transform: translateX(0);
}

.p-mobile-header__inner {
    padding: 20px 20px 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.p-mobile-header__nav-item {
    border-bottom: 1px solid #eee;
}

.p-mobile-header__nav-item a {
    display: block;
    padding: 16px 0;
    font-size: 1.6rem;
    font-weight: 700;
}

.p-mobile-header__cta-area {
    margin-top: 2rem;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.c-mobile-cta-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px;
    font-size: 1.6rem;
    font-weight: 700;
    border-radius: 4px;
    gap: 10px;
}

.c-mobile-cta-btn--secondary {
    background-color: #fff;
    color: #333;
    border: 1px solid #333;
}

.c-mobile-cta-btn--primary {
    background-color: #333;
    color: #fff;
    border: 1px solid #333;
}

/* =========================================
   Breadcrumb
   ========================================= */
.p-breadcrumb {
    background-color: var(--color-bg-gray);
    padding: 20px 0;
    font-size: 1.2rem;
    color: #666;
}

.p-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.p-breadcrumb li {
    display: flex;
    align-items: center;
}

.p-breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 8px;
    font-family: var(--font-en);
}

.p-breadcrumb a:hover {
    text-decoration: underline;
}

/* =========================================
   Thanks Page Specific Styles
   ========================================= */
.p-thanks-wrapper {
    padding: 100px 0 120px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Checkmark Animation Icon */
.p-thanks-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    border-radius: 50%;
    background-color: var(--color-accent-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.p-thanks-icon::after {
    content: '';
    width: 24px;
    height: 40px;
    border-bottom: 5px solid #fff;
    border-right: 5px solid #fff;
    transform: rotate(45deg);
    margin-top: -8px;
    display: block;
}

.p-thanks-title {
    font-size: 3.6rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.3;
}

.p-thanks-title span {
    display: block;
    font-size: 1.6rem;
    color: var(--color-accent-brand);
    margin-bottom: 12px;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
}

.p-thanks-lead {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 60px;
    color: #333;
}

/* Download Box */
.p-dl-box {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 50px 40px;
    margin-bottom: 80px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
}

.p-dl-box-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.p-dl-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent-brand);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    padding: 20px 60px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(76, 181, 162, 0.3);
    transition: all 0.3s;
    min-width: 320px;
}

.p-dl-main-btn:hover {
    background-color: #3aa390;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 181, 162, 0.4);
    opacity: 1;
}

.p-dl-note {
    font-size: 1.3rem;
    color: #666;
    margin-top: 16px;
}

/* Next Actions (Cross-sell) */
.p-next-action {
    border-top: 1px solid #eee;
    padding-top: 80px;
}

.p-next-action-title {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 40px;
}

.p-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
}

.c-action-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.c-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--color-accent-brand);
}

.c-action-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.c-action-card p {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.6;
}

.c-action-link {
    font-weight: 700;
    color: var(--color-accent-brand);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* =========================================
   Responsive / Media Queries (Fixed)
   ========================================= */
@media (max-width: 1024px) {

    /* PC Nav & Btn Hidden */
    .p-header__nav,
    .c-header-btn {
        display: none;
    }

    /* Hamburger Show */
    .c-hamburger {
        display: block;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .p-header {
        padding: 0 16px;
    }

    .p-header__logo img {
        width: 140px;
    }

    /* Thanks Page Sp Adjustments */
    .p-thanks-wrapper {
        padding: 60px 0 80px;
    }

    .p-thanks-title {
        font-size: 2.6rem;
    }

    .p-dl-box {
        padding: 30px 20px;
        margin-bottom: 60px;
    }

    .p-dl-main-btn {
        width: 100%;
        min-width: auto;
        padding: 16px;
        font-size: 1.6rem;
    }

    .p-next-action {
        padding-top: 60px;
    }

    .p-action-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .c-action-card {
        padding: 24px;
    }

    /* Footer Responsive */
    .footer-row {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 40px;
    }
}

/* =========================================
   Footer (Common)
   ========================================= */
.site-footer {
    background-color: #222;
    color: #fff;
    padding: 80px 0 20px;
    font-size: 1.3rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-logo img {
    width: 200px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-nav {
    display: flex;
    gap: 60px;
}

.footer-nav h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: #fff;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-family: var(--font-en);
    font-size: 1.2rem;
    opacity: 0.6;
}