﻿
/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
header .h_box,#main_img{position: relative;}
/*リピートなし*/
header .h_box:before,#main_img:before,#main_img:after{
content: "";
display: block;
background-size: cover;
background-repeat: no-repeat;
position: absolute;
}

/*
header .h_box:before{
content: "商品・サービスに関するお問い合わせ以外はご遠慮願います。";
color: red;
bottom: -8px;
left: 5px;
font-size: 14px;
}
*/
#main_img:before{
background-image: url(./Dup/img/catch.png);
background-size: 100%;
width: clamp(750px,68vw,1300px);
height: clamp(87px,8vw,150px);
top: 15%;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
/*
#main_img:after{
background-image: url(./Dup/img/main_logo.png);
background-size: 100%;
width: 13vw;
height: 6vw;
width: clamp(200px, 13vw, 300px);
height: clamp(80px, 6vw, 120px);
bottom: 0;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
*/
/*--------------------------------
全体
--------------------------------*/
p,.cate_txt1,.box_txt1 {font-feature-settings: "palt";}
header.bg_color1{background-color: #dae8e3;}
header .txt_white{color: #5a7c6d;}
header .border_white{border-color: #5a7c6d;}
.button_container span{background-color: #5a7c6d;}
#footer_nav{background-color: #d4edfb;}

/*header .h_box{padding-bottom: 20px;}*/

#page_top.font_12 {font-size: 12px;}

.fix_banner{
width: 400px;
position: fixed;
bottom: 30px;
right: 30px;
z-index: 7;
}
#wrap:not(.index) .fix_banner{right: 75px;}
/* スマホ時真ん中へ */
@media  screen and (max-width: 667px){
.fix_banner{
width: 250px;
bottom: 15px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
}
/*--------------------------------
TOP
--------------------------------*/
#video{width: 70%;}
#video video{
width: 100%;
height: auto;
}
.intro_img a::before{display: none;}
.more_btn a i, .more_btn > span i,
.more_btn a:hover i, .more_btn > span:hover i{right: 12px;}

.c2_box_bg::before{display: none;}

/* 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
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 667px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}

.sf_contact_box.bg_color2{background-color: #d4edfb;}
/*--------------------------------
下層
--------------------------------*/
#page_title p{color: #a0c8dc;}

.cate_list li a{background-color: #87cdb4;}

.title_box.border_color1{border-color: #a2f2d0;}
.phone_wrap.bg_color1,.phone_txt h4 .bg_color1{background-color: #87cdb4;}

.cate_photo figure,.box_photo figure{
width: 49%;
box-sizing: border-box;
}

.v_type3 .cate_box{border: 1px solid #a9e5d1;}
.v_type3 .box_title1{color: #86ccb3;}

/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){

.sf_access.grid_10{width: 100%!important;}
.sf_access.grid_10 > div{padding-left: 40px;}

#main_img:before{
width: 83vw;
height: 10vw;
top: 8%;
}
/*
#main_img:after{
width: 170px;
height: 68px;
}
*/
#video{width: 90%;}

}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
/*
header .h_box {padding-bottom: 0;}
header .h_box:before{display: none;}
*/
.sf_access.grid_10 {
padding-left: 20px;
padding-right: 20px;
}
#logo{max-width: 120px;}
.overlay{top: 53px;}
.overlay .menu-box{width: 95%;}

#main_img{height: 60vw!important;}
#main_img:before{
width: 95vw;
height: 11vw;
top: 10%;
}
/*
#main_img:after{
width: 120px;
height: 48px;
}
*/
.cate_photo figure,.box_photo figure{width: 100%;}

}

/*IE*/
@media all and (-ms-high-contrast: none) {}




/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #87cdb4; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #87cdb4;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #87cdb4;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #a0c8dc;}

/*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: #87cdb4;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #E9F8F9;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #a0c8dc;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #DFF6FF;} /* アクセントカラー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: #AAE6D2;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #E9F8F9;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #B9E1FA;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #DFF6FF;} /* アクセントカラー2 */
.bg_color5,.hvr_bg_color5:hover{background-color: #86ccb3;}
.bg_color6,.hvr_bg_color6:hover{background-color: #9fc7db;}
.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: #AAE6D2;}
.border_color2,.hvr_border_color2:hover{border-color: #E9F8F9;}
.border_color3,.hvr_border_color3:hover{border-color: #B9E1FA;}
.border_color4,.hvr_border_color4:hover{border-color: #DFF6FF;}

/*--------------------------------
■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);
}
#s_content1 .font_4up_sp{
font-size: -webkit-calc(1rem + 3px);
font-size: calc(1rem + 3px);
}
.menu_list.font_2up{
font-size: -webkit-14px;
font-size: 14px;
}
}