/* ===========================================
    見出し
============================================ */
.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;
    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%;
    }
}

.buttonVoice {
    align-items: center;
    border: 1px solid var(--colorBlue);
    border-radius: 10px;
    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);
}

.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);
    }
}