/* Honima header overrides */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#gHeader {
	top: 0 !important;
}

#gHeader .hBox {
	min-height: 72px;
	padding-left: 40px;
	transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

#gHeader.min .hBox {
	box-shadow: 0 1px 0 rgba(20, 20, 20, 0.08);
}

#container {
	padding-top: 72px;
}

/* Logo — html { font-size: 62.5% } なので rem を大きめに */
#gHeader .logo {
	margin-top: 0;
	width: auto;
	min-width: 0;
	flex-shrink: 0;
}

#gHeader .logo a.honima-text-logo {
	display: block;
	position: relative;
	font-weight: 700;
	font-size: 2.8rem;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-decoration: none;
	white-space: nowrap;
	padding: 0;
}

#gHeader .logo a.honima-text-logo .white {
	display: block;
	color: #fff;
}

#gHeader .logo a.honima-text-logo .nor {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	color: #141414;
	transition: opacity 0.2s linear;
}

#gHeader .logo.on a.honima-text-logo .nor {
	opacity: 0;
}

@media all and (min-width: 768px) {
	/* Simplified nav (PC) */
	#gNavi .naviList.honima-navi > li {
		margin: 0 14px;
		display: flex;
		align-items: center;
	}

	#gNavi .naviList.honima-navi > li:not(.ctaBtn) a {
		height: auto;
		padding: 8px 0 10px;
		font-size: 1.4rem;
		font-weight: 500;
		letter-spacing: 0.06em;
		line-height: 1.4;
		white-space: nowrap;
		color: #111;
		transition: color 0.2s ease;
	}

	#gNavi .naviList.honima-navi > li:not(.ctaBtn) > a::before {
		left: 0;
		bottom: 4px;
		width: 100%;
		height: 2px;
		background: #d03720;
		transform-origin: left center;
		transition: transform 0.25s ease;
	}

	#gNavi .naviList.honima-navi > li:not(.ctaBtn) > a:hover {
		color: #d03720;
	}

	#gNavi .naviList.honima-navi > li:not(.ctaBtn) > a:hover::before,
	#gNavi .naviList.honima-navi > .current > a::before {
		transform: scaleX(1);
		transform-origin: left center;
	}

	#gNavi .naviList.honima-navi .ctaBtn,
	.min #gNavi .naviList.honima-navi .ctaBtn,
	#gHeader.min #gNavi .naviList.honima-navi .ctaBtn {
		margin-left: 20px;
		margin-right: 0;
		width: 72px;
		height: 72px;
		flex-shrink: 0;
	}
}

@media all and (min-width: 768px) and (max-width: 1099px) {
	#gHeader .hBox {
		min-height: 64px;
		padding-left: 24px;
	}

	#container {
		padding-top: 64px;
	}

	#gHeader .logo a.honima-text-logo {
		font-size: 2.4rem;
		letter-spacing: 0.08em;
	}

	#gNavi .naviList.honima-navi > li {
		margin: 0 8px;
	}

	#gNavi .naviList.honima-navi > li:not(.ctaBtn) a {
		font-size: 1.3rem;
	}

	#gNavi .naviList.honima-navi .ctaBtn,
	.min #gNavi .naviList.honima-navi .ctaBtn,
	#gHeader.min #gNavi .naviList.honima-navi .ctaBtn {
		width: 64px;
		height: 64px;
		margin-left: 12px;
	}
}

@media all and (max-width: 767px) {
	#container {
		padding-top: 60px;
	}

	#gHeader .hBox {
		min-height: 60px;
		padding-left: 16px;
		background: #fff;
	}

	.index #gHeader.noBg .hBox {
		background: transparent;
	}

	.index #gHeader.noBg .logo a.honima-text-logo .nor {
		opacity: 0;
	}

	#gHeader .logo {
		max-width: none;
	}

	#gHeader .logo a.honima-text-logo {
		font-size: 2.2rem;
		letter-spacing: 0.08em;
		padding: 0;
	}

	#gHeader .logo a.honima-text-logo .nor {
		top: 0;
	}

	.index #gHeader .logo {
		width: auto;
		padding-top: 0;
	}

	#gNavi .naviList.honima-navi > li {
		display: block;
		margin: 0;
	}

	#gNavi .naviList.honima-navi > li:not(.ctaBtn) a {
		color: #fff;
		font-size: 1.3rem;
		height: auto;
		padding: 15px 0 16px;
	}

	#gNavi .naviList.honima-navi > li:not(.ctaBtn) > a::before {
		display: none;
	}

	#gNavi .naviList.honima-navi > li:not(.ctaBtn) > a:hover {
		color: #fff;
	}

	#gNavi .naviList.honima-navi .ctaBtn,
	.min #gNavi .naviList.honima-navi .ctaBtn {
		width: auto;
		height: auto;
		margin: 0;
	}

	#gNavi .naviList.honima-navi .ctaBtn a {
		display: block;
		width: auto;
		height: auto;
		padding: 15px 0;
		color: #fff;
		font-size: 1.3rem;
		font-weight: 500;
		line-height: 1.5;
		background: url("../dms/img/icon06.svg") no-repeat right 18px center / 5px 9px;
	}
}

/* Footer */
#gFooter.honima-footer {
	padding: 64px 0 40px;
	border-top: 1px solid #eee;
	background: #fff;
}

#gFooter.honima-footer .honima-footer__inner {
	width: min(1100px, calc(100% - 48px));
	margin: 0 auto;
}

#gFooter.honima-footer .honima-footer__nav {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 40px 80px;
	margin: 0 0 48px;
	align-items: start;
}

#gFooter.honima-footer .honima-footer__heading {
	margin: 0 0 14px;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #111;
}

#gFooter.honima-footer .honima-footer__heading a {
	color: inherit;
	text-decoration: none;
}

#gFooter.honima-footer .honima-footer__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
	width: auto;
}

#gFooter.honima-footer .honima-footer__col li {
	margin: 0;
}

#gFooter.honima-footer .honima-footer__col a {
	display: inline-block;
	padding: 4px 0;
	color: #444;
	font-size: 1.4rem;
	line-height: 1.8;
	letter-spacing: 0.04em;
	text-decoration: none;
}

#gFooter.honima-footer .honima-footer__col a:hover {
	color: #d03720;
	text-decoration: underline;
}

#gFooter.honima-footer .honima-footer__brand {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px 24px;
	padding-top: 24px;
	border-top: 1px solid #eee;
}

#gFooter.honima-footer .honima-footer__logo {
	display: inline-block;
	width: auto;
	max-width: none;
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.3;
	color: #111;
	text-decoration: none;
	white-space: nowrap;
}

#gFooter.honima-footer .honima-footer__copy {
	margin: 0;
	font-size: 1.2rem;
	letter-spacing: 0.06em;
	color: #888;
	text-align: right;
}

#gFooter.honima-footer .honima-footer__nap {
	margin: 10px 0 12px;
	font-size: 1.2rem;
	line-height: 1.7;
	letter-spacing: 0.04em;
	color: #666;
	text-align: right;
}

#gFooter.honima-footer .honima-footer__nap a {
	color: #666;
	text-decoration: none;
}

#gFooter.honima-footer .fLogo,
#gFooter.honima-footer address {
	display: none;
}

.hsvc-index,
.hblog,
.hpost,
.hpage {
	padding: 56px 0 96px;
}

.hsvc-index__head,
.hblog__head {
	margin: 0 0 40px;
}

.hsvc-index__label,
.hblog__label {
	margin: 0 0 12px;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #d03720;
}

.hsvc-index__title,
.hblog__title {
	margin: 0;
	font-size: clamp(2.4rem, 3.4vw, 3.4rem);
	font-weight: 900;
	letter-spacing: 0.04em;
	color: #111;
}

.hsvc-index__list,
.hblog__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hsvc-index__list {
	display: grid;
	gap: 12px;
}

.hsvc-index__card {
	display: grid;
	grid-template-columns: 4.5em minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 22px 24px;
	border: 1px solid #ead9d5;
	border-radius: 14px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hsvc-index__card:hover {
	box-shadow: 0 8px 20px rgba(208, 55, 32, 0.08);
	transform: translateY(-1px);
}

.hsvc-index__num {
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #d03720;
}

.hsvc-index__name {
	display: block;
	margin: 0 0 6px;
	font-size: 1.7rem;
	font-weight: 900;
	color: #111;
}

.hsvc-index__text {
	display: block;
	font-size: 1.3rem;
	line-height: 1.7;
	color: #555;
}

.hblog__list li {
	border-bottom: 1px solid #eee;
}

.hblog__list a {
	display: flex;
	gap: 20px;
	padding: 18px 0;
	text-decoration: none;
	color: #111;
}

.hblog__list time {
	flex: 0 0 8em;
	color: #d03720;
	font-weight: 700;
}

.hblog__empty {
	font-size: 1.4rem;
	color: #555;
}

/* Post single / Page */
.hpost__head,
.hpage__head {
	margin: 0 0 36px;
}

.hpost__label,
.hpage__label {
	margin: 0 0 12px;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #d03720;
}

.hpost__label a {
	color: inherit;
	text-decoration: none;
}

.hpost__label a:hover {
	text-decoration: underline;
}

.hpost__date {
	margin: 0 0 12px;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #d03720;
}

.hpost__title,
.hpage__title {
	margin: 0;
	font-size: clamp(2.2rem, 3.2vw, 3.2rem);
	font-weight: 900;
	letter-spacing: 0.04em;
	line-height: 1.45;
	color: #111;
}

.hpost__thumb,
.hpage__thumb {
	margin: 0 0 36px;
}

.hpost__thumb img,
.hpage__thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.hpost__body,
.hpage__body {
	font-size: 1.55rem;
	line-height: 1.95;
	color: #333;
	letter-spacing: 0.03em;
}

.hpost__body > *:first-child,
.hpage__body > *:first-child {
	margin-top: 0;
}

.hpost__body p,
.hpage__body p {
	margin: 0 0 1.4em;
}

.hpost__body h2,
.hpage__body h2 {
	margin: 2.2em 0 0.7em;
	font-size: 2rem;
	font-weight: 900;
	line-height: 1.5;
	color: #111;
}

.hpost__body h3,
.hpage__body h3 {
	margin: 1.8em 0 0.6em;
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.5;
	color: #111;
}

.hpost__body ul,
.hpage__body ul,
.hpost__body ol,
.hpage__body ol {
	margin: 0 0 1.4em;
	padding-left: 1.4em;
}

.hpost__body li,
.hpage__body li {
	margin: 0 0 0.4em;
}

.hpost__body a,
.hpage__body a {
	color: #d03720;
	font-weight: 700;
}

.hpost__body img,
.hpage__body img {
	max-width: 100%;
	height: auto;
}

.hpost__body blockquote,
.hpage__body blockquote {
	margin: 0 0 1.4em;
	padding: 12px 0 12px 18px;
	border-left: 3px solid #d03720;
	color: #555;
}

.hpost__foot {
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid #eee;
}

.hpost__back {
	display: inline-block;
	font-size: 1.4rem;
	font-weight: 700;
	color: #d03720;
	text-decoration: none;
}

.hpost__back:hover {
	text-decoration: underline;
}

.honima-service-index #main .honima-service {
	padding: 56px 0 96px;
	background: #fff;
}

.honima-service-index #main .honima-service__head {
	margin-bottom: 48px;
	text-align: center;
}

.honima-service-index #main .honima-service__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0 0 18px;
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.18em;
	color: #111;
}

.honima-service-index #main .honima-service__label::before,
.honima-service-index #main .honima-service__label::after {
	content: "";
	display: block;
	width: 36px;
	height: 1px;
	background: #d03720;
}

.honima-service-index #main .honima-service__label .roboto {
	font-weight: 700;
	font-size: 1.8rem;
	letter-spacing: 0.24em;
	color: #d03720;
}

.honima-service-index #main .honima-service__title {
	margin: 0 0 14px;
	font-family: "Noto Serif JP", serif;
	font-weight: 900;
	font-size: clamp(2.2rem, 3.2vw, 3rem);
	line-height: 1.45;
	letter-spacing: 0.06em;
	color: #111;
}

.honima-service-index #main .honima-service__lead {
	margin: 0 auto;
	max-width: 680px;
	font-size: 1.2rem;
	line-height: 1.85;
	color: #666;
	letter-spacing: 0.04em;
}

.honima-service-index #main .honima-service__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.honima-service-index #main .honima-service__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
	align-items: center;
	gap: 8px 12px;
	min-height: 220px;
	padding: 28px 24px 28px 32px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
	overflow: hidden;
}

.honima-service-index #main .honima-service__card-body {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	min-width: 0;
}

.honima-service-index #main .honima-service__card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.honima-service-index #main .honima-service__num {
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	color: #d03720;
	letter-spacing: 0.06em;
}

.honima-service-index #main .honima-service__num-line {
	display: block;
	flex: 1;
	max-width: 48px;
	height: 2px;
	background: #d03720;
}

.honima-service-index #main .honima-service__card-title {
	margin: 0 0 10px;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.55;
	color: #111;
	letter-spacing: 0.03em;
}

.honima-service-index #main .honima-service__card-text {
	margin: 0 0 auto;
	padding-bottom: 20px;
	font-size: 1.5rem;
	line-height: 1.75;
	color: #666;
}

.honima-service-index #main .honima-service__visual {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
}

.honima-service-index #main .honima-service__visual img {
	display: block;
	width: 100%;
	max-width: 240px;
	height: auto;
	margin: 0;
	object-fit: contain;
}

.honima-service-index #main .honima-service__more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: lowercase;
	color: #d03720;
	text-decoration: none;
	transition: opacity 0.25s ease;
}

.honima-service-index #main .honima-service__more:hover {
	opacity: 0.75;
}

.honima-service-index #main .honima-service__more-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-size: 1.1rem;
	line-height: 1;
	color: #fff;
	background: #d03720;
	border-radius: 50%;
}

.honima-service-index #main .honima-service__more-label {
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.hblog__pager {
	margin: 36px 0 0;
}

.hblog__pager .page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hblog__pager .page-numbers li {
	margin: 0;
	padding: 0;
	border: 0;
}

.hblog__pager .page-numbers a,
.hblog__pager .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	box-sizing: border-box;
	border: 1px solid #ead9d5;
	border-radius: 999px;
	background: #fff;
	color: #d03720;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1;
	text-decoration: none;
}

.hblog__pager .page-numbers a:hover {
	background: #fff5f3;
	border-color: #d03720;
}

.hblog__pager .page-numbers .current {
	background: #d03720;
	border-color: #d03720;
	color: #fff;
}

.hblog__pager .page-numbers .dots {
	border: 0;
	background: transparent;
	color: #999;
	min-width: 24px;
	padding: 0;
}

@media all and (max-width: 1024px) {
	.honima-service-index #main .honima-service__grid {
		gap: 20px;
	}
}

@media all and (max-width: 767px) {
	.hsvc-index,
	.hblog,
	.hpost,
	.hpage,
	.honima-service-index #main .honima-service {
		padding-top: 40px;
	}

	.honima-service-index #main .honima-service {
		padding-bottom: 56px;
	}

	.honima-service-index #main .honima-service__head {
		margin-bottom: 28px;
		text-align: left;
	}

	.honima-service-index #main .honima-service__label {
		justify-content: flex-start;
	}

	.honima-service-index #main .honima-service__label::before,
	.honima-service-index #main .honima-service__label::after {
		display: none;
	}

	.honima-service-index #main .honima-service__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.honima-service-index #main .honima-service__card {
		grid-template-columns: 1fr;
		min-height: 0;
		padding: 22px 20px 20px;
	}

	.honima-service-index #main .honima-service__visual {
		justify-content: center;
		order: -1;
		margin-bottom: 8px;
	}

	.honima-service-index #main .honima-service__visual img {
		max-width: 200px;
	}

	#gFooter.honima-footer .honima-footer__nav {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-bottom: 32px;
	}

	#gFooter.honima-footer .honima-footer__brand {
		flex-direction: column;
		align-items: flex-start;
	}

	#gFooter.honima-footer .honima-footer__copy {
		text-align: left;
	}
}

/* Shared CTA (TOP design — also used on service pages) */
#main .honima-cta {
	position: relative;
	padding: 88px 0 92px;
	background: #d03720;
	overflow: hidden;
	text-align: center;
}

#main .honima-cta::before {
	content: "Start now.";
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 0;
	margin: 0;
	font-family: "Great Vibes", cursive;
	font-size: clamp(6rem, 14vw, 12rem);
	font-weight: 400;
	line-height: 1;
	color: rgba(255, 255, 255, 0.08);
	white-space: nowrap;
	transform: translate(-50%, -52%) rotate(-12deg);
	pointer-events: none;
}

#main .honima-cta > .content {
	position: relative;
	z-index: 1;
}

#main .honima-cta__dots {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: -1;
	display: block;
	width: 160px;
	height: auto;
	pointer-events: none;
	opacity: 0.55;
}

#main .honima-cta__chevrons {
	position: absolute;
	top: 50%;
	right: 0;
	z-index: -1;
	display: block;
	width: auto;
	height: 88%;
	max-height: 420px;
	transform: translateY(-50%);
	pointer-events: none;
	opacity: 0.7;
}

#main .honima-cta__label {
	display: inline-block;
	margin: 0 0 22px;
	padding-top: 12px;
	border-top: 2px solid rgba(255, 255, 255, 0.9);
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	line-height: 1.35;
	color: #fff;
}

#main .honima-cta__title {
	margin: 0 0 24px;
	font-family: "Noto Serif JP", serif;
	font-weight: 900;
	font-size: clamp(2.8rem, 4.2vw, 4.2rem);
	letter-spacing: 0.12em;
	line-height: 1.45;
	color: #fff;
}

#main .honima-cta__lead {
	margin: 0 auto 36px;
	max-width: 720px;
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 2;
	color: #fff;
}

#main .honima-cta__action {
	display: flex;
	justify-content: center;
	margin: 0 0 18px;
}

#main .honima-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 280px;
	padding: 16px 36px;
	background: #fff;
	border: 1px solid #fff;
	border-radius: 2px;
	box-sizing: border-box;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	color: #d03720;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

#main .honima-cta__btn:hover {
	background: #111;
	border-color: #111;
	color: #fff;
}

#main .honima-cta__note {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.88);
}

@media all and (max-width: 1099px) {
	#main .honima-cta {
		padding: 56px 0 60px;
	}

	#main .honima-cta__dots {
		width: 96px;
	}

	#main .honima-cta__chevrons {
		height: 52%;
		max-height: 220px;
		opacity: 0.45;
	}

	#main .honima-cta__title {
		font-size: 2.4rem;
		letter-spacing: 0.08em;
	}

	#main .honima-cta__lead {
		font-size: 1.25rem;
		line-height: 1.9;
		margin-bottom: 28px;
	}

	#main .honima-cta__btn {
		width: 100%;
		min-width: 0;
		font-size: 1.35rem;
	}

	#main .honima-cta__note {
		font-size: 1.05rem;
	}
}
