@charset "utf-8";
/* company */
.title_bg {
background-image: url("../company/img/title_bg.jpg");
}
main {
padding-top: 50px;
}
.page_navi {
display: flex;
justify-content: center;
align-content: center;
padding: 20px 0;
margin-bottom: 90px;
border-top: dotted 1px #ccc;
border-bottom: dotted 1px #ccc;
}
.page_navi li {
margin: 0 70px;
}
.page_navi li a {
color: #222;
text-decoration: none;
}
.page_navi li a:hover {
color: #B51319;
text-decoration:underline; 
}
.company_subtitle {
font-family: 'Barlow Condensed', sans-serif;
font-weight: 600;
font-size: 1.4rem;
letter-spacing: 0.3em;
line-height: 100%;
margin-bottom: 10px;
position: relative;
display: inline-block;
padding-left: 17px;
}
.company_subtitle::before {
content: "";
position: absolute;
top: 35%;
display: inline-block;
width: 10px;
height:3px; 
background-color: #B51319;
left: 0;
}
.company_title {
font-size: 2.4rem;
letter-spacing: 0.3em;
line-height: 100%;
margin-bottom: 40px;
margin-left: 15px;
}
.company_copy {
font-size: 2.2rem;
letter-spacing: 0.2em;
line-height: 160%;
display: block;
margin-bottom: 25px;
}
.company_txt {
line-height: 220%;

display: block;
margin-bottom: 70px;
}
.ceo_name {
max-width: 273px;
}
.ceo_name {
position: absolute;
right: 0;
}
.ceo_name img {
width: 100%;
}
.ceo_img img {
width: 100%;
}
.greeting_box_left {
width: 53%;
position: relative;
}
.greeting_box {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
margin-bottom: 150px;
}
.profile_box {
display: flex;
justify-content: flex-start;
align-items: center;
padding: 25px 10px 25px 35px;
border-bottom: solid 1px #ddd;
}
.profile_top {
border-top: solid 1px #ddd;
}
.profile_title {
font-size: 1.5rem;
font-weight: bold;
letter-spacing: 0.2em;
line-height: 100%;
max-width: 180px;
width: 100%;
}
.profile_txt {
font-size: 1.4rem;
line-height: 200%;
}
.access_txt {
font-size: 1.3rem;
line-height: 160%;
display: block;
margin: 0 0 20px 20px;
} 
.map {
position: relative;
max-width: 980px;
width: 100%;
padding-top: 43%; /* = height ÷ width × 100 */
border: solid 1px #ddd;
margin: 0px auto 20px;
}
.g_map {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
padding: 3px;
}



/*スマートフォン*/

@media all and (max-width : 812px ){
.title_bg {
background-image: url("../company/img/title_bg_sp.png");
height: 150px;
}
main {
width: 90%;
}
.page_navi {
padding: 10px 0;
margin-bottom: 25px;
}
.page_navi li {
margin: 0 25px;
font-size: 1.2rem;
}

.company_subtitle {
font-size: 1.2rem;
letter-spacing: 0.2em;
margin-bottom: 10px;
padding-left: 13px;
}
.company_subtitle::before {
width: 8px;
}
.company_title {
font-size: 1.6rem;
letter-spacing: 0.2em;
margin-bottom: 30px;
margin-left: 10px;
}
.company_copy {
font-size: 1.1em;
letter-spacing: 0.1em;
margin-bottom: 15px;
}
.company_txt {
font-size: 1.2rem;
line-height: 180%;
margin-bottom: 20px;
}
.ceo_name {
max-width: 180px;
}
.ceo_name {
position: absolute;
right: 0;
}

.greeting_box_left {
width: 100%;
position: relative;
}
.greeting_box {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
flex-direction:column;
margin-bottom: 30px;
}
.imgBox {
margin-top: 40px;
}

.profile_box {
display: block;
padding: 20px 10px 15px 15px;
}
.profile_top {
border-top: solid 1px #ddd;
}
.profile_title {
font-size: 1.4rem;
margin-bottom: 10px;
max-width: 180px;
width: 100%;
}
.profile_txt {
font-size: 1.3rem;
line-height: 180%;
}
.mb-120 {
margin-bottom: 40px !important; 
}
.access_txt {
font-size: 1.2rem;
margin: 0 0 10px 0px;
} 


}