/* =========================
   section1
========================= */
.lower-layer_section {
    padding: 50px 0 0;
}

.blog-inner {
    width: clamp(0px, calc(100% - 40px), 1080px);
    margin: 0 auto;
}

.blog-head-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: clamp(40px, 10.25vw, 140px);
    align-items: end;
    margin-bottom: clamp(2px, 0.37vw, 5px);
}

.blog-title {
    font-family: "ABeeZee", sans-serif;
    font-weight: 400;
    font-size: clamp(48px, 7.32vw, 100px);
    line-height: 1;
    color: #BFD1C6;
    margin: 0;
}

/* .blog-desc {
        font-size: clamp(14px, 1.17vw, 16px);
        line-height: 1.6;
        color: #000;
        margin-bottom: clamp(4px, 0.73vw, 10px);
        font-family: "dnp-shuei-mgothic-std", sans-serif;
        font-weight: 400;
    } */

.blog-meta {
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.73vw, 10px);
    margin-bottom: clamp(48px, 7.9vw, 108px);
    padding-left: clamp(4px, 0.73vw, 10px);
}

.blog-dot {
    width: clamp(6px, 0.88vw, 12px);
    height: clamp(6px, 0.88vw, 12px);
    background: #006E7C;
    border-radius: 50%;
}

.blog-meta-text {
    font-size: clamp(14px, 1.46vw, 20px);
    color: #000;
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 400;
}

@media screen and (max-width: 819px) {
    .blog-head-wrap {
        grid-template-columns: 1fr;
        row-gap: 12px;
        align-items: start;
    }

    .blog-title {
        font-size: clamp(48px, 12vw, 72px);
    }

    /* .blog-desc {
            max-width: none;
        } */


    /* 見出しブロックだけ制御 */
    .blog-inner:first-of-type {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* 中の h2 / desc を同階層にする */
    .blog-inner:first-of-type .blog-head-wrap {
        display: contents;
    }

    /* ▼ 並び順を作る */
    .blog-inner:first-of-type .blog-title {
        order: 1;
    }

    .blog-inner:first-of-type .blog-meta {
        order: 2;
        margin-bottom: 0;
    }

    /* .blog-inner:first-of-type .blog-desc {
            order: 3;
        } */

    /* ▼ それ以外は全部下に送る */
    .blog-inner:first-of-type .blog-category-hint,
    .blog-inner:first-of-type .blog-category {
        order: 10;
    }
}

.lower-layer_section::before {
    content: "";
    position: absolute;
    left: calc((100vw - min(1080px, 100% - 40px)) / 2 - 145px);
    top: 130px;
    width: 250px;
    height: 250px;
    background-image: url(/wp-content/uploads/2026/02/title-bacimg.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    z-index: 0;
    pointer-events: none;
}


/* テキストは必ず前面 */
.lower-layer_section>* {
    position: relative;
    z-index: 1;
}

@media (max-width: 1365px) {
    .lower-layer_section::before {
        left: 0;
        top: 130px;
        width: clamp(120px, 17.3vw, 250px);
        height: clamp(120px, 17.3vw, 250px);
    }
}


@media (max-width: 819px) {
    .lower-layer_section {
        padding: 0;
        position: relative;
    }

    .lower-layer_section::before {
        left: 0px;
        top: 0px;
        transform: none;
        width: 130px;
        height: 130px;
    }
}

/* =========================
   section2
========================= */
.message {
    padding: 0 0 clamp(80px, 10.62vw, 145px);
}

.message__inner {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}

.message__title {
    font-family: "Abel", sans-serif;
    font-size: clamp(24px, 2.63vw, 36px);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: clamp(16px, 2.2vw, 30px);
}

.message__text {
    font-family: "ABeeZee", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    max-width: 770px;
}

/* ---------- SP ---------- */
@media (max-width: 810px) {
    .message {
        padding: 48px 0;
    }

    .message__title {
        font-size: 22px;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    .message__text {
        font-size: 14px;
        line-height: 1.9;
    }

    .sp-none {
        display: none;
    }
}

/* =========================
   section3
========================= */

.company-links {
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.company-links__list {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    list-style: none;
    padding: clamp(12px, 1.46vw, 20px) 0 clamp(80px, 10.25vw, 140px);
}

.company-links__item {
    border-bottom: 1px solid #D4D4D4;
}

.company-links__link {
    display: grid;
    grid-template-columns: clamp(320px, 40.99vw, 560px) 1fr;
    align-items: center;
    padding: clamp(36px, 4.39vw, 60px) 0;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s ease;
}

.company-links__left {
    display: flex;
    align-items: center;
    gap: clamp(40px, 5.34vw, 73px);
}

.company-links__left img {
    max-width: clamp(180px, 21.96vw, 300px);
    height: auto;
    display: block;
}

.company-links__title {
    font-size: clamp(20px, 2.34vw, 32px);
    color: #006E7C;
    font-weight: 600;
    font-family: "dnp-shuei-mgothic-std", sans-serif;
}

.company-links__right {
    position: relative;
    height: 100%;
}

.company-links__arrow {
    position: absolute;
    right: clamp(12px, 1.76vw, 24px);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(28px, 3.29vw, 45px);
    height: clamp(28px, 3.29vw, 45px);
    border-radius: 50%;
    background: #006E7C;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(12px, 1.17vw, 16px);
    transition: transform 0.3s ease, background 0.3s ease;
}

/* hover演出 */
.company-links__link:hover {
    opacity: 0.8;
}

.company-links__link:hover .company-links__arrow {
    transform: translateY(-50%) translateX(6px);
}

/* ---------- SP ---------- */
@media (max-width: 510px) {
    .company-links__left img {
        width: 100%;
        max-width: 140px;
    }

    .company-links__left {
        gap: 30px;
    }
}