@charset "utf-8";
/* CSS Document */

/*-----------------------------------------------------------------

	common-estimate/お見積もり 共通

-----------------------------------------------------------------*/


/*------------------------------------------------------

フォーム設定

------------------------------------------------------*/

.estimate-cont {
	font-size: 14px;
}

.estimate-cont .unity {
	margin-bottom: 7rem;
}

.estimate-cont li {
	vertical-align: middle;
	position: relative;
}

@media screen and (max-width: 480px) {
	.estimate-cont {
		font-size: 13px;
	}
    
    .estimate-cont .unity {
    	margin-bottom: 5rem;
    }
}


input,
select,
textarea {
	padding: 10px;
	border: 1px solid #9c9fab;
	box-sizing: border-box;
	transition: all 0.1s ease-out;
	font-size: 15px;
	border-radius: 5px;
	font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	font-weight: 500;
}

input:focus,
select:focus,
textarea:focus {
	background-color: #ededf9;
	border: 1px solid #7576b7;
	z-index: 10;
    outline: 0;
}

textarea {
	width: 100%;
}

::placeholder {
  color: #797979;
}

.container label {
	display: block;
	border: 1px solid #9c9fab;
	border-radius: 7px;
	overflow: hidden;
	cursor: pointer;
    padding: 2rem;
    font-size: 1.6rem;
    height: 100%;
    box-sizing: border-box;
}
.container label.current {
	border-color: #ff0000;
	background: #FFF4F6;
	box-shadow: 0px 3px 3px 0px rgb(225, 206, 208);
}
.container label:hover {
	border-color: #ffa5a5;
}

@media screen and (max-width: 810px) {
	/* iOSでのデフォルトスタイルをリセット */
	input[type="submit"],
	input[type="button"] {
	  border-radius: 0;
	  -webkit-box-sizing: content-box;
	  -webkit-appearance: button;
	  appearance: button;
	  border: none;
	  box-sizing: border-box;
	  cursor: pointer;
	}
	input[type="submit"]::-webkit-search-decoration,
	input[type="button"]::-webkit-search-decoration {
	  display: none;
	}
	input[type="submit"]::focus,
	input[type="button"]::focus {
	  outline-offset: -2px;
	}
	input[type=text],
	input[type=select],
	input[type=number],
	textarea {
	  font-size: 16px;
	}
    
    
    label {
        font-size: 1.5rem;
    }
}


/*ラジオボタン*/
.estimate-cont input[type="radio"]{
	border: none;
	vertical-align: middle;
}
.estimate-cont .type-radio li label {
	display: inline-block;
	word-break: break-all;
	cursor: pointer;
}
input[type="radio"]:checked + span {
    color: #fe2d4a;
}

.estimate-cont li label input[type="radio"] + span {
	position: relative;
	padding: 0 0 0 30px;
	letter-spacing: 0;
	display: inline-block;
	text-align: left;
    min-height: 20px;
}
.estimate-cont li label input[type="radio"] + span::before {
  	border: 1px solid #e1e1e1;
	background: #e1e1e1;
}
.estimate-cont label input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.estimate-cont label input[type="radio"] + span::before {
  content: '';
  display: block;
  background-color: transparent;
  width: 18px;
  height: 18px;
  border: 2px #78909c solid;
  box-sizing: border-box;
  border-radius: 50%;
  position: absolute;
  z-index: 0;
  top: 1px;
  left: 0;
  margin: auto;
}
.estimate-cont li label input[type="radio"]:checked + span::after {
  content:"";
  display: block;
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fe2d4a;
  position: absolute;
  top: 4px;
  left: 3px;
  margin: auto;
}
.estimate-cont li label input[type="radio"]:checked + span::before {
  	border: 1px solid #ffaab5;
	background: #ffaab5;
}


/*ラジオボタン  〇上*/
.estimate-cont .img-box .circle-top li label input[type="radio"] + span {
	padding: 25px 0 0;
}
.estimate-cont .img-box .circle-top label input[type="radio"] + span::before,
.estimate-cont .img-box .circle-top li label input[type="radio"]:checked + span::after {
  	top: 0;
	right: 0;
	left: 0;
}
.estimate-cont .img-box .circle-top li label input[type="radio"]:checked + span::after {
  	top: 3px;
}



/*単一テキスト*/
.estimate-cont input[type="text"]{
	width: 9em;
	margin: 0 10px;
}

@media screen and (max-width: 480px) {
	.estimate-cont input[type="text"]{
		width: calc(100% - 50px);
	}
}


/*数字*/
.estimate-cont input[type="number"]{
	width: 9em;
	margin: 0 10px;
}


/*チェックボックス*/
input[type="checkbox"]:checked + span {
    color: #1b4597;
}

.estimate-cont label input[type="checkbox"] + span {
	position: relative;
	padding: 0 0 0 30px;
	display: inline-block;
	line-height: 1.2em;
	margin: 0 10px;
}
.estimate-cont label input[type="checkbox"] {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}
.estimate-cont label input[type="checkbox"] + span::before {
	content: '';
	display: block;
	background-color: transparent;
	width: 20px;
	height: 20px;
	border: 1px #9aa9b0 solid;
	border-radius: 3px;
	background: #FFF;
	box-sizing: border-box;
	position: absolute;
	z-index: 0;
	top: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}
.estimate-cont label input[type="checkbox"]:checked + span::before {
	border-color: #1b4597;
	background: #1b4597;
}

.estimate-cont label input[type="checkbox"]:checked + span::after {
	content: "";
	display: block;
	box-sizing: border-box;
	width: 7px;
	height: 12px;
	border-bottom: 2px solid #FFF;
	border-right: 2px solid #FFF;
	transform: rotate(45deg);
	position: absolute;
	top: 0px;
	bottom: 1px;
	left: 7px;
	margin: auto;
}


.estimate-cont label input[type="checkbox"]:disabled + span::before {
	background: #EAEAEA;
}


/*プルダウン*/
.estimate-cont select {
	width: 100%;
	border: 1px solid #9c9fab;
	border-radius: 5px;
	position: relative;
	box-sizing: border-box;
	background: #FFF;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none; 
}
.estimate-cont select::-ms-expand {
    display: none;
}

.estimate-cont .selectBtn {
	position: relative;
}
.estimate-cont .selectBtn:after {
	content: "";
	display: block;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 8px 6px 0 6px;
	border-color: #1d1d1d transparent transparent transparent;
	pointer-events: none;
	position: absolute;
	z-index: 10;
}



/*テキストエリア*/
.estimate-cont .type-comment textarea {
	width: 745px;
	height: 8em;
	padding: 10px;
	box-sizing: border-box;
	margin: 0 auto;
	display: block;
}

@media screen and (max-width: 810px) {
	.estimate-cont .type-comment textarea {
		width: 100%;
	}
}

/*----errorBox----*/
.errorBox {
	margin: 15px 0;
}

.errorBox p {
	display: inline-block;
	padding: 8px 15px;
	color: #0d1f9b;
	border: 1px solid #0d1f9b;
	line-height: 1.4;
	font-size: 14px;
	font-weight: bold;
	background: #e8ebff;
	border-radius: 100px;
	position: relative;
}
.errorBox p:before {
	content: "";
	display: block;
	position: absolute;
	top: -11px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 8px 10px 8px;
	border-color: transparent transparent #0d1f9b transparent;
}
.errorBox p:after {
	content: "";
	display: block;
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 8px 10px 8px;
	border-color: transparent transparent #e8ebff transparent;
}

@media screen and (max-width: 480px) {
	.errorBox p {
		display: block;
		text-align: center;
	}
}



/*---------------------------------
  h-inner
----------------------------------*/
.h-inner {
    font-size: 1.8rem;
    color: #FFF;
    font-weight: bold;
    background: #263243;
    padding: 1.5rem 2rem 1.5rem 3rem;
    border-left: .9rem solid var(--main-color);
    margin-bottom: 2.5rem;
    box-sizing: border-box;
}

.h-inner span {
    position: relative;
}
.h-inner.required span:before {
    content: "必須";
    font-size: 1.5rem;
    letter-spacing: .3em;
    background: var(--main-color);
    padding: .3rem 2rem;
    border-radius: 10px;
    margin-right: 1rem;
    display: inline-block;
    width: fit-content;
}


@media screen and (max-width: 810px) {
    .h-inner {
        width: calc(100% + 40px);
        margin: 0 -20px 2rem;
    }
}

@media screen and (max-width: 480px) {
    .h-inner {
        font-size: 1.7rem;
    }
}


/*---------------------------------
  h-estimate
----------------------------------*/
.h-estimate {
    text-align: center;
    font-weight: bold;
    font-size: 2.7rem;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    position: relative;
}
.h-estimate:after {
    content: "";
    display: block;
    max-width: 180px;
    width: 35%;
    height: .8rem;
    background: var(--main-color);
    position: absolute;
    bottom: 0;
    left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
}

@media screen and (max-width: 480px) {
    .h-estimate {
        font-size: 2.4rem;
    }
}



/*---------------------------------
  list-standard
----------------------------------*/
.list-standard {
    row-gap: 1.5rem;
}

.list-standard li {
    width: 49%;
}

@media screen and (max-width: 480px) {
    .list-standard li {
        width: 48%;
    }
}



/*---------------------------------
  list-img
----------------------------------*/
.list-img label {
    border: none;
    border-radius: 0;
    padding: 0;
}

.list-img li {
    width: 380px;
    text-align: center;
}

.list-img li img {
    margin-bottom: 1.5rem;
}

@media screen and (max-width: 810px) {
    .list-standard li {
        width: 48%;
    }
}


/*---------------------------------
  number-box
----------------------------------*/
.number-box input[type="text"]  {
    margin-left: 0;
}

.ps-cont {
    border: 2px solid var(--main-color);
    padding: .8rem 3rem;
    border-radius: 10px;
    display: block;
    max-width: 90%;
    width: fit-content;
    margin-top: 1.5rem;
    line-height: 1.4;
    font-weight: bold;
    color: var(--main-color);
    font-size: 1.3rem;
}

@media screen and (max-width: 480px) {
    .number-box input[type="number"]  {
        width: 70%;
    }
}




/*----納期----*/
.calendar-box input[type="text"] {
	width: 17rem;
}

.ui-widget {
  font-size: 13px !important;
}




/*----デザインデータ----*/
.designdata-box .caution-cont {
	width: 90%;
	border: 1px solid #c4c4c4;
    border-radius: 8px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.designdata-box .caution-cont dt {
	font-size: 1.6rem;
    color: #263243;
    line-height: 1.4;
	font-weight: bold;
	background: #f3f3f3;
	letter-spacing: .1em;
	padding: 1rem 3rem;
}

.designdata-box .caution-cont dd {
	padding: 2rem 3rem;
}

.designdata-box .caution-cont dd p {
	line-height: 1.6;
    font-size: 13px;
}


/*----備考----*/
.comment-box textarea {
	height: 110px;
}



/*----blanket-size----*/
.unity.blanket-size li:last-child {
    width: 100%;
}

.unity.blanket-size li:last-child div {
    margin-top: 1rem;
}

.unity.blanket-size li:last-child  input[type="text"] {
    width: 5em;
}

/*----blanket_size----*/
.blanket_size {
    margin-top: 2rem;
}

.unity dd .blanket_size p {
    font-size: 2rem;
    font-weight: bold;
    color: #47a6ff;
    text-align: center;
}



/*------------------------------------------------------

お客様情報

------------------------------------------------------*/
.customer-box {
	margin: 50px 0;
}

.customer-box table {
	width: 100%;
	border-collapse: separate;
    border-spacing: 0 10px;
	font-size: 14px;
}

.customer-box table th {
	width: 30%;
	background: #f3f3f3;
	padding: 20px 75px 20px 20px;
	box-sizing: border-box;
	position: relative;
}

.customer-box table th:after {
	font-size: 1.2rem;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
    letter-spacing: .1em;
    padding: .3rem 1rem;
    border-radius: 5px;
    display: block;
    color: #FFF;
}
.customer-box table th.required:after {
    content: "必須";
    background: var(--main-color);
}
.customer-box table th.optional:after {
    content: "任意";
    background: #4E77D2;
}

.customer-box table td {
	width: 70%;
	padding: 20px 30px;
	box-sizing: border-box;
}

.customer-box table td input[type="text"]{
	width: 100%;
	margin: 0;
}

.customer-box table td input[name="tel"]{
	width: 60%;
	margin: 0;
}

.customer-box table tr:last-child td input[type="text"]:first-child{
	margin-left: 0;
}

.customer-box table .ps {
	margin-top: 10px;
}
.customer-box table td input.w30[type="text"],
.customer-box table td input.w30[type="tel"]{
	width:30%;
	margin:0 1%;
}
.customer-box table td input.w30[type="text"]:first-of-type,
.customer-box table td input.w30[type="tel"]:first-of-type{
	margin-left:0;
}

.time-caution {
    font-size: 12px;
    margin-top: 1rem;
    line-height: 1.7;
    text-indent: -1rem;
    padding-left: 1rem;
}

@media screen and (max-width: 620px) {
	.customer-box table {
		border-spacing: 0;
	}
	
	.customer-box table th,
	.customer-box table td {
		display: block;
		width: calc(100% + 40px );
		margin-left: -20px;
	}
	
	.customer-box table th {
		padding: 10px 75px 10px 20px;
	}
	
	.customer-box {
		margin-bottom: 20px;
	}
}


/*------------------------------------------------------

送信ボタン

------------------------------------------------------*/
.form-btn input[type="submit"]:hover,
.form-btn input[type="btn-return"]:hover{
	opacity: 0.5;
	cursor: pointer;
}

.form-btn {
	margin: 0 auto 8rem;
	width: 70%;
}

/*btn-send*/
.form-btn .btn-send {
	position: relative;
}
.form-btn .btn-send:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 9px;
    border-color: transparent transparent transparent #FFF;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    pointer-events: none;
	z-index: 10;
}

.form-btn input[type="submit"] {
    width: 100%;
	display: block;
	padding: 2.3rem 45px 2.3rem 2rem;
    background: #ff3f3f;
    border: 3px solid #ff8a8a;
    color: #FFF;
    font-weight: bold;
    font-size: 2.2rem;
    box-sizing: border-box;
    border-radius: 5px;
    text-align: center;
    margin: 0 auto;
    position: relative;
}

/*btn-return*/
.form-btn input[type="btn-return"] {
	width: 100%;
    height: 100%;
	display: block;
	padding: 2.3rem 2rem;
    border: 3px solid #c1c1c1;
    color: #282828;
    font-weight: bold;
    font-size: 2.2rem;
    box-sizing: border-box;
    border-radius: 5px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    background: #FFF;
}

/*----confirm----*/
.btn2{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.btn2 li{
	width: 48%;
}
.btn2 li input,
.btn2 li input{
	width: 100%;
}

.estimate-cont.confirm-page .form-btn {
	width: 90%;
}

@media screen and (max-width: 480px) {
	.form-btn {
		margin: 0 auto;
		width: 90%;
	}
	
	.btn2 {
		row-gap: 20px;
		flex-direction:column-reverse;
	}
	.btn2 li {
		width: 100%;
	}
}



