@charset "utf-8";
/* ==================================================

フォーム用
form-content.css

================================================== */

.formwrap{
	max-width: 980px;
	width: 100%;
    min-height: 300px;
    margin: 0 auto 3em;
}
.formwrap h2{text-align: center;margin-bottom: 1rem;}
.formwrap p {text-align: center;}
.formwrap div.form-header {
	background-color: #e85282;
	padding: 1rem;
	text-align: center;
	font-size: 1.7rem;
	letter-spacing: 2px;
	color: #fff;
}
.formwrap div.input-example {margin-bottom: 0.5rem; font-size: 1.4rem; margin-left: 1rem;}
.formwrap table input {background-color: #fff; padding: 1rem;width: 80%; }
.formwrap table textarea {width: 97%; min-height: 150px; padding: 1rem;background-color: #fff; }
.formwrap table tr{
background-color: #f4f4f4;
border-bottom: 4px solid #fff;
}
.formwrap table th, .formwrap table td {padding: 1.5rem 0rem 1.5rem 3rem;}
.formwrap table th{line-height: 1;width: 28%;}
.formwrap table th span{
	color: #fff;
	font-size: 82%;
	font-weight: normal;
	margin-left: 5px;
	padding: 4px 5px;
	display: inline-block;
	line-height: 1;
	border-radius: 3px;
	background: #e40404;
	vertical-align:text-top;
}
.formwrap #submit_btn input, .formwrap input.forSendButton, .formwrap input.forBackButton {
    margin: 2rem auto 3rem auto;
    font-size: 1.6rem;
    padding: 12px 50px 16px 50px !important;
    border: none;
    border-radius: 4px;
    background-color: #e85282;
    color: #fff;
	line-height: 1;
	height: 40px;
	display:block;
	}
	.formwrap input.forBackButton {background-color: #909090;}
	.formwrap #submit_btn input:hover, .formwrap input.forSendButton:hover, .formwrap input.forBackButton:hover {opacity: 0.80;}
.formwrap input[type="radio"] {
  appearance: none;
/*  display: none;*/
  opacity: 0;
  width: 1px;
  position: absolute;
  height: 1px;
}
.formwrap input[type="radio"] + span {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  padding: 10px 11px 8px 36px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
}
.formwrap input[type="radio"] + span::before,
.formwrap input[type="radio"] + span::after {
  position: absolute;
  content: "";
  display: block;
  border-radius: 50%;
  top: 0;
  bottom: 0;
  margin: auto 10px auto 0;
  box-sizing: border-box;
}
.formwrap input[type="radio"] + span::before {
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #dad7d3;
  left: 9px;
}
.formwrap input[type="radio"] + span::after {
  width: 10px;
  height: 10px;
  background: #999999;
  left: 14px;
  opacity: 0;
}
.formwrap input[type="radio"]:checked + span::before {
  border: 2px solid #e85282;
}
.formwrap input[type="radio"]:checked + span::after {
  background: #e85282;
  opacity: 1;
}


.formwrap input[type="file"] {
    height: auto;
}
.input-header {
	width: 100%;
    margin:1em auto 0.7em auto;
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: bold;
    border-left: 4px solid #e85282;
    padding-left: 8px;}
	@media only screen and (max-width : 896px) {.input-header {font-size: 1.5rem;}}
.formwrap ::placeholder {color: #A2A2A2;font-size: 1.4rem;}

/* form入力用用チェックボックス--------------------------------- */
/* html書き方
    <div class="check_area-write">
    <input type="checkbox" name="gift2storename" value="MOLTI" id="checkg1">
    <label for="checkg1">MOLTI</label>
    </div>
*/
.check_area-write{margin-left: 2rem;}
/*チェックは見えなくする*/
.check_area-write input{display: none;}

/*ボタン装飾*/
.check_area-write input[type=checkbox] + label {
	display: inline-block;
	width: auto;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
	padding-left:20px;
	margin-bottom: 20px;
}
.check_area-write input[type=checkbox] + label::before {
	position: absolute;
    display: block;
    top: 50%;
    left: 0%;
    transform: translateY(-50%) translateX(-50%);
    width: 22px;
    height: 22px;
    content: '';
    background: none;
	border: 1px solid #dad7d3;
    border-radius: 4px;
    background-color: #fff;
}
.check_area-write input[type=checkbox] + label::after {content: none;}

/*クリック後のチェック*/
.check_area-write input:checked ~ label:before {
	position: absolute;
    display: block;
    top: 50%;
    left: 0%;
    transform: translateY(-50%) translateX(-50%);
    width: 22px;
    height: 22px;
    content: '';
    background: #e85282;
    border-radius: 4px;
}
.check_area-write input[type=checkbox] ~ label::after {
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: '';
    display: block;
    position: absolute;
    top: 25%;
    left: -4%;
    transform: translateY(-50%) translateX(-50%);
    transform: rotate(45deg);
    width: 5px;
    height: 10px;
}


/* 個人情報同意用チェックボックス
※2024年以降はこっちの大枠の書き方を使う
------------------------------------------------- */
.check_area-agree{
	width: 80%;
    text-align: center;
    border: 1px solid #ccc;
    margin:  2rem auto 0 auto;
    padding: 1.5rem 1rem;
}

/*チェックは見えなくする*/
.check_area-agree input{display: none;}

/*ボタン装飾*/
.check_area-agree input[type=checkbox] + label {
	display: inline-block;
	width: auto;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
	padding-left:20px;
	margin-top: 1rem;
}
.check_area-agree input[type=checkbox] + label::before {
	position: absolute;
    display: block;
    top: 50%;
    left: 0%;
    transform: translateY(-50%) translateX(-50%);
    width: 22px;
    height: 22px;
    content: '';
    background: none;
	border: 1px solid #dad7d3;
    border-radius: 4px;
}
.check_area-agree input[type=checkbox] + label::after {content: none;}

/*クリック後のチェック*/
.check_area-agree input:checked ~ label:before {
	position: absolute;
    display: block;
    top: 50%;
    left: 0%;
    transform: translateY(-50%) translateX(-50%);
    width: 22px;
    height: 22px;
    content: '';
    background: #e85282;
    border-radius: 4px;
}
.check_area-agree input[type=checkbox] ~ label::after {
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: '';
    display: block;
    position: absolute;
    top: 25%;
    left: -5%;
    transform: translateY(-50%) translateX(-50%);
    transform: rotate(45deg);
    width: 5px;
    height: 10px;
}

/* 個人情報同意用チェックボックス
※2024年以前のフォームはこっちの大枠の書き方を使う
　使用しなくなるまで消さないで ↓ ↓ ↓ ↓ ↓
------------------------------------------------- */
.check_area{
	width: 80%;
    text-align: center;
    border: 1px solid #ccc;
    margin:  2rem auto 0 auto;
    padding: 1.5rem 1rem;
}
.check_area input{display: none;}
.check_area input[type=checkbox] + label {
	display: inline-block;
	width: auto;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
	padding-left:20px;
	margin-top: 1rem;
}
.check_area input[type=checkbox] + label::before {
	position: absolute;
    display: block;
    top: 50%;
    left: 0%;
    transform: translateY(-50%) translateX(-50%);
    width: 22px;
    height: 22px;
    content: '';
    background: none;
	border: 1px solid #dad7d3;
    border-radius: 4px;
}
.check_area input[type=checkbox] + label::after {content: none;}
.check_area input:checked ~ label:before {
	position: absolute;
    display: block;
    top: 50%;
    left: 0%;
    transform: translateY(-50%) translateX(-50%);
    width: 22px;
    height: 22px;
    content: '';
    background: #e85282;
    border-radius: 4px;
}
.check_area input[type=checkbox] ~ label::after {
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: '';
    display: block;
    position: absolute;
    top: 25%;
    left: -5%;
    transform: translateY(-50%) translateX(-50%);
    transform: rotate(45deg);
    width: 5px;
    height: 10px;
}

/* エラー画面--------------------------------- */

.formwrap #errorMessage {
    background-color: #fed6d6;
    padding: 1rem;
    width: 90%;
    margin: 2rem auto;
    color: #ff0000;
    border-radius: 5px;
	position: relative;
}
.formwrap #errorMessage::after{
    content: "";
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    width: 0px;
    height: 0px;
    margin: auto;
    border-style: solid;
    border-color: #fed6d6 transparent transparent transparent;
    border-width: 10px 10px 0 10px;
}
.formwrap #errorMessage p {margin-bottom: 5px;}

/* 送信完了画面 */
#letterarea {margin-bottom: 8rem;}
#letterarea .se-h2_centertitle-wrap h2 {margin-bottom: 4rem;}
#letterarea h3 {
	background-color: #e85282;
	padding: 1rem;
	text-align: center;
	font-size: 1.8rem;
	letter-spacing: 3px;
	color: #fff;
	font-weight: normal;
	margin-bottom: 4rem;
}
#letterarea p {font-size: 1.6rem; letter-spacing: 2px;}

/* 投稿写真・動画のバリデーションテキスト */
.formwrap .noticeValid {
    color: #e40404;
    font-size: 12px;
    margin-top: .5rem;
}

/*======================================================*/
/*PC縮小～タブレット（※イレギュラー指定）
=======================================================*/
@media only screen and (min-width: 897px) and (max-width: 987px) {
}
/*======================================================*/
/*(SP（タブレット以下）)media only screen and ( max-width : 896px )
=======================================================*/
@media only screen and (max-width : 896px) {
.formwrap table th{width: 100%; display: block; padding: 1.5rem 1.5rem 0.5rem 1.5rem;font-weight: 600;}
.formwrap table td{width: 100%; display: block;	padding: 0rem 1.5rem 1.5rem 1.5rem;}
.formwrap table input, .formwrap table textarea { width: 97%;}
.formwrap #submit_btn input, .formwrap input.forSendButton, .formwrap input.forBackButton {font-size: 1.3rem;padding: 12px 50px 13px 50px !important;}
#letterarea {margin-bottom: 5rem;}
#letterarea .se-h2_centertitle-wrap h2, #letterarea h3 {margin-bottom: 3rem;}
#letterarea h3 {font-size: 1.7rem; margin-bottom: 3rem;}
#letterarea p {font-size: 1.5rem;}

} /*End_media only_max-width : 896px*/
/*======================================================*/
/*iphone7,8, Google Pixel 3  (SP640)
========================================================*/
@media only screen and (max-width : 640px) {

} /*End_media only_max-width : 640px*/
/*======================================================*/
/*iphoneX(SP375)  小画面スマホ
========================================================*/
@media only screen and (min-width: 1px) and (max-width: 375px) {

} /*End_media only_max-width : 375px*/
/*======================================================*/
/* iphone5/SE/(320) 極小画面スマホ
========================================================*/
@media only screen and (min-width: 1px) and (max-width: 320px) {}
/*End_media only_max-width : 320px*/
