/* ==========================================================================
   Corporation Page Styles (会社概要ページ)
   VALLEYHILL Corporate Website
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.corporation-page {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #353535;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.corp-hero {
    position: relative;
    width: 100%;
    min-height: 580px;
    height: 90vh;
    max-height: 700px;
    background: linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.50)),
                url('/images/corporation.png') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 60px;
    box-sizing: border-box;
    margin: 70px auto 0;
}

.corp-hero-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.corp-hero-logo {
    max-width: 85%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.corp-hero-title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.6;
    color: #ffffff;
    margin: 28px 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.02em;
}

.corp-hero-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.corp-hero-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.corp-hero-social-link:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.corp-hero-social-link img {
    width: 100%;
    height: 100%;
    display: block;
}

.corp-hero-social-link.whatsapp {
    width: 44px;
    height: 44px;
}


/* --------------------------------------------------------------------------
   Page Body Container
   -------------------------------------------------------------------------- */
.corp-main {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.corp-container {
    width: 100%;
    margin: 0;
    padding: 100px 0 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 80px;
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Vision Section (バレーヒルのビジョン)
   -------------------------------------------------------------------------- */
.corp-vision {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    margin: 10px 0 30px;
}

.corp-vision-left-accent {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 85%;
    min-height: 260px;
    max-height: 320px;
    background-color: #EA6C6C;
    border-radius: 0 48px 48px 0;
    z-index: 10;
    pointer-events: none;
    display: block;
}

.corp-vision-container {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
    align-items: center;
    box-sizing: border-box;
}

.corp-vision-content {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 22px 36px clamp(76px, 7vw, 140px);
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.corp-vision-title {
    font-size: 2.125rem;
    font-weight: 800;
    line-height: 1.3;
    color: #222222;
    margin: 0 0 16px;
    letter-spacing: 0.02em;
}

.corp-vision-divider {
    border: 0;
    border-top: 1px solid #D5D5D5;
    margin: 0 0 24px;
    width: 100%;
}

.corp-vision-text {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5rem;
    letter-spacing: 0.0075em;
    color: rgb(53, 53, 53);
    margin: 0;
}

.corp-vision-text:last-child {
    margin-bottom: 0;
}

.corp-vision-visual {
    background-color: #FF001C;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    max-height: 380px;
    height: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(230, 0, 18, 0.15);
}

.corp-vision-image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 380px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* --------------------------------------------------------------------------
   CEO Message Section (谷岡 愛之 代表取締役)
   -------------------------------------------------------------------------- */
.corp-ceo {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.corp-ceo-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.corp-ceo-image-wrap {
    width: 100%;
    height: 100%;
    min-height: 480px;
    background-color: transparent;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.corp-ceo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 0;
}

.corp-ceo-body {
    background-color: #E60012;
    color: #ffffff;
    padding: 60px clamp(40px, 0vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    margin: 0;
    border-radius: 0;
}

.corp-ceo-name {
    font-size: 2.125rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.04em;
}

.corp-ceo-role {
    font-size: 1.125rem;
    font-weight: 500;
    color: #ffffff;
    margin: 8px 0 16px;
    letter-spacing: 0.02em;
}

.corp-ceo-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    margin: 0 0 24px;
    width: 100%;
}

.corp-ceo-list {
    list-style: none;
    margin: 0 0 0 -30px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.corp-ceo-item {
    position: relative;
    padding-left: 30px;
    font-size: 0.9375rem;
    line-height: 1.85;
    color: #ffffff;
    font-weight: 400;
    margin: auto 10px;
}

.corp-ceo-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(0.925em - 4.5px);
    width: 18px;
    height: 9px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='none'%3E%3Cpath d='M0 5.99998C0 8.02977 0.269375 10.0468 0.782469 12L24 5.94891L0.756814 0C0.256547 1.96596 0 3.98296 0 5.99998Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* --------------------------------------------------------------------------
   History Timeline Section (沿革)
   -------------------------------------------------------------------------- */
.corp-history {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin: 20px 0 40px;
    background-color: transparent;
    padding: 0;
}

/* 左側のピンク背景（画面左端はストレート、内側：右側の上下が角丸） */
.corp-history::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: clamp(24px, 3.2vw, 44px);
    background-color: #EA6C6C;
    border-radius: 0 44px 44px 0;
    z-index: 5;
    pointer-events: none;
    display: block;
}

/* 右側のピンク背景（画面右端はストレート、内側：左側の上下が角丸） */
.corp-history::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: clamp(24px, 3.2vw, 44px);
    background-color: #EA6C6C;
    border-radius: 44px 0 0 44px;
    z-index: 5;
    pointer-events: none;
    display: block;
}

.corp-history-inner {
    background-color: #ffffff;
    border-radius: 0;
    padding: 60px clamp(36px, 5vw, 68px) 72px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.corp-history-title {
    font-size: 2.125rem;
    font-weight: 800;
    line-height: 1.2;
    color: #222222;
    text-align: center;
    margin: 0 0 44px;
    letter-spacing: 0.04em;
}

.corp-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
}

.corp-timeline-line {
    position: absolute;
    left: 50%;
    top: 0px;
    bottom: 0px;
    width: 1px;
    background-color: #C58B8B;
    transform: translateX(-50%);
    z-index: 2;
}

.corp-timeline-row {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    position: relative;
}

.corp-timeline-col {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.corp-timeline-col.left {
    justify-content: flex-end;
    padding-right: 0;
}

.corp-timeline-col.right {
    justify-content: flex-start;
    padding-left: 0;
}

/* Left Column Elements */
.corp-timeline-col.left .corp-timeline-capsule {
    background-color: #EAEAEA;
    border-radius: 9999px 0 0 9999px;
    padding: 28px 24px;
    margin-left: auto;
    margin-right: 0;
    width: calc(100% - 16px);
    max-width: none;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    box-sizing: border-box;
    z-index: 1;
    transition: background-color 0.2s ease;
}

.corp-timeline-col.left .corp-timeline-capsule:hover {
    background-color: #e0e0e0;
}

.corp-timeline-col.left .corp-timeline-date {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    padding-right: 20px;
    text-align: right;
    color: #222222;
    white-space: nowrap;
}

/* Right Column Elements */
.corp-timeline-col.right .corp-timeline-capsule {
    background-color: #EAEAEA;
    border-radius: 0 9999px 9999px 0;
    padding: 28px 24px;
    margin-left: 0;
    margin-right: auto;
    width: calc(100% - 16px);
    max-width: none;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    box-sizing: border-box;
    z-index: 1;
    transition: background-color 0.2s ease;
}

.corp-timeline-col.right .corp-timeline-capsule:hover {
    background-color: #e0e0e0;
}

.corp-timeline-col.right .corp-timeline-date {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    padding-left: 20px;
    text-align: left;
    color: #222222;
    white-space: nowrap;
}

/* Date Typography */
.corp-timeline-date {
    font-weight: 700;
}

.corp-timeline-year {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1;
    color: #222222;
}

.corp-timeline-month {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1;
    margin-left: 6px;
    color: #222222;
}

/* Capsule Text */
.corp-timeline-capsule-item {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.55;
    color: #333333;
    margin: 0;
}

@media (max-width: 899px) {
    .corp-history {
        padding: 0;
        border-radius: 0;
    }

    .corp-history::before,
    .corp-history::after {
        width: 16px;
    }

    .corp-history-inner {
        padding: 36px 20px 44px;
        border-radius: 0;
    }

    .corp-history-title {
        font-size: 1.75rem;
        margin-bottom: 32px;
    }

    .corp-timeline {
        padding: 0 0 0 16px;
        gap: 20px;
    }

    .corp-timeline-line {
        left: 20px;
        transform: none;
        top: 4px;
        bottom: 4px;
    }

    .corp-timeline-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-left: 24px;
        min-height: auto;
    }

    .corp-timeline-col:has(.corp-timeline-date) {
        order: 1;
    }

    .corp-timeline-col:has(.corp-timeline-capsule) {
        order: 2;
    }

    .corp-timeline-col.left,
    .corp-timeline-col.right {
        width: 100%;
        flex: none;
        justify-content: flex-start;
        text-align: left;
    }

    .corp-timeline-col.left .corp-timeline-date,
    .corp-timeline-col.right .corp-timeline-date {
        padding: 0;
        text-align: left;
        justify-content: flex-start;
        margin-bottom: 4px;
    }

    .corp-timeline-col.left .corp-timeline-capsule,
    .corp-timeline-col.right .corp-timeline-capsule {
        width: 100%;
        max-width: 100%;
        border-radius: 20px;
        padding: 12px 18px;
        text-align: left;
        align-items: flex-start;
        margin: 0;
    }

    /* Mobile Overview & Vision */
    .corp-container {
        padding: 36px 0 32px;
        gap: 48px;
    }

    .corp-vision-left-accent {
        display: none;
    }

    .corp-vision-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .corp-vision-content {
        padding: 0;
    }

    .corp-vision-title {
        font-size: 1.625rem;
    }

    .corp-vision-visual {
        border-radius: 20px;
        min-height: 220px;
    }

    .corp-ceo-container {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .corp-ceo-image-wrap {
        padding-left: 0;
        min-height: 280px;
        border-radius: 20px 20px 0 0;
    }

    .corp-ceo-image {
        /* border-radius: 20px 20px 0 0; */
        max-width: 100%;
    }

    .corp-ceo-body {
        padding: 32px 20px;
        /* border-radius: 0 0 20px 20px; */
    }

    .corp-ceo-name {
        font-size: 1.625rem;
    }

    .corp-overview {
        flex-direction: column;
        gap: 20px;
        padding: 0 16px;
    }

    .corp-overview-side {
        width: 100%;
        border-radius: 20px;
        justify-content: center;
        padding: 24px 16px;
    }

    .corp-overview-heading {
        writing-mode: horizontal-tb;
        letter-spacing: 0.1em;
    }

    .corp-overview-main {
        padding: 0;
    }
}

/* --------------------------------------------------------------------------
   Company Overview Section (会社 概要)
   -------------------------------------------------------------------------- */
.corp-overview {
    display: flex;
    flex-direction: row;
    gap: 32px;
    width: 100%;
    align-items: stretch;
    margin: 20px 0 60px;
    box-sizing: border-box;
}

.corp-overview-side {
    background-color: #E60012;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: clamp(260px, 24vw, 360px);
    min-width: 350px;
    flex-shrink: 0;
    padding: 48px 32px 48px clamp(40px, 5vw, 72px);
    box-sizing: border-box;
}

.corp-overview-heading {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
    text-align: right;
    /* text-align: left; */
    writing-mode: horizontal-tb;
    letter-spacing: 0.08em;
    /* white-space: nowrap; */
}

.corp-overview-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    padding-right: clamp(24px, 4vw, 64px);
    box-sizing: border-box;
}

.corp-grid-2 {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 16px;
    width: 100%;
}

.corp-grid-3 {
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 1fr;
    gap: 16px;
    width: 100%;
}

.corp-card {
    border: 1px solid #707070;
    border-radius: 12px;
    padding: 16px 24px;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.corp-card-label {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.4;
    color: #222222;
    margin: 0 0 6px;
}

.corp-card-value {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    margin: 0;
    word-break: break-word;
}

a.corp-card-value {
    color: #333333;
    text-decoration: none;
}

a.corp-card-value:hover {
    color: #E60012;
    text-decoration: underline;
}

/* 所在地 (Locations) Detailed Card */
.corp-card-locations {
    padding: 24px 28px;
}

.corp-locations-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 14px;
}

.corp-location-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.corp-location-name {
    font-size: 1.25rem;
    margin: 0;
}

.corp-location-address {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    margin: 0 0 8px;
}

.corp-access-btn {
    background-color: #E60012;
    color: #ffffff !important;
    border-radius: 10px;
    padding: 12px 36px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    width: 204px;
    line-height: 1.5rem;
    text-align: center;
}

.corp-access-btn:hover {
    background-color: #c91c22;
    transform: translateY(-1px);
}

@media (max-width: 899px) {
    /* --------------------------------------------------------------------------
       Hero Section (Mobile)
       -------------------------------------------------------------------------- */
    .corp-hero {
        position: relative;
        width: 100%;
        height: 720px;
        min-height: unset;
        max-height: unset;
        margin: 48px auto 0;
        padding: 48px 20px 0;
        box-sizing: border-box;
        background-color: #353535;
        background-image: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        overflow: hidden;
    }

    .corp-hero::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 35%;
        height: 65%;
        background: linear-gradient(to bottom, #353535 0%, rgba(53, 53, 53, 0) 35%),
                    url('/images/corporation.png') center top / cover no-repeat;
        z-index: 1;
        pointer-events: none;
    }

    .corp-hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .corp-hero-logo {
        max-width: 100%;
        height: auto;
        filter: none;
    }

    .corp-hero-title {
        font-size: 1.125rem;
        font-weight: 700;
        line-height: 2.5rem;
        color: #ffffff;
        margin: 16px 0 22px;
        text-align: center;
        text-shadow: none;
        letter-spacing: 0.01em;
    }

    .corp-hero-socials {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 0;
    }

    .corp-hero-social-link {
        width: 36px;
        height: 36px;
    }

    .corp-hero-social-link.whatsapp {
        width: 44px;
        height: 44px;
        margin-left: -4px;
    }

    /* --------------------------------------------------------------------------
       Container & Vision Section (Mobile)
       -------------------------------------------------------------------------- */
    .corp-container {
        padding: 0;
        gap: 0;
    }

    .corp-vision {
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        margin: 0;
    }

    .corp-vision-left-accent {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: 80px;
        min-height: 80px;
        max-height: 80px;
        border-radius: 0 0 80px 0;
        background-color: #EA6C6C;
        opacity: 0.5;
        margin-bottom: 24px;
        display: block;
    }

    .corp-vision-container {
        grid-template-columns: 1fr;
        gap: 24px;
        width: 100%;
    }

    .corp-vision-content {
        padding: 16px 20px;
    }

    .corp-vision-title {
        font-size: 1.625rem;
    }

    .corp-vision-visual {
        width: 100%;
        min-height: 320px;
        height: 320px;
        max-height: unset;
        border-radius: 160px 0 0 0;
        background-color: #FF001C;
        overflow: hidden;
        box-shadow: none;
        margin: 0;
    }

    .corp-vision-image {
        width: 100%;
        height: 100%;
        min-height: 320px;
        max-height: unset;
        object-fit: fill;
        object-position: center center;
        display: block;
    }

    /* --------------------------------------------------------------------------
       CEO Section (Mobile) - Connected directly under Vision visual
       -------------------------------------------------------------------------- */
    .corp-ceo {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .corp-ceo-container {
        grid-template-columns: 1fr;
        margin: 0;
        padding: 0;
    }

    .corp-ceo-image-wrap {
        width: 100%;
        min-height: 480px;
        height: 480px;
        max-height: unset;
        border-radius: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }

    .corp-ceo-image {
        width: 100%;
        height: 100%;
        min-height: 480px;
        object-fit: cover;
        object-position: center top;
        display: block;
        margin: 0;
        padding: 0;
    }

    .corp-ceo-body {
        padding: 40px 24px;
    }

    .corp-ceo-list {
        margin-left: 0;
    }

    /* --------------------------------------------------------------------------
       History Section (Mobile)
       -------------------------------------------------------------------------- */
    .corp-history {
        position: relative;
        width: 100%;
        margin: 0 auto 20px;
        padding: 0;
        background-color: #ffffff;
    }

    /* 最上部のピンクバー（全幅・高さ80px・右下角丸） */
    .corp-history::before {
        content: "";
        display: block;
        position: static;
        width: 100%;
        height: 80px;
        background-color: #EA6C6C;
        border-radius: 0 0 80px 0;
        opacity: 0.5;
        margin: 0 0 24px;
        transform: none;
    }

    /* PCの右側ピンクバーは非表示 */
    .corp-history::after {
        display: none;
    }

    .corp-history-inner {
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .corp-history-title {
        font-size: 1.875rem;
        font-weight: 800;
        color: #222222;
        text-align: center;
        margin: 0 0 28px;
        letter-spacing: 0.04em;
    }

    .corp-timeline {
        padding: 0;
        gap: 0;
        width: 100%;
    }

    /* 中央の縦線は非表示 */
    .corp-timeline-line {
        display: none;
    }

    /* 行レイアウト */
    .corp-timeline-row {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        width: 100%;
        min-height: 56px;
        box-sizing: border-box;
        border: none;
    }

    /* 奇数行（日付がleftの行）：薄いグレー背景 */
    .corp-timeline-row:has(.corp-timeline-col.left .corp-timeline-date) {
        background-color: #EDEDED;
    }

    /* 偶数行（日付がrightの行）：白背景 */
    .corp-timeline-row:has(.corp-timeline-col.right .corp-timeline-date) {
        background-color: #FFFFFF;
    }

    /* 左列（日付列）：固定幅135px、右側に赤い縦線 */
    .corp-timeline-col:has(.corp-timeline-date) {
        flex: 0 0 135px;
        width: 135px;
        border-right: 1.5px solid #E60012;
        padding: 14px 8px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        order: 1;
    }

    /* 右列（テキスト列）：残りの幅 */
    .corp-timeline-col:has(.corp-timeline-capsule) {
        flex: 1;
        width: calc(100% - 135px);
        padding: 14px 16px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        order: 2;
    }

    /* 日付テキスト（年と月を横並び） */
    .corp-timeline-date {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 8px;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .corp-timeline-year {
        font-size: 1.1875rem;
        font-weight: 700;
        color: #222222;
        line-height: 1.2;
    }

    .corp-timeline-month {
        font-size: 1rem;
        font-weight: 500;
        color: #222222;
        line-height: 1.2;
    }

    /* カプセルスタイルのリセット（テーブル化） */
    .corp-timeline-col.left .corp-timeline-capsule,
    .corp-timeline-col.right .corp-timeline-capsule,
    .corp-timeline-capsule {
        background: transparent !important;
        background-color: transparent !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: none !important;
        min-height: unset !important;
        box-shadow: none !important;
        display: block !important;
    }

    .corp-timeline-capsule-item {
        font-size: 0.9375rem;
        font-weight: 400;
        line-height: 1.6;
        color: #353535;
        margin: 0 0 4px;
        text-align: left;
    }

    .corp-timeline-capsule-item:last-child {
        margin-bottom: 0;
    }

    /* --------------------------------------------------------------------------
       Company Overview Section (会社 概要 - Mobile)
       -------------------------------------------------------------------------- */
    .corp-overview {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin: 0;
        padding: 0 !important;
        box-sizing: border-box;
    }

    /* 最上部ピンクバー（左上のみ80px角丸、全幅、高さ80px） */
    .corp-overview::before {
        content: "";
        display: block;
        width: 100%;
        height: 80px;
        background-color: #EA6C6C;
        opacity: 0.5;
        border-radius: 80px 0 0 0;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* 赤い見出しブロック（下側左右角丸48px、中央揃え） */
    .corp-overview-side {
        width: 100%;
        min-width: 100%;
        background-color: #E60012;
        border-radius: 0 0 48px 48px;
        padding: 24px 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: 0;
    }

    .corp-overview-heading {
        writing-mode: horizontal-tb;
        color: #ffffff;
        font-size: 1.5rem;
        font-weight: 900;
        letter-spacing: 0.05em;
        line-height: 3rem;
        text-align: center;
        margin: 0 0 24px;
    }

    /* メインコンテンツ（全幅、隙間0、下線リスト） */
    .corp-overview-main {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 0 40px;
        margin: 0;
        box-sizing: border-box;
    }

    .corp-grid-2,
    .corp-grid-3 {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    /* 各項目カード（枠線なし、下線のみ、左右パディング20px） */
    .corp-card {
        width: 100%;
        border: none !important;
        border-radius: 0 !important;
        border-bottom: 1px solid #D5D5D5 !important;
        background-color: transparent !important;
        box-shadow: none !important;
        padding: 20px 20px 22px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        margin: 0;
    }

    .corp-card-label {
        font-size: 1.125rem;
        font-weight: 700;
        color: #222222;
        line-height: 1.35;
        margin: 0 0 6px;
        text-align: left;
    }

    .corp-card-value,
    a.corp-card-value {
        font-size: 1rem;
        font-weight: 400;
        color: #353535;
        line-height: 1.55;
        margin: 0;
        text-align: left;
        word-break: break-word;
    }

    /* 所在地 (Locations) */
    .corp-card-locations {
        width: 100%;
        border: none !important;
        border-radius: 0 !important;
        border-bottom: 1px solid #D5D5D5 !important;
        background-color: transparent !important;
        box-shadow: none !important;
        padding: 20px 20px 28px;
        box-sizing: border-box;
    }

    .corp-locations-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 14px;
        width: 100%;
    }

    .corp-location-item {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
        width: 100%;
    }

    .corp-location-name {
        font-size: 1.125rem;
    }

    .corp-location-address {
        font-size: 1.125rem;
        font-weight: 400;
        color: #353535;
        line-height: 1.6;
        margin: 0 0 10px;
        text-align: left;
    }

    .corp-access-btn {
        background-color: #E60012;
        color: #ffffff !important;
        border-radius: 8px;
        padding: 12px 0px;
        font-size: 0.875rem;
        font-weight: 600;
        display: inline-block;
        width: 95px;
        line-height: 1.5rem;
        text-align: center;
        box-sizing: border-box;
    }
}

/* --------------------------------------------------------------------------
   Contact Form Section (お問い合わせ)
   -------------------------------------------------------------------------- */
.corp-contact-section {
    width: 100%;
    margin: 0 0 40px;
    box-sizing: border-box;
}

.corp-contact-iframe {
    width: 100%;
    height: 1100px;
    border: none;
    overflow: hidden;
    display: block;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

@media (max-width: 768px) {
    .corp-contact-iframe {
        height: 1250px;
    }
}

/* --------------------------------------------------------------------------
   Scroll to Top Floating Button
   -------------------------------------------------------------------------- */
.top-scroll-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #E6232A;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease;
}

.top-scroll-btn:hover {
    background-color: #c91c22;
    transform: translateY(-2px);
}

.top-scroll-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.top-scroll-btn.invisible {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
