/* ===========================================
    見出し
============================================ */
.heading {
    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
    padding-bottom: 56px;
    position: relative;
}

.heading--left {
    justify-items: left;
}

.heading--left .heading__title {
    text-align: left;
}

.heading--left .heading__lead {
    text-align: left;
}

.heading::after {
    background: url('../images/common/heading_wave.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    content: '';
    height: 14px;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    width: 56px;
}

.heading__title {
    color: var(--colorBlue);
    font-size: 80px;
    font-weight: 500;
    text-align: center;
}

.heading__lead {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-top: 16px;
    text-align: center;
}

.heading__lead--left {
    text-align: left;
}

@media screen and (width <= 1024px) {
    .heading {
        padding-bottom: 48px;
    }

    .heading::after {
        height: 10px;
        width: 40px;
    }

    .heading__title {
        font-size: 48px;
    }

    .heading__lead {
        font-size: 18px;
        letter-spacing: 2.5%;
    }
}

/* ===========================================
    見出し
============================================ */
.headline--center {
    display: flex;
    justify-content: center;
}

.headline__title {
    color: var(--colorBlack);
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.8;
    position: relative;
    text-align: center;
}

.headline__title .is-orange {
    color: var(--colorOrange);
}

.headline__title::before {
    background: var(--colorBlack);
    content: "";
    height: 80px;
    left: -48px;
    position: absolute;
    top: -8px;
    transform: rotate(-25deg);
    width: 2px;
}

.headline__title::after {
    background: var(--colorBlack);
    content: "";
    height: 80px;
    position: absolute;
    right: -48px;
    top: -8px;
    transform: rotate(25deg);
    width: 2px;
}

@media screen and (width <= 1024px) {
    .headline__title {
        font-size: 18px;
        letter-spacing: 0.02em;
    }


    .headline__title::before {
        height: 56px;
        left: -24px;
        top: -6px;
        width: 1px;
    }

    .headline__title::after {
        height: 56px;
        right:-24px;
        top: -6px;
        width: 1px;
    }
}

/* ===========================================
   button
============================================ */

/* ------------------------------------------
    buttonStaff：紺背景・白テキスト・縦線区切り・矢印
------------------------------------------ */
.buttonStaff {
    align-items: center;
    background: var(--colorBlue);
    border-radius: 10px;
    box-sizing: border-box;
    color: var(--colorWhite);
    display: flex;
    font-family: var(--fontZenMaru);
    font-size: 16px;
    font-weight: 500;
    height: 70px;
    max-width: 300px;
    padding-left: 30px;
    position: relative;
    text-decoration: none;
    transition: opacity 0.2s ease;
    width: 100%;
}

.buttonStaff:hover {
    opacity: 0.85;
}

/* 縦線区切り */
.buttonStaff::before {
    background: rgba(255, 255, 255, 0.4);
    content: '';
    height: 40px;
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
}

/* 矢印（CSS chevron） */
.buttonStaff::after {
    border-right: 2px solid var(--colorWhite);
    border-top: 2px solid var(--colorWhite);
    content: '';
    height: 10px;
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-60%) rotate(45deg);
    transition: right 0.2s ease;
    width: 10px;
}

.buttonStaff:hover::after {
    right: 20px;
}

@media screen and (width <= 1024px) {
    .buttonStaff {
        max-width: 100%;
    }
}

/* ------------------------------------------
    blueButton：CTAブロック（トップの MENU・全ページ共通のフッター ACCESS で使用）
------------------------------------------ */
.blueButton {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    width: 320px;
}

.blueButton__head {
    color: var(--colorBlack);
    font-family: var(--fontZenMaru);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

.blueButton__head span::before {
    content: '\\ ';
    display: inline-block;
    font-size: 26px;
    opacity: 0.4;
    vertical-align: sub;
}

.blueButton__head span::after {
    content: ' /';
    display: inline-block;
    font-size: 26px;
    opacity: 0.4;
    vertical-align: sub;
}

.blueButton__button {
    width: 100%;
}

.blueButton__button .buttonStaff {
    margin: 0 auto;
    max-width: 100%;
}

@media screen and (width <= 767px) {
    .blueButton {
        gap: 10px;
        width: 100%;
    }

    .blueButton__head {
        font-size: 15px;
    }

    .blueButton__head span::before,
    .blueButton__head span::after {
        font-size: 20px;
    }

    .blueButton__button .buttonStaff {
        max-width: 280px;
        width: auto;
    }
}

.buttonVoice {
    align-items: center;
    border: 1px solid var(--colorBlue);
    border-radius: 10px;
    box-sizing: border-box;
    color: var(--colorBlue);
    display: flex;
    font-size: 16px;
    font-weight: 500;
    height: 70px;
    max-width: 300px;
    position: relative;
    width: 100%;
}

.buttonVoice span {
    padding-left: 30px;
}

.buttonVoice::before {
    background: var(--colorBlue);
    content: '';
    height: 40px;
    position: absolute;
    right: 78px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
}

.buttonVoice::after {
    background: url('../images/top/icon_arrow_right_blue.svg');
    background-position: center;
    background-size: cover;
    content: '';
    height: 12px;
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%) translateX(0) translateY(0);
    transition: transform 0.3s ease;
    width: 15px;
}

.buttonVoice:hover::after {
    transform: translateY(-50%) translateX(8px);
}

.buttonVoice--white {
    background: var(--colorWhite);
}

/* 矢印つきボタン（buttonStaff・buttonVoice）：SP は 幅280px・高さ62px */
@media screen and (width <= 767px) {
    .buttonStaff,
    .buttonVoice {
        font-size: 15px;
        height: 62px;
        max-width: 280px;
    }

    .buttonStaff {
        padding-left: 24px;
    }

    .buttonVoice span {
        padding-left: 24px;
    }

    .buttonStaff::before,
    .buttonVoice::before {
        height: 32px;
        right: 64px;
    }

    .buttonStaff::after {
        right: 24px;
    }

    .buttonVoice::after {
        right: 24px;
    }
}

.buttonLine {
    align-items: center;
    background: var(--colorGreen);
    border: none;
    border-radius: 100vh;
    box-shadow: 0 3px 0 0 var(--colorGreen500);
    color: var(--colorWhite);
    column-gap: 6px;
    cursor: pointer;
    display: flex;
    font-family: var(--fontZenMaru);
    font-size: 16px;
    font-weight: 500;
    height: 44px;
    justify-content: center;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    width: 148px;
}

.buttonLine:hover {
    box-shadow: none;
    transform: translateY(3px);
}

.buttonLine img {
    width: 24px;
}

.buttonLine span:last-child {
    align-items: center;
    display: inline-flex;
    line-height: 1;
}

.buttonLine small {
    font-size: 14px;
}

.buttonWeb {
    align-items: center;
    background: var(--colorOrange);
    border: none;
    border-radius: 100vh;
    box-shadow: 0 3px 0 0 var(--colorOrangeDark);
    color: var(--colorWhite);
    column-gap: 6px;
    cursor: pointer;
    display: flex;
    font-family: var(--fontZenMaru);
    font-size: 16px;
    font-weight: 500;
    height: 44px;
    justify-content: center;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    width: 148px;
}

.buttonWeb:hover {
    box-shadow: none;
    transform: translateY(3px);
}

.buttonWeb img {
    width: 20px;
}

.buttonWeb span:last-child {
    align-items: center;
    display: inline-flex;
    line-height: 1;
}

.buttonWeb small {
    font-size: 14px;
}


/* ===========================================
    fixedCta（SP固定CTA）
============================================ */
.fixedCta {
    display: none;
}

@media screen and (width <= 1024px) {
    .fixedCta {
        bottom: 0;
        display: block;
        left: 0;
        opacity: 1;
        position: fixed;
        transform: translateY(0);
        transition: opacity 0.3s ease, transform 0.3s ease;
        width: 100%;
        z-index: 999;
    }

    .fixedCta.is-hide {
        opacity: 0;
        pointer-events: none;
        transform: translateY(100%);
    }

    .fixedCta__inner {
        display: flex;
        gap: 8px;
        padding: 10px 12px;
    }

    .fixedCta__btn--line,
    .fixedCta__btn--web,
    .fixedCta__btn--tel {
        align-items: center;
        border: none;
        border-radius: 8px;
        color: #fff;
        cursor: pointer;
        display: flex;
        flex: 1;
        font-size: clamp(16px, 3vw, 16px);
        font-weight: 500;
        gap: 4px;
        justify-content: center;
        padding: 12px 4px;
        text-decoration: none;
        white-space: nowrap;
    }

    .fixedCta__btn--line {
        background: #06c755;
    }
    .fixedCta__btn--web {
        background: var(--color-orange);
    }
    .fixedCta__btn--tel {
        background: var(--color-blue-700);
    }

    .fixedCta__inner span {
        align-items: center;
        display: inline-flex;
        line-height: 1;
    }

    .fixedCta__inner img {
        flex-shrink: 0;
        height: 20px;
        object-fit: contain;
        width: 20px;
    }

    .fixedCta__btn--web img,
    .fixedCta__btn--tel img {
        filter: brightness(0) invert(1);
    }
}

/* ===========================================
    voiceCard（お客様の声カード / top・lowback・trafficaccidentで共通）
============================================ */
.voice__list {
    display: grid;
    gap: 64px;
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
}

.voiceCard {
    background: var(--colorWhite);
    border-radius: 16px;
    box-shadow: 0 3px 6px 0 rgb(0, 0, 0, 0.1);
    color: inherit;
    display: block;
    padding: 0 40px;
    position: relative;
    transition: opacity 0.3s ease;
}

.voiceCard:hover {
    opacity: 0.8;
}

.voiceCard__head {
    height: 240px;
    margin: 0 -20px;
    position: relative;
}

.voiceCard__img {
    position: absolute;
    right: -20px;
    top: 0;
}

.voiceCard__img img {
    border-radius: 30vw 16px 0 30vw;
    height: 240px;
    object-fit: cover;
    width: 336px;
}

.voiceCard__img.is-empty img {
    background: var(--colorGray150);
    box-sizing: border-box;
    object-fit: contain;
    padding: 64px 48px;
}

.voiceCard__comment {
    background: var(--colorWhite);
    bottom: 16px;
    font-size: 16px;
    font-weight: 500;
    left: 16px;
    line-height: 1.6;
    max-width: calc(100% - 16px);
    padding: 4px 8px;
    position: absolute;
}

.voiceCard__body {
    padding: 32px 0 48px;
}

.voiceCard__title {
    color: var(--colorBlue);
    font-family: var(--fontNotoSans);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 16px;
}

.voiceCard__word {
    font-family: var(--fontNotoSans);
    font-size: 16px;
    line-height: 2;
}

.voice__more {
    display: flex;
    justify-content: center;
    margin-top: 64px;
}

@media screen and (width <= 1140px) {
    .voice__list {
        gap: 40px;
    }
}

@media screen and (width <= 1024px) {
    .voice__list {
        gap: 32px;
        grid-template-columns: 1fr 1fr;
        margin-top: 24px;
    }

    .voiceCard {
        border-radius: 10px;
        box-shadow: 0 3px 6px 0 rgb(0, 0, 0, 0.1);
        padding: 0 20px;
    }

    .voiceCard__head {
        height: 200px;
    }

    .voiceCard__img {
        right: 0;
        width: 70%;
    }

    .voiceCard__img img {
        border-radius: 30vw 10px 0 30vw;
        height: 200px;
        width: 100%;
    }

    .voiceCard__comment {
        font-size: 15px;
    }

    .voiceCard__img.is-empty img {
        padding: 48px 32px;
    }

    .voiceCard__body {
        padding: 24px 0 32px;
    }

    .voiceCard__title {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .voiceCard__body p {
        font-size: 15px;
        line-height: 1.8;
    }

    .voice__more {
        margin-top: 40px;
    }
}

@media screen and (width <= 767px) {
    .voice__list {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
    pageVisual--news（青いページ見出し / お知らせ・お客様の声・症状一覧で共通）
============================================== */
.pageVisual--news {
    align-items: center;
    background: var(--colorBlue);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
    display: flex;
    padding-bottom: 48px;
    padding-top: 120px; /* fixed header(90px) + 余白(30px) */
}

.pageVisual--news .pageVisual__inner {
    margin: 0 auto;
    max-width: 1140px;
    width: 100%;
}

.pageVisual--news .pageVisual__en {
    color: var(--colorWhite);
    font-family: var(--fontZenMaru);
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    opacity: 0.15;
}

.pageVisual--news .pageVisual__lead {
    color: var(--colorWhite);
    font-size: 24px;
    font-weight: 500;
    margin-top: 8px;
}

.pageVisual--news .pageVisual__text {
    color: var(--colorWhite);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 8px;
    opacity: 0.9;
}

@media screen and (width <= 1024px) {
    .pageVisual--news {
        padding-bottom: 40px;
        padding-top: 104px; /* fixed header(64px) + 余白(40px) */
    }

    .pageVisual--news .pageVisual__inner {
        padding: 0 20px;
        width: auto;
    }

    .pageVisual--news .pageVisual__en {
        font-size: 40px;
    }

    .pageVisual--news .pageVisual__lead {
        font-size: 16px;
        margin-top: 8px;
    }

    .pageVisual--news .pageVisual__text {
        font-size: 13px;
    }
}

@media screen and (max-width: 767px) {
    .pageVisual--news {
        padding-bottom: 32px;
        padding-top: 96px; /* fixed header(64px) + 余白(32px) */
    }

    .pageVisual--news .pageVisual__inner {
        text-align: center;
    }

    .pageVisual--news .pageVisual__en {
        font-size: 32px;
    }

    .pageVisual--news .pageVisual__lead {
        font-size: 15px;
        margin-top: 4px;
    }
}
