@charset "UTF-8";

/*--------------------------------------------
    HTML5 Reset ::style.css
    -------------------------
    We have learned much from/been inspired by/taken code where offered from:
    Eric Meyer:http://ericmeyer.com
    HTML5 Doctor:http://html5doctor.com
    and the HTML5 Boilerplate:http://html5boilerplate.com
---------------------------------------------*/
/* Let's default this puppy out
--------------------------------*/
html,
body,
body div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

article,
aside,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}

/* Responsive images and other embedded objects
   Note:keeping IMG here will cause problems if you're using foreground images as sprites.
   If this default setting for images is causing issues, you might want to replace it with a .responsive class instead. */
img,
object,
embed {
  max-width: 100%;
}

html {
  overflow-y: scroll;
}

ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted #000;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th {
  font-weight: bold;
  vertical-align: top;
}

td {
  font-weight: normal;
  vertical-align: top;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: top;
}

pre {
  white-space: pre;
  /* CSS2 */
  white-space: pre-wrap;
  /* CSS 2.1 */
  white-space: pre-line;
  /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word;
  /* IE */
}

input[type="radio"] {
  vertical-align: text-bottom;
}

input[type="checkbox"] {
  vertical-align: bottom;
  *vertical-align: baseline;
}

select,
input,
textarea {
  font: 99% sans-serif;
}

table {
  font-size: inherit;
  font: 100%;
}

a:hover,
a:active {
  outline: none;
}

td,
td img {
  vertical-align: top;
}

sub,
sup {
  font-size: 85%;
  line-height: 0;
  position: relative;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

pre,
code,
kbd,
samp {
  font-family: monospace, sans-serif;
}

.clickable,
label,
input[type=button],
input[type=submit],
button {
  cursor: pointer;
}

button,
input,
select,
textarea {
  margin: 0;
}

button {
  width: auto;
  overflow: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

img {
  vertical-align: bottom;
}

.clear:before,
.clear:after {
  content: " ";
  display: table;
}

.clear:after {
  clear: both;
}

.clear {
  *zoom: 1;
}

/*-------------------------------------------

Base Scss

-------------------------------------------*/
/*-------------------------------------------
Base Setting
-------------------------------------------*/
html {
  font-size: 62.5%;
}

body,
select,
input,
textarea,
button {
  font-size: 14px;
  font-family: 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'Meiryo', sans-serif;
  line-height: 1.5;
  color: #333;
  font-size-adjust: none;
  -webkit-font-size-adjust: none;
  -webkit-text-size-adjust: none;
}

a {
  color: #333;
  cursor: pointer;
}

a:link {
  text-decoration: none;
}

a:visited {
  color: #333;
  text-decoration: none;
}

a:hover,
a:active {
  color: #666;
  text-decoration: none;
}

img {
  vertical-align: middle;
}

caption {
  margin-bottom: 5px;
  text-align: left;
}

ins {
  background-color: #fcd700;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #fcd700;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

textarea {
  resize: vertical;
}

address {
  font-style: normal;
}

em {
  font-style: normal;
}

strong {
  font-weight: normal;
}

legend {
  display: none;
}

table {
  text-align: left;
  font-weight: normal;
}

th,
td {
  font-weight: normal;
}

body {
  word-break: break-all;
  position: relative;
  min-width: 1200px;
}

img {
  max-width: 100%;
}

p>img {
  vertical-align: middle;
}

ol,
li {
  list-style: none;
}


.fm-enquete th.fm-question,
.fm-enquete td.fm-answer {
  border: 1px solid #cecece;
  padding: 20px;
}


table.fm-enqueteout {
  width: 100%;
  margin: 0 auto;
}

.none {
  display: none;
}

@media screen and (max-width: 768px) {
  body {
    background: none !important;

  }
}

#header {
  line-height: 1;
  padding: 0;
  position: relative;
  background: rgba(255, 255, 255, 0.8);
}

#titleWrap {
  width: 1200px;
  margin: 0 auto;
}

#titleWrap h1 {
  text-align: center;
  color: #fff;
  padding: 35px 10px 25px;
  font-size: 2.8rem;
}

#footer {
  margin-top: 100px;
}

#flowList {
  width: 1000px;
  margin: 50px auto 20px;
}

#flowList ol {
  width: 805px;
  margin: 0 auto;
}

#flowList ol:before,
#flowList ol:after {
  content: " ";
  display: table;
}

#flowList ol:after {
  clear: both;
}

#flowList ol>li {
  width: 265px;
  position: relative;
  padding: 14px 0;
  float: left;
  text-align: center;
  border: 1px solid #cecece;
  border-left: none;
  font-size: 2.8rem;
  font-weight: bold;
  line-height: 1;
}

#flowList ol>li:before {
  z-index: 10;
  content: "";
  position: absolute;
  display: block;
  top: 0;
  right: -25px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 28px 0 28px 25px;
  border-color: transparent transparent transparent #cecece;
}

#flowList ol>li:after {
  z-index: 10;
  content: "";
  position: absolute;
  display: block;
  top: 1px;
  right: -23px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 27px 0 27px 23px;
  border-color: transparent transparent transparent #fff;
}

#flowList ol>li.active:before {
  border-color: transparent transparent transparent #e60012;
}

#flowList ol>li:first-child {
  border-left: 1px solid #cecece;
}

#flowList ol>li.active:after,
#flowList ol>li:last-child:before,
#flowList ol>li:last-child:after {
  display: none;
}

#flowList ol>li.active {
  background: #e60012;
  border-color: #e60012;
  border-right: transparent;
  color: #fff;
}

#flowList ol>li:nth-child(2) {
    border-left: none;
    border-right: none;
}

.text {
  width: 1000px;
  margin: 40px auto 56px;
  text-align: center;
}

.fm-messagebox {
  margin: 0 auto 20px;
}

table tr table.fm-enquete {}

table tr table.fm-enquete td.fm-verticalquestion {
  padding: 20px 20px 0;
  background: #f7f7f7;
  border-top: 5vh solid #fff !important;
}

table tr table.fm-enquete td.fm-verticalanswer {
  padding: 40px 40px;
  background: #f7f7f7;
  border-bottom: 8vh solid #fffc !important;
}

/* 1. 隣接セルのボーダーが上書きし合わないように separate に変更 */
table.fm-enquete {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: none !important;
  /* 外枠の二重線を防ぐためtable自体の枠は消す */
}

/* 2. 「利用規約に同意する」の行：グレー背景 ＋ 下に白い余白 */
table.fm-enquete tr.fm-input-checkbox>td.fm-verticalanswer {
  background: #f7f7f7 !important;
  padding: 0 20px 40px !important;
  border: none !important;
  border-bottom: 7vh solid #ffffff !important;
  text-align: center;
}

/* 3. その下の通常の行（「お問い合わせ先」など）：上下左右のボーダーを復活させる */
table.fm-enquete tr:not(.fm-input-checkbox)>td.fm-question,
table.fm-enquete tr:not(.fm-input-checkbox)>td.fm-answer {
  border-top: 1px solid #C0C0C0 !important;
  border-bottom: 1px solid #C0C0C0 !important;
  border-right: 1px solid #C0C0C0 !important;
}

table.fm-enquete tr:not(.fm-input-checkbox)>td.fm-question {
  border-left: 1px solid #C0C0C0 !important;
  border-right: none !important;
}

/* 4. 通常の行が2行以上続いたとき、真ん中の線が二重（2px）になるのを防ぐ */
table.fm-enquete tr:not(.fm-input-checkbox)+tr:not(.fm-input-checkbox)>td.fm-question,
table.fm-enquete tr:not(.fm-input-checkbox)+tr:not(.fm-input-checkbox)>td.fm-answer {
  border-top: none !important;
}

table tr table.fm-enquete td.fm-verticalquestion span.required {
  display: inline-block;
  min-width: 45px;
  padding: 6px 3px;
  margin-left: 10px;
  text-align: center;
  line-height: 1;
  background: #e60012;
  color: #fff;
}

table tr table.fm-enquete input[type="text"],
table tr table.fm-enquete textarea {
  margin-bottom: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #cecece;
}

table tr table.fm-enquete td.order-table-input-column {
  width: 25px;
  vertical-align: middle;
}

#c_q11_left {
  margin-right: 0.5em;
}

#c_q11_right {
  margin: 0 0.5em;
}

#confirm,
#rewind_wcf5confirm,
input[type="submit"]#wcf5start {
  font-family: 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'Meiryo', sans-serif;
  width: 470px;

  color: #fff;
  font-size: 2.0rem;
  line-height: 1;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background: #e60012 url(ico_arrow_01.png) 10px center no-repeat;
  background-size: 10px 14px;
  font-weight: bold;
  border: 1px solid #e60012;
  padding: 23px 0;
}

#confirm:hover,
input[type="submit"]#wcf5start:hover {
  background-color: #f4646e;
  border: 1px solid #f4646e;
}

#rewind_wcf5confirm {
  background: #fff url(ico_arrow_02.png) 10px center no-repeat;
  border: 1px solid #666;
  color: #333;
  font-weight: normal;
}

#rewind_wcf5confirm:hover {
  background-color: #ededed;
  border: 1px solid #666;
}

table tr table.fm-enquete textarea {
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

}

@media screen and (max-width: 768px) {
  body {
    min-width: 0;
  }

  #flowList {
    width: auto;
    margin: 20px 15px;

  }

  #flowList>ol {
    width: auto;
    margin: 0 auto;
  }

  #flowList>ol>li {
    width: 32%;
    font-size: 1.6rem;
    padding: 9px 0 8px;
  }

  #flowList ol>li:before {
    right: -14px;
    border-width: 17.5px 0 17.5px 14px;
  }

  #flowList ol>li:after {
    right: -11px;
    border-width: 16.5px 0 16.5px 12px;
  }

  .text {
    width: 100%;
    margin: 20px 0 10px;
  }

  .text p {
    padding: 0 15px;
  }

  table>tbody>tr[align="center"]>td {
    padding: 0 15px;
  }

  table tr table.fm-enquete {
    border: none;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  #header p,
  #titleWrap,
  #footer>p {
    width: 100%;
  }

  #header {
    padding: 0px;
  }

  #titleWrap {
    padding: 28px 10px 22px;
    background: #85b6e4 url(common_bg_category_title_01.jpg) center 0 no-repeat;
    background-size: auto 100%;
    font-size: 2.0rem;
    ] -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  #titleWrap h1 {
    padding: 0;
    font-size: 2.0rem;
  }

  .fm-messagebox {
    width: 100%;
    margin: 0 0 10px 0;
  }

  .fm-messagebox>li {
    padding: 0 15px;
  }

  table.fm-enquete .fm-verticalquestion,
  table.fm-enquete .fm-verticalanswer {
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  table tr table.fm-enquete td.fm-verticalquestion span.required {
    vertical-align: top;
    width: 37px;
    font-size: 1.1rem;
    margin-top: 3px;
    padding: 2px 0;
  }

  table.fm-enquete .fm-verticalanswer input[type="text"],
  table tr table.fm-enquete textarea {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

  }

  table tr table.fm-enquete td.fm-verticalquestion,
  table tr table.fm-enquete td.fm-verticalanswer {
    padding: 15px 10px;
    border-bottom: none;
  }

  #tr#p_wcf5complete_view_complete_default_block_id table tr table.fm-enquete td.fm-verticalanswer:last-child {
    border-bottom: 1px solid #cecece;
  }

  table tr table.fm-enquete td.fm-verticalquestion {
    border-bottom: none;
  }

  table tr table.fm-enquete td.order-table-input-column {
    vertical-align: baseline;
    padding-top: 5px;
  }

  input[type="submit"]#wcf5start {
    margin-top: 5px;
    padding: 14px 0;
    background-size: 7px 10px;
    width: 275px;
    font-size: 1.4rem;
    font-weight: normal;

  }

  #footer {
    margin-top: 35px;
  }
}

.fm-verticalquestionpage .fm-enquete {
  border: none;
}

.fm-verticalquestionpage .fm-enquete a {
  color: #3466cc;
}

h2 {
  position: relative;
  margin-bottom: 30px;
  padding: 0 0 0 26px;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.5;
  color: #e60012;
}

h2:before {
  content: "";
  display: block;
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 18px;
  height: 20px;
  background: url(ico_h2_01.png) 0 0 no-repeat;
  background-size: 100% auto;
}

@media screen and (max-width: 768px) {
  h2 {
    margin-bottom: 20px;
    padding-left: 20px;
    font-size: 1.8rem;
  }

  h2:before {
    width: 14px;
    height: 15px;
  }
}




.open {
  display: table-row !important;
}

.fm-verticalquestion,
.fm-verticalanswer {
  border: none !important;
}




/*---------------------------------------------------------------------------------------*/




/* =================================
    reset style ver.d1_12
    d-01 20260203
==================================== */
/* -----------------------------------
    フォント（全体）
----------------------------------- */
body,
p,
div,
span,
ul,
li,
td,
th {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/*--------------------------------------------------------------------
『質問セル、回答セルの各セル』
においてエディターを用いて
tableや画像を挿入した時のセルに対する表示の領域制限とスクロールバーの表示
--------------------------------------------------------------------*/
/*質問セル側  --横並びレイアウト-- */
.fm-question>div:has(table, img) {
  width: inherit;
  /*親要素（テーブルセル）のwidthを継承*/
}

/*質問セル側  --縦並びレイアウト-- */
.fm-verticalquestion>div:has(table, img) {
  max-width: 800px;
  /*※表示の領域制限としてmax-width:800pxを指定*/
}

.fm-question>div:has(table, img),
.fm-verticalquestion>div:has(table, img) {
  overflow-x: auto;
  /*オーバーサイズの時はスライドバーを表示*/
}



/*解答セル側  --横並びレイアウト-- */
.fm-answer>div:has(table:not(.order-table), img),
.fm-answer>span.fm-error:has(table:not(.order-table), img) {
  width: inherit !important;
  /*親要素（テーブルセル）のwidthを継承*/
  display: inline-block;
}

/*解答セル側  --縦並びレイアウト-- */
.fm-verticalanswer>div:has(table:not(.order-table), img),
.fm-verticalanswer>span.fm-error:has(table:not(.order-table), img),
.fm-verticalanswer>span.fm-error>div:has(table:not(.order-table), img) {
  max-width: 800px;
  /*※表示の領域制限としてmax-width:800pxを指定*/
}

.fm-answer>div:has(table:not(.order-table), img),
.fm-verticalanswer>div:has(table:not(.order-table), img),
.fm-answer>span.fm-error:has(table:not(.order-table), img),
.fm-verticalanswer>span.fm-error:has(table:not(.order-table), img),
.fm-verticalanswer>span.fm-error>div:has(table:not(.order-table), img) {
  overflow-x: auto;
  /*オーバーサイズの時はスライドバーを表示*/
}


/*--------------------------------------------------------------------
『表示用ブロック』
においてエディターを用いて
tableや画像を挿入した時のセルに対する表示の領域制限とスクロールバーの表示

※表示の領域制限としてmax-width:800pxを指定
--------------------------------------------------------------------*/

.fm-input-view>td.fm-verticalanswer>div,
.fm-input-sview>td.fm-verticalanswer>div {
  max-width: 800px;
  overflow-x: auto;
}



body {
  font-family: 'Noto Sans JP', sans-serif, "游ゴシック体", "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
}

/* Edge */
@supports (-ms-ime-align: auto) {

  button,
  input,
  select,
  textarea {
    font-family: inherit;
    font-size: 100%;
  }
}

/* chrome */
@media screen and (-webkit-min-device-pixel-ratio:0) {

  button,
  input,
  select,
  textarea {
    font-family: inherit;
    font-size: 100%;
  }
}

/* safari */
_::-webkit-full-page-media,
_:future,
:root .button,
_::-webkit-full-page-media,
_:future,
:root input,
_::-webkit-full-page-media,
_:future,
:root select,
_::-webkit-full-page-media,
_:future,
:root textarea {
  font-family: revert;
}

/* ie */
@media all and (-ms-high-contrast: none) {

  button,
  input,
  select,
  textarea {
    font-family: revert;
  }

  input[type=file] {
    width: 100%;
  }
}

/*ie hack*/
@media (-ms-high-contrast: none),
(-ms-high-contrast: active) {

  input[type="text"],
  input[type="password"] {
    line-height: normal !important;
  }

  input[type=tel] {
    height: 51px;
  }

  .fm-matrix td.fm-x {
    white-space: nowrap;
    word-wrap: break-word;
  }
}

/* firefox */
@-moz-document url-prefix() {

  button,
  input,
  select,
  textarea {
    font-family: revert;
  }

  .fm-answer {
    overflow-wrap: anywhere;
  }
}


/* ------------------------------------
    テーブル
------------------------------------ */


/* ------------------------------------
    タイトルエリア余白
------------------------------------ */
.fm-enqueteout {
  position: relative;
}

.fm-enqueteout tr:first-child td:not(.fm-enquete tr:first-child td) {
  padding-left: 20px;
  padding-right: 20px;
}

.fm-enquete {
  margin: 20px auto;
  border: none !important;
}

/* -----------------------------------
    横並び質問欄
----------------------------------- */
.fm-question {
  font-weight: bold;
  word-break: break-word;
}

/* -----------------------------------
    縦並び質問欄
----------------------------------- */
.fm-verticalquestion {
  font-weight: bold;
  word-break: break-word;
}

/* -----------------------------------
    横並び回答欄
----------------------------------- */
.fm-answer {
  word-break: break-word;
}

/* -----------------------------------
    縦並び回答欄
----------------------------------- */
.fm-verticalanswer {
  word-break: break-word;
}

/* -----------------------------------
    必須項目ラベル
----------------------------------- */
span.fm-required-label {
  font-size: 75%;
  margin-left: 10px;
}

/* -----------------------------------
    入力フォーム全般にかかわる指定
----------------------------------- */
input[type="text"],
input[type="password"] {
  max-width: 100%;
  line-height: 3em;
  box-sizing: border-box;
  border: #cccccc 1px solid;
}

input[type="text"],
input[type="password"],
input[type="tel"],
input[type="date"] {
  height: 48px;
  font-size: 14px;
  padding: 8px;
  box-sizing: border-box;
  border: #cccccc 1px solid;
}

input[type="file"] {
  max-width: 90%;
  margin-left: 5px;
  box-sizing: border-box;
}

textarea {
  max-width: 80%;
  padding: 8px;
  margin-left: 5px;
  margin-bottom: -5px;
  box-sizing: border-box;
  border: #cccccc 1px solid;
}

/* -----------------------------------
    セレクトボックス
----------------------------------- */
.select_out {
  overflow: hidden;
  width: auto;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  border: 1px solid #CBCBCB;
  margin-left: 5px;
  margin-right: 5px;
  max-width: 80%;
  height: 48px;
}

.select_out select {
  width: 100%;
  height: 100%;
  padding: 10px;
  padding-right: 2em;
  cursor: pointer;
  text-indent: 0.01px;
  text-overflow: ellipsis;
  border: none;
  outline: none;
  background: #fff;
  background-image: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.5;
  color: #000;
}

.select_out::before {
  position: absolute;
  top: 1.5em;
  right: 0.5em;
  width: 0;
  height: 0;
  padding: 0;
  content: '';
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #000000;
  pointer-events: none;
}

_::-webkit-full-page-media,
_:future,
:root select {
  border-radius: 4px;
}

/*選択不可の時の装飾解除*/
.select_out select.fm-input-disabled {
  cursor: default;
}

/* -----------------------------------
    メールアドレス確認
----------------------------------- */
input[id$="_confirm"] {
  margin-top: 10px;
}

/* -----------------------------------
    日付ブロック
----------------------------------- */
input[id$="_year"] {
  width: 70px !important;
  margin-right: 10px;
}

input[id$="_month"] {
  width: 50px !important;
  margin-right: 10px;
  margin-left: 10px;
  left: 0;
  position: relative;
}

input[id$="_day"] {
  width: 50px !important;
  margin-right: 10px;
  margin-left: 10px;
  left: 0;
  position: relative;
}

/* -----------------------------------
    「年月日」セレクトボックス
----------------------------------- */
select {
  width: auto;
  height: 48px;
  padding: 10px;
  border: #cbcbcb 1px solid;
  background-color: #fff;
  font-size: 16px;
  color: #000;
}

select.fm-input-date-select-month,
select.fm-input-date-select-day {
  margin: 0 0 0 10px;
}

select.fm-input-date-select-year {
  width: 180px;
  margin-left: 5px;
}

/* -----------------------------------
    日付ブロック - カレンダー -
----------------------------------- */
.fm-input-date input[type="date"].fm-calendar {
  max-width: 185px;
  width: 100%;
  margin-left: 5px;
  margin-right: 5px;
  font-size: inherit;
  background-color: #ffffff;
}

_::-webkit-full-page-media,
_:future,
:root .fm-input-date input[type="date"].fm-calendar {
  height: 44px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.fm-input-date input[type="date"].fm-input-disabled {
  background-color: #cccccc;
  color: #ccc;
  cursor: default;
}


/* -----------------------------------
    「姓名」ブロック
----------------------------------- */
input[id$="_first"],
input[id$="_second"] {
  width: auto;
  max-width: 40%;
}

/* -----------------------------------
    「郵便番号」ブロック
----------------------------------- */
input[id$="left"] {
  width: 70px !important;
  margin-right: 10px;
}

input[id$="right"] {
  width: 90px !important;
  margin-right: 10px;
  margin-left: 10px;
  left: 0;
  position: relative;
}

input[id^="searchAddr"] {
  border: #333333 1px solid;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  background: #ffffff;
  width: auto;
  height: auto;
  padding: 10px;
  color: #000000;
}

.fm-input-zip>td.fm-answer:has(div)>input[id^="searchAddr"],
.fm-input-zip>td.fm-verticalanswer:has(div)>input[id^="searchAddr"] {
  margin-top: 0.25rem;
}

/* -----------------------------------
    「電話番号」ブロック
----------------------------------- */
input[type="tel"].fm-input-tel-areacode {
  width: 60px !important;
  height: 48px !important;
  margin: 0 10px 0 5px;
  vertical-align: middle;
}

input[type="tel"].fm-input-tel-citycode {
  width: 80px !important;
  height: 48px !important;
  margin: 0 10px;
}

input[type="tel"].fm-input-tel-subscribercode {
  width: 80px !important;
  height: 48px !important;
  margin: 0 0 0 10px;
}

/* -----------------------------------
    ラジオボタン・チェックボックス
    共通
----------------------------------- */
.order-table-margin-column {
  display: none;
}

table.order-table {
  max-width: 100%;
  width: fit-content;
  margin-left: 5px;
  /*他の設問とツラ合わせにするためのマージン*/
  box-sizing: border-box;
}

.order-table-option-column {
  position: relative;
  padding: 0 !important;
  /*reset 他の設問とツラ合わせにするために*/
  text-indent: unset !important;
  /*reset*/
  vertical-align: top;
  /*回答欄セル内の表示位置統一のため*/
}

_::-webkit-full-page-media,
_:future,
:root table.order-table>.order-table-option-column {
  padding-bottom: 0.5em;
}

label {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-bottom: 1em;
}

input[type="checkbox"],
input[type="radio"] {
  margin: 0 !important;
  /*reset*/
  vertical-align: unset !important;
  /*reset*/
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

label input[type="checkbox"]+span,
label input[type="radio"]+span {
  padding: 0 0 0 25px;
  /*ラジオボタン・チェックボックスに対してのテキストの重なり回避*/
  display: inline-block;
  /*ラジオボタン・チェックボックスに対してのテキストの回り込み回避*/
}

_::-webkit-full-page-media,
_:future,
:root label input[type="checkbox"]+span,
_::-webkit-full-page-media,
_:future,
:root label input[type="radio"]+span {
  padding: 0 0 0 38px;
  /*iOSのためのラジオボタン・チェックボックスに対してのテキストの重なり回避*/
  display: inline-block;
  /*iOSのためのラジオボタン・チェックボックスに対してのテキストの回り込み回避*/
}

/*ラジオボタン・チェックボックスの表示位置の指定*/
label input[type="checkbox"]+span::before,
label input[type="checkbox"]+span::after,
label input[type="radio"]+span::before,
label input[type="radio"]+span::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  box-sizing: border-box;
}

/*iOSのためのラジオボタン・チェックボックスの表示位置の指定*/
_::-webkit-full-page-media,
_:future,
:root label input[type="checkbox"]+span::before,
_::-webkit-full-page-media,
_:future,
:root label input[type="checkbox"]+span::after,
_::-webkit-full-page-media,
_:future,
:root label input[type="radio"]+span::before,
_::-webkit-full-page-media,
_:future,
:root label input[type="radio"]+span::after {
  position: absolute;
  top: 0;
  left: 13px;
}

/*「その他」とテキストボックスを含むセル部の指定*/
.order-table-row-etc>td.order-table-option-column {
  padding-top: 0.5em !important;
  padding-bottom: 1em !important;
  padding-left: 0;
  padding-right: 0;
}

/*labelのうち「チェックを外す」「該当なし」に対してのbottomリセット*/
label[for$="_ns"],
label[for$="_nac"] {
  margin-bottom: 0;
}

/*選択不可の時の装飾解除*/
label:has(input[class="fm-input-disabled"]),
label:has(input[disabled]) {
  cursor: default;
}


/* -----------------------------------
    チェックボックスにかかわる指定
----------------------------------- */
/*チェックボックスの領域指定（未入力時）*/
label input[type="checkbox"]+span::before {
  z-index: 0;
  background-color: #fff;
  width: 20px;
  height: 20px;
  border: 1px #6A6A6A solid;
}

/*チェックボックスの領域指定（選択時の装飾）*/
label input[type="checkbox"]+span::after {
  z-index: 1;
  margin: 1px 6px;
  width: 8px;
  height: 13px;
}

label input[type="checkbox"]:checked+span::after {
  border: 2px solid #fff;
  border-width: 0 3px 3px 0;
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

label input[type="checkbox"]:checked+span::before,
label input[type="checkbox"].fm-error:checked+span::before {
  background-color: #0089FF;
  border: 1px #0089FF solid;
}

/*「該当なし」選択時の枠線*/
label input[type="checkbox"]:disabled:checked+span::after {
  border: none;
}

/* -----------------------------------
    ラジオボタンにかかわる指定
----------------------------------- */
/*ラジオボタンの領域指定（未入力時）*/
label input[type="radio"]+span::before {
  z-index: 0;
  background-color: #fff;
  width: 20px;
  height: 20px;
  border: 1px #6A6A6A solid;
  border-radius: 20px;
}

/*ラジオボタンの領域指定（選択時の装飾）*/
label input[type="radio"]:checked+span::after {
  width: 12px;
  height: 12px;
  border: 1px #0089FF solid;
  border-radius: 12px;
  background-color: #0089FF;
  left: -4px;
  top: 4px;
  z-index: 1;
  margin: 0 8px;
  /*フォント拡大対策*/
}

label input[type="radio"]:checked+span::before {
  background-color: #ffffff;
}

/*ラジオボタンの領域指定（iOSでの選択時の装飾位置）*/
_::-webkit-full-page-media,
_:future,
:root label input[type="radio"]:checked+span::after {
  left: 9px;
}

/* -----------------------------------
    評価ブロック（nps）にかかわる指定
----------------------------------- */
.fm-rating-input {
  display: none;
}

.fm-rating-marks,
.fm-rating-mark-confirm {
  display: flex;
}

.fm-rating-marks:has(.fm-rating-input:disabled) {
  opacity: 0.25;
}

.fm-rating-marks.fm-rating-marks-star,
.fm-rating-mark-confirm.fm-rating-mark-confirm-star {
  column-gap: 22px;
  padding-left: 5px;
  margin-left: 5px;
  margin-right: 5px;
}

.fm-rating-marks.fm-rating-marks-heart,
.fm-rating-mark-confirm.fm-rating-mark-confirm-heart {
  column-gap: 12px;
  margin-left: 5px;
  margin-right: 5px;
}

.fm-rating-mark,
.fm-rating-mark-confirm-icon {
  background-repeat: no-repeat;
  background-size: cover;
  display: grid;
  margin: 0;
  place-items: center;
}

.fm-rating-mark:has(>.fm-rating-input:disabled) {
  cursor: default;
}

.fm-rating-marks>.fm-rating-mark>.fm-rating-mark-score-label,
.fm-rating-mark-confirm-label {
  color: #333333;
  font-size: 11px;
  padding: 0;
}

.fm-rating-mark-score-label::before {
  display: none;
  opacity: 0;
}

.fm-rating-mark-score-label::after {
  display: none;
  opacity: 0;
}

.fm-rating-mark:has(~ .fm-rating-mark > .fm-rating-input:checked)>.fm-rating-mark-score-label,
.fm-rating-input:checked+.fm-rating-mark-score-label,
.fm-rating-mark-confirm-icon-active>.fm-rating-mark-confirm-label {
  color: #ffffff;
}

.fm-rating-marks>.fm-rating-mark-star>.fm-rating-mark-score-label,
.fm-rating-mark-confirm-icon-star>.fm-rating-mark-confirm-label {
  display: none;
}

.fm-rating-radios {
  align-items: flex-end;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: space-between;
  margin-left: 5px;
  margin-right: 5px;
}

.fm-rating-radios:has(.fm-rating-input:disabled) {
  opacity: 0.25;
}

.fm-rating-radio {
  display: flex;
  flex: 1;
  justify-content: center;
  margin: 0;
}

.fm-rating-radio>.fm-rating-radio-label {
  display: grid;
  line-break: strict;
  margin: 0;
  overflow-wrap: anywhere;
  padding: 0 0 25px 0;
  place-items: center;
  position: relative;
  text-align: center;
  word-break: normal;
  hyphens: auto;
  /*多言語対策*/
}

.fm-rating-input:disabled+.fm-rating-radio-label {
  cursor: default;
}

.fm-rating-radio>.fm-rating-radio-label::before {
  background-color: #fff;
  border-color: #6A6A6A;
  border-radius: 20px;
  border-style: solid;
  border-width: 1px;
  bottom: 0;
  box-sizing: border-box;
  content: '';
  height: 20px;
  left: auto;
  position: absolute;
  top: auto;
  width: 20px;
  z-index: 0;
}

.fm-rating-radio>.fm-rating-input:checked+.fm-rating-radio-label::before {
  background-color: #ffffff;
  border-color: #039588;
  border-style: solid;
  border-width: 1px;
}

.fm-rating-radio>.fm-rating-radio-label::after {
  box-sizing: border-box;
  content: '';
  position: absolute;
}

.fm-rating-radio>.fm-rating-input:checked+.fm-rating-radio-label::after {
  background-color: #039588;
  border-color: #039588;
  border-radius: 12px;
  border-style: solid;
  border-width: 1px;
  bottom: 4px;
  height: 12px;
  left: auto;
  top: auto;
  width: 12px;
  z-index: 1;
}

.fm-rating-score {
  max-width: 100%;
  width: 100%;
}

.fm-rating-score:has(.fm-rating-input:disabled) {
  opacity: 0.25;
}

.fm-rating-score-buttons {
  column-gap: 2px;
  display: flex;
  justify-content: space-between;
  margin-left: 5px;
  margin-right: 5px;
}

.fm-rating-score-button {
  display: inline-block;
  margin: 0;
  max-width: 100%;
  width: 100%;
}

.fm-rating-score-button:has(>.fm-rating-input:disabled) {
  cursor: default;
}

.fm-rating-score-button:first-of-type>.fm-rating-score-label {
  border-radius: 6px 0 0 6px;
}

.fm-rating-score-button:last-of-type>.fm-rating-score-label {
  border-radius: 0 6px 6px 0;
}

.fm-rating-score-buttons>.fm-rating-score-button>.fm-rating-score-label {
  background-color: #cccccc;
  color: #333333;
  display: grid;
  font-size: 11px;
  height: 40px;
  padding: 0;
  place-items: center;
}

.fm-rating-score-button>.fm-rating-score-label::before,
.fm-rating-score-button>.fm-rating-score-label::after {
  display: none;
}

.fm-rating-input:checked+.fm-rating-score-label {
  background-color: #0089ff;
  color: #ffffff;
}

.fm-rating-score-indicators {
  display: flex;
  justify-content: space-between;
  max-width: 98%;
  width: 100%;
  margin-left: 5px;
  margin-right: 5px;
}

.fm-rating-score-indicator {
  line-break: strict;
  overflow-wrap: anywhere;
  vertical-align: top;
  word-break: normal;
}

span.fm-rating-score-indicator.fm-rating-score-indicator-left {
  max-width: 100px;
  text-align: left;
  width: 100%;
}

span.fm-rating-score-indicator.fm-rating-score-indicator-center {
  max-width: 150px;
  text-align: center;
  width: 100%;
}

span.fm-rating-score-indicator.fm-rating-score-indicator-right {
  max-width: 100px;
  text-align: right;
  width: 100%;
}


/* -----------------------------------
    「該当なし」「チェックを外す」にかかわる指定
----------------------------------- */
/*「該当なし」を選択時に既存の選択項目を塗りつぶす*/
label input[type="checkbox"]:disabled+span::before,
label input[type="radio"]:disabled+span::before {
  background-color: #fafafa !important;
  border: 1px #dddddd solid !important;
}


label[for$="_ns"] input[type="radio"]+span {
  border: 1px #333333 solid;
  border-radius: 4px;
  padding: 5px 15px;
  background-color: #f2f2f2;
  color: #000000;
  white-space: nowrap;
}

label[for$="_ns"] input[type="radio"]:checked+span {
  border: 1px #c9c9c9 solid;
  background: #f2f2f2;
  color: #c9c9c9;
}

label[for$="_ns"] input[type="radio"]+span::before {
  display: none;
  /*「チェックを外す」用にラジオボタンを非表示*/
}

label[for$="_ns"] input[type="radio"]+span::after {
  display: none;
  /*「チェックを外す」用にラジオボタンを非表示*/
}


input[type="checkbox"i]:disabled,
input[type="radio"i]:disabled {
  background-color: unset;
  color: unset;
  border-color: unset;
}

/* -----------------------------------
    「エラーメッセージ」表示にかかわる指定
----------------------------------- */
input[id$="_etc_text"].fm-error {
  border: 1px #D10000 solid;
  background-color: #FFEDED;
}

/* -----------------------------------
    「残席管理」内＜残り座席数＞の表示
----------------------------------- */
.fm_limit_radio_remainder {
  font-size: 14px;
  color: #707070;
  padding-left: 10px;
}

_::-webkit-full-page-media,
_:future,
:root .fm_limit_radio_remainder {
  font-size: 0.7em;
  color: #707070;
  padding-left: 1.5em;
}


/* -----------------------------------
    「画像選択」にかかわる設定
----------------------------------- */
/* 画像部分のエラー表示 */
.fm-error label.fm-image-select__item {
  border: 1px #D10000 solid;
  background-color: #FFEDED;
}

.fm-error label.fm-image-select__item>.fm-image-select__label.fm-image-select__label--radio,
.fm-error label.fm-image-select__item>.fm-image-select__label.fm-image-select__label--check {
  background-color: #FFEDED;
}

/* 該当なしのエラー表示 */
.fm-error label>.fm-image-select__not-applicable-label::before {
  border: 1px #D10000 solid;
  background-color: #FFEDED;
}

.fm-error label>.fm-image-select__check,
.fm-error label>.fm-image-select__radio {
  background-color: #fff;
  border: #fff;
}

/* 本体 */
.fm-image-select__item-container {
  column-gap: 24px;
  display: grid;
  row-gap: 16px
}

.fm-image-select__item {
  border: 1px solid #6A6A6A;
  box-sizing: border-box;
  display: grid;
  grid-row: span 2;
  grid-template-rows: subgrid;
  margin: 0;
  padding: 2px;
  row-gap: 8px
}

.fm-image-select__item:has(> :checked):not(:has(> :disabled)) {
  border: 3px solid #0089FF;
  padding: 0
}

.fm-image-select__item:has(> :focus-visible) {
  outline: 3px solid rgb(from #0089FF r g b / 0.3)
}

.fm-image-select__image {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  width: 100%
}

.fm-image-select__radio,
.fm-image-select__no-select-radio,
.fm-image-select__check,
.fm-image-select__not-applicable>input[type=checkbox] {
  appearance: none;
  height: 0;
  margin: 0;
  opacity: 0;
  width: 0
}

.fm-image-select__radio:focus-visible,
.fm-image-select__no-select-radio:focus-visible {
  outline: none
}

.fm-image-select__item>.fm-image-select__label {
  font-size: 14px;
  line-break: strict;
  overflow-wrap: anywhere;
  word-break: break-all
}

.fm-image-select__item>.fm-image-select__label.fm-image-select__label--confirm {
  padding: 0 4px
}

.fm-image-select__item>.fm-image-select__label.fm-image-select__label--radio,
.fm-image-select__item>.fm-image-select__label.fm-image-select__label--check,
.fm-image-select__footer>.fm-image-select__not-applicable>.fm-image-select__not-applicable-label {
  line-height: 1.6;
  padding: 4px 4px 4px 29px;
  position: relative
}

.fm-image-select__item-container>.fm-image-select__item>.fm-image-select__label--radio::before {
  background-color: #fff;
  border: 1px #6A6A6A solid;
  border-radius: 20px;
  box-sizing: border-box;
  content: '';
  height: 20px;
  left: 4px;
  position: absolute;
  top: 6px;
  width: 20px;
  z-index: 0
}

.fm-image-select__item>.fm-image-select__radio:checked+.fm-image-select__label--radio::before,
.fm-image-select__item>.fm-image-select__check:checked+.fm-image-select__label--check::before {
  border: 1px #6A6A6A solid
}

.fm-image-select__item>.fm-image-select__label--radio::after,
.fm-image-select__item>.fm-image-select__label--check::after {
  box-sizing: border-box;
  content: '';
  left: 0;
  position: absolute;
  top: 0
}

.fm-image-select__item>.fm-image-select__radio:checked+.fm-image-select__label--radio::after {
  background-color: #0089FF;
  border: 1px #0089FF solid;
  border-radius: 12px;
  height: 12px;
  left: 0;
  margin: 0 8px;
  top: 10px;
  width: 12px;
  z-index: 1
}

.fm-image-select__footer {
  margin-top: 16px
}

.fm-image-select__no-select>.fm-image-select__no-select-label {
  background-color: #F2F2F2;
  border: 1px #333333 solid;
  border-radius: 4px;
  color: #000000;
  display: inline-block;
  line-height: normal;
  padding: 5px 15px;
  white-space: nowrap
}

.fm-image-select__no-select>.fm-image-select__no-select-radio:focus-visible+.fm-image-select__no-select-label {
  outline: 1px solid rgb(from #333333 r g b / 0.3)
}

.fm-image-select__no-select>.fm-image-select__no-select-radio:is(:checked, :disabled)+.fm-image-select__no-select-label {
  border: 1px #C9C9C9 solid;
  color: #C9C9C9
}

.fm-image-select__no-select>.fm-image-select__no-select-radio+.fm-image-select__no-select-label::before,
.fm-image-select__no-select>.fm-image-select__no-select-radio+.fm-image-select__no-select-label::after {
  display: none
}

label.fm-image-select__not-applicable {
  align-items: center;
  display: inline-flex;
  line-height: 1.6;
  position: relative
}

.fm-image-select__item-container>.fm-image-select__item>.fm-image-select__label--check::before,
.fm-image-select__footer>.fm-image-select__not-applicable>.fm-image-select__not-applicable-label::before {
  background-color: #fff;
  border: 1px #6A6A6A solid;
  border-radius: 0;
  box-sizing: border-box;
  content: '';
  height: 20px;
  left: 4px;
  position: absolute;
  top: 6px;
  width: 20px;
  z-index: 0
}

.fm-image-select__footer .fm-image-select__not-applicable>input[type=checkbox]:checked+.fm-image-select__not-applicable-label::after,
.fm-image-select__item>.fm-image-select__check:checked:not(:disabled)+.fm-image-select__label--check::after {
  -ms-transform: rotate(45deg);
  border: 2px solid #fff;
  border-width: 0 3px 3px 0;
  box-sizing: border-box;
  content: '';
  height: 13px;
  margin: 1px 6px;
  position: absolute;
  top: 6px;
  transform: rotate(45deg);
  width: 8px
}

.fm-image-select__footer .fm-image-select__not-applicable>input[type=checkbox]:checked+.fm-image-select__not-applicable-label::after {
  left: 4px
}

.fm-image-select__item>.fm-image-select__check:checked:not(:disabled)+.fm-image-select__label--check::after {
  left: 4px;
  top: 6px
}

.fm-image-select__item>.fm-image-select__check:checked:not(:disabled)+.fm-image-select__label--check::before,
.fm-image-select__footer input[type=checkbox]:checked+.fm-image-select__not-applicable-label::before {
  background-color: #0089FF;
  border-color: #0089FF
}

.fm-image-select__item:has(> :disabled),
.fm-image-select__no-select:has(> :disabled),
.fm-image-select__not-applicable:has(> :disabled) {
  cursor: default
}

.fm-image-select__item>.fm-image-select__radio:disabled+.fm-image-select__label--radio::before,
.fm-image-select__item>.fm-image-select__check:disabled+.fm-image-select__label--check::before,
.fm-image-select__not-applicable> :disabled+.fm-image-select__not-applicable-label::before {
  background-color: #f0f0f0;
  opacity: 0.5
}

.fm-image-select__item>.fm-image-select__check:has(> :disabled)+.fm-image-select__label--check::after {
  opacity: 0
}

label input[type=checkbox]:has(> :disabled)+.fm-image-select__item {
  border: 1px solid #6A6A6A
}

.fm-image-select__item-container--smartphone-1 {
  grid-template-columns: repeat(1, 1fr)
}

.fm-image-select__item-container--smartphone-2 {
  grid-template-columns: repeat(2, 1fr)
}

.fm-image-select__item-container--smartphone-3 {
  grid-template-columns: repeat(3, 1fr)
}


/*モバイル端末*/
@media only screen and (min-width: 481px) {
  .fm-image-select__item-container--pc-1 {
    grid-template-columns: repeat(1, 1fr)
  }

  .fm-image-select__item-container--pc-2 {
    grid-template-columns: repeat(2, 1fr)
  }

  .fm-image-select__item-container--pc-3 {
    grid-template-columns: repeat(3, 1fr)
  }

  .fm-image-select__item-container--pc-4 {
    grid-template-columns: repeat(4, 1fr)
  }

  .fm-image-select__item-container--pc-5 {
    grid-template-columns: repeat(5, 1fr)
  }
}


/* -----------------------------------
    マトリクス
----------------------------------- */
.fm-matrix label {
  width: 20px;
  height: 20px;
  margin-bottom: 0;
}

/* 表頭項目縦書きCSS */
.fm-matrix {
  border-collapse: collapse !important;
}

.fm-matrix td.fm-x span {
  -webkit-white-space: nowrap;
  white-space: nowrap;
  -ms-writing-mode: tb-lr;
  writing-mode: vertical-lr;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.fm-matrix td.fm-x {
  vertical-align: top;
  border-top: none !important;
  border-bottom: none !important;
  border-right: none !important;
}

.fm-matrix td.fm-y {
  padding: 8px 15px 10px 0;
  word-wrap: break-word;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  margin-top: -1px;
}

.fm-matrix td.fm-cell {
  padding-bottom: 0.25em;
}

.fm-input-matrix label input[type="checkbox"]+span,
.fm-input-matrix label input[type="radio"]+span {
  padding: 0;
}

/*ラジオボタン・チェックボックスの表示位置の指定  for マトリクス*/
.fm-input-matrix label input[type="checkbox"]+span::before,
.fm-input-matrix label input[type="checkbox"]+span::after,
.fm-input-matrix label input[type="radio"]+span::before,
.fm-input-matrix label input[type="radio"]+span::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  box-sizing: border-box;
}

/* -----------------------------------
    チェックボックスにかかわる指定  for マトリクス
----------------------------------- */
/*チェックボックスの領域指定（未入力時）*/
.fm-input-matrix label input[type="checkbox"]+span::before {
  z-index: 0;
  background-color: #fff;
  width: 20px;
  height: 20px;
  border: 1px #6A6A6A solid;
}

/*チェックボックスの領域指定（選択時の装飾）  for マトリクス*/
.fm-input-matrix label input[type="checkbox"]+span::after {
  z-index: 1;
  margin: 1px 6px;
  width: 8px;
  height: 13px;
}

.fm-input-matrix label input[type="checkbox"]:checked+span::after {
  border: 2px solid #fff;
  border-width: 0 3px 3px 0;
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.fm-input-matrix label input[type="checkbox"]:checked+span::before,
.fm-input-matrix label input[type="checkbox"].fm-error:checked+span::before {
  background-color: #0089FF;
  border: 1px #0089FF solid;
}

/* -----------------------------------
    ラジオボタンにかかわる指定  for マトリクス
----------------------------------- */
/*ラジオボタンの領域指定（未入力時）*/
.fm-input-matrix label input[type="radio"]+span::before {
  z-index: 0;
  background-color: #fff;
  width: 20px;
  height: 20px;
  border: 1px #6A6A6A solid;
  border-radius: 20px;
}

/*ラジオボタンの領域指定（選択時の装飾）*/
.fm-input-matrix label input[type="radio"]:checked+span::after {
  width: 12px;
  height: 12px;
  border: 1px #0089FF solid;
  border-radius: 12px;
  background-color: #0089FF;
  left: -4px;
  top: 4px;
  z-index: 1;
  margin: 0 8px;
  /*フォント拡大対策*/
}

label input[type="radio"]:checked+span::before {
  background-color: #ffffff;
}

/* ▼表頭・表側の色が変わる▼ */
.fm-matrix-wrapper {
  overflow: hidden;
  width: inherit;
  box-sizing: unset;
  padding-left: 5px !important;
}

td.fm-verticalanswer div.fm-matrix-wrapper {
  margin: 0;
  padding: 0;
}

.fm-x {
  background-color: inherit;
}

.fm-y {
  background-color: inherit;
}

.fm-cell:hover {
  background-color: #c2daff !important;
}

/*選択不可の時の装飾解除*/
.fm-cell:hover:has(input[class="fm-input-disabled"]) {
  cursor: default;
  background-color: transparent !important;
}

/* 回答欄へのガイド背景タテ軸の指定 一旦100問まで対応。 設問が増えるたびに増やしてゆく */
:where(.fm-matrix:has(.fm-cell:hover:nth-child(2))) td:nth-child(2),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(3))) td:nth-child(3),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(4))) td:nth-child(4),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(5))) td:nth-child(5),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(6))) td:nth-child(6),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(7))) td:nth-child(7),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(8))) td:nth-child(8),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(9))) td:nth-child(9),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(10))) td:nth-child(10),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(11))) td:nth-child(11),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(12))) td:nth-child(12),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(13))) td:nth-child(13),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(14))) td:nth-child(14),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(15))) td:nth-child(15),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(16))) td:nth-child(16),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(17))) td:nth-child(17),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(18))) td:nth-child(18),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(19))) td:nth-child(19),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(20))) td:nth-child(20),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(21))) td:nth-child(21),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(22))) td:nth-child(22),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(23))) td:nth-child(23),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(24))) td:nth-child(24),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(25))) td:nth-child(25),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(26))) td:nth-child(26),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(27))) td:nth-child(27),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(28))) td:nth-child(28),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(29))) td:nth-child(29),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(30))) td:nth-child(30),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(31))) td:nth-child(31),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(32))) td:nth-child(32),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(33))) td:nth-child(33),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(34))) td:nth-child(34),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(35))) td:nth-child(35),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(36))) td:nth-child(36),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(37))) td:nth-child(37),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(38))) td:nth-child(38),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(39))) td:nth-child(39),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(40))) td:nth-child(40),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(41))) td:nth-child(41),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(42))) td:nth-child(42),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(43))) td:nth-child(43),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(44))) td:nth-child(44),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(45))) td:nth-child(45),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(46))) td:nth-child(46),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(47))) td:nth-child(47),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(48))) td:nth-child(48),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(49))) td:nth-child(49),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(50))) td:nth-child(50),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(51))) td:nth-child(51),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(52))) td:nth-child(52),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(53))) td:nth-child(53),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(54))) td:nth-child(54),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(55))) td:nth-child(55),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(56))) td:nth-child(56),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(57))) td:nth-child(57),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(58))) td:nth-child(58),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(59))) td:nth-child(59),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(60))) td:nth-child(60),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(61))) td:nth-child(61),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(62))) td:nth-child(62),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(63))) td:nth-child(63),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(64))) td:nth-child(64),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(65))) td:nth-child(65),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(66))) td:nth-child(66),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(67))) td:nth-child(67),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(68))) td:nth-child(68),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(69))) td:nth-child(69),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(70))) td:nth-child(70),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(71))) td:nth-child(71),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(72))) td:nth-child(72),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(73))) td:nth-child(73),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(74))) td:nth-child(74),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(75))) td:nth-child(75),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(76))) td:nth-child(76),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(77))) td:nth-child(77),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(78))) td:nth-child(78),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(79))) td:nth-child(79),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(80))) td:nth-child(80),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(81))) td:nth-child(81),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(82))) td:nth-child(82),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(83))) td:nth-child(83),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(84))) td:nth-child(84),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(85))) td:nth-child(85),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(86))) td:nth-child(86),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(87))) td:nth-child(87),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(88))) td:nth-child(88),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(89))) td:nth-child(89),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(90))) td:nth-child(90),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(91))) td:nth-child(91),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(92))) td:nth-child(92),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(93))) td:nth-child(93),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(94))) td:nth-child(94),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(95))) td:nth-child(95),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(96))) td:nth-child(96),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(97))) td:nth-child(97),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(98))) td:nth-child(98),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(99))) td:nth-child(99),
:where(.fm-matrix:has(.fm-cell:hover:nth-child(100))) td:nth-child(100) {
  background-color: rgba(243, 248, 255, 0.15) !important;
}

/* 回答欄へのガイド背景ヨコ軸の指定 */
:where(.fm-matrix tr:has(.fm-cell:hover)) td {
  background-color: rgba(243, 248, 255, 0.15) !important;
}

/* ▲表頭・表側の色が変わる▲ */

/*縦表示レイアウトの時のマトリクステーブルを表示する親要素の横幅領域制限*/
tr.fm-input-matrix td.fm-verticalanswer {
  max-width: 800px;
}


/* -----------------------------------
    エラーメッセージ
----------------------------------- */
.fm-errormessage {
  position: relative;
  background: #FFEDED;
  font-size: 15px;
  line-height: 1.8;
  box-sizing: border-box;
  padding: 8px 20px;
  margin: 20px 0 0 0;
  display: block;
}

#errorMessage-3.fm-errormessage {
  text-align: center;
}

#question-3>span.fm-required-label {
  display: none;
}

ul.fm-errormessage {
  margin-bottom: 20px;
}

ul.fm-errormessage:has(li) {
  list-style-position: inside;
  text-align: center;
}

span.fm-errormessage:before {
  content: "";
  position: absolute;
  top: -20px;
  left: 30px;
  border: 10px solid transparent;
  border-bottom: 10px solid #FFEDED;
}


.fm-input-radio label {
  line-height: 1.8rem;
  margin-right: 1em;
  vertical-align: middle;
  margin-bottom: 0.3em;
}


/* -----------------------------------
    エラー表示
----------------------------------- */
.fm-error select,
.fm-error input,
label input[type="checkbox"].fm-error+span::before,
label input[type="radio"].fm-error+span::before {
  border: 1px #D10000 solid;
  background-color: #FFEDED;
}

/* -------------------------------------
    [決定]・[戻る]等の各種ボタン

※遷移ボタンの配置は＜一時保存ボタン＞を固定する必要があるため基本はgridレイアウトとし、
　ボタン表示がヨコやタテに一列に配置されるときはFlexboxを使用している。
※「確認ページ」ヨコ列は一だが、:hasの影響でgridレイアウト反映となっている。
※gridレイアウトを優先にするため、編集の際はgridの指定はFlexboxの後に記述すること
------------------------------------- */
td.fm-enquete-commands {
  padding-bottom: 1em;
  position: relative;
  margin: 0em auto 20vh !important;
}

td.fm-enquete-commands>br {
  display: none !important;
}

/*遷移ボタンの配置の基本となるgrid　※以下、記述位置厳守*/
.fm-enquete-commands {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: none;
  width: calc(100% - 20px);
  margin: 0 auto;
  justify-content: center;
}


/* 「入力ページ」にのみflexboxレイアウト */
.fm-enquete-commands:has(input[class$="_save"]) {
  display: flex;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  flex-direction: column;
}


/* 「2ページ目」の遷移ボタン用grid */
.fm-enquete-commands:has(input[class$="_rewind"]) {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 14px;
  row-gap: 0;
  width: calc(100% - 20px);
  max-width: 740px;
  margin: 0 auto;
  place-items: center;
  place-content: center;
}

input[id$="_save"] {
  grid-area: 2 / 1 / 3 / 3;
}

/* 「確認ページ」の遷移ボタン用grid */
.fm-enquete-commands:has(input[class$="_confirm"]):not(input[class$="_rewind"]) {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(2, 1fr);
}


/*非画像時のボタン共通設定*/
input[type="submit"]:not(input[id^="searchAddr"]) {
  -webkit-appearance: none;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  padding: 8px 3%;
  margin: 0 7px 1em 7px;
  vertical-align: top;
  cursor: pointer;
  white-space: normal;
}


/*ログインボタン*/
input[class="btn_login"] {
  width: 45%;
  max-width: 360px;
  color: #ffffff;
  /* ボタンの文字色 */
  background: #777777;
  /* ボタンの背景色 */
  border: 1px solid #777777;
  /* ボタンの枠線色 */
  margin: 0 auto !important;
  overflow-wrap: anywhere;
}

/*次へボタン*/
input[class="btn_next"] {
  width: 100%;
  max-width: 360px;
  color: #ffffff;
  /* ボタンの文字色 */
  background: #777777;
  /* ボタンの背景色 */
  border: 1px solid #777777;
  /* ボタンの枠線色 */
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 0 !important;
  overflow-wrap: anywhere;
}

/*次へボタン -条件指定-*/
.fm-enquete-commands:has(input[class$="_save"]) input[type="submit"][class="btn_next"],
.fm-enquete-commands:has(input[class$="_rewind"]) input[type="submit"][class="btn_next"] {
  width: 100%;
  max-width: 360px;
}

/*登録ボタン（画像無し）*/
input[class="btn_confirm"] {
  width: 100%;
  max-width: 360px;
  color: #ffffff;
  /* ボタンの文字色 */
  background: #777777;
  /* ボタンの背景色 */
  border: 1px solid #777777;
  /* ボタンの枠線色 */
  margin: 0 auto !important;
  overflow-wrap: anywhere;
}

/*戻るボタン*/
input[class="btn_rewind"] {
  width: 100%;
  max-width: 360px;
  color: #777777;
  /* 戻るボタンの文字色 */
  background: #ffffff;
  /* 戻るボタンの背景色 */
  border: 1px solid #777777;
  /* ボタンの枠線色 */
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 0 !important;
  overflow-wrap: anywhere;
}

/*保存ボタン*/
[class="btn_save"] {
  color: #777777;
  /* 戻るボタンの文字色 */
  background: #ffffff;
  /* 戻るボタンの背景色 */
  border: 1px solid #777777;
  /* ボタンの枠線色 */
  order: 3;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 0 !important;
  overflow-wrap: anywhere;
}

/*保存ボタン（画像無し）-入力ページ-*/
.fm-enquete-commands:has(input[id="wcf5start"]) input[type="submit"][class="btn_save"] {
  width: 100%;
  max-width: 360px;
  margin-top: 1em !important;
}

/*保存ボタン（画像無し）-2ページ目-*/
.fm-enquete-commands:has(input[class$="_rewind"]) input[type="submit"][class="btn_save"] {
  width: 100%;
  max-width: 360px;
  margin-top: 1em !important;
}

/*保存ボタン（画像あり）-入力ページ-*/
.fm-enquete-commands:has(input[id="wcf5start"]) input[type="image"][class="btn_save"] {
  margin-top: 1em !important;
}

/*保存ボタン（画像あり）-2ページ目-*/
.fm-enquete-commands:has(input[class$="_rewind"]) input[type="image"][class="btn_save"] {
  margin-top: 1em !important;
}


/*画像を用いたときのボタン*/
input[type="image"] {
  width: auto;
  max-width: 100%;
  vertical-align: bottom;
  height: auto;
}

input[type="image"][class$="_login"],
input[type="image"][class$="_rewind"],
input[type="image"][class$="_confirm"],
input[type="image"][class$="_next"],
input[type="image"][class$="_save"] {
  border: 0 !important;
  /*画像の周りにつく枠線の解除*/
  background: transparent;
  /*画像領域の背景色の解除*/
}


/* -------------------------------------
    個人情報同意文
------------------------------------- */
#pri {
  border: #cccccc 1px solid;
  padding: 20px;
  margin: 0 auto;
  height: 200px;
  overflow: auto;
  font-size: 12px;
  box-sizing: border-box;
}

/* -------------------------------------
    ログイン認証　ID/PW
------------------------------------- */
#loginId.loginId_text,
#password.password_text {
  width: 90%;
}

/* -------------------------------------
    ▼以下タブレット向けのスタイル
------------------------------------- */
@media only screen and (min-width: 481px) and (max-width: 1024px) {
  table.fm-enqueteout {
    width: 100%;
    box-sizing: border-box;
  }

  table.fm-enquete {
    box-sizing: border-box;
    width: inherit;
    margin: 20px;
  }

  .fm-question,
  .fm-answer {
    box-sizing: border-box;
  }

  textarea {
    max-width: 80%;
  }

  input[type="text"]:not(input[id$="_first"], input[id$="_second"]) {
    max-width: 80%;
  }

  input[type="text"],
  input[type="password"],
  input[type="tel"],
  input[type="date"] {
    font-size: 12px;
  }

  /* -----------------------------------
        姓名ブロック
    ----------------------------------- */
  table.fm-enquete tr.fm-input-name td.fm-verticalanswer {
    width: 100%;
  }

  /* -----------------------------------
        セレクトボックス
    ----------------------------------- */
  .select_out {
    max-width: 100%;
    width: 85% !important;
  }

  /* -----------------------------------
        郵便番号ブロック
    ----------------------------------- */


  /* -----------------------------------
        電話番号ブロック
    ----------------------------------- */
  input[id$="areacode"] {
    width: 90px !important;
  }

  input[id$="citycode"],
  input[id$="subscribercode"] {
    width: 80px !important;
  }

  /* -----------------------------------
        マトリクス
    ----------------------------------- */
  tr.fm-input-matrix td.fm-verticalanswer {
    max-width: 728px;
  }




  /*iOS調整*/
  /* -----------------------------------
    ラジオボタン・チェックボックス
    共通
    ----------------------------------- */
  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-checkbox label span,
  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-radio label span {
    width: calc(100% - 1em);
  }

  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-checkbox label,
  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-radio label {
    white-space: pre-wrap !important;
  }

  /* -----------------------------------
        ラジオボタンにかかわる指定
    ----------------------------------- */
  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-radio label span {
    left: -1em;
    position: relative;
  }

  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-radio input[id$="_etc_text"] {
    left: -1em;
    position: relative;
  }

  /* -----------------------------------
        チェックボックスにかかわる指定
    ----------------------------------- */
  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-checkbox label span {
    vertical-align: top;
    left: -1em;
    position: relative;
  }

  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-checkbox input[id$="_etc_text"] {
    left: -1em;
    position: relative;
  }

  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-checkbox td.order-table-option-column {
    vertical-align: top;
    vertical-align: text-top;
  }
}

/* -------------------------------------
        ▼以下スマホ向けのスタイル
------------------------------------- */
@media only screen and (max-width: 480px) {
  body {
    -webkit-text-size-adjust: 100%;
  }

  table {
    word-break: break-all;
  }

  table.fm-enqueteout {
    width: 100%;
  }

  .fm-enquete {
    border-top-width: 0;
    /*width: calc(100% - 40px) !important;*/
  }

  .fm-enquete,
  table.order-table {
    table-layout: fixed;
  }

  .fm-question,
  .fm-verticalquestion {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 15px;
    border-left-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
  }

  .fm-answer,
  .fm-verticalanswer {
    box-sizing: border-box;
    display: block !important;
    width: 100% !important;
    padding: 15px;
    border-left-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
  }

  .fm-answer input[autocomplete="email"],
  input[autocomplete="off"],
  .fm-verticalanswer input[autocomplete="email"],
  input[autocomplete="off"] {
    max-width: 100% !important;
  }

  input[type="text"],
  input[type="file"],
  input[type="password"],
  select,
  textarea {
    width: 100%;
  }

  tr.fm-input-sview>td.fm-answer,
  tr.fm-input-view>td.fm-verticalanswer {
    padding-left: 15px;
  }

  table tr table.fm-enquete input[type="text"],
  table tr table.fm-enquete textarea {
    margin-bottom: 0;
    vertical-align: middle;
  }

  /* -------------------------------------
        画像サイズ
    ------------------------------------- */
  img {
    width: auto;
    max-width: 100%;
    height: auto !important;
  }

  /* -------------------------------------
        フォームタグ
    ------------------------------------- */
  input[type="text"],
  input[type="password"],
  textarea {
    width: 97.5% !important;
    font-size: 16px;
    max-width: none;
  }

  input[type="tel"] {
    font-size: 16px;
  }

  input[type="text"] {
    margin-right: 0px;
    margin-left: 0px;
  }

  /* -----------------------------------
        セレクトボックス
    ----------------------------------- */
  select {
    height: 48px;
    font-size: 16px;
  }

  .select_out {
    max-width: 100%;
    width: 97.5% !important;
  }

  .select_out::before {
    top: 1.35em;
  }


  /* -----------------------------------
        ラジオボタン・チェックボックス
        共通
    ----------------------------------- */
  table.order-table {
    width: auto;
  }

  table.order-table tr.order-table-row>td {
    display: block;
    width: 100%;
    top: 0;
    position: relative;
  }

  .order-table-row-etc>td.order-table-option-column {
    padding: 0 !important;
    /*モバイル端末用にreset*/
  }

  .order-table-row-etc>td.order-table-option-column>label {
    margin-bottom: 0;
  }

  /*「その他」「チェックを外す」「該当なし」文字の折り返し防止*/
  label[for$="_etc"],
  label[for$="_ns"],
  label[for$="_nac"] {
    white-space: nowrap;
  }

  /*「その他」テキストボックスの周囲余白の指定*/
  .order-table-row-etc>td.order-table-option-column input[type=text] {
    margin-top: 0.25em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
  }

  label input[type="checkbox"]+span {
    padding: 0 0 0 25px;
  }

  /* iOS調整 */
  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-checkbox label span,
  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-radio label span {
    width: calc(100% - 1em);
    left: -1em;
    position: relative;
  }

  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-checkbox label,
  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-radio label {
    white-space: pre-wrap !important;
  }

  /* -----------------------------------
    「姓名」テキストボックス
----------------------------------- */
  .fm-input-name>.fm-answer .fm-name-unit,
  .fm-input-name>.fm-verticalanswer .fm-name-unit {
    display: inline-flex;
    align-items: center;
    width: 100%;
  }

  input[id$="_first"],
  input[id$="_second"] {
    font-size: 16px;
    max-width: 90%;
    width: 100% !important;
  }

  input[id$="_first"] {
    margin-right: 0;
  }

  input[id$="_second"] {
    margin-top: 0.5em;
    margin-bottom: 0;
    margin-right: 0;
  }

  /* -----------------------------------
        「年月日」テキストボックス
    ----------------------------------- */
  input[type="text"].fm-input-date-text-year {
    width: 85px !important;
    margin: 0 4px 0 5px;
  }

  input[type="text"].fm-input-date-text-month {
    width: 45px !important;
    margin: 0 5px 0 5px;
  }

  input[type="text"].fm-input-date-text-day {
    width: 45px !important;
    margin: 0 5px;
  }

  /* -----------------------------------
        「年月日」セレクトボックス
    ----------------------------------- */
  select.fm-input-date-select-year {
    width: 95px;
    margin: 0 4px 0 5px;
  }

  select.fm-input-date-select-month {
    width: auto;
    margin: 0 4px;
  }

  select.fm-input-date-select-day {
    width: auto;
    margin: 0;
  }

  /* -----------------------------------
        日付ブロック - カレンダー -
    ----------------------------------- */
  .fm-input-date input[type="date"].fm-calendar {
    max-width: 96%;
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
    font-size: inherit;
  }

  /*iPhone対策*/
  _::-webkit-full-page-media,
  _:future,
  :root .fm-input-date input[type="date"].fm-calendar {
    max-width: 92%;
  }

  /* -----------------------------------
        「郵便番号」テキストボックス
    ----------------------------------- */
  input[type="text"].fm-input-zip-left {
    width: 22% !important;
    margin: 0 8px 0 5px;
    left: 0;
  }

  input[type="text"].fm-input-zip-right {
    width: 25% !important;
    margin: 0 10px 0 8px;
  }

  input[id^="searchAddr"] {
    width: 37%;
    height: auto;
    padding: 8px;
  }

  .fm-input-zip>td.fm-answer:has(div)>input[id^="searchAddr"],
  .fm-input-zip>td.fm-verticalanswer:has(div)>input[id^="searchAddr"] {
    margin-top: 0.5rem;
  }

  /* -----------------------------------
    「電話番号」テキストボックス
----------------------------------- */
  input[type="tel"].fm-input-tel-areacode {
    width: 22% !important;
    margin: 0 6px 0 5px;
    vertical-align: middle;
  }

  input[type="tel"].fm-input-tel-citycode {
    width: 25% !important;
    margin: 0 6px;
  }

  input[type="tel"].fm-input-tel-subscribercode {
    width: 22% !important;
    margin: 0 0 0 6px;
  }

  /* -----------------------------------
    残席管理ボックス
----------------------------------- */
  .order-table-option-column {
    box-sizing: border-box;
  }

  /* -----------------------------------
    「残席管理」内＜残り座席数＞の表示
----------------------------------- */
  .fm_limit_radio_remainder {
    font-size: 0.7em;
    padding: 0 0 0 3px;
  }

  /* -----------------------------------
    マトリクス
----------------------------------- */
  .fm-matrix-wrapper {
    padding-left: 0 !important;
  }

  tr.fm-input-matrix>td.fm-answer,
  tr.fm-input-matrix>td.fm-verticalanswer {
    padding: 20px 15px;
  }

  /* 横スクロール時に固定する */
  /*.fm-matrix td:not(.fm-y):first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background: #ffffff;
    z-index:2;
    }*/

  /* -----------------------------------
    [決定]・[戻る]等の各種ボタン
----------------------------------- */
  .fm-enquete-commands {
    width: 45% !important;
    /*ログインページと入力ページのボタンの横幅を制御*/
    max-width: calc(100% - 40px) !important;
    flex-direction: column !important;
    row-gap: 14px !important;
  }

  /*2ページ目と確認ページのボタン配置を制御*/
  .fm-enquete-commands:has(input[class$="_rewind"]) {
    display: grid;
    width: 100% !important;
    max-width: calc(100% - 40px) !important;
  }


  /*ボタン内のフォントサイズ*/
  input[type="submit"] {
    font-size: 14px;
    text-align: center;
  }

  /*「ログイン」ボタン　幅*/
  input[type="submit"][class="btn_login"] {
    width: 100% !important;
  }

  /*「保存ボタン」の上辺余白*/
  .fm-enquete-commands:has(input[class$="_rewind"]) input[type="submit"][class="btn_save"],
  .fm-enquete-commands:has(input[class$="_rewind"]) input[type="image"][class="btn_save"] {
    margin-top: 0.5em !important;
  }

  .fm-enquete-commands:has(input[id="wcf5start"]) input[type="submit"][class="btn_save"],
  .fm-enquete-commands:has(input[id="wcf5start"]) input[type="image"][class="btn_save"] {
    margin-top: 0.5em !important;
  }

  /*「保存」ボタン　幅*/
  .fm-enquete-commands:has(input[class$="_rewind"]) input[type="submit"][class="btn_save"],
  .fm-enquete-commands:has(input[class$="_rewind"]) input[type="image"][class="btn_save"] {
    max-width: 45% !important;
  }


  /*画像を用いたときのボタン*/
  input[type="image"] {
    width: auto;
    max-width: 100% !important;
    vertical-align: bottom;
    height: auto;
  }
}

@media (orientation: landscape) and (min-width: 320px) {
  label[for$="_etc"] {
    top: 0;
  }

  body {
    -webkit-text-size-adjust: 100%;
  }
}

@media screen and (max-width: 319px) {
  .fm-enquete-commands {
    row-gap: 14px !important;
  }
}



.c-content_linkbox .c-content_linkbox__image img {
  height: auto;
  -webkit-mask-image: url("https://www.kokubu.co.jp/assets/img/component/mask/c-content_linkbox_common.svg");
  mask-image: url("https://www.kokubu.co.jp/assets/img/component/mask/c-content_linkbox_common.svg");
  mask-image: unset;
}

.contact {
  padding-top: var(--space-80);
}

.c-extension_newslink.kind--contact {
  text-align: left;
}

.c-extension_newslink.kind--contact a {
  color: #e60012;
}

.c-extension_newslink.kind--contact li {
  font-weight: normal;
  font-size: 15px;
  margin-bottom: 8px;
}

tr.fm-input-checkbox,
tr.fm-input-checkbox>td,
tr.fm-input-checkbox>th {
  display: revert;
  width: 100%;
}

table tr table.fm-enquete td.fm-verticalanswer>table.order-table {
  color: var(--text-white);
  background: var(--primary-red);
  display: block;
  margin: auto;
  align-items: center;
  justify-content: space-between;
  padding: min(0.833vw, 12px) min(1.389vw, 20px) min(0.833vw, 12px) min(2.083vw, 30px);
  border-radius: min(4.444vw, 64px);
  box-shadow: 0 min(0.278vw, 4px) min(0.694vw, 10px) 0 rgba(0, 0, 0, 0.15);
  position: relative;
  width: var(--c-button--width, -moz-fit-content);
  width: var(--c-button--width, fit-content);
  transition: all var(--ease-in-out-300);
}

table tr table.fm-enquete td.fm-verticalanswer>table.order-table label {
  margin: 2px 16px 4px 8px;
  vertical-align: middle;
}


/* -------------------------------------
        ▼以下スマホ向けのスタイル
------------------------------------- */
@media only screen and (max-width: 480px) {
  table tr table.fm-enquete td.fm-verticalanswer>table.order-table {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 1.026vw 2.564vw 0px;
    padding: 3.077vw 5.128vw 3.077vw 7.692vw;
    border-radius: 16.41vw;
  }

  table.fm-enquete tr:not(.fm-input-checkbox)>td.fm-question {
    border-right: 1px solid #C0C0C0 !important;
    border-bottom: none !important;
  }

  table tr table.fm-enquete td.fm-verticalanswer {
    margin-bottom: 0;
  }

  .contact {
    padding-top: var(--space-40);
  }
}