@charset 'UTF-8';

/* destyle.css リセット----------------------------------- */

h2 {
  line-height: 1.15;
}
body {
  line-height: 1.15;
}
header,
footer {
  line-height: 1.7;
}

/* 共通----------------------------------- */

html {
  scroll-behavior: smooth;
}

.newTop {
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-weight: 400;
  font-style: normal;
  color: #282828;
  font-size: 14px;
  animation: fade 2s forwards;
}
@media (min-width:768px) {
  .newTop {
    font-size: 16px;
  }
}

@keyframes fade{
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}

p{
  line-height: 1.7;
  color: #333;
}
@media (min-width:768px) {
  p{
    line-height: 2;
}
}
img{
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
a{
  text-decoration: none;
  color: #fff;
}
ul{
  list-style: none;
}
.wrapper{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
}


.en{
  font-family: "Marcellus SC", serif;
  font-weight: 400;
  font-style: normal;
}

/* メインビジュアル---------- */

.newTop_mv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.newTop_swiper .swiper-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.newTop_swiper .swiper-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 10s ease-in-out;
  height: 100%;
}

/* ズームアニメーション */
@keyframes zoomUpAnimation {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* Swiperのアクティブ状態にズームを適用 */
.swiper-slide-active .swiper-bg,
.swiper-slide-duplicate-active .swiper-bg,
.swiper-slide-prev .swiper-bg {
  animation: zoomUpAnimation 16s linear infinite;
}

/* うっすらオーバーレイして暗く */
.newTop_swiper .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.11);
  z-index: 1;
}

/* テキスト固定 */
.main-text {
  position: absolute;     
  left: 0;                 
  top: 50%;                
  transform: translateY(-50%); 
  color: #fff;            
  padding: 20px;           
  z-index: 10;  
}

.main-text h1 {
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
  font-family: "Marcellus", serif;
}

.main-text p {
  font-size: 1.4rem;
  color: #fff ;
}

@media (min-width:768px) {
  .main-text { 
    left: 8%;                 
    top: 50%;                
  }
  .main-text h1 {
    font-size: 4.3rem;
    margin-bottom: 0.5rem;
  }
  .main-text p {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
  }
}

/* ピックアップ------------------------------------- */
.newTop_pickup{
  padding: 40px 0 40px;
  background: #f7f7f7;
  position: relative;
}

.swiper-pagination{
  bottom: 14px !important;
}

.newTop_pickup .swiper-pagination-bullet {
  width: 8px;          /* 丸のサイズ */
  height: 8px;
  background-color: #d9d9d9; /* 色はお好みで */
  opacity: 0.8;
}

.newTop_pickup .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: #4d4d4d; /* アクティブ時の色 */
}

@media (min-width:768px) {
  .swiper-pagination{
  bottom: 24px !important;
  }
  .newTop_pickup{
  padding: 72px 4% 72px;
  background: #f7f7f7;
  position: relative;
  }
  .newTop_pickup .swiper-slide img {
    transition: all .3s ease-in-out;
}
  .newTop_pickup .swiper-slide img:hover{
    opacity: .7;
  }
}

/* セクションタイトル(共通)-------------------- */

.newTop_section-title{
  font-size: 3.6rem;
}
.newTop_sub-title{
  font-size: 1.2rem;
  position: relative;
  padding-left: 24px;
  margin-bottom: 20px;
}
.newTop_sub-title::before{
  position: absolute;
  content: '';
  width: 12px;
  height: 1px;
  top: 50%;
  left: 0;
  background-color: #282828;
}

@media (min-width:768px) {
  .newTop_section-title{
    font-size: 6.4rem;
  }
  .newTop_sub-title{
    font-size: 1.6rem;
    margin-bottom: 40px;
  }
  .newTop_sub-title::before{
    width: 16px;
}
}

/* ニュース------------------------------------ */
.newTop_news-back{
  background: #fff;
  border-radius: 8px;
  padding: 5% 4%;
}
.newTop_news{
  padding: 20px 4% 40px;
  background: #f7f7f7;
}

.newTop_news-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
}

.newTop_news-item {
  border-bottom: 1px solid #999;
  padding: 10px 0 10px;
}

.newTop_news-item:first-of-type {
  padding: 0 0 10px;
}

.newTop_news-date {
  font-size: 1.4rem;
  color: #282828;
}
.newTop_news-category {
  font-size: 1.0rem;
  color: #999;
  border: 1px solid #999;
  padding: 3px 6px;
  border-radius: 50px;
  white-space: nowrap; /* 折り返さない */
}
.newTop_new-news{
  text-transform: uppercase;
  color: #fff;
  background: #282828;
  font-size: 1.1rem;
  padding: 3px 8px;
  /* border-radius: 50px; */
  white-space: nowrap; /* 折り返さない */

}

.newTop_news-title {
  color: #282828;
  line-height: 1.5;
}

.date-category{
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}


@media (min-width:768px) {
  .newTop_news{
    padding: 60px 10% 80px;
  }
  .news-container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  .news-titlebox{
    width: 20%;
  }
  .newTop_news-list{
    width: 70%;
  }
  .newTop_news-item {
    padding: 16px 0 16px;
  }
  .newTop_news-item:first-of-type{
    padding: 0 0 16px;
  }
}

/* moreボタン(共通)--------------------------- */
.newTop_morebtn {
  display: flex;
  align-items: center;
  justify-content: space-between; /* テキストと矢印を両端に */
  gap: 40px;
  padding-bottom: 14px;
  border-bottom: 1px solid #282828;
  color: #282828;
  font-size: 1.6rem;
  width: 150px;
  transform: translate(0px, 0%);
}
.newTop_morebtn-position{
  display: flex;
  justify-content: flex-end; 
  margin-top: 20px;
}
@media (min-width:768px) {
  .newTop_morebtn {
    font-size: 2.0rem;
    width: 170px;
  }
  .newTop_morebtn .arrow-img{
    transition: transform 0.3s ease;
  }
  .newTop_morebtn:hover .arrow-img{
    transform: translateX(5px);
  }

  .newTop_morebtn-position{
    margin-top: 30px;
}
}

/* 私たちについて------------------------------------ */
.newTop_about{
  margin: 40px auto;
  padding: 0 4%;
}
.newTop_about h3{
  margin: 20px 0 14px;
  line-height: 1.4;
}

@media (min-width:768px) {
  .newTop_about{
    margin: 90px auto 100px;
    max-width: 1100px;
  }
  .newTop_about h3{
    margin: 0 0 24px;
    font-size: 3.2rem;
  }
  .about-container{
    display: flex;
    justify-content: space-between;
  }
  .about-titlebox{
    width: 30%;
  }
  .about-textbox{
    width: 60%;
  }
}

.about-swiper .swiper-wrapper {
  transition-timing-function: linear;
}

/* スライド */
.about-swiper .swiper-slide {
  height: 250px !important; /* 高さを指定 */
  width: auto !important;
}

/* スライド内の画像 */
.about-swiper .swiper-slide img {
  width: auto;
  height: 100%;
}

@media (min-width:768px) {
  .about-swiper .swiper-slide {
  height: 500px !important; /* 高さを指定 */
  width: auto !important;
}
}

/* 髙松グループについて-------------------------------- */
.newTop_group{
  background: #f7f7f7;
  padding: 50px 0 40px;
}

.newTop_group h3{
  margin: 20px 0 14px;
  line-height: 1.4;
}

@media (min-width:768px) {
  .newTop_group{
    padding: 80px 4% 120px;
  }
  .newTop_group h3{
    margin: 20px 0 24px;
    font-size: 3.2rem;
  }
  .group-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .newTop_group_img{
    width: 50%;
  }
  .newTop_group_text{
    width: 45%;
  }
}

/* 住まいづくり--------------------------------------- */
.newTop_sumai{
  padding: 50px 0 50px;
  background: linear-gradient(rgba(0, 0, 0, .6),  rgba(0, 0, 0, .6)),  url("/wp2024/wp-content/themes/takamatsu-house-kansai/img/top2/sumai.jpg");
  background-size: cover;
}
.newTop_sumai h3{
  color: #fff;
  margin: 20px 0;
  line-height: 1.4;
}
.newTop_sumai p{
  color: #fff;
}

.newTop_sumai .newTop_section-title{
  color: #fff;
}
.newTop_sumai .newTop_sub-title{
  color: #fff;
}
.newTop_sumai .newTop_sub-title::before{
  background-color: #fff;
}

.whitebtn{
  color: #fff;
  border-bottom: 1px solid #fff;
}
.sumai_graph{
  margin-top: 40px;
}

@media (min-width:768px) {
  .newTop_sumai{
    padding: 80px 0 100px;
    background-position: center center;
  }
  .sumai-container{
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
  }
  .sumai-text{
    width: 50%;
  }
  .sumai_graph{
    width: 40%;
    margin-top: 0;
  }
  .newTop_sumai h3{
    margin: 0 0 24px;
    font-size: 3.2rem;
  }
}

/* 販売中の物件---------------------------- */
.newTop_property{
  padding: 40px 0 30px;
  /* background: #f7f7f7; */
}
.newTop_property h3{
  font-size: 2.0rem;
  position: relative;
  margin-left: 16px;
}

.newTop_property h3::before{
  content: '';
  width: 4px;
  height: 26px;
  position: absolute;
  background-color: #282828;
  left: -16px;
}

@media (min-width:768px) {
  .newTop_property{
    padding: 80px 0 100px;
  }
.newTop_property h3{
    font-size: 2.4rem;
  }
.newTop_property h3::before{
    width: 5px;
    height: 30px;
    top: 0;
    left: -16px;
  }
}

/* すべて見るボタン */
.newTop_morebtn2 {
  display: flex;
  align-items: center;
  justify-content: space-between; /* テキストと矢印を両端に */
  gap: 40px;
  padding-bottom: 14px;
  border-bottom: 1px solid #282828;
  color: #282828;
  font-size: 1.6rem;
  width: 140px;
}
@media (min-width:768px) {
  .newTop_morebtn2{
    font-size: 2.0rem;
    width: 160px;
  }
}

/* タイトルとボタンの横並び配置 */
.property-box{
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

/* カード型スライダー */
.property-swiper {
  padding-bottom: 10px;
}

.property-card {
  background: #fff;
  overflow: hidden;
  margin-top: 20px;
}

.property-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
@media (min-width:768px) {
  .property-card img{
    height: 220px;
  }
  .property-card img{
    transition: all .3s ease-in-out;
}
  .property-card:hover img{
    opacity: .7;
  }
    .newTop_morebtn2 .arrow-img{
    transition: transform 0.3s ease;
  }
  .newTop_morebtn2:hover .arrow-img{
    transform: translateX(5px);
  }

}

.property-tag {
  display: flex;
  gap: 8px;
  padding: 12px 0 0;
  color: #333;
}

.property-tag span {
  font-size: 1.2rem;
  border: 1px solid #333;
  padding: 3px 8px;
  border-radius: 0.2rem;
}

.property-name {
  font-size: 1.6rem;
  padding: 5px 0 8px;
}

@media (min-width:768px) {
  .property-tag span {
    font-size: 1.4rem;
  }

  .property-name {
    font-size: 2.0rem;
    padding: 0 0 8px;
  }
}

/* Swiper 調整 */
.property-pagination {
  margin-top: 12px;
  text-align: center;
}

.swiper-pagination-bullet {
  background-color: #d9d9d9;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #4d4d4d;
}

/* 無人内見----------------------------------- */
.newTop_mujin{
  padding: 40px 0;
  background: #f7f7f7;
}

.newTop_mujin h3{
  margin: 20px 0;
  line-height: 1.4;
}

@media (min-width:768px) {
  .newTop_mujin{
    padding: 80px 0;
  }
  .newTop_mujin h3{
    font-size: 3.2rem;
  }
  .mujin-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .newTop_mujin_img{
    width: 45%;
  }
  .newTop_mujin_text{
    width: 50%;
  }
}

/* 採用情報----------------------------------- */
.newTop_recruit{
  margin: 40px auto 60px;
}
.newTop_recruit_img{
  position: relative;
}
.newTop_recruit_img span{
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #fff;
  font-size: 1.2rem;
}
.newTop_recruit h3{
  margin: 20px 0 14px;
  line-height: 1.4;
}
.newTop_comingbtn{
  background: #282828;
  padding: 10px 24px;
  color: #fff;
  font-size: 1.6rem;
  pointer-events: none;
}
.newTop_comingbtn-position{
  text-align: center;
  margin-top: 20px;
}

@media (min-width:768px) {
  .newTop_recruit{
    margin: 70px auto 100px;
  }
  .newTop_recruit h3{
    margin: 0 0 14px;
    font-size: 3.2rem;
  }
  .recruit-container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row-reverse;
  }
  .newTop_recruit_img{
    width: 50%;
  }
  .newTop_recruit_text{
    width: 45%;
  }
  .newTop_comingbtn{
    font-size: 2.0rem;
  }
  .newTop_comingbtn-position{
    margin-top: 40px;
}
}

/* お問い合わせ----------------------------------- */
.newTop_contact{
  padding: 40px 0 50px;
  background: linear-gradient(rgba(0, 0, 0, .4),  rgba(0, 0, 0, .4)),  url("/wp2024/wp-content/themes/takamatsu-house-kansai/img/top2/mv4.jpg");
  background-size: cover;
  background-position: center 50%;
  color: #fff;

}
.contact-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}
.newTop_contact p{
  color: #fff;
}
.newTop_contactbtn-position{
  text-align: center;
  margin-top: 30px;
}
.newTop_contactbtn{
  border: 1px solid #fff;
  padding: 10px 24px;
}
.newTop_contact .newTop_sub-title::before{
  background-color: #fff;
}

@media (min-width:768px) {
  .newTop_contact-text{
    max-width: 700px;
  }
  .newTop_contact{
    padding: 70px 0 100px;
  }
  .newTop_contactbtn-position{
    margin-top: 50px;
    
  }
  .newTop_contactbtn{
    font-size: 2.0rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 0;
  }
  .newTop_contactbtn::before {
    display: block;
    content: '';
    position: absolute;
    inset: 0;
    background-color: #fff;
    transition: transform 0.6s ease;
    transform: scaleX(0);
    transform-origin: right;
    z-index: -1;
    }

  .newTop_contactbtn:hover::before{
    transform: scaleX(1);
    transform-origin: left;
  }
  .newTop_contactbtn:hover{
    color: #282828;
  }
}

/* アニメーション */
.fadein{
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s 0.4s;
}
.fadein.loaded{
  opacity: 1;
}
.slidein{
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s 0.2s;
}
.slidein.scrollin{
  opacity: 1;
  transform: translateY(0);
}