/*
Theme Name: eases5-child
Template: eases5
Description: K.Y企画株式会社 様
*/
/* 初期設定 ----------------------------------------------------------------------------------- */
:root {
	--es-wrap-max-width: 1024px;
	--es-main-max-width: 1200px;
	--es-side-max-width: 100px;
	--es-primary-color: #1b4d89;
	--es-secondary-color: #d1251a;
	--es-tertiary-color: #6b6b6b;
	--es-header-color: rgba(60,60,60,0.8);
	--es-header-font-color: white;
	--es-main-font-color: #555;
	--es-side-color: rgba(32, 32, 32, 0);
	--es-side-font-color: #555;
	--es-side-a-color: #555;
	--es-footer-color: #1b4d89;
	--es-footer-font-color: white;
	--es-url-font-color: #1b4d89;
	--es-header-hmg-color: white;
	--es-mobile-menu-color: #c9c9c9;
	--swiper-theme-color: transparent!important;
	--scroll-bar-width: 16px;
}

html { scroll-behavior: inherit; }

a:hover { color: var(--es-url-font-color)!important; }

ul, ol { padding: 0; }


/* ■ h1 - h5
-------------------------------------------------------------- */
h1 {
	min-width: 150px;
	max-width: 287px;
	padding-left:20px; }
	@media screen and (min-width:1190px) {
		h1 {
			width: 287px;
			padding: 0;
			z-index: 999; } }

h1 a { display: block; }


h1 img {
	width: 100%;
	height: auto; }

.fixed-page h2 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 250px;
	height: 250px;
	margin: 0 0 0 10px!important;
	background: rgba(34, 34, 34, 0.6);
	color: white;
	font-size: 2.5rem;
	word-break: normal; }
	@media screen and (min-width: 400px) {
		.fixed-page h2 { margin: 0 0 0 50px!important; } }

.fixed-page h2 span { padding: 0 15px; }

h3 {
	margin-bottom: 30px;
	border-bottom: 2px solid #1b4d89;
	font-size: 2.0rem;
	font-weight: normal;
	text-align: center; }


/* レイアウト
-------------------------------------------------------------- */
body{ font-size: 1.8rem; }

#wrap { margin: 0 auto; }

#pagebody {
	min-height: 100vh;
	margin-top: 110px; }

#main {
	padding: 0 10px 30px;
	margin: 0 auto; }
	@media screen and (min-width: 768px) {
		#main { padding: 0 0 30px; } }

.blog #main { padding: 150px 0 30px; }

.top-page #main { max-width: 100%; }


/* コンテンツ
-------------------------------------------------------------- */



/* ヘッダー
-------------------------------------------------------------- */
#header {
	display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.7);
    animation: delay 3.5s;
    animation: slideDown 1.5s ease-in-out 0s forwards;
    z-index: 999; }

@-webkit-keyframes slideDown { 0% { top: -100%; }
  100% { top: 0; } }
@keyframes slideDown { 0% { top: -100%; }
  100% { top: 0; } }

.hgroup {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 70px;
	margin: 0 auto;
	padding: 5px 20px 0; }

.hgroup-inner { align-items: flex-start; }

.thbg .hamburger-menu {
	gap: 30px;
	padding: 0; }
	@media screen and (min-width:1000px) {
		.thbg .hamburger-menu { display: none; } }

#header .hgroup .title {
	display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px; }

#header .hgroup .logo-h1 {
    display: flex;
    align-items: center; }

#header .hgroup figure {
	height: 80px;
	margin: 0; }
#header .hgroup figure img { width: 100%; }

.hgroup .information { display: none; }
	@media screen and (min-width: 768px) {
		.hgroup .information {
			display: block; } }

.hgroup .information a {
	display: block;
	background: transparent; }

.hgroup .information a:hover { background-color: transparent; }

.hgroup .information > div {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	line-height: 1;
	font-size: 2.2rem; }

.info-tel {
	display: flex;
	margin: 0 3px 0;
	background-color: #8a8a8a; }

.info-tel span {
	display: flex;
	align-items: center;
	width: 240px;
	padding: 3px 20px;
	background: transparent;
	font-size: 2.6rem; }

.info-tel span::before {
	content: "\e907";
	font-family: 'icomoon';
    position: relative;
    top: 0;
    margin-right: 5px;
    font-size: 2.8rem;}

.info-contact { display: none; }
	@media screen and (min-width: 1000px) {
		.info-contact {
			display: block;
			margin: 0 3px;
			background-color: var( --es-secondary-color ); } }

.hgroup .info-contact a {
	display: flex;
	width: 240px;
	padding: 3px 20px;
	background: transparent;
	color: white; }

.info-contact a::before {
	content: "\e951";
	font-family: 'icomoon';
    position: relative;
    top: 0;
    margin-right: 5px;
    font-size: 2.8rem;}

@media screen and (max-width: 767px){
	.hgroup-inner { justify-content: center; }
	#header .hgroup .title { align-items: center; } }

/* グローバルメニュー */
#globalnavi { display: none; }
	@media screen and (min-width:1000px) {
		#globalnavi {
			display: block;
    		width: 100%;
			margin: 0 auto;
    		z-index: 0; } }

#globalnavi ul { justify-content: flex-end; }

#globalnavi li {
	display: flex;
	align-items: flex-start; }

#globalnavi li::before {
	content: '/';
	padding: 0 5px;
	color: #555; }

#globalnavi li:last-child::after {
	content: '/';
	padding-left: 5px;
	color: #555; }

#globalnavi li a { color: #555; }

/*　ヘッダーが上に上がる動き　*/
#header:not(.down){ animation: UpAnime 0.5s forwards; }
@keyframes UpAnime{
  from {
    opacity: 1;
	transform: translateY(0); }
  to {
    opacity: 0;
	transform: translateY(-100px); } }

/*　ヘッダーが下に下がる動き　*/
.sp-menu #header:not(.down),
#header.down{ animation: DownAnime 0.5s forwards; }
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px); }
  to {
  	opacity: 1;
	transform: translateY(0); } }

/* フッター
-------------------------------------------------------------- */
#footernavi { display: none; }
	@media screen and (min-width:500px) {
		#footernavi {
			display: block;
			max-width: var( --es-main-max-width );
			margin: 40px auto; } }

#footernavi a { color: var( --es-main-font-color ); }

#footernavi ul {
	display: flex;
	justify-content: space-evenly;
	list-style: none; }


#footer {
	padding-bottom: 0; }

#footer .inner {
	padding: 40px 0 20px; }

#footer .wp-block-columns { margin: 0 auto; }

#footer ul#menu-drawer_menu {
    display: flex;
    justify-content: space-evenly;
    margin: 40px 0 80px;
    text-align: center; }


#block-3 {
	max-width: 1200px;
	margin: 0 auto; }

@media (max-width: 500px) {
	#block-4 .wp-block-columns {
    	flex-direction: column;
    	align-content: center; } }

@media (max-width: 781px) {
	#footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(1),
	#footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2) { flex-basis: 25%!important; }
	#footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(3){ display: none; } }

#footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2) {
	display: flex;
	justify-content: center; }
	@media (min-width: 500px) {
		#footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2) {
			justify-content: flex-end; } }

#footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2) span {
	display: block;
	font-size: 2.6rem;
	font-weight: bold; }

#footer .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-child(2) span::before {
    content: "\e907";
    font-family: 'icomoon';
    position: relative;
    top: 0;
    margin-right: 5px;
    font-size: 2.6rem; }

footer .copyright { padding: 20px 0; }

/* サブメニュー
-------------------------------------------------------------- */

.navi-contents { background: #f9f9f9; }
@media screen and (max-width: 1000px) {
	.navi-contents { height: calc( 100vh - 70px ); }
	.sp-menu #drawer-close { height: calc( 100vh - 70px ); } }


/* トップページ
-------------------------------------------------------------- */
/*画像*/
#image-area { position: relative; }

.swiper-slide {
	height: 100vh!important;
	height: 100svh!important; }

.swiper-slide img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover; }

#image-area .text_box {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	color: white;
	text-shadow: 2px 2px 3px #000;
	font-size: clamp(1.5rem, 3.5vw, 4.5rem);
	z-index: 1; }

#scroll-to-page {
	display: block;
	position: absolute;
	left: 50%;
	bottom: 70px;
	width: 50px;
	height: 50px;
	font-size: 1.8rem;
	overflow: hidden;
	z-index: 10;
	cursor: pointer;
	opacity: 0.7;
	transform: translateX( -50% );
	animation: blink 2s ease-out infinite; }
	@keyframes blink {
		0% { opacity: 0.5; }
		50% { opacity: 1; }
		100% { opacity: 0.3; } }


#scroll-to-page:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	bottom: 35px;
	width: 50px;
	height: 50px;
	border: 4px solid #fff;
	transform: rotate(45deg); }

/*本文*/
.fadein {
	opacity: 0;
	animation: fadein 4s ease forwards; }
	@keyframes fadein {
		100% {	opacity: 1;} }


.txt01 {
	font-family:Garamond, 'Times New Roman', 'YuMincho', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', 'MS PMincho', serif;
	text-align: center;
	font-weight: bold;
	line-height: 1.6; }

.fadein-block {
	min-height: 50vh;
	opacity: 0.5;
	transform: translate(0, 50%);
	-webkit-transition: all 1s 0s ease;
	-moz-transition: all 1s 0s ease;
	-o-transition: all 1s 0s ease;
	transition: all 1s 0s ease; }

.scrollin {
	opacity: 1!important;
	transform: translate(0, 0); }

.fadein-block .wp-block-image img { object-fit: contain; }

.foot_image_fixed {
	padding: 0!important;
	margin: 0!important; }

.foot_image_fixed .wp-block-group__inner-container {
	max-width: none!important;
	padding: 0!important;
	margin: 0!important; }

.foot_image_fixed .wp-block-cover {
	padding: 0!important;
	margin: 0!important; }

.foot_image_fixed {  }

.top-page .wp-block-button a {
	height: 65px;
	display: flex;
    align-items: center;
    justify-content: center;
	background: var(--es-tertiary-color); }

.top-page .wp-block-button.inversion_button a {
	background: white;
	color: var(--es-tertiary-color); }


.news_posts dd a { color: white; }

div.block1 {
	margin-bottom: 60px;
	padding: 100px 0; }

div.block2,
div.block4,
div.block5,
div.block6 { gap: 0em; }

div.block2 > div { width: 50%; }

div.block2 > div:first-child > div {
	min-height: 500px;
	margin-bottom: 0;
	padding: 7.5%;
	background: rgba(34, 34, 34, 0.6);
	color: white; }

div.block2 div:first-child a { color: white; }

div.block2 {
	background-image: url(../../../../images/AdobeStock_302582460-scaled.jpeg);
	background-size: cover; }

div.block3 {
	margin-bottom: 0;
	background-color: #3d3d3d;
	color: white; }

div.block3 > div {
	width: 70%;
	margin: 20px auto; }

div.block4 > div:first-child {
	background-image: url(../../../../images/AdobeStock_160890535-scaled.jpeg);
	background-size: cover; }

div.block4 > div:nth-child(2) > div {
	min-height: 500px;
	margin-bottom: 0;
	padding: 7.5%;
	background-color: white;
	color: #555; }

div.block5 > div:nth-child(2) {
	background-image: url(../../../../images/AdobeStock_248688454-scaled.jpeg);
	background-size: cover; }

div.block5 > div:first-child > div {
	min-height: 500px;
	margin-bottom: 0;
	padding: 7.5%;
	background-color: #3d3d3d;
	color: white; }

div.block6 > div:first-child {
	background-image: url(../../../../images/AdobeStock_272060214-scaled.jpeg);
	background-size: cover; }

div.block6 > div:nth-child(2) > div {
	min-height: 500px;
	margin-bottom: 0;
	padding: 7.5%;
	background-color: white;
	color: #555; }


/* コンテンツページ
-------------------------------------------------------------- */
/* 画像全幅の場合 */
.fixed-page .alignfull {
	margin: 0; }
	@media screen and (min-width:768px) {
		.fixed-page .alignfull {
			display: flex;
			align-items: center;
			margin: 0 calc(50% - 50vw + var(--scroll-bar-width) / 2) 40px;
			overflow: hidden; } }


.company #main article > div.alignfull {
	height: calc(100svw / 2);
	min-height: 300px;
	max-height: 550px;
	background-image:url(../../../../images/AdobeStock_302582460-scaled.jpeg);
	background-size: cover; }

.investor #main article > div.alignfull {
	height: calc(100svw / 2);
	min-height: 300px;
	max-height: 550px;
	background-image:url(../../../../images/AdobeStock_75193590-scaled.jpeg);
	background-size: cover; }

.entrepreneurs #main article > div.alignfull {
	height: calc(100svw / 2);
	min-height: 300px;
	max-height: 550px;
	background-image:url(../../../../images/Asset-25@3x-100-scaled.jpg);
	background-size: cover; }

.contact #main article > div.alignfull {
	height: calc(100svw / 2);
	min-height: 300px;
	max-height: 550px;
	background-image:url(../../../../images/AdobeStock_315539086-1-scaled-e1606142129244.jpeg);
	background-size: cover; }

.news #main article > div.alignfull {
	height: calc(100svw / 2);
	min-height: 300px;
	max-height: 550px;
	background-image:url(../../../../images/AdobeStock_358648560-scaled.jpeg);
	background-size: cover; }

/* 会社概要 */
.company table {
	width: 90%;
	max-width: 1200px;
	margin: 20px auto 20px;
	padding: 0;
	border: 0;
	border-collapse: collapse; }

.company tr {
	margin: 0;
	padding: 0;
	border: 0; }

.company td,
.company th {
	margin: 0;
	padding: 14px 15px;
	border: 1px #999 solid;
	text-align:left;
	font-size: 1em; }

.company th {
	width: 210px;
	background: #f2f2f2;
	font-weight: normal;
	vertical-align: top; }

.company td { background: #fff; }

	@media (max-width: 798px) {
		.company th { width: 25%; } }

	@media (max-width: 570px) {
		.company table {
			width:90%;
			table-layout: fixed;
			word-break: break-word;
			padding: 0;
			border-collapse: collapse;
			border-bottom: none; }

		.company  th,
		.company  td {
			display: block;
			width: 100% !important;
			text-align: left;
			vertical-align: middle;
			margin-top:-1px; } }

.company #main table p { margin-bottom: 0; }

/* お問い合わせ */
.tel-link {
	margin-bottom: 10px;
	font-size: 2.4rem; }

.wpcf7 {
	width: 100%;
	max-width: 600px;
	margin: 0 auto; }

.wpcf7-form input:not([type="submit"],[type="checkbox"],[type="radio"]), textarea {
	width: 100%;
	max-width: 500px; }

input[type="submit"] {
	display: block;
	width: 170px;
	margin: 0 auto;
	padding: 15px;
	border: 1px solid black;
	border-radius: 10px; }

input[type="submit"]:hover {
	background-color: var(--es-primary-color)!important;
	color: #fff; }

.wpcf7 p{ margin: 20px 0; }

.wpcf7 label {
	display: inline-block;
	width: 100%; }

.wpcf7 span { width: 100%; }


/* ブログ 
-------------------------------------------------------------- */
.category-page .entry-post { flex-wrap: nowrap; }

.post-categories ul span[class*="label-"], .post-categories ul a[class*="label-"]{
	border:none;
	background-color: var(--es-primary-color); }
.profile{
	font-size: 1.5rem; }

.post-footer {
	text-align: center; }
#comment{
	width: 90%;
	margin: 0 auto; }

#index-page,#single-page{
	padding: 0 1em; }

.enry-post {
	max-width: 96%;
	margin: 0 auto 40px; }

.archive .enry-post {
	display: flex;
	flex-wrap: wrap; }

.eyecatch_img_thumbnail {
	min-width: 300px;
	margin-bottom: 20px;
	text-align: center; }

.eyecatch_img_thumbnail img { width: 250px; }

.post-wrap {
	min-width: 300px;
	margin-left: 20px; }

.single-page .enry-post p { margin: 0 0 20px!important; }
