@charset "UTF-8";

/* ------------------------------------------------------------------------
   Top page — SP (responsive)
   PC layout is unchanged outside this media query.
--------------------------------------------------------------------------- */

.sp-only {
	display: none !important;
}

@media screen and (max-width: 767px) {
	.pc-only {
		display: none !important;
	}

	.sp-only {
		display: block !important;
	}

	.sp-only.sp-nav {
		display: none !important;
	}

	.sp-only.sp-nav.is-open {
		display: flex !important;
	}

	.sp-only.sp-pagetop,
	.sp-only.sp-header,
	.sp-only.sp-sticky-cta,
	.sp-only.sp-banner,
	.sp-only.sp-outline-btn,
	.sp-only.sp-list {
		display: flex !important;
	}

	.sp-only.sp-reason-grid,
	.sp-only.sp-voice-grid {
		display: grid !important;
	}

	html {
		overflow-x: hidden;
		-webkit-text-size-adjust: 100%;
	}

	body#index {
		font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
		font-size: 16px;
		line-height: 1.7;
		color: #333;
		background: #fff;
		text-align: left;
		padding-bottom: 72px; /* sticky CTA */
	}

	body#index a {
		color: #1b3a8c;
		text-decoration: none;
	}

	body#index a:hover {
		color: #e8380d;
	}

	#wrap {
		width: 100% !important;
		max-width: 100%;
		margin: 0;
		padding: 0;
		text-align: left;
		overflow-x: hidden;
	}

	#headerBlock,
	#gnavBlock,
	#side,
	#footerBlock,
	#mail_box,
	.pageTop {
		display: none !important;
	}

	#mainBlock {
		width: 100% !important;
		background: none !important;
		display: block;
	}

	#container {
		float: none !important;
		width: 100% !important;
		max-width: 100%;
		padding: 0 !important;
		border: none !important;
		background: none !important;
		overflow: visible;
	}

	.contents {
		border: none;
		padding: 0;
		text-align: left;
		overflow: visible;
	}

	.section {
		width: 100% !important;
		margin: 0 0 0;
		padding: 16px;
		box-sizing: border-box;
	}

	.section p {
		margin: 0 0 12px;
		font-size: 14px;
		line-height: 1.7;
		text-align: left;
		color: #333;
	}

	.section img {
		max-width: 100%;
		height: auto;
	}

	.section table {
		width: 100% !important;
		max-width: 100%;
	}

	iframe {
		max-width: 100%;
	}

	/* ---- SP header ---- */
	.sp-header {
		position: sticky;
		top: 0;
		z-index: 1000;
		height: 56px;
		background: #12235e;
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		padding: 0 14px;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
		box-sizing: border-box;
	}

	.sp-header__brand {
		display: flex;
		flex-direction: column;
		gap: 1px;
		min-width: 0;
	}

	.sp-header__brand a {
		color: #fff !important;
		font-size: 16px;
		font-weight: 900;
		letter-spacing: 0.02em;
		line-height: 1.2;
		text-decoration: none !important;
	}

	.sp-header__sub {
		color: #c8d3ef;
		font-size: 10px;
		font-weight: 500;
	}

	.sp-header__actions {
		display: flex;
		gap: 6px;
		align-items: center;
		flex-shrink: 0;
	}

	.sp-header__btn {
		width: 44px;
		height: 44px;
		border: 0;
		background: transparent;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		color: #fff;
	}

	.sp-header__btn svg {
		display: block;
	}

	.sp-header__burger {
		flex-direction: column;
		gap: 5px;
	}

	.sp-header__burger span {
		display: block;
		width: 22px;
		height: 2px;
		background: #fff;
		margin: 0;
		flex-shrink: 0;
	}

	/* ---- area bar / hero ---- */
	.sp-area-bar {
		background: #e8e8e8;
		color: #003399;
		font-size: 12px;
		font-weight: 700;
		padding: 7px 14px;
		text-align: center;
		line-height: 1.5;
	}

	.sp-hero {
		padding: 18px 16px 16px;
	}

	.sp-hero__title {
		margin: 0;
		font-size: 22px;
		line-height: 1.5;
		font-weight: 900;
		color: #12235e;
		text-align: left;
	}

	.sp-hero__title span {
		color: #e8380d;
	}

	.sp-stats {
		display: flex !important;
		gap: 6px;
		margin-top: 16px;
	}

	.sp-stats__item {
		flex: 1;
		background: #f4f6fa;
		border: 1px solid #d5dbe8;
		border-radius: 4px;
		padding: 10px 4px;
		text-align: center;
		font-size: 12px;
		font-weight: 700;
		color: #12235e;
		line-height: 1.4;
	}

	.sp-cta-stack {
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin-top: 16px;
	}

	.sp-btn {
		display: block;
		text-align: center;
		border-radius: 6px;
		min-height: 44px;
		box-sizing: border-box;
		font-weight: 900;
		text-decoration: none !important;
	}

	.sp-btn--orange {
		background: #f08300;
		color: #fff !important;
		font-size: 17px;
		padding: 16px 12px;
	}

	.sp-btn--gray,
	.sp-hero .sp-btn--gray {
		background: #e8e8e8 !important;
		color: #003399 !important;
		font-size: 17px;
		padding: 16px 12px;
	}

	.sp-btn--outline {
		background: #fff;
		border: 2px solid #12235e;
		padding: 12px;
		color: #12235e !important;
	}

	.sp-nav .sp-btn--outline {
		background: #12235e;
		border-color: #fff;
		color: #fff !important;
	}

	.sp-nav .sp-btn--outline .sp-btn__num {
		color: #fff;
	}

	.sp-nav .sp-btn--outline .sp-btn__sub {
		color: #c8d3ef;
	}

	.sp-btn--outline .sp-btn__num {
		font-size: 20px;
		font-weight: 900;
		letter-spacing: 0.01em;
		color: #12235e;
	}

	.sp-btn--outline .sp-btn__sub {
		font-size: 11px;
		color: #555;
		font-weight: 500;
		margin-top: 2px;
	}

	.sp-btn--white {
		background: #fff;
		color: #e8380d !important;
		font-size: 17px;
		padding: 15px;
	}

	.sp-btn--navy {
		background: #12235e;
		border: 2px solid #fff;
		padding: 12px;
		color: #fff !important;
	}

	.sp-btn--navy .sp-btn__num {
		font-size: 19px;
		font-weight: 900;
		color: #fff;
	}

	.sp-btn--navy .sp-btn__sub {
		font-size: 11px;
		color: #dbe3f7;
		margin-top: 2px;
	}

	/* ---- media / video ---- */
	.sp-pad {
		padding: 0 16px 16px;
	}

	.sp-video {
		position: relative;
		width: 100%;
		aspect-ratio: 16 / 9;
		border-radius: 4px;
		overflow: hidden;
		background: #000;
	}

	.sp-video iframe {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		border: 0;
	}

	.sp-sep {
		height: 8px;
		background: #f4f6fa;
	}

	.sp-lead {
		padding: 16px;
		background: #f4f6fa;
		color: #333;
		font-size: 14px;
		line-height: 1.7;
		text-align: left;
	}

	/* ---- section headings ---- */
	.sp-h,
	#index #container h2.sp-h {
		margin: 0 0 12px;
		background: #12235e;
		color: #fff;
		font-size: 18px;
		font-weight: 900;
		padding: 11px 12px;
		padding-top: 16px;
		border-radius: 4px;
		line-height: 1.5;
		border-bottom: none;
	}

	.sp-h--line {
		background: none;
		color: #12235e;
		padding: 0 0 8px;
		border-radius: 0;
		border-bottom: 3px solid #f08300;
		margin-top: 0;
		margin-bottom: 12px;
	}

	/* モック同様：セクション区切り（全幅の淡色帯） */
	.sp-h--line::before {
		content: "";
		display: block;
		height: 8px;
		background: #f4f6fa;
		margin: 16px -16px 16px;
	}

	/* ---- worries ---- */
	.sp-list {
		list-style: none;
		margin: 0 !important;
		padding: 0 !important;
		display: flex !important;
		flex-direction: column;
		gap: 8px;
		width: 100%;
		box-sizing: border-box;
	}

	.sp-list li {
		display: flex;
		gap: 10px;
		background: #f4f6fa;
		border: 1px solid #d5dbe8;
		border-radius: 4px;
		padding: 11px 12px;
		font-size: 15px;
		line-height: 1.6;
		color: #333;
		list-style: none;
		width: 100%;
		box-sizing: border-box;
	}

	.sp-list li::before {
		content: "✓";
		color: #e8380d;
		font-weight: 900;
		flex-shrink: 0;
	}

	/* ---- red-frame content cards ---- */
	.sp-banner {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		background: #12235e;
		border-left: 4px solid #e8380d;
		border-radius: 6px;
		padding: 15px 14px;
		margin: 14px 0 0;
		min-height: 44px;
		box-sizing: border-box;
		text-decoration: none !important;
	}

	.sp-banner span {
		color: #fff;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.5;
		text-align: left;
	}

	.sp-banner::after {
		content: "＞";
		color: #f08300;
		font-size: 16px;
		font-weight: 900;
		flex-shrink: 0;
	}

	.sp-banner-img {
		display: block;
		border: 1px solid #d5dbe8;
		border-radius: 6px;
		overflow: hidden;
		margin: 0 0 4px;
	}

	.sp-banner-img img {
		width: 100%;
		display: block;
		height: auto;
	}

	/* ---- compare flow ---- */
	.sp-compare {
		border: 1px solid #d5dbe8;
		border-radius: 6px;
		overflow: hidden;
		margin-bottom: 10px;
	}

	.sp-compare--own {
		border: 2px solid #12235e;
	}

	.sp-compare__head {
		background: #5b6577;
		color: #fff;
		font-size: 14px;
		font-weight: 700;
		padding: 8px 12px;
	}

	.sp-compare--own .sp-compare__head {
		background: #12235e;
	}

	.sp-compare__body {
		padding: 12px;
		display: flex;
		flex-direction: column;
		gap: 6px;
		align-items: center;
	}

	.sp-compare__node {
		width: 100%;
		background: #f4f6fa;
		border: 1px solid #d5dbe8;
		border-radius: 4px;
		padding: 9px;
		text-align: center;
		font-size: 14px;
		color: #333;
		box-sizing: border-box;
	}

	.sp-compare--own .sp-compare__node--hl {
		background: #fff;
		border: 1px solid #12235e;
		font-weight: 700;
		color: #12235e;
	}

	.sp-compare__arrow {
		color: #9aa3b2;
		font-size: 12px;
	}

	.sp-compare__arrow--hl {
		color: #e8380d;
		font-weight: 700;
	}

	/* ---- reason cards ---- */
	.sp-reason-grid {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.sp-reason-card {
		border: 1px solid #d5dbe8;
		border-radius: 6px;
		padding: 12px 10px;
		background: #fff;
	}

	.sp-reason-card__num {
		width: 28px;
		height: 28px;
		border-radius: 4px;
		background: #12235e;
		color: #fff;
		font-size: 13px;
		font-weight: 900;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 8px;
	}

	.sp-reason-card__title {
		font-size: 15px;
		font-weight: 700;
		color: #12235e;
		line-height: 1.5;
	}

	.sp-reason-card__desc {
		font-size: 12px;
		color: #555;
		line-height: 1.6;
		margin-top: 4px;
	}

	/* ---- mid CTA ---- */
	.sp-mid-cta {
		background: #f08300;
		padding: 20px 16px;
	}

	.sp-mid-cta__title {
		color: #fff;
		font-size: 20px;
		font-weight: 900;
		text-align: center;
		line-height: 1.5;
	}

	.sp-mid-cta__text {
		color: #fff;
		font-size: 13px;
		text-align: center;
		line-height: 1.7;
		margin-top: 6px;
	}

	.sp-mid-cta .sp-cta-stack {
		margin-top: 14px;
	}

	/* ---- case cards ---- */
	.sp-case {
		border: 1px solid #d5dbe8;
		border-radius: 6px;
		overflow: hidden;
		margin-bottom: 12px;
		background: #fff;
	}

	.sp-case img {
		width: 100%;
		display: block;
		height: auto;
	}

	.sp-case__imgs {
		display: flex;
		gap: 2px;
		justify-content: center;
		background: #fff;
	}

	.sp-case__imgs img {
		width: 50%;
		max-width: 50%;
	}

	.sp-case__body {
		padding: 12px;
	}

	.sp-case__title {
		font-size: 16px;
		font-weight: 900;
		color: #12235e;
		line-height: 1.5;
	}

	.sp-case__price {
		font-size: 15px;
		font-weight: 700;
		color: #e8380d;
		margin-top: 4px;
	}

	.sp-case__body p {
		margin: 6px 0 0;
		font-size: 14px;
	}

	/* ---- voice grid ---- */
	.sp-voice-grid {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.sp-voice-grid a {
		display: block;
		text-decoration: none !important;
	}

	.sp-voice-grid img {
		width: 100%;
		aspect-ratio: 1 / 1;
		object-fit: cover;
		display: block;
		border: 1px solid #d5dbe8;
		border-radius: 4px;
	}

	.sp-voice-grid__name {
		font-size: 13px;
		font-weight: 700;
		color: #12235e;
		margin-top: 5px;
		line-height: 1.5;
	}

	.sp-outline-btn {
		display: flex !important;
		align-items: center;
		justify-content: center;
		gap: 6px;
		border: 1px solid #12235e;
		border-radius: 6px;
		padding: 13px;
		margin-top: 12px;
		font-size: 15px;
		font-weight: 700;
		color: #12235e !important;
		min-height: 44px;
		box-sizing: border-box;
		text-decoration: none !important;
	}

	/* ---- steps ---- */
	.sp-steps {
		display: flex;
		flex-direction: column;
	}

	.sp-step {
		display: flex;
		gap: 12px;
	}

	.sp-step__rail {
		display: flex;
		flex-direction: column;
		align-items: center;
		flex: 0 0 auto;
	}

	.sp-step__num {
		width: 30px;
		height: 30px;
		border-radius: 50%;
		background: #12235e;
		color: #fff;
		font-size: 14px;
		font-weight: 900;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.sp-step__num--last {
		background: #e8380d;
	}

	.sp-step__line {
		width: 2px;
		flex: 1;
		background: #d5dbe8;
		min-height: 12px;
	}

	.sp-step__body {
		padding-bottom: 14px;
	}

	.sp-step:last-child .sp-step__body {
		padding-bottom: 0;
	}

	.sp-step__title {
		font-size: 16px;
		font-weight: 700;
		color: #12235e;
	}

	.sp-step__text {
		font-size: 14px;
		line-height: 1.7;
		color: #333;
	}

	/* ---- FAQ accordion ---- */
	.sp-acc {
		border: 1px solid #d5dbe8;
		border-radius: 6px;
		overflow: hidden;
		margin-bottom: 8px;
		background: #fff;
	}

	.sp-acc--mt {
		margin-top: 20px;
	}

	.sp-acc__btn {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 13px 14px;
		background: #f4f6fa;
		border: 0;
		min-height: 44px;
		box-sizing: border-box;
		cursor: pointer;
		text-align: left;
		font-family: inherit;
	}

	.sp-acc__btn[aria-expanded="false"] {
		background: #fff;
	}

	.sp-acc__q {
		font-size: 15px;
		font-weight: 700;
		color: #12235e;
		line-height: 1.6;
	}

	.sp-acc__icon {
		font-size: 20px;
		font-weight: 900;
		color: #f08300;
		line-height: 1;
		flex-shrink: 0;
	}

	.sp-acc__panel {
		display: none;
		padding: 13px 14px;
		font-size: 14px;
		line-height: 1.7;
		color: #333;
		border-top: 1px solid #d5dbe8;
	}

	.sp-acc.is-open .sp-acc__panel {
		display: block;
	}

	.sp-acc.is-open .sp-acc__btn {
		background: #f4f6fa;
	}

	/* ---- related links ---- */
	.sp-related a {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		padding: 13px 2px;
		border-bottom: 1px solid #e4e8ef;
		font-size: 15px;
		font-weight: 500;
		color: #1b3a8c !important;
		min-height: 44px;
		box-sizing: border-box;
		text-decoration: none !important;
	}

	.sp-related a:last-child {
		border-bottom: 0;
	}

	.sp-related a::after {
		content: "＞";
		color: #f08300;
		font-weight: 900;
	}

	.sp-menu-links a {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		padding: 12px 2px;
		border-bottom: 1px solid #e4e8ef;
		font-size: 14px;
		color: #1b3a8c !important;
		min-height: 44px;
		box-sizing: border-box;
		text-decoration: none !important;
	}

	.sp-menu-links a::after {
		content: "＞";
		color: #f08300;
		font-weight: 900;
	}

	/* ---- company stack ---- */
	.sp-company-dl {
		margin: 0;
	}

	.sp-company-dl div {
		display: flex;
		flex-direction: column;
		gap: 2px;
		padding: 10px 0;
		border-bottom: 1px solid #e4e8ef;
	}

	.sp-company-dl dt {
		font-size: 12px;
		font-weight: 700;
		color: #12235e;
	}

	.sp-company-dl dd {
		margin: 0;
		font-size: 14px;
		color: #333;
		line-height: 1.6;
	}

	/* ---- footer block ---- */
	.sp-footer {
		background: #12235e;
		padding: 22px 16px 26px;
		text-align: center;
	}

	.sp-footer__label {
		color: #fff;
		font-size: 14px;
		font-weight: 700;
	}

	.sp-footer__tel {
		display: block;
		color: #fff !important;
		font-size: 30px;
		font-weight: 900;
		letter-spacing: 0.01em;
		margin-top: 6px;
		text-decoration: none !important;
	}

	.sp-footer__meta {
		color: #c8d3ef;
		font-size: 13px;
		line-height: 1.7;
		margin-top: 4px;
	}

	.sp-footer__links {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		gap: 14px;
		margin-top: 16px;
		font-size: 13px;
	}

	.sp-footer__links a {
		color: #c8d3ef !important;
		text-decoration: none !important;
	}

	.sp-footer__copy {
		color: #8fa2cf;
		font-size: 11px;
		margin-top: 14px;
	}

	/* ---- sticky CTA ---- */
	.sp-sticky-cta {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1100;
		display: flex !important;
		border-top: 1px solid #d5dbe8;
		background: #fff;
		box-shadow: 0 -3px 10px rgba(18, 35, 94, 0.1);
		padding-bottom: env(safe-area-inset-bottom, 0);
	}

	.sp-sticky-cta a {
		flex: 1;
		padding: 14px 0;
		text-align: center;
		min-height: 44px;
		box-sizing: border-box;
		text-decoration: none !important;
	}

	.sp-sticky-cta a:first-child {
		background: #fff;
	}

	.sp-sticky-cta a:last-child {
		background: #f08300;
	}

	.sp-sticky-cta__main {
		font-size: 15px;
		font-weight: 900;
		color: #12235e;
	}

	.sp-sticky-cta a:last-child .sp-sticky-cta__main {
		color: #fff;
	}

	.sp-sticky-cta__sub {
		font-size: 10px;
		color: #666;
	}

	.sp-sticky-cta a:last-child .sp-sticky-cta__sub {
		color: #ffe6cc;
	}

	/* ---- page top ---- */
	.sp-pagetop {
		position: fixed;
		right: 12px;
		bottom: 84px;
		z-index: 1050;
		width: 44px;
		height: 44px;
		border-radius: 50%;
		background: #12235e;
		color: #fff !important;
		font-size: 12px;
		font-weight: 700;
		display: flex !important;
		align-items: center;
		justify-content: center;
		text-decoration: none !important;
		box-shadow: 0 2px 8px rgba(18, 35, 94, 0.35);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.2s;
	}

	.sp-pagetop.is-show {
		opacity: 1;
		pointer-events: auto;
	}

	/* ---- hamburger drawer ---- */
	.sp-nav {
		position: fixed;
		inset: 0;
		z-index: 1200;
		background: #12235e;
		flex-direction: column;
		overflow: hidden;
	}

	.sp-nav__head {
		height: 56px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0 14px;
		background: #0d1a47;
		flex: 0 0 auto;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	}

	.sp-nav__title {
		color: #fff;
		font-size: 16px;
		font-weight: 900;
	}

	.sp-nav__close {
		width: 44px;
		height: 44px;
		border: 0;
		background: transparent;
		color: #fff;
		font-size: 26px;
		font-weight: 300;
		line-height: 1;
		cursor: pointer;
	}

	.sp-nav__body {
		flex: 1;
		overflow-y: auto;
		padding: 16px;
		-webkit-overflow-scrolling: touch;
	}

	.sp-nav__body .sp-cta-stack {
		margin-top: 0;
	}

	.sp-nav__list {
		display: flex;
		flex-direction: column;
		margin-top: 14px;
	}

	.sp-nav__list a {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		padding: 14px 2px;
		border-bottom: 1px solid #2d3f74;
		color: #fff !important;
		font-size: 16px;
		font-weight: 500;
		min-height: 44px;
		box-sizing: border-box;
		text-decoration: none !important;
	}

	.sp-nav__list a:last-child {
		border-bottom: 0;
	}

	.sp-nav__list a::after {
		content: "＞";
		color: #f08300;
		font-weight: 900;
	}

	body.is-nav-open {
		overflow: hidden;
	}

	.sp-area h4 {
		margin-left: 0;
		padding-left: 0;
	}

	.pageLink {
		text-align: left;
		margin: 12px 0 0;
	}

	.pageLink a {
		display: inline-block;
		min-height: 44px;
		line-height: 44px;
		font-weight: 700;
	}

	/* PC YouTube wrappers → responsive */
	.sp-yt-wrap {
		position: relative;
		width: 100%;
		aspect-ratio: 16 / 9;
		margin-bottom: 12px;
	}

	.sp-yt-wrap iframe {
		position: absolute;
		inset: 0;
		width: 100% !important;
		height: 100% !important;
	}
}
