@charset "UTF-8";

/* introduction ------------------------- */
#about-introduction{
    width: 80%;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    gap: 40px;
    padding: 150px 0;
    margin: 0 auto;
}
#about-introduction .text-wrap{
    width: 467px;
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
}
#about-introduction .text-wrap .title{
    width: 135px;
    writing-mode: vertical-rl;
    font-family: "Shippori Mincho B1", serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.4em;
}
#about-introduction .text-wrap .text{
    width: 292px;
    height: 290px;
    writing-mode: vertical-rl;
}
#about-introduction .img-wrap{
    width: calc(100% - 467px);
    max-width: 380px;
}
#about-introduction .img-wrap img{
    width: 100%;
}

/* 会社概要 ------------------------------ */
#about-main{
    width: 80%;
    display: flex;
    justify-content: space-between;
    gap: 4%;
    padding-bottom: 150px;
    margin: 0 auto;
    position: relative;
}
#about-main::after{
    content: "";
    width: 46%;
    height: 580px;
    background-color: #f5f5f5;
    position: absolute;
    bottom: 0;
    right: -15%;
    z-index: -1;
}

#about-main dl{
    width: 50%;
}
#about-main dl .data-item-wrap{
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 30px;
    margin-bottom: 30px;
}
#about-main dl .data-item-wrap:last-of-type{
    border: 0;
    margin-bottom: 0;
}
#about-main dl .data-item-wrap dt{
    width: 75px;
    flex-shrink: 0;
    color: #868686;
    font-size: 15px;
    line-height: 2em;
}
#about-main dl .data-item-wrap dd{
    width: calc(100% - 95px);
}

#about-main .map-wrap{
    width: 46%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
/* #about-main .map-wrap .map-container{
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #222;
    margin-bottom: 20px;
} */

#about-main .map-wrap .map-container{
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 1px solid #222;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

#about-main .map-wrap .map-container .wp-block-super-simple-map-embeds-map{
    position: absolute;
    inset: 0;
}

/* super-simple-mapに長方形に変更されている部分を正方形にする */
#about-main .map-wrap .map-container 
.wp-block-super-simple-map-embeds-map > div > div{
    padding-bottom: 100% !important;
}

.wp-block-super-simple-map-embeds-map{
    width: 100%;
    height: 100%;
}
#about-main .map-wrap .map-container iframe{
    width: 100%;
    height: 100%;
}



/*-------------------------------------------
タブレット
-------------------------------------------*/
@media screen and (max-width: 960px) {

    /* introduction ------------------------- */
    #about-introduction{
        padding: 125px 0;
    }
    #about-introduction .text-wrap{
        width: 292px;
        flex-direction: column;
        gap: 60px;
    }
    #about-introduction .text-wrap .title{
        width: 292px;
        writing-mode: horizontal-tb;
    }
    #about-introduction .img-wrap{
        width: calc(100% - 292px);
    }

    /* 会社概要 ------------------------------ */
    #about-main{
        width: 90%;
    }

    #about-main dl .data-item-wrap{
        gap: 15px;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    #about-main dl .data-item-wrap dd{
        width: calc(100% - 90px);
    }

}

/*-------------------------------------------
スマホ
-------------------------------------------*/
@media screen and (max-width: 767px) {

    /* introduction ------------------------- */
    #about-introduction{
        width: 90%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 100px 0;
    }
    #about-introduction .text-wrap{
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    #about-introduction .text-wrap .title{
        width: 134px;
        writing-mode: vertical-rl;
        margin: 0 auto;
    }
    #about-introduction .text-wrap .text{
        width: 292px;
        writing-mode: vertical-rl;
        margin: 0 auto;
    }
    #about-introduction .img-wrap{
        width: 100%;
    }

    /* 会社概要 ------------------------------ */
    #about-main{
        flex-direction: column;
        justify-content: center;
        gap: 60px;
    }
    #about-main::after{
        content: none;
    }

    #about-main dl{
        width: 100%;
    }

    #about-main .map-wrap{
        width: 100%;
    }


}