/*
Theme Name: Woo-By.Style
Version: 1.0
Template: seeed_tcd105
*/


/*ページ共通*/
body {
	font-size: 16px;
}

.post_content h3 {
	font-size: 2em;
	line-height: 48px;
	border-bottom: #6D2B00 3px dotted;
	text-align: left;
}


h4:before {
	content: url(assets/img/bg_h3.png);
	position: relative;
	top: 30px;
}

#footer_button_area h4.title:before {
	content: "";
}

h5 {
	color: #4272FF;
}
h5.service:before {
	content: '\e86c';
	padding-right: 10px;
	font-family: 'Material Symbols Rounded';
    font-weight: 400;
    font-style: normal;
font-size: 1.2em;
    position: relative;
    top: 4px;
}

.w-sdgs {
	position: relative;
	display: inline;
	margin-top: 60px;

	.w-sdgs-title {
	}
	.w-sdgs-icon {
		position: absolute;
		display: flex;
		gap: 0;
		right: 0;
		top: -27px;

		 img {
			height: 64px;
			width: 64px;
		}
	}
}


#container #page_header img {
	object-position: center center;
}

/* 実績カードリスト */
/* Post Card Grid Layout */
.project-card-list {
.wp-block-query .wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
}

/* Post Card Container */
.wp-block-post {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.wp-block-post:hover {
    transform: translateY(-5px);
}

/* Featured Image Container */
.wp-block-post-featured-image {
    position: relative;
    width: 100%;
    padding-top: 141%; /* Aspect ratio 1:1.41 */
    overflow: hidden;
}

.wp-block-post-featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%!important;
    object-fit: cover;
    object-position: center; /* 画像の中央部分を表示 */
}

/* Post Title */
.wp-block-post-title {
    position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 185px;
        margin: 0;
        padding: 100px 15px 10px;
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        z-index: 2;
        display: flex;
        align-items: start;
        background: linear-gradient(to top, rgba(24, 36, 71, 1) 25%, rgba(24, 36, 71, 0) 100%);
        text-align: left;
}

.wp-block-post-title a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

/* Category Tag */
.wp-block-post-terms.wp-block-post-terms { 
    position: absolute;
    bottom: 120px;
    left: 15px;
    z-index: 3;
    margin: 0; 
}

.wp-block-post-terms.wp-block-post-terms a { 
    display: inline-block;
    background-color: #EA5744;
    color: #fff;
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 12px;
    text-decoration: none;
    line-height: 1.5;
}

.wp-block-post-date {
    position: absolute;
    bottom: 90px;
    left: 15px;
    z-index: 3;
    color: #fff;
    font-size: 12px;
    margin: 0;
}

.wp-block-post-date time {
    color: #fff;
}
}

/*--------------------------------------------------------------------------
TOPページ　セクション
--------------------------------------------------------------------------*/
#section-a, #section-b, #section-c, #section-d, #section-news {
	width: 1030px;
	margin: 0 auto;
}

#section-b {
	margin-top: 100px;
	
	h3.pickup-proj-title {
		font-size: 18px;
		font-weight: 700;
		border: none;
	}
}
#section-c {
	margin-top: 80px;
	position: relative;

	summary {
		list-style: none;
	}

	.toggle-button {
		position: absolute;
		right: 0;
		bottom: -36px;
		background: #fff;
		border: 1px #ccc solid;
		color: white;
		padding: 10px 20px;
		border-radius: 5px;
		cursor: pointer;
		color: #707070;

		span {
			font-family: 'Material Symbols Rounded';
			position: relative;
			top: 3px;
			font-size: 122%;
		}
	}

.section-desc-wrap.open {
  max-height: 580px; /* 開いたときの最大高さ */
}
}
#section-d {
	margin-top: 80px;

	.services-wrap {
		gap: 0;
		.services-list {
			text-align: center;
			border: 1px #ccc solid;
			padding: 30px 20px;
			border-collapse: collapse;

			img {
				width: 48px;
				height: auto;
			}
			h3 {
				font-size: 16px;
				height: 80px;
				line-height: 28px;
				margin-top: 30px;
				margin-bottom: 30px;
			}
			.services-button {
				justify-content: center;

				a {
					border-color: #707070;
					border-width: 1px;
					color: #707070;
				}
				a:before {
					content: "\f591";
					font-family: 'Material Symbols Rounded';
					font-size: 120%;
					position: relative;
					top: 3px;
					padding-right: 8px;
				}
			}
		}
		.services-list:nth-of-type(2), .services-list:last-child {
			border-left: none;
		}
	}
	.services-wrap:nth-of-type(2) .services-list, .services-wrap:first-child .services-list {
			border-bottom: none;
	}
	.services-wrap:nth-of-type(2) .services-list, .services-wrap:last-child .services-list {
			border-top: none;
	}
}

#section-news {
	margin-top: 100px;

	.p-news-tab-list {
		margin-bottom: 50px;

		.p-news-tab-list__tabs-wrapper {
			.p-news-tab-list__tabs, .p-news-tab-list__tabs2 {
				 background: #fff; display: flex; margin-left: 1px; margin-bottom: 0; 
			}
			.p-news-tab-list__tabs-item {
				 list-style-type: none; font-size: 16px; text-align: center; width: 20%;			 }

			.p-news-tab-list__tabs-item.is-active a, .p-news-tab-list__tabs-item a:hover { background: #182447; border-color: #182447; color: #fff; }

			.p-news-tab-list__tabs-item.is-active + .p-news-tab-list__tabs-item a { border-left: 1px solid #000; }

			.p-news-tab-list__tabs-item a { border: 1px solid #ddd; display: block; margin-left: -1px; transition-property: background, border-color, color; transition-duration: 0.2s; height: 60px; line-height: 59px; color: #000; font-weight: 400;
			}
		}
	}

	.p-news-list { margin-bottom: 0; }

	.p-news-tab-list__panel.is-active {
		display: block;
	}
	.p-news-tab-list__panel {
		display: none;
		margin-left: 0px;
		list-style: none;

		.p-news-list__item {
			list-style-type: none;
			margin-top: -1px;
		}

		.p-article04 {
			background: #f8f8f8;
			border: 1px solid #ddd;

			.p-article04__inner {
				display: flex;
				align-items: center;
				padding: 0 25px;
				height: 60px;
				line-height: 60px;

				.p-article04__date {
					font-size: 14px;
					margin-right: 14px;
				}

				.p-article04__cat {
					margin-right: 14px;
				}

				.p-cat--media {
				    color: #238c00;
				    border: 1px solid #238c00;
				}
				.p-cat--action {
				    color: #b20000;
				    border: 1px solid #b20000;
				}

				.p-cat--sm {
				    min-width: 100px;
				}
				.p-cat {
				    display: inline-block;
				    font-size: 12px;
						font-weight: 400;
				    min-width: 110px;
				    height: 30px;
				    line-height: 28px;
				    text-align: center;
				    background: rgb(255, 255, 255);
				    border-radius: 15px;
				    padding: 0px 10px;
				    transition: color 0.2s, border-color 0.2s;
				}

				
				.p-article04__title {
					font-size: 14px;
					font-weight: 400;
					flex: 1;
					margin-bottom: 0;
					transition: color 0.2s ease;
					overflow: hidden;
					text-overflow: ellipsis;
					white-space: nowrap;
					border-bottom: none;
					color: #000;
					
					a{
						display:block;
						height:100%;
						overflow: hidden;
						text-overflow: ellipsis;
						white-space: nowrap;
					}
				}
			}
		}
	}
	.p-btn {
		-webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    min-width: 180px;
    height: 50px;
    padding: 0 15px;
    border-radius: 0;
    color: #fff;
    font-size: 14px;
    line-height: 50px;
    text-align: center;

		a {
			color: #ffffff;
			background: #182447;
			display: inline-block;
			font-size: 14px;
			font-weight: 700;
			line-height: 60px;
			min-width: 240px;
			height: 60px;
			padding: 0px 15px;
	}
}
}

/*
.accordion_area {
	max-width: 1024px;
	margin: 0 auto;
	height: 600px;
	overflow: hidden;
}

.tree-image {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 20%;
	height: 300px;
	float: left;
	color: #fff;
	font-size: 26px;
	font-weight: bold;
	padding: 0;
	text-align: left;
	position: relative;
	z-index: +1;
	cursor: pointer;
	transition-duration: 0.2s;
}

.tree-image:hover {
	opacity: .8;
}
.tree-image .i_box {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 50%;
	right: 5%;
	width: 40px;
	height: 40px;
	border: 1px solid #fff;
	margin-top: -20px;
	box-sizing: border-box;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	transform-origin: center center;
	transition-duration: 0.2s;
}
.tree-image .i_box .one_i {
	display: block;
	width: 18px;
	height: 18px;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	transform-origin: center center;
	transition-duration: 0.2s;
	position: relative;
}
.tree-image.open .i_box {
	-webkit-transform: rotate(-360deg);
	transform: rotate(-360deg);
}
.tree-image .i_box .one_i:before, .tree-image .i_box .one_i:after {
	display: flex;
	content: '';
	background-color: #fff;
	border-radius: 10px;
	width: 18px;
	height: 4px;
	position: absolute;
	top: 7px;
	left: 0;
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
	transform-origin: center center;
}
.tree-image .i_box .one_i:before {
	width: 4px;
	height: 18px;
	top: 0;
	left: 7px;
}
.tree-image.open .i_box .one_i:before {
	content: none;
}
.tree-image.open .i_box .one_i:after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.tree_desc {
	float: left;
	width: 40%;
	height: 300px;
	overflow: hidden;
	display: none;
	padding: 0;
	border-top: 2px solid #db0f2f;
	border-right: 2px solid #db0f2f;
	border-bottom: 2px solid #db0f2f;
	box-sizing: border-box;
}
.tree-desc .box_one {
	padding: 15px;
}
.tree-desc p.txt_a_ac {
	margin: 0;
}
@media screen and (max-width: 1024px) {
	.accordion_one .tree-image {
		font-size: 18px;
	}
	.accordion_one .tree-image .i_box {
		width: 30px;
		height: 30px;
		margin-top: -15px;
	}
}
@media screen and (max-width: 767px) {
	.accordion_one .tree-image {
		justify-content: flex-start;
		font-size: 16px;
	}
}
*/


#section-e {
	margin-top: 80px;
	margin-bottom: 80px;
}
.slider {
  padding: 50px 0;
}

.slider .slide {
	height: 60px;
	padding-right: 120px;
	position: relative;
}

.slider .slide img {
	max-width: none;
	opacity: 0;
	transition: 0.1s ease-out;
}
.slider .slide:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-size: contain !important;
	opacity: 1;
	transition: 0.1s ease-out;
}

.slider {
	height: 60px;
	margin: auto;
	overflow: hidden;
	position: relative;
	width: 100%;
}
.slider::after {
	right: 0;
	top: 0;
	transform: rotateZ(180deg);
}
.slider::before {
	left: 0;
	top: 0;
}
.slider .slider-animation {
	animation: scroll 10s linear infinite;
	display: flex;
/*	width: 4296px;*/
}
.slider .slider-animation:hover {
	animation-play-state: paused;
}

.slider .slide img {
	max-width: none;
	opacity: 0;
	transition: 0.1s ease-out;
}
.slider .slide:before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-size: contain !important;
	opacity: 1;
	transition: 0.1s ease-out;
}
.slider .slider-animation:hover .slide:hover:before {
	opacity: 0;
}
.slider .slider-animation:hover .slide:hover  img{
	opacity: 1;
}
/*
.slider .slide.yahoo:before {
	background: url("https://hypra.tech/wp-content/themes/hypra_theme/img/yahoo_g.png") no-repeat;
}
.slider .slide.bloomberg:before {
	background: url("https://hypra.tech/wp-content/themes/hypra_theme/img/bloomberg_g.png") no-repeat;
}
.slider .slide.forbes:before {
	background: url("https://hypra.tech/wp-content/themes/hypra_theme/img/forbes_g.png") no-repeat;
}
.slider .slide.forklog:before {
	background: url("https://hypra.tech/wp-content/themes/hypra_theme/img/forklog_g.png") no-repeat;
}
.slider .slide.ain:before {
	background: url("https://hypra.tech/wp-content/themes/hypra_theme/img/ain_g.png") no-repeat;
}
.slider .slide.vector:before {
	background: url("https://hypra.tech/wp-content/themes/hypra_theme/img/vector_g.png") no-repeat;
}
.slider .slide.inventure:before {
	background: url("https://hypra.tech/wp-content/themes/hypra_theme/img/inventure_g.png") no-repeat;
}

/* 無限スクロールアニメーション */
/*
@keyframes scroll-left {

  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
*/

/* Responsive layout */
@media (max-width: 992px) {
    .wp-block-query .wp-block-post-template {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .wp-block-query .wp-block-post-template {
        grid-template-columns: 1fr;
    }
}



/* Footer */

#footer_contact.fixed_image {
    height: auto;
}

#footer_contact .bg_image {
    position: relative;
    object-fit: contain;
    height: auto;
}
#footer_button_area {
    position: relative;
margin: 0 auto;
    bottom: unset;
    left: unset;
    transform: unset;
}

#footer_certification { margin-top:30px; }
.certification_list {
    font-size: 0;
    z-index: 20;
    text-align: center;
}
.certification_list li {
    font-size: 12px;
    display: inline-block;
    margin: 0 7px;
    position: relative;

	img {
		max-height: 85px;
	}
}

#footer_button_area .icon span {
    font-weight: 400;
}

/* 事業案内 */
body .service-description {
	position: relative;
	display: block !important;
	width: 100%;
	margin-bottom: 185px;

	.service-description-image {
		width: 50%;
		box-shadow: 3px 3px 15px -5px #777777;
		img {
			border-radius: 20px;
		}
	}
	.service-description-text {
		background: #fff;
		box-shadow: 3px 3px 15px -5px #777777;
		width: calc(50% + 40px) !important;
		border: #d9d9d9 1px solid;
		border-radius: 20px;
		padding: 60px;
		position: absolute;
		top: 145px;
		right: 0;
	}
}

