﻿/* ----------　all　---------- */
.linkStyle{
	color:#ffb03d;
	text-decoration: underline;
}

.linkStyle:hover{
	color:#ffb03d;
	opacity: 0.7;
	transition: all 0.5s;
}


.txt_color1{color: #708090} /* メインカラー */
.txt_color2{color: #e2e6e9} /* サブカラー */
.txt_color3{color: #807d7d} /* アクセントカラー1 */
.txt_color4{color: #fffafa} /* アクセントカラー2 */

/* background-color */
.bg_color1{background-color: #708090} /* メインカラー */
.bg_color2{background-color: #e2e6e9} /* サブカラー */
.bg_color3{background-color: #807d7d} /* アクセントカラー1 */
.bg_color4{background-color: #fffafa} /* アクセントカラー2 */

/* border-color ※!important */
.border_color1{border-color: #708090}
.border_color2{border-color: #e2e6e9}
.border_color3{border-color: #807d7d}
.border_color4{border-color: #fffafa}

/* hover ---------------------------------------------------------------------------------------------*/
/* color */
.hvr_txt_color1:hover{color: #708090} /* メインカラー */
.hvr_txt_color2:hover{color: #e2e6e9} /* サブカラー */
.hvr_txt_color3:hover{color: #807d7d} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #fffafa} /* アクセントカラー2 */

/* background-color */
.hvr_bg_color1:hover{background-color: #708090} /* メインカラー */
.hvr_bg_color2:hover{background-color: #e2e6e9} /* サブカラー */
.hvr_bg_color3:hover{background-color: #807d7d} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #fffafa} /* アクセントカラー2 */

/* border-color ※!important */
.hvr_border_color1:hover{border-color: #708090}
.hvr_border_color2:hover{border-color: #e2e6e9}
.hvr_border_color3:hover{border-color: #807d7d}
.hvr_border_color4:hover{border-color: #fffafa}

body {
    background-color: #f9fafb;
}

/* nav */

.shop_link p {
    white-space: nowrap;
}

#header #logo img {
    filter: drop-shadow(1px 1px 2px white);
}

/* footer */

footer .bg_box {
    display: none;
}

/* ----------　TOP　---------- */

/* main-img */

.maincopy {
    max-width: 750px;
    width: 40%;
    top: 60%;
    left: 3%;
    z-index: 3;
    padding: 10px;
}



/* top */

span.bg_box {
    background-image: url('/Dup/img/suisai.jpg');
}

.intro_title {
        font-size: clamp(20px, 3vw, 45px);
}

#intro .intro_img {
    box-shadow: -3px 3px 9px rgba(0,0,0,0.2);
}

#contents_wrap .bg_container {
    background-color: #eef0f2;
        padding: 20vh 0 10vh;
}

#contents_links .box_wrap .box a h4 {
    background-color: transparent;
}

#contents_links .box_wrap .box a h4 span {
    color: #4d5760;

}

#contents_links .box_wrap .box a {
    box-shadow: 0px 3px 10px rgba(0,0,0,0.2);
}

#contents_links .box_wrap .box a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.5);
    z-index: 2;
}


#contents_wrap h2 {
    padding-bottom: 12vh;
    line-height: 40px;
}

#contents_wrap .con_item {
    display: none;
}

#contents_wrap .tab_content .box.active .con_img figure {
    position: relative;
    box-shadow: 3px 3px 9px rgba(0,0,0,0.2);
}

#contents_wrap .tab_content .box.active .con_img figure:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: -20px;
    left: -20px;
    border: 2px solid #ffffff;
    z-index: 2;
}





/* top-cms */

.topcms_news_type4 .cate_box{
	width: 30.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
}
.topcms_news_type4 .cate_box{
	background-color: #fff;
	padding: 0;
	box-shadow: 10px 25px 30px rgb(0 0 0 / 8%);
	border-top: 2px solid #708090;
}
.topcms_news_type4 .txt_height{
	height: 3em
}
.topcms_news_type4 .box_title1:empty{
	display: block!important;
}

.link_type3{padding-bottom: 50px;}
.link_type3 .link_img1 {z-index: 1;}
.link_type3 .cate_box a:hover .link_img1 img {transform: translate(-50%, -50%) scale(1.05,1.05);}
.link_type3 .link_title1 {
    left: 1px;
    bottom: 1px;
    width: calc(100% - 2px);
    box-sizing: border-box;
}
.link_type3 .cate_box a .link_title1 {transition-timing-function: cubic-bezier(.78,.09,.27,1.36);}
.link_type3 .cate_box a:hover .link_title1 {bottom: -47px;}
	

/*gallery*/

.topcms_gallery_type2 .box_wrap{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    height: 800px;
}
/*.topcms_gallery_type2 .cate_box:not(:nth-of-type(1)){*/
/*    transition: filter 0.3s;*/
/*    -webkit-filter: grayscale(100%);*/
/*    -moz-filter: grayscale(100%);*/
/*    -ms-filter: grayscale(100%);*/
/*    -o-filter: grayscale(100%);*/
/*    filter: grayscale(100%);*/
/*}*/

.topcms_gallery_type2 .cate_box:nth-of-type(1) {
    transition: 0.3s;
}

.topcms_gallery_type2 .cate_box:nth-of-type(1):hover{
    transform: translateY(-5px);
	box-shadow: 0px 3px 10px rgb(0 0 0 / 8%);
}
.topcms_gallery_type2 .cate_box:nth-of-type(1){grid-area: 1 / 1 / 2 / 2;}
.topcms_gallery_type2 .cate_box:nth-of-type(2){grid-area: 1 / 2 / 2 / 4;}
.topcms_gallery_type2 .cate_box:nth-of-type(3){grid-area: 1 / 4 / 3 / 5;}
.topcms_gallery_type2 .cate_box:nth-of-type(4){grid-area: 2 / 3 / 3 / 4;}
.topcms_gallery_type2 .cate_box:nth-of-type(5){grid-area: 2 / 1 / 4 / 3;}
.topcms_gallery_type2 .cate_box:nth-of-type(6){grid-area: 3 / 3 / 4 / 5;}



/* ----------　下層ページ　---------- */

#cms_6-b .cate_box, #cms_6-b .cate_box .box_txt1, #cms_6-b .cate_box .box_txt2,#cms_6-b .cate_box:first-of-type {
    border-color: #666666;
}

#cms_2-f .cate_img1 {
    max-height: 430px;
}

/* 会社情報 */
/* お問い合わせ */
/* プライバシーポリシー */
/* サイトマップ */


/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
    

    
#main_img {
    height: 430px!important;
    margin-top: 110px;
}

.maincopy {
    max-width: 750px;
    width: 50%;
    top: 52%;
    left: 1%;
}
    
.intro_title {
    font-size: clamp(20px, 5vw, 45px);
}

#intro .intro_img {
    box-shadow: 2px 3px 10px rgba(0,0,0,0.4);
}

#intro .intro_img img {
    transform: translate(-55%,-50%);
}

#contents_wrap .tab_content .box.active .con_img figure:before {
    display: none;
}

#contents_wrap .tab_content .box .con_img figure:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: -20px;
    left: -20px;
    border: 2px solid #ffffff;
    z-index: 2;
}
    
    
.link_type3{padding-bottom: 0;}
    
.topcms_news_type4 .cate_box {width: 30%!important;}
    
}

/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){

.overlay .menu_box {
    backdrop-filter: none;
}

#header #logo {
    width: 35%!important;
}

.maincopy {
    max-width: 750px;
    width: 90%;
    top: auto;
    left: 0;
    bottom: 30px;
    right: 0;
    margin: auto;
    background-color: transparent;
}
    
#main_img {
    height: 400px!important;
    margin-top: 65px;
}
    
#contents_wrap .bg_container {
    background-color: #fff7ec;
    padding: 10vh 0 10vh;
}
    
.topcms_gallery_type2 .box_wrap{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    height: 500px;
}
.topcms_gallery_type2 .cate_box:nth-of-type(1){grid-area: 1 / 1 / 2 / 3;}
.topcms_gallery_type2 .cate_box:nth-of-type(2){grid-area: 2 / 1 / 4 / 2;}
.topcms_gallery_type2 .cate_box:nth-of-type(3){grid-area: 2 / 2 / 3 / 3;}
.topcms_gallery_type2 .cate_box:nth-of-type(4){grid-area: 1 / 3 / 3 / 4;}
.topcms_gallery_type2 .cate_box:nth-of-type(5){grid-area: 3 / 2 / 5 / 4;}
.topcms_gallery_type2 .cate_box:nth-of-type(6){grid-area: 4 / 1 / 5 / 2;}

.topcms_news_type4 .cate_box {width: 100%!important;}
    
}