@charset "UTF-8";

.common-title-box {

    .en-title {
        font-size: 4.6rem;

        @media screen and (max-width: 767px) {
          font-size: 2.6rem;
        }
    }
}


/* about */

.sec-about {

    .content-box {
        & p {
            font-size: 1.6rem;

            & span {
                display: block;
                font-size: 1.8rem;
                font-weight: bold;
                color: var(--primary-color);
            }
        }

        .bottom-box{
            width: 81rem;
            max-width: 81rem;
            margin: 0 auto;
            margin-top: 4rem;
            padding: 3rem 5rem;
            background-color: #FFF4E8;
            display: flex;
            align-items: center;
            gap: 2rem;

            @media screen and (max-width: 767px) {
              width: 100%;
              max-width: 100%;
              flex-direction: column;
              padding: 2rem;
            }

            .text-box{
                line-height: 1.8;
                font-size: 1.6rem;
                font-weight: bold;

                & span {
                    color: var(--red-color);
                }

                @media screen and (max-width: 767px) {
                  order: 1;
                }
            
            }
            .img-box{

                @media screen and (max-width: 767px) {
                  order: 0;
                }
            
            }
        }
    }
}

.sec-scheme {
    & ul li {
        line-height: 1.7;
    }
}

/* 加入条件 */
.sec-requirement {

    .content-box {
        display: flex;
        flex-direction: column;
        gap: 3rem;

         & p:nth-child(2) {

            .hlt-text {
                display: inline-block;
                font-size: 2rem;
                font-weight: bold;
                margin-bottom: 2rem;

                & span {
                    color: var(--primary-color);
                }
            }
         }

         & p:last-child {

            & span {
                display: inline-block;
                margin-bottom: 2rem;
                font-weight: bold;
            }
         }
    }
}

/* 補償金額と保険料等負担金 */
.sec-fees {

    .content-box {
        display: flex;
        flex-direction: column;
        gap: 6rem;

        @media screen and (max-width: 767px) {
          gap: 4rem;
        }

        & h3 {
            margin-bottom: 2rem;
        }

        .content-item{

            .structure-box{
                border-radius: 10px;
                flex: 1;
            
                .stt-title{
                    padding: 3rem;
                    color: #fff;
                    font-weight: bold;
                    font-size: 2rem;
                
                }
                .stt-content-box{
                    display: flex;
                    flex-direction: column;
                    gap: 3rem;
                    padding: 3rem;
                
                    .top-box{
                        font-size: 1.8rem;
                        font-weight: bold;
                        margin-bottom: 1.3rem;

                        & span {
                            display: block;
                            margin-bottom: 1.3rem;
                            line-height: 1.5;
                        }
                    }
                    .mid-box{
                        font-size: 1.8rem;
                        font-weight: bold;
                        line-height: 1.7;
                    
                        .notice-text {
                            display: block;
                            margin-top: 1.3rem;
                            font-weight: normal;
                        }
                    }
                    .btm-box{
                        display: flex;
                        align-items: center;
                        gap: 1.6rem;
                        font-weight: bold;
                        font-size: 1.6rem;
                    
                        .target-label{
                            padding: 8px 1rem;
                            color: #fff;
                        
                        }
                        .target-text{
                        
                        }
                    }

                    .notice-text{
                            font-size: 1.4rem;
                            color: #000;
                            line-height: 1.4;
                        
                        }
                }
            }
            
            .structure-box01{
                border: 4px solid var(--primary-color);

                .stt-title {
                    background-color: var(--primary-color);
                }

                .stt-content-box{ 
                    .top-box {
                        color: var(--primary-color);

                    }
                    .btm-box {
                        .target-label {
                            background-color: var(--primary-color);
                        }
                    }
                }
            
            }
            
            .structure-box02{
                border: 4px solid #049FD8;

                .stt-title {
                    background-color: #049FD8;
                }

                .stt-content-box{ 
                    .top-box {
                        color: #049FD8;

                    }
                    .btm-box {
                        .target-label {
                            background-color: #049FD8;
                        }
                    }
                }
            
            }
        }
        .content-item01{
            .item01-main-content {
                display: flex;
                gap: 1.7rem;
                align-items: center;

                @media screen and (max-width: 767px) {
                  flex-direction: column;
                }

            }

        }
        .content-item02{
            @media screen and (max-width: 767px) {
              overflow-x: scroll;
            }

            .detail-table.sp-off{

                @media screen and (max-width: 767px) {
                  width: 80rem;
                }

                & th {
                    line-height: 1.5;

                    @media screen and (max-width: 767px) {
                      width: 20rem;
                    }
                }

                & td {
                    background-color: #fff;
                    font-size: 2rem;
                    font-weight: bold;
                    text-align: center;
                    line-height: 1.5;
                    border: 1px solid var(--primary-color);

                    @media screen and (max-width: 767px) {
                      font-size: 1.6rem;
                    }
                }

                & tr:first-child td {
                    background-color: #ECECEC;
                }

            }

            .detail-table.pc-off {

                & th, & td {
                    display: block !important;
                    width: 100% !important;
                }

                & th {
                    @media screen and (max-width: 767px) {
                      padding: 1rem 2rem;
                    }
                }

            }
        }
    }
}

/* 留学生を受け入れる不動産業の皆様へ */
.sec-estate {

    .content-box {
        & h3 {
            margin-bottom: 4rem;
        }

        .top-box {
            margin-bottom: 7rem;

            & a {
                margin-top: 4rem;
                width: 47rem;
                height: 5rem;

                @media screen and (max-width: 767px) {
                  width: 100%;
                  line-height: 1.6;
                }
            }
        }
        .faq-box{

            .faq-list{
                display: flex;
                flex-direction: column;
                gap: 2rem;
            
            }
            .faq-item{
                display: flex;
                flex-direction: column;
                gap: 2.6rem;
            
                .q{
                    background-color: var(--primary-color);
                    color: #fff;
                    font-size: 2rem;
                    font-weight: 500;
                    font-family: "Zen Kaku Gothic New", sans-serif;
                    padding: 1.5rem 3rem;
                    line-height: 1;
                    border-radius: 50px;

                    @media screen and (max-width: 767px) {
                      border-radius: 0;
                      line-height: 1.6;
                    }
                }
                .a{
                    font-size: 1.6rem;
                    font-weight: normal;
                    line-height: 1.6;
                }
            }
        }
    }
}

/* 注意事項 */
.sec-notice {
    .content-box {

        & p {

            & a {
                color: var(--primary-color);
                text-decoration: underline;
            }

            & a[target="_blank"] {
                position: relative;
                &::after {
                    position: absolute;
                    content: '';
                    top: 5px;
                    right: -3rem;
                    width: 2.5rem;
                    height: 2.5rem;
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-image: url(../../common/img/icon_external_arrow.svg);
    
                    @media screen and (max-width: 767px) {
                        width: 2rem;
                        height: 2rem;
                        top: 40%;
                        right: -2rem;
                    }
    
                }
            }
        }
    }
}
