@charset "UTF-8";

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

.SubPageTop {
  padding: 0;
  box-shadow: none;
}

.campaign__top {
  background: #000;
  padding-bottom: 0;
  color: #fff;
  container-type: inline-size;
}

.campaign__heading{
  font-size: 10cqw;
  text-align: center;
  font-weight: bold;
  padding-top: 2rem;
  margin: 0 auto;
}

.campaign__detail {
  background: url(../images/bg_pc.webp) no-repeat top/cover;
  padding: 40px 0;
}

.campaign__bnr {
  margin-bottom: 40px;
}

.campaign__center {
  color: #323232;
  color: #fff;
  padding: 3rem 3.6rem;
}

.calendar-wrap {
  margin: 0 auto;
  max-width: 800px;
  /* display: grid;
  grid-template-columns: repeat(2, 1fr); */
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0 60px;
}

.calendar-header {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 26%;
}

.calendar-header .previous-month,
.calendar-header .next-month {
  display: block;
  padding: 20px;
}

.calendar-ym {
  font-size: 50px;
  font-weight: bold;
}

.calendar-ym span {
  font-size: 24px;
  display: block;
}

@media (max-width: 767px) {
  .campaign__detail {
    background: url(../images/bg.webp) no-repeat top / contain;
    padding: 0;
  }
  .calendar-header {
    gap: 20%;
  }
  .calendar-header .next-month img,.calendar-header .previous-month img{
    width: 14px;
    height: 24px;
  }
  .calendar-ym {
    font-size: 30px;
    font-weight: bold;
  }

  .calendar-ym span {
    font-size: 16px;
    display: block;
    margin-bottom: 20px;
  }
}

.calendar {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; 
}

.calendar thead {
  border-bottom: 4px solid #fff;
}

.calendar th,
.calendar td {
  border-bottom: 1px solid #808080;
  text-align: center;
  padding: 10px 0 20px;
  font-size: 20px;
  font-weight: bold;
  vertical-align: top;
  width: calc(100% / 7);
}

.calendar th {
  padding: 6px 10px;
}

.calendar td {
  height: 164px;
}
.calendar button{
  padding: 0;
  vertical-align: bottom;
}
.calendar__schedule--complete,
.calendar__schedule--new,
.calendar__schedule--reservation {
  width: 100px;
  margin:.4em auto 0;
  border-radius: .4em;
  overflow: hidden;
}

.calendar__schedule--complete{
  border: 2px solid #ff4410;
}

.calendar__schedule--new{
  border: 2px solid #4a99ff;
}

.calendar__schedule-img {
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.calendar__schedule-txt {
  color: #fff;
  background: #767676;
  font-size: 12px;font-weight: normal;
  padding: 10px;
  text-align: left;
}

@media (max-width: 767px) {
  .calendar thead {
    border-bottom: 2px solid #fff;
  }

  .calendar th,
  .calendar td {
    padding: .75em .2em;
    font-size: 12px;
  }

  .calendar th {
    padding: 3px 6px;
  }

  .calendar td {
    height: 78px;
  }

  .calendar__schedule--complete,
  .calendar__schedule--new,
  .calendar__schedule--reservation {
    width: 100%;
  }

  .calendar__schedule-img {
    border-radius: 5px;
  }

  .calendar__schedule-txt {
    border-radius: 5px;font-weight: normal;
    font-size: 10px;
    padding: 5px;
    line-height: 1.4em;
    max-height: 4.9em; 
    display: -webkit-box;
    -webkit-line-clamp: 3;  
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.dialog{
  overflow: hidden !important;
}

.dialog__content{
  /* position: relative; */
  overflow-y: auto;
  max-height: 80svh;

  & span.closeBtn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 3rem;
    line-height: 1;
    width: fit-content;
    background: #fff;
    border-radius: 1rem;
  }
}

.calendar .sun,
.calendar .holi {
  /* color: #ff0000; */
  color: #ff2424;
}

.calendar .sat {
  /* color: #0065ff; */
  color: #4a99ff;
}

.calendar .mute {
  color: #aaa;
}

.calendar__mark {
  display: flex;
  gap: 60px;
}

.calendar__mark > div {
  font-size: 14px;
}

.calendar__mark > div::before {
  content: "";
  display: inline-block;
  width: 21px;
  height: 21px;
  vertical-align: bottom;
}

.mark__red::before {
  background: #ff4410;
}

.mark__blue::before {
  background: #4a99ff;
}

.mark__gray::before {
  background: #767676;
}

@media (max-width: 767px) {
  .calendar__mark {
    margin-left: 10px;
    gap: 20px;
  }

  .calendar__mark>div {
    font-size: 10px;
  }

  .calendar__mark>div::before {
    width: 10px;
    height: 10px;
    vertical-align: middle;
  }
}

.campaign__center {
  padding: 64px 75px;
  background: #323232;
}

.campaign__center ul {
  list-style: none;
  padding-left: 0;
}

.campaign__center li {
  margin-bottom: 10px;
  line-height: 1.8;
  font-size: 14px;
}

@media (max-width: 767px) {
  .campaign__center {
    padding: 40px;
  }

  .campaign__center li {
    font-size: 11px;
  }
}

.campaign__form {
  padding: 75px 0 60px;
  background: #f8f8f8;
  position: relative;
  table-layout: fixed;
}
.campaign__form::before{
  content: "";
  width: 500px;
  height: 98px;
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  background: url(../images/entry_bg_pc.png) no-repeat center/100%; 
}

.campaign__form h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 30px;
}

.stepBar {
  display: flex;
  max-width: 420px;
  position: relative;
  margin: 20px auto;
  text-align: center;
  padding-left: 0;
}

.stepBar li {
  font-size: 12px;
  list-style: none;
  position: relative;
  width: 33.333%;
  color: #dddddd;
  font-weight: bold;
}

.stepBar li::after {
  background: #dddddd;
  content: "";
  width: calc(100% - 40px);
  height: 2px;
  position: absolute;
  left: calc(-50% + 20px);
  top: 30%;
}

.stepBar li:first-child::after {
  display: none;
}

.stepBar li span {
  font-size: 14px;
  background: #fff;
  border: 2px solid #dddddd;
  color: #dddddd;
  display: inline-block;
  height: 40px;
  margin-bottom: 5px;
  line-height: 40px;
  width: 40px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

.stepBar .visited::after {
  background: #dddddd;
}

.stepBar .visited {
  color: #ff4410;
}

.stepBar .visited span {
  background: #ff4410;
  border: none;
  color: #fff;
}

.campaign__form table {
  max-width: 780px;
  width: 100%;
  margin: 0 auto 60px;
}

.campaign__form th,
.campaign__form td {
  border-bottom: 1px solid #dddddd;
  padding: 30px;
}

.campaign__form th {
  text-align: left;
  vertical-align: top;
}


input,
textarea {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  cursor: pointer;
}

button,
input,
select {
  overflow: visible;
  -webkit-appearance: none;
}

button,
input,
select,
textarea {
  margin: 0;
}

button,
select {
  text-transform: none;
}

select::-ms-expand {
  display: none;
}

select {
  -moz-appearance: none;
}

[disabled] {
  cursor: default;
}

button::-moz-focus-innner,
input::-moz-focus-innner {
  border: 0;
  padding: 0;
}

button:-moz-focusring,
input:-moz-focusring {
  outline: 1px dotted ButtonText;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  padding: 0;
}

[type="number"]::-webkit-innner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  border-radius: 0;
  border: none;
  background: transparent;
  color: inherit;
  width: 100%;
  letter-spacing: .08rem;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}

input[type="submit"]:focus,
input[type="button"]:focus {
  outline-offset: -2px;
}



.form-control,
select {
  display: block;
  box-sizing: border-box;
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: .2em;
  width: 100%;
  line-height: 1.4;
  background: white;
  padding: 7px 10px;
  height: 44px;
  box-shadow: none;
  max-width: 300px;
  font-weight: normal;
}

input::placeholder {
  color: #dddddd;
}

.selbtn {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  position: relative;
}

.selbtn .sel_wrap,
.cardbtn {
  position: relative;

  &::after{
    content: "";
    display: block;
    background: url('/event/tokimeki/images/form_arrow.png') center / 100% auto no-repeat;
    position: absolute;
    width: 9px;
    height: 5px;
    right: 5px;
    top: 50%;
    translate: 0 -50%;
    pointer-events: none;
  }
}

.selbtn label {
  vertical-align: bottom;
}

.selbtn div {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.selbtn select {
  width: 100px;
  text-align: center;
  color: #362525;
  /* padding: 7px 12px 7px 0; */
  padding: 7px 20px 7px 10px;
}

/* .selbtn img,
.timebtn img {
  position: absolute;
  width: 9px;
  height: 5px;
  right: 5px;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
} */

.cardbtn{
  width: fit-content;
}

.timebtn {
  position: relative;
  width: fit-content;

  &::after{
    content: "";
    display: block;
    background: url('/event/tokimeki/images/form_arrow.png') center / 100% auto no-repeat;
    position: absolute;
    width: 9px;
    height: 5px;
    right: 5px;
    top: 50%;
    translate: 0 -50%;
    pointer-events: none;
  }
}

.timebtn img {
  right: 10px;
}

.form_calendar .form-control,
.timebtn select,
.cardbtn select {
  width: 200px;
}

.form_calendar {
  position: relative;
  width: fit-content;

  &::after{
    content: "";
    display: block;
    background: url('/event/tokimeki/images/form_calender-icon.png') center / 100% auto no-repeat;
    width: 20px;
    height: 21px;
    position: absolute;
    top: 50%;
    right: 5px;
    translate: 0 -50%;
    pointer-events: none;
    cursor: pointer;
  }

  & input::-webkit-calendar-picker-indicator {
    background: transparent;
    z-index: 1;
  }
}

/* .form_calendar img {
  display: block;
  width: 20px;
  height: 21px;
  position: absolute;
  top: 50%;
  right: 5px;
  translate: 0 -50%;
} */

.form_label {
  white-space: nowrap;
  width: 200px;
}

.form_checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: .5em 2em;
  border: none;
  width: 360px;
}

.form_checkbox label {
  display: flex;
  align-items: center;
  gap: 0 .5em;
  position: relative;
  cursor: pointer;
}

.form_checkbox label::before {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 2px solid #d6dde3;
  content: '';
}

.form_checkbox label:has(:checked)::after {
  position: absolute;
  top: 5px;
  left: 7px;
  transform: rotate(45deg);
  width: 5px;
  height: 10px;
  border: solid #000000;
  border-width: 0 3px 3px 0;
  content: '';
}

.form_checkbox input {
  display: none;
}

.submit_btn {
  background: #ff4410;
  color: white;
  margin: 0 auto;
  max-width: 480px;
  letter-spacing: .2em;
  width: 100%;
  height: 80px;
  line-height: 80px;
}

.error_message {
  /* display: block; */
  display: none;
  width: 100%;
  font-size: 14px;
  padding: 2px 0 0;
  color: #f00;
}

@media (max-width: 767px) {
  .campaign__form{
    padding: 35px 0 60px;
  }

  .campaign__form::before{
    width: 206px;
    height: 41px;
    background: url(../images/entry_bg.png) no-repeat center/100%; 
  }

  .campaign__form h2{
    font-size: 16px;
  }

  .stepBar li span {
    font-size: 11px;
    height: 30px;
    margin-bottom: 5px;
    line-height: 30px;
    width: 30px;
  }
  .stepBar li::after {
    background: #dddddd;
    content: "";
    width: calc(100% - 30px);
    height: 2px;
    position: absolute;
    left: calc(-50% + 15px);
    top: 30%;
  }
  .campaign__form table th,
  .campaign__form table td {
    display: block;
    width: 100%;
    border-bottom: none;
  }

  .campaign__form table th {
    padding: 20px 40px 0;
  }

  .campaign__form table td {
    padding: 10px 40px 20px;
    border-bottom: 1px solid #dddddd;
  }

  .submit_btn {
    max-width: 300px;
    height: 50px;
    line-height: 50px;
  }

  .form_checkbox {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-control,
  select {
    max-width: none;
    height: 40px;
  }
  .selbtn > div:first-of-type{
    margin-bottom: 5px;
  }
  .campaign__form table {
    max-width: 480px;
  }

  .form_calendar {
    width: 100%;
  }

  .form_label {
    white-space: nowrap;
    width: 100%;
  }

  .form_calendar .form-control,
  .timebtn select,
  .cardbtn select {
    width: 100%;
  }

  .timebtn,
  .cardbtn {
    width: 100%;
    max-width: 155px;
  }

  .timebtn label,
  .cardbtn label {
    display: block;
  }

  label:has(#F-type),
  label:has(#G-type),
  label:has(#H-type) {
    grid-column: 1 / 3;
  }
}

.result {
  max-width: 780px;
  width: 100%;
  margin: 60px auto;
}

.result_img{
  width: 60%;
  max-width: 280px;
  margin: 4rem auto 3rem;

  & img{
    width: 100%;
    height: auto;
    mix-blend-mode: darken;
  }
}

.result_txt {
  text-align: center;
  margin-bottom: 1rem;

  &:first-of-type{
    font-size: 120%;
  }
}

.result_btn {
  display: block;
  text-align: center;
  text-decoration: none;
  background: #ff4410;
  color: white;
  margin: 4rem auto 0;
  max-width: 480px;
  letter-spacing: .2em;
  width: 100%;
  height: 80px;
  line-height: 80px;
}

@media (max-width: 767px) {
  .result{
    padding: 10px 40px 20px;
  }

  .result_btn{
    max-width: 300px;
    height: 50px;
    line-height: 50px;
  }
}

dialog{
  font-size:.8em;
  font-weight:normal;
  padding: 4em 1.75em 1.75em;
  border-radius: 2em;
  width:90%;
  max-width: 600px
}
dialog img{
  width:90%;
  max-width:300px;
}
dialog p{
  margin:1.75em;
  text-align:left;
  text-align: justify;
}
dialog::backdrop {
  background: rgba(0,0,0,.75);
}