/* 共通 */
section {
    position: relative;
}
.page-top {
    position: relative;
}
.bg-objects {
    position: absolute;
    inset: 0;
    background: url("../images/bg-circle.webp") top / cover repeat;
    z-index: 1;
    pointer-events: none;
}
@media (max-width: 767px) {
    .bg-objects {
        background-image: url("../images/bg-circle-sp.webp");
        background-position: top center;
        background-size: 100% auto; /* ★ 横100% */
        background-repeat: repeat-y; /* ★ 縦だけ繰り返し */
    }
}
.after-news {
    position: relative;
    background: #f5f5f5;
}
.after-news > section {
    position: relative;
    z-index: 2;
}
section {
    position: relative;
    z-index: 2;
}
/* HERO */
.hero {
    position: relative;
    padding-bottom: 5rem;
}
.hero .hero-bg {
    position: relative;
}
.hero .hero-txt {
    position: absolute;
    width: 65%;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
}
/* SECTION */
.white-card {
    background: rgba(255, 255, 255, 0.7);
    overflow: visible; /* ← hiddenにすると上が切れることがある */
    padding: 1rem 1.5rem 3rem;
    margin-top: 5rem;
    margin-bottom: 5%;
}
.white-card .section-head {
    text-align: center;
    position: relative;
    transform: translateY(-35%); /* ←はみ出し量（PC） */
    margin-bottom: -24px; /* ←詰めてカード内の余白調整 */
}
.white-card h2 {
    color: #DF003A;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: clamp(40px, 5vw, 80px);
    line-height: 1.0; /* はみ出し時に重要 */
    padding-top: 6px; /* フォント上欠け保険 */
    margin-bottom: 0.8rem;
}
.white-card .section-subtitle {
    position: relative;
    margin-bottom: 32px; /* ライン分の余白 */
}
.white-card .section-subtitle::after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background-color: currentColor; /* 文字色と揃える */
    margin: 16px auto 0; /* 上余白 + 中央寄せ */
}
.white-card .feature-eyebrow {
    text-align: center;
}
.white-card .feature-lead {
    text-align: center;
    font-size: 1.5rem;
    color: #DF003A;
    line-height: 1.5;
    margin-bottom: 2rem;
}
.white-card .feature-description {
    font-weight: 400;
}
.feature-actions {
    display: grid;
    gap: 0.5rem;
    margin-top: 2rem;
}
.feature-media {
    padding-bottom: 1rem;
}
.sp-text-top .feature-media {
    padding-bottom: 3rem;
}
.feature-btn {
    background: #DF003A;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    box-sizing: border-box;
}
.feature-btn {
    color: #fff;
}
.feature-btn:hover {
    color: #fff;
}
.feature-btn__text {
    line-height: 1.5;
    letter-spacing: 0.02em;
    padding-right: 16px;
}
.feature-btn__arrow {
    flex: 0 0 auto;
    font-weight: 700;
    transition: transform 0.25s ease;
}
/* NEWS */
.news {
    position: relative;
}
.news::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    bottom: 0;
    background: #f5f5f5;
    z-index: -1;
    pointer-events: none;
}
.news .inner-width {
    position: relative;
    z-index: 2;
}
.news .bg-gray-70 {
    background: rgba(230, 230, 230, 0.7);
    padding: 40px 20px;
}
.news-header {
    text-align: center;
    margin-bottom: 24px;
}
.news .section-title {
    font-family: "Outfit", sans-serif;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.1;
    font-size: 22px;
}
.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 28px; /* SPは縦 */
}
.news-item a {
    display: grid;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}
.news-thumb {
    background: #fff;
}
.news-thumb img {
    width: 100%;
    height: auto;
    display: block;
}
.news-body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 12px;
    align-items: start;
}
.news-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    padding: 0 12px;
    background: #DF003A;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.news-date {
    font-size: 12px;
    color: #777;
    justify-self: end;
}
.news-title {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}
/* INTRO */
.intro {
    position: relative;
    padding: 72px 0 84px;
    text-align: center;
}
.intro-head {
    margin-bottom: 26px;
}
.intro-title {
    margin: 0;
    color: #DF003A;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.5;
}
.intro-body {
    text-align: start;
    max-width: 760px;
    margin: 0 auto 44px;
    line-height: 2.2;
}
.intro-body p {
    margin: 0;
}
/* 丸リンク群 */
.intro-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    justify-items: center;
}
.intro-link-item {
    width: 100%;
    max-width: 170px;
}
.intro-link {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    display: grid;
    place-items: center;
    gap: 10px;
    text-decoration: none;
    color: #DF003A;
    padding: 1rem;
}
.intro-link-text {
    display: block;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.6;
    padding-top: 3rem;
}
@media (min-width: 768px) {
    .intro-link-text {
        font-size: 1.1rem;
    }
}
/* 下向き矢印（シンプル） */
.intro-link-icon {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: #DF003A;
    font-size: 18px;
    line-height: 1;
    transform: translateY(2px);
    opacity: 0.9;
}
/* hover（矢印だけ） */
@media (hover:hover) {
    .intro-link:hover .intro-link-icon {
        transform: translateY(6px);
        transition: transform .25s ease;
    }
}
/* hover（PC中心） */
@media (hover:hover) {
    .news-item a:hover .news-title {
        text-decoration: underline;
    }
}
/* PHILOSOPHY */
.philosophy .feature-actions {
    padding-bottom: 3rem;
}
/* VISION */
/* VALUES */
.values .feature-media img.sp {
    width: 100%;
    max-width: 270px;
    margin: 0 auto;
}
/* FRAMEWORK */
section.framework {
    padding-bottom: 4.5%;
}
/* PHILOSOPHY */
@media (min-width: 768px) {
    /* HERO */
    .hero {
        padding-bottom: 10rem;
    }
    .hero .hero-txt {
        width: 35%;
        position: absolute;
        top: 8%;
        left: 50%;
        transform: translateX(-50%);
    }
    /* 共通 */
    .white-card {
        padding: 5%;
    }
    .white-card .section-head {
        transform: translateY(-80%); /* ←はみ出し量（PC） */
        margin-bottom: -80px; /* ←詰めてカード内の余白調整 */
    }
    .white-card .feature-eyebrow {
        text-align: left;
    }
    .white-card .feature-lead {
        text-align: left;
    }
    .feature-media {
        padding-bottom: 1rem;
    }
    /* ボタン */
    .feature-btn {
        padding: 10px 28px;
        min-height: 56px; /* PCは少し薄く */
    }
    .feature-btn__text {
        max-width: none; /* PCは1行前提 */
    }
    .feature-btn:hover .feature-btn__arrow {
        transform: translateX(-5px);
    }
    /* NEWS */
    .news .bg-gray-70 {
        padding: 56px 56px;
    }
    .news .bg-gray-70 {
        display: grid;
        grid-template-columns: 220px 1fr;
        gap: 40px;
        align-items: start;
    }
    .news-header {
        text-align: left;
        margin: 0;
        padding-top: 8px;
    }
    .news .section-title {
        font-size: 24px;
    }
    .news-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 36px;
    }
    .news-item a {
        gap: 16px;
    }
    /* VALUES */
    .values .feature-grid {
        --text-col: 30%;
        --media-col: 66%;
        gap: 4%;
    }
    .values .sp-text-top .feature-media {
        padding-bottom: 0;
    }
    /* FRAMEWORK */
    .framework .feature-grid {
        --text-col: 66%;
        --media-col: 30%;
        gap: 4%;
    }
}
@media screen and (min-width: 992px) {
    /* INTRO */
    .intro-title {
        font-size: 2rem;
    }
    .intro-body {
        text-align: center;
    }
    .intro-links {
        grid-template-columns: repeat(4, 220px); /* ←丸の幅を固定 */
        gap: 28px; /* ←好きに調整 */
        justify-content: center;
    }
    .intro-link {
        width: 220px;
        height: 220px;
        aspect-ratio: auto; /* 念のため無効化（なくてもOK） */
    }
    .intro-link-item {
        width: auto;
        max-width: none;
    }
}
@media screen and (min-width: 1600px) {
    .hero .hero-txt {
        width: 560px;
        top: 8%;
    }
}