.custom-nav a {
    color: var(--color-navy);
}

.custom-button-gray {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

.custom-header.scrolled {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.custom-header.scrolled .custom-nav a {
    color: var(--color-white);
}

.custom-header.scrolled .custom-button-gray {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.btn-secondary {
    background-color: var(--color-navy);
    color: var(--company-white);
}

.industries-block {
    color: #223a5f;
}


/* .hero-section の背景色は残す */

.hero-section {
    background-color: var(--company-white);
}


/* .waves も同様 */

.waves {
    background-color: var(--company-white);
}


/* タイトル色は残す */

.service-title {
    color: var(--color-navy);
}

.service-subtitle {
    color: var(--color-navy);
}

.inner {
    width: 86%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}


/* .industries-row-top .industry-box,
.platform-box,
.influencer-stat-box {
    aspect-ratio: 64 / 31;
} */

.industry-box {
    aspect-ratio: 48 / 15;
}

.status-section {
    background: #f7fcfd;
    padding: 5vw 5% 7vw 5%;
}

.status-container {
    width: 100%;
    margin: 0 auto;
}

.status-block,
.industries-block {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}


/* .platforms-grid,
.industries-grid,
.industries-row-top {
    width: 100%;
    max-width: 100%;
} */

.status-title {
    font-family: var(--font-archetype, "Jost", sans-serif);
    font-size: 4rem;
    color: var(--color-navy, #223a5f);
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 0.1em;
}

.status-sub {
    color: var(--color-navy, #223a5f);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4vw;
    font-family: var(--font-japanese, "Noto Sans JP", sans-serif);
}

.status-block {
    margin-bottom: 3vw;
}

.status-block-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-navy, #223a5f);
    font-family: var(--font-japanese, "Noto Sans JP", sans-serif);
    margin-bottom: 1.5vw;
    font-weight: 600;
}

.status-stats-row {
    display: flex;
    justify-content: center;
    gap: 2%;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

.status-stat-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(34, 58, 95, 0.06);
    min-width: 49%;
    aspect-ratio: 620 / 185;
    margin-bottom: 1vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.status-stat-label {
    font-size: 0.95rem;
    color: #223a5f;
    margin-bottom: 0.5em;
}

.status-stat-label .blue {
    color: #1e90ff;
    font-weight: 600;
}

.status-stat-label,
.status-stat-value,
.status-stat-note {
    font-family: var(--font-japanese, "Noto Sans JP", sans-serif);
}

.status-stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #223a5f;
    margin-bottom: 0.3em;
}

.status-stat-value .big {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.status-stat-note {
    font-size: 0.8rem;
    color: #888;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2vw 2vw;
    justify-content: center;
    margin: 0 auto;
}

.platform-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(34, 58, 95, 0.06);
    padding: 1.5vw 0.5vw 1vw 0.5vw;
    min-width: 140px;
    min-height: 120px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.platform-icon {
    margin-bottom: 0.5em;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.platform-label {
    font-size: 0.98rem;
    color: #223a5f;
    font-family: var(--font-japanese, "Noto Sans JP", sans-serif);
}

.industries-row-top {
    display: flex;
    justify-content: center;
    gap: 2%;
    margin-bottom: 1.5vw;
}

.industries-row-top .industry-box {
    min-width: 180px;
    width: 32%;
    min-height: 48px;
    font-size: 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(34, 58, 95, 0.06);
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-family: var(--font-japanese, "Noto Sans JP", sans-serif);
    justify-content: flex-start;
    padding: 1vw 1vw;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1vw 2vw;
}

.industries-grid .industry-box {
    /* min-width: 140px;
    min-height: 48px; */
    font-size: 0.98rem;
    font-weight: 700;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(34, 58, 95, 0.06);
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-family: var(--font-japanese, "Noto Sans JP", sans-serif);
    justify-content: center;
    padding: 1vw 1vw;
    margin-bottom: 0.5vw;
}

.industry-icon {
    font-size: 1.3em;
}

.influencer-stat-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(34, 58, 95, 0.06);
    padding: 1.5vw 2vw;
    /* min-width: 220px; */
    /* width: 32%; */
    margin-bottom: 1vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.company-profile-section {
    background: #fff;
    padding: 5vw 0 7vw 0;
}

.company-profile-inner {
    width: 86%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-family: var(--font-japanese, "Noto Sans JP", sans-serif);
}

.company-profile-title {
    font-family: var(--font-archetype, "Jost", sans-serif);
    font-size: 2.8rem;
    color: #222f3e;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.company-profile-sub {
    color: #b94a48;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 2vw;
    display: inline-block;
    padding: 0 0.5em;
}

.company-profile-image-wrap {
    margin-bottom: 2vw;
}

.company-profile-image {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    object-fit: cover;
}

.company-profile-table-wrap {
    margin: 0 auto;
    text-align: left;
    max-width: 700px;
}

.company-profile-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.company-profile-table th,
.company-profile-table td {
    padding: 24px 0;
    border: none;
}

.company-profile-table th {
    width: 30%;
    text-align: left;
    font-weight: 600;
    color: #222f3e;
    vertical-align: top;
    padding-right: 16px;
}

.company-profile-table tr {
    border-bottom: 1px solid #b5b1b1;
}

.company-profile-table tr:last-child {
    border-bottom: none;
}


/* History */

.history-section {
    background-color: #f8fcfe;
    padding: 5vw 0 7vw 0;
}

.history-inner {
    width: 86%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.history-title {
    font-family: var(--font-archetype, "Jost", sans-serif);
    font-size: 4rem;
    color: #222f3e;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.history-sub {
    font-family: var(--font-japanese, "Noto Sans JP", sans-serif);
    color: #222f3e;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 2vw;
    display: inline-block;
    position: relative;
    color: #b94a48;
    padding: 0 1em;
}

.history-sub::before,
.history-sub::after {
    content: "-";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.history-sub::before {
    left: 0;
}

.history-sub::after {
    right: 0;
}

.history-content {
    margin-top: 4vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* タイムライン */

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    /* padding: 40px 0 0 0; */
}


/* .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 480px;
    width: 4px;
    height: 95%;
    background-color: #e0e2e5;
    transform-origin: top center;
} */

.timeline-line {
    content: "";
    position: absolute;
    top: 0;
    left: 480px;
    width: 4px;
    height: 96%;
    background-color: #e0e2e5;
    transform-origin: top center;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-image-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    /* flex: 0 0 250px; */
    flex: 0 0 400px;
    margin-right: 80px;
}

.timeline-item:nth-child(4) .timeline-image-wrap {
    margin-top: 140px;
}

.timeline-item:nth-child(6) .timeline-image-wrap {
    margin-top: 130px;
}

.timeline-item:nth-child(7) .timeline-image-wrap {
    margin-top: 120px;
}

.timeline-item:nth-child(7) {
    margin-bottom: 0;
}

.timeline-image {
    width: 100%;
    margin-bottom: 50px;
    position: relative;
    line-height: 0;
}

.timeline-image:last-child {
    margin-bottom: 0;
}

.timeline-image-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    position: relative;
    flex: 1;
    text-align: left;
    padding-left: 20px;
    /* padding-top: 30px; */
    padding-top: 120px;
}

.timeline-content-noimage {
    /* margin-left: 300px; */
    margin-left: 480px;
}

.timeline-date {
    font-family: var(--font-archetype, "Jost", sans-serif);
    font-size: 5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    margin-left: 90px;
    line-height: 1;
}

.timeline-dot {
    position: absolute;
    top: 35%;
    left: -28px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #333;
    z-index: 2;
}

.timeline-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #fff;
}

.timeline-event {
    color: #333;
    font-size: 1rem;
    font-family: var(--font-japanese, "Noto Sans JP", sans-serif);
    font-weight: 500;
    margin-bottom: 0;
    padding-bottom: 30px;
    position: relative;
    padding-left: 90px;
}

.timeline-event::before {
    content: "";
    position: absolute;
    top: 35%;
    left: -20px;
    width: 100px;
    height: 4px;
    background-color: #333;
    transform: translateY(-50%);
}

.company-profile-table tr:not(:last-child) td {
    border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
    .custom-nav a {
        color: var(--color-white);
    }
    .custom-button-gray {
        background-color: var(--color-navy);
        color: var(--color-white);
        border-color: var(--color-white);
    }
    .timeline::before {
        left: 30px;
    }
    .timeline-item {
        flex-direction: column;
    }
    .timeline-image-wrap {
        flex: 0 0 auto;
        width: 90%;
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
        margin-left: 30px;
        flex-direction: row;
        flex-wrap: wrap;
        /* gap: 15px; */
    }
    .timeline-item:last-child .timeline-image-wrap {
        margin-bottom: 0;
    }
    .timeline-item:nth-child(2) .timeline-content {
        padding-top: 120px;
    }
    .timeline-image {
        width: calc(50% - 10px);
        margin-bottom: 0;
    }
    .timeline-content {
        padding-left: 50px;
    }
    .timeline-content-noimage {
        margin-left: 0;
    }
    .timeline-date {
        font-size: 1.8rem;
        margin-left: 0;
    }
    .timeline-event {
        font-size: 0.9rem;
    }
    .timeline-dot {
        left: -30px;
    }
    .timeline-event::before {
        left: -40px;
        width: 30px;
    }
    .history-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .timeline::before {
        left: 20px;
    }
    .timeline-content {
        padding-left: 40px;
    }
    .timeline-content-noimage {
        margin-left: 0;
    }
    /* .timeline-image-wrap {
        margin-left: 40px;
        width: 90%;
    } */
    .timeline-image {
        width: 100%;
        margin-bottom: 15px;
    }
    .timeline-dot {
        left: -20px;
        width: 8px;
        height: 8px;
    }
    .timeline-event::before {
        left: -30px;
        width: 20px;
    }
    .timeline-date {
        font-size: 1.5rem;
    }
    .timeline-event {
        font-size: 0.8rem;
        padding-left: 10px;
    }
    .history-title {
        font-size: 2rem;
    }
}

@media only screen and (max-width: 700px) {
    .company-profile-inner {
        width: 85%;
    }
    .company-profile-title {
        font-size: 2rem;
    }
    .company-profile-image {
        max-width: 100%;
    }
    .company-profile-table th {
        width: 100px;
    }
}

@media only screen and (max-width: 480px) {
    .company-profile-table th,
    .company-profile-table td {
        /* width: 100 */
        display: block;
    }
    /* .company-profile-table th {
        width: 100%;
    } */
    .company-profile-table td {
        padding-top: 0;
    }
}

@media (max-width: 900px) {
    .status-title {
        font-size: 2.5rem;
    }
    .status-sub {
        font-size: 1rem;
        margin-bottom: 0;
    }
    .status-block,
    .industries-block {
        width: 85%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .inner {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .status-block {
        margin: 3rem auto;
    }
    .status-block-title {
        font-size: 1.1rem;
        text-align: start;
    }
    .status-stat-label {
        font-size: 0.8rem;
        /* margin-top: 1em; */
        margin-bottom: 0;
    }
    .status-stat-label .blue {
        font-weight: 600;
    }
    .status-stat-box,
    .platform-box {
        min-width: 120px;
        padding: 4vw 1vw;
    }
    .status-stat-value {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0;
    }
    .status-stat-value .big {
        font-size: 1.9rem;
        font-weight: 800;
    }
    .platform-label {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    .status-stat-box {
        border-radius: 12px;
    }
    .industries-row-top {
        flex-direction: row;
        gap: 2vw;
    }
    .industries-row-top .industry-box {
        min-width: unset;
        font-size: 0.6rem;
        font-weight: 600;
        flex-direction: column;
    }
    .industries-grid .industry-box {
        font-size: 0.8rem;
    }
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .influencer-stat-box {
        min-width: 120px;
        padding: 3vw 1vw;
    }
    .company-profile-table tr {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }
    .company-profile-table th {
        padding: 1rem 0;
    }
    .company-profile-table td {
        padding: 1rem 0;
        width: 100%;
    }
    .company-profile-table {
        font-size: 0.8rem;
    }
    .company-profile-table td iframe {
        margin: 2rem 0;
    }
    .company-profile-table tr:not(:last-child) td {
        border-bottom: unset;
    }
    .company-profile-section {
        padding: 10vw 0 10vw 0;
    }
    .company-profile-table tr:last-child {
        border-bottom: 1px solid #e0e0e0;
    }
    /* History */
    .history-section {
        background-color: #f8fcfe;
        padding: 10vw 0 15vw 0;
    }
    .history-inner {
        width: 86%;
        max-width: 100%;
    }
    .history-title {
        margin-bottom: 0;
        letter-spacing: 0.1em;
    }
    .history-sub {
        font-size: 0.8rem;
    }
    .history-content {
        margin-top: 10vw;
    }
    /* タイムライン */
    .timeline {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
        /* padding: 40px 0 0 0; */
    }
    /* .timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 480px;
    width: 4px;
    height: 95%;
    background-color: #e0e2e5;
    transform-origin: top center;
} */
    .timeline-line {
        content: "";
        position: absolute;
        top: 0;
        left: unset;
        width: 3px;
        height: 100%;
        background-color: #e0e2e5;
        transform-origin: top center;
    }
    .timeline-item {
        position: relative;
        margin-bottom: 0px;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
        display: flex;
        flex-direction: column;
    }
    .timeline-item:nth-child(2),
    .timeline-item:nth-child(5),
    .timeline-item:nth-child(7),
    .timeline-item:nth-child(8) {
        flex-direction: column-reverse;
    }
    .timeline-item.show {
        opacity: 1;
        transform: translateY(0);
    }
    .timeline-image-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        /* flex: 0 0 250px; */
        flex: 0 0 0 0;
        margin-right: 80px;
    }
    .timeline-item:nth-child(4) .timeline-image-wrap {
        margin-top: 0px;
    }
    .timeline-item:nth-child(6) .timeline-image-wrap {
        margin-top: 0px;
    }
    .timeline-item:nth-child(7) .timeline-image-wrap {
        margin-top: 0px;
    }
    .timeline-item:nth-child(7) {
        margin-bottom: 0;
    }
    .timeline-image {
        width: 100%;
        margin-bottom: 50px;
        position: relative;
        line-height: 0;
    }
    .timeline-image:last-child {
        margin-bottom: 0;
    }
    .timeline-image-img {
        width: 100%;
        height: auto;
        border-radius: 0;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    .timeline-content {
        padding-left: 20px;
        padding-top: 30px;
        /* padding-top: 0px; */
    }
    .timeline-content-noimage {
        /* margin-left: 300px; */
        margin-left: 0px;
    }
    .timeline-date {
        font-family: var(--font-archetype, "Jost", sans-serif);
        font-size: 3rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 20px;
        margin-left: 40px;
        line-height: 1;
    }
    .timeline-dot {
        position: absolute;
        top: 35%;
        left: -28px;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: #333;
        z-index: 2;
    }
    .timeline-dot::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #fff;
    }
    .timeline-event {
        font-size: 0.8rem;
        font-family: var(--font-japanese, "Noto Sans JP", sans-serif);
        font-weight: 500;
        margin-bottom: 0;
        padding-bottom: 20px;
        position: relative;
        padding-left: 40px;
    }
    .timeline-event::before {
        content: "";
        position: absolute;
        top: 35%;
        left: -20px;
        width: 50px;
        height: 2px;
        background-color: #333;
        transform: translateY(-50%);
    }
}

@media (max-width: 600px) {
    .status-section {
        padding: 8vw 0 10vw 0;
    }
    /* .status-title {
        font-size: 1.3rem;
    } */
    /* .status-block-title {
        font-size: 0.95rem;
    } */
    .status-stats-row {
        flex-direction: column;
        gap: 4vw;
    }
    .platforms-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 1fr);
    }
    .status-stat-box,
    .platform-box,
    .industry-box {
        /* min-width: unset; */
        width: 100%;
    }
    .influencer-stat-box {
        min-width: unset;
        width: 100%;
    }
    .service-title {
        letter-spacing: 0;
    }
}