@import url("https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&display=swap");
input[type=number],
input[type=text],
input[type=mail],
input[type=tel] {
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: var(--font-jp);
  padding: 0.8em 1em;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--color-line);
}

select,
textarea {
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: var(--font-jp);
  padding: 0.8em 1em;
  line-height: 1.8;
  border: 1px solid var(--color-line);
  font-weight: 600;
  text-align: center;
}

option {
  padding: 0 16px;
  padding: 0 1rem;
}

button,
input[type=submit],
input[type=button] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-family: YakuHanJP_Narrow, "Noto Sans JP", sans-serif, "Yu Gothic Medium", "Yu Gothic", YuGothic, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #FFF;
  font-weight: 700;
}

.m-modal {
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  opacity: 0;
  z-index: 800;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  -ms-overflow-x: hidden;
  overflow-x: hidden;
  -webkit-transition: all 0.3s cubic-bezier(0.5, 1, 0.89, 1) 0.3s;
  transition: all 0.3s cubic-bezier(0.5, 1, 0.89, 1) 0.3s;
}
.m-modal .m-modal__bg {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #FFF;
}
.m-modal .m-modal__bg:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: repeat-y center;
  background-size: cover;
}
.m-modal .m-modal__close {
  position: absolute;
}
.m-modal .m-modal__close:before, .m-modal .m-modal__close:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  width: 100%;
  height: 3px;
  background: var(--color-blue);
}
.m-modal .m-modal__close:before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.m-modal .m-modal__close:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.m-modal .m-modal__content {
  opacity: 0;
}
.m-modal .float_form-input {
  display: none;
}
.m-modal .float_form-thanks {
  display: none;
}
.m-modal .float_form {
  background: #FFF;
  border: 2px solid var(--color-blue);
  -webkit-box-shadow: 5px 5px 0px var(--color-blue);
  box-shadow: 5px 5px 0px var(--color-blue);
}
.m-modal .float_form__caption {
  text-align: center;
}
.m-modal .float_form__caption span {
  background: var(--color-blue);
  color: #FFF;
}
.m-modal .float_form-form {
  text-align: center;
}
.m-modal .float_form-form dl dt {
  color: var(--color-blue);
  text-align: center;
  line-height: 1.6;
  font-weight: 700;
}
.m-modal .float_form-form dl dt span {
  font-weight: 500;
  display: block;
  color: #747474;
}
.m-modal .float_form-form dl dd {
  line-height: 1.6;
}
.m-modal .float_form-form dl dd input,
.m-modal .float_form-form dl dd textarea {
  width: 100%;
}
.m-modal .float_form-form dl dd textarea {
  height: 96px;
  height: 6rem;
}
.m-modal .float_form-attention li {
  text-indent: -1em;
  margin-left: 1em;
  line-height: 1.4;
  color: #747474;
  font-weight: 500;
}
.m-modal .float_form-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.m-modal .float_form-submit {
  background: var(--color-blue);
  border-radius: 50px;
}
.m-modal .float_form-submit input {
  width: 100%;
  cursor: pointer;
  font-weight: 400;
}
.m-modal .float_form-thanks .float_form-form {
  line-height: 2;
}
@media only screen and (min-width:961px) {
  .m-modal .m-modal__close {
    width: 75px;
    height: 75px;
    top: 30px;
    right: 30px;
    cursor: pointer;
  }
  .m-modal .m-modal__close:before, .m-modal .m-modal__close:after {
    -webkit-transition: background 0.2s ease-out;
    transition: background 0.2s ease-out;
  }
  .m-modal .m-modal__close:hover:before, .m-modal .m-modal__close:hover:after {
    background: var(--color-orange);
  }
  .m-modal .m-modal__inner {
    position: absolute;
    width: 800px;
    left: calc(50% - 400px);
  }
  .m-modal .m-modal__inner .float_form {
    border-radius: 20px;
    padding: 50px 6%;
  }
  .m-modal .m-modal__inner .float_form__caption {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .m-modal .m-modal__inner .float_form__caption span {
    line-height: 1.6;
    padding: 0 0.8rem;
  }
  .m-modal .m-modal__inner .float_form-form dl dt {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .m-modal .m-modal__inner .float_form-form dl dt span {
    font-size: 12px;
  }
  .m-modal .m-modal__inner .float_form-form dl + dl {
    margin-top: 30px;
  }
  .m-modal .m-modal__inner .float_form-attention {
    font-size: 12px;
    text-align: center;
    margin: 15px 0 30px;
  }
  .m-modal .m-modal__inner .float_form-btn {
    gap: 16px;
  }
  .m-modal .m-modal__inner .float_form-submit {
    width: 190px;
    border: 1px solid var(--color-blue);
    -webkit-transition: background 0.2s ease-out;
    transition: background 0.2s ease-out;
  }
  .m-modal .m-modal__inner .float_form-submit input {
    font-size: 20px;
    height: 40px;
    -webkit-transition: color 0.2s ease-out;
    transition: color 0.2s ease-out;
  }
  .m-modal .m-modal__inner .float_form-submit:hover {
    background: #FFF;
  }
  .m-modal .m-modal__inner .float_form-submit:hover input {
    color: var(--color-blue);
  }
  .m-modal .m-modal__inner .float_form-thanks .float_form-form {
    font-size: 1.4rem;
    margin-bottom: 8vw;
  }
}
@media only screen and (max-width:960px) {
  .m-modal .m-modal__close {
    width: 12.26vw;
    height: 12.26vw;
    top: 4vw;
    right: 4vw;
  }
  .m-modal .m-modal__inner {
    position: absolute;
    width: 86vw;
    left: calc(50% - 43vw);
  }
  .m-modal .m-modal__inner .float_form {
    border-radius: 20px;
    padding: 4vw 4vw 8vw;
  }
  .m-modal .m-modal__inner .float_form__caption {
    margin-bottom: 9.33vw;
  }
  .m-modal .m-modal__inner .float_form__caption span {
    display: block;
    width: 100%;
    font-size: 1.3rem;
    line-height: 1.8;
  }
  .m-modal .m-modal__inner .float_form-form dl dt {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  .m-modal .m-modal__inner .float_form-form dl dt span {
    font-size: 0.9rem;
  }
  .m-modal .m-modal__inner .float_form-form dl + dl {
    margin-top: 5.33vw;
  }
  .m-modal .m-modal__inner .float_form-attention {
    font-size: 0.9rem;
    margin: 0.8rem 0 6.66vw;
  }
  .m-modal .m-modal__inner .float_form-btn {
    gap: 0.8rem;
  }
  .m-modal .m-modal__inner .float_form-submit {
    width: 29.33vw;
  }
  .m-modal .m-modal__inner .float_form-submit input {
    font-size: 1.2rem;
    height: 6.66vw;
  }
}
.m-modal.is-open {
  visibility: visible;
  opacity: 1;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
.m-modal.is-open .m-modal__content.is_open {
  opacity: 1;
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}
.m-modal.is-open .m-modal__content.is_open img {
  opacity: 1;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: opacity 0.6s cubic-bezier(0.11, 0, 0.5, 0) 0.4s, transform 0.8s cubic-bezier(0.5, 1, 0.89, 1) 0.4s;
  -webkit-transition: opacity 0.6s cubic-bezier(0.11, 0, 0.5, 0) 0.4s, -webkit-transform 0.8s cubic-bezier(0.5, 1, 0.89, 1) 0.4s;
  transition: opacity 0.6s cubic-bezier(0.11, 0, 0.5, 0) 0.4s, -webkit-transform 0.8s cubic-bezier(0.5, 1, 0.89, 1) 0.4s;
  transition: opacity 0.6s cubic-bezier(0.11, 0, 0.5, 0) 0.4s, transform 0.8s cubic-bezier(0.5, 1, 0.89, 1) 0.4s;
  transition: opacity 0.6s cubic-bezier(0.11, 0, 0.5, 0) 0.4s, transform 0.8s cubic-bezier(0.5, 1, 0.89, 1) 0.4s, -webkit-transform 0.8s cubic-bezier(0.5, 1, 0.89, 1) 0.4s;
}

@media only screen and (min-width:961px) {
  .main_contents__bg {
    background: url("../img/bg_pc.jpg") repeat-y center top;
    background-size: 100% auto;
  }
}
@media only screen and (max-width:960px) {
  .main_contents__bg {
    background: url("../img/bg_sp.jpg") repeat-y center top;
    background-size: 100%;
  }
}

.header_contents .header_logo {
  text-align: center;
  position: relative;
  z-index: 5;
}
@media only screen and (min-width:961px) {
  .header_contents {
    padding-top: 110px;
  }
  .header_contents .header_logo {
    margin-bottom: 70px;
  }
}
@media only screen and (max-width:960px) {
  .header_contents {
    padding-top: 13.33vw;
  }
  .header_contents .header_logo {
    width: 90.66vw;
    margin: 0 auto 9.33vw;
  }
}

.contents_wrapper {
  position: relative;
  z-index: 5;
}
.contents_wrapper .main_lead {
  font-weight: 700;
  text-align: center;
  line-height: 1.8;
}
.contents_wrapper .message_board {
  height: calc(100vh - 60px);
  background: #334d4c;
  position: relative;
}
.contents_wrapper .message_board-deco .-top:before, .contents_wrapper .message_board-deco .-top:after {
  content: "";
  display: block;
  position: absolute;
  background: #c79759;
}
.contents_wrapper .message_board-deco .-top:after {
  background: #b48446;
}
.contents_wrapper .message_board-deco .-side:before, .contents_wrapper .message_board-deco .-side:after {
  content: "";
  display: block;
  position: absolute;
  background: #c79759;
}
.contents_wrapper .message_board .message_ui {
  position: absolute;
  background: #FFF;
  border-radius: 50px;
}
.contents_wrapper .message_board .message_ui .message_ui-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: "Hachi Maru Pop", cursive;
}
.contents_wrapper .message_board .message_ui .message_ui-list__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 9.6px;
  gap: 0.6rem;
}
.contents_wrapper .message_attention li {
  line-height: 1.4;
  text-indent: -1em;
  margin-left: 1em;
  font-weight: 500;
}
@media only screen and (min-width:961px) {
  .contents_wrapper {
    padding-bottom: 190px;
  }
  .contents_wrapper .main_lead {
    margin-bottom: 100px;
    font-size: 18px;
  }
  .contents_wrapper .message_board {
    width: 1160px;
    width: 90.62%;
    max-width: 1600px;
    margin: auto;
    height: calc(100vh - 100px);
  }
  .contents_wrapper .message_board-deco .-top:before {
    height: 15px;
    top: -15px;
    width: 100%;
  }
  .contents_wrapper .message_board-deco .-top:after {
    width: calc(100% + 56px);
    height: 32px;
    bottom: -32px;
    left: -28px;
  }
  .contents_wrapper .message_board-deco .-side:before, .contents_wrapper .message_board-deco .-side:after {
    height: calc(100% + 15px);
    width: 15px;
    top: -15px;
  }
  .contents_wrapper .message_board-deco .-side:before {
    left: -15px;
  }
  .contents_wrapper .message_board-deco .-side:after {
    right: -15px;
  }
  .contents_wrapper .message_board .message_ui {
    bottom: 10px;
    left: 10px;
  }
  .contents_wrapper .message_board .message_ui-list {
    gap: 16px;
    padding: 10px 30px;
  }
  .contents_wrapper .message_board .message_ui-list__item {
    cursor: pointer;
  }
  .contents_wrapper .message_board .message_ui-list__item img {
    width: 30px;
  }
  .contents_wrapper .message_board .message_ui-list__item:hover {
    opacity: 0.6;
  }
  .contents_wrapper .message_attention {
    width: 1160px;
    width: 90.62%;
    max-width: 1600px;
    margin: 60px auto 0;
    font-size: 14px;
  }
}
@media only screen and (max-width:960px) {
  .contents_wrapper {
    padding-bottom: 26.66vw;
  }
  .contents_wrapper .main_lead {
    font-size: 1.2rem;
    margin-bottom: 13.33vw;
  }
  .contents_wrapper .message_board {
    height: 90vh;
  }
  .contents_wrapper .message_board-deco .-top:before, .contents_wrapper .message_board-deco .-top:after {
    width: 100%;
    left: 0;
  }
  .contents_wrapper .message_board-deco .-top:before {
    height: 1rem;
    top: -1rem;
  }
  .contents_wrapper .message_board-deco .-top:after {
    height: 4.8vw;
    bottom: -4.8vw;
  }
  .contents_wrapper .message_board .message_ui {
    bottom: 3.2vw;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    padding: 1rem 0;
    width: 89.33vw;
  }
  .contents_wrapper .message_board .message_ui-list {
    gap: 4vw;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .contents_wrapper .message_board .message_ui-list__item img {
    width: 6.13vw;
  }
  .contents_wrapper .message_attention {
    width: 90.66vw;
    margin: 13.33vw auto 0;
  }
}