﻿/*--------------------------------
疑似要素にオブジェクト
--------------------------------*/
#contents .box:nth-of-type(3),footer{position: relative;}
/*リピートなし*/
.catch1,.catch2,.num,#contents .box:nth-of-type(3):before,.shop_info .info_box > div:before,footer:before{
content: "";
display: block;
background-size: 100%;
background-repeat: no-repeat;
position: absolute;
}

.catch1{
    background-image: url(./Dup/img/catch1.png);
    width: clamp(600px,41vw,800px);
    height: clamp(270px,18vw,355px);
    top: 12%;
    right: 7%;
}
.catch2{
    background-image: url(./Dup/img/catch2.png);
    width: clamp(350px, 21vw, 400px);
    height: clamp(224px, 14vw, 256px);
    top: 46%;
    right: 7%;
}
.num{
    width: 180px;
    height: 180px;
}
.num1{background-image: url(./Dup/img/point1.png);}
.num2{background-image: url(./Dup/img/point2.png);}
.num3{background-image: url(./Dup/img/point3.png);}

#contents .box:nth-of-type(3):before{
    background-image: url(./Dup/img/obj1.png);
    width: clamp(250px,16vw,350px);
    height: clamp(250px,16vw,350px);
    bottom: -7%;
    right: 4%;
    z-index: 1;
    animation: anime1 5s steps(1) 0s infinite;
}

.shop_info .info:before{
    background: linear-gradient(135deg, rgba(50, 75, 165, 0.80), rgba(50, 75, 165, 0.80)), url(./Dup/img/info_bt1.jpg);
    background-size: cover;
    width: 55vw;
    height: 27vw;
    top: 11vw;
    left: 35vw;
    -ms-transform: translate(-50%, -50%) skewX(-170deg);
    -webkit-transform: translate(-50%, -50%) skewX(-170deg);
    transform: translate(-50%, -50%) skewX(-170deg);
}
.shop_info .contact:before{
    background: linear-gradient(135deg, rgba(50, 75, 165, 0.80), rgba(50, 75, 165, 0.80)), url(./Dup/img/info_bt2.jpg);
    background-size: cover;
    width: 64vw;
    height: 27vw;
    top: 53%;
    left: 46%;
    -ms-transform: translate(-50%, -50%) skewX(-170deg);
    -webkit-transform: translate(-50%, -50%) skewX(-170deg);
    transform: translate(-50%, -50%) skewX(-170deg);
}
footer:before{
    background-image: url(./Dup/img/obj2.png);
    width: clamp(250px, 16vw, 300px);
    height: clamp(354px, 23vw, 424px);
    top: -240px;
    left: -30px;
    pointer-events: none;
}
/*--------------------------------
全体
--------------------------------*/
.load_logo figure{max-width: 450px;}
#loading_bg.bg_color2{background-color: #9edfff;}

#header{background-color: rgba(255,255,255,0.85);border-bottom: 1px solid #e1e2e6;}
#header li a{color: #333;}

.g-menu{background: rgba(26,26,26,0.95);}

.back_color{
	background: -webkit-gradient(linear, rgba(255,255,255,0.5) 0%,  rgba(255,255,255,0.975) 20%, rgba(255,255,255,0.975) 80%,rgba(255,255,255,0.5) 100%);
    background: -webkit-linear-gradient(rgba(255,255,255,0.5) 0%,  rgba(255,255,255,0.975) 20%, rgba(255,255,255,0.975) 80%,rgba(255,255,255,0.5) 100%);
    background: linear-gradient(rgba(255,255,255,0.5) 0%,  rgba(255,255,255,0.975) 20%, rgba(255,255,255,0.975) 80%,rgba(255,255,255,0.5) 100%);
}
.fix_banner{
width: 400px;
position: fixed;
bottom: 10px;
right: 10px;
z-index: 5;
}
/* スマホ時真ん中へ */
@media  screen and (max-width: 667px){
.fix_banner{
width: 300px;
right: auto;
left: 50%;
-ms-transform: translate(-50%,0);
-webkit-transform: translate(-50%,0);
transform: translate(-50%,0);
}
}
footer.bg_color1{background-color: #1a1a1a;}
footer .entry a.bg_color2{background-color: #324BAA;color: #fff;}
#footer{max-width: auto;}
footer .f_info_wrap{margin-bottom: 50px;}
footer .logo{width: 60% !important;}
footer .f_info{
    width: 40% !important;
    margin-bottom: 0;
}
/*--------------------------------
TOP
--------------------------------*/
.fv_logo{
    width: clamp(400px,27vw,500px);
    position: absolute;
    top: 50px;
    left: 50px;
}
.catch_txt{background-color: transparent;}
.fv_banner{
    width: clamp(350px,23vw,400px);
    box-sizing: border-box;
    position: absolute;
    bottom: 10%;
    right: 7%;
}

#main span:is(.catch1,.catch2).animStart,
#main .fv_banner.animStart{
    opacity: 0;
    animation: heroText 600ms 1100ms both;
}
#main .sns_link li,
#page_title .sns_link li{background-color: #fff;}

#contents .box .box_item:before{background-color: rgba(145,145,145,0.7);}
#contents .box .box_item:after{background: linear-gradient(to bottom left, rgba(255, 255, 255, 0) 50%, #323c64 50.5%) no-repeat top left / 100% 100%;}

.top_cms_box {background-color: transparent;}

/* 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: 768px){
.topcms_news_type2 .cate_box {width: 100%!important;}
.topcms_news_type2 .txt_height {height: 3em}
}

/*--------------------------------
下層
--------------------------------*/
#page_title{background-attachment: scroll;}
#page_title:before{background: linear-gradient(to bottom right, rgba(255, 255, 255, 0) 50%, #fff 50.5%) no-repeat top left / 100% 100%;}
#page_title:after{display: none;}
#page_title p{color: white;}

/* 社員の声 */
.v_type2 .demo_box {padding-top: 70px}
.v_type2 {counter-reset: number 0;}
.v_type2 .cate_box {padding: 50px 20px 30px;}
.v_type2 .cate_box:before {
    counter-increment: number 1;
    content: "0" counter(number);
    display: inline-block;
    position: absolute;
    top: -43px;
    left: -5px;
    z-index: 1;
    font-size: 80px;
    font-weight: 100;
    font-style: italic;
    color: #324ba6;
    background-color: #fff;
    line-height: 1;
    padding: 0 25px 0 0;
}
@media screen and (max-width: 667px){
.v_type2 .cate_box{padding: 42px 25px 25px;}
.v_type2 .cate_box:before{top: -31px;font-size: 48px;}
}

@media  screen and (max-width: 1500px){
    #contents .box:nth-of-type(3):before{
        bottom: -10vw;
        right: 0;
    }
}
@media  screen and (max-width: 1280px){
    div:is(.catch_banner1,.catch_banner2).grid_6{
        max-width: 400px;
        width: 100% !important;
    }
    #contents .box:nth-of-type(3):before{bottom: -14vw;}
}
@media  screen and (max-width: 1280px){
.shop_info .info:before{
    width: 80vw;
    height: 40vw;
    top: 19vw;
    left: 35vw;
}
.shop_info .contact:before{
    width: 90vw;
    height: 36vw;
    top: 50%;
    left: 50%;
}
}
/*タブレット用（768px以下）*/
@media  screen and (max-width: 768px){
    #header .logo.width_30per_tb{width: 50% !important;}
    #main .sns_link{right: 10px;}
    .fv_logo{
        top: 5%;
        left: 5%;
    }
    .catch1{
        width: 70vw;
        height: 31vw;
        top: 26%;
        right: 1%;
    }
    .catch2{
        width: 50vw;
        height: 32vw;
        top: 46%;
        right: 10%;
    }
    .fv_banner {
        width: 50vw;
        bottom: 18%;
        right: 10%;
    }
    .catch_txt h2{width: 100% !important;}
    .num {
        width: 120px;
        height: 120px;
    }
    #contents .box .box_item:after{left: -1px;}
    #contents .box:nth-of-type(3):before{bottom: -190px;}
    .shop_info .info_box > div:before{
        width: 100%;
        height: 100%;
        top: 50%;
        left: 50%;
        -ms-transform: translate(-50%, -50%) skewX(0deg);
        -webkit-transform: translate(-50%, -50%) skewX(0deg);
        transform: translate(-50%, -50%) skewX(0deg);
    }
    
    #page_title:before{bottom: -1px;}
}

/*スマホ用（667px以下）*/
@media  screen and (max-width: 667px){
    .load_logo{width: 80%;}
    .fv_logo{width: 270px;}
    .catch1{
        width: 86vw;
        height: 38vw;
        top: 32vw;
        right: -1%;
    }
    .catch2{
        width: 75vw;
        height: 48vw;
        top: 66vw;
        right: 8%;
    }
    .fv_banner{
        width: 265px;
        bottom: auto;
        top: 125vw;
        right: 8%;
    }
    #main .sns_link{
        width: 100%;
        top: auto;
        bottom: -20px;
        flex-direction: row;
        justify-content: flex-end;
    }
    #main .sns_link li{width: 12% !important;}
    #contents .box .box_item:after{
        background: linear-gradient(to top left, rgba(255, 255, 255, 0) 50%, #324BA3 50.5%) no-repeat bottom left / 100% 100%;
        left: 0;
    }
    .num {
        width: 80px;
        height: 80px;
    }
    #contents .no.pd_t-25px_sp{padding-top: 100px;}
    #contents .box:nth-of-type(3):before{
        width: 200px;
        height: 200px;
        bottom: -152px;
        right: -20px;
    }
    #contents .box .box_item {padding: 50px 20px;}
    .shop_info .info_box > div:before{
        width: 150%;
        height: 110%;
    }
    .shop_info div:is(.info,.contact){padding: 100px 0;}
    .shop_info h2,#page_title p.font_30up{font-size: 24px;}
    footer:before{
        width: 150px;
        height: 215px;
        top: -163px;
        left: -20px;
    }
    footer .logo{width: 100% !important;}
    footer .f_info{width: 100% !important;}
    #page_title{margin-bottom: 0;}
    .cate_list li a:hover{
    	transition: none;
    	transform: scale(1.0) translateY(0);
    }
}

@keyframes anime1{
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-10deg);
    }
    100% {
        transform: rotate(0deg);
    }
}



/*--------------------------------
自動リンク
--------------------------------*/
/* color */
.linkStyle{color: #333; text-decoration: underline;}
.txt_color_nomal .linkStyle{color: #333;}
.txt_white .linkStyle{color: white;}
.txt_red .linkStyle{color: red;}
.bg_color1 .linkStyle{color: #fff;}
.bg_color2 .linkStyle{color: #333;}
.bg_color3 .linkStyle{color: #fff;}
.bg_color4 .linkStyle{color: #333;}

/*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: #323C64;} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: #324BA5;} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: #28ADE4;} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: #9EDFFF;} /* アクセントカラー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: #323C64;} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: #324BA5;} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: #28ADE4;} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: #9EDFFF;} /* アクセントカラー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: #323C64;}
.border_color2,.hvr_border_color2:hover{border-color: #324BA5;}
.border_color3,.hvr_border_color3:hover{border-color: #28ADE4;}
.border_color4,.hvr_border_color4:hover{border-color: #9EDFFF;}