@charset "utf-8";

/*----------------------------
    全体
----------------------------*/
:root {
	--color-main: #1f2a44;
	--color-accent: #b8945a;
	--color-accent-2: #d7b98e;
	--color-base: #1a1a1a;
	--color-sub: #2f4666;
	--color-border: #b3bac4;
	--color-bg-base: #f6f8fa;
	--color-bg1: #f1f0ee;
	--color-bg2: #e6ebf1;
	--color-bg3: #5e646c;
	--color-white: #ffffff;
	--color-red: #ff4040;

	--size-base: 16px;
	--size-lg: 32px;
	--size-sm: 14px;
	--size-md: 24px;

	--br-size-base: 1rem;
	--br-size-lg: 2.5rem;
	--br-size-sm: 0.5rem;

	--ngmargin: calc(50% - 50cql);
	--shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.04);
}

body {
	background: var(--color-bg-base);
	color: var(--color-base);
	font-size: var(--size-base);
	font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
	font-weight: 400;
	line-height: 1.5;
}

a {
	transition: all 0.3s;
	text-decoration: none;
}

img {
	height: auto;
	max-width: 100%;
}

.display_none {
	display: none;
}

.sp_only {
	display: none;
}
.tab_only {
	display: none;
}

@media screen and (max-width: 1024px) {
    .tab_only {
        display: block;
    }
}

@media screen and (max-width: 767px) {
	.sp_only {
		display: block;
	}

	.pc_only {
		display: none !important;
	}
}

/*---------------------------
    ボタン
----------------------------*/
.btn {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	padding: 1.5rem 2rem;
	background: var(--color-accent);
	border: none;
	border-radius: 50px;
	color: var(--color-bg-base);
	cursor: pointer;
	font-size: var(--size-base);
	font-weight: bold;
	text-align: center;
	letter-spacing: 0.04em;
	transition: 0.3s;
}
.btn span {
	text-box: trim-both cap alphabetic;
}
@media (hover: hover) {
	.btn:hover {
		background-color: var(--color-accent-2);
	}
}

.header_btn {
	padding: 1rem 2rem;
	max-width: 180px;
	font-size: 0.9375rem;
}

.btn_small {
	gap: 0.25rem;
	margin: auto;
	padding: 0.625rem 2rem;
	min-width: 9.5rem;
	font-size: 0.9375rem;
	font-weight: 400;
	border: 1px solid var(--color-accent);
	background: var(--color-bg-base);
	color: var(--color-accent);
}
.btn_small img {
	width: 16px;
	aspect-ratio: 1/1;
}

.btn_small:hover {
	border: 1px solid var(--color-accent-2);
	background: var(--color-white);
	color: var(--color-accent-2);
}

.submit_btn {
	margin-inline: auto;
	min-width: 22rem;
	font-size: 1.25rem;
}
@media screen and (max-width: 767px) {
    .submit_btn {
        min-width: 18rem;
    }
}
input[type="submit"] {
	background-color: var(--color-bg3);
	border-radius: 50px;
	border: none;
	color: var(--color-bg-base);
	cursor: auto;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.7;
	letter-spacing: 0.04em;
	transition: all 0.3s;
	padding: 1.5rem;
	width: 5rem;
}

@media (hover: hover) {
	input[type="submit"]:not(:disabled):hover {
		background-color: var(--color-sub) !important;
	}
}

@media screen and (max-width: 767px) {
	input[type="submit"] {
		padding: 1rem;
		width: 100%;
	}
}

.ripples_btn {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	margin: auto;
	width: 20rem;
	height: 4rem;
	background: var(--color-accent);
	border-radius: 50px;
	color: var(--color-bg-base);
	font-size: 1.125rem;
	font-weight: 500;
	letter-spacing: 0.72px;
	text-align: center;
	text-decoration: none;
	transition: 0.2s;
}
.ripples_btn:before,
.ripples_btn:after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 20rem;
	height: 4rem;
	top: 0;
	left: 0;
	border-radius: 50px;
	background: var(--color-accent);
	transform: translate3d(0, 0, 0);
	animation-play-state: running;
	opacity: 1;
	transition: opacity 0.2s ease;
}
.ripples_btn:before {
	animation: animation 2s ease-out infinite;
}
.ripples_btn:after {
	animation: animation 2s ease-out 2s infinite;
}
@media screen and (max-width: 767px) {
    .ripples_btn {
        width: 18rem;
    }
    .ripples_btn:before,
    .ripples_btn:after {
        width: 18rem;
    }
}

/* ホバー＋クリック時：波紋そのものを非表示（フェードアウト） */
.ripples_btn:hover::before,
.ripples_btn:hover::after,
.ripples_btn:active::before,
.ripples_btn:active::after {
	animation: none !important;
	animation-play-state: paused !important;
	opacity: 0 !important;
}

@keyframes animation {
	0% {
		transform: scale(0.95);
		/* opacity: 1; */
	}
	90% {
		opacity: 0.1;
	}
	to {
		transform: scale(1.2, 1.4);
		opacity: 0;
	}
}

/*----------------------------
    ヘッダー
----------------------------*/
header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99;
	padding-inline: 1.5rem;
	background-color: var(--color-bg-base);
    container-type: inline-size;
}

.header_wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: auto;
	height: 5rem;
}

.header_logo {
	line-height: 1;
}

.header_logo img {
	width: 6.25rem;
}

.header_right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	gap: 2.5rem;
}

.header_nav {
	display: flex;
	justify-content: flex-end;
	gap: 2.5rem;
}

@container (max-width: 1200px) {
    .header_right {
        gap: 1rem;
    }
    .header_nav {
        gap: 1rem;
    }
}

.header_nav li a {
	color: var(--color-main);
	font-size: 15px;
	font-weight: 500;
	line-height: normal;
}

.header_nav li a.active {
	color: var(--color-accent);
}

@media (hover: hover) {
	.header_nav li a:hover {
		color: var(--color-accent-2);
	}
}

.hamburger {
    display: none;
}


@media screen and (max-width: 1023px) {
	header {
		padding: 0.625rem 1rem;
		height: 3.75rem;
	}
    .header_wrap {
        height: auto;
    }
    .header_logo img {
		height: 2.5rem;
	}
	/*　ハンバーガー　*/
	.hamburger {
		cursor: pointer;
		display: block;
		position: relative;
		height: 26px;
		width: 35px;
		z-index: 99;
	}

	.hamburger span {
		display: block;
		margin: auto;
		position: absolute;
		width: 100%;
		height: 2px;
		left: 0;
		right: 0;
		background: var(--color-main);
		-webkit-transition: 0.3s ease-in-out;
		-moz-transition: 0.3s ease-in-out;
		transition: 0.3s ease-in-out;
	}

	.hamburger span:nth-child(1) {
		top: 0;
	}

	.hamburger span:nth-child(2) {
		top: 0.75rem;
	}

	.hamburger span:nth-child(3) {
		bottom: 0;
	}

	/* ナビ開いてる時のボタン */
	.hamburger.active span:nth-child(1) {
		top: 0.625rem;
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	.hamburger.active span:nth-child(2) {
		display: none;
	}

	.hamburger.active span:nth-child(3) {
		top: 0.625rem;
		bottom: auto;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	.header_right {
		background-color: var(--color-bg-base);
		padding: 2rem;
		position: fixed;
		z-index: 2;
		top: 3.75rem;
		left: 0;
        display: block;
		color: var(--color-main);
		transform: translateX(100%);
		transition: all 0.3s;
		width: 100%;
		height: 100vh;
	}

	/* このクラスを、jQueryで付与・削除する */
	.header_right.active {
		transform: translateX(0%);
		height: calc(100vh - 3.75rem);
	}

	.header_nav {
		border-bottom: 1px solid var(--color-border);
		margin: 0 0 1rem;
		padding: 0 0 1.25rem;
		width: 100%;
        display: block;
		color: var(--color-main);
		font-weight: 500;
		letter-spacing: 0.018em;
	}

	.header_nav li {
		margin-bottom: 1.75rem;
		width: 100%;
	}

	.header_btn {
		display: block;
		margin: 2rem auto;
		width: 17.5rem;
	}
}

/*----------------------------
    スタイル共通
----------------------------*/
.text {
	color: var(--color-base);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.7;
}
.text_en {
	font-family: "Roboto", sans-serif;
}

.text_black {
	color: var(--color-main);
}

.text_gold {
	color: var(--color-accent);
}

.text_link {
	color:  var(--color-accent);
}
.text_link:hover {
	color:  var(--color-accent2);
	text-decoration: underline;
}

.bg_white {
	background: var(--color-bg-base);
}

hr {
	width: 100%;
	border-top: 1px solid var(--color-border);
}

/*---------------------------
    アニメーション共通
----------------------------*/
.fade_in {
    opacity: 0;
    animation: wavyFadeIn 1.8s ease-out forwards;
}

@keyframes wavyFadeIn {
    0% {
      opacity: 0;
      transform: translateY(30px) rotateZ(0.5deg);
    }
    50% {
      transform: translateY(-10px) rotateZ(-0.5deg);
    }
    100% {
      opacity: 1;
      transform: translateY(0) rotateZ(0deg);
    }
}

.fade_trigger {
    opacity: 0;
}
.fade_trigger.is_visible {
    opacity: 1;
    animation: wavyFadeIn 1.8s ease-out forwards;
}

/*----------------------------
    section共通
----------------------------*/
.section_area {
	padding-block: 6rem 7.5rem;
}

.section_inner {
	box-sizing: revert;
	max-inline-size: 1100px;
	margin-inline: auto;
	padding-inline: 1rem;
}
@media screen and (max-width: 767px) {
    .section_area {
        padding-block: 4rem 5rem;
    }
    .section_inner {
        padding-inline: 1.5rem;
    }
}

.section_heading {
	display: grid;
	gap: 1rem;
	text-align: center;
	width: fit-content;
	margin-inline: auto;
	margin-bottom: 3.5rem;
}

.section_title {
	color: var(---color-main);
    font-size: clamp(1.8rem, -0.8333rem + 4.667vw,  2.375rem);
	font-weight: bold;
	line-height: 1.5;
	letter-spacing: 0.02em;
	position: relative;
    width: fit-content;
    margin-inline: auto;
}

.section_title:before,
.section_title:after {
	content: "";
	position: absolute;
	top: 0;
	display: block;
	width: 2rem;
	aspect-ratio: 1 / 1;
	background: url("../img/ico_quotes.svg") no-repeat center / contain;
}
.section_title:before {
	left: -2.5rem;
	transform: scaleX(-1);
}
.section_title:after {
	right: -2.5rem;
}
.section_sub {
	position: relative;
	width: fit-content;
	margin-inline: auto;
	font-size: clamp(1rem, 0.3333rem + 1.3333vw, 1.25rem);
	letter-spacing: 0.02em;
}
.section_sub:before,
.section_sub:after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 2.5rem;
	border: 1px solid var(--color-main);
}
.section_sub:before {
	left: -3rem;
}
.section_sub:after {
	right: -3rem;
}

/* ver2 */
.section_heading_2 {
	display: grid;
	gap: 0.75rem;
	text-align: center;
	margin-bottom: 2.5rem;
}

.section_ttl {
	color: var(--color-main);
	font-size: 1.75rem;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.05em;
}
.section_ttl_sub {
	color: var(--color-accent);
	font-family: "Roboto", sans-serif;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.2em;
}

@media screen and (max-width: 767px) {
    .section_heading {
        margin-bottom: 2rem;
    }
    .section_title:before,
    .section_title:after {
        width: 1.5rem;
    }
    .section_title:before {
        left: -1.75rem;
    }
    .section_title:after {
        right: -1.75rem;
    }

    .section_sub:before,
    .section_sub:after {
        width: 1.5rem;
    }
    .section_sub:before {
        left: -2rem;
    }
    .section_sub:after {
        right: -2rem;
    }
}

/*---------------------------
    カード共通
----------------------------*/
.card {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	padding: 2rem 1.5rem;
	background: var(--color-white);
	border-radius: var(--size-base);
	box-shadow: var(--shadow);
}

.card_title {
	color: var(--color-main);
	font-weight: 500;
	font-size: 1.125rem;
	line-height: 1.5;
}

/*---------------------------
    FV
----------------------------*/
.fv {
	position: relative;
	margin-top: 5rem;
	overflow: hidden;
	color: var(--color-bg-base);
	height: calc(100vh - 5rem);
	max-height: 50rem;
}
@media screen and (max-width: 1023px) {
    .fv{
        margin-top: 60px;
        height: calc(100dvh - 60px);
    }
}
#dotCanvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100dvh;
	max-height: 50rem;
	z-index: -1;
	background: linear-gradient(259deg, var(--color-sub) 16.52%, var(--color-main) 69.63%);
	pointer-events: none;
}

.ticker_wrap {
	position: absolute;
	width: 100%;
	overflow: hidden;
	pointer-events: none;
	white-space: nowrap;
}

.ticker_wrap.top {
	top: -2rem;
}

.ticker_wrap.bottom {
	bottom: -1.5rem;
}

.ticker_track {
	display: flex;
	width: max-content;
	animation: scroll 20s linear infinite;
}

.ticker_track.reverse {
	animation: scrollReverse 20s linear infinite;
}

.ticker {
	display: inline-block;
	padding-right: 5vw;
	color: transparent;
	font-size: 7.5rem;
	font-family: "Helvetica Neue", sans-serif;
	font-style: italic;
	font-weight: bold;
	letter-spacing: -0.25rem;
	text-box-trim: trim-both;
	text-transform: uppercase;
	opacity: 0.5;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 1px var(--color-accent);
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

@keyframes scrollReverse {
	0% {
		transform: translateX(-50%);
	}
	100% {
		transform: translateX(0);
	}
}

.hero_contents {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
    gap: .5em;
    margin-top: .5rem;
    padding-inline: 1rem;
    height: 100%;
    box-sizing: border-box;
}

/* zoom */
.zoom_svg_wrap {
    display: inline-block;
    opacity: 0;
}
.zoom_svg_wrap.zoomed {
    opacity: 1;
    animation: zoomOut 2s ease-out forwards;
}
.zoom_svg_wrap svg {
    width: min(90vw, 600px); /* 画面幅の90%、ただし最大600px */
    height: auto;
    display: block;
    margin: 0 auto;
}

/* アニメを抑制 */
svg:not(.start) .fill,
svg:not(.start) .gold {
  animation: none !important;
}
svg:not(.zoomed) .outline {
    animation: none !important;
}

@keyframes zoomOut {
    0% {
      transform: scale(4.5);
      opacity: 0.5;
    }
    65% {
        transform: scale(1);
    }
    70% {
      transform: scale(0.98);
      opacity: 1;
    }
    90% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
 }

 .hero_title,
 .hero_lead {
   opacity: 0;
   animation: wavyFadeIn 1.8s ease-out forwards;
 }

.hero_title {
    font-size: clamp(1.7rem, -0.073rem + 4.3243vw, 3.5rem);
	margin: 0;
    text-align: center;
}
.hero_text {
	display: flex;
	flex-direction: column;
	text-align: center;
	gap: 2.5rem;
    margin-top: 2.5em;
    animation-delay: 0.4s;
}
.hero_lead {
    line-height: 1.7;
}
.button_wrap {
	margin: 1.25rem auto;
	display: inline-block;
}
@media screen and (max-width: 1023px) {
    .hero_contents {
        gap: 1.5rem
    }
    .hero_text {
        gap: 1.5rem;
    }
}

/*---------------------------
    育てる運用とは
----------------------------*/
#concept {
}

.concept_text {
	display: grid;
	justify-content: center;
	color: var(--color-base);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.7;
}
.concept_text p:not(:last-of-type) {
	margin-bottom: 1.75rem;
}
.concept_text strong {
	font-weight: 700;
	text-decoration: var(--color-main) underline dotted;
}

/*---------------------------
    運用体制
----------------------------*/
#operation {
	background: var(--color-bg1);
	border-radius: var(--br-size-lg);
    container-type: inline-size;
}

.operation_list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	padding: 0;
	margin: 0;
	counter-reset: card;
}
@container (max-width: 1100px) {
	.operation_list {
		grid-template-columns: repeat(2, 1fr);
	}
}
.operation_list .card {
	counter-increment: card;
}

.operation_list .card:nth-child(even) {
	background: var(--color-bg-base);
}
.operation_list .card_title {
	position: relative;
	padding-left: 4.5rem;
}
.operation_list .card_title::before {
	content: counter(card, decimal-leading-zero);
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 3.375rem;
	aspect-ratio: 1 / 1;
	background: var(--color-accent);
	border-radius: 50%;
	color: var(--color-bg-base);
	font-family: "Roboto", sans-serif;
	font-weight: bold;
	font-size: 1.75rem;
	letter-spacing: 0.04rem;
}
.operation_list .card figure {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

@media screen and (max-width: 767px) {
    .operation_list {
        grid-template-columns: 1fr;
    }
	.operation_list .card figure img {
		max-width: 280px;
	}
}

/*---------------------------
    更新と運用の違い
----------------------------*/
#diff {
	position: relative;
    container-type: inline-size;
}

.table_grid {
	display: grid;
	grid-template-columns: 180px 1fr 1.2fr; /* label列 + 比率指定 */
}
@media screen and (max-width: 767px) {
    .table_grid {
        grid-template-columns: 80px 1fr 1.1fr;
    }
}

.row {
	display: contents;
}

.cell {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: clamp(0.625rem, -0.375rem + 2vw, 1rem);
    border-bottom: 1px solid var(--color-border);
    font-size: clamp(0.9375rem, 0.1042rem + 1.6667vw, 1.25rem);
	text-align: center;
}

.cell_label {
	background-color: var(--color-sub);
	color: var(--color-bg-base);
	font-size: clamp(0.875rem, 0.5417rem + 0.6667vw, 1rem);
	font-weight: 500;
}

.cell_normal {
	background: #f0f4fa;
	/* font-size: clamp(0.9375rem, 0.1042rem + 1.6667vw, 1.25rem); */
}

.cell_main {
	background: var(--color-white);
	border-right: 4px solid var(--color-accent);
	border-left: 4px solid var(--color-accent);
}

.row.header .cell_normal,
.row.header .cell_main {
	padding: 1.5rem 0.5rem;
	color: var(--color-white);
	font-size: clamp(1rem, 0.3333rem + 1.3333vw, 1.25rem);
	font-weight: 500;
	letter-spacing: 0.04rem;
}

.row.header .cell_label {
	background-color: transparent;
	border: none;
}
.row.header .cell_normal {
	align-self: end;
	background-color: var(--color-sub);
}

.row.header .cell_main {
	padding-block: 2rem;
	border: 4px solid var(--color-accent);
	border-radius: var(--br-size-base) var(--br-size-base) 0 0;
	background: var(--color-accent);
}

.row:last-child .cell_main {
	border-bottom: 4px solid var(--color-accent);
}

.icon {
	display: block;
	margin: 0 auto 0.5rem;
	width: 2rem;
	aspect-ratio: 1 / 1;
}

.comparison_note {
	margin: 4.5rem 0 0 4rem;
	max-width: 500px;
}
.case_img {
	position: absolute;
	bottom: -2.5rem;
	left: 50%;
	transform: translateX(9rem);
	width: clamp(12.5rem, -19.3072rem + 66.2651vw, 26.25rem);
}
@container (max-width: 1200px) {
    .comparison_note {
        margin-left: clamp(1rem, -7rem + 16vw, 4rem);
    }
    .case_img {
        bottom: -1.5rem);
    }
}
@media screen and (max-width: 767px) {
    .comparison_note {
        margin: 3rem auto 1rem;
    }
    .case_img {
        position: static;
        transform: none;
        margin: 0 auto -2rem;
        width: 300px;
    }
}

/*----------------------------
    改善事例
----------------------------*/
#case {
	background: var(--color-bg2);
    container-type: inline-size;
}

.case_list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}
@container (max-width: 1100px) {
	.case_list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 767px) {
    .case_list {
        grid-template-columns: 1fr;
    }
}

.case_list .card {
	position: relative;
	padding: 1.5rem 1.5rem 2rem;
	background: var(--color-white);
}

.case_list .label,
.modal_top_left .label {
	display: inline-block;
	width: fit-content;
	margin-bottom: -0.5rem;
	padding: 0.625rem;
	border-radius: var(--br-size-sm);
	background: var(--color-accent);
	color: var(--color-white);
	text-box: trim-both cap alphabetic;
}
.case_list .img_icon,
.modal_top_left .img_icon {
	display: grid;
	place-items: center;
    aspect-ratio: 1/1;
	border-radius: 50%;
	background: var(--color-bg1);
}
.case_list .img_icon {
	position: absolute;
	top: -2rem;
    right: 0.75rem;
    width: 5rem;
}
@container (max-width: 1100px) {
    .case_list .img_icon {
	    top: 1rem;
        right: 1rem;
    }
}
.case_list .img_icon img {
	width: 3.5rem;
	aspect-ratio: 1/1;
}

.case_list .text {
	font-size: var(--size-sm);
}
.case_list .card_data {
	display: flex;
	align-items: center;
	align-self: stretch;
    flex: 1;
	color: var(--color-base);
	font-size: var(--size-sm);
	line-height: 1.5;
}
.card_data .fee,
.modal_bottom .fee {
	font-family: "Roboto", sans-serif;
	font-size: 0.9375rem;
	font-weight: 500;
}

/* modal */
.case_modal_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: color-mix(in srgb, var(--color-sub) 90%, transparent);
	backdrop-filter: blur(0.5rem);
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	z-index: 1000;
}


.case_modal_overlay.is_open {
	opacity: 1;
	visibility: visible;
}

.case_modal_content {
	position: relative;
	background: var(--color-bg-base);
	padding: 3.5rem;
	border-radius: var(--br-size-base);
	/* max-width: 900px; */
    max-width: clamp(0px, 85vw, 900px);
	max-height: 90%;
	overflow-y: auto;
	opacity: 0;
	transform: scale(0.95);
	transition: transform 0.3s ease, opacity 0.3s ease;
	animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.case_modal_overlay.is_open .case_modal_content {
	transform: scale(1);
	opacity: 1;
}

.modal_top {
	display: flex;
	padding-bottom: 1.5rem;
	align-items: flex-start;
	gap: 3rem;
}

.modal_top_left {
	flex-shrink: 0;
	text-align: center;
}
.modal_top_left .img_icon {
	position: static;
	width: 7.5rem;
	aspect-ratio: 1/1;
	margin: 0 auto 0.5rem;
}
.modal_top_left .img_icon img {
	width: 5rem;
	height: auto;
}

.modal_top_right .card_title {
	font-size: 1.75rem;
	font-weight: bold;
	margin-bottom: 1rem;
}

.modal_bottom {
	border-top: 1px solid var(--color-border);
	display: flex;
	flex-direction: column;
}

.modal_bottom dl {
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--color-border);
	padding-block: 1.5rem;
}
.modal_bottom dt {
	width: 10rem;
	color: var(--color-main);
	font-size: var(--size-sm);
	font-weight: bold;
	text-align: center;
}
.modal_bottom dd {
	flex: 1;
	font-size: var(--size-sm);
}
.modal_bottom ul {
	margin: 0;
	padding-left: 20px;
}
.modal_bottom li {
	list-style: disc;
	line-height: 1.6;
	margin-bottom: 4px;
}
.modal_bottom .fee {
	font-weight: bold;
	font-size: 16px;
	color: #000;
}

.modal_close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 3rem;
	aspect-ratio: 1/1;
	cursor: pointer;
}
.modal_close img {
	width: 100%;
	aspect-ratio: 1/1;
}
@media screen and (max-width: 767px) {
    .case_modal_content {
        padding: 1.5rem;
    }
    .modal_top {
        align-items: center;
        flex-direction: column;
        gap: 1rem;
    }
    .modal_bottom dt {
        width: 5rem;
    }
}

/* 背景固定 */
body.modal_open {
	overflow: hidden !important;
}

/*----------------------------
    契約の流れ
----------------------------*/
#flow {
    container-type: inline-size;
}
@media screen and (max-width: 767px) {
    #flow {
        padding-bottom: 0;
    }
}

/* タイトル */
.ttl {
    margin-bottom: 1rem;
    color: var(--color-sub);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

.sub_heading {
    display: grid;
    gap: .25rem;
}
.sub_heading h4 {
    color: var(--color-main);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.04em;
    order: 2;
}
.sub_heading h4 small {
    font-size: var(--size-sm);
    font-weight: 400;
}
.sub_heading p {
    color: var(--color-accent);
    font-family: "Roboto", sans-serif;
    font-size: var(--size-sm);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: capitalize;
    order: 1;
}


/* 流れ */
.flow_area {
    margin-bottom: 5rem;
}
.flow_list {
    position: relative;
    display: flex;
	justify-content: space-between;
	gap: 2rem;
    counter-reset: step;
}
.flow_item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    gap: 1rem;
    padding: 2rem;
    background: var(--color-bg1);
    border-radius: var(--br-size-base);
    box-shadow: var(--shadow);
}
.flow_item h4 {
    display: flex;
    align-items: center;
    gap: .5rem;
	color: var(--color-accent);
	font-size: 1.125rem;
    font-weight: 500;
}
.flow_item h4::before {
	content: counter(step, decimal-leading-zero);
	counter-increment: step;
    display: flex;
	align-items: center;
	justify-content: center;
    width: 2.5rem;
	aspect-ratio: 1 / 1;
	background: var(--color-accent);
    border-radius: 50%;
	color: var(--color-bg-base);
    font-family: "Roboto", sans-serif;
    font-size: 1.125rem;
	font-weight: bold;
    letter-spacing: 0.04em;
}
.flow_item p.text {
    color: var(--color-base);
	font-size: 1rem;
	line-height: 1.7;
}
.flow_item:not(:last-child)::before {
	content: '';
	position: absolute;
	right: -1.5rem;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: .5rem solid transparent;
	border-bottom: .5rem solid transparent;
	border-left: .75rem solid var(--color-accent);
}
@container (max-width: 1023px) {
    .flow_item {
        padding: 1rem;
    }
}
@media screen and (max-width: 767px) {
	.flow_list {
		flex-direction: column;
        align-items: center;
		gap: 3rem;
	}
    .flow_item {
		width: 100%;
		max-width: 500px;
	}
    .flow_item:not(:last-child)::before {
        top: auto;
        bottom: -2rem;
        left: 50%;
        transform: translateX(-50%);
        border-top: .75rem solid var(--color-accent);
        border-right: .5rem solid transparent;
        border-left: .5rem solid transparent;
        border-bottom: none;
    }
}

/* メニュー */
.menu_area {
    margin-bottom: 5rem;
}
.menu_area .textwrap {
    margin-block: -.5rem .5rem;
}

.menu_main {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border-radius: var(--br-size-base);
    border: 4px solid var(--color-accent-2);
    background: var(--color-white);
}
.menu_main_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    gap: 1rem;
    flex: 1;
}
.menu_main_img {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}
.menu_main_img figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}
.menu_main_img figure .img_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 7.5rem;
    aspect-ratio: 1 / 1;
    background: var(--color-bg1);
    border-radius: 50%;
}
.menu_main_img img {
    width: 5.2rem;
    aspect-ratio: 1 / 1;
}
.menu_main_img figcaption {
    color: var(--color-main);
    font-size: 1rem;
    font-weight: 500;
}

.menu_other {
    position: relative;
    margin-top: 3rem;
}
.menu_other::before,
.menu_other::after {
    content: "";
    position: absolute;
    background-color: var(--color-accent-2);
    top: 2%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.menu_other::before {
    width: .5rem;
    height: 3rem;
}
 .menu_other::after {
    width: 3rem;
    height: .5rem;
}
.menu_other .sub_heading {
    margin-left: 2rem;
}

.menu_list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-block: 1rem 2rem;
}
.menu_list .card {
    /* display: flex;
    flex-direction: column;
    align-items: flex-start; */
    padding: 1.5rem;
    border-radius: var(--br-size-base);
    background: var(--color-bg1);
    box-shadow: var(--shadow);
}
.menu_list .card .head {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.menu_list .card .ico {
    width: 3.75rem;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid var(--color-sub);
}
.menu_list .card .ico img {
    width: 2.625rem;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}
.menu_list .card h5 {
    color: var(--color-main);
    font-size: 1.125rem;
    font-weight: 500;
}
.menu_list .card .list {
    margin: 0;
    padding-left: 1.5rem;
    list-style-type: disc;
    color: var(--color-base);
    font-size: var(--size-sm);
}
.menu_list .card .list li {
    list-style-type: disc;
}

.menu_other .text {
    text-align: center;
}

@container (max-width: 1100px) {
	.menu_list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 767px) {
    .sub_heading h4 small {
        display: block;
    }
    .menu_main {
        flex-direction: column;
    }
    .menu_other {
        margin-top: 5rem;
    }
    .menu_other::before,
    .menu_other::after{
        top: -2%;
    }
    .menu_list {
      grid-template-columns: 1fr;
    }
    .menu_other .text {
        text-align: left;
    }
}

/* 料金 */
.fee_box {
    display: flex;
    justify-content: space-between;
    /* flex-wrap: wrap; */
    align-items: center;
    border-radius: var(--br-size-base);
    background: var(--color-bg2);
    padding: 2rem;
    gap: 2rem;
}

.fee_info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    gap: 1rem;
    flex: 1;
}
.fee_sample {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.fee_sample_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    gap: 8px;
    padding: 1.5rem;
    background: var(--color-bg-base);
    border-radius: var(--br-size-sm);
}
.fee_sample_item dt {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 500;
}
.fee_sample_item dd {
    color: var(--color-main);
    font-family: Roboto "Noto Sans JP";
    font-size: 1.75rem;
    font-weight: 500;
}
.fee_sample_item dd small {
    font-size: 1.25rem;
    vertical-align: baseline;
}
@container (max-width: 1100px) {
    .fee_box {
        flex-direction: column;
    }
}
@media screen and (max-width: 767px) {
    .fee_sample {
        flex-direction: column;
        justify-content: center;
    }

    .fee_sample_item {

        width: 100%;
        max-width: 300px;
    }
}

/*----------------------------
    cta
----------------------------*/
.cta {
	container-type: inline-size;
}
.cta .contents {
	position: relative;
	z-index: 1;
	display: grid;
	max-inline-size: 1440px;
	margin-inline: auto;
	padding: 5rem 2rem 4rem;
	border-radius: var(--br-size-lg);
	background: linear-gradient(260deg, var(--color-main) 17%, var(--color-sub) 93%);
	color: var(--color-bg-base);
}
.cta .section_heading {
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}
.cta .section_title {
    font-size: clamp(1.5rem, 0.5rem + 2.0833vw, 2.375rem);
}

@container (max-width: 1440px) {
	.cta .contents {
		margin-inline: 4rem;
	}
}

@container (max-width: 768px) {
	.cta .contents {
		margin-inline: 1rem;
        padding: 3rem 1.5rem 3rem;
	}
}
@media screen and (max-width: 767px) {
    .cta {
        margin-top: 5rem;
    }
	.cta .section_heading {
		margin-bottom: 1.5rem;
	}
    .cta .section_title:before,
    .cta .section_title:after,
    .cta .section_sub:before,
    .cta .section_sub:after {
        content: none;
    }
}


/*-----------------
    FAQ
-----------------*/
#faq {
}

.faq_list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
.faq_item {
	padding: 1.125rem 1rem;
	border-radius: var(--br-size-sm);
    background: var(--color-bg1);
	transition: all 0.3s ease;
}
.faq_item.is_open .faq_answer {
	max-height: 1000px;
	margin-top: 1rem;
}
.faq_question {
	display: grid;
	grid-template-columns: 1fr 2rem;
	align-items: center;
	font-weight: 500;
	color: var(--color-base);
	cursor: pointer;
}

.faq_question span:first-of-type {
	display: block grid;
	align-items: center;
	grid-template-columns: auto 1fr;
	-moz-column-gap: 0.625rem;
	column-gap: 0.625rem;
	font-weight: 500;
	padding: 1rem 0.75rem;
}
.faq_question span:first-of-type:before {
	content: "Q";
	color: var(--color-accent);
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 1.25rem;
	line-height: 1;
}
.faq_answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq_answer span {
	display: block grid;
	align-items: center;
	grid-template-columns: auto 1fr;
	-moz-column-gap: 0.625rem;
	column-gap: 0.625rem;
	padding: var(--size-sm) 1rem;
	border-radius: 1rem;
	background: var(--color-white);
}
.faq_answer span:before {
	content: "A";
	color: var(--color-sub);
	font-family: "Roboto", sans-serif;
	font-weight: 500;
	font-size: 1.25rem;
	line-height: 1;
}

.faq_icon {
	width: 1.5rem;
	aspect-ratio: 1;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}
.ico_plus {
	background: url("../img/ico_plus.svg");
}
.ico_minus {
	background: url("../img/ico_minus.svg");
}

/*-----------------
    フォーム：全体
-----------------*/
#contact {
	background: var(--color-bg2);
	border-radius: var(--br-size-lg) var(--br-size-lg) 0 0;
	container-type: inline-size;
}

.form_area {
	color: var(--color-base);
}

.form_contents {
	max-width: 767px;
	margin: auto;
}
@container (max-width: 820px) {
	.form_contents {
		max-width: 600px;
	}
}
.attention {
	font-size: 1rem;
	text-align: right;
}

.required {
	margin-left: 0.5rem;
	color: var(--color-red);
}

.form_area dl {
	margin-bottom: 2.5rem;
}

.form_area dl:last-of-type {
	margin-bottom: 3.75rem;
}

.form_area dt {
	margin-bottom: 0.625rem;
	font-size: 1rem;
}

.form_area input {
	width: 100%;
	border: none;
	border-radius: 0.5rem;
	background-color: var(--color-bg-base);
	font-size: 1rem;
}

.form_area input.error,
.form_area textarea.error {
	border: 1px solid var(--color-red);
}

.form_area label.error {
	color: var(--color-red);
}

.form_area textarea {
	width: 100%;
	height: 7.5rem;
	padding: 0.625rem;
	border: none;
	border-radius: 0.25rem;
	background-color: var(--color-bg-base);
	font-size: 1rem;
}
.form_text {
	margin-bottom: 2rem;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 10000px #FFFFFF inset !important;
}
::placeholder {
	color: #CCCCCC;
}

@media (min-width: 960px) {
	.form_area input,
	.form_area textarea {
		padding: 1.25rem;
	}
	input[type="submit"] {
		padding: 0;
	}
	.form_area textarea {
		height: 10rem;
	}
}
@media (max-width: 959px) {
	input[type="submit"] {
		padding: 0;
	}
	.form_area {
		padding: 3.5rem 0;
	}
	.attention {
		font-size: var(--size-sm);
	}
	.form_area dl {
		margin-bottom: 2rem;
	}
	.form_area dl:last-of-type {
		margin-bottom: 2.5rem;
	}
	.form_area dt {
		margin-bottom: 0.25rem;
		font-size: var(--size-sm);
	}
	.form_area input {
		padding: 1rem 0.625rem;
	}
	.form_area textarea {
		padding: 1rem 0.625rem;
	}
}
/*----------------------------
    footer
----------------------------*/
footer {
	display: grid;
	place-items: center;
	height: 100px;
	background: var(--color-base);
}
footer .copyright {
	color: var(--color-bg-base);
	font-size: var(--size-sm);
}
