BODY{
	margin			: 0px 20px 10px 20px;
	color			: #993300;
	background-color: #fcf9df;
	/*background-image: url(../img/bk_feather.gif);*/
	background-attachment: fixed;
	scrollbar-face-color : #ff9900;
	font-family: Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

.allbody{
	width			: 770px;
	text-align		: center;
}

A:link{
	color			: #ff6699;
	text-decoration : none;
}

A:active{
	color			: #ff6600;
}

A:visited{
	color			: #669966;	
	text-decoration : none;
}

A:hover{
	color			: #ff0000;

}

FORM{
	margin			: 0px;
	padding			: 0px;
}

P{
	line-height		: 150%;
}

IMG{
	border			: 0px;
}

TH,TD{
	font-size		: 13px;
}

H4{
	width			: 75%;
	text-align		: left;
	margin			: 20px 0px 5px;
	color			: #cc0000;
	font-size		: 15px;
	filter: dropshadow(offx=2,offy=2,color=#cccccc,positive=1);
}




/* 送信ボタン */
/* =========================================
   共通ボタンデザイン
========================================= */
.btn {
	appearance: none;
	-webkit-appearance: none;

	display: inline-block;
	border: none;
	border-radius: 999px;

	padding: 10px 20px;
	min-width: 130px;

	background: linear-gradient(135deg, #ffe58a 0%, #ffc22e 100%);
	color: #7a3b00;

	font-size: 18px;
	font-weight: bold;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-align: center;
	text-decoration: none;

	cursor: pointer;

	box-shadow: 0 4px 10px rgba(120, 80, 20, 0.22);
	transition: all 0.2s ease;
}

/* マウスを乗せた時 */
.btn:hover {
	background: linear-gradient(135deg, #fff0b3 0%, #ffd45a 100%);
	color: #5f2d00;

	transform: translateY(-2px);
	box-shadow: 0 7px 16px rgba(120, 80, 20, 0.28);
}

/* クリックした時 */
.btn:active {
	transform: translateY(0);
	box-shadow: 0 3px 7px rgba(120, 80, 20, 0.2);
}

input#submit_button {
    padding: 15px 40px;
    font-size: 1.5em;
}

/* 注意事項 */
.war{
	font-weight		: bold;
	color			: #990000;
}


/*----------------------------
	メッセージ
----------------------------*/
/* メッセージ */
.msgout{
	margin			: 20px 0px;
	width			: 700px;
	border			: #ccccff 2px outset;
}
.msgout TH{
	font-size		: 13px;
	padding-top		: 10px;
}
.msgout TD{
	text-align		: center;
	line-height		: 200%;
	font-size		: 13px;
	padding			: 0px 30px 10px;
}

/* メッセージボタン */
.msgbtn{
	margin-top		: 12px;
	background-color: #9999cc;
	color			: #000099;
}
/* エラー */
.err{
	color			: #ff0000;
}

/*----------------------------
	ロゴ表示
----------------------------*/
.logo{
	margin-top		: 20px;
	border-top		: 1px solid #333399;
}
.logo TD{
	font-size		: 12px;
	vertical-align	: top;
}
/*----------------------------
	ヘッダ
----------------------------*/
.head{
	margin			: 10px 0px;
	border			: #ccccff 2px outset;
}
.head A{
	color			: #669966;
}
.head TH{
	padding			: 5px;
}
.head TD{
	border-top		: #ccccff 1px solid;
	padding-right	: 10px;
}

/*----------------------------
	投票フォーム
----------------------------*/
.form{
	margin-bottom	: 20px;
}

.need{
	font-size		: 11px;
	color			: #cc6666;
}
.remark{
	font-size		: 11px;
	color			: #666699;
}

/* 選択肢の一括指定の場合、下記の設定値を使用 */
.form DIV
{
	width			: 450px;
	height			: 30px;
	display			: block;
	font-size: 1.5em;
}

/* スマホ（画面幅767px以下）の場合 */
@media (max-width: 767px) {
  .form {
    font-size: 2em;
  }

}

/* 各質問ごとに選択肢の幅を調整する場合、下記の設定値を使用 */
/*
.ask01,.ask02,.ask03,.ask04,.ask05,.ask06,.ask07,.ask08,.ask09
{
	width			: 100px;
	height			: 24px;
	display			: inline;
}
*/
/*----------------------------
	投票内容
----------------------------*/
.entry TH{
	text-align		: left;
	width			: 150px;
	border-bottom	: #ff6600 1px solid;
	padding			: 10px 10px 3px 10px;
}
.entry TD{
	padding			: 10px 10px 3px 10px;
	width			: 350px;
	border-bottom	: #ff6600 1px solid;
}

/*----------------------------
	結果表示
----------------------------*/
.result TH{
	background-color:#ff6600;
	color			:#ffffff;
	border			:#ff9900 2px outset;
}
.result TD{
	border			: #ff6600 1px solid;
	border-width	: 0px 1px 1px 0px;
}

/*----------------------------
	ファイル管理
----------------------------*/
/* テーブル */
.file{
	margin-bottom	: 15px;
	border-spacing	: 5px;
}

/* タイトル */
.file .title{
	text-align		: left;
	padding-left	: 20px;
}

/* ヘッダ行 */
.file TH{
	background-color: #ccccff;
}

/* データ行 */
.file TD{
	line-height		: 180%;
	border-bottom	: #ccccff 1px solid;
}

/*----------------------------
	共通ボタン
----------------------------*/
/* 送信ボタン(作成) */
.cbtn{
	border-style	: groove;
	background-color: #ffcc00;
	color			: #cc0000;
}

/* 送信ボタン(編集) */
.ebtn{
	border-style	: groove;
	background-color: #ffcc00;
	color			: #cc0000;
}

/* 送信ボタン(初期化･削除) */
.dbtn{
	border-style	: groove;
	background-color: #ffcc00;
	color			: #cc0000;
}

/*----------------------------
	設定変更
----------------------------*/
.conf TH{
	text-align		: left;
	vertical-align	: top;
	padding-top		: 8px;
}
.conf TD{
	padding			: 3px 5px 3px 5px;
	line-height		: 120%;
}
.note{
	font-size		: 11px;
	color			: #666699;
}
.konatop{
	text-align: center;
	margin-bottom: 10px;
}

/* =========================================================
   レスポンシブ最小修正版
   左寄せ防止・スクロール維持・フッター幅調整
========================================================= */

/* 基本 */
html {
  height: auto !important;
}

body {
  height: auto !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background-color: #fcf9df;
  text-align: center !important;
}

/* 本文全体：770px固定を中央寄せ */
.allbody {
  width: 770px !important;
  max-width: calc(100% - 20px) !important;
  margin: 0 auto !important;
  text-align: center !important;
}


/* メッセージ枠 */
.msgout {
  width: 700px !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* フォーム */
.form {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 選択肢 */
.form div,
.form DIV {
  width: 450px !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 30px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* 入力欄 */
input,
select,
textarea {
  max-width: 100% !important;
}


/* =========================================================
   スマホ
========================================================= */
@media screen and (max-width: 767px) {

  body {
    padding: 0 !important;
    text-align: center !important;
  }

  .allbody {
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    padding: 0 8px !important;
  }

  .msgout {
    width: 100% !important;
    max-width: 100% !important;
  }

  .form div,
  .form DIV {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  th,
  td,
  TH,
  TD {
    font-size: 14px !important;
  }

  .btn,
  input#submit_button {
    width: 100% !important;
    max-width: 300px !important;
    font-size: 17px !important;
    padding: 13px 18px !important;
  }

  .footer,
  #footer_nav,
  .foot,
  #foot {
    width: 100% !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
	.enq-page-wrap h1,.enq-page-wraph2{
    font-size: 1.3em !important;
    margin-bottom: 5px;
}
}
/* =========================================================
   レスポンシブ対応 追加CSS
   既存CSSの一番下に追加
========================================================= */

/* 全体の横はみ出し防止 */
/* 修正後：スクロールを止めない */
html {
  width: 100%;
  max-width: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  /*overflow: clip;*/
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* PCでも中央寄せ・最大幅指定 */
body {
  margin: 0;
  padding: 0 20px 10px;
}

/* メイン幅：770px固定 → 最大770px */
.allbody {
  width: 100% !important;
  max-width: 770px !important;
  margin: 0 auto !important;
  text-align: center;
}

/* テーブル系の固定幅対策 */
table {
  max-width: 100% !important;
}

/* メッセージ枠：700px固定 → 可変 */
.msgout {
  width: 100% !important;
  max-width: 700px !important;
  margin: 20px auto !important;
}

/* フォーム全体 */
.form {
  width: 100% !important;
  max-width: 100% !important;
}

/* 選択肢：450px固定 → 可変 */
.form div,
.form DIV {
  width: 100% !important;
  max-width: 450px !important;
  height: auto !important;
  min-height: 30px;
  margin: 0 auto 8px !important;
  display: block;
}

/* 入力欄・セレクト・テキストエリア */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
  max-width: 100% !important;
}

/* 送信ボタン */
.btn,
input#submit_button {
  max-width: 100%;
  white-space: normal;
}

/* 見出し */
h4,
H4 {
  width: 100% !important;
  max-width: 700px;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* =========================================================
   アンケートフォーム部分のはみ出し防止
========================================================= */

/* 700px固定テーブルをスマホ幅に収める */
.enq-page-wrap table[width="700"] {
  width: 100% !important;
  max-width: 700px !important;
  box-sizing: border-box !important;
}

/* アンケート入力部分の左50px余白を解除 */
.enq-page-wrap div[style*="margin-left:50px"] {
  margin-left: 0 !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
  box-sizing: border-box !important;
}

/* フォーム内テーブル */
.enq-page-wrap table.form {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 回答選択肢のセル */
.enq-page-wrap table.form td {
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  white-space: normal !important;
}

/* 入力欄・テキストエリア */
.enq-page-wrap input[type="text"],
.enq-page-wrap input[type="email"],
.enq-page-wrap input[type="tel"],
.enq-page-wrap textarea,
.enq-page-wrap select {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ラジオボタンは潰さない */
.enq-page-wrap input[type="radio"],
.enq-page-wrap input[type="checkbox"] {
  width: auto !important;
  max-width: none !important;
}

/* 送信ボタンの横はみ出し防止 */
.enq-page-wrap input[type="submit"],
.enq-page-wrap .btn {
  max-width: 100% !important;
  white-space: normal !important;
  box-sizing: border-box !important;
}
/* =========================================================
   スマホ対応
========================================================= */
@media screen and (max-width: 767px) {

  .mainpage {
    padding: 0 10px 10px !important;
    margin: 0 !important;
    font-size: 16px;
  }

  .allbody {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* テーブルをスマホ幅に収める */
  table,
  tbody,
  tr,
  th,
  td {
    max-width: 100% !important;
  }

  th,
  td {
    font-size: 15px !important;
    line-height: 1.7;
  }


  P {
    line-height: 1.8;
  }

  h4,
  H4 {
    font-size: 17px !important;
    line-height: 1.5;
  }

  /* メッセージ枠 */
  .msgout {
    width: 100% !important;
    margin: 15px auto !important;
  }

  .msgout td,
  .msgout TD {
    padding: 0 12px 10px !important;
    font-size: 15px !important;
  }

  /* フォーム文字サイズ */
  .form {
    font-size: 16px !important;
  }

  .form div,
  .form DIV {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 17px !important;
    line-height: 1.6;
    text-align: left;
  }

  /* 入力欄を押しやすく */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  /* ボタン */
  .btn,
  input#submit_button {
    width: 100%;
    max-width: 320px;
    padding: 14px 20px !important;
    font-size: 20px !important;
    margin: 10px auto;
    display: inline-block;
  }

  /* 投票内容テーブルの詰まり対策 */
  .entry th,
  .entry TH,
  .entry td,
  .entry TD {
    width: auto !important;
    padding: 8px 6px !important;
    font-size: 15px !important;
  }

	
	.present-form-table tr,
	.present-form-table th,
	.present-form-table td{
		max-width: 180px !important;
	}
	/* =========================================================
   ぷっしゅん4画像：小さい画面でも 2列×2列にする
   対象：pussyun_01.png 〜 pussyun_04.png
========================================================= */

/* まず全画像の基本ははみ出さない */
.enq-page-wrap img {
  max-width: 100%;
  height: auto;
}

/* 4枚の商品画像だけを2列にする */
.enq-page-wrap img[src*="pussyun_01.png"],
.enq-page-wrap img[src*="pussyun_02.png"],
.enq-page-wrap img[src*="pussyun_03.png"],
.enq-page-wrap img[src*="pussyun_04.png"] {
  display: inline-block !important;
  width: 50% !important;
  max-width: 50% !important;
  height: auto !important;
  vertical-align: top !important;
  box-sizing: border-box !important;
}

/* 4枚画像を囲むリンクも幅を邪魔しない */
.enq-page-wrap a:has(img[src*="pussyun_01.png"]),
.enq-page-wrap a:has(img[src*="pussyun_02.png"]),
.enq-page-wrap a:has(img[src*="pussyun_03.png"]),
.enq-page-wrap a:has(img[src*="pussyun_04.png"]) {
  display: inline !important;
}


  /* アンケート外枠 */
  .enq-page-wrap {
    width: calc(100% - 16px) !important;
    max-width: 420px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box !important;
  }

  /* 700pxテーブルを完全にスマホ幅へ */
  .enq-page-wrap table[width="700"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 左余白50pxをスマホでは完全解除 */
  .enq-page-wrap div[style*="margin-left:50px"] {
    margin-left: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* アンケート質問テーブル */
  .enq-page-wrap table.form,
  .enq-page-wrap table.form tbody,
  .enq-page-wrap table.form tr,
  .enq-page-wrap table.form td {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 左の空白セルを小さくする */
  .enq-page-wrap table.form td:first-child {
    width: 10px !important;
    min-width: 10px !important;
  }

  /* 回答文が横に伸びないようにする */
  .enq-page-wrap table.form td {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  /* 送信ボタン */
  .enq-page-wrap input[type="submit"],
  .enq-page-wrap .btn {
    width: 100% !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
	table.logo{
		width: 100%;
	}
}

/* =========================================================
   さらに狭いスマホ
========================================================= */
@media screen and (max-width: 480px) {

  .mainpage {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  th,
  td {
    font-size: 14px !important;
  }

  .btn,
  input#submit_button {
    max-width: 100%;
    font-size: 18px !important;
  }
}
