@charset "utf-8";

.flex{ display: flex; justify-content: space-between; flex-wrap: wrap;}

.btn__more {  display: block; margin: 0 auto; border: 1px solid #424242; position: relative; transition: 0.2s linear; margin-top: 70px; width: 150px; height: 37px; margin: 35px 0px 0px;}
.btn__more::after { content: ""; position: absolute; display: inline-block; width: 0;height: 0; border-top: 7px solid transparent; border-left: 10px solid #000000; border-bottom: 7px solid transparent; bottom: 7px; right: 7px;}
.btn__more span { font-size: 1.2rem; line-height: 1; position: absolute; top: 8px; left: 10px;}
.btn__more:hover{ background: #000000; color: #ffffff;}
.btn__more:hover::after{ border-left-color: #ffffff;}


.profile{ padding: 100px 0 200px; background: #f5f5f5; }

h2{  font-size: 5rem; font-weight: bold; max-width: 1200px; width: calc(100% - 50px); line-height: 1.5; margin:0 auto 30px;}
h2 span{ display: block; font-size: clamp(1.6rem,1.5vw,1.8rem); }

.tableBox{ width: 62.83%}
.tableBox:not(:last-of-type){ margin-bottom: 155px;}
.titBox{ width: 21.67%;}
.titBox:not(:last-of-type){ margin-bottom: 155px;}
.cellBox{ border-bottom: 1px solid #000; padding: 25px 0 ;}
.cellBox:first-of-type{ border-top: 1px solid #000;}
.cellBox dt{ width: 8em; font-weight: bold;}
.cellBox dd{ width: calc(100% - 8em); text-align: left; margin: 0 auto 0 0 ; }
.cellBox dd .address{   padding-left: 6em; text-indent: -5.7em;}

.mapBox .map{ margin-top: 50px; width: 100%; height: 366px; position: relative; padding-top: 56.25%;}
.mapBox .btn__more{ margin-top: 5px;}
.mapBox .logo{ width: 40%; padding-right: 20px;}
.mapBox:not(:last-of-type) .map{ margin-bottom: 50px;}
.mapBox .map iframe{ position: absolute; top: 0; right: 0; width: 100%; height: 100%;}

@media (max-width: 1400px){
    .profile{ padding:100px 0 150px;}
    h2{ font-size: 4.5rem; margin:0 auto 50px;}
}

@media (max-width: 768px){

    .profile{ padding:70px 0 50px;}
    h2{ font-size: clamp( 2rem , 6.5vw, 5rem); margin-bottom: 20px;}
    h3{ font-size: 5vw; margin-top: 20px;}
    
    .tableBox{ width: 100%}
    .tableBox:not(:last-of-type){ margin-bottom: 60px;}
    .titBox:not(:last-of-type){ margin-bottom: 20px; width: 100%;}
    .cellBox dd{ width: 100%;}
    .cellBox{ padding: 10px 0 ;}
    .cellBox dt{ width: 100%; }
    .cellBox dd{ text-align: left; margin: 0 auto 0 0 ;}
    .cellBox dd .address
    { padding-left: 0; text-indent: 0;}

    .mapBox{ width: 100%;}
    .mapBox .map_inner{ width: 100%;}
    .mapBox .logo{ width: 100%; margin-bottom: 20px;}
    
}