/*
Theme Name: BusinessPress Child
Template: businesspress
Version: 1.0.0
*/

body {
	background-color: #f0f8ff;
}

.top-bar-content,
.main-header-content,
.featured-entry-content,
.home-header-content,
.jumbotron-content,
.site-content,
.container-content,
.footer-widget-content,
.site-bottom-content {
	max-width: 1180px;
}

.entry-content>h2,
.entry-content>.h2-subtitle {
	text-align: center;
}

h2 {
	position: relative;
	margin: 0 auto 2em;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #1a1a1a;
	display: table;
}

/* h2の直前の英字サブタイトル */
.h2-subtitle {
	text-align: center;
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	color: #0056b3;
	font-weight: 600;
	margin-bottom: 0px;
	text-transform: uppercase;
}

h2::after {
	content: '';
	display: block;
	width: 0;
	height: 2px;
	background: #0056b3;
	margin: 10px 0 0;
	transition: width 0.6s ease-out;
}

h2.is-visible::after {
	width: 100%;
}

.scroll-fadein h2.is-visible::after {
	transition-delay: 0.6s;
}

/* jumbotron-titleには下線を適用しない */
.jumbotron-title::after {
	display: none;
}

/* 全幅セクション */
.sv-section-full {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	background-color: #fff;
}

.sv-section-full--navy {
	background-color: #003366;
	color: #fff;
}

.sv-section-full--navy h2,
.sv-section-full--navy .h2-subtitle {
	color: #fff;
}

.sv-section-full--navy h2::after {
	background: #fff;
}

.sv-section-full--navy .cta-tel-col {
	border-top-color: #fff;
	border-bottom-color: #fff;
}

.sv-section-full--navy .cta-tel-link {
	color: #fff;
}

.sv-section-full--navy .cta-icon-box,
.sv-section-full--navy .cta-mail-btn svg {
	color: #003366;
	margin-right: 1rem;
}

.sv-section-full--navy .cta-icon-box {
	background-color: #fff;
}

.sv-section-full--navy .cta-icon-box svg {
	width: 24px;
	height: 23px;
	stroke: #003366;
}

.sv-section-full--navy .cta-icon-box svg polygon,
.sv-section-full--navy .cta-icon-box svg polyline {
	stroke-width: 3;
}

.sv-section-full--navy .cta-mail-btn svg {
	stroke: #003366;
}

.sv-section-full--navy .cta-address {
	color: #fff;
}

.sv-section-full--navy .cta-mail-btn {
	background-color: #fff;
	color: #003366;
}

.sv-section-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

/* CTAが最後のセクションのときは.content-areaのマージンを消す */
.content-area:has(.sv-section-full--last) {
	margin-bottom: 0;
}

/* フッター背景色 */
.site-footer,
.footer-widgets,
.site-bottom {
	background-color: #3e3e3e !important;
	color: #fff;
}

.site-footer a,
.footer-widgets a,
.site-bottom a {
	color: #fff;
}

/* 実績サムネイル画像：カラム幅いっぱいに、横長比率でトリミング表示 */
.achievement-photo {
	margin: 0;
}

.achievement-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 8px;
}

/* 通常の段落：読みやすい行長に制限して中央寄せ */
.wp-block-paragraph {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-list {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.contact-section {
	border-radius: 4px !important;
	display: grid;
	grid-template-columns: 2fr 1fr;
	margin-top: 40px;
	background: #0056b3;
	color: #ffffff;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-card {
	padding: 44px 40px;
	border-right: 1px solid rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.contact-card--tel {
	border-right: none;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}

.contact-card__header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
}

.contact-card--tel .contact-card__header {
	margin-bottom: 14px;
}

.contact-card__icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #ffffff;
	color: #003366;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-card--tel .contact-card__icon {
	width: 34px;
	height: 34px;
}

.contact-card__icon svg {
	width: 18px;
	height: 18px;
}

.contact-card--tel .contact-card__icon svg {
	width: 15px;
	height: 15px;
}

.contact-card__title {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #ffffff;
}

.contact-card--tel .contact-card__title {
	font-size: 0.95rem;
	letter-spacing: 0.08em;
}

.contact-card__text {
	margin: 0;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.85);
	max-width: 420px;
}

.contact-card__arrow {
	position: relative;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #5b9be0, #0b4f80);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #ffffff;
	text-decoration: none;
	transition: transform 0.25s ease;
}

.contact-card__arrow::before {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 1px dashed rgba(255, 255, 255, 0.4);
}

.contact-card__arrow:hover {
	transform: scale(1.06);
}

.contact-card__arrow svg {
	width: 20px;
	height: 20px;
}

.contact-card__number {
	margin: 0 0 8px;
	font-size: clamp(1.4rem, 3vw, 1.7rem);
	font-weight: 700;
	letter-spacing: -0.01em;
}

.contact-card__number a {
	color: #ffffff;
	text-decoration: none;
}

.contact-card__hours {
	margin: 0;
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 767px) {
	.contact-section {
		grid-template-columns: 1fr;
	}

	.contact-card {
		border-right: none;
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
		padding: 36px 24px;
	}

	.contact-card--tel {
		border-bottom: none;
	}
}


.service-card {
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 32px 0;
	display: flex;
	flex-direction: column;
	height: 100%;
	border-top: 1px solid #dadada;
	border-bottom: 1px solid #dadada;

}



.service-card h3 {
	margin: 0 0 12px;
	color: #212529;
	font-weight: 600;
}

.service-card p {
	margin: 0;
	color: #6c757d;
	line-height: 1.8;
	flex-grow: 1;
}


.wp-block-columns .wp-block-column:first-child .service-card--main {
	flex-basis: 100%;
}

.entry-content>h2+.section-lead+h3 {
	margin-bottom: 16px;
}

.entry-content>h2+.section-lead+h3+p {
	margin-bottom: 32px;
}

.wp-block-column>h3 {
	margin-bottom: 16px;
}

.wp-block-column>h3+p {
	margin-bottom: 0;
}

.service-card--main {
	border-top: none;
	border-left: 3px solid #003366;
	padding: 4px 0 0 28px;
}

.service-card--main .service-card__icon {
	color: #003366;
	font-size: 36px;
	margin-bottom: 20px;
}

.service-card--main h3 {
	color: #003366;
	font-size: 1.4rem;
	margin-bottom: 16px;
}

/* 箇条書きリスト形式 */
.service-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.service-list li {
	padding: 12px 0;
	border-bottom: 1px solid #f0f0f0;
	color: #495057;
	font-size: 0.95rem;
	line-height: 1.6;
	display: flex;
	align-items: center;
}

.service-list li:before {
	content: '•';
	color: #0056b3;
	font-size: 1.2rem;
	margin-right: 12px;
	font-weight: bold;
}

.service-list li:last-child {
	border-bottom: none;
}

/* セクションリード文 */
.section-lead {
	color: #6c757d;
	line-height: 1.9;
	margin: 1em auto 3.5em;
	max-width: 900px;
	font-weight: 400;
}

/* カードレイアウト調整 */
.wp-block-columns {
	gap: 24px;
	align-items: stretch;
}

.wp-block-columns .wp-block-column {
	flex: 0 1 auto;
}

/* 所属団体用リスト */
.organization-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.organization-list li {
	padding: 16px 0;
	border-bottom: 1px solid #f0f0f0;
	color: #495057;
	font-size: 1rem;
	line-height: 1.6;
	display: flex;
	align-items: center;
}

.organization-list li:before {
	content: '🤝';
	margin-right: 16px;
	font-size: 1.5rem;
}

.organization-list li:last-child {
	border-bottom: none;
}


table.company-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	border: none !important;
	margin-bottom: 0 !important;
}

.wp-block-table table.company-table th,
.wp-block-table table.company-table td {
	padding: 16px 24px !important;
	text-align: left;
	border: none !important;
	border-bottom: 1px solid #f0f0f0 !important;
}

.wp-block-table table.company-table th {
	background: #f8f9fa;
	font-weight: 600;
	color: #212529;
	width: 20%;
}

.wp-block-table table.company-table tr:last-child td {
	border-bottom: none !important;
}

.wp-block-table table.company-table tbody tr:hover {
	background: #f8f9fa;
}


h3 {
	max-width: 900px;
	margin-left: auto;
	margin-right: auto;
}

.site-credit {
	display: none;
}


.image-box {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.image-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 768px) {
	.image-box {
		aspect-ratio: 1 / 1;
	}
}

/* =====================================
   採用ページ用スタイル
===================================== */

/* 交互に背景色を変えるセクション */
.entry-content>.wp-block-group.recruit-section:nth-child(odd) {
	padding: 80px 20px;
}

.entry-content>.wp-block-group.recruit-section:nth-child(even) {
	padding: 80px 20px;
}

/* recruit-section内のh2のマージントップをリセット */
.recruit-section h2 {
	margin-top: 0;
}

/* 業務内容説明セクション */
.business-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.business-content__text {
	padding: 20px 0;
}

.business-content__text h3 {
	font-size: 1.5rem;
	color: #212529;
	margin-bottom: 20px;
	font-weight: 600;
}

.business-content__text p {
	color: #6c757d;
	line-height: 1.9;
	margin-bottom: 16px;
}

.business-content__image {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 反転レイアウト（画像左・テキスト右） */
.business-content--reverse {
	direction: rtl;
}

.business-content--reverse .business-content__text {
	direction: ltr;
}

/* スマホ対応 */
@media (max-width: 768px) {
	.recruit-section {
		padding: 60px 0;
	}

	.business-content {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.business-content--reverse {
		direction: ltr;
	}

	.business-content__text h3 {
		font-size: 1.3rem;
	}

	.business-content__text p {
		font-size: 0.95rem;
	}
}



/* =====================================
   Recruit Catch
===================================== */

.recruit-catch-sub {
	margin: 0 0 16px;
	color: #1d5eb8;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.recruit-catch {
	position: relative;
	margin: 0;
	font-family:
		"Yu Mincho",
		"YuMincho",
		"Hiragino Mincho ProN",
		"Noto Serif JP",
		serif;
	font-size: clamp(32px, 4vw, 32px);
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: .05em;
	color: #222;
	text-align: left;
}


.recruit-catch::after {
	display: none;
}


.recruit-catch-text {
	margin: 28px 0 0;
	max-width: 560px;

	font-size: 17px;
	line-height: 2;
	color: #666;
}

.recruit-message {
	align-items: center;
	gap: 60px;
}

.recruit-message .wp-block-media-text__media img {
	border-radius: 6px;
}

@media (max-width:768px) {

	.recruit-message {
		gap: 35px;
	}

	.recruit-catch-sub {
		text-align: center;
	}

	.recruit-catch {
		padding-left: 0;
		text-align: center;
		font-size: 30px;
	}

	.recruit-catch::before {
		display: none;
	}

	.recruit-catch-text {
		margin: 22px auto 0;
		font-size: 16px;
		line-height: 1.9;
	}

}

/* デフォルト（PC）は改行しない */
.sp-br {
	display: none;
}

/* スマホだけ改行 */
@media (max-width: 767px) {
	.sp-br {
		display: block;
	}
}

/* =====================================
   Strength List デザイン
===================================== */

.strength-list {
	margin: 40px auto 0;
	max-width: 700px;
	border: 1px solid #f0f0f0;
	border-radius: 6px;
	background: #fff;
	padding: 24px;
}

.strength-item {
	position: relative;
	padding: 20px 24px 20px 64px;
	margin-bottom: 16px;
	background: transparent;
	border-bottom: 1px solid #e0e0e0;
	border-radius: 0;
	font-size: 16px;
	line-height: 1.8;
	color: #333;
	transition: all 0.3s ease;
}

.strength-item:last-child {
	margin-bottom: 0;
	border-bottom: none;
}

.strength-item::before {
	content: attr(data-number);
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 24px;
	font-weight: 700;
	color: #0056b3;
	letter-spacing: 0.05em;
}

.strength-item:hover {
	transform: translateX(4px);
}

/* =====================================
   ボタンデザイン
===================================== */

/* WordPressボタンブロックのスタイルリセット */
.wp-block-button .wp-block-button__link {
	padding: 16px 40px !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.1em !important;
	text-align: center !important;
	text-decoration: none !important;
	border: none !important;
	border-radius: 4px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	box-sizing: border-box !important;
	background-color: #0056b3 !important;
	color: #ffffff !important;
	border-radius: 4px !important;
}

/* ベースボタンスタイル */
.btn {
	display: inline-block;
	padding: 16px 40px;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-align: center;
	text-decoration: none;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-sizing: border-box;
}

/* プライマリボタン（ネイビー） */
.btn-primary,
.wp-block-button__link.is-style-primary,
.wp-block-button.btn-primary .wp-block-button__link {
	background-color: #0056b3 !important;
	color: #ffffff !important;
}

.btn-primary:hover,
.wp-block-button__link.is-style-primary:hover,
.wp-block-button.btn-primary .wp-block-button__link:hover {
	background-color: #004494 !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.btn-primary:active,
.wp-block-button__link.is-style-primary:active,
.wp-block-button.btn-primary .wp-block-button__link:active {
	transform: translateY(0);
}

/* セカンダリボタン（白枠・ネイビー文字） */
.btn-secondary,
.wp-block-button__link.is-style-secondary {
	background-color: transparent;
	color: #0056b3;
	border: 2px solid #0056b3;
}

.btn-secondary:hover,
.wp-block-button__link.is-style-secondary:hover {
	background-color: #0056b3;
	color: #ffffff;
	transform: translateY(-2px);
}

.btn-secondary:active,
.wp-block-button__link.is-style-secondary:active {
	transform: translateY(0);
}

/* アウトラインボタン（グレー枠） */
.btn-outline,
.wp-block-button__link.is-style-outline {
	background-color: transparent;
	color: #495057;
	border: 1px solid #d0d0d0;
}

.btn-outline:hover,
.wp-block-button__link.is-style-outline:hover {
	border-color: #0056b3;
	color: #0056b3;
	transform: translateY(-2px);
}

.btn-outline:active,
.wp-block-button__link.is-style-outline:active {
	transform: translateY(0);
}

/* テキストボタン（下線付き） */
.btn-text,
.wp-block-button__link.is-style-text {
	background-color: transparent;
	color: #0056b3;
	padding: 8px 0;
	border-bottom: 2px solid transparent;
	letter-spacing: 0.05em;
}

.btn-text:hover,
.wp-block-button__link.is-style-text:hover {
	border-bottom-color: #0056b3;
}

.btn-text:active,
.wp-block-button__link.is-style-text:active {
	color: #004494;
}

/* ボタンサイズ：小 */
.btn-sm {
	padding: 12px 28px;
	font-size: 0.85rem;
}

/* ボタンサイズ：大 */
.btn-lg {
	padding: 20px 56px;
	font-size: 1.05rem;
}

/* ボタン幅：100% */
.btn-block {
	display: block;
	width: 100%;
}

/* ボタングループ */
.btn-group {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

/* スマホ対応 */
@media (max-width: 768px) {
	.btn {
		padding: 14px 32px;
		font-size: 0.9rem;
	}

	.btn-group {
		flex-direction: column;
		gap: 12px;
	}

	.btn-group .btn {
		width: 100%;
	}
}

/* =====================================
   スクロールフェードインアニメーション
===================================== */

.scroll-fadein--init {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-fadein.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* =====================================
   先輩の声
===================================== */

.voice-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 40px auto 0;
	max-width: 1180px;
}

.voice-card {
	background: #f8fbfd;
	border-radius: 8px;
	padding: 32px 28px;
	text-align: center;
}

.voice-card__photo {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 20px;
	background: #e6f1fb;
}

.voice-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.voice-card__name {
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 6px;
}

.voice-card__role {
	font-size: 0.9rem;
	color: #717171;
	margin: 0 0 20px;
	letter-spacing: 0.03em;
}

.voice-card__quote {
	position: relative;
	margin: 0;
	line-height: 1.9;
	color: #495057;
	text-align: left;
}



@media (max-width: 1023px) {
	.voice-grid {
		grid-template-columns: 1fr;
	}
}

/* =====================================
   1日の流れ
===================================== */

.daily-timeline {
	max-width: 640px;
	margin: 40px auto 0;
}

.daily-timeline__item {
	display: flex;
	gap: 20px;
}

.daily-timeline__time {
	flex: 0 0 68px;
	padding-top: 2px;
	font-weight: 700;
	color: #0056b3;
	text-align: right;
}

.daily-timeline__marker {
	position: relative;
	flex: 0 0 12px;
	display: flex;
	justify-content: center;
}

.daily-timeline__marker::before {
	content: '';
	width: 12px;
	height: 12px;
	margin-top: 6px;
	border-radius: 50%;
	background: #0056b3;
	z-index: 1;
}

.daily-timeline__marker::after {
	content: '';
	position: absolute;
	top: 22px;
	bottom: -32px;
	left: 50%;
	width: 2px;
	background: #e0e6ec;
	transform: translateX(-50%);
}

.daily-timeline__item:last-child .daily-timeline__marker::after {
	display: none;
}

.daily-timeline__content {
	flex: 1;
	padding-bottom: 32px;
}

.daily-timeline__content h4 {
	margin: 0 0 8px;
	color: #212529;
	font-weight: 600;
}

.daily-timeline__content p {
	margin: 0;
	color: #6c757d;
	line-height: 1.8;
}

@media (max-width: 600px) {
	.daily-timeline__time {
		flex-basis: 56px;
		font-size: 0.95rem;
	}
}





/* CTA Section */
/* CTA Section */
.common-cta {
	background-color: #f0f0f0;
	padding: 60px 20px;
	/* スマホで左右に余白を持たせる */
	text-align: center;
}

.cta-lead {
	margin-bottom: 20px;
	font-size: 15px;
	/* スマホで見やすいサイズに調整 */
}

.cta-main-box {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
	max-width: 1000px;
	margin: 0 auto;
}

/* Tel Column */
.cta-tel-col {
	flex: 1;
	height: 100px;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.cta-tel-content {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 2px;
}

.cta-icon-box {
	flex: 0 0 36px;
	height: 36px;
	background-color: #333;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cta-icon-box img {
	width: 18px;
	height: auto;
}

.cta-tel-link {
	font-size: 38px;
	font-weight: bold;
	color: #333;
	text-decoration: none;
	line-height: 1;
}

.cta-address {
	font-size: 11px;
	color: #333;
	margin: 0;
}

/* Mail Button */
.cta-btn-col {
	flex: 1;
	height: 100px;
}

.cta-mail-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #000;
	color: #fff;
	width: 100%;
	height: 100%;
	font-size: 22px;
	font-weight: 700;
	text-decoration: none;
}

.cta-mail-btn img {
	width: 32px;
	margin-right: 15px;
}

.cta-footer-sub {
	display: flex;
	justify-content: center;
	gap: 40px;
	font-size: 14px;
	font-weight: 400;
	color: var(--text-black);
	margin-top: 20px;
}


/* ==========================================
   スマートフォン用メディアクエリ（768px以下）
   ========================================== */
@media screen and (max-width: 768px) {
	.common-cta {
		padding: 40px 16px;
	}

	.cta-main-box {
		flex-direction: column;
		/* ちゃんと縦並びにします */
		gap: 16px;
	}

	/* 電話カラムの調整 */
	.cta-tel-col {
		width: 100%;
		height: auto;
		padding: 20px 0;
	}

	.cta-tel-link {
		font-size: 28px;
	}

	/* メールボタンの調整（縦幅をしっかり持たせる） */
	.cta-btn-col {
		width: 100%;
		height: auto;
	}

	.cta-mail-btn {
		width: 100%;
		padding: 20px 0;
		/* 上下に適度な余白をつけて押しやすくする */
		font-size: 18px;
	}

	.cta-mail-btn img {
		width: 26px;
		margin-right: 10px;
	}

	.cta-footer-sub {
		flex-direction: column;
		gap: 10px;
		font-size: 13px;
		margin-top: 16px;
	}
}

/* =====================================
   ボタンホバー時の2色化バグ修正
===================================== */
.wp-block-button a:hover {
	background-color: #004494 !important;
	opacity: 1 !important;
}