@charset "utf-8";
/* CSS Document */
.main {
  background-color: #f3f3f3;
}
.about-title {
  position: relative;
  background-image: url("../img/m-size/sakura.png");
  height: 50vw;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  margin-top: 100px;
  margin-bottom: 5vw;
  animation-name: fade;
  animation-duration: 3s;
  animation-iteration-count: 1;
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.about-title h2, .intro-title h2 {
  color: #333;
  position: absolute;
  font-size: 2.0vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 3vw;
  background-color: rgba(255, 255, 255, 0.8);
}
.about-text p {
  font-size: 1.8vw;
  text-align: left;
  line-height: normal;
  padding: 1vw 13vw;
}
.text h3 {
  font-size: 2vw;
  text-align: left;
  line-height: normal;
  margin: 0 13vw;
}
.text p {
  margin-bottom: 5vw;
}
.intro-title {
  position: relative;
  background-image: url("../img/m-size/nanzenin.png");
  height: 50vw;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
}
.marriage h3, .state-wrap h3, .shinbun h3 {
  font-size: 1.6vw;
  margin: 8vw auto 3vw;
}
.state-wrap h4.shinbun h4 {
  font-size: 1.2vw;
}
.marriage img {
  width: 30vw;
  margin: 0 3vw;
}
.state-wrap img {
  width: 25vw;
  margin: 1vw 2vw;
}
.state-wrap-1, .state-wrap-2 {
  display: flex;
  margin: 2vw;
}
.state-area {
  display: flex;
  justify-content: center;
}
.shinbun img {
  width: 26vw;
  margin: 1vw 2vw;
}
.intro {
  padding-bottom: 5vw;
  border-bottom: solid 1px #362d2d;
}
@media(max-width:960px) {
  .about-title {
    margin-top: 60px;
  }
  .about-text {
    padding: 5vw;
  }
  .about-title h2, .intro-title h2 {
    font-size: 5vw;
  }
  .about-text h3, .intro-title h3 {
    font-size: 5vw;
    margin: auto 2vw;
  }
  .about-text p {
    font-size: 4vw;
    padding: 0 2vw;
  }
  .marriage h3, .state-wrap h3, .shinbun h3 {
    font-size: 5vw;
  }
  .shinbun h4 {
    font-size: 4vw;
  }
  .state-wrap h4 {
    font-size: 4vw;
  }
  .about-text p {
    font-size: 4vw;
  }
  .state-area {
    display: block;
    justify-content: center;
  }
  .state-wrap-1, .state-wrap-2 {
    justify-content: center;
  }
  .state-wrap img {
    width: 40vw;
  }
  .shinbun img {
    width: 60vw;
    margin: 3vw;
  }
}