@charset "UTF-8";

html {
	scrollbar-gutter: stable;
}

#visual {
	margin: 196px 0 226px;
	padding: 54px 0 56px;
	background: url(../images/journey/visual_bg.png) no-repeat center / cover;
}
#visual p {
	color: #022B50;
	text-align: center;
	font-size: 17px;
	font-weight: 500;
	line-height: 38px;
	letter-spacing: 1.7px;
	width: fit-content;
	margin: 0 auto;
	position: relative;
}
#visual p::before,
#visual p::after {
	content: '';
	position: absolute;
	display: block;
	background: no-repeat center / cover;
}
#visual p::before {
	background-image: url(../images/journey/visual_l.png);
	top: -196px;
	right: calc(100% - 150px);
	width: 454px;
	aspect-ratio: 9 / 12;
}
#visual p::after {
	background-image: url(../images/journey/visual_r.png);
	bottom: -206px;
	left: calc(100% - 80px);
	width: 394px;
	aspect-ratio: 8 / 12.5;
}

#inPageLink {
	padding: 0 0 280px;
}
#inPageLink button {
	display: none;
}

#inPageLink a:nth-child(1) {
	width: 22%;
}
#inPageLink a:nth-child(2) {
	width: 20%;
}
#inPageLink a:nth-child(3) {
	width: 16%;
}
#inPageLink a:nth-child(4) {
	width: 20%;
}
#inPageLink a:nth-child(5) {
	width: 22%;
}
#inPageLink a span {
	width: auto;
}

section {
	padding-bottom: 100px;
}
section article {}
section article h3 {}
section article div {
	position: relative;
}
section article div.detail {
	display: none;
}
section article figure {
	position: absolute;
	top: 0;
	right: 0;
	width: 370px;
}
section article figure img {
	margin: 0 0 20px;
}
section article figure img:nth-of-type(n+2) {
	display: none;
}
section article p {
	padding-right: 420px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
	overflow: hidden;
	max-height: calc(32px * 7);
}
section article h4 {
	font-family: "Lato", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 32px;
	letter-spacing: 1.2px;
	margin: 60px 0 24px;
}
section span[data-id] {
	color: #F5F28E;
	text-decoration: underline;
	cursor: pointer;
}
section article figure.fullsize {
	position: static;
	width: 100%;
}
section article p.fullsize {
	padding: 0;
	display: block;
	max-height: none;
}
section article button {}

section article div.detail p:not(.fullsize) {
	display: block;
	max-height: none;
	min-height: 240px;
}
section article.open p {
	display: block;
	max-height: none;
}
section article.open figure img:nth-of-type(n+2) {
	display: block;
}

#modal {
	background: #032642eb;
}


@media print, screen and (max-width: 768px) {
#visual {
	margin: 33vw 0 26vw;
	padding: 31vw 0 22vw;
	background-image: url(../images/journey/visual_bg_sp.png);
}
#visual p {
	text-align: left;
	font-size: 3.4vw;
	line-height: 2.1;
	padding: 0 4.4vw;
	width: 100%;
}
#visual p::before,
#visual p::after {}
#visual p::before {
	background-image: url(../images/journey/visual_t.png);
	top: -52.5vw;
	right: -15vw;
	width: 118vw;
	aspect-ratio: 9 / 5;
}
#visual p::after {
	background-image: url(../images/journey/visual_b.png);
	bottom: -37vw;
	left: 13vw;
	width: 90vw;
	aspect-ratio: 7 / 5.5;
}
#inPageLink {
	padding: 0 0 69vw;
}
#inPageLink:not(.show
			   ) a i {
	height: 0 !important;
	margin: 0;
}
/* #inPageLink a:nth-of-type(3) i,
#inPageLink a:nth-of-type(4) i {
	height: calc(4.2vw * 1);
}
#inPageLink a:nth-of-type(5) {
	width: 100%;
	border-bottom: none;
}
#inPageLink a:nth-of-type(5) i {
	height: calc(4.2vw * 2);
} */

#inPageLink .wrap div {
	display: grid;
  grid-template-columns: 1fr 1fr; /* 2列 */
  grid-template-rows: auto auto auto; /* 3行（自動高さ） */
	
  /* gap: 10px; */
	margin: 0 3vw;
	}
	#inPageLink a:nth-child(1) {
		width: auto;
	}
	#inPageLink a:nth-child(2) {
		width: auto;
	}
	#inPageLink a:nth-child(3) {
		width: auto;
	}
	#inPageLink a:nth-child(4) {
		width: auto;
	}
	#inPageLink a:nth-child(5) {
		grid-column: 1 / -1;
		width: auto;
		border: none;
	}

#inPageLink a {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	width: auto;
	padding: 2vw 3vw 2vw 0;
}
#inPageLink a span {
	width: 100%;
}
#inPageLink a i {
	height: auto;
}


#inPageLink button {
	display: block;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, 0);
	border-radius: 0 0 6px 6px;
	background: rgb(52 52 58 / 60%);
	width: 23vw;
	height: 7vw;
	padding: 0;
	cursor: pointer;
}
#inPageLink button::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	height: 100%;
	aspect-ratio: 1;
	background: url(../images/common/chevron_white.png) no-repeat center / 35%;
	transform: translate(-50%, -50%) rotate(-90deg);
}
#inPageLink.show button::after {
	transform: translate(-50%, -50%) rotate(90deg);
}
section {
		padding-bottom: 10vw;
}
section article {
	padding-bottom: 7vw;
}
section article h3 {}
section article div {}
section article div.detail {}
section article figure {
	position: static;
	width: 84%;
	margin: 0 auto;
}
section article figure img {}
section article figure img:nth-of-type(n+2) {}
section article p {
	padding: 0;
	-webkit-line-clamp: 3;
	max-height: calc(6.1vw * 3);
	margin-bottom: 6vw;
}
section article h4 {
	font-size: 4vw;
	line-height: 1.7;
	letter-spacing: 1.2px;
	margin: 12vw 0 4.4vw;
}
section span[data-id] {}
section article figure.fullsize {}
section article p.fullsize {}
section article button {}
section article div.detail p:not(.fullsize) {
	min-height: auto;
}
section article.open p {}
section article.open figure img:nth-of-type(n+2) {}
}