﻿@media (max-width: 959px) {
    span.u-br-pc {
        display: inline;
    }
}

/* ============================ */
/*   メッセージ（Message）セクション   */
/* ============================ */

.section__message {
    width: 90%;
    margin: auto;
}
.message__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-md, 1.25rem);
}
.message__copys {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-xs);
    position: static;
    left: auto;
    top: auto;
}
.message__title {
    background-color: var(--bg-blue);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: var(--font-xxl);
    font-weight: var(--fw-exbold);
    line-height: var(--lh-180);
    letter-spacing: 0.05rem;
    text-align: center;
    z-index: 5;
}
.message__title:last-child {
    padding: 0 1rem 0.5rem;
}
.section__message .message__title rt {
    margin-block-start: 0.75rem;
}

.message__title span {
    font-size: var(--font-lg);
    vertical-align: bottom;
}
.message__body {
    margin: 0;
}
.message__body-spacing {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xl);
}
.message__img-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
}

.message__img-block {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
}
.message__img-block .block {
    aspect-ratio: 4 / 3;
    background: #d9d9d9;
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}
.message__img-block .block img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
.message__body {
    font-weight: var(--fw-medium);
}
.message__callout {
    position: relative;
    display: inline-block;
}

.message__body-spacing ruby rt {
    padding-block: var(--space-sm) var(--space-xs);
}

.message__body-spacing p:first-child ruby rt,
.message__body-spacing p:last-child ruby rt {
    padding-block-start: 0;
}

.message__body-spacing p ruby rt {
    font-size: var(--font-ruby);
}

.message__body-spacing p strong {
    font-weight: var(--fw-exbold);
}

.end-copy {
    position: relative;
    z-index: 0;
    font-size: var(--font-lg);
    font-weight: var(--fw-black);
    line-height: var(--lh-200);
    letter-spacing: 0.025rem;
}
.marker-text {
    display: inline-block;
    position: relative;
    background-image: linear-gradient(var(--color-highlight), var(--color-highlight));
    background-repeat: no-repeat;
    background-size: 100% 0.5em;
    background-position: 0 85%;
    padding-right: 0.06em;
    border-radius: var(--radius-sm);
    width: max-content;
}
.marker-text--soft {
    background-image: linear-gradient(rgba(252, 240, 192, 0.7), rgba(252, 240, 192, 0.7));
}

@media (min-width: 768px) {
    .message__img-block {
        flex-direction: row;
    }
}
@media (min-width: 960px) {
    .kv__copy {
        top: 30%;
    }

    .kv__title :is(h1, h2) {
        font-size: var(--font-title--lg);
        padding-inline: var(--space-md);
    }

    .section__message {
        position: relative;
        width: clamp(75%, 88vw, 1200px);
        max-width: 1200px;
        margin: auto;
        padding: 4rem 0 0;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    .message__copys {
        justify-content: center;
        gap: var(--gap-sm);
        position: absolute;
        left: 36%;
        top: 2%;
        z-index: 8;
    }
    .message__title {
        font-size: var(--font-xxl);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.625rem 1.5rem;
    }

    .message__title:last-child {
        padding: 0.625rem 1.5rem 0;
    }
    .section__message .message__title rt {
        margin-block-start: 0;
    }
    .message__container {
        display: block;
        min-width: 100%;
    }
    .message__img-body {
        flex-direction: row;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 0;
        min-height: 42rem;
        padding-inline-start: 3rem;
    }
    .message__img-block {
        width: 25rem;
        display: grid;
        gap: var(--gap-md);
        align-self: start;
    }
    .message__img-block .block {
        border-radius: var(--radius-lg);
    }
    .message__body {
        margin-inline-start: calc(var(--space-md) * 5);
    }

    .section__message .message__title ruby {
        white-space: nowrap;

        padding-block-end: 0.75rem;
    }
}

@media (width: 1024px) {
    .kv__copy {
        top: 40%;
        left: 5%;
    }
    .kv__title :is(h1, h2) {
        font-size: var(--font-title);
    }
}

/* ============================ */
/*   フィロソフィー（Philosophy）セクション   */
/* ============================ */
.section__philosophy {
    position: relative;
    overflow: hidden;
}

.philosophy__bg {
    display: flex;
    align-items: center;
    --philo-shape-fill: #ebf1f9;
    --philo-shape-stroke: #639bd4;
    --philo-shape-stroke-width: 0.3rem;
    --philo-shape-offset-top: 1rem;
    --philo-shape-offset-left: 0.8rem;
    --philo-shape-bottom-extend: 0.8rem;
    position: relative;
    isolation: isolate;
    max-width: 95%;
    height: 12rem;
    padding-block-end: var(--space-sm);
}

.philosophy__bg::before,
.philosophy__bg::after {
    content: "";
    position: absolute;
    left: 0;
    inline-size: 100%;
    border-radius: 0 999px 999px 0;
    pointer-events: none;
}

.philosophy__bg::before {
    background: var(--philo-shape-fill);
    top: var(--philo-shape-offset-top);
    left: calc(-1 * var(--philo-shape-offset-left));
    bottom: calc(-1 * var(--philo-shape-bottom-extend));
    z-index: 0;
}

.philosophy__bg::after {
    top: 0;
    block-size: 100%;
    border: var(--philo-shape-stroke-width) solid var(--philo-shape-stroke);
    border-inline-start: 0;
    z-index: 1;
    box-sizing: border-box;
}

.philosophy__copys {
    position: relative;
    z-index: 1;
    margin-block-start: var(--space-sm);
    margin-left: 1.25rem;
}

.philosophy__copys h2 {
    margin-block-start: 0.5rem;
    line-height: var(--lh-150);
}

@media (min-width: 768px) and (max-width: 959px) {
    .philosophy__bg::before,
    .philosophy__bg::after {
        inline-size: 46rem;
    }
    .philosophy__body {
        width: 88%;
    }

    .philosophy__message {
        margin-inline: 0 auto;
    }
}
@media (min-width: 960px) {
    .philosophy__bg {
        --philo-shape-stroke-width: 0.3rem;
        --philo-shape-offset-top: 1.5rem;
        --philo-shape-offset-left: 1.2rem;
        --philo-shape-bottom-extend: 1.2rem;
    }

    .philosophy__bg::before,
    .philosophy__bg::after {
        inline-size: clamp(min(100%, 60rem), 65rem, 75rem);
    }
}

.philosophy__body {
    font-weight: var(--fw-medium);
    margin: auto;
}
.philosophy__message {
    margin-block-start: var(--space-xl);
    margin-inline: auto;
}

.philosophy__figure {
    position: static;
    z-index: 8;
    width: 100%;
    max-width: none;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.75rem;
    pointer-events: none;
}
.philosophy__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.philosophy__img-1,
.philosophy__img-2 {
    position: static;
    width: 100%;
    height: auto;
}

@media (min-width: 960px) {
    .philosophy__bg {
        height: 16rem;
    }
    .philosophy__copys {
        width: clamp(76%, var(--contents-max-width), 1200px);
        max-width: 1200px;
        margin-inline: auto;
        padding-block-start: var(--space-sm);
        padding-inline-start: 5rem;
    }

    .philosophy__body {
        width: clamp(76%, var(--contents-max-width), 1200px);
        max-width: 1200px;
    }
    .section__philosophy .message__body-spacing,
    .section__philosophy .end-copy {
        margin: 0;
    }
    .philosophy__message {
        margin-block-start: 5rem;
        margin-inline-start: 3rem;
    }
    .philosophy__figure {
        position: absolute;
        top: 0;
        right: 0;
        width: clamp(10rem, 20vw, 20rem);
    }
    .philosophy__img-1 {
        position: absolute;
        top: auto;
        bottom: 60%;
        right: 12%;
        width: clamp(18rem, 23vw, 23rem);
    }
    .philosophy__img-2 {
        position: absolute;
        top: auto;
        bottom: 8%;
        right: 0%;
        width: clamp(13rem, 18vw, 18rem);
    }
}

.philosophy__body {
    position: relative;
}

.message__body p,
.philosophy__body p {
    line-height: var(--lh-180);
}
@media (max-width: 959px) {
    .philosophy__figure {
        margin: 0;
        position: relative;
    }
    .philosophy__img-1 {
        width: 60%;
        z-index: 1;
        left: 1rem;
    }
    .philosophy__img-2 {
        width: 50%;
        position: relative;
        margin: -2rem 1rem 0 auto;
        z-index: 5;
    }
}
@media (max-width: 959px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}
.muted-note {
    color: #666;
    font-size: var(--fs-14);
}

@media (width: 1024px) {
    .philosophy__bg::before,
    .philosophy__bg::after {
        inline-size: 60rem;
    }

    .philosophy__body {
        max-width: 1024px;
    }

    .philosophy__img-1 {
        bottom: 60%;
        right: 12%;
        width: 20rem;
    }

    .philosophy__img-2 {
        bottom: 15%;
        right: 8%;
        width: 15rem;
    }
}

/* ============================ */
/*   ビジョン（Vision）セクション   */
/* ============================ */
.section__vision {
    padding: 5rem 0;
}
.vision__hero {
    margin: 0 auto;
    width: 100%;
    position: relative;
}
.vision__head-overlay {
    position: relative;
    padding-block-end: var(--space-md);
}
.vision__hero--copys {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-sm);
}
.vision__hero--copys .section__sub,
.vision__hero--copys .section__title {
    color: var(--text-white);
    background-color: var(--bg-blue);
    font-weight: var(--fw-bold);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    z-index: 8;
}

.vision__hero--img {
    width: 100%;
    height: clamp(15rem, 32vh, 20rem);
    aspect-ratio: 16 / 9;
    position: relative;
    z-index: 5;
    display: block;
    object-fit: cover;
    border-radius: 62.4375rem;
}

.section__vision-shape--medium {
    width: clamp(8rem, 40vw, 12rem);
}
.section__vision-shape--big {
    width: clamp(12rem, 61vw, 16rem);
    opacity: 0.8;
}
.vision__hero-shape--orange {
    left: 100%;
    right: auto;
    top: 0;
    transform: translateX(6rem);
}
.vision__hero-shape--green {
    right: -4rem;
    top: 15%;
    width: 25vw;
}

.vision__hero--media {
    position: relative;
    display: block;
    width: 100%;
}
.vision__hero-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    height: auto;
}

.vision__body {
    font-size: var(--font-sm);
    font-weight: var(--fw-medium);
    line-height: var(--lh-180);
    margin: auto;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg, 1.5rem);
}

.section__vision {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
}
.section__vision-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    display: block;
    height: auto;
}

.section__vision-shape--medium {
    left: 0;
    top: 0;
}
.section__vision-shape--orange {
    right: 0;
    top: 0;
}
.section__vision-shape--big {
    right: 0;
    bottom: 0;
    z-index: 0;
}
.vision__hero,
.vision__body {
    position: relative;
}

@media (min-width: 960px) {
    .section__vision {
        padding: 0 0 4rem;
    }
    .vision__head-overlay {
        padding-block-end: 0;
    }
    .vision__hero--copys .section__sub,
    .vision__hero--copys .section__title {
        padding: 0.5rem 1rem;
    }
    .vision__hero--copys {
        bottom: 3rem;
        left: 3rem;
        gap: var(--gap-md);
    }
    .vision__hero--img {
        height: auto;
        max-height: 31.25rem;
    }
    .vision__body {
        width: 42rem;
        margin-inline-start: 3rem;
    }
    .section__vision-shape--medium {
        width: clamp(8rem, 18vw, 17rem);
    }
    .section__vision-shape--orange {
        width: clamp(4rem, 8vw, 12rem);
    }
    .section__vision-shape--big {
        width: clamp(12rem, 38vw, 38rem);
        right: 0;
        bottom: 0;
    }
    .vision__hero-shape--orange {
        right: -4%;
        left: auto;
        transform: none;
        width: clamp(4rem, 10vw, 12rem);
    }
    .vision__hero-shape--green {
        left: -20%;
        width: clamp(6rem, 10vw, 12rem);
    }
}

/* ============================ */
/*   サポートネットワークセクション   */
/* ============================ */
.section__support-network img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.section__support-network .section__title {
    letter-spacing: -0.02rem;
}

@media (min-width: 960px) {
    .section__support-network img {
        width: 70%;
        margin: auto;
    }
}

/* ---------------- Support network pinch-zoom (mobile) ---------------- */
.section__support-network .support-zoom {
    position: relative;
    width: 100%;
}

.section__support-network .support-zoom__stage {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    touch-action: none;
}

.section__support-network .support-zoom__media {
    display: block;
    width: 100%;
}

.section__support-network .support-zoom__img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none; /* 元画像の解像度を活用するため制限を解除 --- */
    margin-block: 0;
    margin-inline: auto;
    object-fit: contain;
    transform: translate(0, 0) scale(1);
    transform-origin: center center;
    transition: transform 0.2s ease;
    will-change: transform;
    /* --- IGNORE: スマホではブラウザ標準の補間で滑らかさを優先 --- */
}

.section__support-network .support-zoom.is-interacting .support-zoom__img {
    transition: none;
}

.section__support-network .support-zoom__hud {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.section__support-network .support-zoom__hint {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: clamp(5.75rem, 26vw, 7.5rem);
    aspect-ratio: 1 / 1;
    padding: 0.6rem;
    border-radius: 0.75rem;
    background: rgba(34, 34, 34, 0.7);
    color: #fff;
    font-size: var(--font-xxs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.02rem;
    box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(0.5rem);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.section__support-network .support-zoom__hint .material-symbols-rounded {
    font-size: var(--font-title--lg);
}

.section__support-network .support-zoom.is-hint-visible .support-zoom__hint {
    opacity: 1;
    transform: translateY(0);
}

.section__support-network .support-zoom.is-hint-visible .support-zoom__hint .material-symbols-rounded {
    animation: support-zoom-pulse 1.4s ease-in-out infinite;
}

.section__support-network .support-zoom__hint .material-symbols-rounded {
    transition: transform 0.3s ease;
}

.section__support-network .support-zoom__reset {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: none;
    border-radius: 999px;
    background: rgba(0, 78, 162, 0.9);
    color: #fff;
    padding: 0.25rem 0.6rem;
    font-size: var(--font-xxs);
    font-weight: var(--fw-bold);
    letter-spacing: 0.02rem;
    box-shadow: 0 0.5rem 1.2rem rgba(0, 78, 162, 0.2);
    opacity: 0;
    transform: translateY(0.25rem);
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.section__support-network .support-zoom.is-zoomed .support-zoom__reset {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (min-width: 768px) {
    .section__support-network .support-zoom {
        margin: auto;
    }

    .section__support-network .support-zoom__img {
        max-width: none; /* PC版も元画像の解像度を活用 --- */
        width: 80%; /* 表示サイズは80%に制限 --- */
    }

    .section__support-network .support-zoom__stage {
        touch-action: auto;
    }

    .section__support-network .support-zoom__hint,
    .section__support-network .support-zoom__reset {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .section__support-network .support-zoom.is-hint-visible .support-zoom__hint .material-symbols-rounded {
        animation: none;
    }
}

@keyframes support-zoom-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* ============================ */
/*   事業グループ紹介セクション   */
/* ============================ */
.work__grid-container {
    display: flex;
    flex-direction: column;
}

.age-header {
    padding: 0.4rem;
    font-size: var(--font-sm);
    font-weight: bold;
    color: white;
    text-align: center;
    border-radius: 8px;
    margin: 0;
}
.infant-header {
    background-color: #8bc34a;
    margin-block-start: calc(var(--space-md) * 2);
}
.adult-header {
    background-color: #4a90e2;
    margin-block-start: calc(var(--space-md) * 3);
}

.work__card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 1rem auto 0;
    gap: 1rem;
}
.work__card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}
.work__card.adult-card-2 {
    margin-block-start: calc(var(--space-md) * 3);
}
.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}
.card-content h4 {
    font-size: var(--font-base);
    font-weight: bold;
}
.work__card ul.work__service-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.work__card .work__service-list li {
    display: flex;
    align-items: center;
}
.work__card .work__service-list a {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: var(--fw-medium);
    color: var(--text-primary);
    transition: color 0.2s;
}
.work__card .material-symbols-rounded.service-icon {
    color: var(--text-blue);
    vertical-align: text-bottom;
}
.work__card .work__service-list a:hover {
    color: var(--text-blue);
}

.lifescene-banner {
    background-color: #c8b48a;
    color: white;
    text-align: center;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: var(--font-sm);
    font-weight: bold;
    margin-block-start: calc(var(--space-md) * 3);
    margin-bottom: 0;
}

.lifescene-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-radius: 8px;
    margin: 1rem auto 0;
}
.lifescene-image {
    flex: 1;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}
.lifescene-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}
.lifescene-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    width: 100%;
}
.lifescene-text h4 {
    font-size: var(--font-base);
    font-weight: bold;
}
.lifescene-services li {
    font-size: var(--font-sm);
    line-height: var(--lh-150);
    margin-bottom: var(--space-sm);
    position: relative;
}

@media (min-width: 768px) {
    .work__card ul.work__service-list {
        gap: 0.8rem;
    }

    .work__card .work__service-list a {
        font-size: var(--font-sm);
        display: flex;
        align-items: center;
    }

    .lifescene-services li {
        font-size: var(--font-sm);
    }

    .work__grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .age-header {
        font-size: var(--font-base);
        border-radius: 8px 8px 0 0;
        padding: 0.5rem;
        margin-block-start: calc(var(--space-md) * 2);
    }
    .infant-header {
        grid-column: 1 / 2;
        grid-row: 1;
        border-radius: 8px 0 0 8px;
    }
    .infant-card {
        grid-column: 1 / 2;
        grid-row: 2;
    }
    .adult-header {
        grid-column: 2 / 4;
        grid-row: 1;
        border-radius: 0 8px 8px 0;
    }
    .adult-card-1 {
        grid-column: 2 / 3;
        grid-row: 2;
    }
    .adult-card-2 {
        grid-column: 3 / 4;
        grid-row: 2;
    }

    .lifescene-banner {
        font-size: var(--font-base);
        padding: 0.4rem;
        margin-block-start: calc(var(--space-md) * 2);
    }
    .lifescene-section {
        flex-direction: row;
        gap: 2.5rem;
    }

    .lifescene-section {
        flex-direction: row;
        justify-content: center;
        margin: 2rem auto 0;
    }
    .lifescene-image {
        flex: 0 0 16.5rem;
        max-width: 16.5rem;
        width: 16.5rem;
        margin: 0;
    }
    .lifescene-text {
        flex: 1 1 0%;
        min-width: 0;
    }
}
@media (min-width: 768px) and (max-width: 959px) {
    .work__card,
    .work__card.adult-card-2 {
        margin: 1rem;
        gap: 1rem;
    }

    .lifescene-section {
        width: 80%;
    }
}
@media (min-width: 960px) {
    .work__card,
    .work__card.adult-card-2 {
        margin: 2rem 4rem;
        gap: 1.25rem;
    }

    .lifescene-section {
        width: 50%;
    }
}

/* ---------------- Interview section styles ---------------- */
.section__interview {
    position: relative;
}

.section__interview .interview-grid {
    position: relative;
    overflow: hidden;
}

.section__interview .interview-grid .swiper-wrapper {
    display: flex;
    gap: 0;
    will-change: transform;
}

.section__interview .section__head {
    background-image: url("/assets/img/common/interview__title.svg");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    justify-content: flex-end;
    height: clamp(6rem, 8vh, 8rem);
}

.section__interview .interview-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg, 1rem);
    align-items: center;
    height: auto;
}

.top-interview__photo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-shrink: 0;
    width: clamp(6rem, 10rem, 15rem);
    min-height: 16rem;
    margin: 0 auto;
    z-index: 2;
    overflow: hidden;
    border-radius: 999px;
}
.top-interview__swiper .swiper-slide {
    padding-block-start: 9rem;
}
.top-interview__photo-bg {
    width: clamp(6rem, 10rem, 15rem);
    height: clamp(8rem, 14rem, 18rem);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #d9f3fc 0%, #f0f7e0 50%, #fff5b2 100%);
    border-radius: 999px;
}
.top-interview__photo-img {
    width: 100%;
    height: clamp(10rem, 18rem, 20rem);
    max-width: 14rem;
    position: relative;
    z-index: 8;
    object-fit: cover;
    border-radius: 999px;
}

.section__interview .interview__body {
    flex: 1 1 auto;
    margin-block-start: var(--space-xl);
}

.section__interview .interview__quote {
    color: var(--text-navy);
    font-weight: var(--fw-exbold);
    font-size: var(--font-xl);
    line-height: var(--lh-160);
}

.section__interview .interview__quote:before,
.section__interview .interview__quote:after {
    font-size: var(--font-xl);
    vertical-align: top;
    display: inline;
}

.section__interview .interview__quote:before {
    content: "“";
    margin-inline-end: var(--space-xs);
}

.section__interview .interview__quote:after {
    content: "”";
    margin-inline-start: var(--space-xs);
}

.section__interview .interview__desc {
    margin-block-start: var(--space-md);
    color: var(--text-primary);
    font-size: var(--font-xs);
}

.section__interview .interview__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-block-start: 1.5rem;
    padding-block-start: 1.5rem;
    color: var(--text-primary);
    font-size: var(--font-xs);
    font-weight: var(--fw-medium);
    border-top: 1px solid var(--border-gray);
}

.section__interview .interview__name {
    font-weight: var(--fw-bold);
    font-size: var(--font-lg);
}

.section__interview .interview__name {
    margin-block-start: 0.5rem;
}

.section__interview .interview__info-box {
    margin-block-start: var(--space-md);
    background: #f7fafb;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: var(--font-xs);
    color: var(--text-primary);
}

.section__interview .swiper-slide {
    height: auto;
    width: 100% !important;
}

.section__interview .interview-pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm, 0.5rem);
    margin-block-start: var(--space-xl, 1.5rem);
    position: static;
    transform: none;
    width: 100%;
}

.section__interview .interview-grid .swiper-wrapper .swiper-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.section__interview .js-interview-swiper {
    overflow: hidden;
}

.section__interview .interview-pagination .swiper-pagination-bullet {
    width: 2rem;
    height: 0.4rem;
    margin: 0 0.5rem !important;
    border-radius: 0.375rem;
    background: var(--border-gray);
    opacity: 1;
}
@media (min-width: 960px) {
    .section__interview .top-interview-swiper {
        overflow: visible;
    }
    .section__interview .section__head {
        height: clamp(6rem, 9vw, 8rem);
        width: 52rem;
        margin: auto;
    }

    .section__interview .interview-grid .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr));
        gap: 4rem;
        align-items: start;
        will-change: auto;
    }

    .top-interview__photo {
        flex-shrink: 0;
        width: 12rem;
        min-height: 16rem;
        z-index: 2;
    }
    .top-interview__photo-bg {
        width: 12rem;
        height: 16rem;
    }

    .top-interview__photo-img {
        width: 100%;
        height: 20rem;
        max-width: 20rem;
    }

    .section__interview .interview__quote {
        font-size: var(--font-lg);
    }

    .section__interview .interview__quote:before,
    .section__interview .interview__quote:after {
        font-size: var(--font-lg);
    }
    .section__interview .interview-pagination {
        display: none;
    }
}

.section__interview .interview-pagination .swiper-pagination-bullet-active {
    background: var(--bg-navy);
}

/* ============================ */
/*   特集（Feature）セクション   */
/* ============================ */

.section__feature {
    position: relative;
    overflow: hidden;
}

.section__feature .feature__container {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: var(--radius-lg);
    padding: 2rem 2rem 1.75rem;
    width: 100%;
}

.section__feature .feature__container.numbers {
    background-image: url("/assets/img/index/feature__numbers-bg_sp.webp");
}
.section__feature .feature__container.culture {
    background-image: url("/assets/img/index/feature__culture-bg_sp.webp");
}
@media (min-width: 960px) {
    .section__feature .feature__container.numbers {
        background-image: url("/assets/img/index/feature__numbers-bg.webp");
    }
    .section__feature .feature__container.culture {
        background-image: url("/assets/img/index/feature__culture-bg.webp");
    }
}

.section__feature .feature__container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
    z-index: 2;
}

.section__feature .feature__content {
    position: relative;
    z-index: 5;
    max-width: 100%;
}

@media (min-width: 960px) {
    .section__feature .feature__container {
        padding: 0;
    }
    .section__feature .feature__container::before {
        background: linear-gradient(to right, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
    }

    .section__feature .feature__content {
        max-width: 40%;
    }
}
.section__feature .feature {
    position: relative;
    display: block;
    min-height: max-content;
}

@media (min-width: 960px) {
    .section__feature .feature {
        min-height: 20rem;
    }
}

.section__feature .feature__body {
    margin-block-start: 1.25rem;
    color: var(--text-primary);
    font-size: var(--font-sm);
    font-weight: var(--fw-medium);
}
.btn__link--base {
    gap: 0;
}
.section__feature .btn__link--base .btn__link {
    position: static;
    align-items: center;
    text-decoration: none;
    font-size: var(--font-base);
    font-weight: var(--fw-exbold);
    margin-block-start: var(--space-md);
    padding: 0.7rem 1.25rem;
    gap: 0.75rem;
    border-bottom: 4px solid var(--border-navy);
    z-index: 6;
}

@media (min-width: 960px) {
    .feature {
        padding: 2.5rem 2.5rem 2.5rem 3rem;
    }
}

.section__feature .feature__link {
    display: block;
    color: inherit;
    text-decoration: none;
    position: relative;
}
.section__feature .feature__link:focus {
    outline: 3px solid rgba(0, 78, 162, 0.15);
    outline-offset: 4px;
}

/* ================================ */
/*   ニュース（News）セクション   */
/* ================================ */

.section__news {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: calc(var(--space-md) * 5) auto;
}

.section__news--bg {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    background: var(--section__bg-lightblue, #f7fafb);
}
.section__news .contents-inline-auto {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
    box-sizing: border-box;
}
.section__news.section__bg-lightblue {
    padding: 0 0 0 2.5rem;
}

.news-grid {
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-lg);
    align-items: start;
    background-color: var(--bg-white);
    background-size: 2rem 2rem;
    background-position: center center;
    transform: translateY(0px);
    opacity: 1;
    border: 0.25rem solid var(--border-light-blue);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}

.news-col-head .section__sub {
    font-size: var(--font-base);
}
.news-col-head .section__title {
    font-size: var(--font-lg);
    padding-block-end: 1px;
}
.news-list li:nth-child(n + 2) {
    border-top: 1px solid var(--border-gray);
}
.news-list li:first-child {
    padding: 0 0 var(--space-md);
}
.news-list li {
    padding: var(--space-md) 0;
}
.news-list li:last-child {
    padding: var(--space-md) 0 0;
}
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.news-card {
    display: flex;
    flex-direction: row; /* mobile: 横並び */
    align-items: center;
    gap: 0.75rem;
}
.news-card__meta {
    display: flex;
    gap: var(--gap-md);
    align-items: center;
}
.news-date {
    color: var(--text-blue);
    font-weight: var(--fw-bold);
    letter-spacing: 0.04rem;
}
.news-tag {
    display: inline-block;
    background: #44b3d8;
    color: #fff;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: var(--font-xxs);
}
.news-tag--info {
    background: var(--bg-navy);
}
.news-card__link {
    color: inherit;
    text-decoration: none;
}
.news-card__title {
    font-weight: var(--fw-bold);
    font-size: var(--font-sm);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* mobile: 最大3行 */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.news-card__link .news-card__title {
    text-decoration: underline;
}

.news-card__link .news-card__title:hover {
    color: var(--text-navy);
}

.news-card__thumb {
    margin-block-start: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex: 0 0 25%;
    width: 25%;
    aspect-ratio: 4 / 3;
    align-self: flex-end;
}
.news-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card__content {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.news-more .btn__pill-xs {
    margin-block-start: 0;
}
.news-col-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.news-col-head .section__sub,
.news-col-head .section__title {
    margin: 0;
}
.news-col-head .btn__pill-xs {
    margin-inline-start: auto;
}

@media (min-width: 960px) {
    .section__news {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: minmax(16rem, 28%) 1fr;
        align-items: start;
        gap: 2rem;
        grid-template-columns: 18% 1fr;
        width: 100%;
        max-width: var(--contents-max-width);
        margin-inline: auto;
        padding: clamp(1rem, 3.5vw, 2rem);
        border-radius: 2rem;
        border-width: 0.5rem;
    }
    .news-col-head {
        display: block;
        padding-right: var(--space-sm);
    }

    .news-col-head .section__title {
        padding-block-end: 0;
    }
    .news-card__content {
        flex: 1;
    }
    .news-col-head {
        position: static;
        margin-block-start: var(--space-md);
        align-self: start;
    }
    .news-list {
        display: block;
        gap: 1.5rem;
    }
    .news-item {
        display: block;
    }
    .news-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
    .news-item:last-child {
        border-bottom: none;
    }
    .news-card__meta {
        min-width: 15%;
        flex-shrink: 0;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }
    .news-card__meta .news-date,
    .news-card__title {
        font-size: var(--font-news);
    }
    .news-card__title {
        -webkit-line-clamp: 1;
        line-clamp: 1;
        font-size: var(--font-news);
    }

    .news-card__thumb {
        margin-block-start: 0.5rem;
        border-radius: var(--radius-md);
        overflow: hidden;
        flex: 0 0 8rem;
        width: 8rem;
        aspect-ratio: 16 / 9;
    }
    .news-card__thumb img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .section__news.section__bg-lightblue {
        padding: 0 0 0 2.5rem;
    }

    .news-col-head {
        display: block;
    }
    .btn__pill-xs {
        margin-block-start: var(--space-lg, 1.5rem);
    }
}

/* ================================ */
/*   求人情報（Recruit）セクション   */
/* ================================ */

.section__recruit {
    padding: 3rem 0;
}
.recruit-grid {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.25rem;
}
.recruit-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    max-width: 20rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0.4rem 0.4rem 0 rgba(0, 78, 162, 0.12);
}

.recruit-card:hover {
    transition:
        background-color var(--dur-fast) var(--ease-standard),
        color var(--dur-fast) var(--ease-standard),
        transform var(--dur-fast) var(--ease-standard);
}

.recruit-card:hover,
.recruit-card:focus-visible {
    transform: translateY(-0.8rem);
}
.recruit-card__media {
    width: 100%;
    overflow: hidden;
    background: #e9eef3;
    aspect-ratio: 16 / 9;
}
.recruit-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.recruit-card__title {
    padding: 0.5rem;
    text-align: center;
    letter-spacing: -0.02rem;
    font-weight: var(--fw-bold);
    font-size: var(--font-xxs);
    color: var(--text-primary);
}
@media (max-width: 375px) {
    .recruit-card__title--font-spacing {
        font-feature-settings: "palt";
    }
}
@media (min-width: 768px) {
    .recruit-grid {
        gap: var(--gap-xxl);
    }
    .recruit-card {
        max-width: 100%;
    }
}
@media (min-width: 960px) {
    .section__recruit {
        padding: calc(var(--space-xl) * 2.5) 0 calc(var(--space-xl) * 3);
    }
    .section__recruit .contents-inline-auto {
        width: clamp(40rem, 56vw, 56rem);
    }
    .recruit-card__media {
        aspect-ratio: 16 / 9;
    }
    .recruit-card {
        border-radius: var(--radius-lg);
        box-shadow: 0.625rem 0.625rem 0 rgba(0, 78, 162, 0.12);
    }

    .recruit-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1rem, 3vw, 3rem);
    }
    .recruit-card__title {
        font-size: var(--font-sm);
        padding: 0.75rem;
    }
}

@media (max-width: 959px) {
    .kv__title {
        text-align: center;
    }
}

/* ============================ */
/*   企業情報（Company）セクション   */
/* ============================ */

/* グリッドコンテナ（モバイル：縦並び） */
.company__grid {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xl);
}

/* スマホ：表示順序を制御 */
.company__intro {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-md);
    text-align: center;
}

.company__info {
    order: 2;
    width: 100%;
}

.company__cta {
    order: 3;
}

/* ロゴ */
.company__logo {
    width: 100%;
    max-width: 18.75rem;
}

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

.company__description {
    font-size: var(--font-sm);
    font-weight: var(--fw-medium);
    color: var(--text-primary);
    line-height: var(--lh-170);
    margin: 0;
}

/* 会社情報エリア */
.company__info {
    width: 100%;
}

.company__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
}

.company__item {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-gray);
}

.company__item:first-child {
    border-top: 1px solid var(--border-gray);
}

.company__label {
    font-size: var(--font-sm);
    font-weight: var(--fw-bold);
    color: var(--text-navy);
}

.company__value {
    font-size: var(--font-base);
    font-weight: var(--fw-normal);
    color: var(--text-primary);
    margin: 0;
    line-height: var(--lh-170);
}

@media (min-width: 768px) {
    .company__item {
        flex-direction: row;
        align-items: baseline;
        gap: var(--gap-xl);
    }

    .company__label {
        flex-shrink: 0;
        min-width: 6rem;
    }
}

@media (min-width: 768px) and (max-width: 959px) {
    .philosophy__bg::before,
    .philosophy__bg::after {
        inline-size: 46rem;
    }
    .philosophy__body {
        width: 88%;
    }

    .philosophy__message {
        margin-inline: 0 auto;
    }
    .company__intro {
        flex-direction: row;
    }
}

@media (min-width: 960px) {
    /* PC：グリッドレイアウト（2カラム） */
    .company__grid {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        grid-template-rows: auto auto;
        align-items: start;
        gap: var(--gap-lg) var(--gap-xl);
    }

    /* PC：レイアウト配置 */
    .company__intro {
        grid-column: 1;
        grid-row: 1;
        text-align: left;
        top: var(--space-xl);
    }

    .company__info {
        grid-column: 2;
        grid-row: 1 / span 2;
        max-width: 100%;
    }

    .company__cta {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
    }

    .company__logo {
        max-width: 20rem;
    }
    .company__description {
        max-width: 25rem;
    }
    .company__item {
        padding: var(--space-lg) 0;
    }

    .company__label {
        min-width: 8rem;
    }
}
