body {
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

#top {
  padding: 10px 0;
  border-bottom-color: #FF0046;
}
#top div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 40px;
  padding-right: 40px;
  max-width: 1280px;
}
#top h1 {
  float: none;
}
#top h1 img {
  width: 170px;
}
#top p {
  float: none;
  line-height: 55px;
}

ol {
  padding-left: 20px;
}

ul.disc {
  list-style-type: disc;
  margin: 10px 0;
  padding-left: 20px;
}

.figcap-image {
  max-width: 200px;
}

.figcap-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.figcap-container .figcap-item {
  width: calc((100% - 20px) / 2);
}
.figcap-container .figcap-image {
  margin: 0 auto;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.flex-1-2 {
  width: calc((100% - 10px) / 2);
}

.flex-text {
  width: 55px;
}

.flex-input {
  width: calc(100% - 65px);
}

*[hidden] {
  display: none;
  opacity: 0;
}

.content_01 {
  border-color: #FF0046;
}
.content_01 p {
  color: #FF0046;
}

.content_02 {
  border-color: #FF0046;
}

.content_07 {
  border-color: #FF0046;
}

.content_08 {
  margin: 20px auto;
  padding: 10px 20px;
  max-width: 1000px;
  border: 2px solid #FF0046;
  border-radius: 10px;
  background: #FFFFFF;
}

table {
  margin: 20px auto;
  table-layout: fixed;
}
table th {
  padding: 5px 5px;
}
table td {
  padding: 5px 5px;
}

.gest_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid #FF0046;
}
.gest_list dd {
  float: none;
  text-indent: 0;
  padding: 0 10px;
  background: #FF0046;
}
.gest_list dd.is-border {
  border-bottom-color: #FF0046;
}
.gest_list dt {
  float: none;
  text-indent: 0;
  padding: 0 10px;
  border-bottom-color: #FF0046;
  border-right: 1px solid #FF0046;
}
.gest_list dt:first-of-type {
  line-height: 35px;
  border-top: none;
}

.gest_list dd.is-half {
  width: 120px;
}
.gest_list dt.is-half {
  width: calc(50% - 120px);
}

.gest_list dt.is-full {
  width: 100%;
  border-left: 1px solid #FF0046;
}

.gest_list dt.checkbox {
  padding: 5px 10px;
  line-height: 1.75;
}
.gest_list dt.checkbox-text {
  padding: 5px 10px;
  line-height: 1.75;
}
.gest_list dt.checkbox-text span {
  display: inline-block;
  line-height: 1.2;
  font-size: 1rem;
  color: #333333;
  font-weight: 400;
}
.gest_list dt.checkbox-text span:nth-last-of-type(n + 2)::after {
  content: ", ";
}
.gest_list .checkbox-tips {
  line-height: 1.2;
  font-size: 0.8rem;
  color: #333333;
  font-weight: 400;
}

.gest_list dt.checkbox-face {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  padding: 5px 10px;
}
.gest_list dt.checkbox-face label {
  width: calc((100% - 20px) / 3);
  text-align: center;
}

.gest_list dt.textarea {
  padding: 5px 10px;
}
.gest_list .textarea-tips {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  line-height: 1.2;
  margin-bottom: 5px;
  padding: 5px 0;
  border-bottom: 1px solid #333333;
}
.gest_list .textarea-tips-link {
  font-size: 0.9rem;
  font-weight: 400;
}
.gest_list .textarea-tips-count {
  font-size: 0.9rem;
  font-weight: 400;
}
.gest_list .textarea-tips-count span {
  color: #333333;
}
.gest_list .textarea-tips-count span.warning-text {
  color: #FF0046;
  font-weight: 900;
}

.gest_list.is-freward dd {
  width: 160px;
}
.gest_list.is-freward dt {
  width: calc(100% - 160px);
}

.ohineri-tips {
  padding-bottom: 5px;
  line-height: 1.2;
  font-size: 0.8rem;
}

.is-secret {
  display: none;
}
.is-secret .gest_list {
  margin-top: 0;
}

.shiftlist-table .gest_list {
  margin: 0 auto;
}

.gest_list dt.gest_list3 {
  border-color: 1px solid #FF0046;
}

input[type="text"],
input[type="password"],
input[type="tel"] {
  padding: 2px 5px;
  width: 100%;
  max-width: 100%;
  border: none;
  border: 1px solid #707070;
  font-size: 16px !important;
}
input[type="text"][readonly],
input[type="password"][readonly],
input[type="tel"][readonly] {
  background: #F0F0F0;
  cursor: not-allowed;
}
input[type="text"][readonly]:focus,
input[type="password"][readonly]:focus,
input[type="tel"][readonly]:focus {
  outline: inherit;
}

select,
input[type="date"] {
  padding: 2px 5px;
  max-width: 100%;
  border: none;
  border: 1px solid #707070;
  font-size: 16px !important;
}
select[readonly],
input[type="date"][readonly] {
  background: #F0F0F0;
  cursor: not-allowed;
}
select[readonly]:focus,
input[type="date"][readonly]:focus {
  outline: inherit;
}

textarea {
  padding: 5px 5px;
  width: 100%;
  max-width: 100%;
  border: none;
  border: 1px solid #707070;
  font-size: 16px !important;
  vertical-align: bottom;
}
textarea[readonly] {
  background: #F0F0F0;
  cursor: not-allowed;
}
textarea[readonly]:focus {
  outline: inherit;
}
textarea[name="FREE_TEXT_4"] {
  height: 200px;
}

label {
  display: inline-block;
  line-height: 1.2;
  cursor: pointer;
}
label input[type="checkbox"],
label input[type="radio"] {
  margin: 0 5px 0 0;
  vertical-align: middle;
}
label input[type="checkbox"] + span,
label input[type="radio"] + span {
  color: #333333;
}
label input[type="checkbox"]:checked + span,
label input[type="radio"]:checked + span {
  color: #FF0046;
}

input[type="submit"]:disabled {
  background-image: linear-gradient(180deg, #333333, #000000);
  color: #999999;
  cursor: no-drop;
}
input[type="submit"]:disabled:hover {
  background-image: linear-gradient(180deg, #333333, #000000);
}

button {
  display: block;
  margin: 0 auto;
  padding: 5px 0;
  width: 60%;
  max-width: 200px;
  border: none;
  border: 1px solid #333333;
  border-radius: 5px;
  color: #000000;
  font-weight: 600;
  text-align: center;
  background-image: linear-gradient(180deg, #FFFFFF, #CCCCCC);
  cursor: pointer;
}
button:hover {
  background-image: linear-gradient(180deg, #CCCCCC, #FFFFFF);
}

input[type="button"] {
  display: block;
  margin: 20px auto;
  padding: 10px 0;
  width: 60%;
  max-width: 300px;
  border: none;
  border: 1px solid #333333;
  border-radius: 5px;
  color: #000000;
  font-weight: 600;
  text-align: center;
  background-image: linear-gradient(180deg, #CCCCCC, #999999);
  cursor: pointer;
}
input[type="button"]:hover {
  background-image: linear-gradient(180deg, #999999, #CCCCCC);
}

.kiyaku-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 100px 20px;
  background: rgba(0, 0, 0, 0.5);
}
.kiyaku-popup-inner {
  margin: 0 auto;
  padding: 20px 20px;
  max-width: 600px;
  height: 100%;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}
.kiyaku-popup-scroll {
  height: 100%;
  overflow-y: scroll;
}
.kiyaku-popup pre {
  white-space: pre-wrap;
  font-size: 0.9rem;
}
.kiyaku-popup-button {
  margin-top: 10px;
  height: 30px;
}

.kiyaku-check {
  text-align: center;
}
.kiyaku-check-list {
  display: inline-block;
}
.kiyaku-check-list li {
  text-align: left;
}

#CHECK_KIYAKU_01,
#CHECK_KIYAKU_02,
label[for="CHECK_KIYAKU_01"],
label[for="CHECK_KIYAKU_02"] {
  pointer-events: none;
}

.form-text {
  margin-top: 20px;
}

.manual-subject {
  margin-top: 40px;
  line-height: 1.75;
  border-radius: 5px;
  background: #FF0046;
  color: #FFFFFF;
}

.manual-image {
  margin: 20px auto;
  padding: 20px 20px;
  border: 2px solid #707070;
  border-radius: 3px;
  text-align: center !important;
  overflow: hidden;
}
.manual-image img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.manual-arrow {
  margin: 20px auto;
  text-align: center !important;
}
.manual-arrow img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.video-container {
  width: 100%;
  overflow: hidden;
}

.main-video {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.red,
.red2 {
  color: #FF0046;
}

#status #condition p {
  color: #FF0046;
}

.content_pause .content_pause_image {
  color: #FF0046;
}

.pin_notice_item:first-of-type .pin_notice_header {
  border-top-color: #FF0046;
  color: #FF0046;
}

table.fee_table span {
  color: #FF0046;
}

table.fee_table3 td.fee_table3_incentive {
  color: #FF0046;
}

.member_table tr {
  border: none;
  background: #FF0046;
}
.member_table tr td {
  border-color: #FF0046;
}

.webtalk-container {
  position: relative;
  margin: 0 auto;
  padding: 40px 20px;
  max-width: 600px;
  height: calc(100vh - 180px);
}
.webtalk-image {
  text-align: center !important;
}
.webtalk-image img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 300px;
}
.webtalk-name {
  margin-top: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}
.webtalk-status {
  margin-top: 40px;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
}
.webtalk-buttons {
  position: absolute;
  bottom: 40px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.webtalk-button {
  width: calc((100% - 40px) / 2);
  text-align: center;
}
.webtalk-button button {
  padding: 0 0;
  border: none;
  background: transparent;
}
.webtalk-button button img {
  width: 80px;
}
.webtalk-button button span {
  margin-top: 5px;
  display: block;
}

#remote-media-area {
  display: none;
  opacity: 0.0;
}

@media screen and (max-width: 600px) {
  body {
    font-size: 14px;
  }

  #top {
    padding: 5px 0;
  }
  #top div {
    padding: 0 10px;
  }
  #top h1 img {
    width: 100px;
  }
  #top p {
    line-height: 30px;
    font-size: 1.2rem;
  }

  .figcap-image {
    margin: 0 auto;
  }

  .figcap-container {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0px;
  }
  .figcap-container .figcap-item {
    width: calc(100% / 1);
  }
  .figcap-container .figcap-item:nth-of-type(n + 2) {
    margin-top: 20px;
  }

  .list_a {
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 20px);
    max-width: 280px;
  }

  .content_01 {
    padding: 10px 10px;
    width: calc(100% - 20px);
  }
  .content_01 p {
    font-size: 1rem;
  }

  .content_02 {
    padding: 10px 10px;
    width: calc(100% - 20px);
  }
  .content_02 p {
    font-size: 1rem;
  }

  .content_07 {
    padding: 10px 10px;
    width: calc(100% - 20px);
  }
  .content_07 p {
    font-size: 1rem;
  }

  .content_08 {
    padding: 10px 10px;
    width: calc(100% - 20px);
  }
  .content_08 p {
    font-size: 1rem;
  }

  .gest_list dd {
    width: 100%;
  }
  .gest_list dt {
    width: 100%;
    border-left: 1px solid #FF0046;
  }

  .gest_list dd.is-half {
    width: 100%;
  }
  .gest_list dt.is-half {
    width: 100%;
  }

  .gest_list dt.checkbox-face label {
    width: calc((100% - 10px) / 2);
  }

  .gest_list .textarea-tips {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .gest_list .textarea-tips-link {
    font-size: 0.9rem;
    font-weight: 400;
  }
  .gest_list .textarea-tips-count {
    font-size: 0.9rem;
    font-weight: 400;
  }

  .gest_list.is-freward dd {
    width: 100%;
  }
  .gest_list.is-freward dt {
    width: 100%;
  }

  .ohineri-tips {
    font-size: 0.9rem;
  }

  .kiyaku-popup {
    padding: 20px 20px;
  }
  .kiyaku-popup-inner {
    padding: 10px 10px;
    border-radius: 10px;
  }
  .kiyaku-popup pre {
    font-size: 0.9rem;
  }

  .kiyaku-check {
    text-align: left;
  }
  .kiyaku-check-list {
    display: block;
  }
}
