/* ============================
   RESET
============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

.logo,
.labo-head,
.labo-head-frame,
.labo-title {
  font-family: "Noto Serif JP", serif;
}


/* TOPICS */
.topics,
.topics * {
  font-family: "Noto Serif JP", serif;
}

/* 本文 */
.labo-text {
  font-family: "Noto Serif JP", serif;
}

/* SPのみ改行 */
.pc {
  display: none;
}

@media (max-width: 768px) {
  .sp {
    display: inline;
  }

  .pc {
    display: none;
  }
}

/* PCのみ改行 */
@media (min-width: 769px) {
  .sp {
    display: none;
  }

  .pc {
    display: inline;
  }
}

@media (max-width: 768px) {
  .labo-text {
    text-align: left;
  }

}

/* ============================
   HEADER
============================ */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 64px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.header-inner {
  max-width: 100%;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
}

.logo,
.logo:visited,
.logo:hover,
.logo:active{
  color: #000;
  text-decoration: none;
}

/* PCメニュー */
.nav-pc {
  display: flex;
  gap: 12px;
}

.nav-left {
  margin-left: auto;
  margin-right: 30px;
}

/* TOP～OUTLINEだけ下線アニメーション */
.nav-left a,
.nav-sp > a:not(.nav-sp-action) {
  position: relative;
  text-decoration: none;
}

.nav-left a::after,
.nav-sp > a:not(.nav-sp-action)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #b08b57;
  transition: width 0.3s ease;
}

.nav-left a:hover::after,
.nav-sp > a:not(.nav-sp-action):hover::after {
  width: 100%;
}

.nav-left a {
  color: #333 !important;
}

.nav-left a:visited {
  color: #333 !important;
}

.nav-left a:hover {
  color: #333 !important;
}

.nav-action,
.nav-sp-action {
  transition: all 0.3s ease;
}

.nav-action:hover,
.nav-sp-action:hover {
  filter: brightness(1.25);
}

/* PC反響ボタン */
.nav-action {
  min-width: 140px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  color: #fff !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-blue {
  background: #1f3f66;
}

.nav-yellow {
  background: #8a6b32;
}

.nav-green {
  background: #255942;
}

/* SPメニュー */
.nav-btn {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-btn span {
  display: block;
  height: 4px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-left a {
  position: relative;
  padding: 0 12px;
}

.nav-left a:not(:last-child)::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: #ccc;
}

/* 開いた時 × に変形 */
.nav-btn.active span:nth-child(1) {
  transform: translateY(14px) rotate(45deg);
}

.nav-btn.active span:nth-child(2) {
  opacity: 0;
}

.nav-btn.active span:nth-child(3) {
  transform: translateY(-14px) rotate(-45deg);
}

.nav-sp {
  display: none;
  position: fixed;
  top: 64px;
  right: 0;
  width: 70%;
  height: calc(100vh - 64px);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 40px 24px;
  flex-direction: column;
  gap: 24px;
}

.nav-sp a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

.nav-sp-action {
  padding: 16px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  display: block;
  color: #fff !important;
  text-decoration: none;
}

/* SP表示 */
@media (max-width: 768px) {
  .nav-pc {
    display: none;
  }
  .nav-btn {
    display: flex;
  }
  .nav-sp {
    display: flex;
    transform: translateX(100%);
    transition: 0.4s;
  }
  .nav-sp.active {
    transform: translateX(0);
  }
}


/* SP専用：1行フローティングCTA（4ボタン） */
.sp-floating-cta-1line {
  display: none;
}

@media (max-width: 768px) {
  .sp-floating-cta-1line {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 10px 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 9999;

    display: flex;
    gap: 8px;
  }

  .sp-floating-cta-1line a {
    flex: 1;
    display: block;
    text-align: center;
    padding: 13px 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: opacity .25s ease;
  }


  /* 通常色 */
  .sp-floating-cta-1line .cta-blue   { background: #1f3f66; }
  .sp-floating-cta-1line .cta-yellow { background: #8a6b32; }
  .sp-floating-cta-1line .cta-green  { background: #255942; }

  /* ロールオーバー：色を薄くする（明度アップ） */
  .sp-floating-cta-1line a:hover {
    opacity: 0.75;
  }

  body {
    padding-bottom: 80px; /* CTAの高さ分だけ余白を確保 */
  }
}




/* ============================
   LABOセクション
============================ */
@media (max-width:768px){

  #top{
    margin-top: 0;
  }

}

.labo-section {
  position: relative;
  width: 100%;
  margin-top: 64px;
}

.labo-visual {
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

@media (min-width: 769px) {
  .labo-visual {
    background-attachment: fixed;
  }
}

.labo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.labo-inner {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 0 24px;
}

.labo-head {
  font-size: 48px;
  margin-bottom: 20px;
}

.labo-lead {
  font-size: 20px;
  line-height: 1.8;
}

/* コンテンツブロック */
.labo-content {
  width: 100%;
  max-width: none;

  margin: 0;
  text-align: center;
  padding: 80px 24px;

  background: #fff;
  position: relative;
  z-index: 2;

  box-shadow: 0 -30px 60px rgba(0,0,0,.06);
}

.labo-head-frame {
  display: inline-block;
  padding: 12px 40px;
  border: 2px solid #fff;
  background: rgba(0,0,0,.25);
  font-size: 30px;
  letter-spacing: 0.15em;
}

.labo-title-line {
  position: relative;
  padding-top: 50px;
}

.labo-title-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: #000;
}

.labo-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 24px;
  padding-top: 12px;
}

.labo-photo {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .labo-head.labo-head-frame {
    font-size: 20px;
  }
}


/* SP最適化 */
@media (max-width: 768px) {
  .labo-head { font-size: 32px; }
  .labo-lead { font-size: 16px; }
  .labo-title { font-size: 22px; }
  .labo-text { font-size: 16px; }
}

@media (max-width: 768px) {
  .labo-visual {
    position: relative;
    top: 64px;
    height: calc(50vh + 64px);
    min-height: 344px;
  }
}


#top{
  position: relative;
}

.mv-note{
  position: absolute;
  right: 15px;
  bottom: 15px;
  z-index: 20;

  color: #fff;
  font-size: 11px;
  line-height: 1.4;
}

.visual-note{
  position:absolute;
  right:20px;
  bottom:76px;

  z-index:999;
  margin:0;

  color:#fff;
  font-size:11px;
  line-height:1.4;

  text-shadow:
    0 0 4px rgba(0,0,0,.8),
    0 0 8px rgba(0,0,0,.8);
}

@media (max-width:768px){

  .visual-note{
    right:10px;
    bottom:2px;
    font-size:9px;
  }

}

.mv-photo-wrap{
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.photo-note{
  text-align: right;
  margin-top: 2;
  font-size: 11px;
  color: #666;
  line-height: 1.4;
}


/* ============================
   topics
============================ */
.topics {
  background-color: #3E3A39;
  padding: 10px 0;

  position: relative;
  z-index: 2;
}

.topics_flex {
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
}

.topics_flex_box {
  flex: 1;
  text-align: center;
  position: relative;
}

.topics_flex_box {
  color: #fff;
}

.fz15 { font-size: 15px; }
.fz23 { font-size: 23px; font-weight: 700;}
.fz26 { font-size: 26px; font-weight: 700;}

.topics_flex_box {
  position: relative;
  padding: 0 30px;
}

.topics_flex_box:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {

  .topics_flex {
    flex-direction: column;
  }

  .topics_flex_box {
    width: 100%;
    padding: 15px 0;
  }

  .topics_flex_box:not(:last-child)::after {
    display: none;
  }

  .topics_flex_box:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

}

/* ============================
   brand
============================ */
.wrapper {
  max-width: 1000px;
  text-align: center;
  padding-top: 20px;
}

video {
  width: 80vw;
  height: auto;
  display: block;
}

.brand img {
  width: 60%;
  max-width: 250px;
  display: block;
  margin: 0 auto;
  padding-top: 80px;
}

/* ============================
   反響ボタン
============================ */
.contact-btn {
  display: inline-block;
  padding: 16px 32px;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.08em;
  border-radius: 3px;
  border: 1px solid #111;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background: #fff;
  color: #111;
  border-color: #111;
}

@media (max-width: 768px) {
  .contact-btn {
    display: block;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 18px 0;
  }
}

/* ============================
   2カラムカード
============================ */
.two-cards {
  max-width: 1300px;
  margin: 50px auto;
  padding: 0 20px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.card2 {
  width: calc((100% - 24px) / 2);
  min-width: 0;
  box-sizing: border-box;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.card2-photo img {
  width: 100%;
  display: block;
}

.card2-text {
  padding: 16px 18px;
}

.card2-text h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.card2-text p {
  font-size: 14px;
  color: #555;
}


.card2-group {
  display: flex;
  position: relative;
}

.card2-group .card2 {
  flex: 1;
}

.card2-group .card2:first-child {
  padding-right: 70px;
}

.card2-group .card2:last-child {
  padding-left: 70px;
}

/* 中央線 */
.card2-group::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
  height: 120px;
  background: #d8d8d8;
}

@media (max-width:768px){

  .card2-group{
    display:block;
  }

  .card2-group .card2{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
  }

  .card2-group .card2:first-child{
    margin-bottom:80px !important;
  }

  /* 横線 */
  .card2-group::after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    transform:translateX(-50%);
    width:150px;
    height:1px;
    background:#d8d8d8;
  }
}

.card2-text-large p{
  font-size: 16px;
  line-height: 1.8;
　margin-top: 10px;
}

.card2-text-large h2{
  font-size: 20px;
}

@media (min-width: 769px){

  .plan-cards.two-cards{
    justify-content: center;
    gap: 120px;
  }

}

/* ============================
   3カラムカード
============================ */
.three-cards {
  max-width: 1300px;
  margin: 50px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.three-cards .card {
  width: auto;
  min-width: 0;
}

.card {
  box-sizing: border-box;

  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.card {
  width: auto;
}

.card-photo img {
  width: 100%;
  display: block;
}

.card-text {
  padding: 16px 18px;
  text-align: left;
}

.card-text h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.card-text p {
  font-size: 14px;
  color: #555;
}

@media (max-width: 768px) {



  @media (max-width: 768px) {

  .two-cards {
    flex-direction: column;
  }

  .card2 {
    width: 100%;
    margin-bottom: 20px;
  }

  .three-cards {
    grid-template-columns: 1fr;
  }

}

  .member-btns {
    flex-direction: column;
  }
}

.plan-cards {
  grid-template-columns: repeat(2, 400px);
  justify-content: center;
}

.plan-cards .card {
  max-width: 400px;
}

@media (max-width: 768px) {

  .plan-cards {
    grid-template-columns: 1fr;
  }

}

.yokoku {
  display: inline-block;
  background: #e60012;
  color: #fff !important;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 3px;
  margin-bottom: 12px;
}

.yokoku,
.yokoku:visited,
.yokoku span {
  color: #fff !important;
}

.sold-card {
  filter: grayscale(30%) brightness(30%);
}

.member-only {
  position: relative;
}

.member-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0,0,0,.25);
}

.member-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.member-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.member-btn {
  display: inline-block;
  padding: 10px 24px;
  background: #b08b57;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  transition: all .3s ease;
}

.member-btn:hover {
  filter: brightness(1.15);
}

.member-note {
  color: #fff !important;
  font-size: 12px;
  line-height: 1.6;
  max-width: 260px;
  text-align: left;
  margin-top: 10px;
}

.card-link {
  display: block;
  text-decoration: none;
  color: #333;
}

.card-link:hover,
.card-link:visited,
.card-link:active {
  text-decoration: none;
  color: #333;
}

.card-link {
  transition: opacity .3s ease;
}

.card-link:hover {
  opacity: 0.6;
}

/* ============================
   OUTLINE TABLE
============================ */
.outline-table {
  width: 100%;
  max-width: 1300px;
  border-collapse: collapse;
  margin: 0 auto 24px;
}

.outline-table th,
.outline-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}

.outline-table th {
  background: #fff;
}



/* ============================
   FOOTER（狭く・端正に）
============================ */
.footer {
  background: #2b2b2b;
  color: #f2f2f2;

  padding: 32px 0 24px; /* ← 高さを半分に */
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  justify-content: space-between;
  gap: 24px; /* ← 少し狭く */
}

.footer-logo {
  font-size: 18px; /* ← 20px → 18px にして端正に */
  letter-spacing: 0.12em;
  font-weight: 600;
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* PCだけ行間を詰める */
@media (min-width: 769px){
  .footer-nav{
    gap: 0;
  }

  .footer-nav a{
    padding: 1px 0;
    line-height: 2.6;
  }
}

.footer-nav a {
  color: #e6e6e6;
  text-decoration: none;
  font-size: 13px; /* ← 14px → 13px にして上質に */
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

@media (max-width:768px){

  .footer-nav{
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 15px 0;
    margin: 15px 0;
  }

  .footer-nav a{
    display: block;
    padding: 10px 0;
    text-align: center;
  }

}

.footer-company {
  font-size: 14px; /* ← 13px → 14px */
  line-height: 1.6; /* ← 1.8 → 1.6 */
  opacity: 0.85;
}

.footer-copy {
  text-align: center;
  margin-top: 24px; /* ← 40px → 24px */
  font-size: 11px; /* ← 12px → 11px */
  opacity: 0.6;
}

/* SP最適化 */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px; /* ← 32px → 20px */
  }

  .footer-nav {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px; /* ← 16px → 12px */
  }
}

.footer-company-logo img{
  width: 220px;
  height: auto;
  display: block;
  padding-bottom: 30px;
}

@media (max-width:768px){
  .footer-company-logo{
    margin-top: 30px;
  }

  .footer-company-logo img{
    margin: 0 auto;
  }
}

.footer-logo img{
  width: 220px;
  height: auto;
  display: block;
}

/* PC */
@media (min-width:769px){
  .footer-logo{
    padding-left: 40px;
  }
}

/* SP */
@media (max-width:768px){
  .footer-logo img{
    margin: 0 auto;
  }
}


/* ============================
   FADE-IN
============================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.box_inner {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  border: 1px solid #ddd;
  padding: 24px;
  background: #fff;
  box-sizing: border-box;
}
.address {
  background: #222;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 16px;
  text-align: center;
  border-radius: 4px;
  margin: 12px 0;
}
.box_inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#location .labo-visual,
#plan .labo-visual,
#equipment .labo-visual ,
#model .labo-visual ,
#outline .labo-visual{
  height: 100vh;
}

@media (max-width: 768px) {
  #location .labo-visual,
  #plan .labo-visual,
  #equipment .labo-visual,
  #model .labo-visual,
  #outline .labo-visual{
    height: calc(35vh + 64px);
    min-height: 264px;
  }
}

@media (max-width: 768px){

  #top .labo-visual{
    height: calc(50vh + 64px);
    min-height: 344px;
  }

}

@media (min-width: 769px) {
  .plan-map {
    max-width:700px !important;
    width: 100%;
    margin: 0 auto;
    display: block;
  }
}

/* ============================
   PC：トップへ戻るボタン
============================ */
.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  width: 60px;
  height: 60px;

  background: #111; /* 野村の黒 */
  border: 1px solid #b08b57; /* shogaゴールド */
  border-radius: 6px;

  color: #b08b57;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease, box-shadow .3s ease;
  z-index: 999;
}

/* 表示状態 */
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ホバー：控えめな光沢 */
.back-to-top:hover {
  box-shadow: 0 10px 28px rgba(176,139,87,0.35);
  background: #1a1a1a;
}

/* SPでは非表示 */
@media (max-width: 768px) {
  .back-to-top {
    display: none;
  }
}

/* ============================
   アンカーリンク
============================ */
.nm-anchor {
  position: relative;
  display: inline-block;
  padding: 8px 4px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color .3s ease;
}

/* 下線アニメーション */
.nm-anchor::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #b08b57; /* shogaゴールド */
  transition: width .3s ease;
}

.nm-anchor:hover {
  color: #b08b57;
}

.nm-anchor:hover::after {
  width: 100%;
}

/* ============================
   設備タブ
============================ */
.equipment-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 40px 0 30px;
}

.eq-tab {
  padding: 12px 24px;
  background: #111;
  border: 1px solid #b08b57;
  border-radius: 6px;
  color: #b08b57;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s ease;
}

.eq-tab:hover {
  background: #1a1a1a;
  box-shadow: 0 6px 20px rgba(176,139,87,0.35);
}

.eq-tab.active {
  background: #b08b57;
  color: #fff;
}

@media (max-width: 768px) {

  .equipment-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .equipment-tabs .eq-tab {
    width: 100%;
    min-height: 56px;
    padding: 12px 16px;
  }

}

/* ============================
   内容パネル
============================ */
.equipment-content {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.eq-panel {
  display: none;
  animation: fadeTab .4s ease;
}

.eq-panel.active {
  display: block;
}

.eq-panel img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

@keyframes fadeTab {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================
   設備タブ：左揃えに変更
============================ */
.equipment-content {
  text-align: left; /* ← 全体を左揃えに */
}

.eq-panel h3 {
  text-align: left;
  font-size: 18px;
  margin: 10px 0 6px;
}

.eq-panel p {
  text-align: left;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* 画像の下に余白を少し追加して整える */
.eq-panel img {
  margin-bottom: 16px;
}

/* ============================
   設備タブ：左揃え＋タイトル中央
============================ */

/* 全体は左揃えのまま */
.equipment-content {
  text-align: left;
}

/* タイトルと説明文だけ中央揃え */
.eq-panel h3,
.eq-panel p {
  text-align: center;
}

/* タイトルの調整 */
.eq-panel h3 {
  font-size: 18px;
  margin: 14px 0 8px;
}

/* 説明文の調整 */
.eq-panel p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  text-align: left;
  margin-bottom: 24px;
}

/* 画像の下に余白 */
.eq-panel img {
  display: block;
  margin: 0 auto 20px;
}

.eq-panel > h3 {
  margin-top: 60px;
  margin-bottom: 40px;
}

/* ============================
   路線アクセス
============================ */
.access-map {
  width: 100%;
  max-width: 1300px;
  display: block;
  margin: 30px auto 60px;
}

.access-cards .card2 {
  background: transparent;
  box-shadow: none;
  margin-top: 40px;
  border-radius: 0;
}

.access-cards .card2-text {
  padding: 0;
}


.mv-photo {
  width: 100%;
  max-width: 1300px;
  display: block;
  margin: 60px auto 0px;
}

.card2-nobg {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.card2-nobg .card2-text {
  padding: 0;
}

.card2-left .card2-text,
.card2-left h2,
.card2-left p {
  text-align: left;
}



.plan-copy {
  max-width: 1300px;
  width: 100%;
  padding: 0;
  gap: 100px;
}

.plan-copy .card2 {
  width: calc((100% - 100px) / 2);
}

@media (max-width: 768px) {
  .plan-copy {
    flex-direction: column;
    gap: 40px;
  }

  .plan-copy .card2 {
    width: 100%;
    flex: 0 0 100%;
  }
}

/* ============================
   MODEL HOUSE
============================ */

#model{
  position: relative;
  min-height: 220vh;
} 

#model{
  position: relative;
  min-height: 220vh;
}

#modelhouse{
  position: relative;
  z-index: 20;
  background: #fff;
  margin-top: -10px;
}

@media (max-width: 768px){

  #model{
    min-height: auto;
  }

  #modelhouse{
    margin-top: 0;
  }

  .mh-slider,
  .mh-slider .swiper-wrapper,
  .mh-slider .swiper-slide{
    height: 350px !important;
  }
}

.labo-content{
  position: relative;
  z-index: 2;
  background: #fff;
}

/* スライダー本体 */
.mh-slider {
  position: relative;
  width: 100%;
  max-width: 1300px;
  height: 867px;
  margin: 0 auto;
  overflow: hidden;
}

/* スライダーを枠いっぱいに広げる */
.mh-slider .swiper-wrapper,
.mh-slider .swiper-slide {
  height: 100%;
}

/* 画像を画面いっぱいにフィット */
.mh-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ★ドット（●）を写真の外に出す */
.mh-slider .swiper-pagination {
  position: absolute;
  bottom: -70px; /* ← キャプションと重ならない安全値 */
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 5;
}

/* ★ページャー（01/21）も外に出す */
.mh-pager {
  position: absolute;
  bottom: -110px; /* ← ドットよりさらに下へ */
  left: 50%;
  transform: translateX(-50%);
  color: #555;
  font-size: 13px;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.12em;
  opacity: 0.9;
}


.mh-slider .swiper-pagination,
.swiper-pagination,
.swiper-pagination-bullets {
  bottom: auto !important;
  top: auto !important;
  position: relative !important;
  margin-top: -50px !important;
  transform: none !important;
}

.mh-slider + .swiper-pagination {
  position: relative !important;
  margin-top: 20px !important;
}


/* ラベル（リビング・ダイニング等） */
.swiper-slide {
  position: relative;
}

.mh-label{
  position:absolute;
  right:0px;
  bottom:0px;
  padding:6px 12px;
  background:rgba(0,0,0,.55);
  color:#fff;
  font-size:13px;
  letter-spacing:.05em;
  pointer-events:none;
  z-index:30;
}

.mh-prev,
.mh-next{
  display:none;
}

/* キャプション（下のテキスト） */
.model-caption {
  text-align: center;
  margin-top: 40px; /* ← ドットとページャーと絶対に重ならない距離 */
}

.model-caption-text {
  font-size: 14px;
  color: #555;
  letter-spacing: 0.05em;
}

.mh-slider{
  border: 1px solid #d8d8d8;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
}

/* ============================
   MODEL HOUSE CTA
============================ */
.modelhouse-cta {
  background: #fff;
  padding: 60px 0;
  text-align: center;
	background: #fff;
}

.cta-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-buttons {
  list-style: none;
  padding: 0;
  margin: 50px 0 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn{
  display:block;
  padding:22px 40px;
  min-width:320px;
  min-height:80px;
  font-size:28px;
  font-weight:700;
  text-align:center;
  color:#fff;
  text-decoration:none;
  border-radius:12px;
}

.cta-btn,
.cta-btn:visited,
.cta-btn:hover{
  color:#fff;
}

.cta-buttons{
  gap:20px;
}

.cta-btn{
  min-width:320px;
  min-height:80px;
  font-size:28px;
}

.cta-btn:hover {
  opacity: 0.85;
}

.cta-blue { background: #1f3f66; }
.cta-yellow { background: #8a6b32; }
.cta-green { background: #255942; }

.cta-tel-note {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}

.cta-tel-number {
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.cta-tel-number span {
  font-size: 24px;
  color: #b08b57;
}

/* SP最適化 */
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 14px;
  }

  .cta-btn {
    width: 100%;
    padding: 18px 0;
    min-width: auto;
  }

  .cta-tel-number span {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .modelhouse-cta {
    display: none;
  }
}


/* ============================
   予告広告
============================ */
.yokoku-ad{
  margin-top: 15px;
  text-align: center;
}

.yokoku-title{
  display:inline-block;
  margin:30px 0 14px;
  padding:3px 12px;
  border:1px solid #777;
  font-size:18px;
  font-weight:600;
  letter-spacing:0.08em;
}

.yokoku-note{
  font-size: 12px;
  line-height: 1.8;
  color: #666;
  text-align: center;
}

@media (max-width: 768px){

  .yokoku-note{
    text-align: left;
  }

}


/* ============================
   バナー
============================ */

/* .reserveSwiper {
  position: relative;
  overflow: visible !important;
  padding-bottom: 60px;
  margin-bottom: 100px;
} */

.reserveSwiper .swiper-pagination {
  position: absolute;
  bottom: -50px !important;
  left: 50%;
  transform: translateX(-50%);
}

.reserveSwiper .swiper-slide {
  padding: 0;
  box-sizing: border-box;
}

.reserveSwiper .swiper-slide a {
  display: block;
  overflow: hidden;
}

.reserveSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #d8d8d8;
  box-sizing: border-box;
  transition: all 0.3s ease;
  margin-bottom: 28px;
}

.reserveSwiper .swiper-slide a:hover img {
  transform: scale(1.03);
  opacity: 0.9;
}

/* ナビゲーション */
.reserveSwiper .swiper-button-prev,
.reserveSwiper .swiper-button-next{
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.45);
  border-radius: 20%;
  color: #fff;
}

.reserveSwiper .swiper-button-prev::after,
.reserveSwiper .swiper-button-next::after{
  font-size: 24px;
  font-weight: 900;
}

/* ドット */
.swiper-pagination-bullet {
  background: #b08b57;
}


/* ============================
   モーダル版
============================ */
.modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  z-index:99999;
}

.modal-content{
  position:relative;
  width:95vw;
  height:95vh;
  margin:auto;
  display:flex;
  justify-content:center;
  align-items:center;
  background:transparent;
}

#modalImg{
  display:block;
  max-width:95vw;
  max-height:90vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:8px;
  touch-action: pinch-zoom;
}

.close{
  position:absolute;
  top:10px;
  right:15px;
  color:#fff;
  font-size:48px;
  line-height:1;
  cursor:pointer;
  z-index:100000;
}

/* スマホ */
@media (max-width:768px){

  .modal-content{
    width:100vw;
    height:100vh;
    padding:10px;
  }

  #modalImg{
    max-width:100%;
    max-height:85vh;
  }

  .close{
    top:15px;
    right:20px;
    font-size:40px;
  }
}


.banner-cards{
  max-width: 1100px;
  margin: 40px auto;
}

.banner-cards .card{
  box-shadow: none;
  background: none;
}

.banner-cards img{
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  cursor: pointer;
}

.modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(0,0,0,.8);
}

.modal-content{
  width:90%;
  max-width:1200px;
  margin:3% auto;
  text-align:center;
}


.close{
  color:#fff;
  font-size:40px;
  cursor:pointer;
  float:right;
}

#modalImg {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  margin: 40px auto;
}

.modal-content {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  background: transparent;
}


/* ============================
   OUTLINE
============================ */

#outline .labo-content{
  background:#fff;
  padding:80px 24px;
  border-radius:8px;
}

/* 物件概要タイトル */

#outline .labo-title{
  position:relative;
  color:#111;
  font-size:34px;
  font-weight:700;
  letter-spacing:.08em;
  padding-bottom:20px;
  margin-bottom:50px;
  text-align:center;
}

#outline .labo-title::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  transform:translateX(-50%);
  width:120px;
  height:1px;
  background:#b08b57;
}

/* 物件名 */

.title3{
  text-align:center;
  margin-bottom:40px;
}

.title3 p{
  display:inline-block;
  background:#fff;
  color:#111;
  padding:14px 24px;
  font-size:22px;
  font-weight:700;
  letter-spacing:.08em;
  border-left:none;
}

/* ============================
   物件概要見出し
   基本物件概要
   予告分譲住宅
============================ */

.outlineList .estate_detail_outline_body_title{
  display:block;
  width:100%;
  font-size:32px;
  font-weight:700;
  line-height:1.4;
  text-align:left;
  color:#111;
  margin:60px 0 20px;
  padding-bottom:10px;
  border-bottom:2px solid #b08b57;
}

.outlineList .estate_detail_outline_body_title:first-child{
  margin-top:0;
}

/* ============================
   テーブル
============================ */

.outlineList{
  max-width:1300px;
  margin:0 auto;
}

.outlineList table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}

.outlineList .table-condensed{
  margin-bottom:0px;
}

.outlineList th{
  width:28%;
  padding:18px 24px;
  background:#f6f1e8;
  border-bottom:1px solid #d9c4a1;
  font-weight:700;
  color:#333;
  text-align:left;
  vertical-align:top;
}

.outlineList td{
  padding:10px 24px;
  border-bottom:1px solid #ddd;
  color:#555;
  line-height:1.8;
  text-align:left;
  font-size:16px;
  letter-spacing:.02em;
}


.outlineList tr:last-child th,
.outlineList tr:last-child td{
  border-bottom:none;
}

.outlineList tr:nth-child(even) td{
  background:#fcfcfc;
}

/* リンク */

.outlineList a{
  color:#b08b57;
  text-decoration:none;
  font-size:15px;
  font-weight:700;
}

.outlineList a:hover{
  text-decoration:underline;
}

/* リスト */

.outlineList ul,
.outlineList li{
  list-style:none;
  margin:0;
  padding:0;
}

/* 敷地面積の ～ */

.tableSiteArea__item + .tableSiteArea__item::before{
  content:"\301C";
  transform: rotate(90deg);
  display: inline-block;
  font-size:18px;
  font-weight:700;
  color:#666;
  text-align:center;
  margin:4px 0 4px -8px;
}

/* ============================
   SP
============================ */

@media (max-width:768px){

  .title3 p{
    font-size:18px;
    padding:10px 20px;
  }

  #outline .labo-title{
    font-size:28px;
  }

  .outlineList .estate_detail_outline_body_title{
    font-size:24px;
    margin:40px 0 15px;
  }

  .outlineList table,
  .outlineList tbody,
  .outlineList tr,
  .outlineList th,
  .outlineList td{
    display:block;
    width:100%;
  }

  .outlineList tr{
    margin-bottom:18px;
    border:1px solid #ddd;
    background:#fff;
    box-shadow:0 2px 8px rgba(0,0,0,.04);
  }

  .outlineList th{
    padding:12px 15px;
    font-size:14px;
    border:none;
    background:#f6f1e8;
  }

  .outlineList td{
    padding:15px;
    font-size:14px;
    border:none;
    line-height:1.8;
  }
}

@media (min-width: 769px){

  .table-responsive_none{
    border: 1px solid #e5e5e5;
  }
}


