﻿/* all page */
/*fonts*/
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
.hannari{
    font-family: 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: #160a0a;text-decoration: underline;transition: opacity .3s;}
.linkStyle:hover{opacity: 0.7}
.txt_color1, .hvr_txt_color1:hover{color: #6ebdf1;}
.txt_color2, .hvr_txt_color2:hover{color: #e6e6e6}
.txt_color3, .hvr_txt_color3:hover{color: #186091;}
.txt_color4, .hvr_txt_color4:hover{color: #c9baa9}

/* background-color */
.bg_color1, .hvr_bg_color1:hover{background-color: #a4dbff;}
.bg_color2, .hvr_bg_color2:hover{background-color: #e6e6e6}
.bg_color3, .hvr_bg_color3:hover{background-color: #dfaa64;}
.bg_color4, .hvr_bg_color4:hover{background-color: #c9baa9}

/* border-color ※!important */
.border_color1, .hvr_border_color1:hover{border-color: #a4dbff;}
.border_color2, .hvr_border_color2:hover{border-color: #e6e6e6}
.border_color3, .hvr_border_color3:hover{border-color: #186091;}
.border_color4, .hvr_border_color4:hover{border-color: #c9baa9}

.nav_menu_more:first-of-type a .icon:before {
    content: "\f075";
    top: -3px;
    left: -30px;
}

.button_container span {background: #186091;}
.button_container span:nth-of-type(1) {
    background-color: transparent;
    color: #186091;
}

/* header */
#logo {max-width: 150px;}
header.scr_header #logo {max-width: 120px;}

/* top ----------------*/

/* main img */
#main_img:before {background-color: rgba(255,255,255,0.3);}
#top_pc_nav {display: none;}
.menu p.bg_white{background: none;}
#main_img{
    justify-content: space-between;
    height: 100vh;
    overflow: hidden;
    background-image: url('./Dup/img/main1.png');
    background-size: 100% 99%;
    background-position: top center;
    background-repeat: no-repeat;
}
/*#main_img #left, #main_img #right {*/
/*    width: 45% !important;*/
/*    height: 90vh !important;*/
/*    margin-top: 5vh;*/
/*}*/
#main_img #left, #main_img #right {
    width: 45% !important;
    height: 90vh !important;
    margin-top: 1vh;
}
#main_img #left {
    margin-left: 2.5%;
}
#main_img #right {
    margin-right: 2.5%;
}
#main_img .main_txt{
    font-weight: bold;
    filter: drop-shadow(1px 3px 0px rgba(255,255,255,1.0));
    margin-top: -30px;
}

/* main */
.back1:before, .back2:before, #intro .num, #contents1 .num, #contents2 .num, #contents3 .num{display: none;}

/* intro */
#intro_wrap {background: none; padding: 7% 0;padding-top: 0;}
#intro .intro_title{
    padding: 0 7%;
}
#intro .intro_img {
    height: 300px;
    width: 40%;
    bottom: -250px;
    right: 0;
    z-index: -1;
}
#intro .intro_txt{
    margin-bottom: 50px;
    padding: 0 7%;
}

/* contents */
#contents1 .con_img, #contents2 .con_img{
    box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}
#contents3 {
    margin-top: 100px;
    margin-bottom: 100px;
}
#contents3 .con_box {padding: 4%;border-radius: 10px;}
#contents3 .line:before {
    left: 0;
    transform: none;
}
#contents3 .con_title h3{
    letter-spacing: 1px;
}
#contents3_wrap:before, #contents3_wrap:after {
    height: 140%;
    top: -20%;
}
#contents3_wrap:before {
    background-attachment: fixed;
}
/*#contents3_wrap:after {*/
/*    background-color: rgba(255,255,255,0.5);*/
/*}*/
#contents3 .con3_btn a{
    max-width: 150px;
    padding: 10px 20px;
}

/* topcms */
.topcms_news_type2 .cate_box {
	width: 46.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
	cursor: pointer;
	border-bottom: 1px solid #ddd;
	margin-bottom: 30px;
	box-shadow: 0 6px 12px rgb(0 0 0 / 0);
	/* padding: 20px; */
	/* border-radius: 20px; */
	/* background-color: #f5f5f5; */
}
.topcms_news_type2 .cate_box:hover {transform: translateY(-5px);}
.topcms_news_type2 .cate_box .box_item {cursor: pointer;}
.topcms_news_type2 .txt_height {height: 5em}
.topcms_news_type2 .box_img1 {border-radius: 10px;}

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}

/* linkcms */
#info_contact .con_box a {
    display: block;
    z-index: 1;
}
#info_contact .con_box a::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 10px;
    left: 10px;
    border: solid 2px #6ebdf1;
    opacity: 0.5;
}
#info_contact .con_img:before {
    background-color: rgba(164,219,255,0.5);
}

/* footer */

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#logo {opacity: 0;}
.page #logo {
	opacity: 1;
	max-width: 200px;
}
header.scr_header #logo {opacity: 1;}
/*.overlay-menu .nav_menu_more a{background-color: #dbbc94;}*/
#main_img {flex-direction: column;}
.menu a {max-width: 200px;}
#main_img .main_txt {margin-top: -20px;}
#main_img #left, #main_img #right {
    width: 90% !important;
    height: 45vh !important;
}
#main_img #left {
    margin-left: 0.5%;
    margin-top: 2.5vh;
}
#main_img #right {
    margin-right: 0.5%;
    margin-bottom: 2.5vh;
}
#intro .intro_img {
    height: 150px;
    width: 43%;
    bottom: -60px;
}
#contents3_wrap:before {
    background-attachment: scroll;
}
#contents3_wrap:before, #contents3_wrap:after {
    height: 120%;
    top: -10%;
}
.page #logo {max-width: 150px;}
#page_title .page_title_box {
    width: 100%;
    background-color: rgb(164,219,255,0.6);
}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#logo {max-width: 120px;}
header.scr_header #logo {max-width: 100px;}
#intro .intro_img {height: 130px;}
.page #logo {max-width: 90px;}
}

/*20221013追加*/
#video {position: relative;}
#video .video{
    position: absolute;
    top: 0;
    left: -50%;
}
/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
#video .video {
    position: absolute;
    top: -50px;
    left: -50px;
    height: 50vh;
}
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
#video .video {
    height: 45vh;
    top: 0;
    left: -50%;
}
}


