/* vue.js */
[v-cloak] {
	display: none;
}

/* 例 */
.input-ex {
	display: block;
	color: #808080;
	margin: 7px 0 0 -0.3em;
}

/*------------------------------------------------------------------------------
	formレイアウト
------------------------------------------------------------------------------*/
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
	width: 100%;
	outline: none;
	border: 1px solid #c9c9c9;
	padding: 8px;
	font-size: 1.6rem;
	border-radius: 3px;
	box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.075);
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-block {
	display: table;
	font-size: 1.6rem;
	width: 100%;
	border-top: none;
	border-bottom: 1px solid #c9c9c9;
}

.block-top {
	border-top: 1px solid #c9c9c9;
}

.form-block input,
.form-block select {
	margin: 0;
}

.form-block-child dd {
	display: table-cell;
	padding: 15px;
	vertical-align: middle;
}

.form-subtext {
	margin: 10px 0 15px;
}

.flex-formItem,
.flex-name,
.flex-zip,
.flex-address,
.flex-tel,
.flex-date {
	display: -webkit-box;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

@media only screen and (max-width: 767px) {
	.flex-formItem {
		-ms-flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
	}
}

/* お名前 */
.flex-name {
	width: 100%;
}

.flex-name:first-child {
	margin-right: 20px;
}

.flex-name span:first-child {
	width: 45px;
}

.flex-name span:last-child {
	width: calc(100% - 45px);
}

@media only screen and (max-width: 767px) {
	.flex-name {
		margin-right: 0;
	}

	.flex-name:first-child {
		margin-right: 0;
		margin-bottom: 10px;
	}

	.flex-name dt {
		width: 45px;
	}

	.flex-name dd {
		width: 100%;
	}
}

/* ご住所＿郵便番号 */
.flex-zip {
	display: flex;
	align-items: center;
	flex-direction: row;
	/* margin-right: 10px; */
}

.flex-zip input {
	width: 100px;
	margin-left: 10px;
}

.input-post__search {
	font-size: 14px;
	margin-left: 12px;
}

a.form-outerlink {
	display: inline-block;
	text-decoration: underline;
	padding-right: 1.4em;
	background-image: url(../img/icon/ico_blank.svg);
	background-size: 1em 1em;
	background-position: center right;
	background-repeat: no-repeat;
	color: #1D3994;
}

/* 電話番号 */
.flex-tel input:nth-child(1),
.flex-tel input:nth-child(2),
.flex-tel input:nth-child(3) {
	width: 80px;
}

.input-tel1,
.input-tel2 {
	margin-right: 30px;
	position: relative;
}

.input-tel1:after,
.input-tel2:after {
	content: '';
	width: 10px;
	height: 1px;
	background: #9a9a9a;
	position: absolute;
	display: block;
	top: 0;
	bottom: 0;
	margin: auto;
	right: -20px;
}

@media only screen and (max-width: 767px) {
	.flex-tel {
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		max-width: 400px;
	}

	.flex-tel input:nth-child(1),
	.flex-tel input:nth-child(3),
	.flex-tel input:nth-child(5) {
		width: 100%;
	}

	.input-tel1:after,
	.input-tel2:after {
		width: 12px;
		right: -21px;
	}
}

/* 生年月日 */
.flex-date span {
	box-sizing: border-box;
	width: 45px;
	padding-left: 10px;
}

.flex-date:first-child select {
	width: 140px;
}

@media only screen and (max-width: 767px) {
	.flex-date:not(:last-child) {
		margin-right: 10px;
	}

	.flex-date span {
		width: auto;
		padding-left: 8px;
	}
}

/* メールアドレス */
input[name="email"] {
	max-width: 400px;
	outline: none;
	border: 1px solid #c2cad3;
	padding: 8px;
	font-size: 1.6rem;
	border-radius: 3px;
	box-shadow: inset 0 2px 1px rgba(0, 0, 0, 0.075);
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}


/* アンケート */
.questionList>div:not(:last-of-type) {
	margin-bottom: 3px;
}

/* その他　ご質問・ご要望など */
textarea[name="other"] {
	font-family: "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, sans-serif;
	width: 100%;
}

@media only screen and (max-width: 767px) {
	textarea[name="other"] {
		height: 100px;
	}
}


/* 相談方法 / 希望日程 */
.radioList li {
	display: inline-block;
}

.radioList li:not(:last-of-type) {
	margin: 0 20px 0 0;
}

@media screen and (max-width:767px) {
	.radioList li {
		display: list-item;
	}

	.radioList li:not(:last-of-type) {
		margin: 0 0 5px 0;
	}
}

/* ラジオボタン リスト */
.form-block .radio-block__col {
	display: block;
}

.form-block .radio-block__col:not(:first-of-type) {
	margin-top: 3px;
}

/* チェックボックス リスト */
.form-block .check-block__col:not(:first-of-type) {
	margin-top: 5px;
}

.check-block__col label {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
}

/*-----------------------------------------------
	form parts
-----------------------------------------------*/
.necessary {
	display: block;
	float: right;
	background: #ff445a;
	color: #fff;
	font-size: 1.4rem;
	padding: 1px 4px;
	border-radius: 5px;
}

.optional {
	display: block;
	float: right;
	background: #8f98a3;
	color: #fff;
	font-size: 1.4rem;
	padding: 1px 4px;
	border-radius: 5px;
}


/* カレンダー */
#visit1,
#visit2 {
	cursor: pointer;
}

.visit .input_wrapper {
	position: relative;
	width: 200px;
	cursor: pointer;
}

.visit .message_input_placeholder {
	pointer-events: none;
	position: absolute;
	background: url(../img/icon_calendar.svg);
	background-position-x: left;
	background-repeat: no-repeat;
	top: 8px;
	left: 10px;
	width: 200px;
	padding-left: 35px;
	padding-top: 2px;
	color: #999;
	height: 22px;
}

#visit1_root .picker__header,
#visit2_root .picker__header {
	display: flex;
	justify-content: center;
	cursor: text;
	align-items: center;
}

#visit1_root .picker__month,
#visit2_root .picker__month {
	order: 2;
}

#visit1_root .picker__year,
#visit2_root .picker__year {
	order: 1;
	color: #000;
	font-size: 1em;
	font-style: inherit;
}

#visit1_root .picker__year::after,
#visit2_root .picker__year::after {
	content: "年";
	font-size: 20px;
}

#visit1_root .picker__month::after,
#visit2_root .picker__month::after {
	content: "月";
	font-size: 20px;
}

#visit1_root .picker__month,
#visit1_root .picker__year,
#visit2_root .picker__month,
#visit2_root .picker__year {
	/* font-weight: 500; */
	display: inline-block;
	margin-left: .25em;
	margin-right: .25em;
	font-size: 30px;
	font-style: normal;
}

/* カレンダーの見た目 */

/* レイアウト・サイズ・カラー調整 */
.consul .flatpickr-calendar {
	width: auto;
	padding: 10px;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 10px 0;
}

.consul .flatpickr-months {
	padding-bottom: 5px;
}

.consul .flatpickr-current-month {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.consul .flatpickr-months .flatpickr-prev-month,
.consul .flatpickr-months .flatpickr-next-month {
	top: 10px;
	line-height: 1;
	color: #333;
	fill: #333;
}

.consul .flatpickr-months .flatpickr-prev-month:hover svg,
.consul .flatpickr-months .flatpickr-next-month:hover svg {
	fill: #0095D5;
}

.consul .flatpickr-day {
	color: #333;
}

.consul .flatpickr-day.selected,
.consul .flatpickr-day.selected:hover,
.consul .flatpickr-day.selected.prevMonthDay,
.consul .flatpickr-day.selected.nextMonthDay {
	background: #0095D5;
	border-color: #0095D5;
}

.consul .flatpickr-day.selected:hover {
	opacity: 0.7;
}

.consul .flatpickr-innerContainer {
	font-size: 1.5rem;
}

@media screen and (min-width:768px) {
	.consul .flatpickr-innerContainer {
		font-size: 1.6rem;
	}
}

/* 年の上下ボタンを非表示にする */
.flatpickr-months .flatpickr-current-month .numInputWrapper span.arrowUp,
.flatpickr-months .flatpickr-current-month .numInputWrapper span.arrowDown {
	display: none !important;
}

/* サフィックス配置 */
.flatpickr-months .flatpickr-current-month .numInputWrapper {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	color: #333;
}

.flatpickr-months .flatpickr-current-month .numInputWrapper:hover {
	background: #fff;
}

.flatpickr-months .flatpickr-current-month .flatpickr-monthDropdown-months {
	color: #333;
	font-size: 1.8rem;
	margin-left: 5px;
	padding: 5px;
	box-shadow: none;
}

.flatpickr-months .flatpickr-current-month input.cur-year[disabled] {
	width: 4ch;
	color: #333;
	opacity: 1;
}

.flatpickr-months .flatpickr-current-month .numInputWrapper .cur-year {
	color: #333;
	font-size: 1.8rem;
	padding: 0;
}

.flatpickr-months .flatpickr-current-month .numInputWrapper .year-suffix {
	position: relative;
	width: auto;
	font-size: 1.8rem;
	line-height: 1;
	padding: 0;
	pointer-events: none;
	opacity: 1 !important;
	border: none;
}

.flatpickr-months .flatpickr-current-month .flatpickr-monthDropdown-months {
	font-weight: normal;
}

.flatpickr-months .flatpickr-current-month .year-display {
	display: block;
	font-size: 1.8rem;
	font-weight: normal;
	position: relative;
}

.flatpickr-months .flatpickr-current-month .numInput.cur-year {
	display: none !important;
}

.flatpickr-months .flatpickr-current-month .numInputWrapper {
	display: inline-block;
}

@media screen and (min-width:768px) {

	.flatpickr-months .flatpickr-current-month .flatpickr-monthDropdown-months,
	.flatpickr-months .flatpickr-current-month .numInputWrapper .cur-year,
	.flatpickr-months .flatpickr-current-month .numInputWrapper .year-suffix,
	.flatpickr-months .flatpickr-current-month .year-display {
		font-size: 2.0rem;
	}
}

/* 土日のカラー変更 */
.flatpickr-day:nth-child(7n + 1) {
	color: #e00;
}

.flatpickr-day:nth-child(7n) {
	color: #06c;
}

/* エラー */
.form-block .err-txt {
	font-size: 1.4rem;
	margin-top: 8px;
}

.form-block .err-txt+.err-txt {
	margin-top: 3px;
}

.err-block {
	padding: 15px;
	background: #ffebeb;
	border: 1px dashed #f2264c;
	margin: 15px 0 15px 0;
}

.err-block__ttl {
	color: #f2264c;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.5;
	margin-bottom: 8px;
}

.err-block>ul li {
	color: #f2264c;
	margin-bottom: 3px;
}

.err-block>p {
	color: #f2264c;
	display: table;
	position: relative;
	padding-left: 40px;
	text-align: left;
}

@media screen and (min-width:767px) {
	.err-block {
		padding: 20px 25px;
	}

	.err-block__ttl {
		font-size: 2.0rem;
		margin-bottom: 10px;
	}
}