@charset "UTF-8";

/* --------------------------------------------------------------------------------------------- form */
@media only screen and (min-width: 769px){	

.sp { display: none !important; }
	
#form input[type="text"]{
	width: 600px;
}
#form table{
	margin: 20px 0;
	width: 100%;
	font-size: 1.5rem;
}
#form table th,
#form table td{
	border-top: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
	padding: 20px;
	text-align: left;
	font-weight: normal;
	vertical-align: middle;
	line-height: 1.6;
}
#form table th{
	background-color: #f5f5f5;
	padding: 20px 0 20px 20px;
	width: 302px;
	white-space: nowrap;

}
#form table td{
	width: 818px;
}

#form table th + th{
	padding: 20px 20px 20px 0;
	width: 200px;
}



#form table th .require{
	display: inline-block;
	background-color: #D92A49;
	border-radius: 1px;
	padding: 2px 5px;
	margin-right: 10px;
	font-size: 1.1rem;
	color: #ffffff;
	vertical-align: middle;
}

#form table th .optionterm{
	margin: 0 0 0 4.2rem;
}


#form table th .charatype {
    background: #eef1f5;
    border: solid 1px #d0d8e2;
	font-size: 1.1rem;
    padding: 2px 4px 0 4px;
    margin-left: 10px;
}


#form table td button.search{
	margin: 0 0 0 20px;
}
#form table td .set{
	display: inline-block;
	margin: 0 45px 0 0;
}
#form table td .set .label{
	display: inline-block;
	width: 45px;
}
#form table td .set input[type="text"]{
	width: 160px;
}
#form table td ul.label{
	overflow: hidden;
}
#form table td ul.label li{
	float: left;
	margin: 7px 0;
	width: 270px;
}
#form table td ul.label li.etc{
	width: 100%;
}
#form table td ul.label li.etc label{
	margin: 0 10px 0 0;
}
#form table td .txt1{
	margin: 0 0 0 5px;
	font-size: 1.4rem;
}
#form table td .txt2{
	display: block;
	margin: 10px 0 0;
}
#form table th.w20{	width: 20px!important;	}
#form table td .w90{	width: 90px;	}
#form table td .w120{	width: 120px;	}
#form table td .w240{	width: 240px;	}
#form table td .w455{	width: 455px;	}
#form .agree{
	margin: 30px 50px;
	line-height: 1.6;
}
#form .agree p{
	font-size: 1.5rem;
}
#form .agree .check{
	margin: 15px 0 0;
	text-align: center;
	font-size: 1.8rem;
}
#form .agree .check .image{
	top: 2px;
}
#form .button{
	margin: 40px 0;
	text-align: center;
}
#form .button button{
	position: relative;
	background: -webkit-linear-gradient(#DD4441, #DB2645);
	background: -moz-linear-gradient(#DD4441, #DB2645);
	background: -ms-linear-gradient(#DD4441, #DB2645);
	background: linear-gradient(#DD4441, #DB2645);
	border: none;
	border-radius: 4px;
	width: 420px;
	height: 80px;
	color: #ffffff;
	font-size: 2.0rem;
	cursor: pointer;
}
#form .button button:after{
	content: url(/3dprinter/common/img/icon_menu-right.png);
	position: absolute;
	left: 93%;
	top: 50%;
	margin: -10px 0 0;
	line-height: 0;
}

#form .button li {
	width: 400px; 
	margin: 50px 10px;
	display: inline-block;
	text-align: center;
	float:left;
}

#form .button li button.back{
	position: relative;
	background: -webkit-linear-gradient(#eaeaea, #eeeeee);
	background: -moz-linear-gradient(#eaeaea, #eeeeee);
	background: -ms-linear-gradient(#eaeaea, #eeeeee);
	background: linear-gradient(#eaeaea, #eeeeee);
	border: none;
	border-radius: 4px;
	width: 300px;
	height: 65px;
	margin-top: 10px;
	color: #333333;
	font-size: 1.6rem;
	cursor: pointer;
}

#form .button button.back:after{
	content: none!important;
}

p.txt_error {
	margin: 5px 0 5px;
	font-size: 1.8rem;
	text-align: center;
	line-height: 1.6;
	color:#D92A49;
}
}





/* h9追加 */

.mark_essential{
	color: #cd0016;
	text-align: right;
	font-size: 14px;
}

.inq_com{
	display: block;
	font-size: 90%;
	margin-top: 5px;
}


.name_set{
	display: flex;
	justify-content:flex-start;
    gap:20px;
}

.name_set input{
    margin-left: 7px;
}
@media only screen and (min-width: 769px) {
@media only screen and (min-width: 769px) {
    /* 1. 姓と名の「セット」は横並びを維持 */
    .name_set {
        display: flex !important;
        flex-direction: row !important; 
        gap: 20px; /* 姓と名の間の横の隙間 */
        align-items: flex-start;
    }

    /* 2. 姓のラベル＋入力、名のラベル＋入力をそれぞれ「縦置き」にする */
    .name_set p {
        display: flex !important;
        flex-direction: column !important; /* ラベルと入力を上下にする */
        margin: 0 !important;
        width: 240px; /* 入力ボックスの幅(w240)に合わせる */
    }

    /* 3. ラベル（姓・名）の装飾 */
    .name_set p {
        line-height: 1.5;
    }

    /* 4. 入力ボックスの微調整 */
    .name_set input.w240 {
        width: 100% !important; /* 親のpタグ(240px)いっぱいに広げる */
        margin-left: 0 !important; /* 元のCSSの横余白を消す */
        margin-top: 5px !important; /* ラベルとボックスの間の隙間 */
    }
}

/* お問い合わせ内容のテキストエリアを縦方向のみリサイズ可能にする */
textarea#memo {
    resize: vertical !important;
}
