@charset "utf-8";

section#main_block { padding-top:100px; background-color:#fefefe; }

div#main_block_bg { position:relative; /* background-image: url("../img/main_history.jpg");  background-repeat: no-repeat; background-position: center top; background-size: contain; background-attachment: fixed; */ }
div#main_block_bg::before { content: ""; display: block; position:fixed; top:0; left:0; z-index: -1; width:100%; height:80%; background-repeat: repeat-y; background-image:url('../img/main_map.jpg'); background-position: top center; background-size: cover; }

div#main_block_bg > h2 { font-size:22px; letter-spacing: 0.2em; font-weight: normal; position:absolute; top:300px; left:50%; transform: translateX(-50%); }
div#main_block_bg > h2::before { content: ""; position:absolute; top:-110%; left:50%; transform: translateX(-50%); width:40px; height:40px; background-image: url("../img/logo_green.png"); background-size: contain; background-repeat: no-repeat; background-position: center; }
div#main_block_bg > p { position:absolute; top:350px; left:50%; transform: translateX(-50%); }

@media screen and (max-width:900px) {
    section#main_block { padding-top:70px; background-color:#fefefe; }
    section#main_block::before { height:70px; }
    div#main_block_bg::before { top:0; height:50%; background-image:url('../img/main_map.jpg'); background-repeat: no-repeat; background-position: top center; background-size: contain; }
    div#main_block_bg > h2 { font-size:18px; top:230px; }
    div#main_block_bg > h2::before{ top:-110%; width:32px; height:32px; }
    div#main_block_bg > p { top:275px; width:100%; }
}

#white_bg { background-color:#fefefe; }

#content_block { padding:180px 0 100px; width:720px; margin:auto; margin-top:200px; text-align: left; }
#content_block > h3 { padding-top:6px; padding-bottom:6px; padding-left:40px; margin-bottom:50px; text-align:left; font-size:22px; font-weight: normal; letter-spacing: 0.1em; border-top:solid 1px #8bcb81; border-bottom:solid 1px #8bcb81; position:relative; }
#content_block > h3::after { content: ""; position:absolute; width:200px; height:100%; background-image: url("../img/title_icon.png"); background-size: contain; background-size: contain; background-repeat: no-repeat; top:0; right:0; }
@media screen and (max-width:900px) {
    #content_block { padding:130px 0 80px; width:84%;  margin-top:160px; }
    #content_block > h3 { font-size:18px; padding-left:10px; margin-bottom:40px; }
    #content_block > h3::after { right:10px; bottom:0; width:120px; height:100%; background-image: url("../img/title_icon_sp.png"); background-size: cover; background-repeat: no-repeat; }
    #content_block > h3 > span { font-size:16px; }
}


div.map_flex { width:640px; margin:auto; display: flex; flex-direction: column; align-items: center; margin-bottom:80px; }
div.map_flex > div:first-child { width:80%; max-width:500px; margin-bottom:20px; }
div.map_flex > div:first-child img { width:100%; vertical-align: bottom; border-radius: 5px; }
div.map_flex > div:last-child { width:100%; }
div.map_flex > div:last-child > h4 { font-size:24px; letter-spacing: 0.1em; font-weight: normal; color:#8bcb81; position: relative; padding-left:2.1em; }
div.map_flex > div:last-child > h4.letter_s { letter-spacing: 0; }
div.map_flex > div:last-child > h4::before { content: ""; position:absolute; top:49%; left:0; width:1.6em; height:1px; background-color: #8bcb81; }
div.map_flex > div:last-child > h4 > span { font-size:16px; padding-left:1em; }
div.map_flex > div:last-child > p { font-size:15px; line-height: 1.8; }
@media screen and (max-width:900px) {
    div.map_flex { width:100%; gap:0; flex-direction: column; }
    div.map_flex > div:first-child { margin:0 auto 10px; }
    div.map_flex > div:last-child { width:100%; }
    div.map_flex > div:last-child > h4 { font-size:18px; }
    div.map_flex > div:last-child > h4 > span { font-size:14px; }
    div.map_flex > div:last-child > p { font-size:12px; }
}

