@import url("/src/css/corporation.css?req=3");

/* =========================================================
   プライバシーポリシーページ専用CSS
   共通ヘッダー・フッターはcorporation.cssを使用
========================================================= */

.policy-page {
    background: #fdf9f3;
}

.policy-page main {
    display: block;
}

/* =========================================================
   ヒーロー
========================================================= */

.policy-hero {
    position: relative;
    min-height: 270px;
    overflow: hidden;
    background-color: #f7f1e9;
    background-image: url("/src/img/top/company.jpeg");
    background-position: center 43%;
    background-size: cover;
}

.policy-hero::before,
.policy-hero::after {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    background: rgba(255, 181, 107, 0.12);
    content: "";
    pointer-events: none;
}

.policy-hero::before {
    top: -120px;
    left: -90px;
    width: 270px;
    height: 270px;
}

.policy-hero::after {
    right: 33%;
    bottom: -90px;
    width: 180px;
    height: 180px;
}

.policy-hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(255, 251, 246, 0.99) 0%,
            rgba(255, 251, 246, 0.96) 38%,
            rgba(255, 255, 255, 0.72) 59%,
            rgba(255, 255, 255, 0.46) 100%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.10),
            rgba(253, 244, 234, 0.26)
        );
}

.policy-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(1240px, calc(100% - 48px));
    min-height: 270px;
    margin: 0 auto;
    padding: 32px 0;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.policy-hero__copy {
    width: min(720px, 70%);
}

.policy-hero h1 {
    margin: 0;
    color: #172b43;
    font-size: clamp(35px, 4vw, 58px);
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.28;
    white-space: nowrap;
}

.policy-hero__english {
    margin: 3px 0 12px;
    color: var(--corp-orange-dark);
    font-size: clamp(16px, 1.45vw, 22px);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.policy-hero__lead {
    margin: 0;
    color: #344352;
    font-size: clamp(13px, 1.15vw, 16px);
    font-weight: 600;
    line-height: 1.9;
}

.policy-hero__catch {
    position: relative;
    display: inline-block;
    margin: 0 10px 0 0;
    padding: 15px 22px 18px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 12px 28px rgba(57, 44, 31, 0.07);
    color: #ed7b38;
    font-family: "Caveat", cursive;
    font-size: clamp(25px, 2.45vw, 38px);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.15;
    transform: rotate(-5deg);
}

.policy-hero__catch::after {
    position: absolute;
    right: 10px;
    bottom: 8px;
    width: 82%;
    height: 3px;
    border-radius: 999px;
    background: var(--corp-orange);
    content: "";
    transform: rotate(-4deg);
}

/* =========================================================
   パンくずリスト
========================================================= */

.policy-breadcrumb {
    position: relative;
    z-index: 3;
    border-bottom: 1px solid #ece5dc;
    background: #fff;
}

.policy-breadcrumb ol {
    display: flex;
    width: min(1240px, calc(100% - 48px));
    min-height: 58px;
    margin: 0 auto;
    padding: 0;
    align-items: center;
    gap: 28px;
    list-style: none;
    color: #5e6874;
    font-size: 13px;
    font-weight: 600;
}

.policy-breadcrumb li {
    position: relative;
}

.policy-breadcrumb li + li::before {
    position: absolute;
    top: 50%;
    left: -18px;
    color: #959ba2;
    content: ">";
    transform: translateY(-50%);
}

.policy-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--corp-orange-dark);
}

/* =========================================================
   本文全体
========================================================= */

.policy-content {
    position: relative;
    overflow: hidden;
    padding: 38px 0 86px;
    background:
        radial-gradient(
            circle at 1% 8%,
            rgba(255, 217, 177, 0.45) 0 52px,
            transparent 53px
        ),
        radial-gradient(
            circle at 97% 52%,
            rgba(255, 224, 190, 0.40) 0 83px,
            transparent 84px
        ),
        linear-gradient(
            180deg,
            #fffaf5 0%,
            #fdf8f1 100%
        );
}

.policy-content__inner {
    display: grid;
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

/* =========================================================
   目次
========================================================= */

.policy-toc {
    position: relative;
    min-width: 0;
}

.policy-toc__card {
    position: sticky;
    top: 116px;
    padding: 20px 16px 17px;
    border: 1px solid rgba(117, 91, 64, 0.10);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(70, 53, 36, 0.07);
}

.policy-toc__card h2 {
    position: relative;
    margin: 0 0 17px;
    padding-bottom: 8px;
    color: #21354c;
    font-size: 18px;
    line-height: 1.4;
}

.policy-toc__card h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    border-radius: 999px;
    background: var(--corp-orange);
    content: "";
}

.policy-toc__card ol {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 3px;
    list-style: none;
}

.policy-toc__card a {
    display: grid;
    min-height: 38px;
    padding: 5px 6px;
    align-items: center;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 8px;
    border-radius: 8px;
    color: #4e5965;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.policy-toc__card a span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: #fff0df;
    color: var(--corp-orange-dark);
    font-size: 11px;
    font-weight: 800;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.policy-toc__card a:hover,
.policy-toc__card a:focus-visible,
.policy-toc__card a.is-active {
    background: #fff7ef;
    color: #143c73;
    transform: translateX(2px);
}

.policy-toc__card a.is-active span {
    background: var(--corp-orange);
    color: #fff;
}

/* =========================================================
   ポリシー本文カード
========================================================= */

.policy-document {
    min-width: 0;
    padding: 17px 30px 10px;
    border: 1px solid rgba(117, 91, 64, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 34px rgba(70, 53, 36, 0.075);
}

.policy-document__meta {
    display: flex;
    min-height: 34px;
    padding: 0 2px 12px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #858c94;
    font-size: 11px;
}

.policy-document__meta p {
    margin: 0;
    font-weight: 600;
}

.policy-document__meta time {
    white-space: nowrap;
}

.policy-section {
    display: grid;
    padding: 24px 0 25px;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    scroll-margin-top: 116px;
}

.policy-section + .policy-section {
    border-top: 1px solid #f1d9c5;
}

.policy-section__number {
    position: relative;
    color: var(--corp-orange);
    font-size: 29px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
}

.policy-section__number::after {
    position: absolute;
    top: 1px;
    right: -9px;
    width: 2px;
    height: 34px;
    border-radius: 999px;
    background: #ffb17b;
    content: "";
}

.policy-section__body {
    min-width: 0;
}

.policy-section__body h2 {
    margin: 0 0 7px;
    color: #07458d;
    font-size: clamp(18px, 1.7vw, 23px);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.45;
}

.policy-section__body p {
    margin: 0;
    color: #485562;
    font-size: 13px;
    line-height: 1.9;
}

.policy-section__body ul {
    margin: 7px 0 0;
    padding-left: 1.5em;
    color: #44515e;
    font-size: 13px;
    line-height: 1.85;
}

.policy-section__body li {
    padding-left: 3px;
}

.policy-section__body li::marker {
    color: var(--corp-orange);
}

/* =========================================================
   お問い合わせ窓口
========================================================= */

.policy-contact-card {
    display: grid;
    margin-top: 15px;
    padding: 14px 18px;
    align-items: center;
    grid-template-columns:
        54px
        minmax(200px, 1.25fr)
        minmax(150px, 0.85fr)
        minmax(175px, 0.9fr);
    gap: 17px;
    border-radius: 11px;
    background: linear-gradient(90deg, #fff1e3, #fff7ee);
    color: #273441;
    font-style: normal;
}

.policy-contact-card__icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8a14, #ff520d);
    box-shadow: 0 7px 16px rgba(242, 91, 17, 0.20);
    color: #fff;
    font-size: 23px;
}

.policy-contact-card__company {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.55;
}

.policy-contact-card__company strong {
    color: #20334a;
    font-size: 16px;
    font-weight: 800;
}

.policy-contact-card__company span {
    color: #5e6873;
    font-size: 11px;
}

.policy-contact-card__item {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    color: #33404d;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.policy-contact-card__item i {
    color: var(--corp-orange);
    font-size: 18px;
}

.policy-contact-card__item:hover,
.policy-contact-card__item:focus-visible {
    color: var(--corp-orange-dark);
}

/* =========================================================
   お問い合わせCTA
========================================================= */

.policy-contact-cta {
    position: relative;
    display: flex;
    width: min(1240px, calc(100% - 48px));
    min-height: 112px;
    margin: 24px auto 0;
    padding: 22px clamp(25px, 4vw, 52px);
    align-items: center;
    justify-content: center;
    gap: clamp(35px, 8vw, 120px);
    overflow: hidden;
    border: 1px solid rgba(255, 143, 61, 0.16);
    border-radius: 14px;
    background:
        radial-gradient(
            circle at 8% 125%,
            rgba(255, 176, 96, 0.17) 0 90px,
            transparent 91px
        ),
        radial-gradient(
            circle at 18% -55%,
            rgba(255, 198, 133, 0.14) 0 95px,
            transparent 96px
        ),
        linear-gradient(
            90deg,
            #fff5ea,
            #fffaf5
        );
    box-shadow: 0 10px 28px rgba(70, 53, 36, 0.06);
}

.policy-contact-cta__copy {
    display: flex;
    max-width: 580px;
    flex-direction: column;
    gap: 3px;
    text-align: center;
}

.policy-contact-cta__copy strong {
    color: #213249;
    font-size: 17px;
    font-weight: 800;
}

.policy-contact-cta__copy span {
    color: #616b76;
    font-size: 11px;
    line-height: 1.7;
}

.policy-contact-cta__button {
    display: grid;
    min-width: 285px;
    min-height: 56px;
    padding: 11px 20px;
    align-items: center;
    grid-template-columns: 24px 1fr 16px;
    gap: 12px;
    border-radius: 999px;
    background: linear-gradient(100deg, #ff8c17, #ff4d0b);
    box-shadow: 0 11px 24px rgba(238, 80, 8, 0.21);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    transition:
        box-shadow 0.25s ease,
        filter 0.25s ease,
        transform 0.25s ease;
}

.policy-contact-cta__button .fa-chevron-right {
    justify-self: end;
}

.policy-contact-cta__button:hover,
.policy-contact-cta__button:focus-visible {
    box-shadow: 0 14px 30px rgba(238, 80, 8, 0.29);
    filter: brightness(1.04);
    transform: translateY(-2px);
}

/* =========================================================
   タブレット
========================================================= */

@media (max-width: 1050px) {
    .policy-content__inner {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 18px;
    }

    .policy-document {
        padding-right: 22px;
        padding-left: 22px;
    }

    .policy-contact-card {
        grid-template-columns:
            52px
            minmax(0, 1fr)
            minmax(170px, 0.8fr);
    }

    .policy-contact-card__item:last-child {
        grid-column: 2 / -1;
    }
}

@media (max-width: 900px) {
    .policy-hero__copy {
        width: 72%;
    }

    .policy-content {
        padding-top: 26px;
    }

    .policy-content__inner {
        width: min(760px, calc(100% - 32px));
        grid-template-columns: 1fr;
    }

    .policy-toc__card {
        position: static;
    }

    .policy-toc__card ol {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px 14px;
    }

    .policy-contact-cta {
        width: min(760px, calc(100% - 32px));
        padding: 24px;
        flex-direction: column;
        gap: 18px;
    }
}

/* =========================================================
   スマートフォン
========================================================= */

@media (max-width: 700px) {
    .policy-hero {
        min-height: 300px;
        background-position: 68% center;
    }

    .policy-hero__shade {
        background:
            linear-gradient(
                90deg,
                rgba(255, 251, 246, 0.99) 0%,
                rgba(255, 251, 246, 0.95) 62%,
                rgba(255, 255, 255, 0.68) 100%
            ),
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.08),
                rgba(253, 244, 234, 0.30)
            );
    }

    .policy-hero__inner {
        width: calc(100% - 32px);
        min-height: 300px;
        padding: 32px 0;
    }

    .policy-hero__copy {
        width: 100%;
    }

    .policy-hero h1 {
        font-size: clamp(27px, 7.3vw, 38px);
        letter-spacing: 0;
    }

    .policy-hero__catch {
        display: none;
    }

    .policy-hero__lead {
        max-width: 94%;
        font-size: 12px;
    }

    .policy-breadcrumb ol {
        width: calc(100% - 32px);
        min-height: 50px;
        font-size: 12px;
    }

    .policy-document {
        padding: 15px 17px 6px;
        border-radius: 12px;
    }

    .policy-document__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .policy-section {
        padding: 22px 0 23px;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
        scroll-margin-top: 92px;
    }

    .policy-section__number {
        font-size: 25px;
    }

    .policy-section__number::after {
        right: -7px;
        height: 31px;
    }

    .policy-section__body h2 {
        font-size: 18px;
    }

    .policy-section__body p,
    .policy-section__body ul {
        font-size: 12px;
    }

    .policy-contact-card {
        padding: 15px;
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .policy-contact-card__icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .policy-contact-card__item,
    .policy-contact-card__item:last-child {
        grid-column: 1 / -1;
    }

    .policy-contact-cta__button {
        width: min(340px, 100%);
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .policy-pc-only {
        display: none;
    }

    .policy-hero {
        min-height: 270px;
    }

    .policy-hero__inner {
        min-height: 270px;
    }

    .policy-hero h1 {
        font-size: clamp(25px, 7.1vw, 32px);
        white-space: nowrap;
    }

    .policy-hero__english {
        font-size: 15px;
    }

    .policy-content {
        padding-bottom: 58px;
    }

    .policy-content__inner,
    .policy-contact-cta {
        width: calc(100% - 22px);
    }

    .policy-toc__card {
        padding: 17px 12px 14px;
    }

    .policy-toc__card ol {
        grid-template-columns: 1fr;
    }

    .policy-toc__card a {
        min-height: 36px;
        font-size: 11px;
    }

    .policy-document {
        padding-right: 13px;
        padding-left: 13px;
    }

    .policy-section {
        grid-template-columns: 35px minmax(0, 1fr);
        gap: 11px;
    }

    .policy-section__number {
        font-size: 22px;
    }

    .policy-section__number::after {
        right: -5px;
        width: 1px;
        height: 28px;
    }

    .policy-section__body h2 {
        font-size: 17px;
    }

    .policy-contact-card__company strong {
        font-size: 15px;
    }

    .policy-contact-card__item {
        font-size: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .policy-contact-cta {
        padding: 22px 16px;
    }

    .policy-contact-cta__copy strong {
        font-size: 15px;
    }

    .policy-contact-cta__copy span {
        font-size: 10px;
    }
}

/* =========================================================
   動きを減らす設定
========================================================= */

@media (prefers-reduced-motion: reduce) {
    .policy-page *,
    .policy-page *::before,
    .policy-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}