@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:-7%; left:0; z-index: -1; width:100%; height:80%; background-repeat: repeat-y; background-image:url('../img/main_access.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_access.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-bottom:10px; margin-bottom:20px; text-align:left; font-size:22px; font-weight: normal; letter-spacing: 0.2em; border-bottom:dashed 1px #8bcb81; }
#content_block > h3 > span { font-size:18px; letter-spacing: 0.1em; position:relative; padding-left:2em; }
#content_block > h3 > span::before { content:""; top:50%; left:0; width:1.5em; height:1px; background-color:#555; position:absolute; display: inline-block; }
@media screen and (max-width:900px) {
    #content_block { padding:130px 0 80px; width:84%; margin-top:160px; }
    #content_block > h3 { font-size:18px; }
    #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; }
}

#content_block div.access_txt { margin-top:35px; font-size:15px; }
#content_block div.access_txt > h4 { font-size:18px; font-weight: normal; letter-spacing: 0.1em; padding-bottom:5px; position:relative; }
#content_block div.access_txt > h4.icon_train { padding-left:30px; }
#content_block div.access_txt > h4.icon_train::before { content:""; position:absolute; left:0; top:5px; width:22px; height:22px; background-image: url("../access/img/icon_train.png"); background-size: contain; background-position: center bottom; background-repeat: no-repeat; }
#content_block div.access_txt > h4.icon_car { padding-left:30px; }
#content_block div.access_txt > h4.icon_car::before { content:""; position:absolute; left:0; top:6px; width:22px; height:22px; background-image: url("../access/img/icon_car.png"); background-size: contain; background-position: center bottom; background-repeat: no-repeat; }
#content_block div.access_txt > p { color:#555; padding-left: 30px; }
#content_block div.access_txt > p > span { font-size:90%; }
@media screen and (max-width:900px) {
    #content_block div.access_txt { font-size:13px; }
    #content_block div.access_txt > h4 { font-size:16px; }
    #content_block div.access_txt > h4.icon_train::before { top:2px; }
    #content_block div.access_txt > h4.icon_car::before { top:3px; }
}

#content_block div.map_block { width:100%; margin-top:60px; }
#content_block div.map_block iframe { width: 100%; aspect-ratio: 16/9; }
@media screen and (max-width:500px) {
    #content_block div.map_block iframe { width: 100%; aspect-ratio: 4/3; }
}

#to_googlemap { margin:auto; text-align:center; }
#to_googlemap > p { font-size:12px; font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", YakuHanJP, "Helvetica Neue", "Helvetica", "Hiragino Kaku Gothic ProN", "Arial", "Meiryo", sans-serif; }
#to_googlemap > p > a { color:#555; }
#to_googlemap > p > a:hover { text-decoration: underline; }

