@charset "utf-8";
html {
  scroll-behavior: smooth;
}

body { 
	margin:0; 
	/* font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN", "游ゴシック体", sans-serif; */
  font-family: "Zen Kaku Gothic New", sans-serif;;
  color: #333;
}


a {
  text-decoration: none;
}

p {
  margin: 1em 0;
}

.yoyaku_calendar p{
  margin: 0;
}

img {
  max-width: 100%;
  width: 100%;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.pcblock {
  display: block;
}
.spblock {
  display: none;
}

.fukuyama_lp h3 {
  color: inherit;
  font-size: inherit;
  background-color: inherit;
  display: inherit;
  padding: inherit;
  border-radius: inherit;
  margin: inherit;
}


@media (max-width: 550px) {
  .pcblock { display: none; }
  .spblock { display: block; }

}


/* =========================
   HEADER
========================= */
.header {
  max-width: inherit;
}

.fukuyama_lp .header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 20px 10px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.6s ease, color 0.3s ease;
}

.header.loaded {
  opacity: 1; 
}

.header-inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* =========================
   LOGO
========================= */
.logo {
  position: relative;
  width: 140px;
}

.logo img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease;
}

.logo-white {
  opacity: 0;
}

.header.white .logo-black {
  opacity: 0;
}
.header.white .logo-white {
  opacity: 1;
}

/* =========================
   HAMBURGER ICON
========================= */
.hamburger {
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* 白モード */
.header.white .hamburger span {
  background-color: #fff;
}

.header.white .hamburger.active span {
  background-color: #333;
}

/* Xアニメーション */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* =========================
   MENU
========================= */
.hamburger-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: rgba(255,255,255,1);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
  transition: right 0.5s ease;
  z-index: 1050;
  display: flex;
  align-items: center;
}

.hamburger-menu.open {
  right: 0;
}

.hamburger-menu ul {
  list-style: none;
  padding: 0 2rem;
  margin: 0;
  width: 100%;
}

.hamburger-menu li {
  margin-bottom: 1.8rem;
  text-align: left;
}

.hamburger-menu a {
  text-decoration: none;
  color: #333;
  font-size: 1.4rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.hamburger-menu a:hover {
  opacity: 0.7;
}




.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fv-bg img {
  position: absolute;
  top:0; left:0;
  width:100%; 
  height:100%;
  object-fit: cover;
  opacity: 0;
}

.fv-bg1 img { z-index:1; }
.fv-bg2 img { z-index:0; }


.fv-bg.fv-bg2::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.4);
  transform: translateY(-100%); /* 上に隠す */
  transition: transform 1.5s ease; /* スライド時間 */
  z-index: 1;
}

.fv-bg.fv-bg2.show-overlay::after {
  transform: translateY(0); /* 下にスライドして全面に */
}

/* スクロールアイコン（縦線＋斜め矢印） */
.scroll-icon {
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: 30px;
  height: 50px;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 2;
  transition: opacity 1s ease;
}

.scroll-icon.show {
  opacity: 1;
}

.scroll-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 1.5px;
  background-color: #fff;
  transform: translateX(-50%);
}

.scroll-icon::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-bottom: 1.5px solid #fff;
  transform: translateX(-50%) rotate(-45deg);
}

@keyframes scroll_01 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-icon.show {
  animation: scroll_01 2s infinite;
}

.fv-text {
  position: relative;
  z-index:2;
  text-align: center;
  color: #fff;
  font-size: 3.2rem;
  /* font-weight: bold; */
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  white-space: pre-wrap;
	font-family: "Shippori Mincho", serif;
  transition: color 0.6s ease, text-shadow 0.6s ease;
}

@media screen and (max-width: 767px) {
  .fv-text {
    font-size: 2.6rem;
    margin-top: -3rem;
  }
}


.lead {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
  font-size:1.2rem;
  background:#f5f5f5;
  text-align:center;
  /* height:100vh; */
  padding: 70px 10px;
}

.lead p {
	/* font-family: "Shippori Mincho", serif; */
	line-height: 1.8;
}

.lead img {
	max-width: 600px;
	margin: 1rem auto 0;
	display: block;
}


.detail {
  position: relative;
  width: 100%;
  /* min-height: 100vh; */
  overflow: hidden;
	text-align: center;
}

.detail-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
	filter: blur(2px);
}

.detail-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  transition: background 0.8s ease;
  pointer-events: none;
}

.detail-title {
	position: relative;
	z-index: 2;
	font-family: 'Noto Serif JP', serif;
  font-weight: 400;
	font-size: 3rem;
	letter-spacing: .05em;
	margin: 0 0 20px;
}

.detail-content {
  position: relative;
  z-index: 2;
  padding: 100px 20px 120px;
  color: #fff;
}

/* 初期状態 */

.detail-text p,
.detail-img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.detail-title {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 表示用クラス */
.detail.show-overlay .detail-overlay {
  background: rgba(0,0,0,0.5);
}

.detail.show-title .detail-title {
  opacity: 1;
  transform: translateY(0);
}

.detail-text p.show-text {
  opacity: 1;
  transform: translateY(0);
}

.detail.show-img .detail-img {
  opacity: 1;
  transform: translateY(0);
}

.detail-img {
  margin-top: 50px;
}

.detail-text p {
  font-size: 18px;
}


.detail-img img {
	max-width: 750px;
	display: block;
	margin: 0 auto;
	box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}


.exterior {
  text-align: center;
  position: relative;
  background-color: #fff;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.exterior.dark {
  background-color: #1a1a1a;
  color: #fff; 
}

.exterior .inner {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}
/* .exterior h2 {
  font-size: 4rem;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: .04em;
  margin: 0;
  transition: color 0.5s ease;
} */

.exterior .txt {
  margin-top: 20px;
}
.exterior p {
  line-height: 1.8;
  font-size: 20px;
  transition: color 0.5s ease;
}

.move-title {
  font-size: 4rem;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: .04em;
  margin: 0;
  text-align: center;
  transition: color 0.5s ease;
}

.move-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* house: 昼夜切替 */
.house {
	position: relative;
	height: 100vh;
  height: 100svh;
	overflow: hidden;
}

.house-img,
.house-night {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.house-night {
	opacity: 0;
}


@media screen and (max-width: 767px) {
  .house {
    height: auto;
  }
  .house-img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }
  .house-night {
    position: absolute; /* 夜の画像だけ重ねる */
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
  }
}


.fukuyama_lp .hiraya-plan {
  display: flex;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: -20vh auto 0;
}

.fukuyama_lp .plan-title {
  font-size: 4rem;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: .04em;
  text-align: center;
  margin: 0;
}

.fukuyama_lp .plan-lead {
  text-align: center;
  font-size: 20px;
  padding-top: 10px;
}

.fukuyama_lp .plan-wrapper .title-box {
  padding: 80px 10px;
  height: auto;
}


.fukuyama_lp .plan-left {
  position: sticky;
  top: 20px; /* 上から20pxで固定 */
  flex: 0 0 50%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fukuyama_lp .plan-left .floor {
  display: none;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

.fukuyama_lp .plan-left .floor.active {
  display: block;
}

.fukuyama_lp .plan-right {
  flex: 1;
}

.fukuyama_lp .plan-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fukuyama_lp .plan-section .inner {
  padding: 0 10px;
}

.fukuyama_lp .hiraya-plan h3 {
  font-size: 30px;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: .05em;
}
.fukuyama_lp .hiraya-plan h3 span {
  font-size: 45px;
}

.fukuyama_lp .plan-section p {
  line-height: 1.8;
  font-size: 18px;
}


@media screen and (max-width: 767px) {
  .fukuyama_lp .plan-wrapper .title-box {
    padding: 80px 10px 0px;
  }
  .fukuyama_lp .hiraya-plan {
    display: block;
    margin: 0 auto;
  }

  /* 左右の分割を解除して完全縦並びに */
  .fukuyama_lp .plan-left {
    position: static;
    height: auto;
    flex: none;
  }

  .fukuyama_lp .plan-left .floor {
    display: none !important; 
  }

  .fukuyama_lp .plan-right {
    flex: none;
  }

  /* 各セクションごとに間取り画像を先頭に差し込む */
  .fukuyama_lp .plan-section[data-floor="1"]::before {
    content: "";
    display: block;
    background: url("/modelhouse/fukuyama-hiraya/img/floor1.webp") no-repeat center/contain;
    width: 100%;
    height: 0;
    padding-top: 60%; /* アスペクト比に応じて調整 */
  }

  .fukuyama_lp .plan-section[data-floor="1.5"]::before {
    content: "";
    display: block;
    background: url("/modelhouse/fukuyama-hiraya/img/floor1-5.webp") no-repeat center/contain;
    width: 100%;
    height: 0;
    padding-top: 60%;
  }
   .fukuyama_lp .plan-section[data-floor="1.5"] {
    background: #f5f5f5;
   }

  .fukuyama_lp .plan-section {
    height: auto;
    display: block;
    padding: 40px 20px;
  }

  .fukuyama_lp .hiraya-plan h3 {
    margin: 0;
  }
}


.performance {
  text-align: center;
  padding: 0 0 20vh;
}

.performance h2 {
  text-align: center;
  font-size: 40px;
  margin: 0 0 35px;
}

.performance .txt {
  font-size: 20px;
  line-height: 1.8;
}

.circular {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px 0;
}


.circle-progress {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
}

.circle-progress:nth-of-type(2) {
  transform: translateX(-20px);
}
.circle-progress:nth-of-type(3) {
  transform: translateX(-40px);
}
.circle-progress:nth-of-type(4) {
  transform: translateX(-60px);
}

/* SVGを正方形にフィット */
.circle-progress svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

/* 円の線 */
.circle-progress .progress {
  fill: none;
  stroke: #333;
  stroke-width: 1;
  stroke-dasharray: 591;  /* 半径94なら約2πr=590 */
  stroke-dashoffset: 591; /* 初期は非表示 */
  transition: stroke-dashoffset 1.5s ease;
}


.circle-progress.animate .progress {
  stroke-dashoffset: 0;
}

.circle-progress .circle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease 1s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}


.circle-progress.animate .circle-text {
  opacity: 1;
}

.circle-progress .circle-text span {
  font-size: 35px;
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
}

.circle-progress:first-of-type .circle-text span,
.circle-progress:nth-of-type(2) .circle-text span {
  font-size: 45px;
}

.circle-progress .circle-text small {
  font-size: 20px;
  line-height: 1.2;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .performance {
    padding: 10vh 0;
  }
  .circular {
    grid-template-columns: repeat(2, 1fr);
    max-width: 450px;
  }

  .circle-progress:nth-of-type(3) {
    transform: translateX(0) translateY(-25px); 
  }
  .circle-progress:nth-of-type(4) {
    transform: translateX(-20px) translateY(-25px);
  }
}


.photo-garally {
  background: #f5f5f5;
  padding: 80px 10px 110px;
  transition: background 0.5s ease;
}
.photo-garally.scrolled {
  background: #595552;
}
.photo-garally h2 {
  font-size: 4rem;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: .04em;
  text-align: center;
  margin: 0 0 50px;
  transition: color 0.5s ease;
}
.photo-garally.scrolled h2 {
  color: #fff;
}
.photo-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 950px;
  margin: 0 auto;
}

.photo-box .img1 {
  grid-row: 1 / 3;  /* ← 左が縦に2行ぶち抜き */
  grid-column: 1 / 2;
}

.photo-box .img2 {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}

.photo-box .img3 {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}

.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-box-reverse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 950px;
  margin: 10px auto 0;
}

/* 左側に横長2枚、右側に縦長1枚 */
.photo-box-reverse .img1 {
  grid-row: 1 / 2;   /* 左上 */
  grid-column: 1 / 2;
}

.photo-box-reverse .img2 {
  grid-row: 2 / 3;   /* 左下 */
  grid-column: 1 / 2;
}

.photo-box-reverse .img3 {
  grid-row: 1 / 3;   /* 右側1枚で縦に2行占有 */
  grid-column: 2 / 3;
}

.photo-box img,
.photo-box-reverse img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.photo-box div,
.photo-box-reverse div {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 遅延付きで順番にアニメーション */
.photo-box div.visible:nth-child(1),
.photo-box-reverse div.visible:nth-child(1) {
  transition-delay: 0s;
}
.photo-box div.visible:nth-child(2),
.photo-box-reverse div.visible:nth-child(2) {
  transition-delay: 0.4s;
}
.photo-box div.visible:nth-child(3),
.photo-box-reverse div.visible:nth-child(3) {
  transition-delay: 0.8s;
}

.photo-box div.visible,
.photo-box-reverse div.visible {
  opacity: 1;
  transform: translateY(0);
}



.access {
  padding: 100px 10px;
}

.access h2{
  text-align: center;
  font-size: 85px;
  letter-spacing: .1em;
  font-family: "Unna", serif;
  font-weight: 400;
  font-style: normal;
  margin: 0 auto 50px;
}
.access h2 .welcome span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-20px); /* 左から */
  transition: all 0.4s ease;
}
.access h2 .model {
  display: block;
  font-size: 30px;
  letter-spacing: 0.1em;
}

.access .ttl_1,
.access .ttl_2 {
  font-weight: bold;
  font-family: "Shippori Mincho", serif;
  text-align: center;
  margin: 0;
}

.access .ttl_1 {
  font-size: 30px;
  letter-spacing: .05em;
}

.access .ttl_2 {
  font-size: 45px;
  letter-spacing: .07em;
}

.access .txt {
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  margin: 20px 0;
}


.name {
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  margin-top: 50px;
}
.access-detail {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px auto 50px;
  max-width: 1000px;
}
.access-img {
  max-width: 500px;
}

.access-detail table {
  text-align: left;
  width: 500px;
  max-width: 100%;
}
.access-detail th,
.access-detail td {
  padding: 15px 5px 15px 15px;
  line-height: 2;
  border-top: 1px solid #dcdcdc;
}
.access-detail th {
  max-width: 148px;
  box-sizing: border-box;
  font-weight: normal;
  border-bottom: 1px solid #dcdcdc;
}
.access-detail td:last-child {
  border-bottom: 1px solid #dcdcdc;
}

.map {
  max-width: 1000px;
  display: block;
  margin: 0 auto;
  width: 100%;
}


@media screen and (max-width: 767px) {
  .access-detail {
    flex-direction: column-reverse;
    align-items: center;
  }
}


.info {
  background: #fbfbfb;
  padding: 20px 10px 60px;
}

.info .inner {
  max-width: 1000px;
  margin: 0 auto;
}

.info .ttl {
  text-align: center;
  font-size: 24px;
  display: inline-block;
  position: relative;
  font-weight: bold;
  letter-spacing: .04em;
}

.tel_box {
  margin: 1rem auto 0;
  text-align: center;
}

.tel_link {
  border: 1px solid #666;
  padding: 2rem 0;
  max-width: 60rem;
  margin: 1.5rem 0 5rem;
  background: #fff;
}

.tel_link a {
  transition: .4s all;
}
.tel_link a:hover {
  opacity: .7;
}

.tel_link strong {
  font-size: 30px;
  color: #202020;
  position: relative;
  white-space: nowrap;
  letter-spacing: .07em;
}

.tel_link strong::before {
  content: "";
  display: inline-block;
  width: 3.5rem;
  height: 3.5rem;
  background-image: url(/modelhouse/img/tel.svg);
  background-position: top -2px left;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.2rem;
  vertical-align: middle;
}

.tel_link p {
  margin-top: 1rem;
}

.web_box {
  text-align: center;
}
.web_box .txt {
  text-align: center;
  line-height: 1.7;
  margin: 1.5rem 0;
}

.web_box .notice {
  text-align: center;
  background: #666;
  padding: 1rem 0;
  color: #fff;
  letter-spacing: .05em;
}
.web_box .notice span {
  font-weight: bold;
  font-size: 18px;
  padding: 0 7px;
}


.quo_jyoken {
  display: none;
}

.accordion_wrapper {
  margin-bottom: 0;
}

.accordion_content {
  background: #fff;
}


@media screen and (max-width:550px){
  .fv-bg img {
    object-position: 44%;
  }
  .fv-text {
    font-size: 2rem;
  }

  .lead {
    padding: 50px 10px;
  }
  .lead p {
    margin: .9em 0;
    text-align: left;
  }

  .detail-content {
    padding: 70px 20px 90px;
  }
  .detail-title {
    font-size: 2.5rem;
  }

  .detail-text {
    text-align: left;
  }

  .exterior .inner {
    height: auto;
  }

  .move-title {
    font-size: 3rem;
  }
  .exterior p {
    font-size: 18px;
    text-align: left;
  }

  .exterior .inner {
    padding: 30px 10px;
  }

  .fukuyama_lp .plan-title {
    font-size: 3rem;
  }
  .fukuyama_lp .plan-lead {
    font-size: 18px;
  }

  .performance h2 {
    font-size: 30px;
  }
  .performance .txt {
    font-size: 18px;
  }

  .photo-garally h2 {
    font-size: 3rem;
  }

  .access h2 {
    font-size: 60px;
  }
  .access h2 .model {
    font-size: 25px;
  }

  .access .ttl_1 {
    font-size: 23px;
  }
  .access .ttl_2 {
    font-size: 38px;
  }

  .access-detail table {
    width: 100%;
  }
}