@charset "utf-8";

:root {
	--white: #fff;
	--black: #333333;
	--yellow: #FFFF66;
	--main: #272B76;
	--pharmacy: #009933;
	--food: #FF9966;
	--f-large: 16px;
	--f-normal: 13px;
	--f-small: 11px;
}

/* ------------------------------------
#sec10 お申し込み
------------------------------------*/
#sec10 {
    color: var(--main);
	background: var(--white);
	padding: 40px;
}

#sec10 h2 {
	margin-bottom: 40px;
	color: var(--main);
	font-size: 13px;
	text-align: center;
	width: 100%;
}

#sec10 h2 span {
	display: block;
	font-size: 28px;
	letter-spacing: 4px;
}

#sec10 .title p {
	margin:  0 auto 40px;
	text-align: center;
	color: var(--black);
	font-weight: bold;
    max-width: 82%;
}

#sec10 dl {
	display: flex;
	flex-wrap:wrap;
	margin: 0 auto 40px;
	width: 100%;
}

#sec10 dl dt,
#sec10 dl dd {
	box-sizing: border-box;
	padding: 20px;
	position: relative;
    border-bottom: 1px dashed #999;
}

#sec10 dl dt {
	flex-basis: 200px; /*幅*/
	display:flex;
	align-items: center;
}

#sec10 dl dd {
	flex-basis: calc(100% - 200px); /*幅*/
    color: var(--black);
}

#sec10 dl dd #flyer,
#sec10 dl dd #demo {
	width: auto;
    margin-right: 5px;
}

#sec10 dl dd p {
	display: inline-block;
    margin-right: 1em;
}

#sec10 dl dd input {
	border: 1px solid #ddd;
	box-sizing: border-box;
	padding: 1em;
	width: 100%;
    max-width: 550px;
    border-radius: 5px;
}

/* エラー */
#sec10 .error_messe {
	color: red;
}

#sec10 div.mfp_err {
    display: none;
	font-weight: bold;
	margin: 7px 0 0;
    color: var(--food);
    font-size: 14px;
}

/* 前に戻るボタン */
.history_back,
.history_send {		
	width: 80%;
	max-width: 200px;
	margin: 40px auto 0;
	font-weight: 400;
	display: block;
	text-align: center;
	background: #666;
	border: 2px solid #666;
	cursor: pointer;
	transition: all .3s ease;
}

.history_back input,
.history_send input {
	width: 100%;
	display: block;
	margin: 0;
	padding: 1em;
	background: none;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	color: var(--white);
}

.history_back:hover,
.history_send:hover {
	background: #ccc;
	opacity: 1;
	border: 2px solid #ccc;
}

.history_back:hover input,
.history_send:hover input {
	color: var(--white);
	opacity: 1;
}

/* 送信ボタン */
.btn_list {
	display: flex;
	justify-content: center;
}

.btn_list p {
	margin: 0 10px;
}

.history_send {
	background: var(--main);
	border: 2px solid var(--main);
}

.history_send:hover {
	background: var(--white);
	border: 2px solid var(--main);
}

.history_send:hover input {
	color: var(--main);
}

/* 確認画面見出し */
#sec10 h4 {
	margin-bottom: 60px;
	text-align: center;
	position: relative;
}

/* サンクスページ */
#thanks main {
	background: none;
}

#thanks #sec10 .title p {
	max-width: 100%;
	text-align: left;
	font-weight: normal;
}

#thanks main .thanks_title {
	display: block;
	margin-bottom: 5px;
	color: var(--main);
	font-size: 110%;
	font-weight: bold;
}

#thanks #sec10 a.fler_dl {
	max-width: 500px;
	display: block;
	margin: auto;
	padding: 20px 0;
	color: var(--white);
	font-size: 120%;
	font-weight: bold;
	line-height: 1.6em;
	text-align: center;
	background: linear-gradient(70deg, #272b76, #3dbdea);
	transition: all .3s ease;
}

#thanks #sec10 a.fler_dl br {
	display: none;
}

#thanks #sec10 a.fler_dl i {
	font-size: 120%;
}


/* ------------------------------------
プライバシーポリシー
------------------------------------*/
#sec10 dl dt:nth-child(n+13),
#sec10 dl dd:nth-child(n+14) {
	border-bottom: none;
}

#form_check #sec10 dl dt:nth-child(n+15),
#form_check #sec10 dl dd:nth-child(n+16) {
	display: none;
}

#sec10 dl dt:nth-last-child(2) {
    padding: 0;
	flex-basis: 0;
}

#sec10 dl dd:last-child {
    padding: 30px;
    background: #EFF3F6;
    text-align: center;
	flex-basis: 100%;
}

#sec10 dl dd:last-child {
    padding: 30px;
    background: #EFF3F6;
    text-align: center;
	flex-basis: 100%;
}

#sec10 dl dd:last-child p {
    display: block;
    margin: 0 auto 5px;
}

#sec10 dl dd:last-child a {
    text-decoration: underline;
}

#sec10 dl dd:last-child label {
    font-weight: bold;
    cursor: pointer;
}

#sec10 dl dd:last-child input {
    width: auto;
}

/* ------------------------------------
必須 アイコン
------------------------------------*/
span.required {
	background: var(--food);
	color: var(--white);
	padding: 0.1em 0.5em;
    margin-right: 10px;
}

/* ------------------------------------
ボタン
------------------------------------*/
p.btn button,
.mfp_buttons p {
	width: 80%;
	max-width: 200px;
	margin: 40px auto 0;
	font-weight: 400;
	display: block;
	color: var(--white);
	text-align: center;
	background: var(--main);
	border: 2px solid var(--main);
	cursor: pointer;
}

#sec10 .btn {
	width: 100%;
	display: block;
	margin: auto;
	padding: 1em;
	background: var(--main);
	border: 2px solid var(--main);
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	color: var(--white);
	transition: all .3s ease;
}

.mfp_buttons p {
	position: relative;
	transition: all .3s ease;
}

.mfp_buttons p::after {
	content: "";
	width: 6px;
	height: 6px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	bottom: 0;
	right: 25px;
	margin: auto;
	content: "";
	vertical-align: middle;
	transition: all .3s ease;
}

p.btn button:hover,
.mfp_buttons p:hover {
	color: var(--main);
	background: var(--white);
	opacity: 1;
}

#sec10 .btn:hover {
	background: var(--white);
	color: var(--main);
	opacity: 1;
}

.mfp_buttons p:hover::after {
	border-color: #272b76;
}

p.btn i {
	margin-left: 7px;
	font-size: 120%;
}

/* 入力内容確認_ボタン */
.mfp_buttons {
	text-align: center;
}

#mfp_button_send,
#mfp_button_cancel {
	display: inline-block;
	margin: 10px;
    width: 270px;
    padding: 18px 0;
    background: #ff8c3e;
    color: #fff;
    border-radius: 50px;
	border: 2px solid #ff8c3e;
	transition: .35s;
	cursor: pointer;
	font-size: 18px;
	font-weight: bold;
}

#mfp_button_cancel {
    background: #fff;
    color: #202020;
	border: 2px solid #202020;
}

#mfp_button_send:hover {
    color: #ff8c3e;
    background:#fff;
}

#mfp_button_cancel:hover {
    background: #202020;
    color: #fff;
}

#mfp_button_send::after,
#mfp_button_cancel::after {
    display: none;
}

/* ========================================
mobile（スマホ）
=========================================== */
@media screen and (max-width: 768px){
	/* ------------------------------------
	#sec10 お申し込み
	------------------------------------*/
	#sec10 {
		padding: 40px 30px;
	}

    #sec10 .title p {
        max-width: 100%;
    }

    #sec10 dl dt,
    #sec10 dl dd {
        flex-basis: 100% !important; /*幅*/
        padding: 0 0 25px;
    }

    #sec10 dl dt:first-child {
        padding-top: 0;
    }

    #sec10 dl dt,
    #sec10 dl dt:nth-last-child(3) {
        padding: 25px 0 10px;
        border: none;
    }

    #sec10 dl dd input {
        max-width: 100%;
    }

	/* 入力内容確認_ボタン */
	.mfp_confirm_table {
		margin-bottom: 30px;
	}

	/* サンクスページ */
	#thanks #sec10 {
		padding: 0;
	}

	#thanks #sec10 a.fler_dl {
		font-size: 110%;
		padding: 12px 0;
	}

	#thanks #sec10 a.fler_dl br {
		display: block;
	}
}
