@charset "utf-8";
/*
Theme Name: 三洋企業株式会社 Theme
Description: 三洋企業株式会社 themes
Version: 1.0
*/

@font-face {
    font-family: "Helvetica";
    src: url("./assets/fonts/Helvetica.eot") format('eot'),
	     url("./assets/fonts/Helvetica.woff") format('woff'),
	     url("./assets/fonts/Helvetica.ttf")  format('truetype');
}



/*------------------------------------------------------

   common

-------------------------------------------------------*/
:root {
    --base-color: #0A0A0A;
    --main-color: #2A7A32;/* green */
    --sub-color: #81A429;/* light green */
	--bg-color: #F4F4F4;/* gray */

	--font-base: 'Noto Sans JP', sans-serif;
	--font-en: "Helvetica";
	--font-en2: "Oswald", sans-serif;

	--backtotop_scroll_width: 120px;
}



body {
	position: relative;
    font-size: 18px;
	font-family: 'Noto Sans JP', sans-serif;
	color: var(--base-color);
	padding-top: 90px;
}

input,
select,
textarea,
radio,
checkbox,
button {
	font-family: 'Noto Sans JP', sans-serif;
}
label {
    cursor: pointer;
}
p {
    line-height: 2;
}
img {
    vertical-align: middle;
}
.sp {
	display: none !important;
}
.inner {
    width: 100%;
    max-width: 1250px;
	padding: 0 25px;
	margin:auto;
	position: relative;
}
.inner-in {
	padding: 0 100px;
}

.link {
    color: var(--main-color);
	text-decoration: underline !important;
}


/* off */
.link-off a {
    cursor: default !important;
    /*color: #ccc !important;*/
}

/* nav-line */
.nav-line a:not(.no-line){
	opacity: 1 !important;
	text-decoration: none !important;
    position: relative;
}
.nav-line a:not(.no-line):after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 0;
    border-top:solid 1px var(--main-color);
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
}
.nav-line a:not(.no-line):hover:after,
.nav-line .current a:after {
    transform-origin: left top;
    transform: scale(1, 1);
}
.nav-line-white a:not(.no-line):after {
    border-top:solid 1px #fff;
}

/*------------------------------------------------------

   header style

-------------------------------------------------------*/
#gb-header {
	width: 100%;
    background: #fff;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
	position: fixed;
	left:0;
	top: 0;
	z-index: 1000;
}
.header-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 90px;
    padding: 0 20px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.site-title {
	width: 260px;
    line-height: 1;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    position: relative;
    z-index: 100;
}
.site-title a {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.main-nav__list {
    display: flex;
}
.main-nav__list >li {
    font-size: 15px;
    margin-left: 40px;
}
.main-nav__list >li:first-child {
	margin-left: 0;
}
.main-nav__list >li a {
    color: var(--base-color);
}

/* header footer　共通 */
.has-sub .sub-nav {
	font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
	max-height: 0;
    padding: 40px 0 20px;
    background: #fff;
	opacity: 0;
	visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    position: absolute;
    left: 0;
    z-index: -1;
}
.sub-nav-title {
	font-size: 18px;
    margin-right: 40px;
}
.sub-nav__list {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sub-nav__list >li {
    margin-left: 30px;
    padding-bottom: 5px;
    border-bottom: solid 1px;
    position: relative;
}
.sub-nav__list >li:after {
    content: '';
    width: 30px;
    height: 3px;
    background: var(--sub-color);
    position: absolute;
    right: 0;
    bottom: -1px;
}
.sub-nav__list-text {
    transition: 1.2s cubic-bezier(0.075, 0.82, 0.165, 1);
	position: relative;
	left: 0;
}
.sub-nav__list > li a .arrow-anime {
    display: inline-block;
    width: 30px;
    height: 18px;
    margin-left: 15px;
    position: relative;
    overflow: hidden;
	vertical-align: middle;
}
.sub-nav__list > li a .arrow-anime i {
    width: 30px;
    height: 18px;
    position: absolute;
    top: 0;
    transition: 1.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.sub-nav__list > li a .arrow-anime i.arrow-before {
	right: 0;
}
.sub-nav__list > li a .arrow-anime i.arrow-after {
	right: 50px;
}
.sub-nav__list > li a .arrow-anime i:before,
.sub-nav__list > li a .arrow-anime i:after {
    content: '';
	position: absolute;
}
.sub-nav__list > li a .arrow-anime i:before {
    width: calc(100% - 10px);
    height: 0;
    border-bottom: solid 1px;
    right: 5px;
    top: 50%;
}
.sub-nav__list > li a .arrow-anime i:after {
    width: 10px;
    height: 10px;
    border-right: solid 1px var(--base-color);
    border-top: solid 1px var(--base-color);
    transform: rotate(45deg);
    right: 6px;
    top: 4px;
}
.sub-nav__list > li a .arrow-anime i.arrow-after:before {
	border-bottom: solid 1px var(--sub-color);
}
.sub-nav__list > li a .arrow-anime i.arrow-after:after {
    border-right: solid 1px var(--sub-color);
    border-top: solid 1px var(--sub-color);
}
.sub-nav__list > li a:hover .sub-nav__list-text {
	color: #81A42A;
	left: 10px;
}
.sub-nav__list > li a:hover .arrow-anime i.arrow-before {
	right:-100px;
}
.sub-nav__list > li a:hover .arrow-anime i.arrow-after {
	right: 0;
}

.has-sub:hover .sub-nav {
    max-height: 1000px;
    padding: 30px 0 15px;
    visibility: visible;
    opacity: 1;
    z-index: 10;
}

.nav-line .has-sub a:after{
    border-top:solid 1px var(--main-color);
}
.nav-line .has-sub:hover a:after{
    transform-origin: left top;
    transform: scale(1, 1);
    z-index: 100;
}

/* ----------------------------
   contets
-------------------------------*/
#main-contents {
	overflow: hidden;
}

.conBox {
    padding: 100px 0;
	position:relative;
}


.cmn-title {
	margin-bottom: 50px;
    position: relative;
	z-index: 1;
}

.cmn-desc {
    text-align: center;
    margin-bottom: 50px;
}


/**/
i.arrow-circle-anime {
    font-style: normal;
    color: var(--main-color);
    display: inline-block;
    width: 0;
    margin-right: 0;
    vertical-align: -7px;
    transition: 1.2s cubic-bezier(0.075, 0.82, 0.165, 1);
	overflow: hidden;
    position: relative;
    left: -50px;
}

.more {
    text-align: center;
	margin-top: 30px;
}
.more a {
    color: var(--base-color);
    display: inline-block;
    max-width: 300px;
    width: 100%;
    border-radius: 1000px;
    padding: 15px 30px;
	background: #fff;
    position: relative;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.more a:before {
    content: "";
    border: 1px solid #595959;
    border-radius: 1000px;
    position: absolute;
    left: 0px;
    top: 0px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    display: block;
    transition: .6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.more a:after {
	content: '';
	width: 12px;
	height: 12px;
	background:var(--base-color);
    border-radius: 1000px;
	position: absolute;
	right: 20px;
	top: calc(50% - 6px);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.more a:hover {
	color: var(--main-color);
	text-align: center;
	border: none;
}
.more a:hover:after {
	display: none;
}
.more-btn-hover {
    position: absolute;
    left: -1px;
    top: -1px;
    width: 100%;
    height: 100%;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
}
.more-btn-hover2 {
    position: absolute;
    left: -1px;
    top: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
}
.more-btn-hover rect {
    width: calc(100% - 2px);
    height: 56px;
    transition: 1.2s cubic-bezier(0.075, 0.82, 0.165, 1);
    display: block;
    stroke: var(--main-color);
}
.more a:hover i.arrow-circle-anime {
    width: 34px;
    margin-right: 20px;
	left: 0;
}
.more a:hover:before {
	border-color: transparent;
}
.more a:hover rect {
	stroke-dashoffset: 0;
}



/* ----------------------------
   footer
-------------------------------*/
@keyframes backtotop_scroll {
  0% {
	  width: 0px;
      opacity: 0;
  }
  30% {
	  width: var(--backtotop_scroll_width);
      opacity: 1;
  }
  100% {
	  transform: translateX(-50px);
	  opacity: 0;
  }
}

#gb-footer {
	padding: 60px 0;
    background: var(--bg-color);
	position: relative;
}
.footer-nav {
    margin-bottom: 80px;
}
.footer-nav__list {
    display: flex;
    justify-content: space-between;
}
.footer-nav__list >li a {
    color: var(--base-color);
}

.footer-nav__list .has-sub .sub-nav {
    top: 30px;
	background: none;
}
.footer-nav__list .has-sub:hover .sub-nav {
    padding: 15px 0;
}

.footer-logo {
    margin-bottom: 15px;
}
.footer-address,
.footer-tel {
    line-height: 1.6;
}
.copyright {
    font-size: 15px;
    text-align: center;
    margin-top: 50px;
}

#sp-nav {
	display: none;
}


/* backtotop */
#backtotop {
    color: #000;
    font-size: 15px;
    font-family: var(--font-en);
    font-weight: 600;
    display: inline-block;
    transform: rotate(90deg);
	cursor: pointer;
    position: absolute;
    right: 0;
    bottom: 80px;
}
#backtotop i {
    content: '';
    display: block;
    width: 120px;
    height: 1px;
    background: #707070;
    position: absolute;
    left: -10px;
    top: -10px;
    animation: backtotop_scroll 2s infinite;
}
#backtotop i:before {
    content: '';
    width: 20px;
    height: 20px;
    border-top: solid 1px #707070;
    border-right: solid 1px #707070;
    transform: rotate(-135deg);
    position: absolute;
    left: 3px;
    top: -10px;
}



/* -----------------------------------

media query

------------------------------------- */
@media (max-width: 1050px) {
	.inner-in {
		padding: 0;
	}
}

@media (max-width: 815px) {

	:root {
		--backtotop_scroll_width: 80px;
	}
	
	body {
        font-size: 15px;
		min-width: 375px;
        overflow-x: hidden;
		padding-top: 60px;
	}
	body.menu-fix {
		overflow: hidden;
	}
	.pc {
		display: none !important;
	}
	.sp {
		display: block !important;
	}
	.inner {
		 width: 100%;
	}
    .inner-in {
        padding: 0;
    }

	#gb-header {
		background: #fff !important;
	}
	.header-in {
		height: 60px;
	}
	.site-title {
		width: 200px;
	}

	#menu-btn {
        width: 60px;
        height: 60px;
        cursor: pointer;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 10000;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
	#menu-btn span {
        width: 36px;
        height: 1px;
        background: #707070;
        position: absolute;
        left: 12px;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
	#menu-btn span.t {
		top: 20px;    
	}
	#menu-btn span.m {
		bottom: 30px;
	}
	#menu-btn span.b {
		bottom: 20px;
	}
	#menu-btn.active span {
		background: #fff;
	}
	#menu-btn.active span.t {
		transform: rotate(30deg);
		top: 30px;
	}
	#menu-btn.active span.m {
		width: 0;
	}
	#menu-btn.active span.b {
		transform: rotate(-30deg);
		bottom: 30px;
	}

	#sp-nav {
		color: #fff;
		display: block;
		width: 100%;
		height: 100%;
		background: #fff;
		padding: 70px 20px;
		overflow: auto;
		opacity: 0;
		visibility: hidden;
		position: fixed;
		left: 0;
		top: 0;
		z-index: -10;
	   -webkit-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}
	#sp-nav.active {
		opacity: 1;
		visibility: visible;
		background: var(--main-color);
		z-index: 9999;
	}
	.sp-nav__list {
		font-size: 18px;
		text-align: center;
	}
	.sp-nav__list a {
		color: #fff;
	}
	.sp-nav__list > li {
		margin-bottom: 30px;
	}
	.sp-nav__list >li.has-sub i {
		display: inline-block;
        width: 0;
        height: 0;
        border-style: solid;
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
        border-top: 10px solid #fff;
        border-bottom: 0;
		margin-left: 20px;
	   -webkit-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}
	.sp-subnav__list {
		max-height: 0;
		overflow: hidden;
		visibility: hidden;
		opacity: 0;
	   -webkit-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}
	.sp-subnav__list > li {
		margin-top: 30px;
	}

	.sp-nav__list >li.has-sub.active i {
		transform: rotate(-180deg);
	}
	.sp-nav__list >li.has-sub.active .sp-subnav__list {
		max-height: 1000px;
		visibility: visible;
		opacity: 1;
	}

	.conBox {
		padding: 50px 0;
	}

	.more a {
		font-size: 12px;
		display: block;
		max-width: 100%;
		text-align: left;
	}

	#gb-footer {
		padding: 30px 0;
	}
	.footer-logo {
		width: 200px;
	}
	.footer-address,
	.footer-tel {
		font-size: 12px;
	}
	.copyright {
		font-size: 10px;
	}

	#backtotop {
		font-size: 12px;
	}
	#backtotop i {
		width: var(--backtotop_scroll_width);
		left: 20px;
	}
	#backtotop i:before {
		width: 14px;
		height: 14px;
		left: 2px;
		top: -7px;
	}

}

