/* Hero Split */
.hero-split {
  background-color: var(--white);
  padding: 0;
  min-height: auto;
  overflow: visible;
  position: relative;
}
.hero-inner {
  display: flex;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 640px;
  position: relative;
  z-index: 1;
  background-color: var(--white);
}
.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 56px 80px 40px;
}
.hero-label {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 32px;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 28px;
  width: fit-content;
}
.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 24px;
  color: #000;
}
.hero-title-accent {
  color: var(--primary);
}
.hero-sub {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 40px;
  font-weight: 500;
  line-height: 1.8;
}
.hero-sub-accent {
  color: var(--primary);
  font-weight: 700;
}
.hero-badges {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
}
.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  border-right: 1px solid var(--border);
  color: var(--text);
}
.hero-badge:first-child { padding-left: 0; }
.hero-badge:last-child { border-right: none; }
.hero-badge svg {
  color: var(--primary);
}
.hero-badge span {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}
.hero-badge strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}
.hero-cta {
  padding: 22px 64px;
  font-size: 20px;
  width: fit-content;
}
.hero-photo {
  flex: 1.2;
  position: relative;
  background-color: var(--primary-light);
  overflow: hidden;
  border-radius: 0 0 0 40px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Selling Points */
.selling-points {
  background-color: transparent;
  padding: 56px 0 24px;
  border-bottom: none;
  position: relative;
  z-index: 1;
}
.selling-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.selling-item {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border: 2px solid var(--primary);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.selling-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(35,127,190,.15);
}
.selling-item-head {
  background-color: var(--primary);
  color: var(--white);
  padding: 16px 16px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.selling-item-head svg {
  flex-shrink: 0;
}
.selling-item-body {
  padding: 32px 16px 28px;
}
.selling-num {
  font-size: 72px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  display: block;
}
.selling-num em {
  font-style: italic;
}
.selling-num small {
  font-size: 22px;
  font-weight: 700;
  font-style: normal;
}
.selling-note {
  font-size: 14px;
  color: var(--text);
  margin-top: 12px;
  display: block;
}
.selling-summary {
  text-align: center;
  margin-top: 16px;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.6;
  white-space: nowrap;
}

/* Quick CTA */
.quick-cta {
  background-color: var(--primary);
  padding: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.quick-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 28px 0;
  position: relative;
}
.quick-cta-inner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-color: var(--primary-dark);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}
.quick-cta-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
}
.quick-cta-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.quick-cta-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 14px 36px;
  background-color: var(--white) !important;
  color: var(--primary) !important;
  border-radius: 100px;
  transition: all var(--transition);
}
.quick-cta-tel:hover {
  opacity: 1 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.quick-cta .btn-outline {
  border-color: var(--white) !important;
  color: var(--white) !important;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 15px;
}
.quick-cta .btn-outline:hover {
  background-color: var(--white) !important;
  color: var(--primary) !important;
  opacity: 1 !important;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  counter-reset: feature;
}
.feature-card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 0;
  text-align: left;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  border: none;
  position: relative;
  counter-increment: feature;
}
.feature-card::before {
  content: counter(feature, decimal-leading-zero);
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 48px;
  font-weight: 800;
  font-style: italic;
  color: var(--primary);
  opacity: .1;
  line-height: 1;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(35,127,190,.15);
}
.feature-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 36px 32px;
}
.feature-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background-color: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.feature-icon svg {
  stroke: var(--white);
  width: 32px;
  height: 32px;
}
.feature-text {
  flex: 1;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-card p { font-size: 15px; color: var(--text); line-height: 1.8; }
.feature-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  transition: transform var(--transition), box-shadow var(--transition);
  max-height: 220px;
}
.feature-photo:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(35,127,190,.15);
}
.feature-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Gallery */
.gallery-grid {
  display: flex;
  gap: 0;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: auto;
  scrollbar-color: var(--primary) var(--primary-light);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.gallery-grid::-webkit-scrollbar { height: 12px; }
.gallery-grid::-webkit-scrollbar-track { background-color: var(--primary-light); border-radius: 6px; }
.gallery-grid::-webkit-scrollbar-thumb { background-color: var(--primary); border-radius: 6px; }
.gallery-grid::-webkit-scrollbar-thumb:hover { background-color: var(--primary-dark); }
.gallery-item {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  flex: 0 0 100%;
}
.gallery-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.gallery-item:hover img {
  opacity: .95;
}
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px;
  background: linear-gradient(transparent, rgba(26,35,50,.75));
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
}
.gallery-scroll-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 0 4px;
  color: var(--text-sub);
  font-size: 13px;
}
.gallery-scroll-bar::before {
  content: "← スクロールで写真を切り替え →";
  color: var(--primary);
  font-weight: 500;
}

/* Floor Plan */
.floor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.floor-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.floor-card h3 {
  text-align: center;
  padding: 16px;
  font-size: 15px;
  font-weight: 700;
  background-color: var(--primary);
  color: var(--white);
}
.floor-card img { width: 100%; }

/* Nearby */
.nearby-facilities {
  margin-top: 40px;
  padding: 32px;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.nearby-facilities h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.nearby-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: var(--light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.nearby-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.nearby-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.nearby-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nearby-name {
  font-size: 15px;
  font-weight: 600;
}
.nearby-time {
  font-size: 14px;
  color: var(--primary);
  font-weight: 700;
}

/* Flow */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  position: relative;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(35,127,190,.12);
}
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--primary);
  background-color: var(--primary);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 1;
}
.flow-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(35,127,190,.3);
}
.flow-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.flow-body p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  border: 2px solid transparent;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover {
  box-shadow: 0 8px 32px rgba(35,127,190,.12);
  transform: translateY(-2px);
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 24px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before {
  content: "Q";
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(35,127,190,.3);
}
.faq-q::after {
  content: "+";
  margin-left: auto;
  font-size: 24px;
  color: var(--primary);
  font-weight: 700;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  border-radius: 12px;
  flex-shrink: 0;
  transition: all var(--transition);
}
details[open] .faq-q::after {
  content: "\2212";
  background-color: var(--primary);
  color: var(--white);
  transform: rotate(180deg);
}
details[open] .faq-item,
.faq-item:has([open]) {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(35,127,190,.15);
}
.faq-a {
  padding: 0 24px 24px 84px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

/* Card Decorations */
.feature-card::after,
.selling-item::after,
.flow-step::after,
.faq-item::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: .04;
  z-index: 0;
}

/* Feature cards - alternating deco */
.feature-card:nth-child(1)::after {
  width: 120px; height: 120px;
  bottom: -30px; right: -30px;
  background-color: var(--primary);
  border-radius: 50%;
}
.feature-card:nth-child(2)::after {
  width: 160px; height: 160px;
  top: -40px; right: -20px;
  background-color: var(--primary);
  transform: rotate(45deg);
  border-radius: 16px;
}
.feature-card:nth-child(3)::after {
  width: 100px; height: 200px;
  bottom: -60px; left: -20px;
  background-color: var(--primary);
  transform: rotate(-15deg);
  border-radius: 50%;
}
.feature-card:nth-child(4)::after {
  width: 140px; height: 140px;
  top: -30px; left: -40px;
  background-color: var(--primary);
  border-radius: 50%;
}
.feature-card:nth-child(5)::after {
  width: 180px; height: 80px;
  bottom: -20px; right: -40px;
  background-color: var(--primary);
  transform: rotate(20deg);
  border-radius: 40px;
}
.feature-card:nth-child(6)::after {
  width: 100px; height: 100px;
  top: -20px; right: -20px;
  background-color: var(--primary);
  transform: rotate(30deg);
}

/* Selling items - deco */
.selling-item { position: relative; }
.selling-item:nth-child(1)::after {
  width: 100px; height: 100px;
  bottom: -20px; right: -20px;
  background-color: var(--primary);
  border-radius: 50%;
}
.selling-item:nth-child(2)::after {
  width: 120px; height: 120px;
  top: -30px; left: -30px;
  background-color: var(--primary);
  transform: rotate(45deg);
  border-radius: 12px;
}
.selling-item:nth-child(3)::after {
  width: 80px; height: 160px;
  bottom: -40px; left: 50%;
  background-color: var(--primary);
  transform: rotate(-20deg);
  border-radius: 50%;
}

/* Flow steps - deco */
.flow-step { position: relative; overflow: hidden; }
.flow-step:nth-child(odd)::after {
  width: 80px; height: 80px;
  bottom: -20px; right: -20px;
  background-color: var(--primary);
  border-radius: 50%;
}
.flow-step:nth-child(even)::after {
  width: 100px; height: 60px;
  top: -15px; left: -20px;
  background-color: var(--primary);
  transform: rotate(-25deg);
  border-radius: 30px;
}

/* FAQ items - deco */
.faq-item { position: relative; overflow: hidden; }
.faq-item:nth-child(odd)::after {
  width: 90px; height: 90px;
  top: -20px; right: -20px;
  background-color: var(--primary);
  border-radius: 50%;
}
.faq-item:nth-child(even)::after {
  width: 120px; height: 60px;
  bottom: -15px; left: -20px;
  background-color: var(--primary);
  transform: rotate(15deg);
  border-radius: 30px;
}

/* SP */
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; min-height: auto; }
  .hero-text { padding: 40px 20px 32px; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .hero-photo { height: 280px; }
  .hero-badges { flex-wrap: wrap; }
  .hero-badge { padding: 0 16px; }
  .hero-cta { width: 100%; text-align: center; }
  .selling-grid { grid-template-columns: 1fr; gap: 16px; }
  .selling-item { flex-direction: row; align-items: center; }
  .selling-item-head { font-size: 13px; padding: 12px 16px; min-width: 120px; justify-content: center; border-radius: 12px 0 0 12px; }
  .selling-item-body { padding: 16px 20px; text-align: left; }
  .selling-num { font-size: 36px; }
  .selling-num small { font-size: 16px; }
  .selling-desc { font-size: 12px; }
  .selling-note { font-size: 12px; }
  .quick-cta-inner { flex-direction: column; text-align: center; }
  .nearby-grid { grid-template-columns: 1fr; }
  .quick-cta-actions { flex-direction: column; width: 100%; }
  .quick-cta-actions .btn { width: 100%; }
  .quick-cta-tel { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card-inner { padding: 20px 16px; gap: 16px; }
  .feature-card-inner .feature-icon { width: 48px; height: 48px; border-radius: 12px; }
  .feature-card-inner .feature-icon svg { width: 24px; height: 24px; }
  .feature-card h3 { font-size: 17px; }
  .feature-card p { font-size: 13px; }
  .feature-photo img { height: 200px; }
  .gallery-grid { width: 100%; margin-left: 0; }
  .gallery-item img { height: 300px; }
  .gallery-placeholder { height: 160px; }
  .floor-grid { grid-template-columns: 1fr; gap: 20px; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .flow-step:not(:last-child)::after { display: none; }
  .flow-step { padding: 0 8px; }
  .feature-card::after,
  .selling-item::after { transform: scale(.5); }
}
@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .hero-badge { padding: 0 12px; }
  .hero-badge span { font-size: 12px; }
  .hero-badge strong { font-size: 14px; }
  .flow-steps { grid-template-columns: 1fr; gap: 20px; }
}
