/* 作成者名：東→平野  */

@charset "utf-8";

/* TOPページ共通 */
.front_main {
  font-family: var(--NotoSans);
  letter-spacing: 0;
}

.golden_ratio_container {
  display: flex;
  width: 100%;
  height: 100vh;
  gap: 0.7rem;
  position: relative;
}

.golden_ratio_item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1.618;
  position: relative;
  transition: transform 0.5s;
}

/* 黄金比の指定 */
.golden_ratio_container2 {
  display: flex;
  flex-direction: column;
  flex: 1; /* 黄金比 */
  gap: 0.7rem;
}

.golden_ratio_container3 {
  display: flex;
  flex-direction: row;
  flex: 1;
  gap: 0.7rem;
}

.golden_ratio_container4 {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.7rem;
}

.golden_ratio_container5 {
  display: flex;
  flex-direction: row;
  flex: 1;
  gap: 0.7rem;
}

.golden_ratio_container6 {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.7rem;
}

.golden_item2 {
  img {
    object-position: 74% 50%;
  }
}

.golden_ratio_item::after {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  transition: opacity 0.8s;
  opacity: 0;
  /* background-color: rgba(255, 255, 255, 0); */
}

.golden_ratio_item.color1::after {
  background-color: #f9cebf;
  opacity: 1;
}

.golden_ratio_item.color2::after {
  background-color: #bfe2db;
  opacity: 1;
}

.golden_ratio_item.color3::after {
  background-color: #b40019;
  opacity: 1;
}

/* .golden_item1::after{
  background-color: #F9CEBF;
}

.golden_item2::after{
  background-color: #BFE2DB;
}

.golden_item3::after{
  background-color: #F9CEBF;
}

.golden_item4::after{
  background-color: #B40019;
}

.golden_item5::after{
  background-color: #BFE2DB;
}

.golden_item6::after{
  background-color: #B40019;
}

.golden_item7::after{
  background-color: #F9CEBF;
} */

/* お知らせセクション */
.news_area {
  width: 100%;
  background-color: #fdf7f2;
  padding-bottom: 4rem;

  .news_title {
    padding-left: 5.7rem;
    padding-top: 4.5rem;

    .news_title_en {
      font-weight: 500;
      font-size: 8.5rem;
      color: #1d4763;
      line-height: calc(123 / 85);
    }

    .news_title_ja {
      font-weight: 500;
      font-size: 1.8rem;
      color: #1d4763;
      line-height: calc(26 / 18);
    }
  }

  .news_contents {
    width: 77.7rem;
    margin: 4.5rem auto 0rem auto;

    .news_list {
      display: flex;
      flex-wrap: wrap;
      /* justify-content: space-around; */
      margin-bottom: 9.202rem;

      .news_link {
        display: flex;
        gap: 0.9rem;
        width: 100%;
        border-bottom: 1px solid #1d4763;

        &:not(:first-child) {
          margin-top: 3.454rem;
        }

        .news_content_time {
          padding: 2.173rem 2.65rem;
          font-size: 1.6rem;
          font-family: var(--NotoSans);
          font-weight: 900;
          letter-spacing: 0;
          line-height: calc(59 / 16);
          color: #1d4763;
        }

        .news_content_title {
          padding: 2.173rem 2.65rem;
          font-size: 1.6rem;
          font-weight: 900;
          color: #000000;
          font-family: var(--NotoSans);
          letter-spacing: 0;
          line-height: calc(59 / 16);
        }
      }
    }
  }

  /* NEWS一覧へのリンク */
  .news_button_space {
    margin: 9.25rem 31.15rem 0 auto;

    .news_button {
      width: 9.3rem;
      height: 4.2rem;
      background-color: #b40019;
      border-radius: calc(4.2rem / 2);

      .news_button_txt {
        padding-left: 2.1rem;
        color: #ffffff;
        font-family: var(--NotoSans);
        font-weight: 900;
        font-size: 2rem;
        letter-spacing: 0;
        line-height: calc(42 / 20);
      }
    }
  }
}

/* 動画セクション */
.movie_container {
  display: flex;
  border-top: 1rem #ffffff solid;
  border-bottom: 1rem #ffffff solid;
  /* flex-direction: column; */
  padding-bottom: 6rem;
  width: 100%;

  .movie_space {
    /* width: 77.6rem; */
    /* height: 93.5rem; */
    width: 40%;
    aspect-ratio: 16 /9;
    padding-bottom: 5rem;
    /* height: 100%; */

    .movie {
      /* width: 77.6rem;
      height: 93.5rem; */
      object-fit: contain;
      width: 100%;
      height: 100%;
    }
  }

  .movie_description {
    width: 60%;
    padding-left: 4.5rem;
    padding-right: 6.6rem;

    .movie_title {
      font-weight: 900;
      font-size: 3.3rem;
      color: #7ac8d0;
      line-height: calc(59 / 33);
      padding-top: 3.3rem;
      padding-bottom: 5rem;
    }

    .movie_txt {
      font-weight: 900;
      font-size: 1.7rem;
      line-height: calc(39 / 17);
      color: #000000;
      padding-bottom: 10rem;
    }
  }

  /* 動画説明部分のボタン */
  .button_area {
    width: 21.4rem;
    height: 7.4rem;
    background-color: #7ac8d0;
    border-radius: 3.7rem;
    text-align: center;
    margin: 0 auto;

    .button_txt {
      font-weight: 900;
      font-size: 2.7rem;
      color: #1d4763;
      line-height: 7.4rem;
    }
  }
}

/* 画像スライド上部 */
.slider_top_area {
  background-color: #bfe2db;
  padding-top: 10.8rem;
  /* padding-bottom: 12.8rem; */
  padding-bottom: 5.95rem;
}

.slider_items {
  margin: 0 auto 1rem auto;
  align-items: center;
  width: 111.9rem;

  /* スライド画像の矢印 */
  .slick-prev {
    width: 0;
    height: 0;
    border-top: 4.4rem solid transparent;
    border-right: 2.2rem solid #ffffff;
    border-bottom: 4.4rem solid transparent;
    left: -3.8rem;

    &::before {
      content: "";
    }
  }

  .slick-next {
    width: 0;
    height: 0;
    border-top: 4.4rem solid transparent;
    border-left: 2.2rem solid #ffffff;
    border-bottom: 4.4rem solid transparent;
    right: -3.8rem;

    &::before {
      content: "";
    }
  }
}

/* 以下スライダー共通部分 */
.slider_contents {
  width: 31.3rem;
  padding: 3.6rem 3.3rem 8.8rem;
  background-color: #fff;
  border-radius: 3.6rem;
  margin-left: 3rem;
  margin-right: 3rem;
  display: block;
  word-break: break-all;
}

.slider_img {
  width: 24.8rem;
  height: 19.1rem;
  object-fit: cover;
}

.slider_title {
  font-weight: 900;
  font-size: 1.5rem;
  color: #1d4763;
  line-height: calc(59 / 19);
  padding-top: 1.4rem;
  padding-bottom: 2.2rem;
}

.slider_txt {
  font-weight: 500;
  font-size: 1.5rem;
  color: #1d4763;
  line-height: calc(27 / 15);
}

/* 機器一覧へのリンク */
.slider_button {
  width: 9.3rem;
  height: 4.2rem;
  background-color: #7ac8d0;
  border-radius: calc(4.2rem / 2);
  margin: 2.548rem 0 0 109.5rem;

  .slider_button_txt {
    padding-left: 2.1rem;
    color: #ffffff;
    font-family: var(--NotoSans);
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: 0;
    line-height: calc(42 / 20);
  }
}

/* 会社概要セクション */
.company_area {
  background-color: #7ac8d0;
  padding-left: 7.8rem;
  padding-top: 54.4rem;
  width: 100%;
  height: auto;
  position: relative;
  padding-bottom: 4.861rem;
  padding-right: 5.8rem;
}

.company_back_img {
  width: 100%;
  height: 54.4rem;
  top: 0;
  left: 0;
  position: absolute;
}

.company_title_en {
  font-size: 8.5rem;
  font-family: var(--NotoSans);
  color: #ffffff;
  position: absolute;
  top: 49rem;
  left: 7.8rem;
}

.company_text,
.company_title_ja {
  font-size: 1.8rem;
  font-family: var(--NotoSans);
  color: #ffffff;
  letter-spacing: 0;
  line-height: calc(59 / 17);
  padding-bottom: 3.7rem;
  padding-right: 25.7rem;
}

.company_title_ja {
  padding-top: 5.4rem;
}

.company_text {
  font-size: 1.7rem;
  font-family: var(--NotoSans);
  color: #ffffff;
}

/* 会社概要のボタン */
.company_button {
  margin-left: auto;
  width: 9.3rem;
  height: 4.2rem;
  background-color: #b40019;
  border-radius: calc(4.2rem / 2);

  .company_button_txt {
    color: #ffffff;
    letter-spacing: 0;
    line-height: 4.2rem;
    font-family: var(--NotoSans);
    font-weight: 900;
    font-size: 2rem;
    padding-left: 2.1rem;
  }
}

/* 経営紹介セクション */
.profile_area {
  padding-top: 4.7rem;
  padding-left: 5.8rem;
  /* max-width: 128rem; */
  /* margin: auto; */
  padding-bottom: 14rem;
  padding-right: 5.8rem;
}

.profile_title_en {
  font-size: 8.5rem;
  font-family: var(--NotoSans);
  color: #1d4763;
  letter-spacing: 0;
  line-height: calc(96 / 85);
}

.profile_title_ja {
  font-size: 1.8rem;
  font-family: var(--NotoSans);
  color: #1d4763;
  letter-spacing: 0;
  /* line-height: calc(59 / 18); */
  display: flex;
  margin-bottom: 3rem;
}

.name_en {
  font-size: 1.8rem;
  font-family: var(--NotoSans);
  color: #1d4763;
  display: flex;
  flex-direction: column-reverse;
  padding-left: 1.1rem;
}

.profile_img {
  position: sticky;
  top: 13rem;
}

.profile_content {
  display: flex;
  position: relative;
  /* padding-top: 5rem; */
  max-width: 128rem;
  margin: auto;
  align-items: flex-start;
}

.profile_detail {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  font-size: 1.8rem;
}

.profile_main_img {
  width: 42.2rem;
  height: 42.2rem;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 5.6rem;
}

.profile_name {
  display: flex;
  padding-bottom: 6.2rem;
}

.name_ja {
  font-size: 3.8rem;
  font-family: var(--NotoSans);
  color: #1d4763;
  font-weight: 900;
  letter-spacing: 0;
  line-height: calc(59 / 38);
}

.profile_detail dt,
.profile_detail dd {
  font-size: 1.7rem;
  font-family: var(--NotoSans);
  color: #1d4763;
  padding-right: 1.9rem;
  letter-spacing: 0;
  line-height: calc(59 / 18);
}

.profile_detail dt {
  width: 30%;
}

.profile_detail dd {
  width: 70%;
}

.profile_text {
  flex: 1;
}

/* 経営紹介のボタン */
.profile_button_space {
  /* margin: 0; */
  /* margin-left: calc(108.0rem - 5.8rem); */
  padding-bottom: 4.861rem;
  max-width: 128rem;
  margin: auto;
  padding-top: 5rem;

  a {
    display: block;
    width: fit-content;
    margin-left: auto;
  }

  .profile_button {
    width: 9.3rem;
    height: 4.2rem;
    background-color: #b40019;
    border-radius: calc(4.2rem / 2);
    /* margin: 0 auto; */

    .profile_button_txt {
      color: #ffffff;
      letter-spacing: 0;
      line-height: 4.2rem;
      font-family: var(--NotoSans);
      font-weight: 900;
      font-size: 2rem;
      padding-left: 2.1rem;
    }
  }
}

/* 装飾 */
.profile_back_img {
  width: 22.656rem;
  height: 9.709rem;
  object-fit: cover;
  position: absolute;
  top: 32rem;
  left: -2rem;
}

/* 画像スライド下部 */
.slider_bottom {
  display: flex;
  justify-content: center;
  background-color: #f9cebf;
  padding: 10.8rem 10.9rem 12.8rem 11.1rem;
  gap: 6rem;
  align-items: center;
}

/* スマホ用 */
@media screen and (max-width: 699.98px) {
  /* お知らせセクション */
  .news_area {
    .news_title {
      padding-top: 2.35rem;
      padding-left: 0;

      .news_title_en {
        padding-left: 1.8rem;
        font-weight: 500;
        font-size: 7rem;
        color: #1d4763;
        line-height: calc(100 / 70);
      }

      .news_title_ja {
        padding-left: 1.7rem;
        font-weight: 500;
        font-size: 1.4rem;
        color: #1d4763;
        line-height: 1;
      }
    }

    .news_contents {
      width: 34.5rem;
      /* margin: 5.0rem auto 8.206rem auto; */
      /* margin: 5.5rem auto 8.206rem auto; */
      margin: 5.5rem auto 7.8rem auto;

      .news_list {
        display: block;
        /* justify-content: space-around; */
        border-bottom: 0;
        width: 100%;
        margin-bottom: 0;

        .news_link {
          flex-direction: column;
          gap: 1rem;
          padding: 0 0.5rem;

          &:not(:first-child) {
            margin-top: 1.5rem;
          }

          .news_content_time {
            width: 100%;
            font-weight: 400;
            font-size: 1.6rem;
            color: #1d4763;
            line-height: calc(24 / 16);
            padding: 0;
            border-bottom: none;

            &:first-of-type {
              padding-top: 0;
            }
          }

          .news_content_title {
            width: 100%;
            font-size: 1.6rem;
            font-weight: 400;
            color: #000000;
            line-height: calc(25 / 16);
            padding: 0 0 0.5rem;
          }
        }
      }
    }

    /* NEWS一覧へのリンク */
    .news_button_space {
      margin-left: 13.6rem;
      padding-bottom: 6.391rem;

      .news_button {
        width: 9.3rem;
        height: 4.2rem;
        background-color: #b40019;
        border-radius: calc(4.2rem / 2);

        .news_button_txt {
          padding-left: 2.1rem;
          color: #ffffff;
          font-family: var(--NotoSans);
          font-weight: 900;
          font-size: 2rem;
          letter-spacing: 0;
          line-height: calc(42 / 20);
        }
      }
    }
  }

  /* 動画セクション */
  .movie_container {
    display: flex;
    flex-direction: column-reverse;
    border-top: 0.5rem #ffffff solid;
    border-bottom: 0.5rem #ffffff solid;
    padding-bottom: 0;

    .movie_space {
      margin: 0;
      padding: 0;
      width: 100%;
      /* height: 66.3rem; */

      .movie {
        width: 100%;
        height: 100%;
      }
    }

    .movie_description {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
      padding-bottom: 6.4rem;
      width: 100%;

      .movie_title {
        font-weight: 500;
        font-size: 2.6rem;
        color: #7ac8d0;
        line-height: calc(50 / 33);
        padding-top: 5.7rem;
        padding-bottom: 3rem;
      }

      .movie_txt {
        font-weight: 400;
        font-size: 1.6rem;
        color: #000000;
        line-height: calc(39 / 16);
        padding-bottom: 0.6rem;
      }

      .button_area {
        width: 20rem;
        height: 5rem;
        background-color: #7ac8d0;
        border-radius: calc(5rem / 2);
        text-align: center;
        margin: 0 auto;

        .button_txt {
          font-weight: 700;
          font-size: 1.5rem;
          color: #1d4763;
          line-height: 5rem;
        }
      }
    }
  }

  .slider_top_area {
    background-color: #bfe2db;
    padding: 10.4rem 0 3.1rem 0;
    border-bottom: 0.5rem #ffffff solid;
    overflow: hidden;

    /* 画像スライド上部 */
    .slider_items {
      margin: 0 3.75rem;
      align-items: center;
      width: 30rem;

      li {
        .slider_contents {
          width: 100%;
          min-height: 45.4rem;
          /* width: 31.3rem; */
          padding: 3rem 2.6rem;
          background-color: #ffffff;
          border-radius: 3.6rem;
          margin: 0;

          .slider_img {
            width: 24.8rem;
            height: 19.1rem;
          }

          .slider_title {
            font-weight: 900;
            font-size: 1.5rem;
            color: #1d4763;
            line-height: 1.05;
            padding-top: 1.5rem;
            padding-bottom: 2rem;
          }

          .slider_txt {
            font-weight: 500;
            font-size: 1.5rem;
            color: #1d4763;
            line-height: calc(27 / 15);
          }
        }
      }

      /* スライド画像の矢印 */
      .slick-prev {
        width: 0;
        height: 0;
        border-top: 4.4rem solid transparent;
        border-right: 2.8rem solid #ffffff;
        border-bottom: 4.4rem solid transparent;
        left: -3.8rem;

        &::before {
          content: "";
        }
      }

      .slick-next {
        width: 0;
        height: 0;
        border-top: 4.4rem solid transparent;
        border-left: 2.8rem solid #ffffff;
        border-bottom: 4.4rem solid transparent;
        right: -3.8rem;

        &::before {
          content: "";
        }
      }
    }

    /* 機器一覧へのリンク */
    .slider_button {
      width: 9.3rem;
      height: 4.2rem;
      background-color: #7ac8d0;
      border-radius: calc(4.2rem / 2);
      margin: 3.1rem auto 0 auto;

      .slider_button_txt {
        font-weight: 900;
        font-size: 2rem;
        padding-left: 2.1rem;
        color: #ffffff;
        line-height: calc(42 / 20);
      }
    }
  }

  /* 会社概要セクション */
  .company_area {
    background-color: #7ac8d0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding: 0;
    width: 100%;
    position: static;

    .company_back_img {
      width: 100%;
      height: 54rem;
      position: static;
    }

    .company_title_en {
      font-weight: 500;
      font-size: 6.5rem;
      color: #fdf7f3;
      line-height: calc(98 / 65);
      position: static;
      transform: translateY(-4.3rem);
      padding: 0 1.5rem;
    }

    .company_title_ja {
      font-weight: 500;
      font-size: 1.4rem;
      color: #fdf7f2;
      line-height: 1;
      padding: 0 1.5rem 1.5rem 1.5rem;
      transform: translateY(-4.5rem);
    }

    .company_text {
      font-weight: 400;
      font-size: 1.7rem;
      color: #000000;
      line-height: calc(30 / 17);
      padding: 0 1.5rem 1.7rem 1.5rem;
      transform: translateY(-4.5rem);
    }

    /* 会社概要のボタン */
    .company_button {
      width: 9.3rem;
      height: 4.2rem;
      background-color: #b40019;
      border-radius: calc(4.2rem / 2);
      margin: 0 auto;
      transform: translateY(-3.2rem);

      .company_button_txt {
        font-weight: 900;
        font-size: 2rem;
        color: #ffffff;
        line-height: 4.2rem;
        padding-left: 2.1rem;
      }
    }
  }

  /* 経営紹介セクション */
  .profile_area {
    /* padding: 7.0rem 1.5rem 4.498rem 1.5rem; */
    padding: 7.5rem 1.5rem 4.498rem 1.5rem;

    .profile_title_en {
      font-weight: 500;
      font-size: 7rem;
      color: #1d4763;
      line-height: calc(90 / 70);
    }

    .profile_title_ja {
      font-weight: 500;
      font-size: 1.4rem;
      color: #1d4763;
      line-height: 1;
      display: block;
      margin-bottom: 2rem;
    }

    .profile_content {
      display: block;
      position: relative;

      .profile_img {
        margin-bottom: 5.6rem;
        position: static;

        .profile_main_img {
          width: 34.5rem;
          height: 34.5rem;
          border-radius: 50%;
          margin: 0 auto;
        }

        /* 装飾 */
        .profile_back_img {
          width: 22.656rem;
          height: 9.709rem;
          position: absolute;
          top: 26.1rem;
          left: -1.5rem;
        }
      }

      .profile_name {
        display: flex;
        padding-bottom: 4.6rem;
        align-items: flex-end;

        .name_ja {
          font-weight: 500;
          font-size: 3.8rem;
          color: #1d4763;
          line-height: 1;
        }

        .name_en {
          font-weight: 500;
          font-size: 1.8rem;
          color: #1d4763;
          line-height: 1;
          display: block;
          padding-left: 1.1rem;
        }
      }

      .profile_detail {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 4.5rem;
        width: 100%;

        dt,
        dd {
          font-weight: 400;
          font-size: 1.4rem;
          color: #1d4763;
          line-height: calc(25 / 17);
          padding-right: 0;
          padding-bottom: 3rem;
        }

        dt {
          width: 8.2rem;
        }

        dd {
          width: calc(100% - 8.7rem);
          margin-left: 0.5rem;
        }
      }
    }

    /* 経営紹介のボタン */
    .profile_button_space {
      margin: 0;
      padding-bottom: 0;

      .profile_button {
        width: 9.3rem;
        height: 4.2rem;
        background-color: #b40019;
        border-radius: calc(4.2rem / 2);
        margin: 0 auto;

        .profile_button_txt {
          font-weight: 900;
          font-size: 2rem;
          color: #ffffff;
          line-height: 4.2rem;
          padding-left: 2.1rem;
        }
      }
    }
  }

  /* 画像スライド下部 */
  .slider_bottom {
    display: flex;
    justify-content: space-between;
    background-color: #bfe2db;
    padding: 10.4rem 0;
    gap: 0;
    align-items: center;

    .slider_contents {
      width: 30rem;
      min-height: 45.4rem;
      padding: 3rem 2.6rem;
      background-color: #ffffff;
      border-radius: 3.6rem;

      .slider_img {
        width: 24.8rem;
        height: 19.1rem;
      }

      .slider_title {
        font-weight: 900;
        font-size: 1.5rem;
        color: #1d4763;
        line-height: calc(21 / 15);
        padding-top: 1.3rem;
        padding-bottom: 1.7rem;
      }

      .slider_txt {
        font-weight: 500;
        font-size: 1.5rem;
        color: #1d4763;
        line-height: calc(27 / 15);
      }
    }

    /* スライド画像の矢印 */
    .triangle_left {
      width: 0;
      height: 0;
      border-top: 4.4rem solid transparent;
      border-right: 2.8rem solid #ffffff;
      border-bottom: 4.4rem solid transparent;
    }

    .triangle_right {
      width: 0;
      height: 0;
      border-top: 4.4rem solid transparent;
      border-left: 2.8rem solid #ffffff;
      border-bottom: 4.4rem solid transparent;
    }
  }

  .golden_ratio_item {
    display: none;
  }
}
