/*====================================================
  about
====================================================*/
.about {
	padding: 55px 0 35px;
}

.about-img {
	padding-top: 22px;
	background-color:#EDE349 ;
	text-align: center;
}

.about-img img {
	width: 80%;
	max-width: 591px;
	margin-bottom: -2.1%;
}

@media screen and (min-width: 801px) {
	.about-img img {
		margin-bottom: -12px;
	}
}

/*====================================================
  detail
====================================================*/

.detail {
	padding: 55px 0 68px;
}

.detail-item {
	padding: 30px 5% 30px;
	margin-bottom: 40px;
	background-color: #3F80C3;
}

.detail-inr {
	max-width: 780px;
	margin: 0 auto;
}

.detail-ttl {
	max-width: 840px;
	margin: 0 auto 28px;
	letter-spacing: 0.07em;
	color: #fff;
	text-align: center;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	font-size: min(8vw,24px);
	font-weight: bold;
	padding: 10px 10px;
}

.detail-ttl span {
	color: #EDE349;
}

.detail-merit {
	margin-bottom: 60px;
}

.detail-merit-list {
    display: grid;
    gap: 3vw 3%;
    counter-reset: number 0;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.detail-merit-list li {
	background-color: #fff;
	padding: 45px 0 22px ;
	position: relative;
	letter-spacing: 0.07em;
}

.detail-merit-list li::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 85px;
	height: 80px;
	display: block;
	background: url(../img/deco_triangle.png) no-repeat;
	background-size: contain;
}

.detail-merit-no {
	position: absolute;
    top: 6px;
    left: 5px;
	z-index: 1;
	font-size: 12px;
	font-weight: bold;
	color: #3F80C3;
	letter-spacing: 0;
	font-feature-settings: "palt";
	line-height: 1.2;
}

.detail-merit-no::after {
	counter-increment: number 1; 
	content: "0"counter(number)" " ;
	display: block;
	font-size: 17px;
	font-weight: bold;
	line-height: 1;
	text-align: center;
}

.detail-merit-ttl {
	font-size: 17px;
	font-weight: bold;
	text-align: center;
	line-height: 1.25;
	color: #333 !important;
	background: transparent !important;
}

.detail-merit-ttl span:not(.tax) {
	font-weight: bold;
	font-size: min(7.5vw,22px);
}

.detail-merit-ttl span.tax {
	color: #241912;
	font-size: 11px;
	margin: 5px 0 3px;
}

.detail-merit-ttl em {
	color: #3F80C3;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.07em;
}

.detail-merit-list li:nth-of-type(2) .detail-merit-ttl em {
	color: #D80000;
	display: block;
	line-height: 1;
}

.detail-merit-list li figure {
	text-align: center;
	margin-top: 20px;
}

.detail-merit-list li:first-of-type figure img {
    margin-right: -30px;
    margin-top: -4px;
}

.detail-merit-list li:nth-of-type(2) .detail-merit-ttl{
	line-height: 1;
}

.detail-merit-list li:nth-of-type(2) figure {
	margin-top: 8px;
}

@media screen and (min-width: 801px) {
	.detail .title {
		font-size: min(5.5vw, 32px);
	}

	.detail-item {
		padding: 35px 10px 35px;
	}

	.detail-merit-list {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}
}

/* 模擬試験内容 */
.detail-subject-box {
	background-color: #fff;
	padding: 32px 5% 35px;
}

.detail-subject-wrap {
	position: relative;
	display: flex;
	justify-content: flex-end;
}

.detail-subject-txt {
	flex: 1;
	max-width: 750px;
}

.detail-subject-img {
    width: 30%;
	max-width: 130px;
    margin-bottom: -2px;
	position: absolute;
	bottom: 0;
	right: 0;
}

.detail-subject-dl:first-of-type {
	margin-bottom: 30px;
}

.detail-subject-dl dt {
	background-color: #EDE349;
	color: #3F80C3;
	font-size: 17px;
	font-weight: 800;
	padding: 3px 10px;
	margin-bottom: 18px;
	text-align: center;
	position: relative;
}

.detail-subject-dl dd {
	font-size: min(5.5vw,16px);
	font-weight: 600;
	letter-spacing: 0.07em;
	line-height: 1.388;
}

.detail-lead {
	text-align: left;
	color: #fff;
	font-size: min(5vw,16px);
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.4;
	margin-bottom: 5px;
	font-feature-settings: "palt";
	background-color: transparent !important;
}

.detail-lead span {
	display: inline-block;
}

.detail-note {
	text-align: left;
	color: #fff;
	font-size: min(4vw,13px);
	letter-spacing: 0.03em;
	margin-bottom: 30px;
}


@media screen and (max-width: 800px) {
	.detail-lead {
	    min-height: 5em;
	}

	.detail-note {
		margin-bottom: 7em;
	}

	.detail-subject-dl dd {
		font-size: min(3.5vw, 16px);
	}

	.detail-subject-img {
		width: 36%;
		max-width: 100px;
		margin-bottom: -2px;
		position: absolute;
		bottom: 100%;
		right: -6%;
	}
}

@media screen and (min-width: 801px) {
	.detail-subject-box {
		display: flex;
		justify-content: space-between;
		padding: 25px 30px 20px;
	}

	.detail-subject-img {
        width: 129px;
        right: -25px;
	}

	.detail-lead {
		text-align: center;
		padding-right: 67px;
	}

	.detail-subject-wrap {
		align-items: flex-end;
	}

	.detail-subject-dl {
		max-width: 439px;
		width: 48%;
	}

	.detail-subject-dl:first-of-type {
		margin-bottom: 0;
	}
	
	.detail-note {
		text-align: center;
		margin-bottom: 30px;
	}
}


/*====================================================
  overview
====================================================*/
.overview {
	padding: 55px 0 0;
}

.overview-lead {
	font-size: 20px;
}

.overview-dl {
	margin-bottom: 10px;
}

.overview-dl dt {
	background-color: #E9F0F7;
	color: #3F80C3;
	font-size: 18px;
	font-weight: bold;
	padding: 15px 10px;
	text-align: center;
	box-sizing: border-box;
}

.overview-dl dd {
	padding: 20px 0;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	text-align: left;
}

.overview-dl li:not(:last-child) {
	margin-bottom: 30px;	
}

.overview-dl li span.close {
    color: #f00;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.overview-dl li span.close > span {
	color: #000;
}

.overview-dl li span.close_txt {
    color: #f00;
	margin-left: 5px;
}

.overview-dl li.strong {
	border: 2px solid #f00;
	padding: 10px;
	position: relative;
	margin-top: 50px;
}

.overview-dl li.strong::before {
	content: "＼ 受付中 ／";
	color: #f00;;
	position: absolute;
	bottom: 100%;
	left: 20px;
	font-size: 20px;
	font-weight: bold;
}

@media screen and (min-width: 801px) {
	.overview-dl {
		display: flex;
	}

	.overview-dl dt {
		width: 190px;
		padding: 29px 10px;
	}

	.overview-dl dd {
		flex: 1;
		padding: 11px 24px;
	}
}


/*====================================================
  benefits
====================================================*/
.benefits {
	padding: 55px 0 60px;
}

.benefits-content {
	margin-bottom: 30px;
}

.benefits-note {
	font-size: 14px;
	font-weight: bold;
	color: #3F80C3;
}

.benefits-img {
	text-align: center;
}
@media screen and (max-width: 800px) {
	.benefits-img img {
		width: 100%;
	}
}

@media screen and (min-width: 801px) {
	.benefits .title {
		font-size: 29px;
		line-height: 1.2;
		font-weight: 500;
	}

	.benefits-item {
		display: flex;
	}

	.benefits-content {
		flex: 1;
		margin: 0 30px 0 0;
		padding: 8px 0 0;
	}
}

/*====================================================
  passed
====================================================*/
.passed {
	padding: 55px 0 0;
}

.passed-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	font-size: min(4vw, 16px);
}

.passed-list li {
	width: 48%;
	margin-bottom: 30px;
}

.passed-img {
	margin-bottom: 15px;
}

.passed-img img {
	width: 100%;
}

@media screen and (min-width: 801px) {
	.passed-list li {
		width: 23%;
	}
}

/*====================================================
  apply
====================================================*/
.apply {
	padding: 55px 0 0;
}

.apply-dl dt {
	font-size: 18px;
	font-weight: bold;
	padding: 3px;
	color: #fff;
	background-color: #71B8AB;
	border-radius: 6px;
	box-sizing: border-box;
	text-align: center;
}

/*
.apply-dl:first-of-type {
    padding-bottom: 14px;
    margin-bottom: 23px;
	border-bottom: 1px solid #DFDFDF;
}*/

.apply-dl:last-of-type dt {
	background-color: #3F80C3;
}

.apply-dl dd {
	padding: 10px 0;
}

.apply-dl dd .deadline {
	color: #DC000C;
	text-decoration: underline;
}

@media screen and (min-width: 801px) {
	.apply-dl {
		display: flex;
		align-items: flex-start;
	}

	.apply-dl dt {
		margin-top: 3px;
		width: 145px;
	}

	.apply-dl dd {
		flex: 1;
		padding: 0 0 0 10px;
	}
}

/*====================================================
  payment
====================================================*/
.payment {
	padding: 55px 0 55px;
}

.payment-fee {
	padding: 3% 3% 10%;
    box-sizing: border-box;
    border: 2px solid #DADADA;
}

.payment-fee-inr {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.table-fee {
	width: 100%;
	font-size: 15px;
	letter-spacing: 0.07em;
	font-weight: bold;
}

.table-fee thead th {
	color: #1DBEAA;
	font-size: 15px;
	font-weight: 800;
	padding: 5px 10px;
	border-bottom: 1px solid #DADADA;
}

.table-fee td {
	padding: 5px 10px;
}

.table-fee .tax {
	font-size: 11px;
	margin-left: 10px;
}

.table-fee-discount {
	position: relative;
}

.table-fee-discount del {
	text-decoration: none;
	position: relative;
}

.table-fee-discount del::after {
	content: "";
	display: block;
	position: absolute;
	width: 130px;
	height: 1px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #FF1912;
}

.table-fee-new {
	color: #FF1912;
	position: absolute;
    top: 68%;
    left: 41px;
    font-size: 12px;
}

@media screen and (min-width: 801px) { 
	.payment-fee {
		padding: 12px 10px;
	}

	.payment-fee-inr {
		max-width: 750px;
		margin: 0 auto;
		flex-direction: row;
		gap: 40px;
		justify-content: center;
	}

	.table-fee td {
		text-align: center;
		padding: 5px 10px;
	}

	.payment-fee-inr > * {
		flex: 1;
	}

	.table-fee thead th {
		text-align: center;
	}

	.table-fee thead th:first-child {
		width: 36%;
	}

	.table-fee tr th:last-of-type ,
	.table-fee tr td:last-of-type {
		padding-right: 80px;
	}

	.table-fee tr td:last-of-type {
		text-align: right;
	}
}