html{
    font-size: 16px;
}
body{
    margin: 0;
}
main{
    background: #F3F3F3;
    overflow-x: hidden;
}
._blue{
    color: #0084B2;
}

section.mv{
    width: 100%;
    height: 300px;
    background-image: url(../img/sales/partner/mv.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: end;
}
.mv-inner{
    width: 80%;
    max-width: 1080px;
    margin: 0 auto;
}
.mv h1{
    color:  #FFF;
    font-family: "Noto Sans JP";
    font-size: clamp(1.5rem, 0.8rem + 3.5vw, 5rem);
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    mix-blend-mode: overlay;
    text-align: left;
    margin: 0;
}
.mv span{
    color: #FFF;
    /* PC/NotoSansJP_H3 */
    font-family: "Noto Sans JP";
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    font-style: normal;
    font-weight: 400;
    line-height: 170%;
    margin-bottom: 8px;
}

.content-inner{
    width: 80%;
    max-width: 1080px;
    margin: 0 auto;
}
.content-top{
    width: 100%;
    text-align: center;
    margin-bottom: 160px;
}
.content-top > h2{
    color: #000;
    /* PC/NotoSansJP_H2 */
    font-family: "Noto Sans JP";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    margin-bottom: 40px;
}
.content-top > p{
    color: #000;
    /* PC/NotoSansJP_p */
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%;
    margin-bottom: 120px;
}
.c-top-flex{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.top-flex-item{
    width: 100%;

}
.top-flex-item > img{
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}
.top-flex-item-text{
    padding-left: calc(16px + 20%);
}
.top-flex-item-text span{
    color: var(--main-main, #153861);
    text-align: center;
    /* PC/NotoSansJP_H3 */
    font-family: "Noto Sans JP";
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
}
.top-flex-item-text p{
    color:  #153861;
    text-align: center;
    /* PC/NotoSansJP_H1 */
    font-family: "Noto Sans JP";
    font-size: clamp(1.25rem, 1rem + 1.25vw, 2.5rem);
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    margin: 0;
}

.content-service h2{
    color: #000;
    text-align: center;
    /* PC/NotoSansJP_H2 */
    font-family: "Noto Sans JP";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    margin-bottom: 40px;
}
.service-flex{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.service-flex-select{
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.service-select-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 8%;
    box-sizing: border-box;
    border-radius: 40px;
    background: #FFF;
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}
.service-select-item::after{
    content: "";
    display: block;
    width: 10%;
    aspect-ratio: 1/1;
    background-image: url(../img/sales/partner/arrow-select.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.service-select-item.active{
    background: #153861;
}
.service-select-item.active::after{
    background-image: url(../img/sales/partner/arrow-select-active.webp);
}
.service-select-item.active h3,
.service-select-item.active span{
    color: #FFF;
}
.select-item-text{
    width: 100%;
}
.service-flex-select h3{
    color: #000;
    margin: 0;
}
.service-select-item h3{
    color: #000;
    font-family: "Noto Sans JP";
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
}
.service-select-item span{
    font-family: "Noto Sans JP";
    font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
    font-style: normal;
    font-weight: 700;
    line-height: 180%;
}
.service-flex-slider {
    position: relative;
    width: 60%;
}

.service-slides-container {
    display: flex;
    transition: transform 0.5s ease;
}

.service-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    background: #fff;
    gap: 20px;
    margin-right: 24px;
    box-sizing: border-box;
    padding: 24px;
    border-radius: 16px;
    overflow: hidden;
}
.service-slide-text{
    margin-right: calc(30% + 24px);
}
.service-slide-text h3{
    color: #000;
    /* PC/NotoSansJP_H3 */
    font-family: "Noto Sans JP";
    font-size:18px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%; 
    display: flex;
    justify-content: left;
}
.service-slide-text h3::before{
    content: "";
    display: block;
    width: 6px;
    background: #153861;
    margin-right: 16px;
    border-radius: 50px;
}
.service-slide-text p{
    color: #000;
    /* PC/NotoSansJP_p */
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%;
}

.service-slide-img{
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background-image: url(../img/sales/partner/service-slide1.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.service-slide:nth-of-type(2) .service-slide-img{
    background-image: url(../img/sales/partner/service-slide2.webp);
}
.service-slide:nth-of-type(3) .service-slide-img{
    background-image: url(../img/sales/partner/service-slide3.webp);
}
.service-slide:nth-child(4) .service-slide-img{
    background-image: url(../img/sales/partner/service-slide4.webp);
}
.slide-controls {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.slide-nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    aspect-ratio: 1/1;
    border: 2px solid #153861;
    border-radius: 50%;
    cursor: pointer;
}
.prev-button::before{
    content: "";
    display: block;
    width: 6px;
    height: 10px;
    background-image: url(../img/sales/partner/arrow-left.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 2px;
}
.next-button::before{
    content: "";
    display: block;
    width: 6px;
    height: 10px;
    background-image: url(../img/sales/partner/arrow-right.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 2px;
}
.slide-nav-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.progress-bar {
    flex: 1;
    width: 100%;
    height: 4px;
    background: #EEEEEE;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.progress-bar-indicator {
    position: absolute;
    width: 25%;
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    left: 0;
}

.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.indicator.active {
    background: #007bff;
}

.service-slide-text {
  flex: 1;
  min-width: 0;
}

.service-slide-img {
  flex-shrink: 0;
}

.service-slide img {
  max-width: 100%;
  height: auto;
}

/* form */
.form-inner{
    width: 70%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 7%;
    box-sizing: border-box;
    background: #fff;
    border-radius: 16px;
}
.form-inner > h2{
    color: #000;
    text-align: center;
    /* PC/NotoSansJP_H2 */
    font-family: "Noto Sans JP";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
    margin-bottom: 40px;
}
.contact_cont .form_area #mailformpro dl.mailform dt .flex_box{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact_cont .form_area #mailformpro dl.mailform{
    width: 100%;
}
.contact_cont .form_area #mailformpro dl.mailform dt{
    color: var(--main-txt, #000);
    /* PC/NotoSansJP_H3 */
    font-family: "Noto Sans JP";
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    font-style: normal;
    font-weight: 700;
    line-height: 170%;
}
.contact_cont .form_area #mailformpro dl.mailform dt .attention{
    font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem);
    margin-left: 8px;
}
.contact_cont .form_area #mailformpro dl.mailform dd input[type="text"],
.contact_cont .form_area #mailformpro dl.mailform dd input[type="tel"],
.contact_cont .form_area #mailformpro dl.mailform dd input[type="email"]{
    font-size: 20px;
    border: 1px solid #c1c1c1;
    padding: 13px 16px;
    background-color: #fff;
}

.contact_cont .form_area #mailformpro dl.mailform dd input[type="url"],
.contact_cont .form_area #mailformpro dl.mailform dd textarea{
    font-size: 20px;
    width: 100% !important;
    background-color: #fff;
    border: 1px solid #c1c1c1;
    padding: 13px 16px;
    border-radius: 5px;
    box-shadow: none !important;
    box-sizing: border-box;
}
.contact_cont .form_area #mailformpro dl.mailform dd:has(.error) input[type="text"],
.contact_cont .form_area #mailformpro dl.mailform dd:has(.error) input[type="tel"],
.contact_cont .form_area #mailformpro dl.mailform dd:has(.error) input[type="email"],
.contact_cont .form_area #mailformpro dl.mailform dd:has(.error) input[type="url"],
.contact_cont .form_area #mailformpro dl.mailform dd:has(.error) textarea{
    border: 1px solid #ff4444;
}
.contact_cont .form_area #mailformpro dl.mailform dd input[type="url"]::placeholder{
    color: #c1c1c1;
}
.contact_cont .form_area #mailformpro dl.mailform dd{
    font-size: 16px;
}
.mw_wp_form .vertical-item + .vertical-item{
    margin: 0;
}
.checkbox-container{
    gap: 8px 10px;
}
.contact_cont .form_area #mailformpro dl.mailform dt .must_icon{
    border-radius: 5px;
    font-size: 16px;
    padding: 4px 6px;
}

.contact_cont .form_area #mailformpro dl.mailform dt .any_icon{
    display: inline-block;
    color: #FFF;
    font-size: 16px;
    background: #898989;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 5px;
    margin: 0 0 0 10px;
    font-weight: bold;
}
.sp-only{
    display: none;
}

@media (max-width: 1220px) {
    .service-flex-select{
        width: 46%;
    }
    .service-flex-slider{
        width: 54%;
    }
}
@media (max-width: 1100px) {
    .c-top-flex{
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .top-flex-item{
        width: 48%;
        box-sizing: border-box;
    }
    .service-flex{
        flex-direction: column;
    }
    .service-flex-select{
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }
    .service-select-item{
        width: 48%;
    }
    .service-flex-slider{
        width: 100%;
    }
}
@media screen and (max-width: 900px){
    .c-top-flex{
        width: 80%;
        margin: 0 auto;
    }
    .form-inner{
        width: 90%;
        padding: 20px 5%;
    }
    .contact_cont .form_area #mailformpro dl.mailform dd input[type="text"],
    .contact_cont .form_area #mailformpro dl.mailform dd input[type="tel"],
    .contact_cont .form_area #mailformpro dl.mailform dd input[type="email"],
    .contact_cont .form_area #mailformpro dl.mailform dd input[type="url"],
    .contact_cont .form_area #mailformpro dl.mailform dd textarea{
        font-size: 16px;
        padding: 8px;
    }
}
@media screen and (max-width: 768px) {
    .pc-only{
        display: none;
    }
    .sp-only{
        display: block;
    }
    .mv-inner{
        width: 90%;
    }
    .mv h1{
        font-size: 35px;line-height: 120%;
    }
    .content-top{
        margin-bottom: 80px;
    }
    .content-top > h2{
        font-size: 28px;
    }
    .content-top > p{
        margin-bottom: 60px;
    }
    .content-inner{
        width: 90%;
    }
    .top-flex-item{
        width: 100%;
    }
    .service-slides-container{
        height: 440px !important;
    }
    .service-flex-select{
        flex-direction: column;
    }
    .service-select-item{
        width: 100%;
    }
    .service-slide{
        padding: 16px 0 0;
        gap: 16px;
    }
    .service-slide-text{
        padding: 0 16px;
        margin-right: 0;
    }
    .service-slide-text h3::before{
        width: 4px;
        margin-right: 8px;
    }
    .service-slide-img{
        width: 100%;
        height: 80px;
        position: static;
    }
    .slide-controls{
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .slide-nav-button{
        width: 40px;
    }
    .progress-bar{
        width:100%;
    }
}

/* SP/PC表示制御 */
.sp-only {
    display: none;
}

@media screen and (max-width: 767px) {
    .sp-only {
        display: block;
    }
    
    .pc-only {
        display: none;
    }
}

/* ドロップダウンのスタイル */
.service-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
}

.dropdown-toggle {
    width: 100%;
    padding: 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
}

.dropdown-toggle .dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 8px;
    padding: 8px 0;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu li {
    padding: 12px 16px;
    cursor: pointer;
    list-style: none;
}

.dropdown-menu li:hover {
    background: #f5f5f5;
}

.dropdown-menu h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.dropdown-menu span {
    font-size: 14px;
    color: #666;
}

/* スライダー部分のSP対応 */
@media screen and (max-width: 767px) {
    .service-slide {
        flex-direction: column-reverse;

    }
    
    .service-slide-text {
        order: 2;
    }
    
    .service-slide-img {
        order: 1;
        margin-bottom: 0;
    }
    
    .service-slide-text h3 {
        font-size: 18px;
        line-height: 1.5;
    }
    
    .service-slide-text p {
        font-size: 14px;
    }
}

/* レスポンシブ対応 */
@media screen and (max-width: 1300px) {
    
    .progress-bar {
        width: 100%;
    }

    .service-flex{
        flex-direction: column;
    }
    .service-flex-select{
        width: 100%;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
    }
    .service-select-item{
        width: 48%;
    }
    .service-flex-slider{
        width: 100%;
    }

}



/* エラーメッセージのスタイル */
.mw_wp_form .error-message {
    display: block;
    color: #ff4444;
    font-size: 12px;
    margin-top: 4px;
    animation: fadeIn 0.3s ease;
}

/* エラー状態の入力フィールド */
.mw_wp_form .required.error input,
.mw_wp_form .required.error textarea,
.mw_wp_form .required.error select {
    border-color: #ff4444 !important;
    background-color: #fff8f8;
}

/* チェックボックスのエラー表示 */
.mw_wp_form .mwform-checkbox-field.error {
    padding-bottom: 20px;
    position: relative;
}

.mw_wp_form .mwform-checkbox-field.error .error-message {
    position: absolute;
    bottom: 0;
    left: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 767px) {
    .mw_wp_form .vertical-item{
        width: 100%;
    }
    .mw_wp_form form button[type="submit"] {
        width: 100%;
        min-width: auto;
        padding: 16px;
    }
}
/* ボタンの基本スタイル */
.mw_wp_form form button[type="submit"] {
    min-width: 200px;
    padding: 16px 48px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

/* すべての必須項目が入力されている場合のスタイル */
.mw_wp_form form:not(:has(input.required.is-empty)):not(:has(textarea.required.is-empty)):has(input.required.is-checked) button[type="submit"] {
    background-color: #007bff;
    color: white;
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
}