body {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.wrapper {
  overflow: hidden;
}

.button {
  background: #1e2084;
  border: 2px solid #1e2084;
  border-radius: 60px;
  color: #fff;
  display: block;
  font-weight: bold;
  max-width: 200px;
  padding: 15px 40px;
  text-align: center;
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  text-decoration: none;
  margin: 30px auto;
}

p {
  font-size: .9rem;
}

/****************************        下部メニュー         **********************************/
#sp-fixed-menu {
  position: fixed;
  width: 100%;
  bottom: 0px;
  font-size: 0;
  /* opacity: 0.9; */
  z-index: 99;
}

/*メニューを横並びにする*/
#sp-fixed-menu ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#sp-fixed-menu li {
  justify-content: center;
  align-items: center;
  /* width: 50%; */
  width: 100%;
  padding: 0;
  margin: 0;
  /* font-size: 20px; */
}

/*左側メニューを緑色に*/
/* #sp-fixed-menu li:first-child{
  background: #38b435;
} */

/*左側メニューをオレンジ色に*/
/* #sp-fixed-menu li:last-child{
  background: #f3a324;
} */

/*ボタンを調整*/
#sp-fixed-menu li a {
  color: #fff;
  text-align: center;
  display: block;
  width: 100%;

  /* padding:20px 0; */
  padding: 0;
}

#sp-fixed-menu img {
  width: 100%;
  object-fit: contain;

}

#sp-fixed-menu li a img {
  width: 100%;
  object-fit: contain;
}

.title-frame {
  width: 100%;
  max-width: 200px;
  display: block;
  margin: auto;
  margin-top: -40px;
}

.fadein {
  /* 最初は非表示 */
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  transition: transform 1s, opacity 1s, visibility 1s;
}

/* フェードイン時に入るクラス */
.is-fadein {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* SHUTTER ANIMATION */
.shutter {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  z-index: 99;
  -webkit-animation: byeShutter 3.5s forwards;
  animation: byeShutter 3.5s forwards;
}

.shutter-logo {
  width: 300px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  -webkit-animation: logo 0.8s forwards;
  animation: logo 0.8s forwards;
  animation-delay: 0.2s;
}

@keyframes byeShutter {
  50% {
    opacity: 1;
  }

  100% {
    display: none;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes logo {
  0% {
    opacity: 1;
  }

  50% {
    transform: rotate(10deg);
  }

  100% {
    transform: scale(0.8);
  }
}

/* END SHUTTER ANIMATION */

/* HAMBURGER */
#hamburger {
  display: none;
}

#toggle {
  position: fixed;
  top: 30px;
  right: 30px;
}

#toggle-box {
  position: relative;
  width: 50px;
  height: 40px;
  cursor: pointer;
}

#toggle-box>span {
  width: 100%;
  height: 1px;
  left: 0;
  display: block;
  background: #000;
  position: absolute;
  transition: transform .6s ease-in-out, top .5s ease, bottom .5s ease;
}

#toggle-box>span:nth-child(1) {
  top: 0;
}

#toggle-box>span:nth-child(2) {
  top: 50%;
  transform: translatey(-50%);
}

#toggle-box>span:nth-child(3) {
  bottom: 0;
}

#toggle {
  z-index: 1000;
}

#nav-content {
  z-index: 900;
  overflow-x: hidden;
  width: 50%;
  height: 100%;
  /* color: #00256A; */
  background: #1e2084;
  position: relative;
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  text-align: center;

}


#nav-content ul {
  list-style: none;
  display: block;
  position: absolute;
  /* top: 10%; */
  top: 15%;
  left: 8%;
  padding-left: 10px;
  width: 80%;
  line-height: 4em;
}

#nav-content ul li {
  width: 100%;
  border-bottom: 1px solid #fff;
  padding: 10px 0;
}

#nav-content ul li a {
  display: block;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  color: #fff;
}

#nav-content a:hover {
  opacity: 0.6;
}

.is-open {
  overflow: hidden;
}

.is-open #toggle-box>span {
  background: #fff;
}

.is-open #toggle-box>span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg) translatey(-50%);
}

.is-open #toggle-box>span:nth-child(2) {
  width: 0;
}

.is-open #toggle-box>span:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg) translatey(-50%);
}

.is-open #nav-content {
  z-index: 999;
  transform: translateX(0);
  width: 100%;
}


/* SM */
@media(max-width:519px) {
  #hamburger {
    display: block;
  }

  .header-top .gnav {
    display: none;
  }

  .button {
    font-size: .8rem;
    max-width: 180px;
    padding: 14px 30px;
    margin-top: 50px;
  }
}

/*PCの場合にはメニューを表示させない*/
@media (min-width: 768px) {
  .for-sp {
    display: none;
  }
}

@media(max-width:300px) {
  #toggle-box {
    width: 35px;
    height: 25px;
  }

  #nav-content ul li {
    padding: 15px 0;

  }

}


/* END HAMBURGER */



/* HEADER */
header {
  display: flex;
  align-items: center;
  position: fixed;
  z-index: 999;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  height: 70px;
  padding: 40px 0;
}

.header-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.header-top .logo {
  /* width: 10%; */
  height: 70px;
  object-fit: contain;
  margin: 0 20px;

}


/*********************************** ナビメニュー用CSS  ***********************************/
.gnav {
  height: 70px;
  display: flex;
  justify-content: flex-end;
  width: 80%;
  margin: auto;
}

.contact-btn {
  width: 20%;
}

.contact-btn img {
  width: 100%;
}

.gnav ul {
  display: flex;
  margin: 0;
  padding: 0;
  height: 70px;
  width: 80%;
}

.gnav li {
  position: relative;
  flex: 1;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 🔻 li の縦線（疑似要素で高さ50%） */
.gnav li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  height: 50%;
  /* ← ここで高さ調整 */
  width: 1px;
  background: #333;
  top: 25%;
  /* 中央に寄せる（(100-50)/2 = 25） */
}

/* 🔻 テキストを上下に並べて中央揃え */
.gnav a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  height: 100%;
}

/* 🔻 下部の英語小文字 */
.gnav a span {
  font-size: 0.7em;
  font-weight: normal;
  margin-top: -5px;
  opacity: 0.8;
}


/*********************************** ナビメニュー用CSS  ***********************************/

/*スクロールダウン全体の場所*/
.scrolldown1 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  left: 50%;
  bottom: 10px;
  /*全体の高さ*/
  height: 50px;
  font-weight: bolder;
}

/*Scrollテキストの描写*/
.scrolldown1 span {
  /*描画位置*/
  position: absolute;
  left: -15px;
  top: -15px;
  /*テキストの形状*/
  /* color: #eee; */
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* .scrolldown1 span img {
  width: 100%;
  margin-top: -30px;
  margin-bottom: 5px;
} */

/* 線の描写 */
.scrolldown1::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 30px;
  /* background: #eee; */
  background: #fff;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }

  30% {
    height: 30px;
    opacity: 1;
  }

  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}

/****************************レスポンシブ CSS（header/nav） ***********************************/
@media(max-width:1024px) {

  .header-top .logo {
    width: 100%;
    height: 70px;
    max-width: 200px;
    object-fit: contain;
  }

  .gnav ul {
    padding: 0;
    width: 80%;
  }

  .gnav a {
    font-size: .8em;
  }

}

@media(max-width:834px) {

  .header-top .logo {
    max-width: 180px;
  }

  .gnav {
    width: 70%;
  }

  .gnav a {
    font-size: .7em;
  }

  .gnav ul {
    width: 90%;
  }

  .contact-btn {
    width: 25%;
  }

}

@media(max-width:820px) {}

@media(max-width:768px) {}

@media(max-width:519px) {

  header {
    height: 90px;
  }

  .scrolldown1 span {
    top: -10px;
    color: #333;
  }

  .scrolldown1::after {
    top: 55px;
    height: 20px;
    background: #333;
  }

}

@media(max-width:300px) {
  header {
    height: 70px;
  }

  .header-top .logo {
    max-width: 130px;
  }

}


/* END HEADER */

/* CONTENTS1 */
.contents1 {
  margin-top: 220px;
}

.contents1-title {
  position: relative;
}

.contents1-title::after {
  content: 'LAND';
  font-size: 11rem;
  font-weight: bold;
  white-space: nowrap;
  line-height: 12rem;
  color: #f5f5f5;
  position: absolute;
  bottom: -44px;
  left: 30px;
  right: 0;
  z-index: -1;
}

.contents1-title h1 {
  padding-left: 50px;
}

.contents1-title2 {
  width: 90%;
  margin: auto;
}

.contents1-container {
  padding: 60px 0;
  background-color: #efece8;
}

/* メイン画像 */
.gallery-main {
  width: 50%;
  margin: auto;
}

.gallery-main img {
  width: 100%;
  height: 450px;      /* 高さは好みで調整 */
  object-fit: cover;
  display: block;
}

/* サムネイルエリア */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ← 4等分 */
  gap: 5px;
  margin-top: 5px;
}

/* サムネ画像 */
.gallery-thumbs img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
}

/* アクティブ状態 */
.gallery-thumbs img.active {
  opacity: 1;
  outline: 2px solid #1e2084;
}

.contents1-container {
  /* display: flex; */
  justify-content: space-between;
  gap: 40px;
  margin: auto;
}

.gallery {
  display: flex;
  width: 90%;
  margin: auto;
}

.gallery-contents {
  width: 90%;
  margin: 50px auto;
  background: #fff;
  padding: 30px;
  box-sizing: border-box;
  /* display: flex; */
}

.gallery-info {
  width: 90%;
  margin: 0 auto;
}

.gallery-map {
  width: 90%;
  height: 400px;
  margin: auto;
}

/* タイトル */
.parking-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  border-left: 6px solid #1e2084;
  padding-left: 12px;
}

/* 情報テーブル */
.parking-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
}

.parking-table th,
.parking-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.parking-table th {
  width: 30%;
  font-weight: bold;
  color: #333;
  background: #f6f6f6;
  text-align: left;
}

.parking-table td {
  color: #555;
}

.gallery-point {
  width: 90%;
  margin: 50px auto;
  background: #fff;
  padding: 30px;
  box-sizing: border-box;
}

.point-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.point-list li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
  padding-left: 1.2em;
  position: relative;
  margin-bottom: 12px;
}

.point-list li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: #1e2084;
  font-weight: bold;
}

/* ===============================
   single-land.css（賃貸と同じ流儀）
   - ギャラリー
   - テーブル
   - 地図ブロック（開く/経路/コピー）
   - ライトボックス
================================ */

/* ページ全体 */
.contents1 {
  margin-top: 220px;
}

.contents1-title {
  position: relative;
}

.contents1-title::after {
  content: 'LAND';
  font-size: 11rem;
  font-weight: bold;
  white-space: nowrap;
  line-height: 12rem;
  color: #f5f5f5;
  position: absolute;
  bottom: -44px;
  left: 30px;
  z-index: -1;
}

.contents1-title h1 {
  padding-left: 50px;
}

.contents1-container {
  padding: 60px 0;
  background-color: #efece8;
}

/* 見出しブロック（賃貸と同じクラス） */
.property-name{
  margin: -8px 0 18px;
  font-weight: bold;
  font-size: 1.05rem;
  color: #333;
}

.property-head{
  padding: 14px 16px;
  margin: 0 0 18px;
  background: #f7f7ff;
  border: 1px solid rgba(30,32,132,.15);
  border-radius: 14px;
}

.property-kicker{
  margin: 0 0 6px;
  font-size: .8rem;
  font-weight: 700;
  color: #1e2084;
  opacity: .9;
}

.property-name{
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
  color: #222;
}

/* ===============================
   ギャラリー
================================ */
.gallery {
  display: flex;
  width: 90%;
  margin: 0 auto;
  gap: 10px;
}

.gallery-main {
  width: 50%;
}

.gallery-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* サムネイル（4列固定） */
.gallery-thumbs {
  width: 50%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  align-content: start;
}

.gallery-thumbs img {
  width: 100%;
  height: 95px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.2s;
  border-radius: 6px;
}

.gallery-thumbs img.active {
  opacity: 1;
  outline: 2px solid #1e2084;
}

/* ===============================
   情報エリア
================================ */
.gallery-contents {
  width: 90%;
  margin: 50px auto 0;
  background: #fff;
  padding: 30px;
  box-sizing: border-box;
  border-radius: 8px;
}

.gallery-info {
  width: 100%;
}

/* テーブル（賃貸と同じクラス名） */
.parking-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
}

.parking-table th,
.parking-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.parking-table th {
  width: 30%;
  font-weight: bold;
  color: #333;
  background: #f6f6f6;
  text-align: left;
}

.parking-table td {
  color: #555;
}

/* ===============================
   地図ブロック（賃貸と同じUI）
================================ */
.gallery-mapBlock {
  margin-top: 25px;
}

.map-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.map-btn {
  appearance: none;
  border: 2px solid #1e2084;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #1e2084;
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
  transition: 0.2s;
}

.map-btn:hover {
  opacity: 0.85;
}

.map-btn--ghost {
  background: #fff;
  color: #1e2084;
  border: 2px solid #1e2084;
}

.map-btn--copy {
    background: #fff;
    color: #1e2084;
}

.gallery-map {
  width: 100%;
  height: 380px;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-note {
  font-size: 0.85rem;
  color: #666;
  margin: 10px 0 0;
}

/* ===============================
   Lightbox（賃貸と同じ）
================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(980px, 95vw);
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: #000;
  font-size: 26px;
  cursor: pointer;
}

body.is-lightbox-open {
  overflow: hidden;
}



/* ===============================
   レスポンシブ
================================ */

@media(max-width:1024px) {

}

@media(max-width:834px) {

  
}

@media (max-width: 768px) {
  .contents1-container {
    flex-direction: column;
  }

  .gallery,
  .gallery-info {
    width: 100%;
  }

  .gallery-main img {
    height: 300px;
  }
}

@media(max-width:519px) {
  .contents1-title::after {
  font-size: 5rem;
  bottom: -66px;
  left: 10px;
}

.parking-title {
  font-size: 1.1rem;
}

.gallery {
  display: block;
}

.gallery-main {
  width: 90%;
  margin: auto;
}

.gallery-thumbs {
  width: 90%;
  margin: auto;
}

.gallery-contents {
  display: block;
}

.gallery-map {
  width: 100%;
}

}

/* ===============================
   レスポンシブ
================================ */
@media (max-width: 768px) {
  .gallery {
    display: block;
  }

  .gallery-main,
  .gallery-thumbs {
    width: 100%;
  }

  .gallery-main img {
    height: 320px;
  }

  .gallery-thumbs {
    margin-top: 8px;
  }

  .gallery-thumbs img {
    height: 80px;
  }

  .gallery-map {
    height: 300px;
  }
}

@media (max-width: 519px) {
  .contents1-title::after {
    font-size: 5rem;
    bottom: -66px;
    left: 10px;
  }

  .contents1-title h1 {
    padding-left: 20px;
  }

  .property-name {
    font-size: 1.1rem;
  }

  .gallery-contents {
    padding: 18px;
    width: 95%;
  }

  .parking-table th {
    width: 38%;
  }

  .map-btn {
    width: 100%;
    justify-content: center;
  }
}



/* END CONTENTS1 */

/*  footer-contact */
.footer-contact {
  background-color: #1e2084;
  padding: 50px 0;
}

.footer-contact-container {
  background-color: #fff;
  width: 80%;
  margin: auto;
  text-align: center;
  padding: 50px 0;
  position: relative;
}

.footer-contact-container img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20%;
}

.footer-contact-container h2 span {
  display: block;
}

.footer-contact-container h2 {
  font-size: 2rem;
}

.footer-contact-container h3 {
  position: relative;
  display: block;
  padding: 0 70px;
  line-height: 1.6;
  width: 60%;
  margin: auto;
}

/* 共通設定 */
.footer-contact-container h3::before,
.footer-contact-container h3::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 70px;
  /* 線の長さ */
  height: 2px;
  /* ← 細さ（ここがポイント） */
  background: #000;
  /* 色 */
}

/* 左：＼ */
.footer-contact-container h3::before {
  left: 0;
  transform: translateY(-50%) rotate(45deg);
}

/* 右：／ */
.footer-contact-container h3::after {
  right: 0;
  transform: translateY(-50%) rotate(-45deg);
}

.button2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  padding: 15px 40px;
  background-color: #1e2084;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;

  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.button2 i {
  font-size: 1.1em;
}

.button2:hover {
  background-color: #0f1170;
  transform: translateY(-2px);
}


@media(max-width:1024px) {}

@media(max-width:834px) {

  .footer-contact-container {
    padding: 10px 0;
  }

  .footer-contact-container h2 {
    font-size: 1.5rem;
  }

  .footer-contact-container h3 {
    padding: 0 50px;
  }

  .footer-contact-container h3 span {
    display: block;
  }

}

@media(max-width:768px) {}

@media(max-width:519px) {
  .footer-contact-container h2 {
    font-size: 1.2rem;
  }

  .footer-contact-container h3 {
    font-size: .8rem;
  }

  .footer-contact-container h3::before,
  .footer-contact-container h3::after {
    width: 40px;
    height: 1px;
  }

  .button2 {
    padding: 13px 30px;
    font-size: .8rem;
  }

  .footer-contact-container img {
    width: 30%;
    right: -20px;
  }

}

/* END footer-contact */

/* FOOTER */

.footer-container {
  display: flex;
  margin: 50px auto;
}

.footer-map {
  width: 40%;
  height: 500px;
  margin: auto;
}

.footer-contents {
  width: 50%;
}

.footer-contents img {
  width: 40%;
  display: block;
  margin: 20px auto;
}

.footer-info {
  width: 70%;
  margin: auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 6px 0;
  vertical-align: top;
  text-align: left;
}

.info-table td span {
  padding-left: 10px;
}

.info-table th {
  width: 110px;
  /* 左側の幅調整（お好みで） */
  font-weight: bold;
  color: #333;
}

.info-table td {
  color: #555;
}

.footer-tel {
  text-align: center;
  margin: 50px auto;
}

.footer-tel p {
  font-size: 1.1rem;
  margin: 0;
  color: #1e2084;
}

.footer-tel .number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  /* アイコンとの間隔 */
}

.footer-tel .number i {
  font-size: 2.2em;
  color: #1e2084;
  /* お好みで */
}

.footer-tel .number a {
  font-size: 2.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #1e2084;
}

.footer-bottom {
  background: #1e2084;
  /* フッター背景（好みに応じて） */
  padding: 10px 0;
}

.footer-bottom_container {
  width: 60%;
  margin: auto;
}

.footer-bottom_container ul {
  display: flex;
  justify-content: center;
  /* 中央に寄せる（必要なら） */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各 li を均等幅にして中身を中央寄せにする */
.footer-bottom_container ul li {
  flex: 1;
  /* ← 各 li が同じ幅になる */
  display: flex;
  justify-content: center;
  /* テキストを横方向の中央に */
  align-items: center;
  /* テキストを縦方向の中央に */
  padding: 0 12px;
  /* 左右の余白（必要に応じて調整） */
  box-sizing: border-box;
  position: relative;
}

/* リンク自体は幅いっぱいにして文字は中央揃え */
.footer-bottom_container ul li a {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
  /* 高さ調整 */
}

/* サブテキスト（英語） */
.footer-bottom_container ul li a span {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  margin-top: 4px;
}

/* 縦線（li の右端に表示） */
.footer-bottom_container ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  /* li の右端に置く */
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  /* テキストに合う長さに調整 */
  background-color: rgba(255, 255, 255, 0.6);
}

footer .copy {
  font-size: 15px;
  line-height: 30px;
  letter-spacing: .06em;
  text-align: center;
  margin: 0;
  padding: 10px 0;
  color: #333333;
}

.time-table {
  width: 100%;
  display: table;
  border-collapse: collapse;
  table-layout: fixed;
}

.time-table th {
  border-top: 1px solid #d2d2d2;
}

.time-table th,
.time-table td {
  padding: 0px 10px;
  text-align: center;
  height: 50px;
  border-bottom: 1px solid #d2d2d2;
}

.time-table td {
  width: 100%;
  min-width: auto;
  color: #1e2084;
  font-weight: bold;
}

.time-table td .time {
  color: #3c3c3c;
}

@media screen and (max-width: 764px) {
  .time-table td {
    min-width: auto;
    width: 100%;
    max-width: 5%;
    font-size: 12px;
  }

  .time-table th,
  .time-table td {
    min-width: 40px;
    width: 100%;
    padding: 0px 15px;
    font-size: 10px;
    min-width: unset;
    padding: 4px 6px;
  }
}

@media(max-width:1024px) {
  .footer-bottom_container {
    width: 80%;
  }

  .footer-tel .number a {
    font-size: 2rem;
  }

  .footer-tel .number {
    margin: 10px auto;
  }

  .footer-map {
    width: 50%;
  }
}

@media(max-width:834px) {

  .footer-bottom_container {
    width: 95%;
  }

  .footer-tel .number a {
    font-size: 1.8rem;
  }

  .footer-bottom_container ul li a {
    font-size: .7rem;
  }

  footer .copy {
    font-size: 11px;
  }

}

@media(max-width:768px) {
  .footer-tel .number a {
    font-size: 1.5rem;
  }

}

@media screen and (max-width: 519px) {

  footer {
    margin-bottom: 80px; /* 固定フッターがある場合のみ */
  }

  .footer-container {
    display: block;
  }

  .footer-contents {
    width: 100%;
  }

  .footer-contents img {
    width: 70%;
    margin: 0 auto 20px;
    display: block;
  }

  .footer-info {
    width: 100%;
    margin: auto;
  }

  .info-table {
    width: 100%;
    font-size: 0.9rem;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    text-align: center;
  }

  .info-table td span {
    display: block;
  }

  .footer-tel {
    margin-top: 20px;
  }

  .footer-tel .number a {
    font-size: 1.8rem;
  }

  .footer-map {
    width: 100%;
    height: 300px;
    margin-top: 30px;
  }

  /* ===== フッターメニュー ===== */

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-bottom_container ul {
    display: block;
    padding: 0;
    margin: 0;
  }

  .footer-bottom_container ul li {
    width: 100%;
    border: none;
    border-bottom: 1px solid #555;
    padding: 15px 0;
    text-align: center;
  }

  .footer-bottom_container ul li a {
    font-size: 1rem;
    display: block;
  }

  .footer-bottom_container ul li a span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
  }

  .copy {
    font-size: 10px;
    text-align: center;
    margin-top: 10px;
  }

    .footer-bottom_container ul li::after {
    display: none;
  }
}


@media(max-width:300px) {
  .footer-bottom {
    margin-bottom: 140px;
  }

  table {
    font-size: .7em;
  }

  td {
    padding-left: 30px;
  }

  .footer-bottom_container img {
    width: 70%;
    display: block;
    margin: 20px auto;
  }

  .footer-bottom_container .insta {
    width: 90%;
  }

}

/* END FOOTER */


@media screen and (max-width: 519px) {
    .footer-contact-container {
	       width: 95%;
    }

    .footer-contact-container h3 {
      font-size: .8rem;
      width: 70%;
    }

}

/* スマホメニュー：日本語＋英語を縦にする */
#nav-content ul li a{
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  white-space: normal;
}

#nav-content ul li a span{
  display: block;
  margin-top: 6px;
  font-size: .9em;
  font-weight: normal;
  opacity: .85;
}

@media (max-width: 519px) {
    .time-table th,
  .time-table td {
    font-size: 14px;
  }
}

.footer-map {
  width: 40%;
}

.yahoo-map {
  width: 100%;
  aspect-ratio: 1 / 1;   /* 正方形にしたい場合（おすすめ） */
  height: 100%;
  overflow: hidden;
  border-radius: 18px;  /* 任意 */
}

/* Yahooが内部に作る要素に効かせる */
.yahoo-map iframe,
.yahoo-map > div,
.yahoo-map canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

@media (max-width: 519px) {
.footer-map {
  width: 100%;
}

}

@media (max-width: 519px) {

  /* フッター情報エリア全体は中央に配置 */
  .footer-info{
    text-align: center;
  }

  /* テーブル自体を中央に置く */
  .info-table{
    display: inline-table;  /* ←これがポイント（幅を内容に合わせる） */
    width: auto;
    margin: 0 auto;
  }

  /* ここが原因だった “ブロック化” を戻す */
  .info-table th,
  .info-table td{
    display: table-cell;     /* ← block を解除 */
    width: auto;
    text-align: left;        /* ←文字は左詰め */
    padding: 6px 0 6px 6px;
    vertical-align: top;
  }

  /* 住所の span を改行したいなら（今のままでもOK） */
  .info-table td span{
    display: inline;         /* ←改行したくないなら */
    padding-left: 10px;
  }

  /* 住所を2行にしたいならこっち */
  /* .info-table td span{
    display:block;
    padding-left:0;
  } */
}

/* =========================
  Yahooマップ下：駐車場案内
========================= */
.map-parking-note{
  margin: 14px 0 26px;   /* ←下の余白を追加（重なり防止） */
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbe6;
  border: 1px solid #f0d97a;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 519px){
  .map-parking-note{
    font-size: 0.8rem;
    padding: 10px 12px;
    margin-bottom: 32px; /* ←スマホはもう少し離す */
  }
}


.map-parking-note i{
  color: #d4a400;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.map-parking-note p{
  margin: 0;
}

.map-parking-note strong{
  font-weight: 800;
  color: #1e2084;
}


/* テーブル部分統一用 */
.property-head{
  padding: 14px 16px;
  margin: 0 0 18px;
  background: #f7f7ff;
  border: 1px solid rgba(30,32,132,.15);
  border-radius: 14px;
}

.property-kicker{
  margin: 0 0 6px;
  font-size: .8rem;
  font-weight: 700;
  color: #1e2084;
  opacity: .9;
}

.property-name{
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.35;
  color: #222;
}

.parking-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  border-left: 6px solid #1e2084;
  padding-left: 12px;
}

.parking-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.parking-table th,
.parking-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}

.parking-table tr:nth-child(even) {
  background: #fafafa;
}

.parking-table th {
  width: 30%;
  font-weight: bold;
  color: #222;
  background: transparent;
  text-align: left;
}

.parking-table td {
  color: #444;
}

.gallery-main img {
  object-fit: contain;
}