﻿/** font **/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@452;700&family=Noto+Sans+JP:wght@400;700&family=Shippori+Mincho+B1:wght@600&display=swap');

:root{
    --font-jp: 'Montserrat', 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif;
    --font-shi: 'Shippori Mincho B1', "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
body, .font_sans-serif, .font_Quick{
    font-family: var(--font-jp)!important;
}
.font_shi{
    font-family: var(--font-shi);
}

/** color **/

:root{
    --color1: #2164ea;
    --color2: #f5f5f7;
    --color3: #f7ac28;
    --color4: #dfdfe5;
}

/** fade **/

.fadein{
    opacity: 0;
    transform: translateY(20px);
    transition: 0.5s;
    transition-property: opacity, transform;
}
.fadein.fade_left{
    transform: translateX(-20px);
}
.fadein.fade_right{
    transform: translateX(20px);
}
.fadein.active{
    opacity: 1;
    transform: none!important;
}

/** other **/

html, body{
    font-size: 18px;
}

#wrap{
    overflow: inherit;
    padding-right: 0;
    width: calc(100% - 90px);
    margin-right: 90px;
    /*background-image: linear-gradient(to right, #ededef 1px, transparent 1px);
    background-size: 309.5px;
    background-position: top 0 left calc(50% - 155px);*/
}

#header{
    position: fixed;
    width: calc(100% - 90px);
    box-sizing: border-box;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 11;
    padding: 0 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}
#header #header-nav{
    padding: 20px 0;
    margin-top: 0;
}
#header #logo{
    width: 270px;
    height: 150px;
    transform-origin: top left;
    transition: height 0.3s;
}
#header.active #logo{
    height: 100%;
}
#header #logo h1{
    width: 80%!important;
}
#header #logo img{
    width: 100%!important;
}
#header .tel_bt_h span.font_4dw i{
    display: none;
}
#header-nav li:last-of-type a .before{
    display: none;
}

#fix_menu{
    background-color: var(--color2);
}

#main_img{
    min-height: inherit;
    max-height: inherit;
}

#main_bg canvas{
    width: 100%;
    height: 100%;
}

#top_contents1{
    padding-top: 100px;
    padding-bottom: 100px;
}
#top_contents1 h2{
    padding-bottom: 30px;
    background-image: linear-gradient(to bottom, var(--color3), var(--color3));
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100px 3px;
}
#top_contents1 h2 span{
    transform: skewX(-10deg);
}

#top_conveyer .swiper-slide{
    opacity: 1!important;
}
#top_conveyer .swiper-wrapper{
	transition-timing-function:linear;
}

#top_contents2_h{
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.5) 1px, transparent 1px), linear-gradient(to right, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
}
#top_contents2_h .con_img{
    border-radius: 0 20px 0 0;
    height: 500px;
}
#top_contents2_h .con_no{
    top: -25px;
    transform: skewX(-10deg);
}
#top_contents2_h .con_item{
    border-radius: 20px 0 0 0;
    margin-top: -50px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
#top_contents2_h .con_box{
    background-repeat: no-repeat;
    background-position: left 5% bottom;
    background-size: 400px;
}
#top_contents2_h .con_box:nth-of-type(1){
    background-image: url('./Dup/img/bg_img3.png');
}
#top_contents2_h .con_box:nth-of-type(2){
    background-image: url('./Dup/img/bg_img4.png');
}
#top_contents2_h .con_box .con_item::before{
    position: absolute;
    content: "";
    width: 400px;
    height: 250px;
    background-size: contain;
    background-repeat: no-repeat;
    right: 5%;
    top: -245px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s 0.5s;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), 0 calc(100% - 5px));
}
#top_contents2_h .con_box .con_item.active::before{
    opacity: 1;
    animation: anime1 1s ease -0.5s infinite
}
@keyframes anime1 {
    0% {
        transform: translateY(0);
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), 0 calc(100% - 5px));
    }
    15% {
        transform: translateY(-5px);
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0px), 0 calc(100% - 0px));
    }
    30% {
        transform: translateY(0);
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), 0 calc(100% - 5px));
    }
}
#top_contents2_h .con_box:nth-of-type(1) .con_item::before{
    background-image: url('./Dup/img/bg_img1.png');
}
#top_contents2_h .con_box:nth-of-type(2) .con_item::before{
    background-image: url('./Dup/img/bg_img2.png');
}
#top_contents2_h .con_title{
    background-image: linear-gradient(to bottom, var(--color3), var(--color3));
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 50px 3px;
}

#top_cms .top_cms_title h2{
    font-family: var(--font-shi);
    font-size: 30px;
}
.top_cms_title .cms_title_inner{
    width: 100%;
    padding: 50px 0;
    background-color: rgba(0,0,0,0.03);
    background-image: linear-gradient(to bottom, var(--color3), var(--color3));
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 50px 3px;
}
.top_cms_title .before, .top_info_title .before, .top_cms_title .after, .top_info_title .after{
    display: none;
}
.top_cms_title p{
    color: var(--color1);
}
#top_cms{
    padding: 0 20px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.more a{
    position: relative;
}
.more a::before{
    position: absolute;
    content: "";
    width: 0;
    height: 3px;
    left: 0;
    right: 0;
    bottom: -2px;
    margin: auto;
    background-color: var(--color1);
    transition: width 0.5s cubic-bezier(.63,.05,.16,1);
}
.more a:hover{
    color: var(--color1);
    background-color: transparent;
    border-color: transparent;
}
.more a:hover::before{
    width: 100%;
}

#page_title .title_box{
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
#page_title p{
    opacity: 0.6;
}
#page_title h2{
    font-family: var(--font-shi);
    font-size: 30px;
}

.pager li a{
    background-color: var(--color2);
}

.cate_list{
    padding: 20px 15px 10px;
    background-color: var(--color2);
}
.cate_list::before{
    display: block;
    content: "CATEGORY";
    font-size: 16px;
    letter-spacing: 3px;
    width: 100%;
    padding: 0 5px 10px;
    opacity: 0.4;
}
.cate_list li{
    padding: 0;
    margin: 0 5px 10px!important;
}
.cate_list li a{
    padding: 10px 15px!important;
}

.cate_title{
	background-color: transparent;
	padding: 0;
	margin: 0;
	display: block;
	border: none;
	width: 100%!important;
	font-size: 26px;
	text-align: center;
	padding-bottom: 30px!important;
	margin-bottom: 50px;
	background-image: linear-gradient(to bottom, var(--color1), var(--color1));
	background-size: 50px 3px;
	background-repeat: no-repeat;
	background-position: center bottom;
	color: #333;
	font-weight: normal;
	font-family: var(--font-shi);
}

#cms_2-a .box_title1::before, .cms_2-a .box_title1::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 1px;
    left: 0;
    bottom: -1px;
    background-color: var(--color1);
}

#footer_info .contact_box a .contact_bg{
    transition-property: opacity, transform;
}
#footer_info .contact_box a:hover .contact_bg{
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.1);
}


/** tablet 780 **/
@media screen and (max-width: 768px){
#wrap{
    width: 100%;
    margin-right: 0;
    /*background-size: calc(50% - 19.5px);
    background-position: top 0 left 19px;*/
}
#header{
    width: 100%!important;
    padding-right: 90px;
}
#header .h_contents{
    height: 100%;
}
#header #logo{
    width: auto!important;
    height: 100%;
}
#header #logo h1 {
    width: 180px!important;
    max-width: inherit;
}
#header .tel_bt_h span.font_4dw i{
    display: inline-block;
}
#fix_menu{
    width: auto;
}

#top_contents2_h .con_box{
    background-size: 230px;
}
#top_contents2_h .con_box .con_item::before{
    width: 320px;
    height: 200px;
    top: -195px;
    right: 0;
}
#top_contents2_h .con_img{
    height: 60vw;
}
#top_contents2_h .con_item{
    margin-top: -30px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
#header #logo h1 {
    width: 120px!important;
}
#fix_menu{
    padding: 30px 0;
}
#top_cms .top_cms_title h2{
    font-size: 24px;
}
.cate_list::before{
    text-align: center;
}
.cate_list li{
    width: 100%!important;
}
.contact_box{
    transform: none!important;
    left: 0;
    height: auto;
    bottom: 0;
    z-index: 10;
}
.contact_box .tel_bt_h a{
    background-color: var(--color1);
    color: #fff;
}
.l-gh__scrollnav-pagetop{
    transform: translateY(-50px);
}
#top_contents2_h .con_box .con_item::before {
    width: 200px;
    height: 125px;
    top: -120px;
}
#top_contents2_h .con_box:nth-of-type(1) .con_item::before{
    right: -30px;
}
#page_title h2{
    font-size: 22px;
}
.cate_title{
	font-size: 20px;
}
#footer{
    padding-bottom: 60px;
}
}