.p-mikawa__list {
  margin-bottom: 60px;
}
.p-mikawa__listItem {
  margin-top: 20px;
  padding-bottom: 40px;
}
.p-mikawa__contents {
  display: flex;
  align-items: center;
}
.p-mikawa__listImg {
  width: 100%;
  max-width: 30%;
  object-fit: cover;
}
.p-mikawa__sectionTitle {
  display: flex;
  flex-direction: column;
  padding-left: 0 !important;
  font-size: 22px !important;
  font-weight: bold !important;
  background-color: #fff !important;
  color: #333 !important;
}
.p-mikawa__sectionTitle:after {
  content: "";
  display: inline-block;
  border-bottom: 3px solid #009ce6;
  width: 100%;
  margin-top: 8px;
}
.p-mikawa__listTitle {
  border: 0 !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 30px !important;
  font-weight: bold !important;
  font-size: 20px !important;
  letter-spacing: 0.03em !important;
  text-align: center !important;
}
.p-mikawa__listBlock {
  margin-left: 20px;
  width: 100%;
  overflow: hidden;
}
.p-mikawa__map {
  position: relative;
  width: 80%;
  margin: 0 auto 30px;
}
.p-mikawa__mapList {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  max-width: 600px;
  border: 1px solid #333;
  box-sizing: border-box;
}
.p-mikawa__mapItem {
  width: calc(50% - 10px);
  margin-right: 10px;
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .p-mikawa__contents {
    flex-wrap: wrap;
  }
  .p-mikawa__list {
    margin-bottom: 30px;
  }
  .p-mikawa__listItem {
    padding-bottom: 0;
  }
  .p-mikawa__listImg {
    max-width: 100%;
  }
  .p-mikawa__listBlock {
    margin-left: 0;
    margin-top: 20px;
  }
  .p-mikawa__mapItem {
    width: 100%;
    margin-right: 0;
  }
}

/* アニメーション用の要素 */
.p-mikawa__top {
  margin-bottom: 60px;
}
.p-mikawa__back {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(96, 171, 248, 1) 0%,
    rgba(155, 201, 247, 1) 20%,
    rgba(155, 201, 247, 1) 8%,
    rgba(255, 255, 255, 0.7) 70%
  );
  width: 100%;
  height: 100%;
  z-index: 100;
}
@media (max-width: 640px) {
  .p-mikawa__back {
    width: 100vw;
    background: rgba(255, 255, 255, 0.7);
  }
}

.p-mikawa__fadeTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  color: #fff;
  font-size: 28px !important;
  font-weight: bold;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .p-mikawa__fadeTitle {
    background: radial-gradient(
      ellipse at center,
      rgba(96, 171, 248, 1) 0%,
      rgba(155, 201, 247, 1) 20%,
      rgba(155, 201, 247, 1) 8%,
      rgba(255, 255, 255, 0.7) 70%
    );
  }
}

.p-mikawa__fadeBack2 {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    #7ccc7c 0%,
    #90ee90 15%,
    #beedbe 30%,
    transparent 70%
  );
  z-index: -1;
  opacity: 0;
  transition: 1s all linear;
}
.p-mikawa__fadeBack2.show {
  opacity: 1;
  z-index: 1;
}
.p-mikawa__fadeTitle2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  color: #fff;
  line-height: 1.2 !important;
  font-size: 24px !important;
  font-weight: bold;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .p-mikawa__fadeBack2 {
    background: transparent;
  }
  .p-mikawa__fadeTitle2 {
    background: radial-gradient(
      ellipse at center,
      #7ccc7c 0%,
      #90ee90 28%,
      #beedbe 55%,
      transparent 71%
    );
  }
}
.p-mikawa__fadeBack3 {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    #ff6347 0%,
    #ffa899 19%,
    #ffd4cc 36%,
    transparent 70%
  );
  z-index: -1;
  opacity: 0;
  transition: 1s all linear;
}
.p-mikawa__fadeBack3.show {
  opacity: 1;
  z-index: 1;
}
.p-mikawa__fadeTitle3 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  color: #fff;
  line-height: 1.2 !important;
  font-size: 24px !important;
  font-weight: bold;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .p-mikawa__fadeBack3 {
    background: transparent;
  }
  .p-mikawa__fadeTitle3 {
    background: radial-gradient(
      ellipse at center,
      #ff6347 0%,
      #ffa899 39%,
      #ffd4cc 60%,
      transparent 70%
    );
  }
}

.p-mikawa__fadeBack4 {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    #ffd700 0%,
    #fff099 19%,
    #fff7cc 36%,
    transparent 70%
  );
  z-index: -1;
  opacity: 0;
  transition: 1s all linear;
}
.p-mikawa__fadeBack4.show {
  opacity: 1;
  z-index: 1;
}
.p-mikawa__fadeTitle4 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  color: #fff;
  line-height: 1.2 !important;
  font-size: 24px !important;
  font-weight: bold;
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .p-mikawa__fadeBack4 {
    background: transparent;
  }
  .p-mikawa__fadeTitle4 {
    background: radial-gradient(
      ellipse at center,
      #ffd700 32%,
      #fff099 61%,
      #fff7cf 63%,
      transparent 70%
    );
  }
}

.p-mikawa__fadeSmallText {
  display: block;
}
.p-mikawa__fadeText1,
.p-mikawa__fadeText2 {
  line-height: 1.2 !important;
  margin: 8px 0 !important;
  font-size: 20px !important;
  font-weight: bold;
  transition: 1s cubic-bezier(0.8, 0, 0.2, 1);
}
.p-mikawa__fadeText1.show,
.p-mikawa__fadeText2.show {
  transform: translateX(0);
}
/* マップのアニメーション */
.p-mikawa__mapImage1 {
  width: 100%;
  z-index: 1;
  transition: 1s all linear;
}
/* 電車のアニメーション */
.p-mikawa__animation1 {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 20%;
  transition: 1s all linear;
}
.p-mikawa__animation1.action {
  width: 40%;
}
/* 抹茶のアニメーション */
.p-mikawa__animation2 {
  display: none;
  width: 90%;
  z-index: -1;
}
/* うなぎのアニメーション */
.p-mikawa__animation3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20%;
  z-index: -1;
  transform: translateX(-100%);
  transition: 1s all linear;
}
.p-mikawa__animation3.action {
  left: 90%;
}
/* たこのアニメーション */
.p-mikawa__animation4 {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  z-index: -1;
  transition: 1s all linear;
  transform: translateX(-100%);
}
.p-mikawa__animation4.action {
  top: 0;
  right: -10%;
  width: 20%;
}

@media (max-width: 640px) {
  .mikawaContent {
    overflow: hidden;
  }
  .p-mikawa__map {
    width: 100%;
  }
}
