﻿/* color -----------------------------------------------------------------------------*/

:root{
    --color1:#31723C;
    --color2:#65A76C;
    --color3:#D3432B;
    --color4:#fff8e4;
    --color5:#ffffff;
    --white:#ffffff;
    --black:#000000;
    --gray:#ccc;
}

body,.txt_color_nomal,.hvr_txt_color_nomal:hover{color: var(--black);}
.txt_white,.hvr_txt_white:hover{color: var(--white);}
.txt_color1,.hvr_txt_color1:hover{color: var(--color1);} /* メインカラー */
.txt_color2,.hvr_txt_color2:hover{color: var(--color2);} /* サブカラー */
.txt_color3,.hvr_txt_color3:hover{color: var(--color3);} /* アクセントカラー1 */
.txt_color4,.hvr_txt_color4:hover{color: var(--color4);} /* アクセントカラー2 */
.txt_color5,.hvr_txt_color5:hover{color: var(--color5);} /* アクセントカラー2 */
/* background-color */
.bg_white,.hvr_bg_white:hover{background-color: var(--white)} /* 白背景 */
.bg_black,.hvr_bg_black:hover{background-color: var(--black);} /* 黒背景 */
.bg_color1,.hvr_bg_color1:hover{background-color: var(--color1);} /* メインカラー */
.bg_color2,.hvr_bg_color2:hover{background-color: var(--color2);} /* サブカラー */
.bg_color3,.hvr_bg_color3:hover{background-color: var(--color3);} /* アクセントカラー1 */
.bg_color4,.hvr_bg_color4:hover{background-color: var(--color4);} /* アクセントカラー2 */
.bg_color5,.hvr_bg_color5:hover{background-color: var(--color5);} /* アクセントカラー2 */
.bg_color_clear,.hvr_bg_color_clear:hover{background-color: transparent!important;}
/* border-color ※!important */
.border_white,.hvr_border_white:hover{border-color: var(--white);}
.hvr_border_black:hover{border-color: var(--black);}
.border_black{border-color: var(--gray);}
.border_color1,.hvr_border_color1:hover{border-color: var(--color1);}
.border_color2,.hvr_border_color2:hover{border-color: var(--color2);}
.border_color3,.hvr_border_color3:hover{border-color: var(--color3);}
.border_color4,.hvr_border_color4:hover{border-color: var(--color4);}
.border_color5,.hvr_border_color5:hover{border-color: var(--color5);}

.linkStyle{color: var(--color3);
          border-bottom:solid 1px;
}
body#body {
    background: var(--white);
}
/* color -----------------------------------------------------------------------------*/

/* ----------　all　---------- */
.linkStyle:hover{
	color:　var(--color1);
	opacity: 0.7;
	transition: all 0.5s;
}
body {
    font-family: 'Kiwi Maru', serif;
}
figure {
    border-radius: 30px;
}
#loading .line {
    background-color: var(--color2);
}
.menu .logo img {
    width: 60%!important;
}
.menu {
    position: relative;
}
.menu.is-fixed {
    position: fixed;
}
.is-fixed .logo {
    width: 9%!important;
}
.menu .nav ul li, .menu .nav ul li a {
    transform: none;
    margin: 0;
    border: none;
}
.menu .nav ul li a {
    padding: 50px 15px 0!important;
    background-size: 40px;
    background-position: top center;
    background-repeat: no-repeat;
}
.menu .nav ul li a span {
    color: var(--color1);
}
.menu .nav ul li:nth-of-type(1) a {
    background-image: url(./Dup/img/menu1.png);
}
.menu .nav ul li:nth-of-type(2) a {
    background-image: url(./Dup/img/menu2.png);
}
.menu .nav ul li:nth-of-type(3) a {
    background-image: url(./Dup/img/menu3.png);
}
.menu .nav ul li:nth-of-type(4) a {
    background-image: url(./Dup/img/menu4.png);
}
.menu .nav ul li:nth-of-type(5) a {
    background-image: url(./Dup/img/menu5.png);
}
.menu .nav ul li:nth-of-type(6) a {
    background-image: url(./Dup/img/menu6.png);
}
.menu::before {
    position: absolute;
    content: "";
    width: 570px;
    height: 40px;
    background-image: url(./Dup/img/bg_img.png);
    background-size: 100% 100%;
    left: 51%;
    bottom: -32px;
    transform: translateX(-50%);
    z-index: 1;
}
.menu .nav ul li a:hover {
    transform: translateY(-5px);
}
footer {
    background-color: var(--color2);
}
.sns_box {
    justify-content: flex-start;
}
.sns_links {
    width: 20%!important;
    margin-left: 50px;
    justify-content: flex-start;
}
/* ----------　TOP　---------- */

.top_nav ul li a {
    color: var(--black);
}
.top_nav ul li {
    color: var(--color3);
}
.top_nav ul li a:hover {
    color: var(--color3);
}

.main_wrap::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    left: 0;
    top: -49px;
    background-image: url(./Dup/img/bg_img2.png);
    background-size: 100% 100%;
}
.main_img_wrap {
    height: 60vw;
}
.main_img_wrap img {
    height: 50vw;
}
.main_img:before,.main_img:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-repeat: no-repeat;
    background-position: 0% 3%, 105% 120%, 80% 0%, 0% 2%;
    background-size: 30%,30%,90%,45%;
}
.main_img:before {
    background-image: url(./Dup/img/catch1.png),url(./Dup/img/top_img2.png);
    background-repeat: no-repeat;
    background-position: 2% 3%, 0% 2%;
    background-size: 40%,45%;
}
.main_img:after {
    background-image: url(./Dup/img/top_img3.png),url(./Dup/img/top_img1.png);
    background-position: 103% 81%, 80% 0%;
    background-size: 27%,93%;
    top: 47%;
}
.main_yasai3:after, .main_yasai1:before, .main_yasai1:after, .main_yasai2:before, .main_yasai2:after {
    content: "";
    position: absolute;
    width: 140px;
    height: 130px;
    background-image: url(./Dup/img/yasai1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    animation: top_anime 2s infinite;
    z-index: 1;
}
.main_yasai1:before {
    background-image: url(./Dup/img/yasai2.png);
    top: 14%;
    left: 58%;
}
.main_yasai1:after {
    background-image: url(./Dup/img/yasai3.png);
    top: 20%;
    left: 48%;
}
.main_yasai2:before {
    background-image: url(./Dup/img/yasai4.png);
    top: 60%;
    left: 70px;
}
.main_yasai2:after {
    background-image: url(./Dup/img/yasai4.png);
    top: 22%;
    left: 95%;
}
.main_yasai3:after {
    top: 72%;
    left: 67%;
    width: 170px;
    height: 160px;
}

.main_wrap {
    margin-top: 60vw;
}
#contents .box figure {
    border-radius: 10px;
    overflow: hidden;
}
#contents .box .txt_wrap {
    position: relative;
}
#contents .box .txt_wrap:before {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: -130px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 130px;
    z-index: 1;
    animation: anime2 1s infinite;
}
#contents .box .txt_wrap1:before {
    background-image: url(./dup/img/01.png);
}
#contents .box .txt_wrap2:before {
    background-image: url(./dup/img/02.png);
}
#contents .box .txt_wrap3:before {
    background-image: url(./dup/img/03.png);
}
#contents {
    position: relative;
}
#contents:before {
    content: "";
    background-image: url(./dup/img/bg2.jpg);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    filter: opacity(0.5);
}
#contents .box h3:before {
    width: 145px;
    border-bottom: 2px dashed;
}
.t_cms_img2 .img-container:before {
    background: var(--color3);
}
#top_cms {
    position: relative;
    background-color: var(--white);
}
#top_cms:before,#top_cms:after {
    content: "";
    background-image: url(./dup/img/flag.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    width: 400px;
    height: 200px;
    z-index: 10;
}
#top_cms:before {
    left: 0;
    background-color: transparent;
}
#top_cms:after {
    right: 0;
    transform: scale(-1,1);
}
.top_cms_box {
    background: var(--color2);
    padding: 5%;
    border-radius: 50px;
}
.top_cms_box .more_box .more {
    background: var(--white);
    border-radius: 50px;
}
.top_cms_box .more_box .more:hover {
    background: var(--color3);
}
#top_cms .top_cms_wrap {
    padding-top: 150px;
}
.other .box {
    background-color: #fff;
    border: 2px solid var(--color3);
    border-radius: 30px;
}
.other .box:hover {
    background-color: #000;
}
.other .box figure {
    opacity: 0.4;
}
.other .box_title span {
    color: var(--black);
    font-weight: normal;
}
.top_cms_box:before {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -100px;
    right: -200px;
    width: 200px;
    height: 200px;
    animation: top_anime 1.5s infinite;
}
.top_cms_box1:before {
    background-image: url(./dup/img/yasai1.png);
}
.top_cms_box2:before {
    background-image: url(./dup/img/yasai2.png);
}
.top_cms_box4:before {
    background-image: url(./dup/img/yasai3.png);
}
/* ----------　下層ページ　---------- */

.all_page:before {
    background-color: transparent;
}
.img-container:before {
    background: var(--color1);
}
#title_img span {
    background-image: url(./dup/img/page_title.jpg)!important;
}
#page_title {
    padding-top: 0;
}
#title_img {
    width: 100%;
}
#title_img span {
    filter: blur(3px);
}
#page_title .page_title_box {
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0px;
}
.page_title_box:before {
    width: 100px;
    left: 50%;
    border-bottom: 2px dashed;
    transform: translateX(-50%);
}
#page_title .page_title_box p {
    padding-right: 0;
    color: var(--white);
    font-weight: normal;
}

#title_img:after {
    content: "";
    width: 100%;
    height: 80px;
    background-image: url(./dup/img/page_img.png);
    position: absolute;
    bottom: 0;
    left: 50%;
    background-size: cover;
    transform: translateX(-50%);
}
.img-container:before {
    background: var(--color3);
}
/* 会社情報 */
#page7 .box h3 {
    letter-spacing: 0;
}
/* お問い合わせ */
/* プライバシーポリシー */
/* サイトマップ */
.page10 .more_box .more {
    border-radius: 30px;
}


/*-------------------------------------------------------
			          タブレット
-------------------------------------------------------*/
@media screen and (max-width: 768px){
/* ----------　all　---------- */

/* ----------　TOP　---------- */
header .logo {
    width: 13%;
}
#nav_menu {
    top: 30px;
    background: var(--color1);
}
.button_container span {
    background-color: var(--white);
}
.main_img_wrap {
    height: 80vw;
}
.main_img_wrap img {
    height: 80vw;
}
.main_img:before {
    background-position: 35% 3%, 0% 32%;
    background-size: 55%,50%;
}
.main_img:after {
    background-position: 90% 8%, 26% 100%;
    background-size: 32%,110%;
    top: 50%;
}
.main_yasai3:after, .main_yasai1:before, .main_yasai1:after, .main_yasai2:before, .main_yasai2:after {
    width: 110px;
    height: 100px;
}
.main_yasai1:before {
    top: 26%;
    left: 61%;
}
.main_yasai1:after {
    top: 42%;
    left: 51%;
}
.main_yasai2:before {
    top: 67%;
    left: 7%;
}
.main_yasai2:after {
    top: 80%;
    left: 93%;
}
.main_yasai3:after {
    top: 88%;
    left: 77%;
    width: 120px;
    height: 110px;
}
.main_wrap {
    margin-top: 80vw;
    padding-top: 30px;
}
.main_wrap::before {
    display: none;
}
#contents .box h3 {
    left: 50%;
    transform: translateX(-50%);
}
#contents .box h3:before {
    left: 50%;
    transform: translateX(-50%);
}
#contents {
    border-radius: 50px;
    padding-top: 160px;
}
#contents:before {
    border-radius: 50px;
}
#contents .box .txt_wrap {
    width: 90%;
    padding-right: 0px;
}
#contents .box figure {
    width: 90%;
    margin-top: 30px;
}
#contents .box:nth-child(even) {
    display: flex;
    flex-direction: column-reverse;
}
#top_cms:before, #top_cms:after {
    width: 300px;
    height: 160px;
}
#top_cms .top_cms_wrap {
    padding-top: 110px;
    padding-bottom: 0;
}
.top_cms_box:before {
    bottom: -130px;
    right: -100px;
    width: 160px;
    height: 160px;
}
.other .box_item .posi_center {
    width: 80%;
}
/* ----------　下層ページ　---------- */
#title_img:after {
    height: 40px;
}
#title_img {
    top: 3px;
}
#page_title .page_title_box {
    text-wrap: nowrap;
}
#page_title .page_title_box p {
    letter-spacing: 1.5px;
}
/* 会社情報 */
#page7 .box_item {
    padding: 18px 0% 20px 1%;
}
/* お問い合わせ */
#contact_tel a {
    padding: 15px;
}
/* プライバシーポリシー */
/* サイトマップ */

}



/*-------------------------------------------------------
		            	スマホ
-------------------------------------------------------*/
@media screen and (max-width: 667px){
/* ----------　all　---------- */
header .logo {
    width: 20%;
}
#nav_menu {
    height: 60px;
    width: 60px;
    right: 20px;
    top: 20px;
}
/*#wrap{*/
/*    background-color: #fff;*/
/*}*/
#footer{height: 60vh;}
#footer .logo{margin-bottom: 20px;}
.all_header{
    position: relative!important;
    background-color: #fff;
}
.all_header #header {
    background: #fff;
}
/* ----------　TOP　---------- */
.main_img_wrap {
    height: 70vh;
}
.main_img_wrap img {
    height: 70vh;
}
.main_wrap {
    margin-top: 70vh;
}
.main_img:before {
    background-position: 5% 19%, -20% 45%;
    background-size: 75%,75%;
}
.main_img:after {
    background-position: 113% 117%, 26% 80%;
    background-size: 47%,105%;
    top: 50%;
}
.main_yasai3:after, .main_yasai1:before, .main_yasai1:after, .main_yasai2:before, .main_yasai2:after {
    width: 60px;
    height: 70px;
}
.main_yasai1:before {
    top: 32%;
    left: 69%;
}
.main_yasai1:after {
    top: 41%;
    left: 85%;
}
.main_yasai2:before {
    top: 74%;
    left: 10%;
}
.main_yasai2:after {
    top: 24%;
    left: 90%;
}
.main_yasai3:after {
   top: 92%;
    left: 45%;
    width: 70px;
    height: 70px;
}
#contents .box h3:before {
    width: 80px;
}
#contents .box .txt_wrap:before {
    width: 130px;
    height: 100px;
    top: -100px;
}
#contents {
    padding-top: 120px;
}
#top_cms:before, #top_cms:after {
    width: 170px;
    height: 80px;
}
.top_cms_box {
    padding: 50px 5%;
}
.top_cms_box:before {
    bottom: -100px;
    right: -60px;
    width: 100px;
    height: 100px;
}
.other .box:first-child {
    border-bottom: 2px solid var(--color1);
    margin-bottom: 5px;
}
.other .box:last-child {
    border-left: 2px solid var(--color1);
}
.other .box {
    border: 2px solid var(--color1);
}
.sns_links {
     width: 100%!important;
     margin-left: 0;
    justify-content: center;
}
/* ----------　下層ページ　---------- */
.all_page:before {
    width: 100%;
    background-color: #fff;
    top: -100px;
}
#page_title .img-container.active::after {
    display: none;
}
#title_img span {
    filter: blur(1px);
}
#title_img:before {
    display: none;
}
.page_title_box:before {
    bottom: 80px;
}
/* 会社情報 */
#page7 .box_item {
    padding: 5px 0% 5px 0%;
}
/* お問い合わせ */
/* プライバシーポリシー */
/* サイトマップ */
}


@keyframes top_anime{
    0%{
        transform: translate(-50%,-50%) rotate(0deg);
    }
    45%{
        transform: translate(-50%,-50%) rotate(0deg);
    }
    50%{
        transform: translate(-50%,-50%) rotate(5deg);
    }
    95%{
        transform: translate(-50%,-50%) rotate(5deg);
    }
    100%{
        transform: translate(-50%,-50%) rotate(0deg);
    }
}
@keyframes anime2{
    0%{
        transform: translateX(-50%) rotate(0deg);
    }
    45%{
        transform: translateX(-50%) rotate(0deg);
    }
    50%{
        transform: translateX(-50%) rotate(5deg);
    }
    95%{
        transform: translateX(-50%) rotate(5deg);
    }
    100%{
        transform: translateX(-50%) rotate(0deg);
    }
}