﻿@font-face {
font-family: "utsukushi";
  src: url("./Dup/img/utsukushi.otf") format("otf"),url("./Dup/img/utsukushi.woff") format("woff"),url("./Dup/img/utsukushi.woff2") format("woff2");
}
.font1,#page_title h2{font-family: "utsukushi","serif";}

/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#contents2 figure,#contents2 li,#contents3 .fade_box:first-of-type .con_txt,#contents3 .fade_box:last-of-type .con_txt,#contents3 .con_img{position: relative;}
/*リピートなし*/
#main_img:before,#contents2 figure:before,#contents2 li:before,#contents3 .fade_box:first-of-type .con_txt:before,#contents3 .fade_box:last-of-type .con_txt:before,#contents3 .fade_box:last-of-type .con_txt:after,#contents3 .con_img:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

#main_img:before{
background-image: url(./Dup/img/txt1.png);
width: 200px;
height: 400px;
top: 3%;
left: 8%;
z-index: 1;
}

#contents2 li{padding-left: 25px;}
#contents2 li:before{
background-image: url(./Dup/img/check.png);
width: 17px;
height: 17px;
top: 0;
left: 0;
}

#contents2 figure:before,#contents3 .con_img:before{
background-image: url(./Dup/img/bg.jpg);
background-size: 100%;
width: 100%;
height: 100%;
bottom: -20px;
right: -20px;
z-index: -1;
}
#contents3 .con_img:before{z-index: 0;}

#contents3 .fade_box:first-of-type{margin-bottom: 400px;}
#contents3 .fade_box:first-of-type .con_txt{z-index: 1;}
#contents3 .fade_box:first-of-type .con_txt:before{
background-image: url(./Dup/img/img8-2.jpg);
background-size: 100%;
width: 13vw;
height: 17vw;
bottom: -25vw;
right: 190px;
}
#contents3 .fade_box:last-of-type .con_txt:before{
background-image: url(./Dup/img/img14.jpg);
background-size: 100%;
width: 17vw;
height: 11vw;
top: -15vw;
left: 125px;
}
#contents3 .fade_box:last-of-type .con_txt:after{
background-image: url(./Dup/img/img9-2.jpg);
background-size: 100%;
width: 8vw;
height: 11vw;
top: -5vw;
right: -80px;
}
/*--------------------------------
全体
--------------------------------*/
header.bg_color4{
background-color: #efebe7;
background-image: url(./Dup/img/head.jpg);
}
.pc_box a.txt_color1{color: #46558c;}
.button:hover::after{box-shadow: inset 0 0 0 15em #D6E0E5;}
#main_menu ul li a::before{background-color: #becdd7;bottom: 5px;}

footer{background-color: #f4f6f7;}

.fix_banner{
max-width: 300px;
width: 100%;
position: fixed;
bottom: 20px;
right: 20px;
z-index: 5;
}

.button2:hover{box-shadow: none;}
/*--------------------------------
TOP
--------------------------------*/
.txt_mask,#page_title h2{
background-clip: text;
-webkit-background-clip: text;
color: transparent;
background-image: url(./Dup/img/bg2.jpg);
background-position: center center;
background-size: 100%;
}

#contents2 ul{
background-color: #f7f0f0;
padding: 30px;
border-radius: 20px;
}

#contents3{background-color: #f9f8f6;}
#contents3 .fade_box{transform: translateY(-50px);}
#contents3 .grid_6{margin-top: 0;}

/* 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}
}
/*--------------------------------
下層
--------------------------------*/
/* 初めての方へ */
.v_type3 .cate_box{border: 1px solid #e5b3b8;}
.v_type3 .box_title1{color: #46558c;}

/* お問い合わせ */
#page8 .contact_tel a{
height: 112.5px;
box-sizing: border-box;
}

@media  screen and (max-width: 1280px) and (min-width: 769px){

.font_40{font-size: 34px;}

#contents3 .con_img.grid_6{width: 40%!important;}
#contents3 .con_txt.grid_6{width: 60%!important;}

#contents3 .fade_box:first-of-type .con_txt:before{
width: 11vw;
height: 14vw;
bottom: -20vw;
right: 150px;
}
#contents3 .fade_box:last-of-type .con_txt:before{
width: 19vw;
height: 12vw;
top: -17vw;
left: 95px;
}
#contents3 .fade_box:last-of-type .con_txt:after{
width: 8vw;
height: 11vw;
top: -5vw;
right: -35px;
}
#contents3 .fade_box:last-of-type .con_txt{
padding-top: 50px;
}

}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
header.bg_color4{background-size: 100%;}

.hamburger{top: 8px;}

.head_banner{display: none;}
.fix_banner{max-width: 250px;}

.main_box{padding-top: 55px;}
#main_img:before{
width: 150px;
height: 300px;
}

#contents3{padding: 0 5% 100px;}
#contents3 .fade_box:first-of-type{margin-bottom: 300px;}

#contents3 .fade_box:first-of-type .con_txt:before{
width: 15vw;
height: 20vw;
bottom: -30vw;
right: 190px;
}
#contents3 .fade_box:last-of-type .con_txt:before{
width: 23vw;
height: 15vw;
top: -35vw;
left: 125px;
}
#contents3 .fade_box:last-of-type .con_txt:after{
width: 13vw;
height: 17vw;
top: -10vw;
right: 80px;
}

#page8 .contact_tel a{height: auto;}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){

#logo{max-width: 270px;}
.hamburger{top: 5px;}
.main_box{padding-top: 50px;}

.fix_banner{
max-width: 250px;
bottom: 10px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}

#main_img:before{
width: 100px;
height: 200px;
top:50%;
left: 50%;
-ms-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
}

#contents1{padding: 50px 7%;}
#contents2{padding: 50px 7% 100px;}
#contents3{padding: 0 7% 50px;}

#contents3 .grid_6:last-child{margin-top: 25px;}
#contents3 .fade_box:first-of-type .con_txt:before{
background-image: url(./Dup/img/contents3_sp.jpg);
width: 49vw;
height: 42vw;
bottom: -285px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
#contents3 .fade_box:last-of-type .con_txt:before,
#contents3 .fade_box:last-of-type .con_txt:after{
display: none;
}

}

@media  screen and (max-width: 400px){
#contents3 .fade_box:first-of-type .con_txt:before{
width: 85vw;
height: 72vw;
bottom: -285px;
}
}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #cd969b; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #cd969b;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #cd969b;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #46558c;}

/*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: #cd969b;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #F0E3E3;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #46558c;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #D7E1E6;} /* アクセントカラー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: #E6B4B9;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #F0E3E3;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #46558c;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #D7E1E6;} /* アクセントカラー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: #E6B4B9;}
.border_color2,.hvr_border_color2:hover{border-color: #F0E3E3;}
.border_color3,.hvr_border_color3:hover{border-color: #46558c;}
.border_color4,.hvr_border_color4:hover{border-color: #D7E1E6;}