/* Reset */
* { margin: 0; padding: 0;}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}
/* ===== ファーストビュー ===== */
.fv {
  position: relative;
  width: 100%;
  height: 700px; /* ← 高さ固定に変更 */
  background: #272727;
  overflow: hidden;
  padding: 40px 0;
}
.fv-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fv-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #272727;
  z-index: 1;
}

.fv-img {
  position: relative;
  width: 1280px;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
  z-index: 2;
  /*animation: rollUpImg 1s ease-out forwards;*/
  filter: blur(10px);      /* 最初はぼかす */
  opacity: 0;              /* 最初は透明 */
  transition: filter 1.5s ease-out, opacity 1.5s ease-out;
}

/* 表示されたらくっきり */
.fv-img.is-visible {
  filter: blur(0);
  opacity: 1;
}

/*---- アニメーション ----*/
.smooth {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s cubic-bezier(0.37, 0, 0.63, 1);
}

.smooth.is-animated {
  clip-path: inset(0);
}

/* pタグに少し遅延を入れる */
.smooth.delay {
  transition-delay: 0.6s;
}

/* IMGアニメーション定義 */
/*@keyframes rollUpImg {
  0% {
    transform: translateY(-100px) scale(1.05); /* 少し拡大して下から */
    /*opacity: 0;
  /*}
  100% {
    transform: translateY(0) scale(1);       /* 元の位置・サイズ */
    /*opacity: 1;
  }
}*/

.fv-text {
  position: absolute;
  top: 50%;
  padding: 0 80px;
  transform: translateY(-50%);
  color: #fff;
  z-index: 3;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
}

/* fv-textにアニメーションを追加 */
/*.fv-text {
  position: absolute;
  top: 50%;
  left: -100px;
  transform: translateY(-50%);
  color: #fff;
  z-index: 3;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);

  /* アニメーション追加 */
 /* animation: rollUp 1s ease-out forwards;
}*/


.fv-text h1 {
  font-family: 'Anton', sans-serif;
  font-size: 60px;
  letter-spacing: 4px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.fv-text p {
  font-size: 30px;
  font-weight: 600;
}


/* アニメーション定義 */
/*@keyframes rollUp {
  0% {
    transform: translateY(50px); /* 下からスタート */
    /*opacity: 0;                  /* 透明 */
  /*}
  /*100% {
    transform: translateY(0);    /* 元の位置 */
    /*opacity: 1;                  /* 表示 */
  /*}
}

/* ===== リノベーション・リフォームセクション ===== */
.reform {
  background-color: #ededed;
  padding: 96px 0;
}
.reform-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}
.reform h2 {
  font-family: 'Anton', sans-serif;
  font-size: 40px;
  color: #272727;
  letter-spacing: 1.92px;
  line-height: 1.2;
  margin-bottom: 60px;
}
.reform h2 span {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #272727;
  letter-spacing: 1px;
  margin-top: 8px;
}

/* ===== グリッド ===== */
.reform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 96px;
}

.reform-card {
  position: relative; /* hover演出用 */
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;   /* 擬似要素がはみ出さないように */
}
.reform-card img {
  width: 100%;
  height: 220px; /* 固定高さ（好きな数値に調整OK） */
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.reform-card p {
  background: #272727;
  color: #fff;
  margin: 0;
  padding: 16px 8px;
  font-size: 18px;
  font-weight: 600;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
  transition: background-color 0.3s ease;
}
.reform-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background-color 0.3s ease;
  pointer-events: none;
}
.reform-card:hover::after {
  background: rgba(255,255,255,0.08);
}
.reform-card:hover p {
  background: #333; /* キャプションを少し明るく */
}
.reform-card:hover img {
  transform: scale(1.01); /* ほんの少し拡大 */
}

/* ===== アーカイブボタン ===== */
.archive-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 60px;
  background-color: #272727;
  border: 1px solid #fff;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  transition: background-color 0.3s ease;
}
.archive-link:hover {
  background-color: #333;
}
.archive-text {
  font-size: 16px;
  font-weight:bold;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 1.2px;
}
.japanese-text {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  letter-spacing: 1px;
  margin-top: 4px;
}
.arrow-button {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}
.archive-link:hover .arrow-button {
  background-color: rgba(255, 255, 255, 0.1);
}
.arrow-icon {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

@media (max-width: 1380px) {
  .fv-text {
    padding: 0 80px;
	left: 0;
  }
}

@media (max-width: 768px) {
  .fv {
    height: 520px;
	padding:0 0 40px 0;
  }
  .fv-inner {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  .fv-bg {
    width: 20%;
  } 
  .fv-img {
    width: 80%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    margin-left: 20%;
  }
  .fv-text {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    padding-left: 0;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
  }
  .fv-text h1 {
    font-size: 32px;
    line-height: 1.2;
  }
  .fv-text p {
    font-size: 16px;
    line-height: 1.5;
  }
  .reform {
    padding: 60px 0;
  }
  .reform-inner {
    padding: 0 24px;
  }
  .reform-grid {
    grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	align-items: stretch;
	margin-bottom: 40px;
  }
  .reform-card {
    display: flex;
	flex-direction: column;
  }
  .reform-card img{
    height:180px;  
  }
  .reform-card p {
    font-size: 12px;
	padding: 8px;
	flex-grow: 1;
  }
  .archive-link {
    padding: 30px 20px;
  }
  .archive-text {
    font-size: 20px;
  }
  .japanese-text {
    font-size: 16px;
  }
  .arrow-button {
    width: 40px;
    height: 40px;
    right: 20px;
  }
 }

@media (max-width: 480px) {
  .fv-text {
    padding: 0 10px;
  }
  .fv-text h1 {
    font-size: 20px;
    letter-spacing: 1.4px;
    line-height: 20px;
  }
  .fv-text p {
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 0.7px; 
  }
  .reform {
    padding: 30px 0;
  }  
  .reform-inner {
    padding: 0 20px;
  }
  .reform-grid {
    gap: 8px; 
  }
  .reform h2 {
    font-size: 24px;
    letter-spacing: 0.5px;
    line-height: 1.3;
	margin-bottom: 24px;
  }
  .reform h2 span {
    font-size: 12px;
    letter-spacing: 0px;
	margin-top: 4px;	
  }
  .archive-link {
    padding: 20px 60px;
  } 
  .archive-text {
    font-size: 12px;
  }
  .japanese-text {
    font-size: 16px;
  }
}
