@charset "utf-8";

:root {
  --text-color: #4c4c4c; /* テキストの色 */
  --form-color: #e0e8f2; /* フォームの背景色 */
  --button-color: #ee3761; /* ボタンの色 */
  --required-color: #ee3761; /* 必須項目 */
  --heading-color: #35556b; /* 見出しのアクセントカラー */
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background-color: #ffffff;
  font-size: 15px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, "メイリオ", "ＭＳ Ｐゴシック", arial, helvetica, sans-serif;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

h1 {
  position: relative;
  margin: 1em 0;
  padding-left: 0.65em;
  font-size: medium;
  line-height: 1;
  font-weight: normal;
  font-size: 2em;
}
h1::before {
  content: "";
  position: absolute;
  left: 0;
  display: inline-block;
  width: 6px;
  height: 1em;
  background-color: var(--heading-color);
  vertical-align: middle;
}

.heading-complete {
  padding-left: 0 !important;
}
.heading-complete::before {
  background-color: rgba(255, 255, 255, 0) !important;
}

h2 {
  padding: 2px 0 0px 15px;
  font-size: 22px;
  color: #444;
  line-height: 2em;
}

h3 {
  margin-bottom: 20px;
  padding-bottom: 0.3em;
  border-bottom: 3px double #7ba1bb;
}

.sp {
  display: none;
}

.mb1 {
  margin-bottom: 10px !important;
}
.mb2 {
  margin-bottom: 20px !important;
}
.mb3 {
  margin-bottom: 30px !important;
}

.bg_yellow {
  background: #ffffcc;
  padding: 15px;
}
.txt_red {
  color: #de0000;
  font-weight: bold;
}
.bold {
  font-weight: bold;
}
.indent {
  margin-left: 1em;
  text-indent: -1em;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.txt_required {
  margin-left: 0.6em;
  padding: 0 0.36em 0 0.3em;
  background-color: var(--required-color);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  vertical-align: middle;
  word-break: keep-all;
}
.thanks {
  color: #444;
  font-weight: bold;
}

/*
#mp-main div.fieldset p{
	margin: 0;
	
	font-weight: bold;
	color: #444;
	adding: 8px 14px 6px;
	background: rgb(255, 255, 255);
	border-top: 1px solid #b3b3b3;
	border-left: 1px solid #b3b3b3;
	border-right: 1px solid #b3b3b3;
}
*/

div.textArea {
  margin: 0 0 1em 0;
  border: 1px solid #878787;
  height: 250px;
  overflow-x: hidden;
  padding: 10px;
}

#mp-head {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2em;
}

#mp-head .mp-head-img {
  margin-bottom: 40px;
}
#mp-head .mp-head-img img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* --------------------------------------------------------------- */
#mp-main {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 0 2em;
  z-index: 0;
  color: var(--text-color);
  font-size: 15px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, "メイリオ", "ＭＳ Ｐゴシック", arial, helvetica, sans-serif;
}
#mp-main p,
li,
dt,
dl {
  line-height: 1.6;
}

p {
  margin: 0;
  padding: 0;
}

#mp-main a:hover {
  color: #dd8d2a;
  text-decoration: underline;
}
#mp-main input.text,
input.password,
textarea,
select {
  padding: 0.1em;
  font-size: small;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, "メイリオ", "ＭＳ Ｐゴシック", arial, helvetica, sans-serif;
  background-color: #fdfdfd;
  background-repeat: repeat-x;
  border: 1px solid #abadb3;
}

#mp-main input.text {
  max-width: 96%;
  height: 34px;
  padding: 0.8em;
  background-color: #f1f1f1;
  border-radius: 4px;
  font-size: 14px;
}
#mp-main input.text:focus {
  appearance: none;
  -webkit-appearance: none;
}

.text2box {
  width: min(40%, 190px);
}

.span2box {
  margin-left: 0.5em;
}

.text3box {
  width: 100px;
}

.textzip1 {
  width: 60px;
}

.textzip2 {
  width: 90px;
}

textarea {
  width: 100%;
  min-height: 40px;
}

/* for browsers except IE6  */
#mp-main input[type="text"],
input[type="password"],
textarea[name],
select[name] {
  border-width: 1px;
  border-style: solid;
  border-color: -internal-light-dark(rgb(118, 118, 118), rgb(195, 195, 195));
  border-image: initial;
  margin: 0;
}
#mp-main input[type="text"] {
  appearance: none;
  -webkit-appearance: none;
}
#mp-main input:not([type="checkbox"]):not([type="radio"]):focus {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
input,
textarea,
select {
  outline: none;
}

/* */
.btnArea {
  display: flex;
  justify-content: center;
  width: 500px;
  margin: 40px auto 60px;
}
.btn01 {
  position: relative;
  width: 240px;
  height: 60px;
  margin: 0 auto;
}
.btn02 {
  position: relative;
  width: 180px;
  height: 60px;
  margin: 0 auto;
}
#mp-main input.submit,
input.reset,
input.back {
  display: block;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, "メイリオ", "ＭＳ Ｐゴシック", arial, helvetica, sans-serif;
  cursor: pointer;
  transition: 0.3s;
}
#mp-main input.submit,
input.reset {
  background-color: var(--button-color);
  color: #fff;
  padding-right: 0.8em;
}
#mp-main input.back {
  background-color: #fff;
  border: 2px solid var(--button-color);
  color: var(--button-color);
  padding-left: 0.8em;
}
.btn01 input {
  width: 240px;
  height: 60px;
}
.btn02 input {
  width: 180px;
  height: 60px;
}
#mp-main .btnArea svg {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 1.2em;
  margin: auto;
  padding-top: 3px;
  font-size: 1.2em;
}
#mp-main .btnArea svg.icon-right {
  right: 1.4em;
  fill: #fff;
}
#mp-main .btnArea svg.icon-left {
  left: 1.4em;
  fill: var(--button-color);
}

#mp-main input.submit:hover,
input.reset:hover,
button:hover {
  opacity: 0.6;
}
#mp-main select {
  height: 34px;
  border-radius: 4px;
  font-size: 15px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, "メイリオ", "ＭＳ Ｐゴシック", arial, helvetica, sans-serif;
}
#mp-main option {
  padding-right: 1em;
}
#mp-main option[selected="selected"] {
  background-color: #eeeeee;
  border-top: 1px solid #bbbbbb;
  border-bottom: 1px solid #bbbbbb;
}
#mp-main img {
  border: 0px;
}

#mp-main div.fieldset {
  margin-bottom: 0;
  padding: 0;
}
#mp-main div.fieldset dl {
  padding: 0;
}
#mp-main div.fieldset dt {
  color: #35556b;
  background-repeat: no-repeat;
  height: 24px;
  line-height: 24px;
  margin: 0.5em;
  padding-left: 28px;
  padding-top: 1px;
}
#mp-main div.fieldset dt span.optional {
  background-image: url("../imgs/optional.png");
  background-repeat: no-repeat;
  background-position: right;
  padding-right: 65px;
}
#mp-main div.fieldset dt span.required {
  background-image: url("../imgs/required.png");
  background-repeat: no-repeat;
  background-position: right;
  padding-right: 65px;
}
#mp-main div.fieldset dd {
  margin: 0.5em;
  padding-left: 1em;
  padding-bottom: 1em;
}
#mp-main div.fieldset dd.delimit {
  border-bottom: 1px dotted #6392b1;
}
#mp-main div.fieldset span.err {
  color: #880000;
}
#mp-main div.fieldset input.text.err {
  background-color: #fff8f8;
  border: 1px solid #aa6666;
}
#mp-main div.fieldset input.radio.err {
  background-color: #fff8f8;
  border: 1px solid #aa6666;
}
#mp-main div.fieldset input.checkbox.err {
  background-color: #fff8f8;
  border: 1px solid #aa6666;
}
#mp-main div.fieldset textarea.err {
  background-color: #fff8f8;
  border: 1px solid #aa6666;
}
#mp-main div.fieldset select.err {
  background-color: #fff8f8;
  border: 1px solid #aa6666;
}
#mp-main div.errs {
  background-image: url("../imgs/warning.png");
  background-repeat: no-repeat;
  color: #880000;
  margin-top: 1em;
  margin-bottom: 1em;
  padding: 0px 0px 0px 30px;
  min-height: 32px;
  height: auto !important;
  height: 32px;
}
#mp-main span.radioelement {
  margin-right: 1.3em;
  color: black;
}
#mp-main span.checkelement {
  margin-right: 1.8em;
  color: black;
  display: inline-block;
  width: auto;
  margin-bottom: 2px;
}

#mp-main span.checkelement label {
}

#mp-main div.fieldset td.err {
  background-color: #fff0f0;
}

#footerunder {
  background-image: url("../imgs/btm_w720.png");
  background-repeat: no-repeat;
  background-size: cover;
  height: 120px;
  color: #fff;
  text-align: center;
  padding: 40px 5px 0 5px;
  margin: 0 auto;
  line-height: 1.5em;
  font-size: 1rem;
}

.center {
  text-align: center;
}

/* ----------------
	  table
---------------- */
table.formTable {
  width: 100%;
  margin-bottom: 40px;
  border-collapse: separate;
  border-spacing: 0;
  border-right: 1px solid #e4ded9;
  border-bottom: 1px solid #e4ded9;
  font-size: 15px;
}

table.formTable th,
table.formTable td {
  padding: 0;
  border-top: 1px solid #e4ded9;
  border-left: 1px solid #e4ded9;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #ffffff;
}
table.formTable th {
  width: 29%;
  padding: 36px 20px;
  text-align: left;
  background-color: var(--form-color);
  /* color: #fff; */
}
table.formTable td {
  padding: 20px 30px;
  background-color: #ffffff;
}

table.formTable td p {
  margin-top: 0.1em;
  font-size: 0.934em;
}

/* isamu.tamaki Customize */

p.sentence {
  font-size: 15px;
  margin: 3px;
}

p.note {
  margin-left: 1em;
  text-indent: -1em;
  font-size: 14px;
}

div.boxarea {
  width: 100%;
  margin: 0 auto 30px;
  padding: 20px;
  border: 2px solid #ccc;
}
@media screen and (min-width: 769px) {
  div.boxarea {
    width: 80%;
    padding: 30px;
  }
}

/* 個人情報保護方針のスクロールエリア */
div.scrollarea {
  font-size: 0.9rem;
  margin: 0;
  border: 1px solid #878787;
  height: 250px;
  overflow: auto;
  padding: 5px;
}

p.midashi1 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0;
}

p.doui_p {
  width: 100%;
  text-align: center;
  font-size: 1.2em;
  margin-bottom: 1em;
}

/* モーダルウィンドウ用 */
#modal-main {
  display: none;
  width: 700px;
  height: 560px;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #666666;
  position: fixed;
  z-index: 2;
}
/* モーダル 背景エリア */
#modal-bg {
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

a.modalClose {
  display: block;
  width: 150px;
  margin: 20px auto;
  text-align: center;
  color: #fff;
  background: #000;
  text-decoration: none;
  padding: 15px 0;
}

/*===============================================
スマートフォン  画面の横幅が768pxまで
===============================================*/

@media screen and (max-width: 768px) {
  html {
    border: none;
    min-width: min-content;
  }

  body {
    width: 100vw;
    border: none;
    background-color: #ffffff;
  }

  h1 {
    width: 100%;
    font-size: min(5.4vw, 30px);
    margin-bottom: 1.5em;
  }

  h2 {
    width: 100%;
    font-size: 4.8vw;
  }

  .sp {
    display: block;
  }

  #mp-head {
    width: 100%;
    padding: 0;
  }

  table.formTable th,
  table.formTable td {
    width: 100%;
    display: block;
    border-left: none;
  }

  table.formTable th {
    padding: 0.5em 1em;
    border-top: none;
  }

  table.formTable td {
    background-color: #ffffff;
    padding: 1.8em 1em 1.9em;
    border-top: none;
  }

  table.formTable {
    border-right: none;
    font-size: 15px;
    margin-bottom: 2em;
  }

  #mp-main {
    width: 100%;
    padding: 0 1em;
  }

  #footerunder {
    height: 150px;
  }

  #mp-main input.submit,
  input.reset,
  button {
    padding-right: 1.3em;
  }
  #mp-main input.back {
    padding-left: 1.3em;
  }

  #modal-main {
    display: none;
    width: 90%;
    height: auto;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #666666;
    position: fixed;
    z-index: 2;
  }
  /* モーダル 背景エリア */
  #modal-bg {
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
  }

  #mp-main input.text {
    width: 100%;
    height: 36px;
    vertical-align: middle;
  }

  #mp-main select {
    font-size: 16px;
  }

  textarea {
    width: 100%;
    font-size: 16px;
  }

  .text2box {
    width: min(36%, 199px) !important;
    margin-bottom: 0.5em !important;
  }

  .text3box {
    width: 30% !important;
  }

  .textzip1 {
    width: 60px !important;
  }

  .textzip2 {
    width: 90px !important;
  }

  .btnArea {
    width: 100%;
    margin-bottom: 60px;
    gap: 2em;
  }
  .btn01 {
    width: min(60vw, 240px);
    height: min(14vw, 60px);
  }
  .btn02 {
    width: min(100%, 180px);
    height: min(14vw, 60px);
  }
  #mp-main input.submit,
  input.reset,
  input.back {
    font-size: 16px;
  }
  .btn01 input {
    width: min(60vw, 240px);
    height: min(14vw, 60px);
  }
  .btn02 input {
    width: min(100%, 180px);
    height: min(14vw, 60px);
  }

  .txt_required {
    font-size: 13px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -3px;
  }

  p.doui_p {
    font-size: 1em;
  }
}

.thumbnail {
  display: none;
  width: 200px;
  height: 200px;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0 auto;
  text-align: center;
  background-position: center top;
}
.thumbnail_on {
  display: block !important;
  margin-bottom: 20px;
}
#file1,
#file2,
#file3 {
  width: 100%;
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: bold;
}
#file_thumb_area1 {
  font-weight: bold;
}
#ftm_thumb {
  width: 200px;
  height: 200px;
  margin: 10px auto 0;
  text-align: center;
}
#ftm_thumb img {
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 200px;
}

.btn__vote {
  display: inline-block;
  text-align: center;
  border: 3px solid #040b67;
  border-radius: 1rem;
  padding: clamp(0.3rem, calc(0.68vw + 0.14rem), 0.6rem) clamp(1rem, calc(3vw + 0.3rem), 3rem);
  font-size: clamp(1.2rem, calc(0.45vw + 1.09rem), 1.4rem);
  font-weight: 600;
  color: #040b67;
  background: inherit;
  transition: background-color 1slinear;
  opacity: 1;
  cursor: pointer;
  text-decoration: none !important;
  width: clamp(17.5em, calc(6.81vw + 16.4em), 21em);
}

.btn__vote:hover {
  transition: 0.3s;
  opacity: 0.6;
  color: #040b67 !important;
  text-decoration: none !important;
}

.btn-area {
  margin-left: 1em;
  height: clamp(3.2em, calc(1.5vw + 2.85em), 4.2em);
}

@media screen and (max-width: 768px) {
  .btn-area {
    margin-left: 0;
  }
}

.btn-area:first-of-type {
  margin-bottom: clamp(0.5rem, calc(0.68vw + 0.34rem), 0.8rem);
}
