body {
  background-color: #fff;
}

#header-container,
.date-tags,
.entry-title,
#breadcrumb {
  display: none;
}

.content {
  margin-top: 0;
}

.wrap {
  width: 100%;
}

#header {
  width: 100%;
}

.main {
  padding: 0;
}

.hide {
  display: none;
}

.article {
  margin-bottom: 0;
}

.article dd {
  margin-left: 0;
}

.title-area {
  text-align: center;
  margin-bottom: 0;
}

.title-area h2 {
  margin-bottom: 0;
  background-color: #fff;
  color: #000;
  background-color: #fff;
  font-weight: 400;
  font-size: 30px;
  padding: 20px;
}

.entry-content {
  margin-top: 0;
  margin-bottom: 0;
}

.page-id-75, .page-id-143 {
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Yu Gothic', YuGothic, Roboto, Ubuntu, 'Hiragino Kaku Gothic Pro', 'Hiragino Sans GB', Meiryo, 'Malgun Gothic', 'Helvetica Neue', sans-serif;
}

.fv-area {
  background-image: url(https://prizebox.jp/wp-content/uploads/2022/12/29.jpg);
  background-size: cover;
  background-color: rgb(0, 188, 212);
  width: 100%;
  height: 160px;
  position: relative;
  background-position: 50% 50%;
}

.form-area {
  max-width: 640px;
  margin: 0 auto;
  padding: 30px 44px 0 44px;
}

.q-content {
  margin-top: 30px;
}

.q-first {
  margin-top: 0;
}

.q-content:after {
  content: "";
  display: block;
  clear: both;
}

.q-block {
  margin-bottom: 10px;
}

.birthday {
  display: flex;
}

.birthday .select-block {
  width: 98%;
  margin-right: 2%;
}

.birthday .select-block .box select {
  width: 80%;
}

.birthday .select-block .box span {
width: 12%;
}

.post-city {
  display: flex;
}

.sidebox {
  width: 98%;
  margin-right: 2%;
}

.mr0 {
  margin-right: 0;
}

.term-check .check-block {
  display: block;
  width: 100%;
}

.term-check .check-block label {
  width: 100%;
  margin: 0 0;
}

input::-webkit-input-placeholder {
  color: #ccc;
}

.center {
  padding: 10px 0;
}

.submit-block {
  padding-top: 20px;
}

label {
  cursor: pointer; /* labelにhoverした時にカーソルを表示させる */
  font-size: 16px; /* 項目のフォントサイズ */
}

.check-block label span {
  position: relative;
}

input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}

.check-block label input[type="checkbox"] + .check_icon {
  /* チェックボックスのデザイン */
  border: 1px solid #333;
  content: "";
  display: inline-block;
  margin-right: 10px;
  position: relative;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  border-radius: 4px;
  margin-right: 8px;
  border: 1px solid #90A4AE;
}

.check-block input[type="checkbox"]:checked + .check_icon::after {
  /* チェックアイコン */
  background-size: contain;
  content: "";
  height: 15px;
  left: 2px;
  position: absolute;
  top: 2px;
  width: 15px;
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTAwcHgiIGhlaWdodD0iMTAwcHgiIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA0MC4zICgzMzgzOSkgLSBodHRwOi8vd3d3LmJvaGVtaWFuY29kaW5nLmNvbS9za2V0Y2ggLS0+CiAgICA8dGl0bGU+Y2hlY2ttYXJrPC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+PC9kZWZzPgogICAgPGcgaWQ9IklDT04iIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJjaGVja21hcmsiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICA8ZyBpZD0iQ2hlY2ttYXJrIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMS4wMDAwMDAsIDIyLjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9IkxheWVyXzEiPgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik03MS4yOTY3MDAxLDEuMzM2Njg5NzQgTDIyLjgzNTE2MTYsNTAuNTI1ODc4OSBMMjguMjQxNzYxNCw1MC41MjU4Nzg5IEw2LjcwMzI5OTkxLDI4LjY2NDAxNzEgQzUuMjMyMzk0MjYsMjcuMTcxMDI1OCAyLjgyOTY4MTA1LDI3LjE1MzEyMTggMS4zMzY2ODk3NCwyOC42MjQwMjc0IEMtMC4xNTYzMDE1NzUsMzAuMDk0OTMzMSAtMC4xNzQyMDU1NDksMzIuNDk3NjQ2MyAxLjI5NjcwMDA5LDMzLjk5MDYzNzYgTDIyLjgzNTE2MTYsNTUuODUyNDk5NSBDMjQuMzIxNTkxNiw1Ny4zNjEyNDgyIDI2Ljc1NTMzMTUsNTcuMzYxMjQ4MiAyOC4yNDE3NjE0LDU1Ljg1MjQ5OTUgTDc2LjcwMzI5OTksNi42NjMzMTAyNiBDNzguMTc0MjA1NSw1LjE3MDMxODk1IDc4LjE1NjMwMTYsMi43Njc2MDU3NCA3Ni42NjMzMTAzLDEuMjk2NzAwMDkgQzc1LjE3MDMxOSwtMC4xNzQyMDU1NDkgNzIuNzY3NjA1NywtMC4xNTYzMDE1NzUgNzEuMjk2NzAwMSwxLjMzNjY4OTc0IEw3MS4yOTY3MDAxLDEuMzM2Njg5NzQgWiIgaWQ9IlNoYXBlIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)
  
}

.check-block input[type="checkbox"]:checked + .check_icon {
  /* チェックしたボックスの背景色を設定 */
  background-color: #ffffbc;
  border: 1px solid #00BCD4;
  background-color: #00BCD4;
 
}

.term {
  color: rgb(0, 0, 0);
  font-weight: 400;
  font-size: 12.8px;
  overflow: scroll;
  overflow-x: hidden;
  max-height: 150px;
  padding: 5px;
  margin-bottom: 30px;
  box-shadow: 0px 0px 0px 1px rgb(0 0 0 / 15%) inset;
}

dt i {
  color: rgb(255, 255, 255);
  background-color: rgb(244, 67, 54);
  font-size: 12px;
  display: inline-block;
  margin: 0 0 0 5px;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.wpcf7-radio,
.wpcf7-checkbox  {
  display: flex;
  flex-wrap: wrap;
}

/* .radio-block,
.check-block {
  display: flex;
  flex-wrap: wrap;
} */

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  justify-content: space-between;
}

.check-block .grid-item {
    box-sizing: border-box;
    width: 100%;
}

.radio-block, .check-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.q-label {
  display: flex;
  align-items: center;
}

.label-innner {
  display: flex;
  align-items: center;
}

.label-innner > div {
  display: inline-block;
}

.radio-block label,
.check-block label {
  border-radius: 4px;
  padding: 8px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  margin: 0 1%;
  word-break: break-all;
  border: 1px solid rgba(0,0,0,0.15);
  float: left;
  width: 98%;
  height: 100%;
}

.radio-block label span,
.check-block label span {
  float: left;
}

.radio-block label .choice-txt,
.check-block label .choice-txt {
  flex: 1;
}


input[type="radio"],
input[type="checkbox"] {
  text-indent: -32px;
  padding-left: 32px;
  line-height: 1.5em;
}

input[type="radio"]:before {
  font-size: 9px;
  margin-left: 0;
  margin-right: 10px;
}

input[type="radio"]:before {
  margin-bottom: 3px;
  vertical-align: middle;
}

.wpcf7-list-item-label {
  color: #333;
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  display: block;
  visibility: hidden;
}

/* .radio-block input[type="radio"] + label .radio_icon,
.radio-block label input[type="radio"]::after { */
.radio-block label input[type="radio"] + .radio_icon {
  background: #fff;
  border-radius: 100%;
  display: block;
  border: 1px solid #888888;
  width: 1.2em;
  height: 1.2em;
  justify-content: center;
  align-items: center;
  margin-right: 7px;
  /* vertical-align: middle; */
  cursor: pointer;
  text-align: center;
  -webkit-transition: all 250ms ease;
  transition: all 250ms ease;
  opacity: 1;
}

/* .radio-block input[type="radio"]:checked + label .radio_icon,
.radio-block label input[type="radio"]:checked { */
.radio-block label input[type="radio"]:checked + .radio_icon {
  margin-left: 0px;
  margin-right: 5px;
  border: 5px solid #00BCD4;
  width: 2.3em;
  height: 2.3em;
  font-size: 9px;
  background-color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}


.wpcf7-list-item-label {
  display: inline-block;
  position: relative;
  top: 1px;
}

[data-name="post"] {
  display: inline-block;
  width: 48%;
  margin: 0 1% 0 0;
}

[data-name="prefectures"] .wpcf7-select {
  display: inline-block;
  width: 48%;
  margin: 0 0 0 1%;
  vertical-align: top;
}

[data-name="acceptance-choice"] span.wpcf7-list-item {
  width: 100%;
  margin: 0;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

[data-name="insurance-join"] .wpcf7-radio  {
  display: flex;
}

input[type='submit'] {
  border-color: rgb(0, 188, 212);
  background-color: rgb(0, 188, 212);
  color: rgb(255, 255, 255);
  font-weight: 400;
  font-size: 20px;
  border-radius: 4px;
  border-width: 2px;
  border-style: solid;
}

#submit[disabled] {
  border-color: #ccc;
  background: #ccc;
}

#footer {
  max-width: 640px;
  margin: 0 auto;
  margin-top: 16px;
  padding-top: 32px;
  padding-bottom: 32px;
  background-color: #F6F6F6;
  color: #455A64;
  text-align: center;
}



@media screen and (max-width: 834px) {
  main.main {
    padding: 0;
  }
  .form-area {
    max-width: 640px;
    margin: 0 auto;
    padding: 30px 10px 0 10px;
  }
  .mobile-footer-menu-buttons {
    display: none;
  }
}

@media screen and (max-width: 640px) {
  .desc {
    margin-bottom: 20px;
  }
  .wpcf7-form {
    padding: 0 16px 0 16px;
  }
  .mobile-footer-menu-buttons {
    display: none;
  }

  input[type="radio"]:checked + .wpcf7-list-item-label:before {
    margin-left: 0px;
    margin-right: 11px;
    border: 5px solid #00BCD4;
    font-size: 9px;
    background-color: #fff;
    box-shadow: inset 0 0 0 2px #fff;
    width: 1.2em;
    height: 1.2em;
  }

  [data-name="birthyear"] .wpcf7-select, [data-name="birthmonth"] .wpcf7-select, [data-name="birthday"] .wpcf7-select {
    width: 25%;
  }

  [data-name="prefectures"] .wpcf7-select {
    width: 50%;
  }

}