@charset "utf-8";

.hed_page_img {
  background-image: url(../img/front_interment.jpg);
  filter: brightness(0.8);
}

/* 作成者名:　平野 */

.interment_main {
  font-weight: 700;
  font-family: var(--ZenMincho);
  color: #333333;
  letter-spacing: 0;
  position: relative;

  &::before {
    content: "";
    display: block;
    position: fixed;
    background-image: url(../img/interment_haikei.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    opacity: 0.9;
    z-index: -10;
  }

  .kinnpunn_img {
    position: absolute;
    top: 0;
    left: 0;
    width: 30.7rem;
    height: 36.7rem;
  }

  /* 共通部分 */
  /* 画像とタイトル部分 */
  .interment_img_space {
    display: flex;
    gap: 0 3.0rem;

    .interment_title {
      margin-top: 0.8rem;
      margin-left: 8.0rem;
      font-size: 3.0rem;
      line-height: calc(39 / 30);
      writing-mode: vertical-rl;
      letter-spacing: 1.0rem;
      text-shadow: 0rem 0.2rem 0.1rem #00000029;
    }

    .interment_img {
      width: 91.1rem;
      height: 60.8rem;
    }
  }

  /* 「以下のような方に適しています。」部分 */
  .info_title {
    font-size: 2.0rem;
    line-height: calc(35 / 20);
    padding-bottom: 1.9rem;
    border-bottom: 0.1rem #8AA357 solid;
    text-shadow: 0rem 0.2rem 0.1rem #00000029;
  }

  .info_text {
    font-size: 1.8rem;
    line-height: calc(35 / 18);
    margin-top: 0.6rem;
  }

  /* 使用料 */
  .price_title {
    font-size: 1.8rem;
    line-height: calc(35 / 18);
  }

  .price_text {
    font-size: 2.2rem;
    line-height: calc(35 / 22);
  }

  /* 納骨檀 */
  .ossuary_sec {
    padding-top: 10.5rem;
    padding-bottom: 21.9rem;

    .ossuary_img {
      position: relative;
      z-index: 10;
    }

    /* 緑色の背景の説明箇所 */
    .green_space {
      background-image: url(../img/minimal-monochromatic-gray-background.png);
      background-repeat: repeat;
      background-size: auto;
      width: 72.3rem;
      min-height: 30.4rem;
      padding: 5.7rem 2.2rem 3.8rem 5.1rem;
      margin: 0 0 3.7rem auto;
      transform: translateY(-6.1rem);
      position: relative;
      z-index: 20;

      .green_text {
        font-size: 1.8rem;
        line-height: calc(35 / 18);
        padding-left: 0.739rem;
        padding-bottom: 2rem;
        border-left: 0.1rem #989898 solid;
      }
    }

    /* 以下のような方に適しています。 */
    .info_list_space {
      display: flex;
      flex-wrap: wrap;
      gap: 0 4.45rem;
      justify-content: center;

      .info_space {
        width: 54.7rem;

        .ossuary_text {
          width: 52.5rem;
        }
      }
    }

    /* 永代使用料 */
    .ossuary_price_space {
      display: flex;
      gap: 0 12.2rem;
      justify-content: right;
      align-items: flex-end;
      margin: 2.1rem 7.1rem 0 0;
    }

    /* 種類 */
    .kinds_title {
      font-size: 3.0rem;
      line-height: calc(44 / 30);
      writing-mode: vertical-rl;
      letter-spacing: 1.5rem;
      text-shadow: 0rem 0.2rem 0.1rem #00000029;
      margin: 13.0rem auto 4.4rem auto;
      position: relative;

      &::before,
      &::after {
        position: absolute;
        content: "";
        top: 42%;
        width: 51.6rem;
        height: 0.1rem;
        background-color: #8AA357;
      }

      &::before {
        right: calc(4.4rem + 1.5rem);
      }

      &::after {
        left: calc(4.4rem + 1.5rem);
      }
    }

    .gallery_image {
      height: 38.2rem;
    }

    .kinds_list {
      margin-right: 13.4rem;
      margin-left: 11.5rem;

      li {
        display: flex;
        gap: 0 2.8rem;
        margin-bottom: 4.7rem;

        .kinds_img {
          width: 31.1rem;
          height: 38.2rem;
        }

        .kinds_text_space {
          .kinds_text_title {
            font-size: 2.0rem;
            line-height: calc(35 / 20);
            width: 69.2rem;
            margin-top: -0.2rem;
            margin-bottom: 2.1rem;
          }

          .kinds_text {
            font-size: 1.8rem;
            line-height: calc(35 / 18);
            width: 69.2rem;
            margin-bottom: 5.1rem;
          }

          .kinds_price {
            font-size: 2.2rem;
            line-height: calc(35 / 22);
            text-align: right;
            margin-left: auto;
          }
        }

        &:last-of-type {
          margin-bottom: 13.5rem;
        }
      }
    }
  }

  /* 墓地 */
  .cemetery_sec {
    padding-bottom: 21.9rem;

    /* 墓地壇の基本的な使用条件 */
    .cemetery_info {
      margin-top: 4.8rem;
      margin-left: 14.8rem;

      .cemetery_title {
        width: 64.0rem;
      }

      .cemetery_text {
        width: 66.5rem;
      }
    }

    /* 使用料 */
    .cemetery_price_space {
      display: flex;
      gap: 0 13.4rem;
      justify-content: right;
      align-items: flex-end;
      margin-top: 2.2rem;
      margin-right: 49.3rem;
    }
  }
}

/* スマホ版 */
@media screen and (max-width: 699.98px) {
  .interment_main {

    .kinnpunn_img {
      width: 14.0rem;
      height: 16.7rem;
    }

    /* 共通部分 */
    /* 画像とタイトル部分 */
    .interment_img_space {
      display: flex;
      gap: 0 1.1rem;

      .interment_title {
        margin-left: 2.0rem;
        font-size: 2.5rem;
        line-height: 1;
      }

      .interment_img {
        width: 29.9rem;
        height: 20.0rem;
      }
    }

    /* 「以下のような方に適しています。」部分 */
    .info_title {
      font-size: 1.8rem;
      line-height: calc(35 / 18);
      padding-bottom: 0.3rem;
    }

    .info_text {
      font-size: 1.6rem;
      line-height: calc(35 / 16);
      margin-top: 0.7rem;
    }

    /* 使用料 */
    .price_title {
      font-size: 1.6rem;
      line-height: calc(24 / 16);
    }

    .price_text {
      font-size: 2.0rem;
      line-height: calc(35 / 20);
    }

    /* 納骨檀 */
    .ossuary_sec {
      padding-top: 5.2rem;
      padding-bottom: 8rem;

      /* 緑色の背景の説明箇所 */
      .green_space {
        width: 26.0rem;
        min-height: 46.5rem;
        padding: 0.8rem 2.0rem 3.7rem 1.7rem;
        margin: 0 0 4.2rem auto;
        transform: translateY(-1.7rem);

        .green_text {
          font-size: 1.6rem;
          line-height: calc(35 / 16);
        }
      }

      /* 以下のような方に適しています。 */
      .info_list_space {
        display: block;

        .info_space {
          width: 33.5rem;
          margin: 0 auto 3.6rem auto;

          .ossuary_text {
            width: 33.5rem;
          }

          &:last-of-type {
            margin: 0 auto;
          }
        }
      }

      /* 永代使用料 */
      .ossuary_price_space {
        display: block;
        margin: 2.6rem 2.0rem 0 2.0rem;

        .ossuary_price_title {
          letter-spacing: 0.384rem;
        }

        .ossuary_price_text {
          text-align: right;
          margin-top: 0.5rem;
        }
      }

      /* 種類 */
      .kinds_title {
        font-size: 1.8rem;
        line-height: 1;
        letter-spacing: 0.8rem;
        margin: 9.0rem auto 3.8rem auto;

        &::before,
        &::after {
          width: 14.8rem;
        }

        &::before {
          right: calc(1.8rem + 1.23rem);
        }

        &::after {
          left: calc(1.8rem + 1.23rem);
        }
      }

      .gallery_image {
        height: 30rem;
      }

      .kinds_list {
        margin-right: 2.0rem;
        margin-left: 2.0rem;

        li {
          margin-bottom: 6.4rem;
          display: block;

          .kinds_img {
            width: 33.5rem;
            height: 20.7rem;
            margin-bottom: 2.0rem;
          }

          .kinds_text_space {
            .kinds_text_title {
              font-size: 1.8rem;
              line-height: calc(35 / 18);
              width: 33.5rem;
              margin-bottom: 1.9rem;
            }

            .kinds_text {
              font-size: 1.6rem;
              line-height: calc(35 / 16);
              width: 33.5rem;
              margin-bottom: 3.1rem;
            }

            .kinds_price {
              font-size: 2.0rem;
              line-height: calc(35 / 20);
              text-align: right;
              margin-left: auto;
            }
          }

          &:last-of-type {
            margin-bottom: 8.5rem;
          }
        }
      }
    }

    /* 墓地 */
    .cemetery_sec {
      padding-bottom: 8.0rem;

      .cemetery_img_space {
        gap: 0 1.5rem;

        .cemetery_img {
          width: 29.4rem;
          height: 19.6rem;
        }
      }

      /* 墓地壇の基本的な使用条件 */
      .cemetery_info {
        margin-top: 1.9rem;
        margin-left: 0;

        .cemetery_title {
          width: 29.7rem;
          margin-left: 6.1rem;
        }

        .cemetery_text {
          width: 29.7rem;
          margin-left: 5.8rem;
        }
      }

      /* 使用料 */
      .cemetery_price_space {
        display: flex;
        gap: 0 9.1rem;
        justify-content: right;
        align-items: center;
        margin-top: 2.3rem;
        margin-right: 3.4rem;
      }
    }

    /* 修正 */
    .green_text{
      border: none!important;
    }
  }
}