﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
body,.font_serif{font-family: 'Noto Sans JP',"游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;font-weight: 400;}
.font_bold{font-weight: 700;}

/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img > div,.line,.top_cms_title,#page_title h2{position: relative;}
/*リピートなし*/
#main_img > div:before,#main_img > div:after,.catch,.obj2,.line:before,.top_cms_title:before,#page_title h2:before{
content: "";
display: block;
background-size: 100%;
background-repeat: no-repeat;
position: absolute;
}

#main_img > div:before{
    background-image: url(./Dup/img/frame1.png);
    width: 300px;
    height: 300px;
    top: -60px;
    left: -50px;
    z-index: 1;
}
#main_img > div:after{
    background-image: url(./Dup/img/frame2.png);
    width: 100px;
    height: 170px;
    bottom: -30px;
    right: -24px;
    z-index: 1;
}
.catch{
    background-image: url(./Dup/img/catch.png);
    width: 30vw;
    height: 10vw;
    top: 5vw;
    left: 3vw;
}
.obj2{
    background-image: url(./Dup/img/obj2.png);
    width: 150px;
    height: 150px;
    bottom: 1vw;
    right: 3vw;
}

.line:before,#page_title h2:before{
    background-image: url(./Dup/img/line.png);
    width: 200px;
    height: 33px;
    bottom: -40px;
    left: 50%;
	-ms-transform: translate(-50%,0);
	-webkit-transform: translate(-50%,0);
	transform: translate(-50%,0);
}
.top_cms_title:before{
    background-image: url(./Dup/img/obj1.png);
    width: 90px;
    height: 105px;
    top: -7px;
    left: -20px;
}
/*--------------------------------
全体
--------------------------------*/
.border_rad15{border-radius: 15px;}
.font_14{font-size: 16px;}

#loader .logo{max-width: 200px;}
header.mg_b-30px{margin-bottom: 15px;}
h1 img.width_300-max{max-width: 150px;}

#contact_bar .tel p{
    color: #5fa569;
    background-color: #FFEAA7;
    font-weight: bold;
}
#loader .loader_bg,footer,#intro,.intro_title,#contents2,#page_title{
    background-image: url(./Dup/img/bg3.jpg);
    background-size: cover;
}
.fix_banner{
width: 300px;
position: fixed;
bottom: 10px;
right: 85px;
z-index: 5;
}
/* スマホ時真ん中へ */
@media  screen and (max-width: 667px){
.fix_banner{
width: 200px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
}
/*--------------------------------
TOP
--------------------------------*/
#main_img > div,#video{
    height: 67vh;
    border-radius: 15px;
}
#video video{
height: 100%;
object-fit: cover;
}
#intro::after{display: none;}
#contents1_txt{border-radius: 0 0 15px 15px;}
.con2_img{border-radius: 15px;}

.top_cms_title{padding-left: 70px;}

/* TOP お知らせ */
.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}
}
/*--------------------------------
下層
--------------------------------*/
#page_title > div{padding-bottom: 80px;}
#page_title p{background-color: #fff;}
#page_title h2{color: #333;}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
    h1 img.width_200-max_sp {max-width: 250px;}
    #main_img > div,#video{height: 37vh;}
    #main_img > div:before{
        width: 200px;
        height: 195px;
        top: -45px;
        left: -35px;
    }
    #main_img > div:after{
        width: 80px;
        height: 137px;
        bottom: -30px;
        right: -20px;
    }
    .catch{
        width: 45vw;
        height: 14vw;
        top: 6vw;
        left: 3vw;
    }
    .obj2{
        width: 100px;
        height: 100px;
        bottom: 1vw;
        right: 5vw;
    }
}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
    .font_14{font-size: 14px;}
    .more a{
        background-color: #5AA5CD;
        color: white;
    }
    .more a::after{opacity: 0;}
    #copyright{padding: 20px 55px;}
    h1 img.width_200-max_sp{max-width: 200px;}
    #main_img > div, #video{height: 50vw;}
    #main_img > div:before{
        width: 150px;
        height: 140px;
        top: -35px;
        left: -25px;
    }
    #main_img > div:after{
        width: 50px;
        height: 85px;
        bottom: -20px;
        right: -12px;
    }
    .catch{display: none;}
    .obj2{
        width: 70px;
        height: 70px;
    }
    .line:before, #page_title h2:before{
        width: 150px;
        height: 27px;
        bottom: -35px;
    }
    #top_cms .top_cms_box{margin-bottom: 50px;}
    .top_cms_title{padding-left: 55px;}
    .top_cms_title:before{
        width: 70px;
        height: 80px;
        top: -5px;
        left: -15px;
    }
}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #333; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #333;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #333;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #333;}

/*IEのみ*/
@media all and (-ms-high-contrast: none) {
.linkStyle{display: inline-block;}
}

/*--------------------------------
カラー
--------------------------------*/
body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: #333333;}
.txt_black,.hvr_txt_black:hover{color: black;}
.txt_white,.hvr_txt_white:hover{color: white;}
.txt_red,.hvr_txt_red:hover{color: red;}
.txt_color1,.hvr_txt_color1:hover{color: #5fa569;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #FFEAA7;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #5AA5CD;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #F8F4EC;} /* アクセントカラー2 */

/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: white;} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: black;} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: #8FBD96;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #FFEAA7;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #5AA5CD;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #F8F4EC;} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}

/* border-color */
.border_white,.hvr_border_white:hover{border-color: white;}
.border_black,.hvr_border_black:hover{border-color: black;}
.border_color1,.hvr_border_color1:hover{border-color: #8FBD96;}
.border_color2,.hvr_border_color2:hover{border-color: #FFEAA7;}
.border_color3,.hvr_border_color3:hover{border-color: #5AA5CD;}
.border_color4,.hvr_border_color4:hover{border-color: #F8F4EC;}