:root {
    /* Color Palette */
    --color-primary: #003366;
    /* Deep Navy */
    --color-secondary: #0055aa;
    /* Bright Blue */
    --color-accent: #ff8c00;
    /* Dark Orange */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg-light: #f8f9fa;
    --color-white: #ffffff;

    /* System */
    --container-width: 1100px;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-outfit: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    line-height: 1.4;
}

/* Header */
.header {
    height: 100px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header__logo .logo-main {
    font-family: var(--font-outfit);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    line-height: 1;
}

.header__logo .logo-sub {
    font-size: 0.75rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.header__list {
    display: flex;
    gap: 32px;
    font-weight: 500;
    font-size: 1rem;
}

.header__list a:hover {
    color: var(--color-secondary);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Hero */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero__content {
    max-width: 650px;
    flex-shrink: 0;
}

.hero__visual {
    flex-grow: 1;
    position: relative;
}

.hero__visual img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.hero__visual::after {
    content: "";
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-secondary);
    border-radius: 20px;
    z-index: -1;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
    word-break: keep-all;
}

.hero__title .highlight {
    color: var(--color-secondary);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 10px;
}

.hero__lead {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--color-text-light);
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero__caption {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 32px;
    cursor: pointer;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn--primary:hover {
    background: #e67e00;
    transform: translateY(-2px);
}

.btn--xl {
    padding: 20px 48px;
    font-size: 1.2rem;
}

/* Problems */
.section--problem {
    background: var(--color-white);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.problem-card {
    background: var(--color-bg-light);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.problem-card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.problem-card__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.problem-footer {
    text-align: center;
    font-size: 1.5rem;
}

/* Value Section */
.value-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.value-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 30px;
    background: var(--color-bg-light);
    border-radius: 15px;
}

.value-item__num {
    font-family: var(--font-outfit);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    opacity: 0.3;
}

.value-item__text h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Plans Section */
.section--plans {
    background: #f0f4f8;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: flex-start;
}

.plan-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #eee;
}

.plan-card--featured {
    border: 2px solid var(--color-secondary);
    transform: scale(1.05);
    z-index: 1;
}

.plan-card__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.plan-card__head {
    text-align: center;
    margin-bottom: 30px;
}

.plan-name {
    font-family: var(--font-outfit);
    font-size: 1.2rem;
    color: var(--color-secondary);
    font-weight: 700;
}

.plan-title {
    font-size: 1.5rem;
    margin: 10px 0;
}

.plan-price {
    font-family: var(--font-outfit);
    font-size: 1.25rem;
    font-weight: 700;
}

.plan-price span {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.plan-list {
    margin-bottom: 40px;
    flex-grow: 1;
}

.plan-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.plan-list li::before {
    content: "✓";
    margin-right: 10px;
    color: var(--color-secondary);
    font-weight: 700;
}

.plan-footer {
    text-align: center;
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn--outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* Case Study Section */
.cases-full-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.case-detail-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--color-secondary);
}

.case-detail-card__header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.case-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 5px;
}

.case-detail-title {
    font-size: 1.5rem;
    line-height: 1.4;
}

.case-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.case-detail-col h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.case-detail-col p,
.case-detail-col li {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.check-list {
    padding-left: 20px;
}

.check-list li {
    position: relative;
    margin-bottom: 10px;
}

.check-list li::before {
    content: "•";
    position: absolute;
    left: -20px;
    color: var(--color-accent);
    font-weight: 700;
}

@media (max-width: 992px) {
    .case-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Responsive Updates */
@media (max-width: 992px) {

    .plans-grid,
    .cases-row {
        grid-template-columns: 1fr;
    }

    .plan-card--featured {
        transform: none;
        order: -1;
    }
}

/* Profile Section */
.profile-flex {
    display: flex;
    gap: 60px;
    align-items: center;
}

.profile-img {
    width: 300px;
    height: 300px;
    background: #eef2f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    border: 10px solid #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.profile-label {
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.profile-name {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.profile-name span {
    font-size: 1rem;
    font-weight: 400;
    margin-left: 15px;
}

.profile-title {
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.profile-bio p {
    margin-bottom: 15px;
}

/* Contact Section */
.section--contact {
    background: var(--color-primary);
    color: var(--color-white);
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
}

.section--contact .section-title {
    color: var(--color-white);
    margin-bottom: 20px;
}

.contact-lead {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-form {
    background: var(--color-white);
    padding: 50px;
    border-radius: 20px;
    color: var(--color-text);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 80px 0 0;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    padding-bottom: 60px;
}

.footer__logo {
    font-family: var(--font-outfit);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.footer__produced {
    color: var(--color-text-light);
    font-weight: 500;
}

.footer__col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer__col ul li {
    margin-bottom: 10px;
}

.footer__col ul a {
    color: var(--color-text-light);
}

.footer__col ul a:hover {
    color: var(--color-secondary);
}

.footer__bottom {
    background: #eee;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* SP Updates */
/* Mobile Base Layout & Overflow Fixes */
@media (max-width: 992px) {
    :root {
        --container-width: 100%;
    }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    /* Header & Navigation (Hamburger Menu Pattern) */
    .header {
        height: 80px;
    }

    .header__nav {
        display: none;
        /* Hidden by default on mobile */
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .header__nav.is-active {
        display: flex;
    }

    .header__list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .header__cta {
        width: 100%;
        text-align: center;
    }

    .header__cta .btn {
        width: 100%;
    }

    /* Hamburger Menu Trigger */
    .menu-trigger {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        background: none;
        border: none;
        cursor: pointer;
    }

    .menu-trigger span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-primary);
        position: absolute;
        left: 0;
        transition: var(--transition);
    }

    .menu-trigger span:nth-child(1) {
        top: 0;
    }

    .menu-trigger span:nth-child(2) {
        top: 11px;
    }

    .menu-trigger span:nth-child(3) {
        top: 22px;
    }

    .menu-trigger.is-active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .menu-trigger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-trigger.is-active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    /* Hero Section Mobile */
    .hero {
        height: auto;
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero__inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__title {
        font-size: 2.2rem;
        word-break: normal;
        /* Better for mobile titles */
        line-height: 1.3;
    }

    .hero__title .highlight {
        font-size: 1.2rem;
    }

    .hero__lead {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero__actions {
        align-items: center;
    }

    .hero__visual {
        width: 100%;
    }

    .hero__visual img {
        max-width: 100%;
        box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
    }

    .hero__visual::after {
        display: none;
    }

    /* Grids & Cards */
    .problem-grid,
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .problem-card,
    .plan-card {
        padding: 30px 20px;
    }

    .plan-card--featured {
        transform: none;
        margin: 20px 0;
    }

    /* Case Studies Mobile */
    .case-detail-card {
        padding: 25px 20px;
    }

    .case-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .case-detail-title {
        font-size: 1.3rem;
    }

    /* Profile Section */
    .profile-flex {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .profile-img {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }

    .profile-name {
        font-size: 1.8rem;
    }

    /* Contact Section */
    .contact-form {
        padding: 30px 20px;
    }

    .btn--xl {
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    /* Footer */
    .footer__inner {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer__logo-area {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer__links {
        justify-content: center;
    }
}

/* Contact Form Enhancements */
.required {
    font-size: 0.8rem;
    background: #e74c3c;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    text-align: center;
    font-weight: bold;
}

.form-result.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-result.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

   