/*
Theme Name:   OnePress Child
Theme URI:    https://www.famethemes.com
Description:  OnePress sample child theme
Author:       FameThemes
Author URI:   https://www.famethemes.com
Template:     onepress
Version:      1.0.0
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  onepress-child
*/

/* Add your custom css below
-------------------------------------------------------------- */

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=League+Gothic&display=swap');

html {
	scroll-behavior: smooth;
}

body,
button,
input,
select,
textarea {
	color: #333;
	font-size: clamp(14px, 1vw + 0.5rem, 16px);
	line-height: 2;
}

li a,
p a {
	/*text-decoration: underline;
	text-decoration-style: dotted;
	text-underline-offset: 2px;
	text-decoration-color: rgba(0, 0, 0, .3);
	text-decoration-thickness: 1px;*/
	transition: 0.5s ease;
}


/* loading -------------------------------------------------*/

.home {
	overflow: hidden;
}

.home:has(.loaded) {
	overflow: auto;
}

#loading {
	/*display: none!important;*/

	width: 100vw;
	height: 100vh;
	transition: all 2s;
	background-color: #fff;

	position: fixed;
	display: grid;
	align-items: center;
	top: 0;
	left: 0;
	z-index: 9999;
}

.loader video {
	width: 100vw;
	height: 100vh;
	object-fit: cover;
}

/* Hide Loading Block */
.loaded {
	opacity: 0;
	visibility: hidden;
}


/* layout -----------------------------*/

.home .breadcrumbs,
.single-post .breadcrumbs {
	display: none;
}

section {
	position: relative;
	margin: 6em 0;
}

.wp-block-table table {
	border: none;
	border-top: 3px solid #333;
	border-bottom: 3px solid #333;
}

.wp-block-table th,
.wp-block-table td {
	border: none;
	border-top: 1px solid #999;
	padding: 1em;
	background-color: inherit;
}

#header-section {
	position: absolute;
}

.entry-content {
	margin-bottom: 0;
}

.breadcrumbs {
	padding: 2em 2%;
}

.single-post .site-content {
	padding-top: 150px;
}

.single-post main {
	margin: auto;
	padding: 4em 4%;
	width: min(100%, 1600px);
}

/* content -----------------------------------*/
.cont-item,
.cont-wrap {
	margin: 0;
}

.cont-wrap:nth-child(even) {
	background: #9cc;
}

.cont-wrap {
	margin: auto;
	padding: 4em 6%;
}

.cont-wrap.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-gap: 2em;
}

#photo-gallery.cont-wrap.grid {
	grid-gap: 2px;
}

#photo-gallery {
	background: #000;
}

.cont-image {
	margin-bottom: 2em;
	opacity: 0;
	transition: 1s ease;
	transform-origin: left;
	transform: rotateY(90deg);
}

#photo-gallery .cont-image {
	margin: 0;
}

.scrollTrigger.active.cont-image {
	opacity: 1;
	transform: rotateY(0deg);
}

.cont-image img {
	margin: auto;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 1em;
}

.square .cont-image img {
	aspect-ratio: 1;
}

@media only screen and (min-width: 1141px) {
	.cont-wrap.flex {
		display: flex;
		column-gap: 5%;
		flex-flow: row-reverse;
	}

	.cont-wrap.flex .cont-text {
		width: 60%;
		align-content: center;
	}

	.cont-wrap.flex .cont-image {
		width: 40%;
		align-content: center;
		justify-items: center;
	}

	.cont-image {
		margin: 0;
	}

	.cont-image img {
		height: 100%;
	}
}

.cont-text > div {
	padding: 0px 8%;
}

.cont-chap {
	margin: 0 0 1em;
	color: #000;
	font-size: clamp(18px, 1.0536rem + 0.2857vw, 20px);
	line-height: 1.5;
}

.cont-chap span[lang="en"] {
	font-family: "League Gothic", sans-serif;
	font-weight: 400;
	font-size: clamp(50px, 1.8750rem + 5.0000vw, 85px);
	letter-spacing: -0.02em;
	line-height: 1;
}

#photo-gallery .cont-chap {
	padding: 2em 0;
	display: grid;
    align-content: center;
	color: #fff;
	text-align: center;
}

.cont-sec {
	margin: 1em 0;
	padding-bottom: 5px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.3);
	font-size: 1.1em;
	line-height: 1.4;
}

.cont-sec span[lang="en"] {
	display: inline-block;
	min-width: 7em;
	margin-bottom: 1em;
	padding: 0.2em 1em;
	background: linear-gradient(150deg, rgba(0, 85, 170, 1) 20%, rgba(153, 204, 0, 1) 70%, rgba(0, 153, 0, 1) 90%);
	color: #fff;
	text-align: center;
}

.cont-head {
	padding: 1em;
	background: rgba(0, 0, 0, 0.1);
}

/* grid -----------------------------------*/
.grid {
	display: grid;
	grid-gap: 0 4%;
}

.col2 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* list -----------------------------------*/
.list-square {
	list-style: none;
}

.list-square li::before {
	content: url('../../uploads/icn-square.svg');
	display: inline-block;
	width: 1em;
	margin-right: 5px;
	vertical-align: middle;
}


/* button -----------------------------------*/
.button {
	display: inline-block;
	background: #000;
	padding: 1em 3em;
	color: #fff;
}

.button:hover {
	opacity: 0.7;
	color: #fff;
	text-decoration: none;
}

/* onepress custom -----------------------------------*/
.site-header {
	height: 15vh;
	line-height: 3;
	background: none;
	box-shadow: none;
	background: linear-gradient(rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0) 100%);
}

.site-logo-div img {
	height: 60px;
	filter: invert(1);
}

#primary {
	padding: 0;
}

/* header scrolldown ---------------------------------------------------*/

.scroll {
	display: none;
}

@media only screen and (min-width: 1141px) {
	.scroll {
		display: block;
		position: fixed;
		left: 2%;
		bottom: 20%;
		writing-mode: vertical-rl;
		z-index: 100;
		font-size: 1em;
		animation: scroll-deley 7s ease-in both;
	}
}


@keyframes scroll-deley {

	0%,
	50% {
		opacity: 0;
	}

	60%,
	100% {
		opacity: 1;
	}
}


.scroll::before {
	animation: scroll 2s infinite;
	background-color: #000;
	bottom: -115px;
	content: "";
	height: 100px;
	left: 0;
	margin: auto;
	position: absolute;
	right: 0;
	width: 1px;
	z-index: 2;
}

.scroll::after {
	background-color: #ccc;
	bottom: -115px;
	content: "";
	height: 100px;
	left: 0;
	margin: auto;
	position: absolute;
	right: 0;
	width: 1px;
}

@keyframes scroll {
	0% {
		transform: scale(1, 0);
		transform-origin: 0 0;
	}

	50% {
		transform: scale(1, 1);
		transform-origin: 0 0;
	}

	51% {
		transform: scale(1, 1);
		transform-origin: 0 100%;
	}

	100% {
		transform: scale(1, 0);
		transform-origin: 0 100%;
	}
}

/* keyvisual ---------------------------------------------------*/

.keyvisual {
	position: relative;
	overflow: hidden;
}

.kv-mov {
	width: 100vw;
	height: 100vh;
	opacity: 0.85;
}

.kv-mov video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media only screen and (min-width: 1141px) {
	.keyvisual {
		margin-top: 0;
	}

	.keyvisual .wp-block-group__inner-container {
		height: 100vh;
	}
}

.kv-list {
	list-style: none;
	padding: 0;
}

/* kv-item ---------------------------------------------------*/

.intersectionAnimation {
	width: 100vw;
	height: 100vh;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: 1fr;
	position: absolute;
	top: 0;
	left: 0;
}

@media only screen and (min-width: 1141px) {
	.intersectionAnimation {
		grid-template-columns: repeat(4, 1fr);
	}
}

.kv-item {
	position: relative;
	margin: 0 !important;
	border: 0.5px solid rgba(0, 0, 0, 0.3);
}

.intersectionAnimationImage {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	mask-image: url("../../uploads/kv-mask.svg");
	mask-size: cover;
	mask-repeat: no-repeat;
	mask-position: -1000px 0;
	animation-duration: 10s;
	animation-timing-function: ease-out;
	animation-iteration-count: infinite;
	/*animation-fill-mode: forwards;*/
}

/* マスク1 */
.intersectionAnimationImage1 {
	animation-delay: 4s;
	animation-name: intersection1;
}

/* マスク2 */
.intersectionAnimationImage2 {
	animation-delay: 4.5s;
	animation-name: intersection2;
}

/* マスク3 */
.intersectionAnimationImage3 {
	animation-delay: 5s;
	animation-name: intersection3;
}

@keyframes intersection1 {
	0% {
		mask-position: -1600px 0;
	}

	10% {
		mask-position: 0 0;
	}

	100% {
		mask-position: 0 0;
	}
}

@keyframes intersection2 {
	0% {
		mask-position: right -1600px top 0;
	}

	10% {
		mask-position: right 0 top 0;
	}

	100% {
		mask-position: right 0 top 0;
	}
}

@keyframes intersection3 {
	0% {
		mask-position: -1600px 0;
	}

	10% {
		mask-position: 0 0;
	}

	100% {
		mask-position: 0 0;
	}
}



/* kv-logo ---------------------------------------------------*/

.kv-logo {
	margin: 0;
	position: absolute;
	bottom: 50%;
	right: 50%;
	transform: translate(50%, 50%);
	width: 100%;
	line-height: 0;
}

.kv-logo path {
	stroke: #000;
	stroke-width: 1px;
	stroke-dasharray: 100%;
	animation: kv-logo-anime 1s ease-in both 6s;
}

@keyframes kv-logo-anime {
	0% {
		fill: transparent;
		stroke-dashoffset: 100%;
	}

	80% {
		fill: transparent;
	}

	100% {
		stroke-dashoffset: 0;
	}
}


/* kv-heading ---------------------------------------------------*/
.kv-heading {
	display: block;
	position: absolute;
	top: 120%;
	left: 5%;
	color: #000;
	font-size: clamp(18px, 2vw + 0.63rem, 30px);
	font-weight: 700;
	line-height: 1.6;
	transform: rotateY(90deg);
	transform-origin: left;

	animation-duration: 1s;
	animation-timing-function: ease-out;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
	animation-delay: 7s;
	animation-name: kv-heading-anime;
}


@keyframes kv-heading-anime {
	0% {
		transform: rotateY(90deg);
	}

	100% {
		transform: rotateY(0deg);
	}
}


/* kv-banner ---------------------------------------------------*/

.kv-banner {
	position: fixed;
	top: 60%;
	right: 0;
	display: block;
	width: min(15%, 100px);
	aspect-ratio: 1;
	background-color: #000;
	color: #fff;
	text-align: center;
	text-decoration: none;
	z-index: 100;
}

.kv-banner:hover {
	text-decoration: none;
	filter: invert(0.2);
}

.kv-banner img {
	filter: invert(1);
}

/* top-cont-title ---------------------------------------------------*/
.top-cont-title {
	position: relative;
	margin: 2em;
}


/* view more ---------------------------------------------------*/
.view-more {
	height: 60px;
	position: relative;
	display: inline-grid;
	white-space: nowrap;
	align-items: center;
	color: #000;
	padding: 0 100px 0 0;
	background: url(../../uploads/icn-arrow.svg) 100% 50% / contain no-repeat;
	filter: invert(1);
	transition: 0.5s ease;
}

.view-more:hover {
	color: #000;
	text-decoration: none;
	filter: invert(0);
}


/* top contents  ---------------------------------------------------*/
.top-content {
	display: grid;
}

.top-content.col1 {
}

.top-content section {
	position: relative;
	margin: 0;
}

.top-content .cont-chap {
	color: #fff;
}

.top-cont-image {
	width: 100%;
	height: 100%;
	position: absolute;
    top: 0;
    left: 0;
	opacity: 0;
	transition: 1s ease;
	transform-origin: left;
	transform: rotateY(90deg);
}

.scrollTrigger.active .top-cont-image {
	opacity: 1;
	transform: rotateY(0deg);
}

.top-cont-image img {
	width: 100%;
    height: 100%;
	object-fit: cover;
	filter: brightness(0.7);
}

.top-cont-navi {
	position: relative;
    margin: 2em;
	text-align: right;
}


@media only screen and (min-width: 1141px) {
	.top-content.col2 {
		grid-template-columns: repeat(2, 1fr);
	}
}


/* top-philosophy ---------------------------------------------------*/

#top-philosophy {
	position: relative;
	margin: 0;
	padding: 1px 0;
	background-color: #026;
}

#top-philosophy .top-cont-body {
	width: min(100%, 1000px);
	position: relative;
	margin: auto;
}

#top-philosophy .top-cont-body p {
	margin: 2em;
	color: #fff;
	line-height: 2;
}


#top-philosophy .slider-txt-list {
    width: 100%;
	height: 400px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
	margin: 0 !important;
	padding: 0;
	list-style: none;
	z-index: 0;
	overflow: hidden;
}

#top-philosophy .slider-txt-item {
	display: block;
	margin: 0 !important;
	padding: 0;
	position: absolute;
	color: #fff;
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 800;
	font-style: normal;
	white-space: nowrap;
	opacity: 0;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.scrollTrigger.active .slider-txt-item:nth-child(1) {
	animation-duration: 20s;
	animation-name: slider-txt-anime1;
	font-size: 2em;
	filter: blur(2px) opacity(0.3);
	top: 0;
}

.scrollTrigger.active .slider-txt-item:nth-child(2) {
	animation-duration: 12s;
	animation-delay: 1s;
	animation-name: slider-txt-anime2;
	font-size: 10em;
	filter: blur(4px) opacity(0.2);
	top: 10%;
}

.scrollTrigger.active .slider-txt-item:nth-child(3) {
	animation-duration: 13s;
	animation-delay: 2s;
	animation-name: slider-txt-anime3;
	font-size: 5em;
	filter: blur(2px) opacity(0.4);
	top: 60%;
}

@keyframes slider-txt-anime1 {
	0% {
		opacity: 1;
		left: 2500px;
	}

	100% {
		opacity: 1;
		left: -2500px;
	}
}

@keyframes slider-txt-anime2 {
	0% {
		opacity: 1;
		left: 2800px;
	}

	100% {
		opacity: 1;
		left: -2800px;
	}
}

@keyframes slider-txt-anime3 {
	0% {
		opacity: 1;
		left: 2500px;
	}

	100% {
		opacity: 1;
		left: -2500px;
	}
}


/* page  ---------------------------------------------------*/

.home .page-header {
	display: none;
}

.container {
	padding: 0;
	width: 100%;
}

.page-header {
	height: 30vh;
	padding: 0;
	background: none;
	border: none;
}

.page-header .container {
	padding: 105px 1em 30px;
}

.site-content {
	border: none;
}

@media only screen and (min-width: 1141px) {
	.page-header .container {
		padding: 30px 1em;
	}
}


/* vk_slider ---------------------------------------------------*/

.swiper {
	padding-bottom: 4em;
}

.vk_slider_item_container {
	/*padding: 0 2em;*/
}

.vk_slider_item_container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	grid-gap: 1em;
	align-items: center;
	justify-items: center;
	color: #000;
	text-decoration: none;
}

.vk_slider_item_container > * {
	padding: 0 1em;
}




/* onepress-menu ---------------------------------------------------*/
.onepress-menu a {
	padding: 0 2em;
	color: #fff;
	font-size: 1em;
	font-weight: 300;
}


/* footer ---------------------------------------------------*/
.site-footer .site-info {
	background: #000;
}


.site-footer .btt a {
	background: #000;
}

.footer {
	padding: 1em 2em;
}

.copyright {
	font-size: 0.75em;
	text-align: right;
}

.footer-content {
	margin-top: 1px;
}

#access iframe {
	width: 100%;
	height: 40vh;
}

.footer-cont-row {
	display: grid;
	margin: 2em auto;
	padding: 0 4%;
	width: min(100%, 1500px);
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	grid-gap: 1em;
}

.footer-cont-text {
	padding: 1em;
}

.footer-cont-text .cont-chap {
	color: #fff;
}

.footer-cont-sec {
	color: #fff;
	line-height: 1.4;
}

.footer-widgets.section-padding {
	padding: 1em 4%;
}


/* アクティブとは ---------------------------------------------------*/
.ripples {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
	grid-gap: 0.5em;
	align-items: center;
	justify-items: center;
	padding: 0;
	list-style: none;
}

.ripples li {
	aspect-ratio: 1;
	align-content: center;
	margin: 0;
	width: 100%;
	background: #fff;
	border: 3px double rgba(0, 0, 0, .5);
	border-radius: 100%;
	font-size: 1.2em;
	font-weight: 600;
	text-align: center;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
}

.ripples rt {
	margin-bottom: 0.2em;
}

@media only screen and (min-width: 1141px) {
	#introduction .cont-image img {
		width: 80%;
		height: 80%;
	}
}

#business {
	position: relative;
	background: rgba(220, 255, 255, 0.8) url("../../uploads/bg-business.webp") center / cover;
	background-blend-mode: lighten;
}

/* アクティブの強み ---------------------------------------------------*/
#workflow {
	position: relative;
	background: rgba(255, 255, 255, 0.6) url("../../uploads/bg-workflow.webp") center / cover;
	background-blend-mode: lighten;
}

#workflow > div {
	padding-top: 10em;
	padding-bottom: 10em;
}


/* 採用情報 ---------------------------------------------------*/
.job-info {
	position: relative;
}

.not-hiring .job-info::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.8);
}

/* 社長ブログ ---------------------------------------------------*/
.blog-summary ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.blog-summary li {
	margin: -0.5px;
	padding: 2em;
	display: grid;
	grid-auto-rows: max-content;
	background-color: #fff;
	border: 1px solid #ddd;
}

.blog-summary .wp-block-post-featured-image {
	order: 1;
	overflow: hidden;
}

.blog-summary .wp-block-post-title {
	margin: 0.5em 0;
	order: 2;
}

.blog-summary .wp-block-post-excerpt {
	order: 3;
}

.blog-summary .wp-block-post-date {
	order: 4;
}

.blog-summary .wp-block-separator {
	display: none;
}

.blog-summary figure:empty {
	background: url("../../uploads/noimage.svg") center / cover;
	aspect-ratio: 1;
}

.entry-thumbnail img {
	width: 100%;
	aspect-ratio: 2/1;
	object-fit: cover;
	border-radius: 0.5em;
}


/* お問合せ ---------------------------------------------------*/
.wpcf7-form {
	font-size: 1em;
	& input:not([type=checkbox],[type=radio]),
	& textarea {
		width: 100%;
		border-radius: 5px;
	}

    & input[type=button], 
	& input[type=submit] {
        display: inline-block;
        width: auto;
		margin: 0 1%;
        padding: 1em 3em;
        border: none;
        color: #fff;
        background: #aaa;
        font-size: 1.2em;
        line-height: 1;
        box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.1) inset;
    }
	
	& input[type=submit] {	
        background: #222;
	}
	
	& .req {
	display: inline-block;
	color: #fff;
	background: #c99;
	margin: 0.5em 0;
	padding: 0 0.5em;
	}
	
	& .button-part {
		margin: 2em 0;
		text-align: center;
	}
	& > p {
		margin: 0;
		padding: 0.5em 0;
		border-bottom: 1px solid #ccc;
	}
}



/* theme custom ---------------------------------------------------*/
.wp-block-group {
	margin: 0;
	width: 100%;
}

#nav-toggle span {
	background: #fff;
}

#nav-toggle span:before, #nav-toggle span:after {
	background: #fff;
}

#nav-toggle.nav-is-visible span:before, #nav-toggle.nav-is-visible span:after {
	background: #fff;
}

@media screen and (max-width: 1140px) {
	.main-navigation .onepress-menu {
		background: #036;
	}

	.onepress-menu.onepress-menu-mobile {
		border: none;
	}

	.onepress-menu.onepress-menu-mobile li {
		background: #036;
		border-top: 1px solid rgba(255, 255, 255, 0.3);
		width: 100% !important;
	}

	.onepress-menu.onepress-menu-mobile a {
		color: #fff;
	}
}