/*
 * base css 
 * pc width 1000px fixed
 */

@media (max-width: 599px) {
}

@media (min-width: 600px) and (max-width:959px) {
}

@media (min-width: 960px) {
}

@media (max-width: 480px) {
}

@media (min-width: 481px) and (max-width:767px) {
}

@media (min-width: 768px) and (max-width:959px) {
}

@media (min-width: 960px) {
}

@media (max-width: 767px) {
}

@media (min-width: 768px) {
}



/* ---------------------------------------- common */

media (max-width: 767px) {
	main {
		padding: 5em 0 0;
	}
}

@media (min-width: 768px) {
	main {
		padding: 5em 0 0;
	}
}

/* decott */

.decott {
	text-align: center;
}
.decott::before {
	content: "";
	display: inline-block;
	width: 3.5em;
	height: 1.75em;
	background: url( ../images/commons/slash-red.svg ) no-repeat center center;
	background-size contain;
}
.decott span {
	display: block;
	font-family: "Oswald", sans-serif;
	font-weight: 500;
	line-height: 1.2;
}
.decott small {
	display: block;
	font-weight: 600;
	line-height: 1.4;
}

@media (max-width: 767px) {

	.decott {
		margin: 0 0 2em;
	}
	.decott::before {
		width: 2.5em;
		height: 1.25em;
	}
	.decott span {
		font-size: clamp(2rem, 0.926rem + 5.37vw, 3.5rem);
	}
	.decott small {
		font-size: clamp(0.938rem, 0.714rem + 1.12vw, 1.25rem);
	}

}

@media (min-width: 768px) {

	.decott {
		margin: 0 0 3em;
	}
	.decott::before {
		width: 3.5em;
		height: 1.75em;
	}
	.decott span {
		font-size: clamp(3.125rem, -5.151rem + 17.24vw, 5.625rem);
	}
	.decott small {
		font-size: clamp(1.125rem, -1.358rem + 5.17vw, 1.875rem);
	}

}

/* linefollow */

.linefollow {
	font-weight: 500;
	font-size: clamp(1rem, -0.241rem + 2.59vw, 1.375rem);
	margin: 0 0 1em;
	position: relative;
}
.linefollow::after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	background: #da1c1c;
	position: absolute;
	top: 50%;
	left: 0;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: -1;
}
.linefollow span {
	display: inline-block;
	background: #fff;
	line-height: 1.4;
	padding: 0 1em 0 0;
}

/* other */

article p { line-height: 2; }
.lead {
	text-align: center;
	font-weight: 500;
	margin: 0 0 3.5em;
}


/* ---------------------------------------- climbing */

@media (max-width: 767px) {

	#climbing { 
		margin: 0 0 5em; 
	}

}

@media (min-width: 768px) {

	#climbing { 
		padding: 0 1.5em;
		margin: 0 0 10em; 
	}
	#climbing .inside p , #classification .inside p { text-align: center; }

}

/* ---------------------------------------- classification */

#classification section + section { margin: 3em 0 0; }

/* targets */

#targets h3 {
	font-weight: 500;
	font-size: clamp(1rem, -0.241rem + 2.59vw, 1.375rem);
	text-align: center;
	margin: 0 0 1em;
	padding-top: 1em;
}
#targets .inside > div {
	border: 1px #b5b5b5 solid;
	border-radius: 1em;
	padding: 1em;
}

#targets .disabled ul {
	display: grid;
	grid-template-columns: repeat(3, auto); /* 3列、内容に応じて幅が決まる */
	gap: 0.7em 1em; /* 行間・列間の余白 */
	list-style: none;
	padding: 0;
	margin: 0;
}

#targets .areas ul {
	display: grid;
	grid-template-columns: repeat(2, auto);
	gap: 0.5em 1em; /* 行間・列間の余白 */
}
#targets .areas ul li .detail {
	display: flex;
	align-items: center;
	width: 100%;
	border: 1px #da1c1c solid;
	border-radius: 4px;
}
#targets .areas ul li .detail h4 {
	width: 6em;
	color: #fff;
	background: #da1c1c;
	text-align: center;
	padding: .5em;
}
#targets .areas ul li .detail p { 
	width: calc( 100% - 6em );
	line-height: 1.2;
	text-align: center;
	padding: 0 .5em; 
}

@media (max-width: 599px) {

	#targets .disabled ul {
		display: grid;
		grid-template-columns: repeat(2, auto); /* 3列、内容に応じて幅が決まる */
		gap: 0.7em 1em; /* 行間・列間の余白 */
		list-style: none;
		padding: 0;
		margin: 0;
	}

	#targets .areas ul {
		display: list-item;
	}
	#targets .areas ul li + li {
		margin: .5em 0 0;
	}
}

@media (max-width: 767px) {

	#classification { 
		margin: 0 0 5em; 
	}
	#targets .disabled {
		margin: 0 0 1em;
	}
}

@media (min-width: 768px) {

	#classification { 
		padding: 0 1.5em;
		margin: 0 0 10em; 
	}

}

@media (min-width: 768px) and (max-width:999px) {
	#targets .inside > div.disabled {
		padding: 1em 3em;
		margin: 0 0 1.5em;
	}
}

@media (min-width: 1000px) {

	#targets .inside {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
	}

}

/* ---------------------------------------- classification-process */

#classification-process h3 {
    font-weight: 500;
    font-size: clamp(1rem, -0.241rem + 2.59vw, 1.375rem);
    text-align: center;
    margin: 0 0 1em;
	padding-top: 1em;
	border-top: 1px #b5b5b5 solid;
}

@media (max-width: 767px) {

	#classification-process { 
		margin: 0 0 5em; 
	}

}

@media (min-width: 768px) {

	#classification-process { 
		padding: 0 1.5em;
		margin: 0 0 10em; 
	}

}

#classification-process h2 + .inside {
	border-bottom: 1px #b5b5b5 solid;
	padding: 0 0 3em;
	margin: 0 0 1em;
}
#classification-process .inside p + ul { margin: 1em 0 0; }
#classification-process .inside p + ul li:not(:last-child){ margin: 0 0 .5em; }

#classification-process .inside p + ul li dl {
	display: table;
	width: 100%;
}
#classification-process .inside p + ul li dl > * {
	display: table-cell;
	vertical-align: middle;
}
#classification-process .inside p + ul li dl dt { 
	width: 2.25em;
	color: #da1c1c; 
}
#classification-process .inside p + ul li dl dt span {
	font-family: "Oswald", sans-serif;
	font-weight: 500;
}

@media (max-width: 767px) {

	#classification-process .inside p + ul li dl dt {
		font-size: clamp(1.625rem, 0.797rem + 1.72vw, 1.875rem);
	}
	#classification-process .inside p + ul li dl dd {
		font-size: clamp(0.875rem, 0.047rem + 1.72vw, 1.125rem);
		line-height: 1.6;
	}
}

@media (min-width: 768px) {

	#classification-process .inside p + ul li dl dt {
		font-size: clamp(1.125rem, -1.358rem + 5.17vw, 1.875rem);
	}
	#classification-process .inside p + ul li dl dd {
		font-size: clamp(0.875rem, 0.047rem + 1.72vw, 1.125rem);
		line-height: 1.4;
	}

}

/* ---------------------------------------- attempt */

#attempt {
	background: #eee url( ../images/paraclimbing/PARACLIMBING.svg ) no-repeat left bottom;
	background-size: 100% auto;
	padding: 5em 0;
}
#attempt h2 {
	font-weight: 500;
	font-size: clamp(1.375rem, -0.037rem + 7.06vw, 4.375rem);
	font-style: italic;
	text-align: center;
	margin: 0 auto 1.25em;
}
#attempt h2 em { 
	display: inline-block;
}
#attempt h2 span {
	display: block;
	line-height: 1.6;
	position: relative;
	z-index: 1;
}
#attempt h2 span::before {
	content: "";
	display: block;
	width: 100%;
	height: .2em;
	background: #ee334e;
	position: absolute;
	bottom: .15em;
	left: 0;
	z-index: -1;
}

@media (max-width: 767px) {
	#attempt p {
		font-size: clamp(0.875rem, 0.696rem + 0.89vw, 1.125rem);
	}
}

@media (min-width: 768px) {

	#attempt .inner { padding: 0 1.5em; }
	#attempt p {
		font-size: clamp(0.875rem, 0.047rem + 1.72vw, 1.125rem);
	}
}

