@charset "utf-8";

/* キービジュアル */
#header {
  width: 100%;
  min-height: 80vh;
  background: url(image/mainV.jpg) no-repeat bottom center / 100%;
}
#header h1 {
  width: 80%;
  margin-top: 15%;
  padding: 30px 40px 30px 0;
  font-size: 3em;
  text-align: right;
  font-family:"Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  background-color: rgba(255, 255, 255, 0.5);
  float: right;
}

/* スクロールダウン */
.scroll_a {
  margin: 80px 0 0;
  padding-top: 50px;
  position: relative;
  text-align: center;
}
.scroll_a::before {
  animation: scroll_anim 2s infinite;
  border-bottom: 1px solid #000;
  border-left: 1px solid #000;
  content: "";
  height: 20px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
}
@keyframes scroll_anim {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translate(0, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: rotate(-45deg) translate(-20px, 20px);
  }
  100% {
    opacity: 0;
  }
}

/* コンテンツ部分 */
article {
	display: flex;
}
.box {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 20px;
}
.bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 0.5s ease 0s;
  z-index: -1;
}
.show .bg {
    opacity: 1;
}
.bg._01 {
	background-color: #E8B4B4;
}
.bg._02 {
	background-color: #A4C0C9;
}
.bg._03 {
	background-color: #D2BA89;
}
.bg._04 {
	background-color: #A58FAB;
}
.bg._05 {
	background-color: #C89A9A;
}
.bg._06 {
	background-color: #A9BA8E;
}

h3 {
  width: 80%;
  padding: 250px 10px 10px;
  margin-left: 9%;
  color: #fff;
  font-size: 3em;
  font-family:"Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  border-bottom: 1px solid;
  flex-basis: 100%;
  align-self: flex-start;
  position: absolute;
}
.bg._06 + h3 {
  padding: 150px 10px 10px;
}
dl {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.show_box {
  width: 360px;
  max-width: 100%;
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  box-sizing: border-box;
}
.show_box:last-child {
  margin-right: 0;
}
dl dt {
  width: 30%;
  margin-right: 20px;
  flex-shrink: 0;
}
dl dt a img{
  width: 100%;
}
dl dd {
  margin: 0;
  flex: 1;
}
h4 {
  font-size: 1em;
  font-weight: bold;
  padding-bottom: 10px;
}
p {
  font-size: 0.9em;
}

@media (max-width: 500px) {
  #header {
    min-height: 50vh;
    background-position: top center;
  }
  #header h1 {
    width: 100%;
    margin-top: 0;
    padding: 70% 0 0;
    font-size: 2em;
    text-align: center;
    background-color: rgba(255, 255, 255, 0);
    float: none;
  }

  .box {
    min-height: 150vh;
  }
  .box.sp {
    min-height: 200vh;
  }
  h3 {
    width: 90%;
    padding: 70% 10px 10px;
    margin-left: 0;
  }
  .bg._02 + h3 {
    padding: 58% 10px 10px;
  }
  .bg._03 + h3 {
    padding: 55% 10px 10px;
  }
  .bg._05 + h3 {
    padding: 15% 10px 10px;
  }
  dl {
    width: 100%;
  }
}