/*
 * ARIEL 求人情報サイト・関連リンク 固定ページ
 */

.links-page {
    --links-width: var(--sky-content, 520px);
    --links-text: #31514e;
    --links-muted: #617b78;
    --links-deep: #126f68;
    --links-turquoise: #22a79d;
    --links-mint: #e5f7f2;
    --links-mint-deep: #c5e8e0;
    --links-sky: #eaf8fc;
    --links-coral: #df7474;
    --links-cream: #fffdf8;
    --links-white: #ffffff;
    --links-border: #b9ddd7;
}

.links-page,
.links-page * {
    box-sizing: border-box;
}

.links-main {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #effaf8;
}

.links-page.sky-home {
    width: min(100%, var(--links-width));
    margin-inline: auto;
    overflow: hidden;
    color: var(--links-text);
    font-family:
        "Hiragino Maru Gothic ProN",
        "Yu Gothic",
        "Noto Sans JP",
        "Meiryo",
        sans-serif;
    background:
        linear-gradient(
            180deg,
            #f7fdfc 0%,
            #edf9f6 48%,
            #f9fdfb 100%
        );
}

.links-main ~ .site-footer {
    display: none;
}

.links-inner {
    width: 100%;
    padding-right: 19px;
    padding-left: 19px;
}

.links-eyebrow {
    margin: 0 0 8px;
    color: var(--links-coral);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 0.14em;
}

.links-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(
            circle at 16% 17%,
            rgba(255, 255, 255, 0.95) 0 9%,
            transparent 10%
        ),
        radial-gradient(
            circle at 86% 25%,
            rgba(255, 255, 255, 0.82) 0 12%,
            transparent 13%
        ),
        linear-gradient(
            180deg,
            #dff6fb 0%,
            #e7f8f4 72%,
            #f8fdfb 100%
        );
    border-bottom: 1px solid rgba(111, 197, 187, 0.4);
}

.links-hero::before,
.links-hero::after {
    content: "";
    position: absolute;
    bottom: -28px;
    width: 112px;
    height: 174px;
    opacity: 0.38;
    background:
        repeating-linear-gradient(
            64deg,
            transparent 0 17px,
            rgba(28, 155, 137, 0.46) 18px 22px,
            transparent 23px 34px
        );
}

.links-hero::before {
    left: -55px;
    transform: rotate(-17deg);
}

.links-hero::after {
    right: -55px;
    transform: scaleX(-1) rotate(-17deg);
}

.links-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 54px;
    padding-bottom: 49px;
}

.links-hero h1 {
    margin: 0 0 21px;
    color: var(--links-deep);
    font-size: clamp(30px, 8vw, 39px);
    font-weight: 900;
    line-height: 1.38;
    letter-spacing: 0.025em;
}

.links-hero__lead {
    margin: 0;
    color: var(--links-text);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.9;
}

.links-hero__flowers {
    display: flex;
    gap: 13px;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    color: var(--links-coral);
    font-size: 17px;
    line-height: 1;
}

.links-hero__flowers span:nth-child(2) {
    color: var(--links-turquoise);
    font-size: 12px;
}

.links-guide {
    padding: 39px 0 42px;
    text-align: center;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(185, 221, 215, 0.78);
}

.links-guide h2,
.links-directory h2,
.links-notice h2 {
    margin: 0 0 18px;
    color: var(--links-deep);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.55;
}

.links-guide p:not(.links-eyebrow) {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.9;
    text-align: left;
}

.links-guide p:last-child {
    margin-bottom: 0;
}

.links-directory {
    padding: 40px 0 46px;
    background:
        linear-gradient(
            180deg,
            rgba(229, 247, 242, 0.85) 0%,
            rgba(240, 250, 247, 0.92) 100%
        );
}

.links-directory__header {
    margin: 0 0 24px;
    text-align: center;
}

.links-directory__header > p:last-child {
    margin: -6px 0 0;
    color: var(--links-muted);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.links-directory__list {
    display: grid;
    gap: 13px;
}

.links-directory__item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    margin: 0;
    padding: 17px 15px 18px;
    background: rgba(255, 255, 255, 0.97);
    border: 1.5px solid var(--links-border);
    border-radius: 15px;
}

.links-directory__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.05em;
    background: var(--links-turquoise);
    border-radius: 50%;
}

.links-directory__body {
    min-width: 0;
}

.links-directory__status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin: 0 0 7px;
    padding: 3px 9px;
    color: #a45151;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    background: #fff2ef;
    border: 1px solid #efc8c1;
    border-radius: 999px;
}

.links-directory__item h3 {
    margin: 0 0 9px;
    overflow-wrap: anywhere;
    color: var(--links-deep);
    font-size: 19px;
    font-weight: 900;
    line-height: 1.5;
}

.links-directory__description {
    margin: 0 0 14px;
    color: var(--links-text);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.8;
}

.links-directory__link {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 8px 15px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    background: var(--links-turquoise);
    border: 2px solid var(--links-turquoise);
    border-radius: 999px;
}

.links-directory__link:focus-visible {
    outline: 3px solid var(--links-deep);
    outline-offset: 3px;
}

.links-notice {
    padding: 39px 0 45px;
    background: var(--links-cream);
    border-top: 1px solid rgba(206, 229, 224, 0.9);
}

.links-notice .links-inner {
    padding-right: 22px;
    padding-left: 22px;
}

.links-notice ul {
    margin: 0;
    padding: 18px 17px 18px 36px;
    background: #ffffff;
    border: 1.5px solid #d8e7e3;
    border-radius: 14px;
}

.links-notice li {
    margin: 0 0 10px;
    padding-left: 2px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
}

.links-notice li:last-child {
    margin-bottom: 0;
}

@media (min-width: 521px) {
    .links-inner {
        padding-right: 25px;
        padding-left: 25px;
    }

    .links-directory__item {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 15px;
        padding: 20px 19px 21px;
    }

    .links-directory__number {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 360px) {
    .links-inner {
        padding-right: 15px;
        padding-left: 15px;
    }

    .links-hero h1 {
        font-size: 29px;
    }

    .links-directory__item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 9px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .links-directory__number {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }

    .links-directory__item h3 {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .links-directory__link {
        scroll-behavior: auto;
    }
}
