/*******************
form reset
*********************/
input {
	margin: 0;
	padding: 0;
	font-family: "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif !important;
}
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input[type='radio'] {
  display: none;
}

input[type='submit'],
input[type='button'],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

input[type='checkbox'] {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
	appearance: checkbox;
	width: 1.1rem;
	height: 1.1rem;
	margin-top: 0.5rem;
	padding-top: 0.5rem;
}

/*******************
component
*********************/

/* progressbar */
.c-modal__progressbar {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 32px;
	margin: 0 auto;
	background: #ccc;
	border-radius: 6px 6px 0 0;
}
.c-modal__progressbar-color {
	width: 80%;
	height: 32px;
	border-radius: 6px 0 0 0;
	background: #22a098;
}
.c-modal__progressbar-txt {
	position: absolute;
	top: 50%;
	left: 1rem;
	margin-top: -0.8rem;
	content: '';
}
.c-modal__progressbar-num {
	color: #fff;
	font-size: 0.875rem;
	font-weight: bold;
}

/* content */
.c-modal__cont{
	position: relative;
	z-index: 100000;
	width: calc(100% - 2rem);
	max-width: 640px;
	border-radius: 6px;
	margin: 1rem auto;
	padding: 4rem 1rem;
	box-sizing: border-box;
	background: #f5f5f5;
}

/* ttl */
.c-modal__ttl {
	margin-bottom: 2rem;
	font-size: 1.125rem;
	text-align: center;
}
.c-modal__ttl-sub {
	font-size: 0.875rem;
	font-weight: bold;
}
.c-modal__ttl-sub + .p-input {
	margin-top: 0.5rem;
}

/* close btn */
.c-modal__close {
	position: absolute;
	right: 1.4rem;
	top: 1.4rem;
	display: block;
	width: 1rem;
	text-align: center;
	z-index: 500;
}
.c-modal__close-btn {
	display: block;
	position: relative;
	width: 55px;
	height: 55px;
}
.c-modal__close-btn::before {
	position: absolute;
	top: 32px;
	left: -8px;
	width: 24px;
	height: 24px;
	border-top: 2px solid #999;
	transform: rotate(45deg);
	content: '';
}
.c-modal__close-btn::after {
	position: absolute;
	top: 32px;
	left: 8px;
	width: 24px;
	height: 24px;
	border-top: 2px solid #999;
	transform: rotate(-45deg);
	content: '';
}

@media screen and (min-width: 768px){
	.c-modal__cont {
		padding: 8vw;
	}
}
@media screen and (min-width: 1440px){
	.c-modal__cont {
		padding: 80px;
	}
}
/*******************
project
*********************/

/* radio */
.p-radio__txt {
	position: relative;
	margin: 0 .5rem 0 0;
	padding: 2px .5rem 2px 1.3rem;
}
.p-radio__txt::before {
	position: absolute;
	top: 50%;
	left: .25rem;
	width: .875rem;
	height: .875rem;
	margin-top: -.4375rem;
	border: 2px solid #999;
	border-radius: 50%;
	content: '';
}
.p-radio:checked + .p-radio__txt {
	background: rgb(194, 238, 255) none repeat scroll 0% 0%;
}
.p-radio:checked + .p-radio__txt::before {
	border: 2px solid #0066d7;
	background: #fff;
}
.p-radio:checked + .p-radio__txt::after {
	position: absolute;
	top: 50%;
	left: 8px;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-radius: 50%;
	background: #0066d7;
	content: '';
}

/* btns */
.p-modal__btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
/* between打ち消し用 */
.p-modal__btns--ver2{
	justify-content: flex-start;
	gap: 12px;
}
.p-modal__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 55px;
	line-height: 1.4;
	margin-bottom: .5rem;
}
.p-modal__btn label {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
	padding: 4vw;
}
.p-modal__btns-3clm > .p-modal__btn {
	width: calc((100% / 3) - .5rem);
}
.p-modal__btns-2clm > .p-modal__btn {
	width: calc(50% - .25rem);
}

/* select */
.p-select {
	width: 100%;
	padding: 8px;
	background: #fff;
	border: 1px solid #aaa;
	color: #252525;
	font-family: "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
	text-indent: 0.01px;
	text-overflow: '';
	vertical-align: middle;
}
.p-select__wrap {
	position: relative;
}
.p-select__wrap::after {
	position: absolute;
	top: 50%;
	right: 10px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 2px solid #22a098;
	border-bottom: 2px solid #22a098;
	transform: rotate(45deg);
	content: '';
}

/* p-btn */
.p-btn__txt {
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	font-size: 4vw;
	font-weight: bold;
	text-align: center;
}
.p-btn__txt:hover {
	background: #F2FFFE;
}
.p-btn:checked + .p-btn__txt {
	border: 2px solid #f49b0e;
	background: #f49b0e;
	color: #fff;
}

@media screen and (min-width: 768px){
	.p-modal__btn label {
		padding: 1rem;
	}
	.p-btn__txt {
		font-size: 1rem;
	}
}
/* input */ 
.p-input {
	width: 100%;
	height: 55px;
	padding: 0 0.5rem;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1.125rem;
}
.p-input + .u-note {
	margin-top: 0.5rem;
}

/* input name */ 
.p-input__name-wrap {
	display: flex;
	justify-content: space-between;
	margin-bottom: 2rem;
}
.p-input__name-box {
	width: calc(50% - .25rem);
}
.p-input__name {
	width: 100%;
	height: 55px;
	padding: 0 0.5rem;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1.125rem;
}
.p-input__name + .c-modal__ttl-sub {
	margin-top: .5rem;
}

/* next btn */
.p-next-btn {
	display: block;
	width: 280px;
	height: 60px;
	margin: 3rem auto 0;
	border: 2px solid #e0900e;
	border-radius: 30px;
	background: #F49B0E;
	color: #fff;
	font-size: 1.125rem;
	font-weight: bold;
	text-align: center;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
	transition: .3s all ease;
}
.p-next-btn:hover {
	cursor: pointer;
	border: 2px solid #F49B0E;
	background: #e0900e;
	box-shadow: none;
	color: #ddd;
}
.p-next-btn:disabled {
	border: 2px solid #ccc;
	background: #ccc;
}
.p-next-btn:disabled:hover {
	cursor: none;
	border: 2px solid #ccc;
	background: #ccc;
	color: #fff;
}
.p-next-btn + .p-more-btn {
	margin-top: 1rem;
}
/* more btn */
.p-more-btn {
	display: block;
	position: relative;
	width: 330px;
	margin: 0 auto;
	padding-right: .9rem;
	text-align: center;
	text-indent: -.9rem;
}
.p-more-btn:hover {
	text-decoration: underline;
}
.p-more-btn::after {
	position: absolute;
	top: 50%;
	right: 20px;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	border-top: 2px solid #999;
	border-right: 2px solid #999;
	transform: rotate(45deg);
	content: '';
}

/* step4 */
.p-modal__stp4__ttl {
	margin-top: 2rem;
}

/* step6 */
.p-modal__stp6__ttl {
	margin-top: 2rem;
}

/*******************
utility
*********************/
.u-bold {
	color: #22a098;
	font-weight: bold;
}
.u-error {
	display: inline-block;
	line-height: 1.4;
	color: #A02225;
	font-size: 0.875rem;
	font-family: "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
}
/* u-note */
.u-note {
	position: relative;
	padding-left: 1em;
	font-size: 0.75rem;
}
.u-note::before {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 0.75rem;
	content: '※';
}
.u-note + .c-modal__ttl-sub {
	margin-top: 2rem;
}
.u-optional {
	margin-left: .5rem;
	padding: 0.1rem .5rem;
	border: 1px solid #252525;
	border-radius: 4px;
}

/*******************
診断ツールモーダル用
適宜調整お願いします(moriyama)
*********************/
.js-modal_box {
	position: fixed;
	z-index: 1000000;
	display: none;
	width: calc(100% - 2rem);
	max-width: 840px;
	margin: 0;
	box-sizing: border-box;
}
.js-modal_bg {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100000;
	display: none;
	width: 100%;
	height: 120%;
	background-color: rgba(0,0,0,0.7);
}
.js-fixed {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
}