/* ーーー 共通設定 ーーー */


/* ー 代表挨拶 h2 ー */

.company-h2 {
	font-size: clamp(2rem, 1.4714rem + 1.1429vw, 2.5rem);
}

/* ー 代表挨拶以降のh2 ー */

.company_border-flex-h2 {
	padding-bottom: .5rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--c-dark);
	font-weight: var(--fw-lg);
	display: flex;
	flex-direction: column-reverse;
	gap: .5rem;
}

@media (min-width: 600px) {
	.company_border-flex-h2 {
		justify-content: space-between;
		align-items: center;
		flex-direction: unset;
		gap: unset;
	}
}

.company_border-flex-h2-en {
	position: relative;
	margin-left: 16px;
	font-size: clamp(1.125rem, 0.9857rem + 0.5714vw, 1.5rem);
}

.company_border-flex-h2-en::before {
	position: absolute;
	content: "";
	width: 8px;
	height: 8px;
	top: 50%;
	transform: translateY(-50%);
	left: -16px;
	background: var(--c-gradient);
	border-radius: 100px;
}

/* ー 最大幅 960px ー */

.company_max-screen {
	max-width: 60rem;
	margin-inline: auto;
}

.company_max-screen:not(:last-child) {
	margin-bottom: var(--g-sec--md);
}


/* ーーー ページ内遷移ボタン ーーー */


.company_button-content {
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 1rem;
	justify-content: center;
	margin-inline: auto;
	margin-bottom: 2.5rem;
}

@media (min-width: 600px) {
	.company_button-content {
		grid-template-columns: repeat(auto-fit, 10.25rem);
	}
}

.company_button {
	min-width: 160px;
	display: inline-block;
	padding: 1px;
	border-radius: 8px;
	background: linear-gradient(90deg, #5FC4CF, #4A9ED9 53%, #175AC4);
}

.company_button_text {
	width: 100%;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	background: var(--c-light);
	border-radius: 8px;
	padding: 12px 0 14px;
	color: var(--c-dark);
	font-size: 16px;
	font-weight: var(--fw-lg);
	line-height: 145%;
}

.company_button_arrow {
	color: var(--c-dark);
	width: 10px;
	height: 10px;
	border: 2px solid;
	border-left: 0;
	border-bottom: 0;
	transform: translateY(-25%) rotate(135deg);
}


/* ーーー 代表挨拶 ーーー */


.company_ceo {
	display: flex;
	flex-direction: column;
	margin-bottom: clamp(5.75rem, 5.3786rem + 1.5238vw, 6.75rem);
}

@media (min-width: 768px) {
	.company_ceo {
		flex-direction: unset;
		gap: 2.5rem;
	}
}

.company_ceo-textcontent {
	flex: 1;
	max-width: 35rem;
	margin-inline: auto;
}

.company_ceo-titleblock {
	margin-bottom: 1rem;
}

.company_ceo-h2 {
	margin-bottom: .5rem;
}

@media (min-width: 768px) {
	.company_ceo-titleblock {
		margin-bottom: 2.5rem;
	}

	.company_ceo-h2 {
		margin-bottom: 1rem;
	}
}

.company_ceo-h3 {
	font-size: 1.5rem;
}

.company_ceo-textblock {
	margin-bottom: 1rem;
}

.company_ceo-textblock p:not(:last-child) {
	margin-bottom: 1.25rem;
}

.company_ceo-name {
	text-align: right;
}

@media (min-width: 600px) {
	.company_ceo-text-column {
		display: flex;
		flex-direction: column;
	}

	.company_ceo-textblock p:nth-child(n+4) {
		margin-bottom: 0;
	}
}

.company_ceo-img img {
	display: none;
}

.company_ceo-sp-img {
	margin-bottom: 1rem;
}

.company_ceo-sp-img img {
	width: 100%;
	object-fit: cover;
	object-position: 50% 0%;
	aspect-ratio: 358 / 360;
}

@media (min-width: 768px) {
	.company_ceo-sp-img {
		display: none;
	}

	.company_ceo-img {
		flex: 1;
	}

	.company_ceo-img img {
		display: block;
		max-width: 38.125rem;
		width: 100%;
	}
}

/* ーーー mvv ーーー */

.mvv {
	position: relative;
	padding: var(--g-sec--md) 0;
	margin-bottom: var(--g-sec--md);
}

.mvv_bg {
	position: absolute;
	top: 0;
	left: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
	height: 100%;
	z-index: -1;
}
.mvv_bg img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

.mvv_gradient {
	position: absolute;
	top: 0;
	left: calc(50% - 50vw);
	width: 100vw;
	height: 100%;
	z-index: -1;
	background: linear-gradient(150deg, #5FC4CF, #4A9ED9 51%, #175AC4);
	opacity: .9;
}

.mvv_content {
	position: relative;
	max-width: 42.5rem;
	margin-inline: auto;
	margin-top: 3.25rem;
}

.mvv_title {
	position: absolute;
	top: -3.25rem;
	left: 50%;
	transform: translateX(-50%);
	font-size: 2.5rem;
	font-weight: var(--fw-lg);
	font-family: "Nanum Myeongjo", serif;
	color: var(--c-light);
	white-space: nowrap;
	width: auto;
	line-height: 1.25;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.mvv_title-jp {
	font-size: 1.5rem;
	font-family: var(--ff-g);
}

.mvv_textblock {
	position: relative;
	text-align: center;
	color: var(--c-light);
	padding: 2.5rem 1.25rem 2rem;
	margin-top: 3.25rem;
	border-left: 1px solid var(--c-light);
	border-right: 1px solid var(--c-light);
	border-bottom: 1px solid var(--c-light);
}

.mvv_content:not(:first-child) .mvv_textblock {
	margin-top: 5.25rem;
}

.mvv_textblock::before,
.mvv_textblock::after {
	position: absolute;
	content: "";
	left: 0;
	top: 0;
	width: 20%;
	height: 1px;
	background: var(--c-light);
}

@media (min-width: 600px) {

	.mvv_textblock::before,
	.mvv_textblock::after {
		width: 30%;
	}
}

.mvv_textblock::after {
	left: unset;
	right: 0;
}

.mvv_text-column {
	display: flex;
	flex-direction: column;
}


/* ーーー 会社概要・会社沿革 ーーー */


.company_information-img {
	object-fit: cover;
	width: 100%;
	margin-bottom: 1.5rem;
}

.company_information-list,
.company_history-list {
	display: flex;
}

.company_information-list dt {
	width: 41%;
}

.company_information-list div {
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.company_information-list:not(:last-child),
.company_history-list:not(:last-child) {
	border-bottom: 1px solid #ABABAB;
	padding-bottom: 1.5rem;
}

.company_information-list:not(:first-child),
.company_history-list:not(:first-child) {
	padding-top: 1.5rem;
}

.company_dd-flex {
	display: flex;
	flex-direction: column;
}

@media (min-width: 600px) {

	.company_information-list dt,
	.company_history-list dt {
		width: 33.5%;
	}

	.company_dd-flex {
		flex-direction: unset;
		gap: 1rem;
	}
}

.company_history-list {
	flex-direction: column;
	gap: .5rem;
}

@media (min-width: 600px) {
	.company_history-list {
		flex-direction: unset;
		gap: unset;
	}
}

/* ーーー 取扱保険会社 ーーー */

.company_insurance-content {
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 1rem 1.5rem;
	justify-content: center;
	margin-inline: auto;
}
.company_insurance-content img{
	box-shadow: 0 4px 8px 0 #00000025;
	border-radius: var(--bd-r--lg);
	overflow: hidden;
}


@media (min-width: 600px) {
	.company_insurance-content {
		grid-template-columns: repeat(auto-fit, 13.125rem);
	}
}