@charset "utf-8";

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  color: #333;
  background: #fff;
  font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 75%;
  line-height: 2;
  text-align: center;
}
h1, h2, h3, h4, h5, p, ul, ol, li, dl, dt, dd, form { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; height: auto; border: 0; vertical-align: bottom; }
button { font: inherit; }
a { color: #333; }
a:hover { color: #43561d; }

#container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
}
#header { position: relative; width: 100%; min-height: 72px; }
#header h1 { position: absolute; left: 10px; color: #00496a; font-size: 11px; font-weight: normal; line-height: 20px; }
#header #logo { display: block; width: 100%; max-width: 1200px; height: auto; }

/* いつもの標準メニュー */
ul#menu {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  padding-left: 2px;
  background: #C8BB9B;
}
ul#menu li {
  flex: 1 1 0;
  min-width: 0;
  height: 70px;
  line-height: 70px;
  border-left: 1px solid #00131b;
}
ul#menu li.last { border-right: 1px solid #00131b; }
ul#menu li a {
  display: block;
  width: 100%;
  height: 70px;
  color: #fff;
  background: #C8BB9B;
  font-size: 12px;
  line-height: 70px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
ul#menu a:hover { color: #f6ff02; background: #C4AA70; }

#sp-menu, #menu-button, #menu-toggle { display: none; }
#contents { clear: both; width: 100%; }
.box { padding: 1px 0 0; background: #fff; text-align: center; }

.archive-heading {
  width: 1000px;
  max-width: calc(100% - 40px);
  margin: 38px auto 26px;
  padding: 28px 20px 26px;
  text-align: center;
  border-bottom: 1px solid #e3d8c4;
}
.archive-heading-en {
  color: #9a7842;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: .24em;
  line-height: 1.5;
}
.archive-heading h2 {
  margin-top: 4px;
  color: #3f372e;
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", serif;
  font-size: 31px;
  font-weight: 500;
  letter-spacing: .10em;
  line-height: 1.6;
}
.archive-heading p:last-child { margin-top: 8px; color: #71695e; font-size: 13px; }

.house-list-section {
  width: 1000px;
  max-width: calc(100% - 40px);
  margin: 0 auto 38px;
}
.section-title {
  margin-bottom: 18px;
  color: #5a4b36;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .12em;
  text-align: left;
}
.section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  margin-right: 10px;
  vertical-align: -3px;
  background: #b69253;
}
.house-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.house-card {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: #3e372f;
  background: #fff;
  border: 1px solid #dfd6c6;
  border-radius: 12px;
  box-shadow: 0 6px 17px rgba(66, 50, 28, .08);
  text-align: left;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.house-card:not(.is-unavailable):hover,
.house-card.is-active {
  border-color: #b69253;
  box-shadow: 0 11px 24px rgba(100, 72, 30, .17);
  transform: translateY(-4px);
}
.house-card.is-active { outline: 2px solid rgba(182, 146, 83, .24); outline-offset: 2px; }
.house-card-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee9df;
}
.house-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.house-card:not(.is-unavailable):hover .house-card-image img { transform: scale(1.05); }
.house-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #a69b89;
  background: linear-gradient(135deg, #f4f0e8, #e7dfd0);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: .18em;
}
.house-card-body { display: block; min-height: 128px; padding: 14px 15px 15px; }
.house-card-number {
  display: block;
  color: #a18149;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: .13em;
  line-height: 1.5;
}
.house-card-body strong {
  display: -webkit-box;
  min-height: 42px;
  margin-top: 5px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.6;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.house-card-action {
  display: inline-block;
  margin-top: 10px;
  color: #8d6935;
  font-size: 11px;
  font-weight: 600;
}
.house-card-action::after { content: " →"; }
.house-card.is-unavailable { opacity: .66; cursor: default; box-shadow: none; }
.house-card.is-unavailable .house-card-action::after { content: ""; }

.gallery-section {
  scroll-margin-top: 18px;
  width: 1000px;
  max-width: calc(100% - 40px);
  margin: 34px auto 42px;
  padding: 32px 32px 30px;
  background: linear-gradient(180deg, #fff 0%, #fbf9f4 100%);
  border: 1px solid #e5dfd2;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(70, 55, 34, .10);
}
.gallery-heading { position: relative; margin: 0 auto 24px; padding-bottom: 20px; text-align: center; }
.gallery-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 76px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #b69457, transparent);
}
.gallery-heading-en {
  margin-bottom: 4px;
  color: #a18149;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: .24em;
  line-height: 1.5;
}
.gallery-heading h2 {
  color: #3d352b;
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", serif;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: .10em;
  line-height: 1.6;
}
.gallery-heading-text { margin-top: 7px; color: #736b60; font-size: 13px; letter-spacing: .06em; }
.bs-gallery { width: 100%; margin: 0 auto; text-align: center; }
.bs-main-swiper {
  width: 100%;
  overflow: hidden;
  background: #eee9df;
  border-radius: 14px;
  box-shadow: 0 9px 24px rgba(40, 31, 19, .13);
}
.bs-main-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background: #eee9df;
}
.bs-main-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 620px;
  max-height: 68vw;
  object-fit: contain;
  background: #eee9df;
}
.bs-main-swiper .swiper-button-prev,
.bs-main-swiper .swiper-button-next {
  width: 46px;
  height: 46px;
  margin-top: -23px;
  color: #fff;
  background: rgba(52, 43, 31, .58);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
}
.bs-main-swiper .swiper-button-prev::after,
.bs-main-swiper .swiper-button-next::after { font-size: 17px; font-weight: 700; }
.bs-main-swiper .swiper-pagination { bottom: 15px; }
.bs-main-swiper .swiper-pagination-bullet { width: 7px; height: 7px; background: #fff; opacity: .66; }
.bs-main-swiper .swiper-pagination-bullet-active { width: 22px; border-radius: 20px; background: #c2a05d; opacity: 1; }
.bs-thumb-swiper { margin-top: 16px; padding: 5px 2px 7px; }
.bs-thumb-swiper .swiper-slide {
  overflow: hidden;
  cursor: pointer;
  opacity: .60;
  border: 2px solid transparent;
  border-radius: 9px;
  background: #eee9df;
  transition: opacity .25s ease, border-color .25s ease, transform .25s ease;
}
.bs-thumb-swiper .swiper-slide:hover { opacity: .92; transform: translateY(-2px); }
.bs-thumb-swiper .swiper-slide-thumb-active { opacity: 1; border-color: #b69253; }
.bs-thumb-swiper .swiper-slide img { display: block; width: 100%; height: 76px; object-fit: cover; }

.gallery-related-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 25px;
}
.gallery-related-images img { display: block; width: 100%; }
.gallery-related-images img:first-child { grid-column: 1 / -1; }

.pagetop { width: 100%; margin: 34px auto 30px; text-align: center !important; }
.pagetop a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 46px;
  padding: 11px 28px 10px 48px;
  color: #6d5635;
  background: linear-gradient(180deg, #fff 0%, #f8f3e9 100%);
  border: 1px solid #d4c29d;
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(80, 62, 32, .10);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .10em;
  text-decoration: none;
  transition: .25s ease;
}
.pagetop-arrow {
  position: absolute;
  left: 22px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid #b08a4a;
  border-left: 2px solid #b08a4a;
  transform: translateY(-28%) rotate(45deg);
}
.pagetop a:hover { color: #fff; background: linear-gradient(135deg, #c8bb9b 0%, #ad8b51 100%); border-color: #ad8b51; transform: translateY(-2px); }
.pagetop a:hover .pagetop-arrow { border-color: #fff; }

#footer {
  clear: both;
  width: 100%;
  padding-top: 0;
  color: #333;
  background-color: #ffffff;
  background-image: none;
  text-align: center;
}
#footer a { color: #333; }
ul#footermenu { clear: both; width: 100%; padding: 10px 0 0; font-size: 12px; text-align: center; }
ul#footermenu li { display: inline; padding: 0 5px; }

@media screen and (min-width: 901px) {
  #sp-menu, #menu-button, #menu-toggle { display: none !important; }
  ul#menu { display: flex !important; }
  ul#footermenu { display: block !important; }
}

@media screen and (max-width: 900px) {
  body { font-size: 88%; line-height: 1.8; }
  #container { width: 100% !important; }
  #header { min-height: auto; }
  .box { margin: 0; padding: 0; border: 0; }
  #menu, #footermenu { display: none !important; }
  #menu-button {
    display: block !important;
    padding: 12px !important;
    color: #fff !important;
    background: #C8BB9B !important;
    border-top: 1px solid #b8aa8d !important;
    border-bottom: 1px solid #b8aa8d !important;
    font-weight: bold;
    text-align: center !important;
    cursor: pointer;
  }
  #menu-toggle:checked ~ #sp-menu { display: block !important; }
  #menu-toggle:not(:checked) ~ #sp-menu { display: none !important; }
  #sp-menu { width: 100%; margin: 0; padding: 0; background: #C8BB9B !important; }
  #sp-menu li { border: 1px solid #b8aa8d !important; }
  #sp-menu a { display: block !important; padding: 14px 10px !important; color: #fff !important; background: #C8BB9B !important; text-align: center !important; text-decoration: none !important; }
  #sp-menu a:hover { color: #fff !important; background: #C4AA70 !important; }

  .archive-heading { width: auto; max-width: none; margin: 22px 12px 20px; padding: 20px 8px; }
  .archive-heading-en { font-size: 10px; letter-spacing: .18em; }
  .archive-heading h2 { font-size: 23px; letter-spacing: .06em; }
  .archive-heading p:last-child { font-size: 12px; }
  .house-list-section { width: auto; max-width: none; margin: 0 10px 26px; }
  .section-title { margin-left: 2px; font-size: 14px; }
  .house-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .house-card { border-radius: 9px; }
  .house-card-body { min-height: 112px; padding: 11px 10px 12px; }
  .house-card-number { font-size: 9px; }
  .house-card-body strong { min-height: 38px; font-size: 11px; }
  .house-card-action { margin-top: 7px; font-size: 10px; }

  .gallery-section {
    width: auto;
    max-width: none;
    margin: 18px 10px 28px;
    padding: 22px 12px 18px;
    border-radius: 13px;
    box-shadow: 0 9px 23px rgba(70, 55, 34, .08);
  }
  .gallery-heading { margin-bottom: 17px; padding-bottom: 15px; }
  .gallery-heading-en { font-size: 10px; letter-spacing: .18em; }
  .gallery-heading h2 { font-size: 21px; letter-spacing: .06em; }
  .gallery-heading-text { padding: 0 8px; font-size: 12px; line-height: 1.7; }
  .bs-main-swiper { border-radius: 10px; }
  .bs-main-swiper .swiper-slide { min-height: 0; }
  .bs-main-swiper .swiper-slide img { height: auto; max-height: none; }
  .bs-main-swiper .swiper-button-prev,
  .bs-main-swiper .swiper-button-next { display: none; }
  .bs-thumb-swiper { margin-top: 11px; }
  .bs-thumb-swiper .swiper-slide img { height: 55px; }
  .gallery-related-images { grid-template-columns: 1fr; gap: 10px; }
  .gallery-related-images img:first-child { grid-column: auto; }
  .pagetop { margin: 26px auto 24px; padding: 0 14px; }
  .pagetop a { min-width: 178px; min-height: 44px; padding: 10px 24px 9px 43px; font-size: 12px; }
  .pagetop-arrow { left: 20px; }
}

/* 6邸完成版：PCは3列×2段 */
@media screen and (min-width: 901px) {
  .house-card-image { aspect-ratio: 16 / 10; }
  .house-card-body { min-height: 118px; }
}


/* 24邸・8邸ずつ3タブ切り替え */
.gallery-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 1000px;
  max-width: calc(100% - 40px);
  margin: 0 auto 28px;
}
.gallery-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 18px;
  color: #63533d;
  background: linear-gradient(180deg, #fff 0%, #f5f0e6 100%);
  border: 1px solid #d6c7aa;
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(74, 57, 31, .08);
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.gallery-tab span { font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.gallery-tab small { color: #9a7842; font-size: 10px; letter-spacing: .05em; }
.gallery-tab:hover { transform: translateY(-2px); border-color: #b69253; }
.gallery-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #aa8b58 0%, #806238 100%);
  border-color: #806238;
  box-shadow: 0 8px 18px rgba(85, 60, 25, .20);
}
.gallery-tab.is-active small { color: #fff3d6; }
.group-range { margin: -12px 0 14px; color: #968775; font-size: 11px; text-align: right; }
.gallery-movie { margin-top: 28px; padding-top: 25px; border-top: 1px solid #e4dac8; }
.gallery-movie h3 { margin-bottom: 15px; color: #7d623a; font-family: Georgia, "Times New Roman", serif; font-size: 14px; letter-spacing: .18em; }
.movie-frame { position: relative; width: 760px; max-width: 100%; margin: 0 auto; padding-top: 56.25%; overflow: hidden; border-radius: 12px; box-shadow: 0 8px 22px rgba(38, 29, 17, .14); }
.movie-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery-related-images img { align-self: start; }
@media screen and (max-width: 900px) {
  .gallery-tabs { width: auto; max-width: none; margin: 0 10px 22px; gap: 7px; }
  .gallery-tab { min-height: 54px; padding: 8px 5px; flex-direction: column; gap: 1px; border-radius: 8px; }
  .gallery-tab span { font-size: 11px; letter-spacing: .02em; }
  .gallery-tab small { font-size: 9px; }
  .group-range { margin: -8px 2px 11px; font-size: 10px; }
  .gallery-movie { margin-top: 20px; padding-top: 18px; }
  .gallery-movie h3 { font-size: 12px; }
}


/* 公開中・過去モデル共通ページ 2026-07-17 */
.house-card-status {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}
.house-card-status.is-open { color: #fff; background: #a98443; }
.house-card-status.is-archive { color: #746b5e; background: #eee9df; }
.gallery-access { margin-top: 30px; padding-top: 26px; border-top: 1px solid #e4dac8; }
.gallery-access h3 { margin-bottom: 14px; color: #7d623a; font-family: Georgia, "Times New Roman", serif; font-size: 14px; letter-spacing: .18em; }
.gallery-map { position: relative; width: 100%; padding-top: 40%; overflow: hidden; border-radius: 12px; background: #eee9df; box-shadow: 0 8px 22px rgba(38,29,17,.12); }
.gallery-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery-access-note { margin-top: 10px; color: #81786a; font-size: 12px; text-align: center; }
.gallery-reservation { margin-top: 22px; text-align: center; }
.gallery-reservation a { display: inline-flex; align-items: center; justify-content: center; min-width: 280px; min-height: 52px; padding: 12px 28px; color: #fff; background: linear-gradient(135deg,#aa8b58,#806238); border-radius: 999px; box-shadow: 0 8px 20px rgba(85,60,25,.20); font-weight: 700; letter-spacing: .08em; text-decoration: none; transition: .25s ease; }
.gallery-reservation a:hover { color: #f6ff02; transform: translateY(-2px); }
@media screen and (max-width: 900px) {
  .gallery-tabs { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-map { padding-top: 65%; }
  .gallery-reservation a { min-width: 0; width: 100%; }
}


/* 西町公開終了後のカード配置 2026-07-21 */
@media screen and (min-width: 901px) {
  .house-card-grid.is-open-group {
    grid-template-columns: repeat(2, minmax(0, 300px));
    justify-content: center;
    gap: 24px;
  }
  .house-card-grid.is-single-group {
    grid-template-columns: minmax(0, 300px);
    justify-content: center;
  }
}
