﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400&display=swap');
body,.font_com,.font_en, .date, a[href^="tel:"], a[href^="mailto:"]{font-family: 'Noto Serif JP',"游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";font-weight: 300;}
.font_bold{font-weight: 400;}


/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#main_img,#contents_box{position: relative;}
/*リピートなし*/
header::before,.main_box::before,#main_img:before,#main_img:after,.catch,#contents_box:before{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}
header::before {
background-image: url(./Dup/img/reaf1.png);
width: 400px;
height: 286px;
bottom: -2%;
left: -6%;
pointer-events: none;
}
.main_box::before {
background-image: url(./Dup/img/reaf1.png);
position: fixed;
width: 400px;
height: 286px;
top: -7%;
right: -2%;
z-index: 2;
pointer-events: none;
transform: scale(-1, -1);
}
#main_img:before{
background-image: url(./Dup/img/main1.png);
background-size: 100%;
width: 53vw;
height: 38vw;
top: 0;
left: 0;
}
#main_img:after{
background-image: url(./Dup/img/main2.png);
background-size: 100%;
width: 50vw;
height: 30vw;
bottom: 0;
right: 0;
}
.catch{
background-image: url(./Dup/img/catch.png);
background-size: 100%;
/*
width: clamp(150px, 11vw, 200px);
height: clamp(338px, 24vw, 450px);
*/
width: 9vw;
height: 20vw;
top: 12%;
right: 20%;
z-index: 1;
}
#contents_box:before{
background-image: url(./Dup/img/main3.png);
background-size: 100%;
width: 90vw;
height: 61vw;
top: -30vw;
left: -34vw;
z-index: 1;
}
/*--------------------------------
全体
--------------------------------*/
/* お問い合わせボタン hover */
.button:hover::after{box-shadow: inset 0 0 0 15em #9bc3e6;}
/*--------------------------------
TOP
--------------------------------*/
#main_img{
max-height: none;
min-height: auto;
height: 50vw;
}
#contents1{padding-left: 18%;}

#contents3{
background-image: url(./Dup/img/bg3.jpg);
background-size: cover;
padding: 100px 5%;
}

/* 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}
}
/*--------------------------------
下層
--------------------------------*/
#main_menu ul li a::before{background-color: #9bc3e6;}
.button2:hover{box-shadow: none;}
/* ギャラリー*/
.BA_type2 .box_img1_wrap, .BA_type2 .box_img2_wrap {
	width: 48%!important;
	margin: 0 1%;
}
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before {
	position: absolute;
	content: "Before";
	width: 121px;
	background-color: #50a096;
	color: #fff;
	text-align: center;
	display: block;
	left: 0;
	bottom: 0;
	margin: auto;
	z-index: 1;
	font-size: 14px;
	letter-spacing: 1px;
	padding: 4px 0px;
	box-sizing: border-box;
}
.BA_type2 .box_img2_wrap::before {
	content: "After";
	background-color: #9bc3e6;
}

/* ---------- スマホ ---------- */
@media screen and (max-width: 667px){
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{
	width: 76px;
	font-size: 13px;
}
.BA_type2 .box_img1_wrap::before, .BA_type2 .box_img2_wrap::before{padding: 1px 0px;}
}

/* 初めての方へ */
.v_type3 .cate_box{border: 1px solid #9bc3e6;}
.v_type3 .box_title1{color: #5091c8;}


@media  screen and (max-width: 1366px){
header::before,.main_box::before{
width: 29vw;
height: 21vw;
}
}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
#logo{max-width: 120px;}
header::before{
bottom: auto;
top: -35px;
left: -20px;
transform: scale(1, -1);
}
.hamburger{top: 32px;}
.main_box{padding-top: 100px;}
footer .link_box li{max-width: 40px;width: 100%;}

#main_img{height: 48vh;}
#main_img:before{
width: 73vw;
height: 53vw;
top: -30px;
}
#main_img:after{
width: 62vw;
height: 38vw;
}

.catch{
width: 13vw;
height: 29vw;
top: 4%;
right: 9%;
}

#contents_box:before{
width: 100vw;
height: 68vw;
top: -30vw;
left: -36vw;
}
}


/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
.hamburger{top: 23px;}
#logo {
max-width: 100px;
}
.main_box {
padding-top: 83px;
}
header::before, .main_box::before{
width: 42vw;
height: 30vw;
}
header::before{
top: -30px;
left: -15px;
}
#main_img {
height: 44vh;
}
#main_img:before{
width: 90vw;
height: 65vw;
}
#main_img:after{
width: 75vw;
height: 43vw;
}
.catch{
width: 19vw;
height: 42vw;
}
#contents_box:before{
width: 110vw;
height: 77vw;
top: -40vw;
left: -39vw;
}
#contents1{padding: 100px 7% 50px;}
#contents3{padding: 50px 5%;}

}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #5091c8; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #5091c8;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #fff;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #5091c8;}

/*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: #5091c8;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #BEAAE1;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #50A096;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #F3F4ED;} /* アクセントカラー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: #9BC3E6;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #BEAAE1;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #50A096;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #F3F4ED;} /* アクセントカラー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: #9BC3E6;}
.border_color2,.hvr_border_color2:hover{border-color: #BEAAE1;}
.border_color3,.hvr_border_color3:hover{border-color: #50A096;}
.border_color4,.hvr_border_color4:hover{border-color: #F3F4ED;}

/*--------------------------------
■2px大きく
--------------------------------*/
html{font-size: 16px;}
body{-webkit-text-size-adjust: 120%;font-size: 16px;}

.font_12{font-size: 14px;}
.font_14{font-size: 16px;}
.font_16{font-size: 18px;}
.font_18{font-size: 20px;}
.font_20{font-size: 22px;}
.font_22{font-size: 24px;}
.font_24{font-size: 26px;}
.font_26{font-size: 28px;}
.font_28{font-size: 30px;}
.font_30{font-size: 32px;}
.font_100per{
font-size: -webkit-calc(1rem + 2px);
font-size: calc(1rem + 2px);
}
.font_2up{
font-size: -webkit-calc(1rem + 4px);
font-size: calc(1rem + 4px);
}
.font_4up{
font-size: -webkit-calc(1rem + 6px);
font-size: calc(1rem + 6px);
}
.font_6up{
font-size: -webkit-calc(1rem + 8px);
font-size: calc(1rem + 8px);
}
.font_8up{
font-size: -webkit-calc(1rem + 10px);
font-size: calc(1rem + 10px);
}
.font_10up{
font-size: -webkit-calc(1rem + 12px);
font-size: calc(1rem + 12px);
}
.font_2dw{
font-size: -webkit-calc(1rem);
font-size: calc(1rem);
}

@media  screen and (max-width: 768px){
.font_12_tb{font-size: 14px;}
.font_14_tb{font-size: 16px;}
.font_16_tb{font-size: 18px;}
.font_18_tb{font-size: 20px;}
.font_20_tb{font-size: 22px;}
.font_22_tb{font-size: 24px;}
.font_24_tb{font-size: 26px;}
.font_26_tb{font-size: 28px;}
.font_28_tb{font-size: 30px;}
.font_30_tb{font-size: 32px;}
.font_100per_tb{
font-size: -webkit-calc(1rem + 2px);
font-size: calc(1rem + 2px);
}
.font_2up_tb{
font-size: -webkit-calc(1rem + 4px);
font-size: calc(1rem + 4px);
}
.font_4up_tb{
font-size: -webkit-calc(1rem + 6px);
font-size: calc(1rem + 6px);
}
.font_6up_tb{
font-size: -webkit-calc(1rem + 8px);
font-size: calc(1rem + 8px);
}
.font_8up_tb{
font-size: -webkit-calc(1rem + 10px);
font-size: calc(1rem + 10px);
}
.font_10up_tb{
font-size: -webkit-calc(1rem + 12px);
font-size: calc(1rem + 12px);
}
.font_2dw_tb{
font-size: -webkit-calc(1rem);
font-size: calc(1rem);
}
}
/*--------------------------------
■スマホ時　1px大きく
--------------------------------*/
@media  screen and (max-width: 667px){
html{font-size: 15px;}
body{-webkit-text-size-adjust: 110%;font-size: 15px;}

.font_12_sp{font-size: 13px;}
.font_14_sp{font-size: 15px;}
.font_16_sp{font-size: 17px;}
.font_18_sp{font-size: 19px;}
.font_20_sp{font-size: 21px;}
.font_22_sp{font-size: 23px;}
.font_24_sp{font-size: 25px;}
.font_26_sp{font-size: 27px;}
.font_28_sp{font-size: 29px;}
.font_30_sp{font-size: 31px;}
.font_100per_sp{
font-size: -webkit-calc(1rem + 1px);
font-size: calc(1rem + 1px);
}
.font_2up_sp{
font-size: -webkit-calc(1rem + 3px);
font-size: calc(1rem + 3px);
}
.font_4up_sp{
font-size: -webkit-calc(1rem + 5px);
font-size: calc(1rem + 5px);
}
.font_6up_sp{
font-size: -webkit-calc(1rem + 7px);
font-size: calc(1rem + 7px);
}
.font_8up_sp{
font-size: -webkit-calc(1rem + 9px);
font-size: calc(1rem + 9px);
}
.font_10up_sp{
font-size: -webkit-calc(1rem + 11px);
font-size: calc(1rem + 11px);
}
.font_2dw_sp{
font-size: -webkit-calc(1rem - 1px);
font-size: calc(1rem - 1px);
}
}