/*
Theme Name: Aporon Child
Template: twentytwentyfive
Version: 1.1
Text Domain: aporon-child
*/

body, h1, h2, h3, h4, h5, h6, p, a, button {
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.wp-block-post-content, body {
	color: #2a3240;
}

.wp-block-group h2 {
	letter-spacing: .02em;
}

.wp-block-button__link {
	border-radius: 999px !important;
	padding: 14px 34px !important;
	font-weight: 600;
	transition: transform .15s ease, box-shadow .15s ease;
}
.wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.wp-block-group[style*="border-radius:14px"] {
	transition: transform .15s ease, box-shadow .15s ease;
}
.wp-block-group[style*="border-radius:14px"]:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(10,35,64,.12);
}

@media (max-width: 782px) {
	h1 { font-size: 2rem !important; }
}

/* --- 会社概要: 情報カード --- */
.apr-info-card {
	display: flex;
	flex-wrap: wrap;
	gap: 50px;
}
.apr-info-col {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.apr-info-col + .apr-info-col {
	border-left: 1px solid #e3e8ee;
	padding-left: 50px;
}
@media (max-width: 680px) {
	.apr-info-col + .apr-info-col {
		border-left: none;
		padding-left: 0;
		border-top: 1px solid #e3e8ee;
		padding-top: 26px;
	}
}
.apr-info-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}
.apr-info-icon {
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: #0a2340;
	display: flex;
	align-items: center;
	justify-content: center;
}
.apr-info-icon svg {
	width: 18px;
	height: 18px;
	stroke: #ffffff;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.apr-info-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.apr-info-label {
	font-size: 12px;
	letter-spacing: .08em;
	color: #8591a3;
	font-weight: 600;
}
.apr-info-value {
	font-size: 16px;
	font-weight: 600;
	color: #16233a;
	line-height: 1.7;
	word-break: keep-all;
	overflow-wrap: normal;
}

/* --- 沿革: タイムライン --- */
.apr-timeline {
	position: relative;
	padding-left: 28px;
}
.apr-timeline::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	background: #dbe2eb;
}
.apr-timeline-item {
	position: relative;
	padding-bottom: 34px;
}
.apr-timeline-item:last-child {
	padding-bottom: 0;
}
.apr-timeline-item::before {
	content: "";
	position: absolute;
	left: -28px;
	top: 6px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #0a2340;
	border: 3px solid #d7e4f5;
}
.apr-timeline-year {
	font-size: 13px;
	font-weight: 700;
	color: #0a2340;
	letter-spacing: .04em;
	margin-bottom: 6px;
}
.apr-timeline-text {
	color: #3b4556;
	line-height: 1.8;
}

/* --- お問い合わせ: CF7フォーム --- */
.wpcf7-form p {
	margin-bottom: 20px;
}
.wpcf7-form label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	color: #16233a;
	margin-bottom: 8px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d7dee6;
	border-radius: 8px;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	background: #ffffff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: #0a2340;
	box-shadow: 0 0 0 3px rgba(10,35,64,.1);
}
.wpcf7-form textarea {
	min-height: 160px;
	resize: vertical;
}
.wpcf7-form .wpcf7-quiz {
	width: 140px;
}
.wpcf7-form input[type="submit"] {
	background: #0a2340;
	color: #ffffff;
	border: none;
	border-radius: 999px;
	padding: 14px 40px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
}
.wpcf7-form input[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.wpcf7-form .wpcf7-not-valid-tip {
	color: #c0392b;
	font-size: 13px;
	margin-top: 6px;
}
.wpcf7-form .wpcf7-response-output {
	border-radius: 8px;
	padding: 14px 18px;
	margin-top: 20px;
}

/* --- トップページ: 事業内容カード --- */
.apr-service-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}
.apr-service-card {
	flex: 1 1 230px;
	border: 1px solid #e3e8ee;
	border-radius: 14px;
	padding: 30px 26px;
	background: #ffffff;
	transition: transform .15s ease, box-shadow .15s ease;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.apr-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(10,35,64,.12);
}
.apr-service-icon {
	width: 46px;
	height: 46px;
	border-radius: 13px;
	background: #0a2340;
	display: flex;
	align-items: center;
	justify-content: center;
}
.apr-service-icon svg {
	width: 22px;
	height: 22px;
	stroke: #ffffff;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.apr-service-title {
	font-size: 17px;
	font-weight: 700;
	color: #16233a;
}
.apr-service-desc {
	font-size: 14px;
	line-height: 1.8;
	color: #5b6577;
	flex-grow: 1;
}
.apr-service-link {
	font-size: 13px;
	font-weight: 600;
	color: #0a2340;
	text-decoration: none;
}
.apr-service-link:hover {
	text-decoration: underline;
}

/* --- トップページ: 選ばれる理由 --- */
.apr-feature-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}
.apr-feature-item {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.apr-feature-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #e9eef5;
	display: flex;
	align-items: center;
	justify-content: center;
}
.apr-feature-icon svg {
	width: 24px;
	height: 24px;
	stroke: #0a2340;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.apr-feature-title {
	font-size: 16px;
	font-weight: 700;
	color: #16233a;
}
.apr-feature-desc {
	font-size: 14px;
	line-height: 1.8;
	color: #5b6577;
}

/* --- トップページ: ヒーロー --- */
.apr-hero-lead {
	font-size: 17px;
	line-height: 2;
	max-width: 640px;
}

/* --- アクセス: 地図 --- */
.apr-map-frame {
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #e3e8ee;
	line-height: 0;
}
.apr-map-frame iframe {
	width: 100%;
	display: block;
}

/* --- 代表略歴 --- */
.apr-history-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.apr-history-item {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	line-height: 1.8;
}
.apr-history-period {
	flex: 0 0 190px;
	font-weight: 700;
	color: #0a2340;
	white-space: nowrap;
}
.apr-history-text {
	flex: 1 1 320px;
	color: #2a3240;
}

/* --- 代表挨拶: 似顔絵 --- */
.apr-greeting-portrait {
	float: right;
	width: 130px;
	margin: 0 0 16px 24px;
}
.apr-greeting-portrait img {
	display: block;
	width: 100%;
	height: auto;
}
@media (max-width: 600px) {
	.apr-greeting-portrait {
		width: 100px;
	}
}

/* --- 迷惑電話対策: JSで組み立てる電話番号リンク --- */
.apr-tel {
	color: inherit;
	text-decoration: none;
}
.apr-tel:hover {
	text-decoration: underline;
}

/* --- トップページ: ヒーロー背景のネットワークアニメーション --- */
.apr-hero {
	position: relative;
	overflow: hidden;
}
.apr-hero-net {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	opacity: 0.55;
	pointer-events: none;
	z-index: 0;
}
