@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
	margin: 0;
	background-color: #ffffff;
}

/* page-Leaseback */
body .main_leaseback p,
.main_leaseback{
	font-family: "Noto Sans JP", sans-serif !important;
	color: #2b2b2bff;
}

body .main_leaseback p {
	line-height: 1.4;
}

.main_leaseback h3,
.main_leaseback h2,
.main_leaseback h1,
.main_leaseback p {
	margin: 0;
}

.fifth_wrap,
.fourth_wrap,
.third_wrap,
.second_wrap,
.top_wrap {
	width: 100%;
	max-width: 1920px;
	height: auto;
	margin: 0 auto;
	margin-bottom: 200px;
}

.top_session {
	display: grid;
	grid-template-columns: 70% 1fr;
	align-items: center;
	background-color: #fbfaf5;
}

/* --- フェードインのアニメーション定義 --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px); /* 20px下から開始 */
  }
  to {
    opacity: 1;
    transform: translateY(0);    /* 元の位置へ */
  }
}

.top_object {
	grid-column: 2 / 3;
	width: 100%;
	display: flex;
	flex-direction: column;
    justify-content: center;
	align-items: center;
    padding: 100px;
    box-sizing: border-box;
	writing-mode: vertical-rl;
	opacity: 0; /* 初期状態は非表示 */
  	animation: fadeInUp 2s ease-out forwards;
  	animation-delay: 0.2s;
}

.main_leaseback .title001 {
	display: block;
	width: fit-content;
	margin: 0 auto;
	font-size: 36px;
	font-weight: 300;
}

.main_leaseback .top_txt01 {
	display: block;
	height: 100%;
	font-size: 18px;
	text-align: right;
}

.color_olive {
	color: #c99a49ff;
	font-weight: 400;
}

.second_line {
	padding-top: 4em;
}

.leaseback_top_img {
	grid-column: 1 / 2;
    align-self: center;
    display: flex;
    flex-direction: column;
	justify-content: center;
	align-items: center;
    width: 100%;
	height: auto;
	box-sizing: border-box;
	padding: 50px;
	min-width: 0;
	opacity: 0; /* 初期状態は非表示 */
  	animation: fadeInUp 2s ease-out forwards;
  	animation-delay: 1s;
}

.leaseback_top_img img {
	display: block;
    max-width: 100%;
	height: auto;
    object-fit: cover;
	box-shadow: 12px 12px 12px #ad9b52ff;
}

.second_session {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-bottom: 70px;
}

.second_txt01 p {
	font-size: 18px;
	font-weight: 400;
	padding: 5em;
}

.second_txt01 {
	position: relative;
}

.second_txt01::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% + 70px);
	border-left: solid 1px #2589d0ff;
}

.second_txt01::after {
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: calc(100% + 70px);
	height: 100%;
	border-bottom: solid 1px #2589d0ff;
}

.main_leaseback .title002 {
	display: block;
    writing-mode: vertical-rl;
	white-space: nowrap;
	font-size: 28px;
	font-weight: 300;
	padding: 0 3em;
}

.second_card_wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 70px;
}

.second_card {
	width: 300px;
	height: 300px;
	border-radius: 4px;
	box-shadow: 0 5px 20px #ad9b52ff;
	font-feature-settings: "palt";
	font-size: 16px;
	font-weight: 400;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.second_card p:first-child {
	margin-top: 1.5em;
	height: calc(50% - 2.5em);
	text-align: center;
}


/* --- 初期状態：一括で透明＆少し下に下げておく --- */
.card004,
.third_card,
.second_card {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* --- スクロールして画面に入ったら付与するクラス --- */
.card004.is-visible,
.third_card.is-visible,
.second_card.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* 画面に同時に入ったとき、右側のカードほど少し遅れて表示させる設定 */
.second_card.is-visible:nth-child(1) { transition-delay: 0s; }
.second_card.is-visible:nth-child(2) { transition-delay: 0.15s; }
.second_card.is-visible:nth-child(3) { transition-delay: 0.3s; }

.third_card.is-visible:nth-child(1) { transition-delay: 0s; }
.third_card.is-visible:nth-child(2) { transition-delay: 0.15s; }
.third_card.is-visible:nth-child(3) { transition-delay: 0.3s; }
.third_card.is-visible:nth-child(4) { transition-delay: 0.45s; }
.third_card.is-visible:nth-child(5) { transition-delay: 0.6s; }
.third_card.is-visible:nth-child(6) { transition-delay: 0.75s; }

.fourth_session.card004:nth-child(1) { transition-delay: 0s; }
.fourth_session.card004:nth-child(2) { transition-delay: 0.15s; }
.fourth_session.card004:nth-child(3) { transition-delay: 0.3s; }
.fourth_session.card004:nth-child(4) { transition-delay: 0.45s; }
.fourth_session.card004:nth-child(5) { transition-delay: 0.6s; }
.fourth_session.card004:nth-child(6) { transition-delay: 0.75s; }
.fourth_session.card004:nth-child(7) { transition-delay: 0.9s; }
.fourth_session.card004:nth-child(8) { transition-delay: 1.05s; }

.third_wrap {
	background-color: #fbfaf5;
}

.third_session {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 200px 0 200px 0;
}

.third_card_wrap > div {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 50px;
}

.third_card_wrap > div > div {
	width: 250px;
	height: 250px;
}

.third_card_wrap > div:nth-child(1) {
	margin: 0 50px 50px 0;
}

.third_card_wrap > div:nth-child(2) {
	margin: 0 0 50px 50px;
}

.third_card_wrap img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 4px;
}

.third_card {
	position: relative;
}

.third_card_wrap .third_card p {
	position: absolute;
	width: 12.2em;
	top: 50%;
	left: 50%;
  	transform: translate(-50%, -50%);
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	text-shadow:
	1.5px 1.5px 4px rgba(0, 0, 0, 1),
	1.5px 1.5px 4px rgba(0, 0, 0, 1),
	1.5px 1.5px 4px rgba(0, 0, 0, 1);
}

.third02_session {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.third02_img_wrap {
	max-width: 1500px;
	height: auto;
}

.third02_img_wrap img {
	display: block;
	max-width: 100%;
	margin: auto;
}

.third02_txt_wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: start;
	writing-mode: vertical-rl;
	margin: 200px auto;

}

.third02_txt_wrap .title003 {
	display: block;
	padding-left: 70px;
	font-size: 32px;
	font-weight: 400;
}

.third02_txt_wrap p {
	display: block;
	font-size: 18px;
	font-weight: 400;
	padding: 8em 70px 0 0;
}

.third02_txt_wrap p span {
	display: block;
	padding-left: 1em;
}



.fourth_session {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.card004_03_wrap,
.card004_02_wrap,
.card004_01_wrap {
	max-width: 880px;
	width: 98%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.card004 {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 250px;
	height: 250px;
	background-color: #fbfaf5;
	border-radius: 4px;
	box-shadow: 5px 5px 5px #ad9b52ff;
	margin: 30px 20px;
}

.card004 p:nth-child(1) {
	display: flex;
	align-items: center;
	width: 90%;
	margin-top: 1.5em;
	margin-bottom: calc(50% - 3.5em);
}

.card004 p:nth-child(1)::before {
	content: "";
	height: 1em;
	border-left: 4px solid #2589d0ff;
	margin: 0 8px 0 8px;
	flex-shrink: 0;
}

.fifth_wrap {
	background-color: #fbfaf5;
}

.fifth_session {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 200px 0;
}

.fifth_session .title003 {
	font-size: 32px;
	font-weight: 400;
	writing-mode: vertical-rl;
	padding-bottom: 100px;
}

.fifth_content {
	position: relative;
}

.fifth_content::before {
	content: "";
	position: absolute;
	top: 0;
	left: 69px;
	height: calc(100% - 200px);
	border-left: dotted 2px #2589d0ff;
	z-index: 1;
	margin-top: 50px;
}

.fifth_txt_wrap {
	display: flex;
	justify-content: start;
	align-items: center;
	margin-bottom: 100px;
	position: relative;
	z-index: 3;
}

.fifth_txt_wrap p:nth-child(1) {
	padding: 0 50px;
}

.fifth_txt_wrap p:nth-child(2) {
	font-size: 16px;
	font-weight: 400;
}

.fifth_txt_wrap p:nth-child(2) span:nth-of-type(1) {
	font-size: 18px;
}

.fifth_txt_wrap p:nth-child(2) span:nth-of-type(2) {
	font-size: 14px;
}

.circle-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  font-weight: 400;
  border: solid 1px #2b2b2bff;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  padding-bottom: 2px;
  background-color: #fbfaf5;
}

.fifth_session h3 {
	display: block;
	font-size: 28px;
	font-weight: 300;
	padding-bottom: 150px;
	border-bottom: none;
}

.fifth_session > p {
	display: block;
	font-size: 16px;
	font-weight: 400;
}

.fifth_txt_end {
	padding-bottom: 1em;
}

.fifth_session > a {
	display: flex;
	justify-content: center;
	align-items: center;
    width: fit-content;
    min-width: 320px;
    color: #fff;
    background-color: #2589d0ff;
    margin: 70px auto;
    padding: 1.2em 2.5em;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.05em;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(24, 80, 161, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
	text-decoration: none;
}

.fifth_session > a .arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.fifth_session > a:hover {
  background-color: #3ca5f0;
  box-shadow: 0 6px 20px rgba(37, 137, 208, 0.4);
  transform: translateY(-2px);
}

.fifth_session > a:hover .arrow {
  transform: translate(3px, 0) rotate(45deg);
}

@media (max-width: 1200px) {
.third_card_wrap > div:nth-child(2),
.third_card_wrap > div:nth-child(1),
.third_session,
.third_card_wrap {
	flex-wrap: wrap;
}


.third_session {
	flex-direction: column-reverse;
}

.third_card_wrap > div:nth-child(2),
.third_card_wrap > div:nth-child(1) {
	margin: 0 auto 50px;
}

.third_session .title002 {
	margin-bottom: 50px;
} 
}

@media (max-width: 767px) {

	.second_txt01 {
		width: 98%;
	}

    .top_session {
        display: flex;
        flex-direction: column;
    }
    .top_object {
        width: 90%;
        margin: 20px auto;
        padding: 40px 20px;
    }
    .leaseback_top_img {
        margin-left: 0;
        width: 100%;
    }
    .leaseback_top_img img {
        margin-top: 20px;
    }

	.main_leaseback .title002 {
		width: 90%;
		font-size: 24px;
	}
	
	.second_txt01 {
		margin-bottom: 120px;
	}

	.second_txt01 p {
		padding: 2em;
	}
	
	.fifth_content {
		width: 92%;
	}
	
	.fifth_txt_wrap p:nth-child(1)  {
		padding: 0 20px;
	}

	.fifth_content::before {
		left: 39px;
	}

	.fifth_session h3 {
		width: 96%;
		font-size: 22px;
		padding-bottom: 70px;
		text-align: center;
	}

	.fifth_session > p {
		width: 92%;
	}
}