@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:-24%; left:0; z-index: -1; width:100%; height:80%; background-repeat: repeat-y; background-image:url('../img/main_history.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; }

@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_history.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; }
}

#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; }
#content_block > h3 > span { font-size:13px; padding-left:20px; letter-spacing: 0; color:#555; vertical-align: middle; }
@media screen and (max-width:900px) {
    #content_block { padding:130px 0 80px; width:84%; margin-top:160px; }
    #content_block > h3 { font-size:16px; padding-left:10px; margin-bottom:30px; line-height: 1.4; padding-top:10px; padding-bottom:10px; }
    #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:11px; display: block; padding-left:0; color:#555; }
}


div.history_txt { width:640px; margin:auto; }
div.history_txt p { font-size:15px; margin-bottom:20px; }
div.history_flex { display: flex; gap:4%; align-items: center; margin-top:30px; margin-bottom:30px; }
div.history_flex > div { width:48%; }
div.history_flex > div img { width:100%; max-height: 300px; object-fit: contain; border-radius: 3px; }
@media screen and (max-width:900px) {
    div.history_txt { width:100%; }
    div.history_txt p { font-size:14px; }
    div.history_flex { flex-direction: column; gap:0; }
    div.history_flex > div { width:100%; margin:auto; }
    div.history_flex > div:first-child { text-align:center; margin-bottom:10px; }
    div.history_flex > div img { width:80%; max-width:400px; }
}





