
/* -----------------------------------
　　　　　　ヘッダー
----------------------------------- */
header{
margin-bottom:20px;
}

/* -----------------------------------
　　　　　　フォント（全体）
----------------------------------- */
body{
  font-family :"Hiragino Kaku Gothic Pro", "Hiragino Sans GB W3", "メイリオ", Meiryo, sans-serif;
}

/* ------------------------------------
　　　　　　テーブル幅
------------------------------------ */
form, .fm-enqueteout, .fm-enquete{
  width: 100%;
  margin:auto;
}

.fm-enquete{
  width: 1146px;
  margin:auto;
}

.fm-enquete tr{
  border-bottom: solid 1px #e8e8e8;
}

.fm-enquete td{
  vertical-align: top !important;
}

.order-table {
  border-collapse: initial;
}

.order-table tr{
  border-bottom: non;
}

.order-table td{
  height: 40px;
}

table.fm-enquete td.fm-question,table.fm-enquete td.fm-answer,table.fm-enquete td.fm-verticalquestion,table.fm-enquete td.fm-verticalanswer{
  display:block;
  width: 100%;
  box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  padding:15px;
}

/* -----------------------------------
          エラーメッセージ
----------------------------------- */
.fm-messagebox{
margin:auto;
overflow:hidden;
padding:0 50px
}

/* -----------------------------------
         背景色、フォントサイズ
----------------------------------- */
.fm-enquete{
background:#ffffff;
font-size:16px;
border-collapse:collapse;
margin:20px auto;
}

/* -----------------------------------
　　　　　　設問欄
----------------------------------- */
.fm-question{
  width:40%;
  box-sizing: border-box;
  padding:40px 40px 0 40px;
  font-weight:bold;
}

/* -----------------------------------
　　　　　　回答欄
----------------------------------- */
.fm-answer{
  width:60%;
  box-sizing: border-box;
  padding:40px 40px 0 40px;
}

/* -----------------------------------
           縦並び回答欄
----------------------------------- */
.fm-verticalanswer{
  padding:20px 40px;
}

/* -----------------------------------
  テキストボックス、テキストエリア
----------------------------------- */
input[type="text"],input[type="password"],textarea{
  padding:10px;
  border:#cccccc 1px solid;
  font-size:16px;
  -webkit-appearance: none;
}

/* -------------------------------------
       　　セレクトボックス
------------------------------------- */
select{
  width: auto;
  display: inline-block;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' width='40px' height='40px' viewBox='0 0 40 40'%3E%3Crect fill='%23666' width='40' height='40'/%3E%3Cpath fill='%23fff' d='M25.5,16l2,2l-8,8l-8-8l2-2l6,6L25.5,16z'/%3E%3C/svg%3E%0A") #ffffff no-repeat 100% 0;
  background-size: 40px 40px;
  font-size: 1.14286rem;
  line-height: 1;
  padding: 0 50px 0 10px;
  border: solid 1px #cccccc;
  border-radius: 0;
  height: 40px;
}

select::-ms-expand {
    display: none;
}

/* -------------------------------------
 テキストボックス、テキストエリア幅
------------------------------------- */
input[type="text"],input[type="password"]{
 width:90%;
}

textarea{
 width:90%;
 min-height: 182px;
}

/* -------------------------------------
　　　　姓名ブロック
------------------------------------- */
input[id$="first"],input[id$="second"] {
margin-right:10px;
margin-left:10px;
width:35%
}

@media only screen and (max-width: 768px) and (min-width: 481px) {
input[id$="first"],input[id$="second"] {
width:30%
}

}

/* -------------------------------------
          住所ブロック（4桁）
------------------------------------- */
input[id$="right"] {
margin-right:10px;
}

/* -------------------------------------
 　住所ブロック（住所検索ボタン）
------------------------------------- */
input[id^="searchAddr"] {
padding:5px 10px;
background:#dddddd;
border:none;
font-size:16px;
font-family :"游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, sans-serif
}

/* -------------------------------------
      　　　スクロール
------------------------------------- */
#pri {
  border:#cccccc 1px solid;
  padding:10px;
  margin:0;
  height:150px;
  overflow: auto;
  font-size:12px;
  text-align:left
}

.fm-question span {
  color: #ffffff !important;
  margin: 0 15px;
  padding: 2px 5px;
  font-size:12px;
  line-height:14px;
  background-color:  #e20000;
  border-radius: 4px; 
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-left:10px solid #e20000;
  border-right:10px solid #e20000;
  white-space: nowrap;
}

input[type="submit"]{
  -webkit-appearance: none;
  border-radius:0;
}

/* -------------------------------------
      　　　submitボタン
------------------------------------- */
input#login,input[type="submit"][id^="rewind"]{
  background-color: #fff;
  display: inline-block;
  color: #d90000;
  font-weight: bold;
  font-size: 1.14286rem;
  line-height: 1.125;
  max-width: 210px;
  width: 100%;
  padding: .8em;
  border: solid 3px #d90000;
  border-radius: 210px;
  position: relative;
  text-decoration: none;
  text-align: center;
  margin:0 0 40px 0;
}

input[type="submit"][id^="rewind"]:hover,input#login:hover {
  border-color: #e86666;
  color: #e86666;
}

input#confirm,input[type="submit"][id^="wcf"]{
  background-color: #d90000;
  color: #fff;
  display: inline-block;
  font-weight: bold;
  font-size: 1.43rem;
  line-height: 1.125;
  max-width: 270px;
  width: 100%;
  padding: .8em;
  border: solid 3px #d90000;
  border-radius: 210px;
  position: relative;
  text-decoration: none;
  text-align: center;
  margin:0 30px 40px 30px;
}

input#confirm:hover,input[type="submit"][id^="wcf"]:hover{
  border-color: #e86666;
  background-color: #e86666;
}

input#wcf5_save{
  padding: 5px 15px;
  font-size:12px;
  margin:10px;
}

/* -------------------------------------
　　　　　　郵便番号ブロック
------------------------------------- */
input[id$="left"] {
  width: 90px !important;
  margin-right: 10px;
}

input[id$="right"] {
  width: 100px !important;
  margin-left: 10px;
}

/* -------------------------------------
  　　　　電話番号ブロック
------------------------------------- */
input[id$="areacode"]{
  width: 93px !important;
  margin-right: 10px;
}

input[id$="citycode"]{
  width: 93px !important;
  margin-right: 10px;
  margin-left: 10px;
}

input[id$="subscribercode"] {
  width: 93px !important;
  margin-left: 10px;
}

/* -------------------------------------
　選択肢ラベルとチェックの位置
------------------------------------- */
.order-table-input-column{
padding:0 0 10px 0 !important;
line-height:18px;
font-size:16px;
}
.order-table-label-column{
padding:2px 0 10px 0 !important;
line-height:18px;
font-size:16px;
}


/* -------------------------------------
    　　　　ラジオボタン
------------------------------------- */
input[type=radio] {
  position: relative;
  display: inline-block;
  padding: .15em 0 0 2.2em;
  line-height: 1.6;
  top: 0;
  left: 0;
  content: "";
  width: 1.2em;
  height: 1.2em;
  border: 2px solid #ccc;
  background: #fff;
  border-radius: 2em;
  background-color: #ccc;
}

input[type=radio]:checked {
  display: inline-block;
  content: "";
  background-color: #d90000;
  border-radius: 2em;
}

/* -------------------------------------
    　　　　チェックボックス
------------------------------------- */
input[type=checkbox] {
  position: relative;
  display: inline-block;
  padding: .15em 0 0 2.2em;
  line-height: 1.6;
  content: "";
  width: 1.2em;
  height: 1.2em;
  border: 2px solid #ccc;
  background: #fff;
  background-color: #ccc;
  
}

input[type=checkbox]:checked{
  color: #d90000;
  font-size: 1em;
  line-height: 1;
  content: "\F012";
}


/* -------------------------------------
    　　　　マトリクス
------------------------------------- */

td.fm-cell,
td.fm-y,
td.fm-x{
  border: solid 1px #e8e8e8 !important;
}

td.fm-y,
td.fm-x{
  background-color: #fce1e5;
}

td.fm-x{
    padding: 0 5px;
}

/* -------------------------------------
     ■以下スマホ向けのスタイル
------------------------------------- */
@media only screen and (max-width: 767px) {
@charset "UTF-8";

table {
word-break:break-all;
-webkit-text-size-adjust: 100%;
}

/* -------------------------------------
    テーブル全体の幅・線・位置
------------------------------------- */
table.fm-enqueteout, table.fm-enquete{
  padding:0;
  margin:0;
  border-collapse:collapse;
  border-spacing:0;
  empty-cells:show;
  width:100%;
  box-sizing: border-box;
}


/* -------------------------------------
    　　　　エラーメッセージ
------------------------------------- */
.fm-messagebox{
padding:0 20px 20px 20px
}

/* -------------------------------------
    　　　　ステップバー
------------------------------------- */

.stepBar {
width: 100%;font-size:11px;
}
.stepBar span{
padding:0 0 0 10px
}
.stepBar span.step,.stepBar span.current{
padding:0 5px
}

/* -------------------------------------
　　　　　    画像サイズ
------------------------------------- */
img {　　　　　　　　　　　　　　　　
max-width: 100%;
height:auto !important;
}

/* -------------------------------------
　 テキスト系・セレクトボックスの幅
------------------------------------- */
input[type="text"],input[type="password"], textarea, select { 　　
width:90%;
font-size:16px;
}

/* -------------------------------------
    　　　　　姓名ブロック
------------------------------------- */
input[id$="first"],input[id$="second"]{
  width: 37%;
  font-size:16px;
  margin-bottom:2px;
}

/* -------------------------------------
    　　　　　年月日ブロック
------------------------------------- */
input[id$="month"],input[id$="day"]{
  width: 45%;
  margin-top:2px;
}

/* -------------------------------------
　　　　　　その他ブロック
------------------------------------- */
input[id$="etc_text"] {　
  width: 50%;
  font-size:16px;
}

/* -------------------------------------
　　　　　　郵便番号ブロック
------------------------------------- */
input[id$="left"],input[id$="right"] {
  width: 30%;
  font-size:16px;
}

/* -------------------------------------
  　　　　電話番号ブロック
------------------------------------- */
input[id$="areacode"],input[id$="citycode"],input[id$="subscribercode"] {
  width: 23%;
  font-size:16px;
}
}
