.c_breadcrumb {
    padding-bottom: 4rem;
}

/* ==============================================
   共通コンテナ
============================================== */
.p_service_container {
    background-color: #ffffff;
    width: calc(100% - 16rem);
    max-width: 1600px;
    margin: 0 auto 16rem;
    border-radius: 10rem;
    padding: 12rem 6rem 14rem;
    position: relative;
    z-index: 2;
}

.p_service_inner {
    max-width: 1200px;
    width: calc(100% - 8rem);
    margin: 0 auto;
}

/* ==============================================
   FV
============================================== */
.p_service_fv {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.p_service_fv_content {
    padding-right: 8rem;
}

.p_service_label {
    display: inline-block;
    background-color: #1E40AF;
    color: #ffffff;
    padding: 0.8rem 1.6rem;
    border-radius: 30px;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.p_service_fv_ttl {
    display: flex;
    align-items: center;
    font-size: clamp(3.2rem, 3vw, 4.8rem);
    font-weight: bold;
    color: #2B2D33;
    margin-bottom: 4rem;
    gap: 1rem;
    line-height: 1.2;
}

.p_service_fv_icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.p_service_fv_catch {
    font-size: clamp(2.4rem, 2.5vw, 3.2rem);
    font-weight: bold;
    color: #1E40AF;
    line-height: 1.8;
    margin-bottom: 4rem;
}

.p_service_fv_txt p {
    font-size: 1.6rem;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 2.4rem;
}

.p_service_fv_txt p:last-child {
    margin-bottom: 0;
}

.p_service_fv_img {
    width: 33.333%;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.p_service_fv_img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==============================================
   ページ内リンク（アンカー）
============================================== */
.p_service_anchor {
    margin: 8rem 0 12rem;
    padding-bottom: 2.4rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1203' height='3' viewBox='0 0 1203 3'%3E%3Cline id='border' x2='1200' transform='translate(1.5 1.5)' fill='none' stroke='%23c3cede' stroke-linecap='round' stroke-width='3' stroke-dasharray='1 8'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom left;
}

.p_service_anchor_list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem 4.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.p_service_anchor_list li a {
    display: inline-flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: bold;
    color: #2B2D33;
    text-decoration: none;
}

.p_service_anchor_txt {
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
    padding-bottom: 2px;
}

.p_service_anchor_icon_wrap {
    position: relative;
    width: 24px;
    height: 24px;
    margin-left: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p_service_anchor_icon_1,
.p_service_anchor_icon_2 {
    position: absolute;
    width: 24px;
    height: 24px;
    transition: all 0.4s ease-in-out;
}

.p_service_anchor_icon_1 {
    transform: translateY(0);
    opacity: 1;
}

.p_service_anchor_icon_2 {
    transform: translateY(-100%);
    opacity: 0;
}

.p_service_anchor_list li a:hover .p_service_anchor_txt {
    color: #1E40AF;
    border-bottom: 2px solid #1E40AF;
}

.p_service_anchor_list li a:hover .p_service_anchor_icon_1 {
    transform: translateY(100%);
    opacity: 0;
}

.p_service_anchor_list li a:hover .p_service_anchor_icon_2 {
    transform: translateY(0);
    opacity: 1;
}

@media (hover: none) {
    body .p_service_anchor_list li a:hover .p_service_anchor_txt {
        color: #2B2D33 !important;
        border-bottom-color: transparent !important;
    }

    body .p_service_anchor_list li a:hover .p_service_anchor_icon_1 {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }

    body .p_service_anchor_list li a:hover .p_service_anchor_icon_2 {
        transform: translateY(-100%) !important;
        opacity: 0 !important;
    }
}

/* ==============================================
   サービス内容
============================================== */
.p_service_detail {
    margin-bottom: 8rem;
}

.p_service_sub_ttl {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 2.4rem;
}

.p_service_detail_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.p_service_detail_card {
    background-color: #F0F5FF;
    border-radius: 8px;
    padding: 4rem 4rem;
}

.p_service_detail_card h4 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2.4rem;
    display: flex;
    align-items: baseline;
    line-height: 1.5;
    color: #2B2D33;
}

.p_service_detail_card h4::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: #1E40AF;
    margin-right: 1.2rem;
    border-radius: 50%;
    flex-shrink: 0;
    /* margin-top: 13px; */
    top: -5px;
    position: relative;


    @media screen and (max-width: 767px) {
        margin-top: 12px;
    }
}

.p_service_detail_card p {
    font-size: 1.6rem;
    line-height: 1.8;
    font-weight: 500;
}

/* ==============================================
   ロググループの特徴
============================================== */
.p_service_feature {
    margin-bottom: 14rem;
}

.p_service_feature_list {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.p_service_feature_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2.4rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1203' height='3' viewBox='0 0 1203 3'%3E%3Cline id='border' x2='1200' transform='translate(1.5 1.5)' fill='none' stroke='%23c3cede' stroke-linecap='round' stroke-width='3' stroke-dasharray='1 8'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom left;
}

.p_service_feature_item:last-child {
    background-image: none;
    padding-bottom: 0;
}

.p_service_feature_content {
    padding-right: 7.2rem;
}

.p_service_feature_content h3 {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 2.4rem;
    line-height: 1.5;
}

.p_service_feature_content p {
    font-size: 1.6rem;
    line-height: 1.8;
    font-weight: 500;
}

.p_service_feature_img {
    width: 30%;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.p_service_feature_img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==============================================
   ご利用の流れ (水玉背景セクション・共通タイトル適用)
============================================== */
.p_service_flow_sec {
    background-color: #EAF2FF;
    background-image:
        radial-gradient(circle at 50% 50%, #E1E9F5 5px, transparent 6px),
        radial-gradient(circle at 50% 50%, #E1E9F5 5px, transparent 6px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    max-width: 1440px;
    margin: 0 auto 14rem;
    border-radius: 20px;
    padding: 8rem 0;
}

/* 共通タイトル周りの調整 */
.p_service_flow_sec .c_sec_header {
    margin-bottom: 4.8rem;
}

.p_service_flow_sec .c_sec_ttl {
    margin-bottom: 0;
}

.p_service_flow_inner {
    max-width: 980px;
    margin: 0 auto;
    width: calc(100% - 4rem);
}

.p_service_flow_list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p_service_flow_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.p_service_flow_num {
    width: 72px;
    height: 72px;
    background-color: #1E40AF;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    margin-bottom: -32px;
}

.p_service_flow_box {
    background-color: #ffffff;
    width: 100%;
    border-radius: 20px;
    padding: 6.4rem 4rem 4rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.p_service_flow_box h3 {
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 2.4rem;
}

.p_service_flow_box p {
    font-size: 1.6rem;
    line-height: 1.8;
    font-weight: 500;
}

.p_service_flow_btn {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.p_service_flow_arrow {
    margin: 2.4rem 0 2rem;
    display: flex;
    justify-content: center;
}

/* ==============================================
   ご利用者様の声
============================================== */
.p_service_voice {
    margin-bottom: 17rem;
}

.p_service_voice .c_sec_header {
    margin-bottom: 6.4rem;
}

.p_service_voice_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.2rem;
    margin-top: 4.8rem;
}

.p_service_voice_item {
    background-color: #ffffff;
    border: 1px solid #C3CEDE;
    border-radius: 20px;
    padding: 2rem 2rem 4rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p_service_voice_icon {
    width: 100px;
    height: 100px;
    background-color: #EAF2FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1rem;
}

.p_service_voice_icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.p_service_voice_txt {
    font-size: 1.6rem;
    line-height: 1.8;
    font-weight: 500;
    text-align: left;
}

/* ==============================================
   よくあるご質問 (アコーディオン用方眼背景・トランジション対応)
============================================== */
.p_service_faq_sec {
    background-color: #EAF2FF;
    background-image:
        linear-gradient(90deg, #c3cede79 1px, transparent 1px),
        linear-gradient(#c3cede79 1px, transparent 1px);
    background-size: 40px 40px;
    max-width: 1440px;
    margin: 0 auto 16rem;
    border-radius: 40px;
    padding: 0rem 4rem 8rem;
}

.p_service_faq_inner {
    max-width: 1200px;
    margin: 0 auto;
    width: calc(100% - 4rem);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p_service_faq_head_icon {
    margin-top: -3rem;
    margin-bottom: 2.4rem;
    display: flex;
    justify-content: center;
}

.p_service_faq_ttl {
    font-size: clamp(3.2rem, 3vw, 4rem);
    font-weight: bold;
    margin-bottom: 6.4rem;
}

.p_service_faq_list {
    width: 100%;
}

.p_service_faq_item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;

    &:last-child {
        margin-bottom: 0;
    }
}

/* Qのエリア */
.p_service_faq_q {
    display: flex;
    align-items: center;
    padding: 3rem 10rem 3rem 3rem;
    cursor: pointer;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    background-color: #ffffff;
    color: #1E40AF;
    transition: all 0.3s ease;
}

.p_service_faq_q_icon {
    font-size: 2.4rem;
    font-family: 'Montserrat', sans-serif;
    margin-right: 2rem;
}

.p_service_faq_q_txt {
    flex: 1;
    line-height: 1.8;
}

/* 十字ボタン (疑似要素で作成・角丸) */
.p_service_faq_toggle {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: #1E40AF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.p_service_faq_toggle::before,
.p_service_faq_toggle::after {
    content: "";
    position: absolute;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.p_service_faq_toggle::before {
    width: 16px;
    height: 3px;
}

.p_service_faq_toggle::after {
    width: 3px;
    height: 16px;
}

/* ホバー＆オープン時のスタイル連動 */
.p_service_faq_item.is_open .p_service_faq_q,
.p_service_faq_item:hover .p_service_faq_q {
    background-color: #1E40AF;
    color: #ffffff;
}

.p_service_faq_item.is_open .p_service_faq_toggle,
.p_service_faq_item:hover .p_service_faq_toggle {
    background-color: #ffffff;
}

.p_service_faq_item.is_open .p_service_faq_toggle::before,
.p_service_faq_item.is_open .p_service_faq_toggle::after,
.p_service_faq_item:hover .p_service_faq_toggle::before,
.p_service_faq_item:hover .p_service_faq_toggle::after {
    background-color: #1E40AF;
}

/* 開いた時は縦線を消してマイナスにする */
.p_service_faq_item.is_open .p_service_faq_toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

/* Aのエリア（grid-template-rowsによる滑らかなトランジション） */
.p_service_faq_a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-in-out;
}

.p_service_faq_item.is_open .p_service_faq_a {
    grid-template-rows: 1fr;
}

.p_service_faq_a_inner {
    overflow: hidden;
}

/* 中身がカクつかないようにpaddingは中身に持たせる */
.p_service_faq_a_content {
    display: flex;
    align-items: flex-start;
    padding: 3rem;
    background-color: #ffffff;
}

.p_service_faq_a_icon {
    font-size: 2.4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #1E40AF;
    margin-right: 2rem;
    /* line-height: 1; */
}

.p_service_faq_a_txt {
    font-size: 1.6rem;
    line-height: 1.8;
    font-weight: 500;
}

/* ==============================================
   CTA
============================================== */
.p_service_cta_box {
    background-color: #EAF2FF;
    border-radius: 20px;
    padding: 5.2rem 10rem 8rem;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.p_service_cta_icon {
    position: absolute;
    top: -30px;
    left: 10rem;
    width: 84px;
}

.p_service_cta_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.p_service_cta_text_wrap {
    padding-right: 6rem;
}

.p_service_cta_text_wrap h3 {
    font-size: 3.2rem;
    font-weight: bold;
    color: #1E40AF;
    margin-bottom: 4rem;
}



.p_service_cta_text_wrap p {
    font-size: 1.6rem;
    line-height: 1.8;
    font-weight: 500;
}

.p_service_cta_action {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}


.p_service_cta_img {
    width: 100%;
    max-width: 238px;
}

.p_service_cta_img img {
    width: 100%;
    height: auto;
}

/* ==============================================
   レスポンシブ
============================================== */
@media screen and (max-width: 1439px) {
    .p_service_container {
        width: calc(100% - 8rem);
        padding: 8rem 0;
    }

    .p_service_anchor {
        margin: 6rem 0 8rem;
    }

    .p_service_anchor_list {
        gap: 1.6rem 3.2rem;
    }

    .p_service_detail_card {
        padding: 3.2rem 3.2rem;
    }

    .p_service_detail_card h4 {
        font-size: 1.8rem;
        margin-bottom: 1.6rem;
    }

    .p_service_cta_box {
        padding: 4.8rem 4rem 6rem;
    }

    .p_service_cta_text_wrap {
        padding-right: 4rem;
    }

    .p_service_cta_text_wrap h3 {
        font-size: 2.8rem;
    }

    .p_service_cta_icon {
        width: 64px;
    }


    .p_service_detail,
    .p_service_feature,
    .p_service_voice {
        margin-bottom: 10rem;
    }

    .p_service_flow_sec,
    .p_service_faq_sec {
        margin-bottom: 10rem;
        width: calc(100% - 8rem);
    }
}

@media screen and (max-width: 1023px) {
    .bg_stage:first-of-type {
        margin-top: -23% !important;
    }
    .p_service_container {
        width: calc(100% - 4rem);
        border-radius: 6rem;
        padding: 6.4rem 0;
    }

    .p_service_fv {
        flex-direction: column-reverse;
    }

    .p_service_fv_content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 4.8rem;
        margin-top: 4.8rem;
    }

    .p_service_fv_img {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;

        img {
            aspect-ratio: 1;
            object-fit: cover;
        }
    }

    .p_service_detail_grid {
        grid-template-columns: 1fr;
    }

    .p_service_feature_item {
        flex-direction: column-reverse;
        padding-bottom: 4.8rem;
        gap: 3.2rem;
    }

    .p_service_feature_content {
        width: 100%;
        padding-right: 0;
    }

    .p_service_feature_img {
        width: 100%;
        max-width: 600px;
    }

    .p_service_fv_ttl {
        font-size: 2.8rem;
        gap: 1.2rem;
        margin-bottom: 2.4rem;
    }

    .p_service_fv_catch {
        margin-bottom: 2.4rem;
    }

    .p_service_anchor {
        margin: 0rem 0 6rem;
    }

    .p_service_voice_list {
        grid-template-columns: 1fr;
        gap: 2.4rem;
        max-width: 500px;
        width: 100%;
        margin: 4.8rem auto 0;
    }

    .p_service_cta_content {
        flex-direction: column;
    }

    .p_service_cta_text_wrap {
        width: 100%;
        margin-bottom: 2.4rem;
        padding-right: 0;
    }

    .p_service_cta_action {
        width: 100%;
    }

    .p_service_cta_icon {
        left: 4rem;
    }

    .p_service_flow_sec,
    .p_service_faq_sec {
        width: calc(100% - 4rem);
        padding: 6.4rem 2rem;
    }
}

@media screen and (max-width: 767px) {

    .p_service_detail,
    .p_service_feature,
    .p_service_voice {
        margin-bottom: 6rem;
    }

    .c_breadcrumb {
        padding-bottom: 0;
    }

    .p_service_inner {
        width: calc(100% - 4rem);
    }

    .p_service_container {
        padding: 4.8rem 0;
        border-radius: 4.8rem;
        margin-bottom: 8rem;
        width: calc(100% - 2rem);
    }

    .p_service_fv_ttl {
        font-size: 2.4rem;
        align-items: center;
        gap: 1.2rem;
    }

    .p_service_fv_icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .p_service_fv_catch {
        font-size: 2.2rem;
    }

    .p_service_anchor_list {
        flex-direction: column;
        gap: 1.6rem;
    }

    .p_service_detail_card {
        padding: 2rem 2rem;
    }

    .p_service_feature_content h3 {
        font-size: 2rem;
    }

    .p_service_sub_ttl {
        font-size: 2rem;
    }

    .p_service_detail_card h4 {
        margin-bottom: 1.6rem;
    }

    .p_service_detail_card p {
        font-size: 1.4rem;
    }

    .p_service_flow_sec {
        padding: 4rem 0;
        border-radius: 2.4rem;
        margin-bottom: 6rem;
    }

    .p_service_flow_inner {
        width: calc(100% - 2rem);
    }

    .p_service_flow_sec .c_sec_header {
        margin-bottom: 2.4rem;
    }

    .p_service_flow_num {
        width: 48px;
        height: 48px;
        font-size: 1.8rem;
        margin-bottom: -24px;
    }

    .p_service_flow_box {
        padding: 4rem 2rem 2rem;
    }

    .p_service_flow_box h3 {
        font-size: 2rem;
        margin-bottom: 1.6rem;
        line-height: 1.5;
    }

    .p_service_flow_box p {
        font-size: 1.4rem;
    }

    .p_service_flow_btn {
        margin-top: 2.4rem;
    }

    .p_service_flow_arrow {
        margin: 1.6rem 0;
    }

    .p_service_faq_sec {
        padding: 6.4rem 0 4rem;
        border-radius: 2.4rem;
        background-size: 28px 28px;
    }

    .p_service_voice_list {
        gap: 1.6rem;
        margin: 2.4rem auto 0;
    }

    .p_service_faq_q {
        padding: 2rem 5.6rem 2rem 1.6rem;
        font-size: 1.6rem;
    }

    .p_service_faq_toggle {
        right: 1.6rem;
        width: 32px;
        height: 32px;
    }

    .p_service_faq_head_icon {
        margin-top: -10rem;
        margin-bottom: 1.6rem;
    }

    .p_service_voice_icon {
        width: 64px;
        height: 64px;
    }

    .p_service_faq_ttl {
        font-size: 2rem;
        margin-bottom: 2.4rem;
    }

    .p_service_voice_txt {
        font-size: 1.4rem;
    }

    .p_service_voice_item {
        padding: 1.6rem 1.6rem 2rem;
    }

    .p_service_cta_box {
        padding: 4rem 2rem 4rem;
    }

    .p_service_cta_icon {
        left: 2.4rem;
        top: -20px;

        svg {
            width: 100%;
            height: auto;
        }
    }

    .p_service_cta_text_wrap h3 {
        font-size: 1.8rem;
        margin-bottom: 2.4rem;
        line-height: 1.5;
    }

    .p_service_flow_sec,
    .p_service_faq_sec {
        width: calc(100% - 2rem);
    }

    .p_service_faq_item {
        margin-bottom: 1.6rem;
    }

    .p_service_faq_q {
        padding: 1.6rem 5.6rem 1.6rem 1.6rem;
    }

    .p_service_faq_q_icon {
        font-size: 1.8rem;
        margin-right: 1.2rem;
        flex-shrink: 0;
    }

    .p_service_faq_q_txt {
        font-size: 1.4rem;
    }

    .p_service_faq_toggle {
        right: 1.2rem;
        width: 28px;
        height: 28px;
    }

    .p_service_faq_toggle::before {
        width: 14px;
        height: 2px;
    }

    .p_service_faq_toggle::after {
        width: 2px;
        height: 14px;
    }

    .p_service_faq_a_content {
        padding: 1.6rem 1.6rem 2rem;
    }

    .p_service_faq_a_icon {
        font-size: 1.8rem;
        margin-right: 1.2rem;
        flex-shrink: 0;
    }

    .p_service_faq_a_txt {
        font-size: 1.4rem;
    }

    .p_service_cta_text_wrap p {
        font-size: 1.4rem;
    }
}