﻿@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Gothic&display=swap');

body {
    line-height: 1.9;
    font-size: 16px;
    font-family: 'Sawarabi Gothic', sans-serif;
}

#logo a img {
    width: 70%!important;
}
.main_box {
    background-image: url("Dup/img/concrete-wall-2.png");
}
.follower {
    background-color: #6dd157!important;
}
.catch {
    z-index: 3;
    left: 4%;
    top: 4%;
    width: 80%;
    filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.6));
    filter: drop-shadow(0px 0px 5px rgba(92,145,80,0.95));
    color: rgb(92 145 80);
}
.catch2 {
    z-index: 3;
    right: 0;
    bottom: 16%;width: 355px;
}
header .link_box ul {
    justify-content: space-around;
}
header .link_box li {
    width: 26px!important;
}
#attach:before {
    content: "";
    display: block;
    position: absolute;
    top: -20px;
    left: -24px;
    width: calc(100% + 28px);
    height: 143px;
    background-image: url(Dup/img/wave.png);
    background-position: 0 0;
    background-size: auto 100%;
    z-index: 1;
}
#contents2 h2::first-letter, #contents3 h3::first-letter {
    color: #63e147;
}
.car {
    width: 309px;
    top: -88px;
    left: 9%;
    z-index: 1;
    opacity: 0.8;
}
.topcms_news_type4 .cate_box{
	width: 30.33333%!important;
	margin-right: 1.5%;
	margin-left: 1.5%;
}
.topcms_news_type4 .cate_box {
    background-color: #ffffff;
    padding: 0;
    /* box-shadow: 3px 4px 9px rgb(0 0 0 / 11%); */
    border-top: 2px solid #c68080;
    /* border: 2px solid #dbdbdb; */
    box-sizing: border-box;
    border-top: 2px solid #5c9150;
}
.topcms_news_type4 .txt_height{
	height: 1.5em
}
.topcms_news_type4 .box_title1:empty{
	display: block!important;
}
.scroll-rotate {
    position: absolute;
    z-index: 1;
    transition: all 0.5s;
    width: 330px;
    right: -145px;
    top: -56px;
    /* opacity: 0.8; */
    animation: 36s linear infinite rotation1;
}
@keyframes rotation1{
  0%{ transform:rotate(0);}
  100%{ transform:rotate(360deg); }
}
#cms_6-c .arrow {
    bottom: -51px;
    height: 51px;
}
/* -------------------------------------------------------------------------------------*/		
#backBtn::before {
    content: '';
    position: absolute;
    bottom: 49%;
    left: 28px;
    width: 26px;
    height: 1px;
    background: #fff;
    transition: all .3s;
    z-index: 3;
}
#backBtn::after {
    content: '';
    position: absolute;
    bottom: 53%;
    left: 45px;
    width: 10px;
    height: 1px;
    z-index: 3;
    background: #fff;
    transform: rotate(35deg);
    transition: all .3s;
}

#backBtn:hover::before {
    right: 16%;
    background: #fff;
}
#backBtn:hover::after {
    right: 15%;
    background: #fff;
}
#backBtn:hover::before, #backBtn:hover::after {
    background-color: #212121;
}
#backBtn {
    text-align: center;
    position: absolute;
    z-index: 3;
    bottom: 4%;
    left: 3%;
}
#backBtn a {
    width: 297px;
    margin: 0 auto;
    font-size: 17px;
    height: 83px;
    line-height: 83px;
    text-align: center;
    text-decoration: none;
    outline: none;
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 2;
    color: #fff;
    background: #017a2c;
    background: linear-gradient(145deg, #188b00 0%, #136c00 100%);
}
#backBtn a::before,
#backBtn a::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
#backBtn a,
#backBtn a::before,
#backBtn a::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
#backBtn a:hover {
	color: #212121;
}
#backBtn a::after {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#backBtn a:hover::after {
	-webkit-transform: scale(2) rotate(180deg);
	transform: scale(2) rotate(180deg);
	background: #FFF;
}
#backBtn strong {
	display: block;
	background: rgba(255,255,255,.2);
}
#backBtn span {
    display: block;
    padding-left: 57px;
    font-weight: normal;
}
#backBtn strong:before,
#backBtn strong:after,
#backBtn strong span:before,
#backBtn strong span:after {
    content: '';
    position: absolute;
    background: #FFF;
}
#backBtn strong:before {
    bottom: 0;
    left: -150px;
    width: 150px;
    height: 1px;
}
#backBtn strong:after {
    bottom: -60px;
    right: 0;
    width: 1px;
    height: 60px;
}
#backBtn strong span:before {
    top: 0;
    right: -150px;
    width: 150px;
    height: 1px;
}
#backBtn strong span:after {
    top: -60px;
    left: 0;
    width: 1px;
    height: 60px;
}
/*#backBtn strong:before {*/
/*    animation: leftAnimBB 1.5s linear 0s infinite;*/
/*}*/
/*#backBtn strong:after {*/
/*    animation: bottomAnimBB 1.5s linear .75s infinite;*/
/*}*/
/*#backBtn strong span:before {*/
/*    animation: rightAnimBB 1.5s linear 0s infinite;*/
/*}*/
/*#backBtn strong span:after {*/
/*    animation: topAnimBB 1.5s linear .75s infinite;*/
/*}*/
@keyframes topAnimBB {
    0% {top:-60px;}
    100% {top:60px;}
}
@keyframes bottomAnimBB {
    0% {bottom:-60px;}
    100% {bottom:60px;}
}
@keyframes rightAnimBB {
    0% {right:-150px;}
    100% {right:150px;}
}
@keyframes leftAnimBB {
    0% {left:-150px;}
    100% {left:150px;}
}

.footer_back .f_before {
    width: 92%;
    top: 47%;
    left: 95.6%;
}		

/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){

#logo {
    max-width: 111px;
}
.fat-nav li {
    font-size: 18px;
}
.car {
    width: 211px;
    top: -18px;
    left: 9%;
}
.catch {
    left: 2%;
    top: 7%;
    width: 94%;
}
#main_img {
    max-height: 77vh;
}
#main_img .slides img {
    min-height: 100%;
}
.scroll-rotate {
    width: 260px;
    right: -123px;
    top: 10px;
}
.catch2 {
    width: 272px;
}
}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.banner {
    bottom: 9px;
    padding: 4px 0;
    font-size: 24px;
    width: 69%;
}
.topcms_news_type4 .cate_box {width: 100%!important;}
.fat-nav li {
    font-size: 16px;
}
#logo {
    max-width: 77px;
    text-align: center;
}
.all article.pd_r-20px.pd_l-20px_tb {
    padding-left: 15px;
    padding-right: 15px;
}
.scroll-rotate {
    width: 185px;
    right: -111px;
    top: -27px;
}
.car {
    width: 179px;
    top: -9px;
    left: 7%;
}
.footer_back .f_before {
    right: -57%;
    height: 1147px;
    width: 41%;
}
.all article section {
    padding: 20px 10px;
}
.catch2 {
    width: 188px;
    bottom: 5%;
}
#cms_6-c .arrow {
    bottom: -41px;
    height: 43px;
}
#cms_2-c .box_item {
    padding-left: 0;
    padding-right: 0;
}
}