.fv {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 750px;
  margin: 0 0 30px;
}
@keyframes fadeBg {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    z-index: 0;
  }
}
@keyframes fadeText {
  0% {
    opacity: 0;
  }
  7% {
    opacity: 0;
  }
  11% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.fv::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: url("../img/fv_frame_top.png") no-repeat left top/100% auto,
    url("../img/fv_frame_bottom.png") no-repeat left bottom/100% auto;
  z-index: 10;
}
.fv__slide {
  width: 100%;
  height: 100%;
}
.fv__slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: block;
  background: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 0;
  animation-name: fadeBg;
  animation-duration: 35s;
  animation-iteration-count: infinite;
}
.fv__slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 600px);
  display: block;
  box-sizing: border-box;
  width: 1200px;
  height: 100%;
  background: no-repeat center top/100% auto;
  z-index: 2;
  opacity: 0;
  animation-name: fadeText;
  animation-duration: 35s;
  animation-iteration-count: infinite;
}
.fv__slide:nth-of-type(1)::before {
  background-image: url(../img/fv_bg_01.jpg);
}
.fv__slide:nth-of-type(1)::after {
  background-image: url(../img/fv_txt_01.png);
}
.fv__slide:nth-of-type(2)::before {
  background-image: url(../img/fv_bg_02.jpg);
  animation-delay: 7s;
}
.fv__slide:nth-of-type(2)::after {
  background-image: url(../img/fv_txt_02.png);
  animation-delay: 7s;
}
.fv__slide:nth-of-type(3)::before {
  background-image: url(../img/fv_bg_03.jpg);
  animation-delay: 14s;
}
.fv__slide:nth-of-type(3)::after {
  background-image: url(../img/fv_txt_03.png);
  animation-delay: 14s;
}
.fv__slide:nth-of-type(4)::before {
  background-image: url(../img/fv_bg_04.jpg);
  animation-delay: 21s;
}
.fv__slide:nth-of-type(4)::after {
  background-image: url(../img/fv_txt_04.png);
  animation-delay: 21s;
}
.fv__slide:nth-of-type(5)::before {
  background-image: url(../img/fv_bg_05.jpg);
  animation-delay: 28s;
}
.fv__slide:nth-of-type(5)::after {
  background-image: url(../img/fv_txt_05.png);
  animation-delay: 28s;
}

.news {
  display: grid;
  grid-template-columns: 1fr 5fr;
  grid-template-rows: 33px 100px;
  gap: 25px 60px;
  box-sizing: border-box;
  max-width: 900px;
  margin: 0 auto 50px;
  padding: 0 20px;
}
.news__wrap {
  height: 160px;
  overflow-y: auto;
}
.news__title {
  display: flex;
  justify-content: center;
}
.news__title img {
  max-width: 105px;
  width: 18.6667vw;
}
.news__more {
  grid-row: 2;
  max-width: 130px;
  min-width: 95px;
  width: 20vw;
  margin: 0 auto;
}
.news__more-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-height: 55px;
  min-height: 35px;
  height: 7.3333vw;
  margin: 0 auto;
  background: #6c9;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  font-size: clamp(12px, 1.9vw, 14px);
}
.news__list {
  grid-row: 1/2;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.news__list-date {
  font-size: 13px;
  letter-spacing: 1px;
}
.news__list-tit {
  font-size: 14px;
  letter-spacing: 1px;
}

.wan {
  width: 800px;
  margin: 0 auto 45px;
}

.duties {
  padding-bottom: 80px;
  background: #f2fbf7;
}
.duties__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 50px 0 40px;
  font-size: 15px;
  font-size: clamp(12px, 2vw, 15px);
  font-weight: 600;
}
.duties__title img {
  max-width: 125px;
  width: 22.66667vw;
}
.duties__wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 30px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}
.duties__def {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 380px;
  padding-top: 230px;
  background: no-repeat center top/100% auto;
}
.duties__def--business {
  background-image: url("../img/duties_img_business.png");
}
.duties__def--wedding {
  background-image: url("../img/duties_img_wedding.png");
}
.duties__def--seminar {
  background-image: url("../img/duties_img_seminar.png");
}
.duties__def--event {
  background-image: url("../img/duties_img_event.png");
}
.duties__def--funeral {
  background-image: url("../img/duties_img_funeral.png");
}
.duties__def--insurance {
  background-image: url("../img/duties_img_insurance.png");
}
.duties__def-tit {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 240px;
  min-width: 120px;
  width: 80%;
  height: 55px;
  margin: 0 auto;
  background: #6c9;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  font-size: clamp(14px, 2.2vw, 16px);
  font-weight: 600;
}
.duties__def-data {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 1px;
  text-align: justify;
}

.company {
  box-sizing: border-box;
  max-width: 840px;
  margin: 0 auto 40px;
  padding: 0 20px;
}
.company__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 50px 0 40px;
  font-size: 15px;
  font-size: clamp(12px, 2vw, 15px);
  font-weight: 600;
}
.company__title img {
  max-width: 182px;
  width: 32.4vw;
}
.company__def {
  display: flex;
  align-items: center;
  padding: 20px 0;
}
.company__def + .company__def {
  border-top: 1px solid #d6d6d6;
}
.company__def--map {
  align-items: flex-start;
  flex-direction: column;
  gap: 20px;
}
.company__def-tit {
  width: 150px;
  font-size: 15px;
}
.company__def-data {
  max-width: 650px;
  font-size: 15px;
}
.company__def-data--map {
  max-width: 100%;
}
.company__def-data--map iframe {
  max-width: 100%;
  height: 500px;
}

.sns {
  box-sizing: border-box;
  max-width: 840px;
  margin: 0 auto 80px;
  padding: 0 20px;
}
.sns__title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 50px 0 40px;
  font-size: 15px;
  font-size: clamp(12px, 2vw, 15px);
  font-weight: 600;
}
.sns__title img {
  max-width: 83px;
  width: 16vw;
}
.sns__wrap {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.sns__def {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: calc(100% - 30px);
}
.sns__def-tit {
  min-height: 3em;
  font-size: 15px;
  font-weight: 600;
}
.sns__def-data {
  font-size: 15px;
  font-weight: 600;
}
.sns__def-data a {
  color: #253f98;
}
.sns__def-qr a {
  display: flex;
  font-size: 15px;
  line-height: 1.6;
  align-items: center;
  color: #253f98;
}
.sns__def-qr img {
  width: 140px;
}

@media screen and (max-width: 750px) {
  .fv {
    height: 62vw;
    margin-bottom: 10px;
  }
  .fv__slide::after {
    left: 0;
    width: 100%;
  }
  .fv__slide:nth-of-type(1)::after {
    background-image: url(../img/fv_txt_01_sp.png);
  }
  .fv__slide:nth-of-type(2)::after {
    background-image: url(../img/fv_txt_02_sp.png);
  }
  .fv__slide:nth-of-type(3)::after {
    background-image: url(../img/fv_txt_03_sp.png);
  }
  .fv__slide:nth-of-type(4)::after {
    background-image: url(../img/fv_txt_04_sp.png);
  }
  .fv__slide:nth-of-type(5)::after {
    background-image: url(../img/fv_txt_05_sp.png);
  }
  .news {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
  }
  .duties {
    padding-bottom: 50px;
  }
  .duties__wrap {
    gap: 30px 20px;
  }
  .duties__def {
    width: calc((100% - 20px) / 2);
    padding-top: calc(30vw - 25px);
  }
  .duties__def-tit {
    height: 50px;
  }
  .wan {
    width: 100%;
    margin-bottom: 30px;
    padding: 0 20px;
  }
  .company {
    margin-bottom: 50px;
  }
  .company__def {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .sns__title {
    padding-top: 0;
  }
  .sns__wrap {
    flex-direction: column;
  }
  .sns__def {
    width: 100%;
  }
  .sns__def-tit {
    min-height: unset;
  }
}
@media screen and (max-width: 480px) {
  .duties__def {
    width: 100%;
    padding-top: calc(60vw - 25px);
  }
}
