body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/*** The new CSS Reset - version 1.2.0 (last updated 23.7.2021) ***/

/* Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property */
*:where(:not(iframe, canvas, img, svg, video):not(svg *)) {
  all: unset;
  display: revert;
}

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

/* Remove list styles (bullets/numbers) */
ol,
ul {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  width: 100%;
  max-width: 100%;
  vertical-align: top;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

main {
  overflow: hidden;
  position: relative;
}
.main-visual-box {
  position: relative;
}
.main-visual-txt {
  position: absolute;
  text-align: center;
  font-size: 4.5vw;
  width: 75%;
  top: auto;
  bottom: 7%;
  left: 4%;
  padding: 3%;
  background-color: #ffffffb5;
  border-radius: 5px;
  letter-spacing: 1px;
  font-family: YuGothic, 'Yu Gothic', 'TsukuARdGothic-Regular', sans-serif;
  font-weight: bold;
  color: #463e36;
}
.main-visual-txt-date {
  color: #fc8711;
  font-size: 7vw;
}
.main-visual-txt .pc-or {
  display: none;
}
.main-visual-txt_or {
  font-weight: bold;
  color: #fc8711;
}

.pc {
  display: none;
}
.sp {
  display: block;
}
@media only screen and (min-width: 767px) {
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
  .main-visual {
    width: 100%;
    background: rgb(255, 246, 234);
  }
  .main-visual-txt {
    top: 25px;
    right: 200px;
    left: auto;
    font-size: 15px;
    width: auto;
    background: none;
    padding: 0;
  }
  .main-visual-txt .pc-or {
    display: inline-block;
  }
  .main-visual-box {
    width: 960px;
    margin: 0 auto;
  }
  .main-visual img {
    margin: 0 auto;
  }
}
/**
* header
*/
header {
  border-top: 3px solid #00c7c7;
}
header h1 {
  height: 40px;
  text-align: center;
}
header h1 img.logo {
  width: 150px;
  max-width: 244px;
  height: auto;
  margin: 10px 0;
}
header h1 img.time {
  width: 100px;
  max-width: 150px;
  height: auto;
  margin: 8px 0;
  margin-left: 10px;
}
header h2 {
  color: #fff;
  background-color: #00c7c7;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  padding: 8px;
}
header h2 span {
  display: block;
  font-size: 12px;
}
@media (min-width: 768px) {
  header h1 {
    height: 60px;
  }
  header h1 img.logo {
    width: 35%;
    margin: 12px 0;
  }
  header h1 img.time {
    width: 150px;
    margin: 12px 0;
    margin-left: 10px;
  }
  header h2 span {
    display: inline;
  }
}

nav {
  padding: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
@media only screen and (min-width: 767px) {
  nav {
    max-width: 450px;
  }
}

.question_box {
  border: 2px solid #463e36;
  border-radius: 30px;
  text-align: center;
  background-color: #fef6eb;
  background-image: url('/lp2/assets/img/entry-slide/img_bg.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  padding: 40px 20px 60px;
  position: relative;

  max-width: 800px;
  margin-top: 24px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .question_box {
    border-radius: 70px;
    max-width: 720px;
    background-size: 100%;
  }
}

section img.question {
  width: 22px;
  height: auto;
  vertical-align: sub;
  margin-right: 2px;
}
section .message {
  font-weight: bold;
  color: #463e36;
}
@media (min-width: 768px) {
  section .message {
    font-size: 20px;
    margin: 10px 0px;
  }
  section .message img {
    display: block;
    margin: 0 auto 5px;
  }
}

section .answers {
  margin-top: 8px;
}
section span {
  display: block;
  line-height: 1;
}

div.checkboxes_2 {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  div.checkboxes_2 {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 520px;
    margin-left: 175px;
    margin-right: auto;
  }
}

div.checkboxes {
  display: grid;
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  div.checkboxes {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 520px;
  }
}
.checkbox_with_image {
  position: relative;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  cursor: pointer;
}
.checkbox_with_image::before {
  display: block;
  content: '';
  padding-top: 100%;
}
.checkbox_with_image input {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.checkbox_with_image label {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.checkbox_with_image label::before {
  display: none;
}
.checkbox_with_image label img {
  width: 100%;
  height: auto;
}
.checkbox_with_image input:checked + label::before {
  display: block;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #000;
  opacity: 0.6;
}

section.pager_buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
}
section.pager_buttons > div {
  width: 100%;
}
section.pager_buttons .tos {
  width: 100%;
  text-align: center;
}
div.prev_and_next_area {
  display: flex;
  justify-content: center;
}

.zipcode_and_address .zipCode {
  text-align: center;
}
.zipcode_and_address .zipCode > p {
  width: 100%;
  max-width: 260px;
  text-align: left;
  display: inline-block;
  color: #59c4c5;
  font-size: 14px;
  font-weight: bold;
}
.zipcode_and_address .zipCode > div {
  display: flex;
  padding: 4px 10px;
}
.zipcode_and_address .zipCode > div::before {
  content: '〒';
  display: block;
  position: relative;
  color: #59c4c5;
  font-weight: bold;
  font-size: 20px;
}
.zipcode_and_address .zipCode > div input {
  margin-left: 8px;
}

button.prev_button {
  color: #fff;
  font-weight: bold;
  text-align: center;
  display: inline-block;

  padding: 8px;
  border-radius: 40px;
  font-size: 18px;

  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);

  flex: 1 0 auto;
  background-color: #9d9894;
  width: 80px;
  max-width: 120px;

  cursor: pointer;
}

button.next_button {
  color: #fff;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  padding: 8px;
  border-radius: 40px;
  font-size: 18px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  flex: 1 0 auto;
  background-color: #ff933f;
  width: 150px;
  max-width: 190px;
  margin-left: 10px;
  z-index: 999;
  cursor: pointer;
}
button.next_button:disabled {
  background-color: #9d9894;
}

button.submit_button {
  color: #fff;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  padding: 8px;
  border-radius: 40px;
  font-size: 16px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  background-color: #ff933f;
  width: 100%;
  max-width: 360px;
  z-index: 999;
  position: relative;
  cursor: pointer;
}
button.submit_button span {
  font-size: 12px;
  display: block;
}
button.submit_button:disabled {
  background-color: #9d9894;
}

.select_boxes {
  border: 1px solid #463e36;
  position: relative;
  border-radius: 5px;
  max-width: 310px;
  margin-left: auto;
  margin-right: auto;
}
.select_boxes::after {
  content: '';
  display: block;
  position: absolute;
  top: calc(50% + 4px);
  right: 20px;
  transform: translateY(-50%);
  border: transparent 5px solid;
  border-top: #463e36 6px solid;
}
.select_boxes select {
  text-align: left;
  width: 100%;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
}

.radio_buttons {
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}
.radio_buttons span {
  font-size: 14px;
}
@media (min-width: 768px) {
  .radio_buttons {
    max-width: 400px;
  }
}

.radio_with_image {
  border-bottom: 1px dotted #d0d0d0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
}
.radio_with_image label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex: 1 0 auto;
}
.radio_with_image label img {
  width: 40px;
  height: 40px;
}
.radio_with_image label span {
  margin-left: 8px;
}
.radio_with_image input {
  width: 28px;
  height: 28px;
  background: white;
  border: 1px solid #463e36;
  border-radius: 50%;
  position: relative;
}
.radio_with_image input:checked::before {
  content: '';
  display: block;
  background-color: #ff933f;
  width: 75%;
  height: 75%;
  position: relative;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.input_text {
  border: 1px solid #463e36;
  border-radius: 5px;
  background-color: #fff;
  padding: 10px;
  text-align: left;
  font-size: 16px;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}
.input_text input {
  width: 100%;
}

.text_area {
  border: 1px solid #463e36;
  border-radius: 5px;
  background-color: #fff;
  padding: 10px;
  text-align: left;
  font-size: 16px;
  width: 100%;
  height: 70px;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}
.text_area::placeholder {
  color: #9d9894;
}

.birthday_select_boxes {
  display: flex;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}
.birthday_select_boxes .yearSelect {
  flex: 1 0 auto;
  width: 80px;
}
.birthday_select_boxes .monthSelect {
  margin-left: 8px;
  flex: 1 0 auto;
  width: 40px;
}
.birthday_select_boxes .daySelect {
  margin-left: 8px;
  flex: 1 0 auto;
  width: 40px;
}

.privacy {
  display: flex;
  justify-content: center;
  align-items: center;
}
.privacy span {
  font-size: 14px;
  color: #434343;
  text-align: left;
  line-height: 1.2;
  margin-left: 8px;
}

.navigator_box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 400px;
}
.navigator_box .navigator {
  flex: 0 0 auto;
}
.navigator_box .navigator img {
  height: 67.5px;
  width: 45px;
}
.navigator_box .balloon {
  flex: 0 1 auto;
  border-radius: 5px;
  position: relative;
  background-color: #fff;
  margin-left: 20px;
  display: block;
  text-align: left;
  padding: 12px;
  display: flex;
  align-items: center;
}
.navigator_box .balloon::before {
  content: '';
  display: inline-block;
  position: absolute;
  width: 0;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-right: 10px solid #fff;
  border-bottom: 6px solid transparent;
  border-left: 10px solid transparent;
}
.navigator_box .balloon p {
  font-size: 12px;
  color: #434343;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .navigator_box .navigator img {
    height: auto;
    width: 80px;
  }
}

.tos {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.tos div {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.tos div a {
  font-size: 12px;
  color: #434343;
  text-decoration: underline;
  text-align: start;
}
@media (min-width: 768px) {
  .tos {
    flex-direction: row;
  }
}

footer {
  background-color: #463e36;
}

.information {
  text-align: center;
}
.information .content {
  padding: 10px;
  font-size: 11px;
}
.information .content p {
  font-size: 11px;
  color: #fff;
  line-height: 1.7;
  margin: 0;
}
.information .content a {
  font-size: 11px;
  color: #fff;
  line-height: 1.7;
  margin: 0;
}
.information .content a:not(:first-of-type) {
  margin-left: 10px;
}
.information .content small {
  font-size: 80%;
}

.show {
  display: block;
}

.hide {
  display: none;
}

@keyframes hands_animation {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -7px);
    background-size: 100% auto;
  }
  90% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0, 0);
    background-size: 95% auto;
  }
}

.navigate_tori_chan {
  position: absolute;
  z-index: 9999;
  right: 1px;
  top: 17vh;
  animation: hands_animation 2s linear 0s infinite;
  transition: 0.8s;
}

.navigate_tori_chan img {
  width: 80px;
}
@media (min-width: 768px) {
  .navigate_tori_chan {
    right: calc(50% - (100px / 2) - 320px);
  }
  .navigate_tori_chan img {
    width: 100px;
  }
}

.other_text {
  font-size: 12px;
  margin-top: 8px;
}

input:-webkit-autofill {
  box-shadow: 0 0 0 1000px white inset;
}

span.error {
  color: #f03a3a;
  margin-top: 4px;
}

/* 画面暗転強調 */
.backgroundCover {
  position: absolute;
  top: 0;
  width: 200%;
  height: 200%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 0;
  opacity: 0;
  transition: all 0.5s;
  margin-left: -16px;
  margin-top: -150px;
}
.show {
  opacity: 1;
  z-index: 3;
}

/* Style for switching to slide form */
.slides {
  top: 0;
  display: flex;
  height: 100%;
  transition: all 0.5s ease;
  text-align: center;
}
.slide {
  display: block;
  flex: 0 0 100%;
  padding: 0 16px;
  overflow: hidden;
}

.offset_offer_message_flag {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.offset_offer_message_flag input[type='checkbox'] {
  display: none;
}

.offset_offer_message_flag label {
  color: #434343;
  font-size: 12px;
  position: relative;
  padding-left: 24px;
  cursor: pointer;
}

.offset_offer_message_flag label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border: 1px solid #434343;
  border-radius: 3px;
  background: #fff;
}

.offset_offer_message_flag input[type='checkbox']:checked + label::before {
  background: #00c7c7;
  border-color: #00c7c7;
}

.offset_offer_message_flag input[type='checkbox']:checked + label::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
