/* ================================================= *
 *        	common
 * ================================================= */
/* ------------------------------------
 *        	layout
------------------------------------ */
.onlySp {
  display: none;
}

@media only screen and (max-width: 768px) {
  .onlyPc {
    display: none;
  }
  .onlySp {
    display: block;
    margin: 0 auto;
  }
}
@media only screen and (max-width: 480px) {
  .BReak:before {
    display: inline;
    content: "\a";
    white-space: pre;
  }
}
.contact {
  display: none;
}

/* ================================================= *
 *        	main-visual
 * ================================================= */
.main-visual {
  height: max-content;
}

/* ================================================= *
 *        	reason
 * ================================================= */
@media only screen and (max-width: 768px) {
  .reason .container {
    padding-top: 0;
  }
}
.reason__title {
  width: min(92%, 1507px);
  margin-inline: auto;
}
.reason__title img {
  width: 100%;
}
.reason__bg {
  background-color: #fdf7df;
  padding: 80px 0 70px;
}
.reason__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 60px;
}
@media only screen and (max-width: 768px) {
  .reason__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 30px;
  }
}
.reason__item {
  position: relative;
  width: 50%;
}
@media only screen and (max-width: 768px) {
  .reason__item {
    width: 92%;
    margin-inline: auto;
  }
}
/* ------------------------------------
 *        	style
------------------------------------ */
.section-btn {
  width: min(100%, 350px);
  margin: 15px auto;
  text-align: center;
}
@media only screen and (max-width: 480px) {
  .section-btn {
    margin: 20px auto;
    font-size: 1rem;
  }
}
.section-btn__link {
  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;
  height: 68px;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.4;
}
@media only screen and (max-width: 480px) {
  .section-btn__link {
    border-radius: 10px;
  }
}
.section-btn__link:hover {
  background-color: #fff;
  border: thin solid;
}
.section-btn__link:active {
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transform: translateY(0.2em);
          transform: translateY(0.2em);
}
.reason .section-btn {
  position: absolute;
  left: 50%;
  bottom: min(2.5vw, 30px);
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: min(60%, 280px);
  margin: auto;
}
@media only screen and (max-width: 768px) {
  .reason .section-btn {
    bottom: min(4vw, 30px);
  }
}
.reason .section-btn__link {
  position: relative;
  height: auto;
  padding: 0.8rem 1.6rem;
}
.reason .section-btn__link img:hover:first-of-type {
  opacity: 0;
}
.reason .section-btn__link img:hover:last-of-type {
  opacity: 1;
}
.reason .section-btn__link img:last-of-type {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  padding: 0.8rem 1.6rem;
}
.abacus .section-btn__link {
  background-color: #3EA24A;
  -webkit-box-shadow: 0 3px #428F6B;
          box-shadow: 0 3px #428F6B;
}
@media only screen and (max-width: 480px) {
  .abacus .section-btn__link {
    font-size: 4.1666666667vw;
  }
}
.abacus .section-btn__link:hover {
  color: #3EA24A;
  background-color: #fff;
}
.calligraphy .section-btn__link {
  background-color: #0075C2;
  -webkit-box-shadow: 0 3px #0b63a4;
          box-shadow: 0 3px #0b63a4;
}
@media only screen and (max-width: 480px) {
  .calligraphy .section-btn__link {
    font-size: 4.1666666667vw;
  }
}
.calligraphy .section-btn__link:hover {
  color: #0075C2;
  background-color: #fff;
}
/* ================================================= *
 *        	secret
 * ================================================= */
.secret {
  background: url(../../campaign/img/2025/autumn/secret_bg.jpg)no-repeat center/cover;
}
@media only screen and (max-width: 768px) {
  .secret {
    padding: min(5vw, 60px) 0;
  }
}

.step__item {
  text-align: center;
}

.step__item img {
  width: 100%;
  max-width: 320px;
  height: auto;
}
.secret__title {
  margin-inline: auto;
  padding-bottom: 30px;
  font-size: 3rem;
  line-height: 1.4;
  font-weight: bold;
  text-align: center;
}  

/* ================================================= *
 *        	content-bottom
 * ================================================= */
.flow {
  text-align: center;
  width: 90%;
  margin: 30px auto 0;
  border: 3px solid #e5003e;
  border-radius: 5px;
  padding: 10px 35px;
  max-width: 980px;
}
.flow-title {
  font-size: 3rem;
  line-height: 1.4;
  font-weight: bold;
  text-align: center;
  color: #e5003e;
  padding: 10px 0 15px;
}
.flow-item {
  width: 100%;
  display: flex;
  width: fit-content;
  margin: auto;
  flex-wrap: wrap;
  justify-content: center;
}
.flow-item:not(:last-of-type)::after {
  content: url(../img/2025/autumn/arrow.png);
  width: 50%;
  margin-right: auto;
  padding: 15px 0;
}
@media only screen and (max-width: 768px) {
  .flow-item:not(:last-of-type)::after {
    width: 100%;
    margin: auto;
  }
}
.flow-step, .flow-figure {
  width: 50%;
  margin: 0 auto;
}
@media only screen and (max-width: 768px) {
  .flow-step, .flow-figure {
    width: 100%;
  }
}
.flow-step img, .flow-figure img {
  padding: 5px;
}

.special-offer {
  width: 90%;
  margin: auto;
  padding: 30px 0px;
  text-align: center;
}
.special-offer-img {
  padding: 5px;
}

.contact-footer {
  padding-bottom: 50px;
  margin: auto;
  width: fit-content;
}
.contact-footer a:hover {
  opacity: 0.7;
}

.contact {
  display: none;
}

/* ------------------------------------
 *        	style
------------------------------------ */
.flow-contact {
  text-align: center;
}
.flow-contact__btn {
  display: inline-block;
  width: min(100%, 290px);
  margin: 15px 6px;
}
.flow-contact__link {
  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;
  height: 68px;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.4;
}
.flow-contact__link::before {
  font-family: "Font Awesome 5 Free";
  font-size: 4.2rem;
  font-weight: 900;
}
.inquiry .flow-contact__link {
  background-color: #0075C2;
  -webkit-box-shadow: 0 3px #0b63a4;
          box-shadow: 0 3px #0b63a4;
}
.inquiry .flow-contact__link::before {
  content: "\f0e0";
  font-weight: 100;
  padding-right: 14px;
}
.inquiry .flow-contact__link:hover {
  color: #0075C2;
}
.telephone .flow-contact__link {
  background-color: #f7b228;
  -webkit-box-shadow: 0 3px #e88c2e;
          box-shadow: 0 3px #e88c2e;
}
.telephone .flow-contact__link::before {
  content: "\f2a0";
  -webkit-transform: rotate(-30deg);
          transform: rotate(-30deg);
  padding-right: 10px;
}
.telephone .flow-contact__link:hover {
  color: #f7b228;
}
.flow-contact__link:hover {
  background-color: #fff;
  border: thin solid;
}
.flow-contact__link:active {
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transform: translateY(0.2em);
          transform: translateY(0.2em);
}
.flow-contact__text {
  display: block;
  margin-top: 5px;
}
.flow-contact__note {
  margin-bottom: 0;
}
.flow__img {
  width: 40.54%;
}
@media only screen and (max-width: 768px) {
  .flow__img {
    display: none;
  }
}
.flow-read {
  width: 54.96%;
  margin-right: 4.5%;
  text-align: left;
}
@media only screen and (max-width: 768px) {
  .flow-read {
    width: 100%;
    margin: 0;
  }
}
.flow-read__title{
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: bold;
  background-color: #fff697;
  border: solid 1px #e5003e;
  text-align: center;
}
@media only screen and (max-width: 768px) {
  .flow-read__title {
    margin: 0 0 18px;
  }
}
.flow-read__number {
  font-size: 2rem;
  line-height: 50px;
  border-radius: 50%;
  color: #e5003e;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
}

.experience .section-btn__link {
  position: relative;
  height: 40px;
  border-radius: 10px;
  background-color: #E5003E;
  -webkit-box-shadow: 0 3px #87001E;
          box-shadow: 0 3px #87001E;
}
.experience .section-btn__link img:last-of-type {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  opacity: 0;
}
.experience .section-btn__link:hover {
  color: #E5003E;
  background-color: #fff;
}
.experience .section-btn__link:hover img:first-of-type {
  opacity: 0;
}
.experience .section-btn__link:hover img:last-of-type {
  opacity: 1;
}