@charset "utf-8";

/* =====================================
	共通
======================================= */
body {
	font-family: 'Yu Gothic';
	font-weight: 500;
}
.description {
	text-align: center;
	margin-bottom: 40px;
}
#campaign * {
	box-sizing: border-box;
}

/* =====================================
	keyvisual
======================================= */
#keyvisual {
	color: var(--color-neutral-white);
	font-family: 'Zen Old Mincho', serif;
	text-align: center;
}
@media screen and (min-width: 768px) {
#keyvisual {
	display: flex;
	min-height: 420px;
	background-image: url(https://nikkoudou-kottou.com/img/top/top_bg.webp);
	justify-content: center;
	align-items: center;
}
.catch {
	width: 46em;
	.catch-ttl {
		padding-bottom: 4rem;
		border-bottom: 1px solid #F6D56A;
		font-size: 5.5rem;
	}
	.catch-time {
		margin-top: 3.5rem;
		font-size: 3.5rem;
		letter-spacing: 0.5rem;
	}
	.catch-time--big {
		font-size: 4.5rem;
	}
}
}
@media screen and (max-width: 767px) {
	#keyvisual {
		position: relative;
		padding-top: 3.5rem;
		background-image: url(https://nikkoudou-kottou.com/img/top/top_bg_sp2.webp);
		height: 37.5rem;
		overflow: hidden;
	}
	#keyvisual::before {
		content: '';
		display: inline-block;
		height: 21rem;
		width: 100%;
		position: absolute;
		right: 0%;
		top: 2rem;
		background-image: url(https://nikkoudou-kottou.com/img/top/entrust_bg.webp);
		background-repeat: no-repeat;
		background-size: contain;
		background-position: bottom;
		vertical-align: middle;
	}
	.catch {
		width: 94%;
		position: absolute;
		bottom: 2.2rem;
		left: 50%;
		transform: translateX(-50%);
	}
	.catch-ttl {
		padding-bottom: 1.8rem;
		border-bottom: 1px solid #F6D56A;
		font-size: 3.5rem;
		letter-spacing: 0.2em;
		line-height: 1.2em;
	}
	.catch-time {
		margin-top: 2.4rem;
		font-size: 2rem;
		letter-spacing: 0.2rem;
	}
	.catch-time--big {
		font-size: 3.2rem;
	}
}

/* =====================================
	キャンペーン詳細
======================================= */
/* 全体 */
.campaign-summary {
	margin-bottom: 60px;
	background: #fff;
}
/* タイトル */
.campaign-main-ttl {
	margin-bottom: 30px;
	align-items: center;
	display: flex;
	color: var(--color-primary);
	&::after {
		margin-left: 2rem;
	}
	&::before {
		margin-right: 2rem;
	}
	&::after,&::before {
		background-color: var(--color-primary);
		border-radius: 2px;
		content: "";
		flex-grow: 1;
		height: 2px;
	}
}
/* バナー */
.campaign-banner {
	margin: 0 auto 30px;
}
@media screen and (min-width: 768px) {
.campaign-banner {
	width: 60%;
}
.campaign-main-ttl {
	&::after {
		margin-left: 4rem;
	}
	&::before {
		margin-right: 4rem;
	}
}
.campaign-summary {
	padding: 3.5rem 0;
}
}
@media screen and (max-width: 767px) {
	.campaign-summary {
		margin-top: 2rem;
	}
	.campaign-main-ttl {
		font-size: 2.2rem;
	}
	.campaign-banner {
		width: 90%;
	}
}
/* 概要
 --------------------------------------------*/
.cmp-details {
	margin: 0 1.5rem 3rem;
	padding: 2rem 1.5rem;
	border: 2px solid var(--color-secondary);
	border-radius: 10px;
	.cmp-details__title {
		margin-bottom: 10px;
		color: var(--color-secondary);
		font-size: 1.8rem;
		font-weight: bold;
	}
	.cmp-details__txt {
		margin-bottom: 10px;
		font-weight: bold;
	}
	.cmp-details__subtxt {
		margin-top: 10px;
		font-weight: bold;
		font-size: 1.4rem;
	}
	.cmp-details__list {
		font-size: 1.4rem;
		li {
			text-indent: -1em;
			padding-left: 1em;
			&::before {
				content: '・';
			}
		}
	}
}
@media screen and (min-width: 768px) {
	.cmp-details {
		margin: 0 5rem 3rem;
		padding: 2rem 2.5rem;
	}
}
@media screen and (max-width: 767px) {
	.cmp-details__txt {
		font-size: 1.5rem;
	}
}
/* アコーディオン
 --------------------------------------------*/
dl.accordion.cmp {
	margin: 1.8rem 1.5rem 2.5rem;
	&:last-child {
	margin-bottom: 0;
	}
}
dt.accordion__summary {
	position: relative;
	display: flex;
	background-color: var(--color-secondary);
	justify-content: flex-start;
	align-items: center;
	padding: 2.5rem 2.5rem;
	font-size: 1.8rem;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	span {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		white-space: nowrap;
	}
	&::after {
		content: "";
		display: inline-block;
		width: 8px;
		height: 8px;
		margin-left: auto;
		border-right: 2px solid #fff;
		border-bottom: 2px solid #fff;
		transform: rotate(45deg);
		transition: transform 0.3s ease;
	}
}
.accordion:nth-child(odd) dt.accordion__summary {
	background-color: var(--color-secondary-dark);
}
.accordion.is-open .accordion__summary::after {
	transform: rotate(-135deg);
}
@media screen and (min-width: 768px) {
dl.accordion.cmp {
	margin: 0 5rem 3rem;
}
}

/* アコーディオン：詳細１
 --------------------------------------------*/
dl.accordion.cmp {
	dd.accordion__content {
		overflow: hidden;
		max-height: 0;
		transition: max-height 0.4s ease;
		background-color: #F2EEE9;
	}
	.accordion__inner {
		padding:  2rem;
	}
	h3.accordion__heading {
		margin-bottom: 3rem;
		padding: 1.5rem 0;
		background-color: var(--color-neutral-white);
		border-radius: 6px;
		color: var(--color-secondary-dark);
		font-size: 1.8rem;
		text-align: center;
	}
	ul.accordion__flow-list {
		display: flex;
		justify-content: center;
		align-items: center;
		align-self: stretch;
		margin-bottom: 2rem;
	}
	li.accordion__flow-item {
		position: relative;
		display: flex;
		flex: 1;
		align-items: center;
		&::after {
			content: "";
			position: absolute;
			transform: translateY(-50%);
			width: 0;
			height: 0;
			z-index: 10;
		}
		&:last-child::after {
			display: none;
		}
	}
	.accordion__flow-item__num {
		margin-bottom: 2.7rem;
		color: #8D8974;
		font-size: 3rem;
		font-family: var(--mincho-font);
		font-weight: 400;
	}
	.accordion__flow-item__txt {
		text-align: center;
		font-weight: 600;
		font-size: 1.7rem;
	}
	.accordion__note {
		font-size: 1.4rem;
	}
}
@media screen and (min-width: 768px) {
	.accordion__inner {
		padding: 3rem 4rem;
	}
	ul.accordion__flow-list {
		border-right: 2px solid #CCCCCC;
	}
	li.accordion__flow-item {
		flex-direction: column;
		padding: 3rem 0;
		border-left: 2px solid #CCCCCC;
		&::after {
			top: 50%;
			right: -1.2rem;
			border-top: 8px solid transparent;
			border-bottom: 8px solid transparent;
			border-left: 11px solid #8D8974;
		}
	}
	.accordion__flow-item__img {
		margin-bottom: 1.8rem;
	}
}
@media screen and (max-width: 767px) {
	ul.accordion__flow-list {
		flex-direction: column;
		border-top: 2px solid #CCCCCC;
	}
	li.accordion__flow-item {
		width: 100%;
		padding: 3.2rem 0 2.8rem 4rem;
		border-bottom: 2px solid #CCCCCC;
		&::after {
			bottom: -1.2em;
			right: 50%;
			border-left: 11px solid transparent;
			border-right: 11px solid transparent;
			border-top: 12px solid #8D8974;
		}
	}
	.accordion__flow-item__num {
		position: absolute;
		left: 0.5rem;
		top: 1.5rem;
	}
	.accordion__flow-item__img {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 30%;
		margin-right: 1rem;
	}
	.accordion__content-icon {
		width: 8rem;
	}
}
/* アコーディオン：詳細2
 --------------------------------------------*/
.accordion__list {
	display: flex;
	margin-bottom: 2rem;
}
.accordion__item {
	display: flex;
	justify-content: center;
	align-items: center;
	align-self: stretch;
	flex-direction: column;
	background-color: var(--color-neutral-white);
	padding: 2.8rem 2rem 2rem;
	border-radius: 6px;
	text-align: center;
	p {
		margin-bottom: 0.2rem;
		font-size: 1.8rem;
		font-weight: 600;
	}
	.accordion__item__txtbule {
		color: var(--color-primary);
		font-size: 2rem;
	}
	.accordion__item__big {
		font-size: 2.5rem;
	}
	.accordion__item__small {
		font-size: 1.4rem;
		font-weight: normal;
		line-height: 1.4em;
	}
}
/* shadow有 */
.accordion__list.first {
	margin-top: 2.5rem;
	.accordion__item {
		position: relative;
		padding-top: 3.5rem;
		filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
		border: 2px solid #5E5E5E;
	}
	.accordion__item__subttl {
		position: absolute;
		top: -1.8rem;
		background-color: #8D8974;
		padding: 0.3rem 1.5rem;
		color: #fff;
		font-size: 2rem;
		font-weight: 600;
	}
}
.accordion__sec-ttl {
	padding: 0 1.5rem 1rem;
	margin-bottom: 3rem;
	border-bottom: 3px dashed #333;
	font-size: 2rem;
	font-weight: 600;
}
.accordion__sec-subttl {
	margin-bottom: 2rem;
	font-size: 2rem;
	text-align: center;
	font-weight: 600;
	.accordion__sec-subttl__red {
		color: var(--color-ruby);
	}
	.accordion__sec-subttl__big {
		font-size: 2.5rem;
	}
}
.accordion__note li::before {
	content: "※";
	margin-right: 0.3em;
}
@media screen and (min-width: 768px) {
	.accordion__list {
		margin-bottom: 3rem;
		gap: 2.5rem;
	}
	.accordion__item {
		width: calc((100% - 2.5rem) / 2);
	}
	.accordion__sec-subttl {
		font-size: 2.5rem;
		.accordion__sec-subttl__big {
		font-size: 3.2rem;
		}
	}
}
@media screen and (max-width: 767px) {
	.accordion__list {
		flex-direction: column;
	}
	.first .accordion__item:not(:last-child) {
		margin-bottom: 3.5rem;
	}
	.accordion__item:not(:last-child) {
		margin-bottom: 2rem;
	}
	.accordion__sec-ttl {
		margin-top: 3rem;
		text-align: center;
	}
	.accordion__sec-subttl {
		line-height: 1.6em;
	}
}
/*  初めてのお客様へ
--------------------------------------------------------------------*/
.hazimete-banner {
	margin-bottom: 60px;
}

/*  本キャンペーンは終了しました(年末年始対応)
--------------------------------------------------------------------*/
.campaign-summary {
	position: relative;
	overflow: hidden;
}
.campaign-ended-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
}
.campaign-ended-overlay p {
	color: #fff;
	font-size: 3.2rem;
	font-weight: bold;
	text-align: center;
	line-height: 1.5;
	margin: 0;
}
/* 終了したキャンペーン */
.campaign-ended {
	margin-bottom: 30px;
}
.campaign-ended__grid {
	width: 880px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	justify-content: center;
	align-items: center;
	margin: auto;
}
.campaign-ended__item {
	border: 1px solid #ccc;
	background-color: #fff;
	overflow: hidden;
}
.campaign-ended__img {
	width: 100%;
	height: auto;
	display: block;
}
@media screen and (min-width: 599px) and (max-width: 960px) {
	.campaign-ended__grid {
		width: 90%;
		display: grid;
		gap: 15px;
		grid-template-columns: repeat(2, 1fr);

	}
}

@media screen and (max-width: 600px) {
	.campaign-ended__grid {
		width: 90%;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		justify-content: center;
		align-items: center;
		margin: auto;
	}
}
@media screen and (min-width: 961px) {
	.campaign-ended__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.campaign-ended {
		padding-top: 30px;
		padding-bottom: 40px;
		background-color: #FFF;
		margin-bottom: 40px;
	}
}
@media screen and (max-width: 960px) {
	.campaign-ended .main-ttl02 {
		background: #888DA1;
	}
}

/*  〇〇月の当選者一覧
-----------------------------------------*/
.js-accordion.cmp.elected{
	border: solid 1px var(--color-secondary);

	& .accordion__summary{
		background: var(--color-neutral-white);
		color: var(--color-secondary);

		&::after {
			border-color: var(--color-secondary);
		}
	}
	& .accordion__content{
		background-color: var(--color-neutral-white);
	}
	& .accordion__inner{
        padding: 1rem 2rem;
	}
	& .elected__intro{
		display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-bottom: 15px;
		color: var(--color-secondary);
        text-align: center;

		& .introTxt{
			display: block;
			flex: 0 0 auto;
			padding: 0 10px;
			font-size: 17px;
			font-weight: bold;
		}

		&::before,&::after{
			display: inline-block;
			width: inherit;
			height: 0;
			margin: auto 0;
			content: '';
			border: dashed 1px var(--color-secondary);
		}
	}
	& .elected__list{
		max-width: 740px;
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		margin: 0 auto 15px;

		& .elected__item{
			width: calc(50% - 15px);
			text-indent: -1em;
            padding-left: 1em;
			margin-left: 10px;

			 &::before{
				content: '・';
			 }
			& p{
				display: inline;
				font-size: 18px;
			}
		}
	}
	.elected-count{
		display: block;
		width: 100%;
		max-width: 740px;
		margin: 0 auto;
		padding-left: 26px;
		font-size: 17px;
	}
}
@media screen and (max-width: 598px) {
	.js-accordion.cmp.elected{
		& .accordion__inner{
        	padding: 1rem;
		}

		& .elected__intro {
			& .introTxt {
				font-size: 16px;
			}
		}

		& .elected__list{
			width: fit-content;
			flex-direction: column;
			gap: 5px;
			margin: 0 auto 10px;

			& .elected__item{
				width: fit-content;
				margin-left: 0;

				& p{
					font-size: 15px;
				}
			}
		}

		& .elected-count{
			max-width: 19em;
			padding-left: 15px;
			margin: 0 auto;
			font-size: 15px;
		}
	}
}
