html {
    scroll-behavior: smooth;
}


/*------------------
SERVICE (サービス)
--------------------*/

/* 共通ブロック */

.l-page.lower--service {
    padding-bottom: 150px;
}

.l-page.lower--service [class*="section_content"] {
    padding-bottom: 80px;
}

/* コンテンツブロック */

.service_flex_block {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.service_photo {
    aspect-ratio: 267/377;
    width: 100%;
    max-width: 267px;
    margin: 0 auto 15px;
}

.service_message {
    max-width: none;
    margin: 0 0 16px;
}

.section_content--youtube .service_message {
    margin-bottom: 30px;
}

.service_text {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}

.strong_text_block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.service_strong_text {
    font-size: 20px;
    font-weight: 500;
    color: var(--point-color);
    line-height: calc(30 / 25);
    font-family: var(--main-font);
    background: var(--main-color);
    padding: 5px 10px;
    width: fit-content;
}

.service_btn_list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service_btn_item.service_btn_item_tel .ui-btn--red {
    font-size: 21px;
    font-weight: 600;
    line-height: calc(21/21);
    font-family: var(--pinpoint-font);
}

.decoration_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.decoration_box:first-child {
    margin-bottom: 15px;
}

.decoration_span {
    aspect-ratio: 34/35;
    width: 100%;
    max-width: 34px;
}

/* サービス内容 */

.service_detail {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.14);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 70px;
}

.service__picture-wrap {
    position: relative;
    display: block;
    margin-bottom: 20px;
    cursor: pointer;
}

.picture-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.picture-modal.is-open {
    display: flex;
}

.picture-modal img {
    max-width: min(76vw, 1280px);
    max-height: 76vh;
    object-fit: contain;
}

.picture-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

.service__picture {
    display: block;
}

.service__picture-zoom {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px !important;
    height: auto !important;
    pointer-events: none;
}

.service_spec {
    padding-bottom: 5px;
    border-bottom: 1px solid #999999;
}

.service_spec dt {
    font-size: 16px;
    font-weight: bold;
    color: var(--main-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}

.service_spec dd {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
    max-width: 100%;
    overflow-wrap: break-word;
}

/* FLOW */

.service_flow {
    margin-top: 50px;
    margin-bottom: 40px;
}

.flow_title_block {
    margin-bottom: 50px;
}

.flow_title {
    font-size: 26px;
    font-weight: 500;
    color: var(--sub-color);
    line-height: calc(26 / 26);
    font-family: var(--sub-font);
    margin-bottom: 5px;
}

.flow_subtitle {
    font-size: 14px;
    font-weight: bold;
    color: var(--main-color);
    line-height: calc(14 / 14);
    font-family: var(--main-font);
    display: flex;
    align-items: center;
    gap: 5px;
}

.flow_subtitle::before {
    content: "";
    background: var(--main-color);
    width: 16px;
    height: 2px;
}

.service_flow_list {
    background: #fff;
    border-radius: 10px;
    box-shadow: inset 0px 0px 14px 0px rgba(0, 0, 0, 0.14);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-height: 590px;
    overflow-y: auto;
}

.service_flow_photo {
    aspect-ratio: 230/230;
    width: 100%;
    max-width: 230px;
    margin: 0 auto 20px;
}

.service_flow_des_title {
    font-size: 20px;
    font-weight: 500;
    color: var(--sub-color);
    line-height: calc(20 / 20);
    font-family: var(--main-font);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.service_flow_des_title span {
    font-size: 45px;
    font-weight: 500;
    color: var(--sub-color);
    line-height: calc(45 / 45);
    font-family: var(--sub-font);
}

.service_flow_des_text {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}

.service_reason {
    max-width: 335px;
    margin: 0 auto 16px;
}

.service_reason_title {
    font-size: 25px;
    font-weight: bold;
    color: var(--main-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
    margin-bottom: 16px;
}

.service_reason_list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service_reason_item_title {
    font-size: 20px;
    font-weight: 500;
    color: var(--main-color);
    line-height: calc(30 / 20);
    font-family: var(--main-font);
    margin-bottom: 8px;
}

.service_reason_text {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}

.decoration_box.sp_in {
    display: flex;
}

.decoration_box.pc_in {
    display: none;
}


@media (min-width:768px) {

    .decoration_box.sp_in {
        display: none;
    }

    .decoration_box.pc_in {
        display: flex;
    }


    /*-- DTP~年賀状ページ内リンク--*/
    #dtp,
    #youtube,
    #card {
        margin-top: -80px;
        padding-top: 80px;
    }

    /* 共通ブロック */

    .l-page.lower--service {
        padding-bottom: 200px;
    }

    .section_content--dtp .content_space,
    .section_content--youtube .content_space,
    .section_content--card .content_space {
        max-width: 854px;
    }

    .l-page.lower--service [class*="section_content"] {
        padding-bottom: 150px;
        padding-inline: 20px;
    }

    .l-page.lower--service .internal_link_list {
        gap: clamp(30px, calc(160px + 50vw - 570px), 160px);
    }

    .l-page.lower--service .link_item_text {
        gap: 57px;
    }

    .l-page.lower--service .title_block {
        margin-bottom: 20px;
    }

    /* コンテンツブロック */

    .service_top_wrap {
        margin-bottom: 70px;
    }

    .service_flex_block {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 30px;
        padding-left: 40px;
    }

    .service_photo {
        aspect-ratio: 294/415;
        width: 100%;
        max-width: 294px;
        margin: 0 auto;
    }

    .service_message {
        max-width: none;
        margin: 0;
        white-space: nowrap;
    }

    .section_content--youtube .service_message {
        margin-bottom: 30px;
    }

    .strong_text_block {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .service_strong_text {
        font-size: 25px;
        line-height: calc(37 / 25);
    }

    .service_btn_list {
        justify-content: center;
        flex-direction: row;
        gap: clamp(30px, calc(82px + 50vw - 570px), 82px);
    }

    .decoration_box {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .decoration_box:first-child {
        margin-bottom: 15px;
    }

    .decoration_box:last-child {
        margin-top: 15px;
    }

    .decoration_span {
        aspect-ratio: 34/35;
        width: 100%;
        max-width: 34px;
    }

    /* サービス内容 */

    .service_detail {
        padding: 30px 50px;
        gap: 25px;
    }

    .service_spec {
        display: flex;
        align-items: center;
        padding-bottom: 15px;
    }

    .service_spec dt {
        width: 148px;
    }

    .service_spec dd {
        width: calc(100% - 148px);
    }

    /* FLOW */

    .service_flow {
        margin-bottom: 70px;
    }

    .flow_title_block {
        margin-bottom: 40px;
    }

    .flow_title {
        font-size: 55px;
        line-height: calc(55 / 55);
    }

    .flow_subtitle {
        font-size: 18px;
        line-height: calc(18 / 18);
        gap: 8px;
    }

    .flow_subtitle::before {
        content: "";
        background: var(--main-color);
        width: 25px;
        height: 3px;
    }

    .service_flow_list {
        padding: 30px 40px;
        gap: 50px;
        max-height: 430px;
    }

    .service_flow_list {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .service_flow_list::-webkit-scrollbar {
        display: none;
    }


    .service_flow_box {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .service_flow_photo {
        margin: 0;
    }

    .service_flow_des_title {
        gap: 10px;
        margin-bottom: 10px;
    }

    .service_reason {
        max-width: 100%;
        margin-bottom: 70px;
    }

    .service_reason_title {
        margin-bottom: 25px;
    }

    .service_reason_list {
        gap: 25px;
    }

    .service_reason_text {
        font-size: 16px;
        font-weight: 400;
        color: var(--sub-color);
        line-height: calc(28 / 16);
        font-family: var(--main-font);
    }

}