* {
  font-size: 16px;
  line-height: 1.5;
}

body {
  width: 100%;
  max-width: 640px;
  margin: auto;
}

img {
  width: 100%;
}

.header {
  width: 100%;
}

.main {
  width: 90%;
  margin: 20px auto;
}

/* Googleログイン部分 */
.google_login_wrapper {
  width: 92%;
  margin: auto;
}

.google_login_message {
  font-size: 16px;
  margin: 16px auto 12px;
  text-align: center;
  color: #f00;
  font-weight: bold;
}

.google_btn_img_wrapper {
  margin: 12px auto 8px;
}

.sns_login_btn {
  border: none;
  background: #fff;
}

.sns_login_btn img {
  width: 100%;
}

.login_modal_title {
  text-align: center;
  margin: 12px auto;
  font-size: 20px;
  font-weight: bold;
  color: #00c300;
}

.sns_login_btn_wrapper_modal {
  width: 100%;
  margin: 20px auto;
}

.sns_login_btn_wrapper_modal a {
  display: block;
}

.sns_login_btn_wrapper_modal a img {
  width: 100%;
}

.modal-dialog .modal-footer {
  border-top: none;
  text-align: center;
  padding-top: 0;
}

.modal-dialog .modal-footer button.close {
  margin: 0 0 12px;
  padding: 12px 0;
  background-color: #000;
  border: 1px solid #000;
  border-radius: 4px;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  letter-spacing: 0.4px;
  opacity: 1;
  text-shadow: none;
}

.campaign_info_wrapper {
  border: 4px solid #12aa39;
  border-radius: 16px;
  margin: 40px auto;
}

/* チェックボックス */
.checkbox-001 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em 2em;
  border: none;
  justify-content: center;
  margin: 20px auto 8px;
}

.checkbox-001 label {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  gap: 8px;
}

a.notes {
  font-size: 18px;
  text-decoration: underline;
}

.checkbox-001 label::before,
.checkbox-001 label:has(:checked)::after {
  content: "";
}

.checkbox-001 label::before {
  width: 17px;
  height: 17px;
  border-radius: 3px;
  background-color: #e6edf3;
  margin-right: 4px;
}

.checkbox-001 label:has(:checked)::before {
  background-color: #2589d0;
}

.checkbox-001 label:has(:checked)::after {
  position: absolute;
  top: 46%;
  left: 4px;
  transform: rotate(45deg) translateY(-50%);
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
}

.checkbox-001 input {
  display: none;
}

[type="button"] {
  opacity: 1;
}

[type="button"]:disabled {
  opacity: 0.5;
}

/* googleログインボタン */
.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: "Roboto", arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color 0.218s, border-color 0.218s,
    box-shadow 0.218s;
  transition: background-color 0.218s, border-color 0.218s, box-shadow 0.218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: "Roboto", arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity 0.218s;
  transition: opacity 0.218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state,
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3),
    0 1px 3px 1px rgba(60, 64, 67, 0.15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}

.mypage_heading {
  background-color: #f00;
  text-align: center;
  padding: 8px 4px;
  color: #fff;
  border-radius: 8px 8px 0 0;
}

.mypage-number_wrapper {
  padding: 0 10px 8px;
  text-align: center;
  border-radius: 12px;
}

.copy_wrapper {
  border: 1px solid #f00;
  border-radius: 12px;
}

.js-copytext {
  font-size: 20px;
  font-weight: bold;
  margin-top: 10px;
}

.js-copybtn {
    /* background-color: #ff6600; */
    /* padding: 10px 12px; */
    margin: 5px auto 10px;
    text-align: center;
    display: block;
    width: 80%;
    color: #f00;
    /* box-shadow: 0px 7px 0px rgb(255 171 120 / 70%); */
    text-decoration: underline;
    cursor: pointer;
}

.js-copybtn:hover,
.js-copybtn:visited,
.js-copybtn:focus,
.js-copybtn:active {
  color: #f00;
}

.user_mail {
  text-align: center;
  margin: 40px auto 20px;
}

.user_mail span {
  font-weight: bold;
  font-size: 18px;
}

.campain_detail_btn {
  background-color: #f00;
  padding: 16px 12px;
  margin: 20px auto;
  text-align: center;
  display: block;
  width: calc(100% - 28px);
  color: #fff;
  box-shadow: 0px 7px 0px rgb(255 93 93 / 70%);
  text-decoration: underline;
  cursor: pointer;
  border-radius: 8px;
}

.campain_detail_btn:hover,
.campain_detail_btn:visited,
.campain_detail_btn:focus,
.campain_detail_btn:active {
  color: #fff;
}

.entry_wrapper {
  border: 2px solid #47ad30;
  margin: 40px auto 28px;
  border-radius: 12px;
}

.entry_heading {
  background-color: #47ad30;
  text-align: center;
  padding: 8px 4px;
  color: #fff;
  border-radius: 8px 8px 0 0;
}

.entry_contents {
  padding: 12px 12px 18px;
  text-align: center;
}

.entry_btn {
  background-color: #3b7d23;
  color: #ff0;
  padding: 8px 4px;
  border-radius: 12px;
  display: block;
  margin: auto auto 12px;
  border: 1px solid #000;
  box-shadow: 0px 7px 0px rgb(149 187 135);
}

.entry_btn:last-child {
  margin-bottom: 0;
}

.entry_btn:hover,
.entry_btn:visited,
.entry_btn:focus,
.entry_btn:active {
  color: #ff0;
}

.entry_btn.disabled {
  opacity: 0.4;
}

.entry_confirm_btn {
  background-color: #f00;
  padding: 12px 4px;
  margin: 36px auto 40px;
  text-align: center;
  display: block;
  width: calc(100% - 28px);
  color: #fff;
  box-shadow: 0px 7px 0px rgb(255 93 93 / 70%);
  text-decoration: underline;
  cursor: pointer;
  border-radius: 8px;
}

.history_btn {
  background-color: #ff6600;
  padding: 12px 4px;
  margin: 0 auto 28px;
  text-align: center;
  display: block;
  width: calc(100% - 28px);
  color: #fff;
  /* box-shadow: 0px 7px 0px rgb(145 180 134 / 70%); */
  text-decoration: underline;
  cursor: pointer;
  border-radius: 8px;
}

.history_btn:hover,
.history_btn:visited,
.history_btn:focus,
.history_btn:active {
  color: #fff;
}

.page-title {
  background-color: #47ad30;
  color: #fff;
  padding: 8px 4px;
  text-align: center;
  margin: auto -3% 20px;
}

.selectbox-2 {
  position: relative;
  width: 100%;
  margin: 0;
}

.selectbox-2::before,
.selectbox-2::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.selectbox-2::before {
  right: 0;
  display: inline-block;
  width: 2.8em;
  height: 2.8em;
  border-radius: 0 3px 3px 0;
  background-color: #47ad30;
  content: "";
}

.selectbox-2::after {
  position: absolute;
  top: 40%;
  right: 1.4em;
  transform: translate(50%, -50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  content: "";
}

.selectbox-2 select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 230px;
  height: 2.8em;
  padding: 0.4em 3.6em 0.4em 0.8em;
  border: 2px solid #47ad30;
  border-radius: 3px;
  color: #333333;
  font-size: 1em;
  cursor: pointer;
  width: 100%;
}

.selectbox-2 select:focus {
  outline: 1px solid #47ad30;
}

.form-item_input_wrapper {
  margin: 4px auto 20px;
}

.input-number {
  width: 100%;
  display: block;
  text-align: center;
  border: 2px solid #47ad30;
  padding: 6px;
  border-radius: 4px;
  text-align: left;
}

.input-label {
  font-weight: bold;
  margin-bottom: 4px;
}

.design04 {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border-spacing: 0;
}
.design04 tbody {
  border: 1px solid #778ca3;
}
.design04 tr:nth-child(2n + 1) {
  background: #e9faf9;
}
.design04 th {
  padding: 10px;
  background: #778ca3;
  border-right: solid 1px #778ca3;
  color: #ffffff;
  width: 50%;
  text-align: center;
}
.design04 th:last-child {
  border-right: none;
}
.design04 td {
  padding: 10px;
  border-right: solid 1px #778ca3;
  text-align: center;
}
.design04 td:last-child {
  border-right: none;
}

.table_title {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  margin: 36px auto 6px;
}

.entry_submit_btn {
  background-color: #f00;
  padding: 12px 12px;
  margin: 36px auto;
  text-align: center;
  display: block;
  width: calc(100% - 28px);
  color: #fff;
  box-shadow: 0px 7px 0px rgb(255 93 93 / 70%);
  text-decoration: underline;
  cursor: pointer;
  border-radius: 8px;
}

.error_message {
  color: #f00;
  font-weight: bold;
  margin-top: 4px;
}

.input_result_wrapper {
  margin: 20px auto;
}

.input_ressult {
  font-size: 18px;
  font-weight: bold;
}

.go-top {
  background-color: #008833;
  padding: 12px 4px;
  margin: 20px auto 40px;
  text-align: center;
  display: block;
  width: calc(100% - 28px);
  color: #fff;
  box-shadow: 0px 7px 0px rgb(145 180 134 / 70%);
  text-decoration: underline;
  cursor: pointer;
  border-radius: 8px;
}

.go-top:hover,
.go-top:focus,
.go-top:active,
.go-top:visited {
  color: #fff;
}

.normal-text {
  margin: 20px auto;
}

.limit_date {
  background-color: #fffec4;
  padding: 10px;
  border: 2px solid #f00;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin: 20px auto 30px;
  color: #f00;
}

.accordion_wrapper {
  padding: 0;
  margin-bottom: 60px;
}

.toggle {
  display: block;
  background-color: #47ad30;
  width: 60%;
  margin: 20px auto 40px;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  color: #fff;
}

.toggle:hover,
.toggle:active,
.toggle:focus,
.toggle:visited {
  color: #fff;
}


.limit_date_wrapper {
  margin: auto auto 24px;
}

.limit_date_title {
  text-align: center;
  margin-bottom: 4px;
}

.limit_date_wrapper dl {
  display: flex;
  justify-content: center;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  text-align: center;
}

.limit_date_wrapper dl:last-of-type {
  border-bottom: 1px solid #000;
}

.limit_date_wrapper dt,
.limit_date_wrapper dd {
  padding: 12px 4px;
  width: 50%;
}

.limit_date_wrapper dt {
  border-right: 1px solid #000;
  background-color: #f3fff0;
}

.limit_date_wrapper dd {
  font-weight: bold;
  color: #f00;
}


.campaign-button {
  display: block;
  align-items: center;
  background: #357ABD;
  color: white;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 7px 6px 0px rgb(177 213 255);
  text-align: center;
  margin: auto auto 32px;
}

.campaign-button:active,
.campaign-button:hover,
.campaign-button:visited,
.campaign-button:focus {
  color: #fff;
}

.campaign-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.play-icon {
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  position: relative;
}

.play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 6px solid white;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-left: 2px;
}


.text-wrapper {
  margin: auto auto 20px;
}

.text-wrapper .heading {
  color: #357ABD;
  margin-bottom: 2px;
}

.text-wrapper .contents {
  color: #000;
  margin-bottom: 8px;
}

.notes_wrapper {
  margin: 20px auto;
}

.notes_wrapper .heading {
  margin-bottom: 2px;
  color: #c00000;
}

.notes_wrapper .contents {
  margin-bottom: 6px;
}

.notes_wrapper .contents a {
  text-decoration: underline;
}

.contents a {
  text-decoration: underline;
}
