@charset "utf-8";

.center{
    margin: 100px auto;
}

/* 私たちについて */

.history_top{
position: relative;
}

.about_Sec2{
    writing-mode: vertical-rl;
}

.about_Sec2 h2{
    margin-bottom: 200px;
    padding-left: 30px;
}
.about_Sec2 h3{
    font-size: 24px;
    color: #FFB72F;
}

.history_tex{
    margin-left: 40px;
}

.vertical {
    text-align: left;
}

.his_texmin{
    padding-top: 24px;
}

.docter_illust{
    text-align: right;
    position: absolute;
    right: 30px;
    bottom: 0;
    z-index: 1500;
}

.pink_bg{
    text-align: right;
    position: absolute;
}

.br_390{
    display: none;
}

/* 丸晶ものがたり */
.history_of{
    padding: 70px 0 120px;
    background-image: url(../images/history/bg_white.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;

}
.history_of::before{
    content: "";
    display: block;
    background-image: url(../images/history/abuto_bg_pink.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 20%;
    aspect-ratio: 444 / 733;
    position: absolute;
    right: 0;
    top: -200px;
}

.center.about_Sec2_his{
    margin: 100px 25% 0 auto;
}

.his_castele_posi{
    position: relative;
}

.key-visual{
    position: absolute;
    top: 20%;
    left: 18%;
    z-index: 1000;
    width:400px;
}

.history_of::after{
    content: "";
    display: block;
    background-image: url(../images/history/abuto_bg_yellow.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 20%;
    aspect-ratio: 297 / 584;
    position: absolute;
    left: 0;
    bottom: -100px;
}

.his-z-index{
    position: relative;
    z-index: 1000;
}

.tex_1{
    padding-left: 80px;
}

.his_castele_posi{
    position: relative;
    overflow-x: clip;
}

.castle{
    position: absolute;
    right: 0;
    top: 380px;
}

.br_smartphone{
    display: none;
}

/* ごあいさつ */
.bg_yellow{
    background-color: #fff;
}

.greeting{
    padding-bottom: 100px;
}

.flex_hello{
    display: flex;
    text-align: center;
    justify-content: center;
}

.owner_tex{
    margin-bottom: 30px;
    text-align: left;
}

.owner_name{
    text-align: right;
}

.owner_photo{
    order: 2;
    padding-left: 50px;
}

.owner1000{
    display: none;
}

.owner520{
    display: none;
}

.br_TB{
    display: none;
}

.br_SM{
    display: none;
}

.br_SM_S{
    display: none;
}

.br_420{
    display: none;
}

.br_480{
    display: none;
}

.br_520{
    display: none;
}

/* ↓↓↓↓↓↓↓↓ レスポンシブ ↓↓↓↓↓↓↓↓ */

/* ----------------------------私たちについて---------------------------- */

/* PC 1100px */
@media ( max-width: 1100px ){
    .history_top{
        margin-top: -100px;
    }

    .about_Sec2{
        writing-mode: horizontal-tb;
    }

    .about_Sec2 h2{
        margin-bottom: 0;
        padding-top: 70px;
        padding-bottom: 20px;
    }

    .about_Sec2_img img{
        width: 55%;
        height: auto;
    }

    .history_tex{
        margin-left: 0;
        text-align: center;
    }

    .his_texmin{
        padding: 24px 0 40px;
    }

    .vertical{
        text-align: center;
    }
}/* 1100*/

/* SM 800px */
@media ( max-width: 800px ){
    .about_Sec2 h2{
        font-size: 3rem;
    }
}/* 800px */

/* SP 640px */
@media ( max-width: 640px ){
    .about_Sec2_img img{
        width: 65%;
        height: auto;
    }
    .docter_illust{
        width: 50%;
    }
    .br_SM_S{
        display: block;
    }
}/* 640 */


/* SP 520px */
@media ( max-width: 520px ){
    .about_Sec2_img img{
        width: 75%;
        height: auto;
    }

    .docter_illust{
        width: 30%;
    }

    .br_SM_S{
        display: block;
    }
    }/* 520 */

/* SM 440px */
@media ( max-width: 440px ){
    .his_texmin{
        font-size: 14px;
    }
}/* 440px */

/* SM 420px */
@media ( max-width: 420px ){
    .br_420{
        display: inline;
    }
    .about_Sec2 h3{
        line-height: 2;
    }
}/* 420px */

/* SM 390px */
@media ( max-width: 390px ){
    .about_Sec2 h3{
        margin-top: -10px;
    }
    .his_texmin{
        line-height: 2.5;
        font-size: 15px;
    }
    .br_390{
        display: inline;
    }
}/* 390px */


/* ----------------------------丸晶ものがたり---------------------------- */

/* PC 1800px */
@media ( max-width: 1800px ){
    .key-visual{
        left: 15%;
    }
}/* 1800px */

/* PC 1700px */
@media ( max-width: 1700px ){
    .center.about_Sec2_his{
        margin-right: 20%;
    }
    .key-visual{
        left: 12%;
    }
}/* 1700px */

/* PC 1500px */
@media ( max-width: 1500px ){
    .center.about_Sec2_his{
        margin-right: 18%;
    }
    .key-visual{
        left: 9%;
    }
}/* 1500px */

/* PC 1400px */
@media ( max-width: 1400px ){
    .tex_1{
        padding-left: 50px;
    }
    .key-visual{
        left: 6%;
    }
}/* 1400px */

/* PC 1300px */
@media ( max-width: 1300px ){
    .tex_1{
        padding-left: 30px;
    }
    .center.about_Sec2_his{
        margin-right: 12%;
    }
}/* 1300px */

/* PC 1150px */
@media ( max-width: 1150px ){
    .center.about_Sec2_his{
        margin-right: 10%;
    }
}/* 1150px */

/* PC 1100px */
@media ( max-width: 1100px ){
    .history_of{
        padding-top: 0;
        padding-bottom: 100px;
    }

    .about_Sec2_his h2{
        padding-top: 50px;
    }

    .center.about_Sec2_his{
        margin-right: 0;
    }

    .castle{
        width: clamp(200px, calc( 300 / 1100 * 100vw ), 300px);
        top: 720px;
        z-index: 1000;
    }

    .tex_1{
        padding-left: 0;
    }

    .tex_2{
        margin: 30px 0;
    }

    .oldphoto{
        padding-right: 0;
        transform: translateX(0);
    }

    .key-visual{
        position: static;
        width: 300px;
        margin: 0 auto;
    }

}/* 1100*/

/* TB 950px */
@media ( max-width: 950px ){
    .castle{
        top: 760px;
    }
}/* 950px */

/* TB 800px */
@media ( max-width: 800px ){
    .history_of{
        padding-bottom: 90px;
    }
    .castle{
        top: 755px;
    }
}/* 800px */

/* TB 660px */
@media ( max-width: 660px ){
    .history_of{
        padding-bottom: 80px;
    }
    .history_of::after{
        bottom: -90px;
    }
    .castle{
        top: 755px;
    }
}/* 660px */

/* TB 600px */
@media ( max-width: 600px ){
    .history_of{
        padding-bottom: 80px;
    }
    .history_of::after{
        bottom: -65px;
    }
    .castle{
        top: 755px;
    }
}/* 600px */

/* SP 520px */
@media ( max-width: 520px ){
    .oldphoto{
        width: 90%;
        margin: 0 auto;
    }
    .tex_1{
        line-height: 2.7;
        margin: 0 20px;
    }
    .tex_2{
        line-height: 2.7;
        margin: 20px 20px;
    }
    .history_of{
        padding-bottom: 100px;
    }
    .history_of::after{
        bottom: -40px;
    }
    .castle{
        top: 645px;
        right: -50px;
    }
    }/* 520 */


/* SP 480px */
@media ( max-width: 480px ){
    .history_of{
        padding-bottom: 65px;
    }
    .about_Sec2 h2{
    padding: 10px 0;
    }
    .about_Sec2 h3{
        font-size: 20px;
    }
    .tex_2{
        margin-bottom: 40px;
    }
    .castle{
        top: 590px;
    }
}/* 480 */


/* SP 420px */
@media ( max-width: 420px ){
    .history_of{
        padding-bottom: 80px;
    }
    .tex_1{
        font-size: 14px;
    }
    .tex_2{
        font-size: 14px;
    }
    .castle{
        top: 550px;
    }
}/* 420 */

/* SP 380px */
@media ( max-width: 380px ){
    .about_Sec2 h2{
        padding-bottom: 25px;
    }
    .history_of{
        padding-bottom: 80px;
    }
    .castle{
        top: 620px;
    }
    .br_smartphone{
        display: inline;
    }
}/* 380px */

/* ------------------------------ごあいさつ----------------------------- */

/* PC 1500px */
@media ( max-width: 1500px  ){
    .owner_photo{
        text-align: center;
        margin-top: 60PX;
    }
    .owner1500{
        display: none;
    }
    .owner1000{
        display: block;
        margin: 0 auto;
    }
}/* 1500px */

/* PC 1200px */
@media ( max-width: 1200px  ){
    .owner_photo{
        margin-top: 30px;
    }
}/* 1200px */

/* PC 1100px */
@media ( max-width: 1100px ){
    .center.about_Sec2_his{
        margin-right: 0;
    }
    .key-visual{
        position: static;
        width: 400px;
        margin: 0 auto;
    }
    .flex_hello{
        display: block;
    }

    .greeting h2{
        padding: 110px 50px 0px 50px;
    }
    .owner_photo{
        padding-left: 0;
    }
    .owner_tex{
        margin-top: 20px;
        margin-right: 20px;
        margin-left: 20px;
        text-align: center;
    }
    .owner_name{
        margin: 55px;
    }
    .br_TB{
        display: block;
    }

}/* 1100px */

/* SP 680px */
@media ( max-width: 680px ){
.br_SM{
    display: block;
}
}/* 680 */

    /* SP 560px */
    @media ( max-width: 560px ){
        .owner_tex{
            margin: 0 20px;
        }
        .owner_photo{
            margin-bottom: 30px;
        }
        .owner1500{
            display: none;
        }
        .owner1000{
            display: none;
        }
        .owner520{
            display: block;
            margin: 0 auto;
        }
        .br_PC{
            display: none;
        }
        .br_TB{
            display: none;
        }
        .br_SM{
            display: none;
        }
        .br_480{
            display: none;
        }
        .br_520{
            display: inline;
        }
        }/* 560px */

            /* SM 520px */
    @media ( max-width: 520px ){
        .key-visual{
            position: static;
            width: 300px;
            margin: 0 auto;
        }
        }/* 520px */

    /* SM 500px */
    @media ( max-width: 500px ){
        .owner_tex{
            font-size: 14px;
        }
        }/* 500px */

/* SM 450px */
@media ( max-width: 450px ){
    .owner_tex{
        font-size: 15px;
        line-height: 2.1;
    }
    .br_520{
        display: none;
    }
    .br_480{
        display: inline;
    }
    }/* 450px */

/* SM 380px */
@media ( max-width: 380px ){
    .owner_tex{
        font-size: 14px;
        line-height: 2.1;
    }
    }/* 380px */