@charset "UTF-8";

html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none}

*{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  box-sizing: border-box;
}

body{
  line-height: 1.6;
  line-height: 2;
  /* background-color: #f7f8f9; */
}

/* 入力スタイルを無効にする */
input[type='text'],input[type='tel'],textarea{
  font-family:inherit;font-size:inherit;font-weight:inherit;font-size:100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
}


a{
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.wrap{
  width: 90%;
  margin: 20px auto;
  max-width: 600px;
  /* background-color: #FFF; */
}

.title{
  margin-bottom: 10px;
}

h1{
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  /* margin-bottom: 80px; */
  margin-bottom: 20px;
  background-color: aliceblue;
  border-radius: 5px;
}

/* thanksページ用 */
h2{
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  /* margin-bottom: 80px; */
  /* margin-bottom: 20px; */
  background-color: lavenderblush;
  border-radius: 5px;
}

section{
  padding-bottom: 20px;
}

table{
  border: 1px solid #ccc;
  border-collapse: collapse;
}
tr td{
  /* white-space: nowrap; */
  padding: 5px;
  border: 1px solid #ccc;
  /* line-height: 3; */
}

/* boxクラスのdivで下線で区切る */
.box{
  border-bottom: 1px solid #bbb;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.item-name{
  display: block;
  font-weight: bold;
  margin-top: 5px;
  /* margin-bottom: 5px; */
}

.item-name-head{
  display: block;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 110%;
  border-left: solid 5px #7db4e6;
  padding-left: 0.5em;
  /* margin-bottom: 5px; */
}

.item-name-head1{
  display: block;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 110%;
  border-left: solid 5px #7db4e6;
  padding-left: 0.5em;
  /* margin-bottom: 5px; */
}

.mg-lt {
  margin-left: 10px;
}



/* 必須マーク */
.must {
  display: inline-block;
  /* background: #EF6B6A; */
  color: #EF6B6A;
  /* border-radius: 3px; */
  font-size: 13px;
  font-weight: bold;
  margin-left: 14px;
  padding: 2px;
  letter-spacing: 0.2em;
  /* height: 22px; */
}

/* 結び文のレイアウト */
.end {
  padding-top: 20px;
}

.publisher {
  color: #999;
  text-align: right;
  /* margin: 0 0 0 auto; */
}

/*入力ボックスの段落*/
.text-wrap1 {
  padding-bottom: 8px;
  line-height: 3;
}

.sec-wrap {
  padding-left: 10px;
}

.padding-l {
  padding-left: 10px;
}
.padding-t {
  padding-top: 10px;
  font-weight: bold;
}

/* 必要書類説明用 */
.addr-box {
  border: 1px solid #ccc;
  padding: 10px;
  margin-left: 3%;
  margin-right: 5%;
  border-radius: 5px;
}

.sp-wrap {
  display: inline-block;
}




/*エラーメッセージ用*/
.err{
  display: block;
  white-space: pre;
  padding-left: 10px;
  transition: all 0.5s;
  opacity: 0;
  color: red;
}

/*エラーメッセージ用実行ボタン下*/
.err-sub{
  display: block;
  white-space: pre;
  opacity: 0;
  color: red;
  text-align: center;
}

/*エラーメッセージ用最終チェックボックス*/
.err-arg{
  display: block;
  white-space: pre;
  opacity: 0;
  color: red;
  padding-left: 10px;
}


/* ----------------------------- */
/* ------ input,textarea  ------ */
/* ----------------------------- */

/* 属性セレクタでtype="text"のみに適応 */
input[type='text']{
  width: 100%;
  max-width: 200px;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* input[type='text']:required{
  background-color: #ffd9e1;
} */

input[type='tel']{
  width: 100%;
  max-width: 150px;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/*郵便番号*/
input[type='tel'].post{
  max-width: 60px;
}

input[type='tel'].post1{
  max-width: 70px;
}


input[type='text']:focus,
input[type='tel']:focus,
textarea:focus {
  /* border: solid 1px #ac3621; */
  border: solid 1px #487cff;
}



input[type='submit']{
  border: none;
  display: block;
  width: 100%;
  max-width: 300px;
  padding: 10px;
  border-radius: 5px;
  /* background-color: #ccc; */
  background-color: #233c79;
  color: #fff;
  font-weight: bold;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  margin: 0 auto;
}

textarea{
  width: 100%;
  height: 300px;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}


/* .input_wrap {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 10px;
} */


#test{
  width: 80%;
  display: inline-block;
}
#test1{
  width: 10%;
  display: inline-block;
}



/* ---------------------------- */
/* ---------- radio  ---------- */
/* ---------------------------- */


.radio-wrap label{
  margin-right: 20px;
  display: inline-block;
}

.radio-wrap input{
  /* display: none; */

  /* 透明度0 */
  /* filter: alpha(opacity=0);
  -moz-opacity:0;
  opacity:0; */
}


/* ⓵+⓶で⓵のすぐ後の⓶のみに適応 */
.radio-wrap input + span{
  /* padding-left: 22px; */
  position:relative;
}

.radio-wrap input + span::before{
  /* content: "";
  background-image: url(../img/radio.png);
  background-size: contain;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px; */

  /* ボタンの画像をcssで表現 */
  /* position: absolute;
  content: '';
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: -8px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 100%; */
}

.radio-wrap input:checked + span{
  color: #487cff;
  font-weight: bold;
}

.radio-wrap input:checked + span::after{
  /* content: "";
  background-image: url(../img/radio-checked.png);
  background-size: contain;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px; */

  /* ボタンの画像をcssで表現 */
  /* position: absolute;
  content: '';
  top: 50%;
  left: 4px;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  background: #3498db;
  background: #487cff;
  border-radius: 100%; */
}


/* --------------------------- */
/* -------- checkbox  -------- */
/* --------------------------- */


.checkbox-wrap label{
  margin-right: 20px;
  display: inline-block;
}

.checkbox-wrap input{
  /* display: none; */
}

.checkbox-wrap input + span{
  /* padding-left: 22px; */
  position:relative;
}

.checkbox-wrap input + span::before{
  /* content: "";
  background-image: url(../img/check.png);
  background-size: contain;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px; */

  /* ボタンの画像をcssで表現 */
  /* position: absolute;
  content: '';
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin-top: -8px;
  background: #fff;
  border: 1px solid #ccc; */
}

.checkbox-wrap input:checked + span{
  color: #487cff;
  font-weight: bold;
}

.checkbox-wrap input:checked + span::after{
  /* content: "";
  background-image: url(../img/check-checked.png);
  background-size: contain;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px; */

  /* ボタンの画像をcssで表現 */
  /* position: absolute;
  content: '';
  top: 5px;
  left: 3px;
  width: 13px;
  height: 5px;
  border-left: 2px solid #3498db;
  border-bottom: 2px solid #3498db;
  border-left: 2px solid #487cff;
  border-bottom: 2px solid #487cff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg); */
}


/* ----------------------------- */
/* ---------- select  ---------- */
/* ----------------------------- */


.select-wrap {
  position: relative;
  width: 100%;
  max-width: 250px;
}

.select-wrap:before {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  content: '';
  width: 15px;
  height: 15px;
  /* background: url(../img/select.png) no-repeat; */
  background-size: contain;
}

.select-wrap select{
  width: 100%;
  outline:none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 40px;
  padding: 5px;
  border:1px solid #ccc;
  background-color: #fff;
  border-radius: 5px;
}

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