@charset "UTF-8";

#videoPlay1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

/* MV  */
.mv {
  .mv_inner {
    position: relative;
    background-color: #fff;
    max-width: 95%;
    margin: 0 auto;

    .mv_main {
      position: relative;
      width: 97%;
      margin: 0 auto;

      .mv_overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(29, 95, 160, 0.29);
        border-radius: 10px;
      }

      img {
	width: 100%;
	height: 70vh;
	object-fit: cover;
      }
    }

    .mv_text {
      position: absolute;
      left: 5%;
      top: 5%;
      text-align: left;
      color: #fff;
      z-index: 1;

      .mv_title {
        font-family: 'Noto Sans JP', sans-serif;
        font-size: clamp(36px, 7vw, 120px);
        font-weight: bold;
        margin-bottom: 15px;
        line-height: 110%;
      }

      .mv_lead {
        font-size: clamp(12px, 1.4vw, 20px);
        line-height: 200%;
      }
    }
  }
}

/* service */
.service {
  padding: 80px 20px;
  background-color: #fff;

  .service_inner {
    display: flex;
    justify-content: center;
    align-items: anchor-center;
    max-width: 95%;
    width: 972px;
    margin: 0 auto;
    gap: 74px;
    flex-wrap: wrap;
  }

  .service_meta {
    flex: 1;
    min-width: 300px;

    .service_title {
      font-size: 24px;
      font-weight: bold;
      line-height: 2;
      margin-bottom: 30px;
    }

    .service_text {
      p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 30px;
      }
    }
  }

  .sector {
    opacity: 0;
    transform-origin: center;
    transform: scale(0.8);
    transition: all 0.4s ease-out;
  }

  .sector.visible {
    opacity: 1;
    transform: scale(1);
  }
}

/* housing */
.housing {
  .housing_inner {
    max-width: 95%;
    margin: 0 auto;

    .housing_box {
      display: flex;
      justify-content: space-between;
      align-items: start;
      gap: 78px;
      max-width: 1458px;
      margin: 0 22px 0 auto;
      max-height: 719px;
      overflow: hidden;

      .housing_meta {
        position: relative;
        flex: 0.43;
        margin-top: 40px;
        max-height: 719px;
        height: 670px;
        min-width: 300px;

        .housing_lead {
          margin: 62px 0 67px;
          display: flex;
          flex-direction: column;
          gap: 30px;

          p {
            font-size: 14px;
            line-height: 1.7;
            letter-spacing: 0.2px;
          }
        }

        .button {
          display: inline-block;
          background: #3183b3;
          color: #fff;
          font-size: 13px;
          border-radius: 20px;
          padding: 8px 24px;
          text-decoration: none;
          margin-bottom: 24px;
        }

        .tag-area {
          margin-top: 100px;

          .logo_wrap {
            display: flex;
            justify-content: start;
            gap: 27px;

            img {
              max-width: 202px;
              height: 22px;
            }
          }

          .tag-list {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 20px;
            font-size: 14px;
            list-style: none;

            a {
              color: #3183b3;
              text-decoration: none;
            }
          }
        }
      }

      .housing_image {
        flex: 1;
        position: relative;
        inline-size: 100%;
        block-size: 100lvh;
        clip-path: inset(0);
        inline-size: 100%;
        position: relative;

        &::before {
          content: '';
          display: block;
          padding-top: 100%;
        }

        img {
          position: fixed;
          top: 75px;
          width: min(70vw, 968px);
          height: 650px;
          border-radius: 20px;
          display: block;
          object-fit: cover;
          z-index: 1;
        }
      }

      &.housing_box_01 {
        .title_wrap {
          h3 {
            span {
              color: var(--primary-color);

              &::after {
                background-color: var(--primary-color);
              }
            }
          }
        }

        .housing_btn {
          a {
            border: 1px solid var(--primary-color);
            background-color: var(--primary-color);

            &:hover {
              color: var(--primary-color);
              background-color: #fff;
            }
          }
        }
      }

      &.housing_box_02 {
        .title_wrap {
          h3 {
            span {
              color: var(--yellow-color);

              &::after {
                background-color: var(--yellow-color);
              }
            }
          }
        }

        .housing_btn {
          a {
            border: 1px solid var(--yellow-color);
            background-color: var(--yellow-color);

            &:hover {
              color: var(--yellow-color);
              background-color: #fff;
            }
          }
        }
      }

      &.housing_box_03 {
        .title_wrap {
          h3 {
            span {
              color: var(--green-color);

              &::after {
                background-color: var(--green-color);
              }
            }
          }
        }

        .housing_btn {
          a {
            border: 1px solid var(--green-color);
            background-color: var(--green-color);

            &:hover {
              color: var(--green-color);
              background-color: #fff;
            }
          }
        }
      }
    }
  }
}

/* community */
.community {
  width: 1493px;
  max-width: 80%;
  margin: 0 50px 0 auto;
  padding-top: 100px;

  .community__image {
    position: relative;
    left: -52px;
    z-index: 2;
    border-radius: 20px;
    height: 39vw;
  }

  .community__content {
    position: relative;
    top: -235px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -235px;
    padding: 273px 50px 64px;
    color: #fff;
    border-radius: 20px;
    background-color: var(--primary-color);
    z-index: 1;
  }

  .community__left {
    flex: 1 1 300px;
    margin-bottom: 20px;

    .title_wrap {
      color: #fff;

      h3 {
        span {
          color: #fff;

          &::after {
            background-color: #fff;
          }
        }
      }
    }
  }

  .community__title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
  }

  .community__subtitle {
    font-size: 12px;
    font-style: italic;
    margin-bottom: 20px;
  }

  .community__lead {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 34px;
  }

  .community__right {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .community__description {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
  }

  .community__buttons {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
  }
}

/* team */
.team {
  margin: 100px 0 130px;
  font-family: 'Inter', sans-serif;

  .title_main {
    h2 {
      font-size: 80px;
      color: #444;
    }

    p {
      margin-top: 30px;
      line-height: 1.5;
      font-size: 16px;
      font-weight: bold;
      color: #444;
    }
  }

  .team_inner {
    width: 926px;
    margin: 0 auto;
    max-width: 95%;

    .corporate-feature__gallery {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;
      margin-top: 100px;

      .corporate-feature__card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-color: rgb(255, 255, 255);
        overflow: hidden;
                width: 270px;
                padding: 1.5em;
                border-radius: 10px;
                border: 2px solid #e3e3e3;
		box-shadow: 0 0 8px #d7d7d7;
      }

      .corporate-feature__thumb {
        display: flex;
        justify-content: center;
        align-items: normal;
	height: 130px;
        margin-bottom: 20px;

        img {
                    width: 80%;
                    max-height: fit-content;
                    display: block;
                    margin: auto;
        }
      }

      .corporate-feature__meta {
        flex-grow: 1;

        .corporate-feature__title {
          font-size: 14px;
          font-weight: bold;
          text-align: left;
          color: var(--primary-color);
          line-height: 1.4;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          line-clamp: 2;
          text-overflow: ellipsis;
          margin-bottom: 18px;
          overflow: hidden;
        }

        .corporate-feature__excerpt {
          font-size: 12px;
          line-height: 1.5;
        }
	a{
	display: block;
	text-align: right;
	background-color: rgb(82 154 188);
	color: white;
	font-size: 14px;
	font-weight: bold;
	padding: 0.2em 1em;
	width: fit-content;
	border-radius: 10px;
	margin: 2em 0 auto auto;
	}

      }
    }
  }
}

/* news */
.news {
  .news_inner {
    max-width: 95%;
    width: 1000px;
    margin: 0 auto;
    padding: 50px;
    border-radius: 20px;
    background-color: #fafafa;
  }

  .title_wrap {
    color: #444;

    h3 {
      span {
        color: #444;

        &::after {
          background-color: #444;
        }
      }
    }
  }

  .news_list {
    list-style: none;
    margin-top: 15px;
    padding: 0;

    .news_item {
      border-bottom: 1px solid #8f8d8d;

      a {
        display: flex;
        align-items: center;
        padding: 35px 40px;
        text-decoration: none;
        color: #444;
        font-size: 14px;

        &:hover {
          opacity: 0.7;
        }

        .news_date {
          color: var(--primary-color);
          font-weight: bold;
          margin-right: 80px;
        }

        .news_title {
          flex: 1;
        }
      }
    }
  }
}

/* title */
.title_main {
  display: block;
  margin: 0 auto 30px;
  text-align: center;
  max-width: 95%;

  h2 {
    font-family: 'Caveat', cursive;
    font-size: 60px;
    font-weight: normal;
    color: var(--primary-color);
  }
}

.title_wrap {
  h3 {
    font-size: 24px;
    font-weight: bold;

    span {
      position: relative;
      display: block;
      margin-top: 10px;
      font-size: 16px;
      font-family: 'Caveat', cursive;

      &::after {
        content: '';
        display: block;
        width: 63px;
        height: 5px;
        margin-top: 18px;
      }
    }
  }
}

/* btn */
.btn {
  a {
    display: block;
    min-width: 240px;
    height: 50px;
    line-height: 48px;
    padding: 0 30px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
    border-radius: 50px;
    transition: background 0.3s;

    &:hover {
      background-color: #fff;
      color: var(--primary-color);
    }
  }
}

.housing_btn {
  text-align: center;

  a {
    display: inline-block;
  }
}

.community_btn {
  text-align: center;

  a {
    height: 40px;
    line-height: 38px;
    min-width: 134px;
    color: var(--primary-color);
    background-color: #fff;
    border: 1px solid var(--primary-color);
    transition: background 0.3s;

    &:hover {
      color: #fff;
      background-color: var(--primary-color);
      border: 1px solid #fff;
    }
  }
}

/* --------------------
  SP
-------------------- */
@media screen and (max-width: 768px) {
  /* mv */
  .mv {
    .mv_inner {
      .mv_main {
        width: 100%;

        img {
          width: 100%;
          height: 70vh;
          object-fit: cover;
          border-radius: 10px;
        }
      }

      .mv_text {
        .mv_title {
          font-size: clamp(50px, 20vw, 80px);
        }

        .mv_lead {
          font-size: clamp(10px, 10vw, 20px);
          line-height: 1.7;
        }
      }
    }
  }

  /* service */
  .service {
    padding: 50px 0;

    .service_meta {
      .service_title {
        line-height: 1.6;
        font-size: 5vw;
      }

      .service_text {
        margin-bottom: 10vw;

        p {
          font-size: clamp(12px, 3.5vw, 14px);
          margin-bottom: 5vw;
        }
      }
    }
  }

  /* housing */
  .housing {
    .housing_inner {
      .housing_box {
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin: 0;
        max-width: 100%;
        max-height: 100%;

        .housing_meta {
          height: 100%;
          min-width: auto;
          width: 100%;
          margin-bottom: 60px;
          max-height: 100%;

          .housing_image_sp {
            width: 100%;
            margin-top: 40px;

            img {
              width: 100%;
              height: 50vw;
              object-fit: cover;
              object-position: bottom;
              border-radius: 20px;
            }
          }

          .housing_lead {
            margin: 30px 0 50px;
            gap: 20px;
          }

          .tag-area {
            margin-top: 50px;

            .logo_wrap {
              gap: 20px 5%;
              flex-wrap: wrap;
            }
          }
        }
      }
    }
  }

  /* community */
  .community {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 3%;

    .community__image {
      left: -3%;
      height: 47vh;
    }

    .community__content {
      top: -120px;
      padding: 160px 20px 44px;
    }

    .community__buttons {
      flex-direction: column;
      gap: 20px;
    }
  }

  /* team */
  .team {
    margin: 150px 0 80px;

    .title_main {
      h2 {
        font-size: clamp(42px, 15vw, 50px);
      }

      p {
        font-size: clamp(12px, 4vw, 16px);
      }
    }

    .team_inner {
      .corporate-feature__gallery {
        gap: 1.5em 5%;
        margin-top: 50px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        .corporate-feature__thumb {
          margin-bottom: 10px;
          align-items: center;

          img {
            width: 80%;
          }
        }
	.corporate-feature__title{
	font-size: 3.5vw !important;
	-webkit-line-clamp: 3!important;
	height: auto!important;
	margin-bottom: 10px!important;
	}
        .corporate-feature__card {
	width: 100%;
	padding: 1em;
	box-shadow: 0 0 2px #e5e5e5;
        }
      }
    }
  }

  /* news */
  .news {
    .news_inner {
      padding: 40px 20px;
      border-radius: 20px;

      .news_list {
        .news_item {
          a {
            flex-direction: column;
            align-items: start;
            gap: 7px;
            padding: 25px 10px;
            text-decoration: none;
            color: #444;
            font-size: clamp(12px, 3.5vw, 14px);

            .news_date {
              margin-right: 5%;
            }
          }
        }
      }
    }
  }

  /* title */
  .title_main {
    h2 {
      font-size: clamp(42px, 15vw, 50px);
    }
  }

  /* btn */
  .btn {
    a {
      width: max-content;
      margin: 0 auto;
    }
  }
}
