@charset "utf-8";
/* CSS Document */
.photo_area {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.photo_block {
  flex: 1;
}

.photo_block img {
  width: 100%;
  height: auto;
  display: block;
}
.photo_block_1 img {
  width: 50%;
}

.caption {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
}

/* ②③の横並び */
.photo_row {
  display: flex;
  gap: 20px;
}

.photo_item {
  flex: 1;
}



@media screen and (max-width: 768px) {
  /* 768px 以下の画面サイズに適用されるスタイル */
  .partners .txt {
    width: 100%;
  }
  #contents h2 {
    background-size: 5px 23px;
  }
  p {
    line-height: 2.7rem;
  }
  #container #contents h3 {
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 20px;
  }
  .partners .right {
    float: none;
    width: 100%;
  }
  .partners .right p {
    width: 70%;
    margin: 0px auto 10px;
    font-size: 1.6rem;
    text-align: center;
  }
  .partners .right p img {
    margin-top: 20px;
  }
  .partners .left {
    width: 100%;
  }
  .partners .left_img {
    width: 47.5%;
    font-size: 1.4rem;
    line-height: 2rem;
  }
  .partners .left_img2 {
    width: 47.5%;
    font-size: 1.4rem;
    line-height: 2rem;
    margin-right: 0;
  }
  .partners .right_img3 {
    margin: 0 auto;
    float: none;
    width: 47.5%;
  }
  .partners .right_img3 img {
    margin-top: 40px;
  }
  .p_style {
    font-size: 1.4rem;
    line-height: 2rem;
    width: 70%;
    margin: 10px auto 0;
    float: none !important;
  }
  .par_nav {
    background-color: #f6f6f6;
    padding: 30px 20px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
  }
  .par_nav li a {
    color: inherit;
    padding-left: 15px;
  }

  .photo_area {
    display: block;
  }

  /* ① */
  .photo_block_1 {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }

  .photo_block_1 img {
    width: 50%;
    margin: 0 auto;
  }

  .photo_block_1 .caption {
    width: 90%;
    margin: 8px auto 0;
    text-align: center;
  }

  /* ②③ */
  .photo_block_23 {
    width: 100%;
  }

  .photo_row {
    gap: 10px;
  }

  .photo_item {
    flex: 1;
  }

  .photo_block_23 .caption {
    margin-top: 8px;
  }
}
