/* ========================================
   Safety Policy Page
======================================== */

.p-safetyPolicy {
    background: #efefef;
}

/* hero */
.p-pageHero {
    background: #efefef;
    padding: 28px 0 18px;
}

.p-pageHero .l-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.p-pageHero--yellow {
    position: relative;
    padding: 64px 24px 58px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .04) 100%),
        repeating-linear-gradient(-45deg,
            #f2d43a 0,
            #f2d43a 8px,
            #f6dd63 8px,
            #f6dd63 16px);
}

.p-pageHero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.p-pageHero__eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .18em;
    color: #22a9b7;
    font-weight: 700;
}

.p-pageHero__title {
    margin: 0;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.15;
    font-weight: 900;
    color: #111;
}

/* block */
.p-safetyBlock,
.p-gmarkBlock {
    border-radius: 36px;
}

.p-safetyBlock__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 34px;
}

.p-safetyBlock__icon {
    width: 42px;
    height: 42px;
    border-radius: 0;
    background: #20a9b6;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
    flex-shrink: 0;
}

.p-safetyBlock__title {
    margin: 0;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.35;
    font-weight: 900;
    color: #111;
}

.p-safetyBlock__lead {
    margin: 0 0 42px;
    font-size: clamp(22px, 2.5vw, 36px);
    line-height: 1.9;
    font-weight: 800;
    color: #111;
    letter-spacing: .01em;
}

/* points */
.p-safetyPoints {
    display: grid;
    gap: 22px;
}

.p-safetyPoint {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    align-items: start;
}

.p-safetyPoint__num {
    width: 52px;
    height: 52px;
    background: #20a9b6;
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.p-safetyPoint__text {
    margin: 0;
    padding-top: 8px;
    font-size: 15px;
    line-height: 2;
    color: #222;
}

/* gmark */
.p-gmarkBlock__banner {
    margin: 0 auto 28px;
    max-width: 720px;
}

.p-gmarkBlock__banner img {
    display: block;
    width: 100%;
    height: auto;
}

.p-gmarkBlock__text {
    max-width: 760px;
    margin: 0 auto 32px;
    font-size: 15px;
    line-height: 2;
    color: #222;
}

.p-gmarkBlock__cert {
    max-width: 640px;
    margin: 0 auto;
}

.p-gmarkBlock__cert img {
    display: block;
    width: 100%;
    height: auto;
}

/* CTA */
.p-simpleCta {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    min-height: 120px;
    text-decoration: none;
    background: #ececec;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.p-simpleCta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .06);
}

.p-simpleCta__icon {
    background: #bfe4fa;
    height: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-simpleCta__icon img {
    max-width: 72px;
    height: auto;
}

.p-simpleCta__body {
    padding: 20px 28px;
}

.p-simpleCta__lead {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 900;
    color: #111;
    line-height: 1.4;
}

.p-simpleCta__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* responsive */
@media (max-width: 767px) {
    .p-pageHero {
        padding: 18px 0 12px;
    }

    .p-pageHero .l-container {
        width: min(100% - 24px, 100%);
    }

    .p-pageHero--yellow {
        padding: 42px 16px 38px;
    }

    .p-safetyBlock,
    .p-gmarkBlock {
        border-radius: 24px;
    }

    .p-safetyBlock__head {
        gap: 12px;
        margin-bottom: 24px;
    }

    .p-safetyBlock__icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .p-safetyBlock__lead {
        margin-bottom: 28px;
        font-size: 22px;
        line-height: 1.8;
    }

    .p-safetyPoints {
        gap: 18px;
    }

    .p-safetyPoint {
        grid-template-columns: 36px 1fr;
        gap: 12px;
    }

    .p-safetyPoint__num {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .p-safetyPoint__text {
        padding-top: 4px;
    }

    .p-safetyPoint__text,
    .p-gmarkBlock__text {
        font-size: 14px;
        line-height: 1.9;
    }

    .p-gmarkBlock__banner {
        margin-bottom: 20px;
    }

    .p-gmarkBlock__text {
        margin-bottom: 22px;
    }

    .p-simpleCta {
        grid-template-columns: 90px 1fr;
        min-height: 90px;
    }

    .p-simpleCta__icon {
        padding: 14px;
    }

    .p-simpleCta__body {
        padding: 14px 16px;
    }

    .p-simpleCta__lead {
        font-size: 16px;
    }

    .p-simpleCta__text {
        font-size: 13px;
    }
}

.p-gmarkBlock__banner {
    margin: 20px auto 32px;
    max-width: 600px;
}

/* ========================================
   Estimate CTA
======================================== */

.p-estimateCta {
    display: grid;
    grid-template-columns: 156px 1fr 260px;
    align-items: center;
    gap: 34px;
    padding: 28px 38px;
    border-radius: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(248, 248, 248, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.04);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.p-estimateCta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.07);
}

.p-estimateCta__icon {
    width: 156px;
    height: 156px;
    border-radius: 32px;
    background: #c9eaf3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.p-estimateCta__icon img {
    width: 76px;
    height: auto;
    display: block;
}

.p-estimateCta__body {
    min-width: 0;
}

.p-estimateCta__eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .16em;
    color: #20a9b6;
    font-weight: 800;
}

.p-estimateCta__title {
    margin: 0 0 14px;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.35;
    font-weight: 900;
    color: #111;
}

.p-estimateCta__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    color: #555;
}

.p-estimateCta__action {
    display: flex;
    justify-content: flex-end;
}

.p-estimateCta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 82px;
    padding: 0 28px;
    border-radius: 999px;
    background: #ffd400;
    color: #111;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(255, 212, 0, 0.25);
}

/* responsive */
@media (max-width: 980px) {
    .p-estimateCta {
        grid-template-columns: 110px 1fr;
        gap: 20px;
        padding: 22px 20px;
        border-radius: 24px;
    }

    .p-estimateCta__icon {
        width: 110px;
        height: 110px;
        border-radius: 22px;
    }

    .p-estimateCta__icon img {
        width: 56px;
    }

    .p-estimateCta__action {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .p-estimateCta__button {
        min-width: 200px;
        height: 64px;
        font-size: 16px;
    }

    .p-estimateCta__title {
        font-size: 24px;
    }

    .p-estimateCta__text {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .p-estimateCta {
        grid-template-columns: 88px 1fr;
        gap: 14px;
        padding: 18px 16px;
    }

    .p-estimateCta__icon {
        width: 88px;
        height: 88px;
        border-radius: 18px;
    }

    .p-estimateCta__icon img {
        width: 46px;
    }

    .p-estimateCta__eyebrow {
        margin-bottom: 8px;
        font-size: 10px;
    }

    .p-estimateCta__title {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .p-estimateCta__text {
        font-size: 13px;
        line-height: 1.7;
    }

    .p-estimateCta__button {
        width: 100%;
        min-width: 0;
    }
}

/* ========================================
   G MARK CERTIFICATE
======================================== */

.p-gmarkCertificate {
    margin-top: 48px;
    padding-top: 42px;

    text-align: center;

    border-top: 1px solid rgba(0, 0, 0, 0.09);
}


/* 見出し */
.p-gmarkCertificate__heading {
    margin-bottom: 28px;
    text-align: center;
}

.p-gmarkCertificate__eyebrow {
    margin: 0 0 10px;

    color: #2aa7ad;

    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.p-gmarkCertificate__title {
    margin: 0;

    color: #111;

    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.4;
    font-weight: 900;
}


/* 認定証の額装 */
.p-gmarkCertificate__imageLink {
    width: min(620px, 100%);

    margin: 0 auto;
    padding: 16px;

    display: block;

    background: #fff;

    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 14px;

    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.1);

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.p-gmarkCertificate__imageLink:hover {
    transform: translateY(-3px);

    box-shadow:
        0 22px 46px rgba(0, 0, 0, 0.14);
}

.p-gmarkCertificate__image {
    width: 100%;
    height: auto;

    display: block;
}


/* キャプション */
.p-gmarkCertificate__caption {
    margin: 18px 0 0;

    color: #666;

    font-size: 13px;
    line-height: 1.7;
    font-weight: 700;
}


/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 767px) {

    .p-gmarkCertificate {
        margin-top: 36px;
        padding-top: 32px;
    }

    .p-gmarkCertificate__heading {
        margin-bottom: 22px;
    }

    .p-gmarkCertificate__eyebrow {
        font-size: 10px;
    }

    .p-gmarkCertificate__title {
        font-size: 23px;
    }

    .p-gmarkCertificate__imageLink {
        padding: 10px;
        border-radius: 10px;
    }

    .p-gmarkCertificate__caption {
        margin-top: 14px;
        font-size: 12px;
    }
}