@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansjp/v55/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFE8j75s.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansjp/v55/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFBEj75s.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansjp/v55/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFCMj75s.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notosansjp/v55/-F6jfjtqLzI2JPCgQBnw7HFyzSD-AsregP8VFPYk75s.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notoserifjp/v32/xn71YHs72GKoTvER4Gn3b5eMRtWGkp6o7MjQ2bxvOubA.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notoserifjp/v32/xn71YHs72GKoTvER4Gn3b5eMRtWGkp6o7MjQ2bwxOubA.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notoserifjp/v32/xn71YHs72GKoTvER4Gn3b5eMRtWGkp6o7MjQ2bwDOubA.ttf) format('truetype');
}
@font-face {
  font-family: 'Noto Serif JP';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/notoserifjp/v32/xn71YHs72GKoTvER4Gn3b5eMRtWGkp6o7MjQ2bzvPebA.ttf) format('truetype');
}
/* Modern Index Styles */
/* Less Saturation, Premium Deep Purple */
:root {
  --premium-accent: #605CA8;
  --premium-black: #111111;
  --premium-dark-gray: #1a1a1a;
  --premium-light-gray: #f4f4f4;
  --premium-white: #ffffff;
  --text-muted: #aaaaaa;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #ffffff;
  background-color: #111111;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.05em;
}
/* Sections */
.section-padding {
  padding: 100px 0;
}
.bg-dark-premium {
  background-color: #1a1a1a;
}
.text-accent {
  color: #605CA8 !important;
}
/* Concept Section */
/* Concept Section */
/* Concept Section */
.concept-section {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/back.jpg');
  /* Base Layer (back.jpg) - Visible when others are opacity 0 */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* Layer 2 (back2.jpg) */
  /* Layer 3 (back3.jpg) */
  /* Ensure content is above the background layers */
  /* Fix for Mobile: Disable fixed background attachment */
}
.concept-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/back2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  z-index: 1;
  animation: slideLayer2 18s infinite;
}
.concept-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/back3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  z-index: 1;
  animation: slideLayer3 18s infinite;
}
.concept-section > * {
  position: relative;
  z-index: 2;
}
@media (max-width: 767px) {
  .concept-section,
  .concept-section::before,
  .concept-section::after {
    background-attachment: scroll;
  }
}
/* 
   Cycle: back -> back2 -> back3 -> back
   Total: 18s (6s each)
   
   Layer 2 (back2):
   0-33%: 0 (back showing)
   33-66%: 1 (back2 showing)
   66-100%: 0 (back3 showing)
*/
@keyframes slideLayer2 {
  0% {
    opacity: 0;
  }
  28% {
    opacity: 0;
  }
  33% {
    opacity: 1;
  }
  61% {
    opacity: 1;
  }
  66% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* 
   Layer 3 (back3):
   0-66%: 0 (back -> back2 showing)
   66-100%: 1 (back3 showing)
   *Note: fade out at 100% to reveal back1 at 0%
*/
@keyframes slideLayer3 {
  0% {
    opacity: 0;
  }
  61% {
    opacity: 0;
  }
  66% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.concept-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/* Premium Footer */
.premium-footer {
  background-color: #0b0b0b;
  /* Even darker than premium-black */
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0;
}
.premium-footer .footer-logo {
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.premium-footer .footer-logo:hover {
  opacity: 1;
}
.premium-footer .footer-nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.premium-footer .footer-nav .footer-link {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  position: relative;
  opacity: 0.8;
  transition: all 0.3s ease;
}
.premium-footer .footer-nav .footer-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 1px;
  background: #605CA8;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.premium-footer .footer-nav .footer-link:hover {
  opacity: 1;
  color: #605CA8;
}
.premium-footer .footer-nav .footer-link:hover::after {
  width: 100%;
}
.premium-footer .footer-utility {
  margin-top: 2rem;
}
.premium-footer .footer-utility .utility-link {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.premium-footer .footer-utility .utility-link:hover {
  color: #999;
}
.premium-footer .footer-utility .utility-separator {
  color: #444;
  margin: 0 1rem;
  font-size: 0.8rem;
}
.premium-footer .copyright {
  margin-top: 3rem;
  color: #444 !important;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.1em;
}
.concept-text {
  font-size: 1.2rem;
  line-height: 2;
  max-width: 800px;
  margin: 0 auto;
}
/* Customization Section */
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-10px);
  border-color: #605CA8;
}
.feature-icon {
  font-size: 2rem;
  color: #605CA8;
  margin-bottom: 1rem;
}
/* Lineup Section */
.lineup-card {
  background: #1a1a1a;
  border: none;
  overflow: hidden;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}
.lineup-card:hover {
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
  /* Shadow matching accent */
}
.lineup-card:hover .lineup-img {
  transform: scale(1.1);
}
.lineup-card:hover .lineup-img-shop {
  background: linear-gradient(45deg, rgba(44, 62, 80, 0), rgba(0, 0, 0, 0)), url('../images/shop.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
}
.lineup-card:hover .lineup-img-office {
  background: linear-gradient(45deg, rgba(44, 62, 80, 0), rgba(0, 0, 0, 0)), url('../images/office.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
}
.lineup-card:hover .lineup-img-guest {
  background: linear-gradient(45deg, rgba(44, 62, 80, 0), rgba(0, 0, 0, 0)), url('../images/guest.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
}
.lineup-card:hover .lineup-img-home {
  background: linear-gradient(45deg, rgba(44, 62, 80, 0), rgba(0, 0, 0, 0)), url('../images/home.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
}
.lineup-img-wrapper {
  height: 250px;
  overflow: hidden;
  position: relative;
  background-color: #333;
  /* Placeholder color */
}
.lineup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.lineup-body {
  padding: 2rem;
}
.lineup-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}
.lineup-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  color: #605CA8;
  margin-bottom: 1rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.lineup-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
  margin-top: 1rem;
  display: block;
}
/* Shop Card Specific Image Style */
.lineup-img-shop {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(44, 62, 80, 0.5), rgba(0, 0, 0, 0.5)), url('../images/shop.jpg');
  background-size: cover;
  background-position: center;
  transition: all 0.5s ease;
}
/* Office Card Specific Image Style */
.lineup-img-office {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(44, 62, 80, 0.5), rgba(0, 0, 0, 0.5)), url('../images/office.jpg');
  background-size: cover;
  background-position: center;
  transition: all 0.5s ease;
}
/* Guest House Card Specific Image Style */
.lineup-img-guest {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(44, 62, 80, 0.5), rgba(0, 0, 0, 0.5)), url('../images/guest.jpg');
  background-size: cover;
  background-position: center;
  transition: all 0.5s ease;
}
/* Home Card Specific Image Style */
.lineup-img-home {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(44, 62, 80, 0.5), rgba(0, 0, 0, 0.5)), url('../images/home.jpg');
  background-size: cover;
  background-position: center;
  transition: all 0.5s ease;
}
/* Merit List */
.merit-list {
  list-style: none;
  padding: 0;
  counter-reset: merit-counter;
}
.merit-item {
  position: relative;
  padding: 2rem 2rem 2rem 5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s;
}
.merit-item:hover {
  background: rgba(255, 255, 255, 0.02);
}
.merit-item::before {
  counter-increment: merit-counter;
  content: "0" counter(merit-counter);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Noto Serif JP', serif;
  font-size: 2.5rem;
  color: #605CA8;
  opacity: 0.5;
}
.merit-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}
/* Specs Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}
.spec-table th,
.spec-table td {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}
.spec-table th {
  color: #605CA8;
  font-weight: normal;
  font-family: 'Noto Serif JP', serif;
}
/* Animations (Simple Fade Up) */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fade-up {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  /* JS will trigger this or we can just let it run if in view */
}
/* Utility */
.separator {
  width: 60px;
  height: 3px;
  background-color: #605CA8;
  margin: 2rem auto;
}
/* Common Lineup Styles */
.lineup-hero {
  /* Removed background props, now just a container */
  min-height: auto;
  /* Let content dictate height */
  position: relative;
  overflow: hidden;
}
.lineup-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}
/* Hero classes likely not needed for background anymore if using img tags, 
   but keeping them empty or removing if unused. 
   We will treat them as unused for now. */
.unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.unit-item {
  background: rgba(255, 255, 255, 0.1);
  color: #aaaaaa;
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  border-radius: 4px;
}
.unit-item.active {
  background: #605CA8;
  color: #ffffff;
  font-weight: bold;
}
.floor-plan-container {
  background: #333;
  padding: 20px;
  /* Increased padding for better framing per user request */
  border-radius: 8px;
  margin-bottom: 2rem;
  overflow: hidden;
  /* Ensure image respects border radius */
}
.floor-plan-container p {
  padding: 1rem;
  margin: 0;
}
.floor-plan-img {
  width: 100%;
  height: auto;
  display: block;
  /* Removes bottom spacing/gap from inline images */
  /* max-height removed per user request */
}
/* Inquiry Styles */
.form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem;
}
.form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #605CA8;
  color: white;
  box-shadow: 0 0 0 0.2rem rgba(96, 92, 168, 0.25);
}
.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.contact-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.contact-header {
  background: rgba(96, 92, 168, 0.1);
  /* Low opacity accent */
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  color: #605CA8;
}
.contact-body {
  padding: 2rem;
}
.contact-footer {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: #aaaaaa;
}
/* Navigation & Mobile Menu */
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}
/* Global Nav Styling (Desktop) */
.navbar-nav .nav-link {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  margin-right: 1.2rem;
  /* Spacing between items */
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
.navbar-nav .nav-link i {
  margin-right: 5px;
}
.navbar-nav .nav-link:hover {
  color: #605CA8 !important;
}
/* Contact Us Button Style */
.btn.req {
  font-family: 'Noto Serif JP', serif;
  background: linear-gradient(135deg, #605CA8 0%, #3a3767 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(96, 92, 168, 0.4);
  transition: all 0.3s ease;
  padding: 0.5rem 1.5rem;
  letter-spacing: 0.05em;
}
.btn.req:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(96, 92, 168, 0.6);
  background: linear-gradient(135deg, #807dba 0%, #605CA8 100%);
}
.dropdown-menu {
  background-color: rgba(26, 26, 26, 0.95);
  /* @premium-dark-gray with opacity */
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.dropdown-menu .dropdown-item {
  color: #ffffff;
  padding: 10px 20px;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #605CA8;
  color: #ffffff;
}
/* Mobile Menu Specifics */
@media (max-width: 767px) {
  .navbar-collapse {
    background: rgba(17, 17, 17, 0.98);
    /* @premium-black almost opaque */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  .navbar-nav {
    text-align: left;
    width: fit-content;
    margin: 0 auto;
    display: block;
    /* Ensure it behaves as a block for margin auto */
  }
  .navbar-nav .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }
  .navbar-nav .nav-link {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    padding: 1.2rem 1.5rem;
    /* Add side padding */
    color: #ffffff !important;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    /* Vertically align icon and text */
  }
  .navbar-nav .nav-link i {
    margin-right: 15px;
    /* Increase space slightly */
    color: #605CA8;
    width: 24px;
    /* Fixed width for icon centering */
    text-align: center;
  }
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:active {
    color: #605CA8 !important;
  }
  /* Mobile Dropdown Styling */
  .dropdown-menu {
    background: transparent;
    border: none;
    text-align: center;
    padding: 0;
    margin-top: 0;
  }
  .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 0;
    font-size: 1.1rem;
  }
  .dropdown-menu .dropdown-item:hover,
  .dropdown-menu .dropdown-item:active {
    background: transparent;
    color: #605CA8;
  }
}
/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.lightbox-overlay.active {
  display: flex;
  opacity: 1;
}
.lightbox-overlay .lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  cursor: default;
  animation: zoomIn 0.3s ease;
}
.lightbox-overlay .lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #ffffff;
  font-size: 50px;
  cursor: pointer;
  font-weight: 300;
  transition: color 0.3s ease;
}
.lightbox-overlay .lightbox-close:hover {
  color: #605CA8;
}
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.lightbox-trigger {
  cursor: pointer;
  /* transition is handled by lineup-img */
}
/* Design Page Hero Slideshow */
.design-slideshow {
  position: relative;
  overflow: hidden;
  min-height: 60vh;
}
.design-slideshow .hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.design-slideshow .slide-base {
  z-index: 0;
}
.design-slideshow .slide-overlay-1 {
  z-index: 1;
  opacity: 0;
  animation: slideTwo 30s infinite ease-in-out;
}
.design-slideshow .slide-overlay-2 {
  z-index: 2;
  opacity: 0;
  animation: slideThree 30s infinite ease-in-out;
}
.design-slideshow .lineup-hero-overlay {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  min-height: 60vh;
}
.design-slideshow .lineup-hero-overlay h1,
.design-slideshow .lineup-hero-overlay .lead {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}
@keyframes slideTwo {
  0%,
  23% {
    opacity: 0;
  }
  33%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes slideThree {
  0%,
  56% {
    opacity: 0;
  }
  66%,
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* Lineup Page Gallery */
.lineup-gallery-img {
  background-color: #333;
  background-size: cover;
  background-position: center;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 4px;
}
.lineup-gallery-img-wide {
  background-color: #333;
  background-size: cover;
  background-position: center;
  width: 100%;
  aspect-ratio: 5 / 2;
  /* 2.5:1 ratio */
  border-radius: 4px;
}
