@charset "utf-8";
/* CSS Document */
/* 左からフェードイン */
.slideinLeft.active {
  animation: slideIn01 0.6s ease-out forwards;
  line-height: 1.5;
}
@keyframes slideIn01 {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
/* 下からフェードイン　*/
.slideinBottom.active {
  animation: slideinBottom 0.6s ease-out forwards;
}
@keyframes slideinBottom {
  0% {
    transform: translateY(80px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/*　h2見出し共通　*/
.sec-tit_h2_en
{
  font-family: "Montserrat", sans-serif;
  font-weight: normal;
  font-size: clamp(2.6rem, 4.5vw, 4.8rem);
  letter-spacing: .5rem;
  display: block;
  text-transform: uppercase;
}
.sec-tit_h2_ja
{
  font-weight: normal;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  display: block;
  letter-spacing: 4px;
}
/*　h2見出し共通　ここまで　*/
h1 {
  font-size: clamp(0.4rem, 1.6vw, 0.8rem);
  text-align: right;
  font-weight: normal;
  padding-right: 10px;
  width: 100%;
  margin-left: auto;
  opacity: 0;
  word-break: auto-phrase;
}
/* ========= キービジュアル ここから ========= */
.sec-hero {
  position: relative;
  height: clamp(280px, 70vw, 480px);
  max-width: 2000px;
  margin: 0 auto 10px;
}
.hero-kv {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: url("../img/news/kv_sp_seiyaku.webp") center/cover no-repeat;
}

.kv-tit {
  position: absolute;
  left: 30px;
  bottom: 10%;
  z-index: 10;
  text-align: left;
  letter-spacing: 0.5rem;
  color: #fff;
}
.kv-tit h2 {
  font-size: clamp(3.2rem, 5.6vw, 5.6rem);
}
.kv-tit p {
  font-size: clamp(1.2rem, 2.4vw, 2.2rem);
  text-transform: capitalize;
}
/*　見出しアニメーション　*/
.eachTextAnime span{opacity: 0;}
.eachTextAnime.appeartext span{ animation:text_anime_on .3s ease-out forwards; }
@keyframes text_anime_on {
	0% {opacity:0;}
	100% {opacity:1;}
}

@media (min-width: 700px) {
  .hero-scroll {
    display: block;
    position: absolute;
    left: 15px;
    bottom: 2%;
    letter-spacing: 2px;
    height: 120px;
    line-height: 120%;
    font-size: 1.2rem;
    z-index: 3;
    text-transform: uppercase;
  }
  .hero-scroll:before {
    content: "";
    position: absolute;
    left: .2rem;
    top: 0;
    height: 0;
    width: 1px;
    background-color: #333;
    -webkit-animation: scroll 2s cubic-bezier(1,0,0,1) 1s infinite;
    animation: scroll 2s cubic-bezier(1,0,0,1) 1s infinite;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
  @keyframes scroll {
    0% {
      bottom: auto;
      top: 0;
      height: 0;
    }
    50% {
      height: 120px;
    }
    100% {
      top: auto;
      bottom: 0;
      height: 0;
    }
  }
  .hero-scroll span {
    display: inline-block;
    transform: rotate(90deg);
    transform-origin: left top;
    position: absolute;
    top: -70px;
    left: 1rem;
  }
  h1, .hero-kv {
    width: 95%;
  } 
  .kv-tit {
    width: 95%;
  }
}
@media (min-width:767px) {
  .sec-hero {
    height: 480px;
  }
}
@media (min-width: 1000px) {
  h1 {
    width: 88%;
  } 
  .hero-scroll {
    left: 5%;
  }
  .hero-kv{
    width: 88%;
    background: url("../img/news/kv_pc_seiyaku.webp") center/cover no-repeat;
  }
  .kv-tit {
    width: 88%;
  }
  .kv-tit h2, .kv-tit p {
    padding-left: 6rem;
    line-height: 1.3;
  }  
}

/* ============== カテゴリーリスト ============== */
.sec-category {
  width: min(90%, 1320px);
  margin: clamp(40px, 6vw, 80px) auto clamp(4px, 1.6vw, 40px);
  container: category-container / inline-size;
}
.category_list {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 3vw, 40px);
}
.category_list li {
  display: flex;
  align-items: center;
  justify-content: center;
  border: solid 1px #333;
  width: 100%;
  text-box: trim-both cap alphabetic;
  padding: 22px 3rem;
  transition: .3s;
}
.category_list li a {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: 2px;
}
.category_list li.black {
  background-color: #333;
}
.category_list li.black>a {
  color: #fff;
}
.no-br {
  word-break: keep-all;
}
@container category-container (min-width: 600px) {
  .category_list {
    flex-direction: row;
  }
  .category_list li:not(.black):hover {
    opacity: 0.4;
  }
}
/* ============== コンテンツ ============== */
.sec-contents {
  margin: clamp(60px, 12vw, 180px) auto;
  container: contents-container / inline-size;
}
.news-list-wrap {
  width: min(90%, 1320px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  column-gap: clamp(12px, 3vw, 40px);
  row-gap: clamp(40px, 6vw, 80px);
}
.news-list-txt {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.2vw, 10px);
  text-align: left;
  margin-top: 14px;
}
.news-list-txt time {
  width: fit-content;
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 2px 2rem;
  font-size: 1.4rem;
  letter-spacing: 1px;
}
.news-list-txt h2 {
  font-size: clamp(1.8rem, 4.6vw, 2.2rem);
  margin: clamp(4px, 1.6vw, 6px) auto clamp(2px, 1.6vw, 4px);
}
.news-list-txt span {
  display: block;
  font-size: clamp(1.6rem, 1.3vw, 1.8rem);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.news-list-txt h3
{
  margin: 6px 0;
}
.news-list-txt p>a {
  display: inline-block;
  color:#5489BD;
}
/*　成約完売ページのみ　*/
.link_btn {
  display: flex;
  column-gap: 2rem;
  margin-top: 2rem;
}
.link_btn a {
  font-size: clamp(1.2rem, 1.4vw, 1.4rem);
  text-align: center;
  color: #777;
  width: min(90%, 140px);
  padding: 10px 8px;
  border: solid #999 1px;
  text-box: trim-both cap alphabetic;
  transition: 0.3s;
}
.link_btn a:hover {
  opacity: 0.6;
}
@container contents-container (min-width: 600px) {
  .news-list-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container contents-container (min-width: 1000px) {
  .news-list-wrap {
    grid-template-columns: 1fr;
  }
  .news-list {
    display: flex;
    flex-flow: row wrap;
  }
  .news-list-pic {
    flex: 1;
  }
  .news-list-txt {
    flex: 2;
    margin-left: 30px;
    margin-top: 0;
  }
}
/*  ==============  ページネーション ここから ==============  */
.pagination {
	margin-top: clamp(60px, 6vw, 100px);
	display: flex;
  flex-wrap: wrap;
	justify-content: center;
  gap: 0.5em;
}
.pagination button {
  width: clamp(40px, 8.9vw, 80px);
  height: clamp(40px, 8.9vw, 60px);
  border: 1px solid #333;
  background: #fff;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #333;
  transition: background 0.4s, color 0.4s;
}
.pagination button.navi-active {
  background: #333;
  color: #fff;
}
.pagination button:disabled {
  opacity: 0.5;
  cursor: default;
}








