@charset "utf-8";

/* common  */
body * {
  box-sizing: border-box;
}

body {
  box-sizing: border-box;
  animation: contentsfadeIn 1s ease 0s 1 normal;
  -webkit-animation: contentsfadeIn 1s ease 0s 1 normal;
  color: #671a1e;
  overflow-x: hidden;
}

::selection {
  background: #671a1e;
  color: #fff;
}

::-moz-selection {
  background: #671a1e;
  color: #fff;
}

@keyframes contentsfadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@-webkit-keyframes contentsfadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

a,
a:link,
a:visited,
a:hover,
a:active {
  transition: all 1s 0s;
  color: #fff;
  text-decoration: none;
}

a:hover {
  opacity: .7;
}

ul,
ol,
li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#container {
  text-align: center;
  position: relative;
  margin: 0 auto;
  background-color: #fff;
}

#container * {
  font-feature-settings: "palt";
  letter-spacing: calc((50 / 1000)*2em);
}

/* modal */
.modal-open {
  display: inline-block;
}

.modal-close {
  color: #fff;
  width: 50px;
  height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 30px;
  font-weight: 700;
  position: absolute;
  top: 0;
  right: 0;
  margin: auto;
  z-index: 9999;
  cursor: pointer;
  background-color: #000;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 25px;
  background-color: #fff;
}

.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 10;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.75);
  text-align: center;
}

.modal-content {
  display: none;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100vh;
  text-align: center;
}

.modal {
  display: none;
}

.youtube-box {
  height: 100vh;
}

.youtube-ratio {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content iframe {
  width: 90%;
  aspect-ratio: 16 / 9;
  height: auto;
  max-width: 980px;
}

.graphic_modal {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
}

.modal_image {
  position: relative;
}

.modal_image div {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 70vw;
  margin: auto;
}

.youtube img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  max-width: 80vw;
  max-height: 90vh;
  width: auto;
}

.modal_caution {
  margin-top: 1em;
  font-size: 12px;
}

/* kigaeru_kyorochan_navi */
.kigaeru_kyorochan_navi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: calc(1200px + 4em);
  margin: 0 auto;
  padding: .5em 2em;
}

.kigaeru_kyorochan_navi p img {
  max-height: 50px;
  width: auto;
}

.kigaeru_kyorochan_navi ul {
  display: flex;
  justify-content: right;
  margin-left: 1em;
  align-items: center;
}

.kigaeru_kyorochan_navi ul li {
  position: relative;
  padding: 0 2em;
}

.kigaeru_kyorochan_navi ul li:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 2px;
  height: 15px;
  margin: auto;
  background-color: #671A1E;
}

.kigaeru_kyorochan_navi ul li:first-child:before {
  display: none;
}

.kigaeru_kyorochan_navi ul li:last-child {
  padding-right: 0;
}

.kigaeru_kyorochan_navi ul img {
  max-height: 20px;
  width: auto;
}

/* lottery */
.lottery {
  background-color: #FFE501;
  padding: 1em 2em;
}

/* main */
article {
  padding: 4em 2em;
}

.contents_wrap {
  background-color: #fff;
  border-radius: 15px;
  padding: 8vw;
  max-width: 1200px;
  margin: 0 auto;
}

.caution {
  margin-top: 1em;
  font-size: 12px;
}

article h2 {
  margin-bottom: 5em;
}

article h3 {
  border-bottom: 15px solid #FFE600;
  padding-bottom: 2em;
  margin-bottom: 2em;
}

.kikan {
  margin: 4em 0;
}

.kikan>p {
  margin-bottom: 2em;
}

.sub_tile {
  margin-bottom: 1em;
}

.kikan p br {
  display: none;
}

.kikan_day img {
  max-height: 40px;
  width: auto;
}

/* kigaeru_kyorochan_contents0 */
.kigaeru_kyorochan_contents0 {
  background-color: #dabb38;
}

.c0_content2 {
  margin: 3em 0 0;
}

.makingWrap img {
  border-radius: 5px;
}

/* kigaeru_kyorochan_contents1 */
.kigaeru_kyorochan_contents1 {
  background-color: #b57d12;
  position: relative;
}
.kigaeru_kyorochan_contents1 .finish {
  position: absolute;
  z-index: 1;
  padding-top: 20vw;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(16, 5, 5, .9);
}
.kigaeru_kyorochan_contents1 .finish p {
  color: #fff;
  font-weight: bold;
  font-size: 4vw;
}

.c1_henshin {
  background-color: #FCCF00;
  padding: 2em;
  margin: 4em 0;
}

.c1_henshin>div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  flex-wrap: wrap;
  margin-bottom: 1em;
}

.kikan_list {
  margin-top: 2em;
  font-size: 12px;
}

.c1_content5 {
  margin-bottom: 1em;
}

/* kigaeru_kyorochan_contents2 */
.c2_spwallpaper ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 850px;
  margin: 0 auto;
}

.c2_spwallpaper li {
  width: 29%;
  margin: 0 2% 2em;
  position: relative;
}

/* kigaeru_kyorochan_contents2 */
.kigaeru_kyorochan_contents2 {
  background-color: #dabb38;
}

.c3_content3 {
  margin: 2em 0 6em;
}

/* kigaeru_kyorochan_contents3 */
.kigaeru_kyorochan_contents3 {
  background-color: #b57d12;
}

.c3_flow {
  margin-top: 6vw;
}

.c3_flow .sub_tile {
  margin-bottom: 2em;
}

.c3_flow ul {
  margin: 2em 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.c3_flow li {
  padding: 25px;
  width: 33%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.c3_flow .c3_flow_step1 {
  background-color: #fff000;
  position: relative;
}

.c3_flow .c3_flow_step1:after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  bottom: 0;
  margin: auto;
  height: 100%;
  background-color: #fff000;
  width: 20px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 1;
}

.c3_flow .c3_flow_step2 {
  background-color: #ff8e50;
  position: relative;
}

.c3_flow .c3_flow_step2:after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  bottom: 0;
  margin: auto;
  height: 100%;
  background-color: #ff8e50;
  width: 20px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 1;
}

.c3_flow .c3_flow_step3 {
  background-color: #e7380d;
  color: #fff;
}

.c3_flow_step {
  margin-bottom: 1em;
  width: 100%;
}

.c3_flow_text {
  width: 100%;
}

.c3_flow_image {
  margin-top: 1em;
}

.c3_content67 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.c3_content6 {
  margin-right: 2vw;
}

.c3_apply {
  margin: 5em 0;
}

.c3_contact dl {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1em;
}

.c3_contact dt {
  background-color: #671a1e;
  font-weight: bold;
  color: #fff;
  display: inline-block;
  padding: 0 2em;
  border-radius: 5px;
}

.c3_contact dd {
  font-weight: bold;
}

.c3_contact>p {
  font-weight: bold;
  font-size: 20px;
}

input[type=checkbox] {
  display: none;
}

.checkbox {
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 0 50px;
  position: relative;
  width: auto;
  font-size: 18px;
  height: 30px;
  margin-top: 1em;
}

.checkbox::before {
  border: 1px solid #671A1E;
  border-radius: 5px;
  content: '';
  display: block;
  height: 30px;
  left: 5px;
  margin-top: -8px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 30px;
}

.checkbox::after {
  border-right: 10px solid #e7380d;
  border-bottom: 5px solid #e7380d;
  content: '';
  display: block;
  height: 27px;
  left: 15px;
  opacity: 0;
  position: absolute;
  top: -8px;
  bottom: 0;
  margin: auto;
  transform: rotate(45deg) translate3d(0, 2px, 0) scale3d(.7, .7, 1);
  transition: transform .2s ease-in-out, opacity .2s ease-in-out;
  width: 11px;
}

input[type=checkbox]:checked+.checkbox::before {
  border-color: #666;
}

input[type=checkbox]:checked+.checkbox::after {
  opacity: 1;
  transform: rotate(45deg) scale3d(1, 1, 1);
}

input[type="checkbox"]:checked~.request_btn {
  display: block;
}

.request_btn {
  margin-top: 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.request_btn p {
  width: 49%;
}

/* rule */
#rule_box .rulebtn {
  color: #54c0ee;
  display: block;
  position: relative;
  margin-bottom: 2em;
  background-color: #671A1E;
  padding: 1.5em 1em;
  border-radius: 5px;
}

#rule_box .rulebtn:after {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto;
  display: block;
  width: 0;
  height: 0;
  border-bottom: 0 solid #fff;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 15px solid #fff;
}

#rule_box .rulebtn.open:after {
  border-top: 0 solid #fff;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 15px solid #fff;
}

#rule_detail {
  display: none;
  font-size: 14px;
}

#rule_inside {
  margin: 0 auto;
  background-color: #fff;
  color: #671A1E;
  text-align: left;
}

#rule_inside h5 {
  font-weight: bold;
  font-size: 16px;
}

#rule_inside dl {
  margin: 0 0 1em;
}

#rule_inside dt {
  font-weight: bold;
  font-size: 14px;
}

#rule_inside dd {
  font-size: 14px;
  word-break: break-all;
}

/* sns */
aside {
  padding: 8vw 2em;
  background-color: #fff;
}

aside ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

aside li {
  margin: 0 1%;
}

aside h4 {
  margin: 0 auto 2em;
}

@media only screen and (max-width: 768px) {
  .totop a {
    background-size: cover;
    -webkit-background-size: cover;
    bottom: 10px;
    height: 30px;
    right: 10px;
    width: 30px;
  }

  article {
    padding: 0 10vw;
  }

  .kigaeru_kyorochan_navi ul li {
    position: relative;
    padding: 0 1em;
  }

  .kigaeru_kyorochan_navi p img {
    max-height: 40px;
  }

  article {
    padding: 2em;
  }

  article h2 {
    margin-bottom: 3em;
  }

  article h3 img {
    height: 40px;
    width: auto;
  }

  article h3 {
    border-bottom: 5px solid #FFE600;
    padding-bottom: 1em;
  }

  .kikan {
    margin: 2em 0;
  }

  .kikan_day img {
    max-height: 30px;
    width: auto;
    margin: 0 0 .5em;
  }

  .kikan_list strong {
    display: block;
  }

  .c1_henshin {
    margin: 2em 0;
  }

  .c1_henshin h4 {
    width: 140px;
    margin: 0 auto;
  }

  .c3_content3 {
    width: 70%;
    margin: 2em auto 4em;
  }

  .c3_flow li {
    width: 100%;
    padding: 4em 2em 2em;
  }

  .c3_flow .c3_flow_step1:after {
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    height: 20px;
    width: 100%;
    right: 0;
    bottom: -20px;
    top: auto;
  }

  .c3_flow .c3_flow_step2:after {
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    height: 20px;
    width: 100%;
    right: 0;
    bottom: -20px;
    top: auto;
  }

  .c3_flow_image {
    width: 150px;
    margin: 1em auto 0;
  }

  .c3_flow_text br {
    display: none;
  }

  .rulebtn img {
    height: 20px;
    width: auto;
  }

  .request_btn p {
    width: 100%;
    margin: .5em 0;
  }

  .c3_contact dl {
    font-size: 14px;
  }

  .c3_contact>p {
    font-size: 14px;
  }

  #rule_detail {
    font-size: 12px;
  }

  #rule_inside h5 {
    font-size: 12px;
  }

  #rule_inside dt {}

  #rule_inside dd {
    font-size: 12px;
  }

  .c3_content67 {
    flex-wrap: wrap;
  }

  .c3_content6 {
    margin: 0 auto 2em;
    width: 40%;
  }
}

/* ie */
#ie {
  display: none;
}

body.ie #ie {
  display: block;
  padding-top: 100px;
  text-align: center;
}

body.ie {
  background-color: #fff;
  color: #000;
}

body.ie #ie .tit {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

body.ie #ie .body {
  margin-top: 30px;
  text-align: center;
  line-height: 1.5em;
}

body.ie #ie .logo {
  margin-top: 30px;
}

body.ie #container {
  display: none;
}

body.ie .globalFooter {
  display: none;
}