.about-title{
    text-align: center;
    margin-bottom: 50px;
}
.about-title h3{
    font-size: 26px;
    letter-spacing: 1.5px;
}
h4{
    font-size: 20px;
    margin-bottom: 10px;
}


/* イントロ */
.about-intro{
    margin-bottom: 100px;
    display: flex;
    justify-content: space-between;
}

.about-intro-txt{
    width: 56%;
}
.about-intro-txt h1{
    width: auto;
    font-size: 46px;
    letter-spacing: 2.1px;
    color: #3b2314;
}
.about-intro-txt h1 span{
    font-size: 17px;
    line-height: 1.6;
    display: block;
    padding-left: 5px;
    background-repeat: 5px;
    background-color: #3b2314;
    color: #fff;
}
.hibana-about-list{
    margin-top: 50px;
}
.hibana-about-list li{
    margin-bottom: 10px;
}
.about-flex-dl{
    display: flex;
}
.about-intro-img{
    width: 40%;
}

.about_business .about-flex-dl {
    justify-content: space-between;
    gap: 1.9rem;
}
.about_business .about-flex-dl .text_box li {
    display: flex;
    margin-bottom: 0;
}
.about_business .img_box {
    width: 70px;
    margin-top: auto;
}
.about_business .img_box a {
    display: block;
    width: 60%;
    margin: 0 auto;
}

/* ごあいさつ */

.greeting-txt{
    line-height: 2.1;
    letter-spacing: 2px;
}
rt{
    font-size: 10px;
}
.indent{
    text-indent: 1em;
}
.ceo-sign{
    margin-top: 45px;
    text-align: right;
}

.greeting-after{
    margin-top: 45px;
    margin-bottom: 150px;
    display: flex;
    gap: 200px;
    gap: 70px;
}
.greeting-after-txt{
    width: 53%;
    width: calc((100% - 70px) - 25%);
}
.greeting-after-txt p{
    font-size: 14px;
}
.greeting-after-img {
    text-align: right;
    width: 25%;

}


/* プロフィール */
.ceo-prof{
    margin-bottom: 100px;
}
.ceo-prof-txt,
.ceo-prof-after{
    margin-bottom: 40px;
}
.prof-red{
    color: red;
    cursor:pointer;
}
.text-indent{
    text-indent: 0.5em;
}
.ceo-prof-after ul li{
    display: flex;
}
.ceo-prof-1,
.ceo-prof-2,
.ceo-prof-4,
.ceo-prof-5{
    margin-right: 40px;
}
.ceo-prof-6{
    margin-right: 79px;
}
.anchor {
    display: block;
    padding-top: 148.19px;
    margin-top: -148.19px;
}

.career-btn,
.media-btn {
    display: flex;
    justify-content: center;
    font-size: 20px;
    color: #FFF;
    background-color: #3b2314;
    padding: 23px ;
    display: flex;
    justify-content: center;
    width: 250px;
    border-radius: 100vh;
    cursor: pointer;
    margin: 0 auto;
    position: relative;
}
.career-btn::after,
.media-btn::after {
    content: "詳しくはこちら";
    position: absolute;
    color: #FFF;
    top: 0;
}
.career-btn.open::after{
    content: "閉じる";
}
.media-btn {
    font-size: 18px;
}
.media-btn::after {
    content: "過去の掲載履歴はこちら";
    top: 5px;
}

.acc-content{
    display: none;
}

/* 経営理念 */
.philosophy{
    margin-top: 50px;
    margin-bottom: 200px;
}
.intern,
.media{
    margin-bottom: 100px;
}
/* 経営理念 */
.philosophy ul li{
    text-align: center;
    margin-bottom: 40px;
}
/* インターン */
.intern{
    text-align: center;
}
/* media */
.media li{
    text-align: center;
}
/* 関連事業 */
.connection{
    padding-bottom: 100px;
}
.connection ul li{
    text-align: center;
    margin-bottom: 70px;
}
.head{
    display: inline-block;
    text-align: center;
    font-size: 17px;
    text-decoration-line: underline;
}
.connection-txt-wrap{
    max-width: 558px;   
    margin: 0 auto; 
}
.connection-txt{
    text-align: justify;
    font-size: 15px;
    letter-spacing: 0px;
}
.rinkan-img,
.moripass-img{
    width: 200px;
    margin: 0 auto 20px auto;
}
.ochiba-img,
.yamaguni-img{
    margin-bottom: 20px;
}
.awaiba-img {
    width: 220px;
    margin: 0 auto 20px auto;
}
.ringyo-img{
    width: 220px;
    margin: 0 auto 20px auto;
}

@media screen and (max-width: 1400px){
    .pc-bg-1{
        background-color: rgba(255, 255, 255, 0.9);
        padding: 0px 15px;    }
}
@media screen and (min-width: 1001px) and (max-width: 1400px) {
    /*コンテンツの上の余白調整*/
    main {
        padding-top: 120px;
    }
}
@media screen and (max-width: 1220px){
    .pc-bg-1{
        background: none;
    }

    .sp-bg-1{
        background-color: rgba(255, 255, 255, 0.9);
        padding: 26px 15px 72px 15px;
    } 
    .sp-bg-2{
        background-color: rgba(255, 255, 255, 0.9);
        padding: 26px 15px 100px 15px;
    }
    .sp-bg-3{
        background-color: rgba(255, 255, 255, 0.9);
        padding: 26px 15px 70px 15px;
    }
    .about-intro{
        flex-direction: column-reverse;
        align-items: center;
        margin-bottom: 0;
    }
    .about-intro-txt{
        width: 100%;
    }
    .about-intro-img{
        width: 33%;
    }
    .about_business .about-flex-dl {
        justify-content: flex-start;
    }


    .ceo-prof,
    .philosophy,
    .intern,
    .media{
        margin-bottom: 0;
    }
    .greeting-after{
        flex-direction: column;
        gap: 23px;
        margin-bottom: 100px;
    }
    .greeting-after-txt{
        width: 100%;
    }
    .greeting-after-img{
        text-align: center;
        width: 100%;
        max-width: 295px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 1000px){
    .philosophy{
        margin-top: 0;
    }
    .ceo-prof-after ul li{
        flex-direction: column;
    }
    /*コンテンツの上の余白調整*/
    .pc-bg-1 {
        padding-top: 120px;
    }
}


@media screen and (max-width: 600px){

    .greeting-after{
        margin-bottom: 0;
    }
    .greeting-after-img{
        width: 70%;
    }

    .anchor {
        display: block;
        padding-top: 120px;
        margin-top: -120px;
    }
    /*コンテンツの上の余白調整*/
    .pc-bg-1 {
        padding-top: 110px;
    }

    .about_business .about-flex-dl {
        flex-direction: column;
    }
    .about_business .img_box {
        margin: 0 auto;
    }
}