/**
 * Corporate Top Page Styles (コーポレートサイト トップ)
 *
 * Mobile-first: base styles for 400px, desktop overrides at 768px+.
 *
 * Font: Noto Sans JP (Regular 400, Medium 500, Bold 700),
 *       Reddit Sans (SemiBold 600), Zen Kaku Gothic New (Bold 700, Black 900)
 * Text color: #333333
 * Corporate green: #6BB529
 * Background: #F3F8E7
 *
 * @package Okayama
 */



.corp-top {
	background-color: #f3f8e7;
	font-family: 'Noto Sans JP', sans-serif;
	color: #333;
	overflow-x: hidden;
}



.corp-top-hero {
	position: relative;

	background: linear-gradient(to bottom, #fff 0, #fff 70%, #f3f8e7 70%);
	padding: 0 20px;
}


.corp-top-hero__inner {
	position: relative;
}


.corp-top-hero__kv {
	position: relative;
	z-index: 1;
	border-radius: 8px;
	padding-bottom: 350px;

}

.corp-top-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1s ease;
}

.corp-top-hero__slide.is-active {
	position: relative;
	opacity: 1;
}



.corp-top-hero__kv-img {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 0;
}


@media (max-width: 767px) {
	.corp-top-hero__kv-img {
		position: static;
	}
}



.corp-top-hero__overlay {
	position: absolute;
	z-index: 2;
	top: -10px;
	left: 10px;
}


.corp-top-hero__overlay-img--pc {
	display: none;
}


.corp-top-hero__overlay-sp {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
}

.corp-top-hero__headline--green {
	order: -1;
	background: #fff;
	padding: 10px;
	border-radius: 5px;
	margin: 0;
}

.corp-top-hero__headline-img {
	display: block;
	width: auto;
	max-height: 200px;
	object-fit: contain;
}

.corp-top-hero__sub-group {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	padding-top: 10px;
	margin-bottom: 0;
	gap: 5px;
}

.corp-top-hero__sub {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: clamp(11px, calc(9.8px + 0.3vw), 14px);
	font-weight: 500;
	line-height: 1.8;
	color: #333;
	margin: 0 0 6px;
}

.corp-top-hero__sub--banner {
	display: inline-block;
	background: transparent;
	padding: 0;
	margin: 0;
}



.corp-top-hero__textbox {
	position: relative;
	background-color: #fff;
	padding: 32px 20px;
	margin-top: 16px;
	border-radius: 8px;
	min-height: 120px;
	display: none;
	text-align: center;
}

.corp-top-hero__textbox-title {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: clamp(22px, calc(16px + 1.5vw), 36px);
	font-weight: 700;
	line-height: 1.5;
	color: #6bb529;
	margin: 0 0 12px;
}

.corp-top-hero__textbox-sub {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: clamp(13px, calc(12px + 0.25vw), 16px);
	font-weight: 500;
	line-height: 1.8;
	color: #6bb529;
	margin: 0;
}


.corp-top-hero__deco {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	overflow: visible;

	left: 0;
	right: 0;
	top: 150px;
}

.corp-top-hero__deco-item {
	position: absolute;
	overflow: hidden;

}

.corp-top-hero__deco-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


.corp-top-hero__deco-item--1 {
	width: 117px;
	height: 78px;
	top: 181px;
	left: 20px;
	z-index: 1;
}

.corp-top-hero__deco-item--2 {
	width: 85px;
	height: 85px;
	top: 173px;
	left: auto;
	right: 20px;
	z-index: 1;
}

.corp-top-hero__deco-item--3 {
	width: 70px;
	height: 48px;
	top: 271px;
	left: 40px;
	z-index: 2;
}

.corp-top-hero__deco-item--4 {
	width: 88px;
	height: 87px;
	top: 279px;
	left: auto;
	right: max(60px, 15%);
	z-index: 2;
}

.corp-top-hero__deco-item--5 {
	width: 74px;
	height: 64px;
	top: 349px;
	left: 20px;
	z-index: 3;
}

.corp-top-hero__deco-item--6 {
	width: 82px;
	height: 58px;
	top: 395px;
	left: auto;
	right: 20px;
	z-index: 3;
}



.corp-top-catch {
	text-align: center;
	padding: 48px 20px 0;
	margin-top: 200px;
}

.corp-top-catch__title {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: clamp(28px, calc(23.2px + 1.2vw), 40px);
	font-weight: 700;
	line-height: 1.6;
	color: #333;
	margin: 0 0 24px;
	text-decoration: underline;
	text-decoration-color: #6bb529;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

.corp-top-catch__text {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: clamp(14px, calc(13.2px + 0.2vw), 16px);
	font-weight: 700;
	line-height: 2;
	color: #333;
	margin: 0;
}




.corp-top-content {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 120px;
	padding: 100px 20px 0;
	width: 100%;
	box-sizing: border-box;
}



.corp-top-section {
	width: 100%;
	box-sizing: border-box;
}

.corp-top-section__card {
	background-color: #fff;
	border-radius: 10px;
	padding: 40px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
}


.corp-top-section__card .corp-top-heading {
	margin-top: -100px;
}

.corp-top-section__desc {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #333;
	line-height: 1.6;
	text-align: center;
	margin: 0 0 24px;
}

.corp-top-section__btn-wrap {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}


.corp-top-news .corp-top-section__btn-wrap {
	justify-content: flex-end;
}

.corp-top-news .corp-top-btn {
	background: none;
	border: none;
	padding: 0;
	min-width: auto;
	height: auto;
	gap: 5px;
	font-weight: 400;
	font-size: 14px;
	color: #333;
}

.corp-top-news .corp-top-btn:hover {
	background: none;
	color: #6bb529;
}

.corp-top-news .corp-top-btn__icon {
	width: 15px;
	height: 15px;
}



.corp-top-cards {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 320px;
}

.corp-top-section__subtitle {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #6bb529;
	line-height: 1.6;
	text-align: center;
	margin: 32px 0 24px;
}


.corp-top-company-nav {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 320px;
}


.corp-top-btn {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 28px;
	background-color: #6bb529;
	color: #fff;
	border: 2px solid #6bb529;
	border-radius: 400px;
	padding: 12px 16px 12px 64px;
	min-width: 240px;
	height: 48px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 1.6;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.corp-top-btn span {
	flex: 1;
	text-align: center;
}

.corp-top-btn:hover {
	background-color: #fff;
	color: #6bb529;
}

.corp-top-btn:hover .corp-top-btn__icon circle {
	fill: #6bb529;
}

.corp-top-btn:hover .corp-top-btn__icon path {
	stroke: #fff;
}

.corp-top-btn__icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}



.corp-top-recruit {
	width: 100%;
}

.rb-container {
	position: relative;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	overflow: hidden;
	background-color: #6bb529;
	border-radius: 10px;

	display: flex;
	flex-direction: column;
}



.rb-bg-svg {
	position: absolute;
	top: -43px;
	left: calc(50% - 167.5px);
	width: 335px;
	height: 335px;
	pointer-events: none;
	opacity: 0.5;
	mix-blend-mode: multiply;
}

.rb-svg-inner {
	width: 100%;
	height: 100%;
}


.rb-content {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px 24px 24px;

	text-align: center;
}

.rb-header {
	display: flex;
	flex-direction: row;

	align-items: baseline;

	gap: 16px;
	margin-bottom: 10px;
}

.rb-title-jp {
	margin: 0;
	color: #fff;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1;
}

.rb-title-en {
	color: #43810d;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1;
}

.rb-divider {
	width: 80px;
	height: 1px;
	background-color: rgba(255, 255, 255, 0.4);
	margin-bottom: 10px;
}

.rb-main-text {
	margin: 0;
	color: #fff;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 20px;
	font-weight: 900;
	line-height: 1.4;
	letter-spacing: 0.05em;
}


.rb-button {
	display: inline-flex;
	align-items: center;
	gap: 24px;
	margin-top: 24px;
	background-color: #fff;
	border-radius: 400px;
	padding: 12px 16px 12px 40px;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.rb-button:hover {
	background-color: rgba(255, 255, 255, 0.9);
}

.rb-button-text {
	color: #6bb529;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
	font-size: 14px;
	white-space: nowrap;
}

.rb-button-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rb-button-icon svg {
	display: block;
}


.rb-images-section {
	position: relative;
	z-index: 10;
	padding: 0 24px 24px;
}

.rb-images-grid {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
}

.rb-image {
	flex: 1;
	min-width: 0;
	max-width: 120px;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 12px;
	display: block;
}



.corp-top-news {
	width: 100%;
	max-width: 360px;
}

.corp-top-news__card {
	background-color: #fff;
	border-radius: 18px;
	padding: 40px 20px;
}

.corp-top-news__heading {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: center;
	text-align: center;
	margin-bottom: 32px;
}

.corp-top-news__title {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: clamp(28px, calc(25.2px + 0.7vw), 35px);
	font-weight: 700;
	line-height: 1.6;
	color: #333;
	margin: 0;
}

.corp-top-news__subtitle {
	font-family: 'Reddit Sans', sans-serif;
	font-weight: 500;
	font-size: clamp(14px, calc(13.2px + 0.2vw), 16px);
	line-height: 1.6;
	color: #6bb529;
	text-transform: uppercase;
}

.corp-top-news__body {
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: center;
}

.corp-top-news__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.corp-top-news__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding-bottom: 16px;
	border-bottom: 1px solid #d9d9d9;
	color: #333;
	text-decoration: none;
	position: relative;
	transition: color 0.3s ease;
}

.corp-top-news__item::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 1px;
	background-color: #6bb529;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.65s ease-in-out;
}

.corp-top-news__item--emergency::after {
	background-color: #e52c2c;
}

.corp-top-news__item:hover {
	color: #6bb529;
}

.corp-top-news__item--emergency:hover {
	color: #e52c2c;
}

.corp-top-news__item:hover::after {
	transform: scaleX(1);
}

.corp-top-news__item-meta {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-shrink: 0;
}

.corp-top-news__item-date {
	font-family: 'Reddit Sans', sans-serif;
	font-weight: 600;
	font-size: clamp(15px, calc(14.6px + 0.1vw), 16px);
	line-height: 1.6;
	white-space: nowrap;
	transition: color 0.3s ease;
}

.corp-top-news__item-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #6bb529;
	color: #fff;
	border-radius: 400px;
	padding: 0 12px;
	height: 23px;
	font-size: 14px;
	line-height: 1.6;
	white-space: nowrap;
}

.corp-top-news__item-tag--emergency {
	background-color: #e52c2c;
}

.corp-top-news__item-title {
	flex: 1;
	font-size: clamp(14px, calc(13.2px + 0.2vw), 16px);
	line-height: 2;
	margin: 0;
	min-width: 0;
	color: #333;
	transition: color 0.3s ease;
}

.corp-top-news__item:hover .corp-top-news__item-title,
.corp-top-news__item:hover .corp-top-news__item-date {
	color: inherit;
}


.corp-top-content .corp-contact {
	padding: 0 20px 80px;
	width: 100%;
	box-sizing: border-box;
}

.corp-top-content .corp-contact__inner {
	width: 100%;
	box-sizing: border-box;
}



@media (min-width: 768px) {

	.corp-top-content .corp-contact {
		padding: 0 var(--corp-pad-side) 100px;
	}


	.corp-top-hero {
	
		background: linear-gradient(to bottom, #fff 0, #fff 50%, #f3f8e7 50%);
	}


	.corp-top-hero__kv {
		overflow: hidden;
	
		padding-bottom: 0;
	
	}

	.corp-top-hero__kv-img {
		height: auto;
		margin-top: 0;
	}

	.corp-top-hero__overlay {
		top: 85px;
		left: 57px;
		background: transparent;
	
		padding: 0;
		border-radius: 0;
	}


	.corp-top-hero__overlay-img--pc {
		display: block;
		width: clamp(280px, 28vw, 362px);
		height: auto;
	}

	.corp-top-hero__overlay-sp {
		display: none;
	}

	.corp-top-hero__textbox {
		margin-top: 24px;
		padding: 48px 40px;
		border-radius: 12px;
		min-height: 160px;
		display: block;
	}



	.corp-top-hero__deco-item--1 {
		width: clamp(120px, 15.6vw, 200px);
		height: clamp(80px, 10.4vw, 133px);
		top: clamp(241px, 31.4vw, 402px);
		left: clamp(35px, 4.5vw, 58px);
	}

	.corp-top-hero__deco-item--2 {
		width: clamp(99px, 12.9vw, 165px);
		height: clamp(98px, 12.8vw, 164px);
		top: clamp(230px, 30vw, 384px);
		left: auto;
		right: clamp(48px, 6.25vw, 80px);
	}

	.corp-top-hero__deco-item--3 {
		width: clamp(106px, 13.75vw, 176px);
		height: clamp(72px, 9.375vw, 120px);
		top: clamp(361px, 47vw, 602px);
		left: clamp(89px, 11.5vw, 148px);
	}

	.corp-top-hero__deco-item--4 {
		width: clamp(131px, 17.1vw, 219px);
		height: clamp(131px, 17vw, 218px);
		top: clamp(371px, 48.4vw, 619px);
		left: auto;
		right: clamp(86px, 11.2vw, 143px);
	}

	.corp-top-hero__deco-item--5 {
		width: clamp(112px, 14.5vw, 186px);
		height: clamp(95px, 12.4vw, 159px);
		top: clamp(465px, 60.5vw, 775px);
		left: clamp(48px, 6.25vw, 80px);
	}

	.corp-top-hero__deco-item--6 {
		display: block;
		width: clamp(123px, 16vw, 205px);
		height: clamp(87px, 11.3vw, 145px);
		top: clamp(527px, 68.6vw, 878px);
		right: clamp(56px, 7.25vw, 93px);
	}


	.corp-top-catch {
		padding: 100px var(--corp-pad-side) 0;
		margin-top: 0;
	}

	.corp-top-catch__title {
		font-size: 32px;
		line-height: 1.7;
		margin: 0 0 40px;
	}

	.corp-top-catch__title span {
		text-decoration: underline;
		text-decoration-color: #6bb529;
		text-underline-offset: 8px;
		text-decoration-thickness: 3px;
	}

	.corp-top-catch__text {
		font-size: 16px;
		line-height: 2;
	}



	.corp-top-content {
		gap: 200px;
		align-items: stretch;
		padding: 200px var(--corp-pad-side) 0;
		background-image: var(--deco-bg);
		background-repeat: no-repeat;
		background-position: left top;
		background-size: 100% auto;
	}


	.corp-top-section__card {
		position: relative;
		width: 100%;
		max-width: 1100px;
		margin: 0 auto;
		border-radius: 16px;
		padding: 64px 80px;
		overflow: visible;
	}


	.corp-top-section__card .corp-top-heading {
		margin-top: -140px;
		margin-bottom: 40px;
	}

	.corp-top-section__desc {
		font-size: 16px;
		line-height: 2;
		margin-bottom: 40px;
	}

	.corp-top-section__btn-wrap {
		margin-top: 40px;
	}


	.corp-top-news .corp-top-section__btn-wrap {
		justify-content: center;
	}

	.corp-top-news .corp-top-btn {
		background-color: #6bb529;
		border: 2px solid #6bb529;
		padding: 12px 16px 12px 64px;
		min-width: 240px;
		height: 56px;
		gap: 28px;
		font-weight: 500;
		font-size: 16px;
		color: #fff;
	}

	.corp-top-news .corp-top-btn:hover {
		background-color: #fff;
		color: #6bb529;
	}

	.corp-top-news .corp-top-btn__icon {
		width: 20px;
		height: 20px;
	}


	.corp-top-cards {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 20px;
		max-width: none;
	}

	.corp-top-cards--bottom {
		grid-template-columns: repeat(3, calc((100% - 60px) / 4));
		justify-content: center;
	}

	.corp-top-cards .corp-img-btn {
		width: 100%;
	}

	.corp-top-section__subtitle {
		font-size: 24px;
		margin: 40px 0 32px;
	}

	.corp-top-company-nav {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 20px;
		max-width: 940px;
	}

	.corp-top-company-nav .corp-nav__card {
		width: 100%;
	}


	.corp-top-btn {
		height: 56px;
		font-size: 16px;
		font-weight: 500;
	}



	.rb-container {
		flex-direction: row;
		align-items: stretch;
		min-height: 300px;
		border-radius: 24px;
	
	}


	.rb-bg-svg {
		width: 483px;
		height: 483px;
		top: calc(50% - 241.5px);
		left: calc(32% - 241.5px);
	}

	.rb-content {
		flex: 1;
		min-width: 0;
		align-items: center;
		padding: 42px 0;
		text-align: center;
		margin-left: 18%;
	}

	.rb-header {
		flex-direction: row;
		align-items: baseline;
		gap: 16px;
	}

	.rb-title-jp {
		font-size: clamp(17px, calc(11px + 0.781vw), 21px);
	}

	.rb-title-en {
		font-size: clamp(12px, calc(9px + 0.391vw), 14px);
	}

	.rb-divider {
		width: 100%;
		max-width: 200px;
		margin-bottom: 13px;
	}

	.rb-main-text {
		font-size: clamp(20px, calc(6.5px + 1.758vw), 29px);
	}

	.rb-button {
		margin-top: 32px;
		padding: 14px 20px 14px 40px;
	}

	.rb-button-text {
		font-weight: 500;
		font-size: clamp(14px, calc(11px + 0.391vw), 16px);
	}

	.rb-images-section {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		padding: 32px;
		flex-shrink: 1;
		width: 50%;
		min-width: 0;
	}

	.rb-images-grid {
		gap: 16px;
		width: 100%;
		justify-content: flex-end;
	}

	.rb-image {
		flex: 0 1 148px;
		max-width: 148px;
		border-radius: 16px;
	}



	.corp-top-news {
		width: 100%;
		max-width: 1100px;
		margin: 0 auto;
	}

	.corp-top-news__card {
		border-radius: 24px;
		padding: 64px 80px;
	}

	.corp-top-news__heading {
		gap: 6px;
		margin-bottom: 56px;
	}

	.corp-top-news__body {
		gap: 40px;
	}

	.corp-top-news__list {
		gap: 24px;
		max-width: 940px;
		margin: 0 auto;
	}

	.corp-top-news__item {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 10px;
		padding-bottom: 24px;
	}


	.corp-top-content .corp-contact__inner {
		max-width: 1100px;
	}
}



@media (min-width: 1400px) {
	.corp-top-cards {
		max-width: 940px;
	}
}

@media (max-width: 1024px) and (min-width: 769px) {

	.corp-top-section__card {
		padding: 48px 40px;
	}

	.corp-top-news__card {
		padding: 48px 40px;
	}

	.corp-top-cards .corp-img-btn {
		width: 100%;
		height: 180px;
	}


	.rb-content {
		padding: 42px 24px;
	}

	.rb-images-section {
		padding: 24px;
	}

	.rb-images-grid {
		gap: 10px;
	}

	.rb-image {
		flex: 0 1 120px;
		max-width: 120px;
	}
}
