:root {
  --white: white;
  --black: black;
}

.w-layout-hflex {
  flex-direction: row;
  align-items: flex-start;
  display: flex;
}

.w-layout-vflex {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.w-layout-blockcontainer {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media screen and (max-width: 991px) {
  .w-layout-blockcontainer {
    max-width: 728px;
  }
}

@media screen and (max-width: 767px) {
  .w-layout-blockcontainer {
    max-width: none;
  }
}

.nav {
  width: 100%;
  text-align: left;
  background-image: url('../images/bg.gif');
  background-position: 0 0;
  background-size: auto;
  flex-direction: row;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
}

.wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.logo {
  width: 50%;
  align-items: center;
  padding: 0;
}

.nav-cta {
  width: 50%;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
}

.image {
  width: 30%;
}

.image-2 {
  width: 70%;
}

.header {
  width: 1000px;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.nav-box {
  width: 1000px;
  flex-direction: row;
  align-items: center;
}

.header02 {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hd-contents {
  width: 100%;
  background-image: url('../images/bg.gif');
  background-position: 0 0;
  background-size: auto;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
  padding-bottom: 40px;
}

.heading {
  color: #cf3939;
  text-align: center;
  margin-top: 60px;
  font-size: 3rem;
}

.header-area {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 20px;
}

.header-cta {
  width: 100%;
  flex-direction: row;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.cta {
  width: 100%;
  padding: 0;
}

.image-4 {
  width: 50%;
}

.img {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.img.spc, .img.spc2 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.img.cta {
  width: 80%;
}

.img.form {
  padding-bottom: 0;
}

.header_text {
  width: 50%;
}

.sc01 {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
}

.contents-wt {
  width: 100%;
  background-color: #fff;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
}

.sc02 {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
}

.tri {
  width: 100%;
}

.sc03 {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
}

.sc04 {
  width: 1000px;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  display: flex;
}

.cta-link {
  width: 50%;
  padding: 20px;
}

.link-block {
  justify-content: flex-end;
  display: flex;
}

.cta-link2 {
  justify-content: center;
  display: flex;
}

.sc-cta, .sc05 {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
}

.contents-bk {
  width: 100%;
  background-color: #404040;
  background-image: url('../images/sc05_bg.jpg');
  background-position: 0 0;
  background-size: auto;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.contents {
  width: 100%;
  background-image: url('../images/bg.gif');
  background-position: 0 0;
  background-size: auto;
  flex-direction: column;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
}

.contents.furigana {
  padding-top: 0;
  padding-bottom: 0;
}

.tri--bk {
  width: 100%;
  background-image: url('../images/bg.gif');
  background-position: 0 0;
  background-size: auto;
}

.sc05-2, .sc10, .sc07, .sc09 {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
}

.slider {
  height: 100%;
  background-color: #fff;
}

.accordion_q {
  background-color: #9f885b;
  justify-content: space-between;
  align-items: center;
  margin: 20px 20px 0;
  padding: 20px 10px;
  display: flex;
}

.info-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 2.4rem;
}

.accordion_a {
  background-color: #e6d9c2;
  margin: 0 20px 20px;
  padding: 20px;
  display: none;
}

.a_text {
  font-size: 1.2rem;
  line-height: 3rem;
}

.image-5 {
  width: 30px;
}

.slide-nav {
  font-size: 20px;
}

.sc11, .sc12 {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
}

.form-area {
  padding-top: 20px;
}

.form_box {
  width: 100%;
  background-color: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 20px 20px 0;
  padding: 20px 10px;
  display: block;
}

.form-block {
  width: 100%;
}

.form_area {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
}

.field-label {
  margin: 5px;
}

.text-field {
  width: 80%;
  margin: 5px;
}

.form.title {
  width: 20%;
  border: 1px #d1d1d1;
  margin: 5px;
  padding: 4px 12px;
}

.form-2 {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.mailform {
  margin-left: auto;
  margin-right: auto;
}

.form-block-2 {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.form-3 {
  max-width: 100%;
  margin: 20px;
}

.h-flex {
  justify-content: center;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.text-field-2 {
  width: 70%;
  margin-bottom: 0;
  margin-left: 20px;
}

.label {
  margin-bottom: 0;
  font-size: 1.3rem;
}

.label-box {
  width: 30%;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.submit-button {
  width: 50%;
  text-align: center;
  background-color: #ec8638;
  border-radius: 10px;
  margin: 10px auto;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
}

.required {
  border-radius: 5px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-left: 0;
  margin-right: 10px;
  padding: 5px 10px;
  display: flex;
  position: static;
  top: auto;
}

.requiredtext {
  aspect-ratio: auto;
  color: #fff;
  text-align: left;
  object-fit: fill;
  margin-bottom: 0;
  padding: 0;
  font-size: .9rem;
  display: block;
  position: static;
}

.textarea {
  width: 70%;
  min-height: 200px;
  margin-left: 20px;
}

.ft {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

.info-box {
  background-color: #9f885b;
  justify-content: space-between;
  align-items: center;
  margin: 20px 20px 0;
  padding: 20px 10px;
  display: flex;
}

.info-textarea {
  background-color: #e6d9c2;
  margin: 0 20px 20px;
  padding: 20px;
  display: none;
}

.infobox-text {
  font-size: .8rem;
  line-height: 3rem;
}

.infobox-text-b {
  font-size: .8rem;
  line-height: 1.5rem;
}

.info-bold {
  font-size: 1.1rem;
}

.form-block-3 {
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

.text-block {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.success-message {
  background-color: #aeff82;
  margin-left: 20px;
  margin-right: 20px;
}

.container {
  height: 70vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
}

.heading-2, .thanks-text {
  text-align: center;
}

.error-message {
  background-color: rgba(0, 0, 0, 0);
}

.text-block-3 {
  font-size: 1.3rem;
  font-weight: 700;
}

@media screen and (min-width: 1920px) {
  .img, .img.spc, .img.form {
    width: 100%;
  }

  .thanks-text {
    text-align: center;
  }
}

@media screen and (max-width: 991px) {
  .image {
    width: 50%;
  }

  .image-2 {
    width: 70%;
  }

  .header, .nav-box, .sc01, .sc02, .sc03, .sc04, .sc-cta, .sc05, .sc05-2, .sc10, .sc07, .sc09 {
    width: 100%;
  }

  .info-text {
    font-size: 1.5rem;
  }

  .a_text {
    line-height: 2rem;
  }

  .sc11, .sc12 {
    width: 100%;
  }

  .text-field-2 {
    width: 60%;
  }

  .label {
    font-size: 1.1rem;
  }

  .label-box {
    width: 40%;
  }

  .ft {
    width: 100%;
  }

  .infobox-text, .infobox-text-b {
    line-height: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .nav-cta {
    padding: 5px;
  }

  .image {
    width: 50%;
  }

  .image-2 {
    width: 80%;
  }

  .header, .nav-box, .sc01, .sc02, .sc03, .sc04, .sc-cta, .sc05, .sc05-2, .sc10, .sc07, .sc09 {
    width: 100%;
  }

  .info-text {
    font-size: 1rem;
  }

  .a_text {
    font-size: .9rem;
    line-height: 1.5rem;
  }

  .sc11, .sc12 {
    width: 100%;
  }

  .h-flex {
    width: 100%;
    flex-direction: column;
  }

  .text-field-2 {
    width: 100%;
    margin-top: 10px;
    margin-left: 0;
  }

  .label {
    width: auto;
    font-size: 1.2rem;
  }

  .label-box {
    width: 100%;
    justify-content: flex-start;
    margin-left: auto;
    margin-right: auto;
  }

  .required {
    margin-left: 10px;
  }

  .textarea {
    width: 100%;
    margin-top: 10px;
    margin-left: 0;
    padding-bottom: 8px;
  }

  .ft {
    width: 100%;
  }

  .infobox-text, .infobox-text-b {
    font-size: .9rem;
    line-height: 1.5rem;
  }

  .thanks-text {
    text-align: center;
  }

  .error-message {
    background-color: rgba(0, 0, 0, 0);
    overflow: visible;
  }
}

@media screen and (max-width: 479px) {
  .nav {
    padding-top: 0;
    padding-bottom: 0;
  }

  .nav-cta {
    padding: 5px;
  }

  .image {
    width: 55%;
  }

  .image-2, .header, .nav-box {
    width: 100%;
  }

  .header02 {
    width: 100%;
    background-image: url('../images/bg.gif');
    background-position: 0 0;
    background-size: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .heading {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 700;
  }

  .header-area {
    padding-top: 0;
    padding-bottom: 20px;
  }

  .cta {
    width: 100%;
    padding: 0;
  }

  .img {
    padding: 10px;
  }

  .img.spc {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .img.spc2 {
    padding-top: 40px;
    padding-bottom: 10px;
  }

  .img.cta {
    width: 90%;
  }

  .header_text {
    width: 70%;
    padding-left: 10px;
  }

  .sc01 {
    width: 100%;
    padding-top: 10px;
  }

  .contents-wt {
    background-color: #fff;
    background-image: none;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .sc02 {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .tri {
    background-image: none;
  }

  .sc03, .sc04 {
    width: 100%;
    padding: 0;
  }

  .cta-link {
    width: 50%;
    padding: 5px;
  }

  .sc-cta {
    width: 100%;
    padding: 0;
  }

  .sc05 {
    width: 100%;
    background-image: url('../images/sc05_bg.jpg');
    background-position: 0 0;
    background-size: cover;
    padding-top: 0;
    padding-bottom: 0;
  }

  .contents-bk {
    background-color: #404040;
    background-image: none;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .contents {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .contents.footer {
    padding-top: 10px;
  }

  .tri--bk {
    background-image: url('../images/bg.gif');
    background-position: 0 0;
    background-size: auto;
  }

  .sc05-2 {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .sc10 {
    width: 100%;
    padding: 0;
  }

  .sc07 {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .sc09 {
    width: 100%;
    padding: 0;
  }

  .slider {
    height: 100%;
    background-color: #fff;
  }

  .mask {
    padding-top: 0;
  }

  .left-arrow {
    width: 40px;
    height: 200px;
    display: block;
  }

  .right-arrow {
    width: 40px;
    height: 2rem;
    align-items: stretch;
    margin-left: auto;
    margin-right: auto;
    display: flex;
  }

  .icon {
    color: #fff;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 25px;
    display: block;
  }

  .icon-2 {
    color: #fff;
    margin-top: auto;
    margin-bottom: auto;
    font-size: 25px;
  }

  .slide {
    width: 100%;
    height: 200px;
  }

  .accordion_q {
    background-color: #9f885b;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 10px 10px 0;
    padding: 10px;
    display: flex;
  }

  .info-text {
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.2rem;
  }

  .accordion_a {
    background-color: #e6d9c2;
    margin: 0 10px 10px;
    padding: 10px;
    display: block;
  }

  .a_text {
    color: #000;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.6rem;
  }

  .image-5 {
    width: 23px;
  }

  .slide-nav {
    font-size: 14px;
  }

  .sc11 {
    width: 100%;
    padding-top: 0;
    padding-bottom: 20px;
  }

  .sc12 {
    width: 100%;
    padding: 0;
  }

  .form-area {
    padding-top: 10px;
  }

  .form_box {
    background-color: #9f885b;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 10px 10px 0;
    padding: 10px;
    display: flex;
  }

  .form-3 {
    margin-left: 10px;
    margin-right: 10px;
  }

  .h-flex {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .text-field-2 {
    width: 100%;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
  }

  .label {
    width: auto;
    font-size: 1rem;
  }

  .label-box {
    width: 100%;
    justify-content: flex-start;
    margin-left: auto;
    margin-right: auto;
  }

  .submit-button {
    width: 70%;
    background-color: #ec8638;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1rem;
  }

  .required {
    margin-left: 10px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .requiredtext {
    font-size: 10px;
  }

  .textarea {
    min-height: 200px;
  }

  .ft {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .info-box {
    background-color: #9f885b;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 10px 10px 0;
    padding: 10px;
    display: flex;
  }

  .info-textarea {
    background-color: #e6d9c2;
    margin: 0 10px 10px;
    padding: 10px;
    display: none;
  }

  .infobox-text, .infobox-text-b {
    color: #000;
    font-size: .7rem;
    font-weight: 400;
    line-height: 1.6rem;
  }

  .success-message {
    background-color: #b6ff71;
    margin-left: 10px;
    margin-right: 10px;
  }

  .text-block-2 {
    font-size: 12px;
  }

  .container {
    height: 70vh;
  }

  .heading-2 {
    background-color: #ceffd3;
    font-size: 1rem;
  }

  .thanks-text {
    text-align: center;
    font-size: 12px;
  }

  .text-block-3 {
    font-size: .6rem;
  }
}
