/* ---------------------------------------------------
	common
------------------------------------------------------ */
section .swiper-button-next,
section .swiper-button-prev {
  color: #000;
  position: absolute;
  right: 0;
  top: auto;
  bottom: 0;
  width: auto;
  height: auto;
  white-space: nowrap;
}
section .swiper-button-next::after,
section .swiper-button-prev::after {
  content: none;
}
section .swiper-button-prev {
  right: auto;
  left: 0;
}

.section__title {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 20px;
  background: linear-gradient(to bottom, transparent 0%, transparent 64%, #f8b62d 65%);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.section__description {
  margin-bottom: 100px;
  font-size: 1.8rem;
  line-height: 2;
  letter-spacing: 0.1em;
  text-align: center;
}

.bg__white {
  position: relative;
  padding: 100px 40px;
  background: #fff;
  border-radius: 30px;
}
.bg__white .bg__top {
  position: absolute;
  right: 0;
  top: -20px;
}
.bg__white .bg__bottom {
  position: absolute;
  left: 0;
  bottom: -20px;
}

@media screen and (max-width: 768px) {
  section .swiper:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 34px;
    background: #fff;
    z-index: 3;
  }
  section .swiper-button-next,
  section .swiper-button-prev {
    width: 50%;
    padding: 10px;
    text-align: center;
  }
  .section__title {
    margin-bottom: 15px;
    font-size: 2rem;
  }
  .section__description {
    margin-bottom: 60px;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
  }
  .bg__white {
    padding: 40px 15px;
    border-radius: 20px;
  }
  .bg__white .bg__top {
    right: -5px;
    top: -10px;
    max-width: 80%;
  }
  .bg__white .bg__bottom {
    left: -5px;
    bottom: -20px;
    max-width: 80%;
  }
}
/* ---------------------------------------------------
	main
------------------------------------------------------ */
.header__logo {
  padding: 10px 6%;
  background: #fff;
  line-height: 1;
}

#mainvisual {
  position: relative;
  max-width: 1050px;
  margin: 0 auto;
  z-index: 0;
}
#mainvisual .main__title {
  text-align: center;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  .header__logo {
    padding: 10px 4%;
  }
  .header__logo img {
    width: 120px;
    height: auto;
  }
  #mainvisual .main__title {
    text-align: center;
    line-height: 1;
  }
}
/* ---------------------------------------------------
	lead
------------------------------------------------------ */
#lead {
  margin-top: -65px;
  padding: 105px 0 55px;
  text-align: left;
  background: url(../images/top/back_lead.png) no-repeat center top/cover;
  position: relative;
  z-index: 1;
}
#lead .container {
  max-width: 920px;
}
#lead .lead__title {
  width: 532px;
  margin-bottom: 30px;
}
#lead .lead__text {
  margin: 0 10px 30px;
  letter-spacing: 1px;
}
#lead .lead__box {
  background-color: #fff;
  border-radius: 10px;
  padding: 35px 40px 30px;
  display: flex;
  justify-content: space-between;
}
#lead .lead__box div:nth-of-type(1) {
  flex: 1;
}
#lead .lead__box div:nth-of-type(2) {
  flex-basis: 38%;
}
#lead .lead__box img {
  height: 98px;
  width: auto;
  margin-bottom: 16px;
}
#lead .lead__box img:nth-of-type(1) {
  margin-right: 25px;
}
#lead .lead__box p {
  line-height: 1.5;
}
#lead .lead__box p:nth-of-type(1) {
  margin-bottom: 15px;
}
#lead .lead__box a {
  display: inline-block;
  font-size: 1.42rem;
  border-bottom: 2px solid #666;
  padding-bottom: 5px;
}

@media screen and (min-width: 2000px) {
  #lead {
    margin-top: -65px;
    padding: 7vw 0 55px;
  }
}
@media screen and (max-width: 768px) {
  #lead {
    margin-top: -20px;
    padding: 70px 0 30px;
    background: url(../images/top/back_lead.png) no-repeat center top/100%, linear-gradient(to bottom, transparent 30%, #f9d983 30%);
  }
  #lead .lead__title {
    width: 280px;
    margin-bottom: 30px;
  }
  #lead .lead__text {
    margin: 0 0px 30px;
    letter-spacing: 1px;
  }
  #lead .lead__box {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px 25px 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
  }
  #lead .lead__box div:nth-of-type(1) {
    flex: 1;
  }
  #lead .lead__box div:nth-of-type(2) {
    flex-basis: 38%;
  }
  #lead .lead__box img {
    height: 70px;
    width: auto;
    margin-bottom: 20px;
  }
  #lead .lead__box img:nth-of-type(1) {
    margin-right: 25px;
  }
  #lead .lead__box p {
    margin-bottom: 30px;
  }
  #lead .lead__box p:nth-of-type(1) {
    margin-bottom: 15px;
  }
  #lead .lead__box a {
    display: inline-block;
    font-size: 1.25rem;
    border-bottom: 2px solid #666;
    padding-bottom: 5px;
    letter-spacing: 0;
  }
}
@media screen and (max-width: 375px) {
  #lead .lead__box a {
    font-size: 1.05rem;
  }
}
/* ---------------------------------------------------
	decor
------------------------------------------------------ */
#decor {
  padding: 80px 0 30px;
  background-color: #f9d983;
}
#decor .decor__slider {
  height: 700px;
  margin: 0 auto;
  padding: 0 12px;
}
#decor .decor__slider .swiper-slide {
  height: auto;
  padding-bottom: 20px;
}
#decor .decor__slider .swiper-slide .txt {
  margin-top: 15px;
  line-height: 1.5;
  text-align: center;
}
#decor .swiper-button-prev,
#decor .swiper-button-next {
  bottom: 75px;
}
#decor .swiper-button-prev {
  margin-left: 55px;
}
#decor .swiper-button-next {
  margin-right: 55px;
}
#decor .swiper-button-prev--type2 {
  top: calc(50% - 20px);
  bottom: inherit;
  margin-left: 15px;
}
#decor .swiper-button-prev--type2 img {
  transform: rotate(180deg);
  width: 30px;
}
#decor .swiper-button-next--type2 {
  top: calc(50% - 20px);
  bottom: inherit;
  margin-right: 15px;
}
#decor .swiper-button-next--type2 img {
  width: 30px;
}

@media screen and (min-width: 769px) and (max-width: 1180px) {
  #decor .decor__slider {
    height: 630px;
  }
}
@media screen and (max-width: 768px) {
  #decor {
    padding: 40px 0;
  }
  #decor .decor__slider {
    max-width: 600px;
    margin: 0 auto;
    height: calc(130vw + 154px);
    padding-bottom: 50px;
  }
  #decor .decor__slider .swiper-slide {
    width: 100%;
    height: auto;
  }
  #decor .decor__slider .swiper-slide img {
    width: 100%;
  }
  #decor .decor__slider .swiper-slide .txt {
    margin-top: 8px;
    font-size: 1.8rem;
  }
  #decor .swiper-button-prev,
  #decor .swiper-button-next {
    bottom: 40px;
  }
  #decor .swiper-button-prev {
    margin-left: 0px;
  }
  #decor .swiper-button-next {
    margin-right: 0;
  }
  #decor .swiper-button-prev--type2 {
    top: calc(50% - 60px);
    bottom: inherit;
    margin-left: -20vw;
  }
  #decor .swiper-button-prev--type2 img {
    transform: rotate(180deg);
    width: 30px;
  }
  #decor .swiper-button-next--type2 {
    top: calc(50% - 60px);
    bottom: inherit;
    margin-right: -20vw;
  }
  #decor .swiper-button-next--type2 img {
    width: 30px;
  }
}
@media screen and (max-width: 700px) {
  #decor .swiper-button-prev--type2 {
    top: calc(50% - 40px);
    bottom: inherit;
    margin-left: -14vw;
  }
  #decor .swiper-button-prev--type2 img {
    transform: rotate(180deg);
    width: 30px;
  }
  #decor .swiper-button-next--type2 {
    top: calc(50% - 40px);
    bottom: inherit;
    margin-right: -14vw;
  }
  #decor .swiper-button-next--type2 img {
    width: 30px;
  }
}
@media screen and (max-width: 480px) {
  #decor .decor__slider {
    height: calc(116vw + 154px);
  }
}
/* ---------------------------------------------------
		message
------------------------------------------------------ */
#message {
  padding: 70px 0 80px;
  background-color: #f9d983;
}
#message .message__text {
  font-size: 1.6rem;
  text-align: center;
}

@media screen and (max-width: 768px) {
  #message {
    padding: 40px 0 80px;
  }
  #message .message__text {
    font-size: 1.4rem;
  }
}