@charset "utf-8";
/* CSS Document */

/* ==========================================
    common
========================================== */

body {
	background: top center no-repeat url(../img/topbg2.jpg);
}


.top-link {
	padding-top: 320px;
}

.top-link .flex ul {
	padding-top: 100px;
	font-size: 0;
}

.top-link .flex ul:first-child a {
	color: #000;
	display: inline-block;
	margin-left: 50px;
	font-size: 20px;
}

.top-link .flex ul:last-child a {
	display: inline-block;
	margin-right: 50px;
	font-size: 20px;
}

.top-link .scroll-anim {
	width: 100px;
	height: 100px;
	text-align: center;
	margin: 200px auto 120px;
	position: relative;
}

.top-link .scroll-anim .arrow {
	position: absolute;
	top: 30px;
	right: 50%;
	transform: translateX(50%);
	width: 1px;
	height: 1px;
	background: #fff;
	animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
	0% {
		height: 1px;
		opacity: 1;
	}

	50% {
		height: 70px;
		opacity: 1;
	}

	75% {
		opacity: 0;
		height: 70px;
	}

	100% {
		opacity: 0;
		height: 1px;
	}
}

section ul:not(.reverse) li:first-of-type,
section ul.reverse li:last-of-type {
	padding-right: 65px;
}

section ul:not(.reverse) li:last-of-type,
section ul.reverse li:first-of-type {
	padding-left: 65px;
}

section .tate h2 {
	font-size: 36px;
	padding-left: 1em;
	font-weight: normal;
}

section p {
	line-height: 2em;
}

section#minds {
	padding-bottom: 180px;
}

section#minds .ttl p {
	padding-top: 1em;
}

section#minds .ttl p br {
	display: none;
}

section#minds .pic a {
	position: relative;
	display: block;
	margin-top: 60px;
}

section#minds .pic a:after {
	content: url(../img/arrow-s.png);
	position: absolute;
	bottom: 2px;
	right: 0;
}

section#minds .pic a p {
	padding-top: 1em;
}

section#minds .tate {
	margin: 0 auto;
}

section#minds .more {
	padding-top: 54px;
	text-align: center;
}

section#produce .tate {
	margin-right: 0;
	margin-left: auto;
}

section#produce .more {
	padding: 80px 0 100px;
}

section#produce .more:nth-of-type(2) {
	text-align: right;
	padding-right: 96px;
}

/* libraのバナー設置のcss */
.libra-bnr {
	text-align: center;
	margin: 0 auto 50px;
}

@media screen and (max-width: 1279px) {

	section#minds .ttl p br {
		display: block;
	}

	.top-link .flex ul:first-child a {
		font-size: 16px;
		margin-left: 30px;
	}

	.top-link .flex ul:last-child a {
		font-size: 16px;
		margin-right: 30px;
	}

	.top-link .flex>div {
		width: 240px;
	}

	.top-link .flex ul {
		padding-top: 80px;
	}

	.libra-bnr {
		margin: 30px auto 30px;
	}
}

@media screen and (max-width: 1023px) {
	body {
		background-size: 1500px auto;
	}

	section .tate h2 {
		font-size: 28px;
		line-height: 1.5em;
	}

	section p {
		font-size: 14px;
		letter-spacing: 0.1em;
	}

	.wrap {
		padding: 0 10px;
	}

	section ul:not(.reverse) li:first-of-type,
	section ul.reverse li:last-of-type {
		padding-right: 10px;
	}

	section ul:not(.reverse) li:last-of-type,
	section ul.reverse li:first-of-type {
		padding-left: 10px;
	}

	section#produce .more {
		padding: 40px 0 60px;
		font-size: 14px;
	}
}

@media screen and (max-width: 767px) {
	body {
		background: #000;
	}

	section p {
		font-size: 16px;
		line-height: 1.5em;
		letter-spacing: 0.2em;
	}

	.tate {
		writing-mode: horizontal-tb;
		-moz-writing-mode: horizontal-tb;
		-o-writing-mode: horizontal-tb;
		-webkit-writing-mode: horizontal-tb;
		-ms-writing-mode: lr-tb;
	}

	main .flex,
	main .flex.reverse {
		flex-direction: column;
	}

	.wrap {
		padding: 0;
	}

	main .flex>div,
	.flex.half>* {
		width: 100% !important;
	}

	section {
		text-align: center;
	}

	section .flex>li {
		padding: 60px 0 !important;
	}

	section#minds {
		padding: 0;
	}

	#minds .flex>li:first-of-type {
		background: center center / cover no-repeat url(../img/topbg-sp2.jpg);
	}

	#minds .flex>li:last-of-type {
		background: center center / cover no-repeat url(../img/topbg-sp3.jpg);
	}

	section#minds .flex>li:first-of-type .more {
		padding-top: 40px;
	}

	section#minds .flex>li:last-of-type .more {
		padding-top: 0px;
	}

	#minds .tate p {
		padding-top: 1em;
	}

	section#minds .ttl p br {
		display: none;
	}

	section#minds .flex>li:last-of-type .ttl img {
		transform: scale(0.8);
		vertical-align: bottom;
	}

	#produce .flex>li:last-of-type {
		background: center center / cover no-repeat url(../img/topbg-sp4.jpg);
	}

	section#minds .pic a:after {
		display: none;
	}

	section#produce .more {
		padding: 40px 0 0;
		font-size: 16px;
	}

	section#produce .flex>li:first-of-type .more {
		padding-bottom: 40px;
	}

	section#produce .tate p {
		padding-top: 1em;
	}

	section#minds .flex>li:first-of-type .more img:nth-of-type(1),
	.pic {
		width: 70%;
		margin: 0 auto;
	}
}

@-moz-document url-prefix() {
	#produce li:nth-of-type(2) {
		width: 40%;
	}
}