/* 
========================================
Design Tokens & Reset
========================================
*/
:root {
    /* Colors */
    --color-bg: #FFFFFF;
    --color-surface: #F8F9FA;
    --color-text-main: #111111;
    --color-text-muted: #666666;
    --color-accent: #4EA9CB;
    /* Re:works blue */
    --color-accent-hover: #3b88a5;
    /* Darker blue for hover states */
    --color-border: #EEEEEE;
    --color-navy: #0F172A;
    /* Corporate Navy from reference */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    --gradient-accent: linear-gradient(135deg, #4EA9CB 0%, #3b88a5 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);

    /* Abstract Hero Background Gradient */
    --gradient-abstract: linear-gradient(-45deg, #F8F9FA, #E9ECEF, #FFFFFF, #F1F3F5);

    /* Typography */
    --font-en: 'Inter', sans-serif;
    /* Changed to robust Sans-Serif */
    --font-en-sans: 'Inter', sans-serif;
    --font-ja: 'Zen Kaku Gothic New', sans-serif;
    --font-ja-serif: 'Zen Kaku Gothic New', sans-serif;
    /* Removed serif for a sharper look */

    /* Shadows (Sharper and more subtle) */
    --shadow-glass: 0 4px 24px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);

    /* Spacing */
    --container-width: 1200px;
    /* Made wider for agency feel */
    --section-padding: 120px 20px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-ja);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 
========================================
Background Decorations
========================================
*/
.bg-blobs {
    display: none;
    /* Removed for the sharper agency design */
}

.watermark-text {
    position: absolute;
    font-family: var(--font-en);
    font-size: 15vw;
    font-weight: 300;
    color: var(--color-accent);
    opacity: 0.03;
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
    letter-spacing: 0.1em;
}

/* 
========================================
Typography Utility
========================================
*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-ja-serif);
    font-weight: 400;
    line-height: 1.4;
}

/* 
========================================
Animations
========================================
*/
.js-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 
========================================
Utility Classes
========================================
*/
.sp-br {
    display: none;
}

@media (max-width: 768px) {
    .sp-br {
        display: block;
    }
}

/* 
========================================
Components
========================================
*/

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: 4px;
    /* 女性らしくシャープでモダンな矩形 */
    font-family: var(--font-ja);
    font-weight: 400;
    font-size: 0.9375rem;
    transition: all 0.4s ease;
    cursor: pointer;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.btn--small {
    padding: 12px 32px;
    font-size: 0.875rem;
}

.btn--primary {
    background: var(--color-text-main);
    color: #FFF;
    animation: pulseButton 2s infinite ease-in-out;
}

@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 169, 203, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(78, 169, 203, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(78, 169, 203, 0);
    }
}

.btn--primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn--primary:hover {
    background: var(--color-accent-hover);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover::after {
    left: 100%;
}

.btn--accent {
    background: var(--gradient-accent);
    color: #FFF;
    border-radius: 40px;
    box-shadow: var(--shadow-md);
}

.btn--accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.05);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--gradient-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
}

.header__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__nav a {
    font-family: var(--font-ja);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--color-text-main);
    transition: color 0.3s ease;
    position: relative;
}

.header__nav a.btn {
    color: #FFF;
}

.header__nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.header__nav a:not(.btn):hover::after {
    width: 100%;
}

.header__nav-mobile {
    display: none;
}

.header__hamburger {
    display: none;
    /* Hidden on desktop */
}

/* Hero Section (Abstract Update) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 0;
    position: relative;
    overflow: hidden;
}

.hero__gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    /* Darker hero background for higher impact */
    z-index: 0;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero__badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--color-accent);
    border-radius: 30px;
    font-size: 0.875rem;
    color: var(--color-accent);
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: 0.1em;
    backdrop-filter: blur(4px);
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    color: #FFF;
    line-height: 1.4;
}

.hero__subtitle {
    font-family: var(--font-ja);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 56px;
    letter-spacing: 0.1em;
    line-height: 1.8;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header__nav {
        display: none;
    }

    /* Hamburger Button */
    .header__hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1000;
        /* Above mobile nav */
        position: relative;
    }

    .header__hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: var(--color-text-main);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Hamburger Active State (X) */
    .header__hamburger.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .header__hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .header__hamburger.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Mobile Navigation Overlay */
    .header__nav-mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--gradient-glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .header__nav-mobile.is-active {
        opacity: 1;
        visibility: visible;
    }

    .header__nav-mobile-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        text-align: center;
    }

    .header__nav-mobile-inner a {
        font-family: var(--font-ja);
        font-size: 1.125rem;
        letter-spacing: 0.1em;
        color: var(--color-text-main);
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .header__nav-mobile-inner a.btn {
        color: #FFF;
    }

    .header__nav-mobile.is-active .header__nav-mobile-inner a {
        opacity: 1;
        transform: translateY(0);
    }

    .header__nav-mobile.is-active .header__nav-mobile-inner a:nth-child(1) {
        transition-delay: 0.1s;
    }

    .header__nav-mobile.is-active .header__nav-mobile-inner a:nth-child(2) {
        transition-delay: 0.15s;
    }

    .header__nav-mobile.is-active .header__nav-mobile-inner a:nth-child(3) {
        transition-delay: 0.2s;
    }

    .header__nav-mobile.is-active .header__nav-mobile-inner a:nth-child(4) {
        transition-delay: 0.25s;
    }

    .header__nav-mobile.is-active .header__nav-mobile-inner a:nth-child(5) {
        transition-delay: 0.3s;
    }
}

/* 
========================================
Common Section Styles
========================================
*/
.section {
    padding: var(--section-padding);
    position: relative;
}

.section__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section__header {
    text-align: center;
    margin-bottom: 80px;
}

.section__title-en {
    font-family: var(--font-en);
    font-size: 5rem;
    font-weight: 900;
    color: var(--color-accent);
    /* Blue accent for large headers */
    opacity: 0.1;
    /* Very subtle in background */
    line-height: 1;
    margin-bottom: -20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section__title {
    font-size: 2.25rem;
    font-weight: 700;
    font-family: var(--font-ja-serif);
    letter-spacing: 0.05em;
    color: var(--color-text-main);
}

/* 
========================================
About Section (Message from CEO)
========================================
*/
.about {
    margin: 40px 20px;
    position: relative;
}

.about__glass-card {
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    padding: 80px;
    box-shadow: var(--shadow-glass);
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    /* 左揃えにして手紙っぽく */
    position: relative;
    overflow: hidden;
}

.about__greeting {
    font-size: 1.5rem;
    font-family: var(--font-ja-serif);
    margin-bottom: 32px;
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
    display: inline-block;
    letter-spacing: 0.1em;
}

.about__text {
    font-family: var(--font-ja-serif);
    font-size: 1.125rem;
    line-height: 2.2;
    margin-bottom: 24px;
    color: var(--color-text-main);
    letter-spacing: 0.05em;
}

.about__sign {
    margin-top: 48px;
    text-align: right;
}

.about__sign-title {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    font-family: var(--font-ja);
}

.about__sign-name {
    font-size: 1.5rem;
    font-family: var(--font-ja-serif);
    letter-spacing: 0.3em;
    color: var(--color-text-main);
}


/* スマホではナビボタンを消す・または小さくする */
@media (max-width: 768px) {

    .about {
        margin: 40px 0px;
    }
    
    .about__glass-card {
        padding: 24px 16px;
    }

    .about__text {
        font-size: 0.875rem;
    }
}

/* 
========================================
Service Section
========================================
*/
.service__inner {
    display: flex;
    align-items: center;
    gap: 80px;
}

.service__text-area {
    flex: 1;
    width: 100%;
}

.service__logo {
    max-width: 320px;
    margin-bottom: 32px;
}

.service__desc {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 40px;
    color: var(--color-text-main);
}

.service__image-area {
    flex: 1;
    position: relative;
}

.service__image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.service__image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* 枠ずれを修正したシンプルな装飾ボーダー */
.service__image-deco {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    z-index: 1;
}


/* スマホではナビボタンを消す・または小さくする */
@media (max-width: 768px) {
    .service__desc {
        font-size: 0.875rem;
    }
}

/* 
========================================
Strengths Section
========================================
*/
.strengths__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.strength-card {
    background: var(--color-surface);
    padding: 56px 40px;
    border-radius: 24px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.strength-card__icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--color-accent);
}

.strength-card__title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

.strength-card__desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.text-highlight {
    color: var(--color-accent);
    font-weight: 700;
}



@media (max-width: 768px) {
    .strength-card {
        padding: 24px 16px;
    }
}

/* 
========================================
Case Studies Section
========================================
*/
.cases {
    position: relative;
}

.cases::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-border);
    z-index: 1;
}

.cases__slider {
    padding-bottom: 60px;
    /* ページネーション用の余白 */
    margin: 0 -20px;
    /* コンテナ外へのオーバーフロー調整。これにより画面幅いっぱいにスライダーが広がる */
    padding: 20px 20px 80px;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.case-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.case-card:hover {
    box-shadow: var(--shadow-md);
    background: #fff;
    transform: translateY(-5px);
}

.case-card__img-wrapper {
    position: relative;
    margin-bottom: 24px;
    border-radius: 20px;
    overflow: hidden;
}

.case-card__img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.8s ease;
}

.case-card:hover .case-card__img-wrapper img {
    transform: scale(1.05);
}

.case-card__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8125rem;
    color: var(--color-accent);
    font-weight: 500;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.case-card__content {
    flex: 1;
}

.case-card__income {
    font-size: 1.375rem;
    margin-bottom: 16px;
    font-family: var(--font-ja-serif);
}

.case-card__desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Swiper Customize */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--color-border);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--color-accent);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-accent);
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

/* スマホではナビボタンを消す・または小さくする */
@media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* 
========================================
Company Section
========================================
*/

.company__glass {
    background: var(--gradient-glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 64px;
    box-shadow: var(--shadow-glass);
}

.company__list {
    border-top: 1px solid var(--color-border);
}

.company__row {
    display: flex;
    padding: 24px 0;
    /* Reduced padding for tighter fit */
    border-bottom: 1px solid var(--color-border);
    gap: 16px;
    /* Added gap to ensure spacing even if flex shrinks */
}

.company__row dt {
    width: 100px;
    /* Reduced from 240px to fit side-by-side card */
    font-family: var(--font-ja-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
    flex-shrink: 0;
}

.company__row dd {
    flex: 1;
    line-height: 1.8;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

/* 
========================================
Contact Section
========================================
*/
.contact {
    background: var(--color-navy);
    color: #FFF;
}

.contact__inner {
    max-width: 800px;
}

.contact__desc {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 56px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.contact__form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    /* Glass over dark */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 64px;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-family: var(--font-ja-serif);
    font-size: 1.0625rem;
}

.form-tag {
    font-size: 0.75rem;
    font-family: var(--font-en-sans);
    color: #fff;
    background: var(--color-accent);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFF;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input:focus {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(230, 0, 18, 0.2);
}

textarea.form-input {
    resize: vertical;
    min-height: 160px;
}


/* スマホではナビボタンを消す・または小さくする */
@media (max-width: 768px) {
    .contact__desc {
        text-align-last: left;
        font-size: 0.875rem;
    }

    .contact__desc .is-pc {
        display: none;
    }
}

/* 
========================================
Footer
========================================
*/
.footer {
    background: var(--color-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFF;
}

.footer__cta {
    padding: 120px 20px;
    text-align: center;
    background: var(--color-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer__cta-title {
    font-family: var(--font-en);
    font-size: 4.5rem;
    font-weight: 900;
    color: #FFF;
    /* Pure white for high impact CTA */
    margin-bottom: 24px;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer__cta-text {
    font-family: var(--font-ja-serif);
    font-size: 1.25rem;
    margin-bottom: 48px;
    letter-spacing: 0.1em;
}

.footer__cta-text .is-sp {
    display: none;
}

.footer__bottom {
    padding: 80px 20px 40px;
    text-align: center;
}

.footer__logo img {
    margin: 0 auto;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
}

.footer__links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-en-sans);
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .footer__cta-text .is-sp {
        display: block;
    }
}

/* 
========================================
Responsive Adjustments
========================================
*/
@media (max-width: 992px) {
    .service__inner {
        flex-direction: column;
        gap: 60px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-padding: 100px 20px;
    }

    .section__header {
        margin-bottom: 56px;
    }

    .section__title-en {
        font-size: 2.5rem;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .about__glass-card {
        padding: 40px 24px;
    }

    .about__greeting {
        font-size: 1.25rem;
    }

    .strengths__grid {
        grid-template-columns: 1fr;
    }

    .company__row {
        flex-direction: column;
        gap: 8px;
        /* Adjusted gap for mobile column layout */
    }

    /* Additional layout fixes for mobile */
    .hero__badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .service__logo {
        max-width: 240px;
    }

    .service__image-wrapper img {
        height: auto;
    }

    .about__sign-name {
        font-size: 1.25rem;
    }

    .company__image img {
        aspect-ratio: auto;
        /* Allow natural aspect ratio on mobile */
    }

    .footer__cta-title {
        font-size: 3rem;
    }

    .footer__links {
        flex-direction: column;
        gap: 20px;
    }
}

/* 
========================================
News Section
========================================
*/
.news {
    position: relative;
    z-index: 10;
}

.news__glass-container {
    background: var(--gradient-glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 32px 48px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 40px;
}

.news__header {
    min-width: 120px;
}

.news__title {
    font-family: var(--font-en);
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 8px;
    line-height: 1;
}

.news__more {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.news__more:hover {
    color: var(--color-accent);
}

.news__list {
    width: 100%;
    flex: 1;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news__item {
    display: flex;
    align-items: center;
    background: transparent;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(194, 163, 144, 0.1);
}

.news__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news__date {
    font-family: var(--font-en-sans);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    width: 100px;
}

.news__cat {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: var(--color-border);
    border-radius: 12px;
    margin-right: 24px;
    color: var(--color-text-main);
}

.news__link {
    font-size: 0.9375rem;
    transition: color 0.3s ease;
    flex: 1;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news__link[href]:hover {
    color: var(--color-accent);
}

/* 
========================================
Updates for Hero Image integration
========================================
*/
.hero__image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    /* 写真がより見えるように透明度アップ（元 0.15） */
    mix-blend-mode: multiply;
    z-index: 1;
    filter: saturate(0.8) contrast(1.1);
}

.hero__gradient-bg {
    z-index: 2;
    /* 写真の上にグラデーションをかぶせる */
    opacity: 0.7;
    /* 濃すぎないように調整（元 0.85） */
}

.hero__content {
    z-index: 3;
}

/* 
========================================
Updates for Company Section layout
========================================
*/
.company__content-wrapper {
    display: flex;
    align-items: flex-start;
    /* Changed from center to align image top with list top */
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.company__image {
    flex: 0 0 45%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.company__image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.company__glass {
    flex: 1;
    max-width: 100%;
    padding: 40px;
    /* Reduced padding slightly to give more room for text */
}


@media (max-width: 992px) {
    .news__glass-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding: 24px;
    }

    .company__content-wrapper {
        flex-direction: column;
    }

    .company__glass,
    .contact__form-wrapper {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .news__item {
        display: grid;
        grid-template-columns: 80px 100px auto;
        grid-template-rows: repeat(2, auto);
        width: 100%;
        gap: 8px;
    }

    .news__link {
        grid-column: 1 / 4;
        width: 100%;
        white-space: normal;
    }
}

/*
========================================
Roadmap Section (HTML/CSS Figure)
========================================
*/
.roadmap__container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap__step {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 24px 32px;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}

.roadmap__step::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 48px;
    width: 2px;
    height: 16px;
    background: var(--color-accent);
    opacity: 0.3;
}

.roadmap__step:last-of-type::after {
    display: none;
}

.roadmap__step-days {
    background: var(--color-accent);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-en-sans);
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 120px;
    text-align: center;
    letter-spacing: 0.05em;
}

.roadmap__step-title {
    font-family: var(--font-ja-serif);
    font-size: 1.125rem;
    color: var(--color-text-main);
    line-height: 1.6;
    min-width: 200px;
}

.roadmap__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex: 1;
}

.roadmap__list li {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    background: var(--color-bg);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
}

.roadmap__goal {
    margin-top: 16px;
    background: linear-gradient(135deg, #cc0000 0%, #aa0000 100%);
    color: #fff;
    padding: 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.roadmap__goal-text {
    font-family: var(--font-ja-serif);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .roadmap__step {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .roadmap__step::after {
        left: 50%;
    }

    .roadmap__step-days {
        align-self: flex-start;
    }

    .roadmap__step-title {
        min-width: auto;
    }
}

/*
========================================
Members Showcase (Static Layout)
========================================
*/
.members {
    position: relative;
    text-align: center;
    padding-bottom: 60px;
}

.members__scroll {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.members__scroll img {
    width: 100%;
    height: auto;
    display: block;
}

/*
========================================
YouTube Section
========================================
*/
.youtube__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.youtube-card {
    background: var(--color-surface);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.youtube-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.youtube-card__thumb {
    display: block;
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.youtube-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.4s ease;
    opacity: 0.9;
}

.youtube-card:hover .youtube-card__thumb img {
    transform: scale(1.05);
    opacity: 0.7;
}

.youtube-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(204, 0, 0, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, background 0.4s ease;
}

.youtube-card:hover .youtube-card__play {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(204, 0, 0, 1);
}

.youtube-card__content {
    padding: 32px;
}

.youtube-card__tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-border);
    color: var(--color-text-main);
    font-size: 0.75rem;
    border-radius: 20px;
    margin-bottom: 16px;
    font-family: var(--font-en-sans);
}

.youtube-card__title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.5;
    font-family: var(--font-ja-serif);
}

.youtube-card__desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .youtube__grid {
        grid-template-columns: 1fr;
    }

    .youtube-card__content {
        padding: 24px;
    }
}