﻿@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Noto+Sans+JP&display=swap');

body, .font_sans-serif, .font_Quick{
    font-family: 'Montserrat', 'Noto Sans JP', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic",  sans-serif!important;
}

/*** fade ***/

#top_cms .top_cms_title h2, #page_title h2, #top_contents1 .catch_txt .con_no{
    overflow: hidden;
    line-height: 1;
    padding-top: 10px;
}
#top_cms .top_cms_title h2 span, #page_title h2 span, #top_contents1 .catch_txt .con_no span{
    display: inline-block;
    transition: 0.4s;
    transition-property: transform;
    transition-timing-function: cubic-bezier(.175,.885,.32,1.275);
    transform: translateY(1.1em);
}
#top_cms .top_cms_title h2 span.active, #page_title h2 span.active, #top_contents1 .catch_txt .con_no span.active{
    transform: none;
}

/*** other ***/

#fix_menu{
    border-left: solid 1px #e6e6e6;
}
.overlay{
    background-color: rgba(247,247,247,0.9);
}

#main_img #video{
    height: 80vh;
    min-height: 600px;
}
#main_img #video::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(./Dup/img/bg_img5.png);
    background-size: 600px;
    background-position-y: 100%;
    background-position-x: 0;
    background-repeat: repeat-x;
    animation: anime1 20s linear infinite;
}
#main_img .main_title{
    transform: translate(-50%, -50%) scale(0.8);
    transition: 0.3s;
    transition-timing-function: cubic-bezier(.175,.885,.32,1.275);
    transition-property: transform;
}
#main_img .main_title.active{
    transform: translate(-50%, -50%);
    opacity: 1;
}

#logo {
    width: 300px;
    height: 180px;
}
#logo h1.logo{
    width: 90%!important;
    max-width: inherit;
}

#top_contents1{
    background-image: url('./Dup/img/bg_img4.png');
    background-size: 600px;
    background-position-y: 100%;
    background-position-x: 0;
    background-repeat: repeat-x;
    animation: anime1 20s linear infinite;
    padding: 100px 150px 150px;
}
@keyframes anime1 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: -600px;
    }
}
#top_contents1 .catch_txt h2{
    color: #333;
    padding-bottom: 30px;
    margin-bottom: 0;
    position: relative;
    padding-left: 100px;
    padding-right: 100px;
}
#top_contents1 .catch_txt p.txt_color_nomal{
    padding: 50px 100px;
    position: relative;
    background: #f7f7f7;
}
#top_contents1 .catch_txt p.txt_color_nomal::before, #top_contents1 .catch_txt p.txt_color_nomal::after{
    position: absolute;
    content: "";
    width: 250px;
    height: 250px;
    background-size: contain;
    pointer-events: none;
    transform: scale(0.8);
    opacity: 0;
    transition: 0.3s;
    transition-timing-function: cubic-bezier(.175,.885,.32,1.275);
    transition-property: transform;
}
#top_contents1 .catch_txt.trans p.txt_color_nomal::before, #top_contents1 .catch_txt.trans p.txt_color_nomal::after{
    opacity: 1;
    transform: none;
}
#top_contents1 .catch_txt p.txt_color_nomal::before {
    background-image: url(./Dup/img/img2.png);
    top: -100px;
    left: -150px;
}
#top_contents1 .catch_txt p.txt_color_nomal::after {
    background-image: url(./Dup/img/img1.png);
    bottom: -110px;
    right: -150px;
}
#top_contents1 .catch_txt h2::before{
    position: absolute;
    content: "";
    display: block;
    width: 0;
    height: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: #86c435;
    transition: 1s;
    transition-timing-function: cubic-bezier(0,.64,.29,.99);
}
#top_contents1 .catch_txt.trans h2::before{
    width: 200px;
}

#top_contents2{
    background-image: url('./Dup/img/bg1.png');
    background-color: transparent;
}
#top_contents2 .con_box:nth-of-type(1) .text_box, #top_contents2 .con_box:nth-of-type(3) .text_box{
    box-shadow: 10px 10px 0 #679b15;
}
#top_contents2 .con_box:nth-of-type(2) .text_box{
    box-shadow: -10px 10px 0 #679b15;
}
#top_contents2 .con_box .text_box{
    overflow: inherit;
    padding-top: 100px;
}
#top_contents2 .con_box .text_box::before{
    position: absolute;
    content: "";
    width: 100px;
    height: 100px;
    background-size: contain;
    left: -10px;
    top: -10px;
    pointer-events: none;
    transform: scale(0.6);
    opacity: 0;
    transition: 0.3s;
}
#top_contents2 .con_box.trans .text_box::before{
    transform: none;
    opacity: 1;
}
#top_contents2 .con_box:nth-of-type(1) .text_box::before{
    background-image: url('./Dup/img/no1.png');
}
#top_contents2 .con_box:nth-of-type(2) .text_box::before{
    background-image: url('./Dup/img/no2.png');
    left: auto;
    right: -10px;
}
#top_contents2 .con_box:nth-of-type(3) .text_box::before{
    background-image: url('./Dup/img/no3.png');
}
#top_contents2 .con_box .text_box .before{
    display: none;
}
#top_contents2 .con_box h2{
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;
    font-size: 20px;
}
#top_contents2 .con_box h2:first-letter{
    font-size: 24px;
    color: #ef7748;
}
#top_contents2 .con_box h2::before{
    position: absolute;
    content: "";
    display: block;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: #ef7748;
    transition: 1s;
    transition-timing-function: cubic-bezier(0,.64,.29,.99);
}
#top_contents2 .con_box.trans h2::before{
    width: 100px;
}

.contact_banner a{
    background-size: 100%;
}
.contact_banner a:hover{
    background-size: 110%;
}
.contact_banner a div{
    background-color: rgba(247,247,247,0.6);
}
.contact_banner a:hover div{
    background-color: rgba(247,247,247,0.8);
}

#top_cms .top_cms_title{
    position: relative;
    padding-bottom: 30px;
}
#top_cms .top_cms_title::before{
    position: absolute;
    content: "";
    display: block;
    width: 0;
    height: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: #ef7748;
    transition: 1s;
    transition-timing-function: cubic-bezier(0,.64,.29,.99);
}
#top_cms .top_cms_title.trans::before{
    width: 200px;
}
#top_cms .top_cms_title i{
    transform: scale(0.6);
}
#top_cms .top_cms_title.trans i{
    transform: none;
    opacity: 1;
}

.more a:hover{
    background-color: #86c435;
    color: #fff;
    border-color: #86c435;
}

#top_contact_box{
    display: none;
}

#page_title{
    margin-top: 0;
}
#page_title::before{
    display: none;
}
#page_title .title_box{
    border-top: none;
}
#page_title .title_box::before{
    position: absolute;
    content: "";
    display: block;
    width: 0;
    height: 5px;
    left: 0;
    right: 0;
    top: 0;
    margin: auto;
    background-color: #86c435;
    transition: 1s;
    transition-timing-function: cubic-bezier(0,.64,.29,.99);
}
#page_title .title_box.trans::before{
    width: 100%;
}
#page_title h2{
    font-size: 30px;
}

.cate_title{
	background-color: transparent;
	padding: 0;
	margin: 0;
	display: block;
	border: none;
	width: 100%!important;
	font-size: 24px;
	text-align: left;
	padding-bottom: 10px!important;
	margin-bottom: 50px;
	border-bottom: solid 2px #e6e6e6;
	color: #333333;
	font-weight: bold;
	border-radius: 0!important;
	position: relative;
}
.cate_title::before{
    position: absolute;
    content: "";
    width: 50px;
    height: 2px;
    left: 0;
    bottom: -2px;
    background-color: #86c435;
}
.cate_list{
    padding-left: 30px;
    border-left: solid 2px #ef7748;
}
.cate_list::before{
    content: "CATEGORY";
    font-size: 16px;
    letter-spacing: 2px;
    color: #ef7748;
    display: block;
    width: 100%;
    margin-bottom: 10px;
}
.cate_list li{
    margin: 0 20px 10px 0;
    padding: 0;
}
.cate_list li a{
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 5px!important;
}
.cate_list li a:hover{
    background-color: transparent;
    color: #ef7748;
    border-bottom: solid 1px #ef7748;
}

#cms_6-a .cate_box_h:last-child{
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

#logo2, #loading_logo{
    max-width: 300px;
    width: 70%!important;
}

.foot_banner{
    right: 100px;
    bottom: 10px;
    z-index: 10;
}


/** tablet 780 **/
@media screen and (max-width: 768px){
#fix_menu{
    border-left: none
}
.overlay {
    top: 0;
    padding-top: 0;
}
.overlay nav {
    top: 50%;
    height: 100vh;
    padding-bottom: 0;
    padding-top: 100px;
    box-sizing: border-box;
}
#logo {
    width: auto;
    height: 95px;
}
#logo h1.logo {
    width: 200px!important
}
#main_img{
    max-height: inherit;
}
#main_img #video{
    height: 70vw;
    min-height: inherit;
}
#top_contents1{
    padding: 50px 50px 100px;
}
#top_contents1 .catch_txt h2 {
    padding-left: 150px;
    padding-right: 150px;
}
#top_contents1 .catch_txt p.txt_color_nomal{
    padding: 50px;
}
#top_contents1 .catch_txt p.txt_color_nomal::before, #top_contents1 .catch_txt p.txt_color_nomal::after{
    width: 200px;
    height: 200px;
}
#top_contents1 .catch_txt p.txt_color_nomal::before {
    top: -150px;
    left: -50px;
}
#top_contents1 .catch_txt p.txt_color_nomal::after {
    bottom: auto;
    right: -50px;
    top: -150px;
}
#top_contents2 .con_box:nth-of-type(2) .text_box{
    box-shadow: 10px 10px 0 #679b15;
}
#top_contents2 .con_box:nth-of-type(2) .text_box::before{
    background-image: url('./Dup/img/no2_sp.png');
    left: -10px;
    right: auto;
}
.contact_banner a, .contact_banner a:hover{
    background-size: cover;
}
#page_title h2{
    font-size: 28px;
}
.foot_banner {
    right: 60px;
}
#copyright{
    padding-bottom: 60px;
}
}

/** mobile 750 **/
@media screen and (max-width: 667px){
#logo {
    height: 78px;
}
#top_contents1{
    padding: 50px 20px 200px;
}
#top_contents1 .catch_txt h2 {
    padding-left: 0;
    padding-right: 0;
}
#top_contents1 .catch_txt p.txt_color_nomal{
    padding: 50px 20px;
}
#top_contents1 .catch_txt p.txt_color_nomal::before {
    top: auto;
    left: -30px;
    bottom: -150px;
}
#top_contents1 .catch_txt p.txt_color_nomal::after {
    bottom: -150px;
    right: -30px;
    top: auto;
}
#top_contents2 .img_box{
    box-shadow: 10px 10px 0 #679b15;
}
#page_title h2{
    font-size: 24px;
}
.cate_title{
    font-size: 20px;
}
.cate_list li{
    margin: 0 0 10px;
    width: 100%!important;
}
.cate_list li a{
    text-align: left;
}
.foot_banner {
    right: 0;
    bottom: 0;
}
.l-gh__scrollnav{
    bottom: 70px;
}
}

/** IE **/
@media all and (-ms-high-contrast:none) {
.contact_banner a:hover{
    background-size: 100%;
}
#top_cms .more a{
    padding: 15px;
}
#page9 a{
    padding-top: 3px;
}
#page10 a .txt{
    padding-bottom: 20px;
}
}