﻿:root {
  --brand: #005bac;
  --brand-dark: #004a8d;
  --brand-soft: #eaf4ff;
  --accent: #ff9f43;
  --accent-hover: #f38c24;
  --cream: #fff8ef;
  --text: #1f2a3d;
  --muted: #5f6f86;
  --border: #d5e5f5;
  --surface: #ffffff;
  --surface-muted: #f4f9ff;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 240px);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
a {
  transition: all 0.22s ease;
}

:focus-visible {
  outline: 3px solid rgba(0, 91, 172, 0.35);
  outline-offset: 2px;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(780px, 92%);
}

.hero {
  position: relative;
  min-height: 90svh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-direction: column;
}

.hero-image,
.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  object-position: center;
}

.hero-overlay {
  background: rgba(0, 40, 82, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 24px 0;
  text-align: center;
}

.hero-property-wrap {
  position: absolute;
  left: 50%;
  bottom: -96px;
  transform: translateX(-50%);
  z-index: 3;
  width: min(960px, 92%);
}

.hero-property-teaser {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  align-items: center;
  margin: 0;
  padding: 16px 16px 18px;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #c7dff5;
  box-shadow: 0 16px 32px rgba(0, 38, 74, 0.2);
}

.hero-property-teaser img {
  width: 100%;
  height: 100%;
  min-height: 136px;
  object-fit: cover;
  border-radius: 8px;
  aspect-ratio: 3 / 2.2;
}

.hero-property-body {
  display: flex;
  flex-direction: column;
  padding: 18px 20px 18px 0;
}

.hero-property-body h3 {
  margin: 0 0 6px;
  color: var(--brand-dark);
}

.hero-property-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-property-body .btn-primary {
  align-self: center;
  margin-top: 16px;
}

.hero-logo {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
}

.hero-logo img {
  width: clamp(132px, 19vw, 220px);
  height: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
  font-weight: 800;
  background: rgba(255, 159, 67, 0.12);
  border: 1px solid rgba(255, 159, 67, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.6rem, 3.3vw, 2.75rem);
}

h3 {
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}

.lead,
.section-text {
  color: var(--muted);
  max-width: 760px;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-left: auto;
  margin-right: auto;
}

.section {
  padding: clamp(64px, 9vw, 100px) 0;
}

#about {
  padding-top: clamp(132px, 13vw, 170px);
}

.subheading {
  text-align: center;
  margin: 30px 0 22px;
  color: var(--brand-dark);
  font-weight: 700;
}

.recommend-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 26px;
  align-items: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(0, 91, 172, 0.07);
}

.card:hover {
  transform: translateY(-2px);
  border-color: #9ec5ef;
  box-shadow: 0 12px 30px rgba(0, 91, 172, 0.14);
}

.card p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--muted);
}

.recommend-illustration {
  margin: 0;
  padding: 16px;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(160deg, #f5fbff, #eaf4ff);
  border: 1px solid var(--border);
}

.recommend-illustration img {
  width: 100%;
  max-width: 450px;
  height: auto;
}

.section-dark {
  background: linear-gradient(180deg, var(--brand) 0%, #0f69b9 100%);
  color: #fff;
}

.section-dark .section-text,
.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

.steps {
  list-style: none;
  padding: 0 0 0 34px;
  margin: 34px 0 0;
  display: grid;
  gap: 14px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(255, 255, 255, 0.42);
}

.step-item {
  position: relative;
  border: 1px solid #c7dff5;
  border-radius: var(--radius);
  padding: 18px;
  background: #ffffff;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 16px;
  align-items: center;
  box-shadow: 0 8px 20px rgba(0, 33, 69, 0.12);
}

.step-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 28px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 159, 67, 0.45);
}

.step-content strong {
  display: block;
  font-size: 1.12rem;
  color: var(--brand-dark);
}

.step-label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  border: 1px solid #b9d9f6;
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--brand-soft);
}

.step-content p {
  margin: 8px 0 0;
  color: var(--muted);
}

.step-image {
  width: 100%;
  max-width: 180px;
  margin-left: auto;
}

.step-item-featured {
  border: 2px solid rgba(255, 159, 67, 0.95);
  background: linear-gradient(120deg, #fff8ef, #ffffff);
  box-shadow: 0 12px 28px rgba(255, 145, 35, 0.24);
}

.step-item-featured .step-label {
  color: #7b3c00;
  background: #ffe2bf;
  border-color: #ffd19a;
}

.property-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 28px;
  margin-top: 24px;
}

.slider {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  min-height: 0;
  box-shadow: 0 12px 28px rgba(0, 57, 106, 0.2);
}

#slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 280ms ease;
}

#slide-image.is-fading {
  opacity: 0;
}

.slider-controls {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 10px;
}

.slider-controls button {
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-dark);
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.slider-controls button:hover {
  background: #fff;
  transform: translateY(-1px);
}

.dots {
  position: absolute;
  right: 16px;
  bottom: 22px;
  display: flex;
  gap: 7px;
}

.dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.dots button.active {
  background: #fff;
  width: 22px;
}

.property-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(0, 91, 172, 0.08);
}

.tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid #b9d9f6;
  padding: 4px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.property-info dl {
  border-top: 1px solid var(--border);
  margin: 16px 0 18px;
  padding-top: 10px;
}

.property-info dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 5px 0;
}

.property-info dt {
  color: var(--muted);
}

.property-keywords {
  margin: 8px 0 18px;
}

.property-keywords p {
  margin: 0 0 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.property-keywords ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-keywords li {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid #b9d9f6;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 800;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(243, 140, 36, 0.34);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.section-cream {
  background: linear-gradient(180deg, #fffdf7 0%, var(--cream) 100%);
}

.rules-list {
  margin: 24px 0 0;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #f2dcb7;
  box-shadow: 0 10px 22px rgba(191, 137, 57, 0.12);
  list-style: none;
}

.rules-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 32px;
}

.rules-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, #005bac, #2b86d3);
  box-shadow: 0 5px 12px rgba(0, 91, 172, 0.26);
}

.footer {
  background: linear-gradient(180deg, #00529b, #00427d);
  color: #fff;
  padding: 78px 0;
  text-align: center;
}

.footer .section-text,
.footer-links,
.company,
.copyright {
  color: rgba(255, 255, 255, 0.84);
}

.footer .section-text {
  margin-inline: auto;
}

.company {
  max-width: 780px;
  margin: 0 auto;
}

.company p{
  margin: 0;
}

.company-group {
  max-width: 860px;
  margin: 20px auto 16px;
  padding: 0 16px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.company-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 18px 0 16px;
}

.company-photos img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.mobile-cta {
  position: fixed;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: none;
  z-index: 50;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #c9def1;
  box-shadow: 0 10px 26px rgba(0, 38, 74, 0.22);
}

.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 13px 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.86rem;
}

.mobile-cta a:first-child {
  background: var(--accent);
  color: #fff;
}

.mobile-cta a:last-child {
  background: #fff;
  color: var(--text);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(2px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.65, 0.2, 1),
    filter 0.7s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 980px) {
  .hero-property-wrap {
    position: absolute;
    transform: none;
    margin-top: 14px;
    width: min(320px, 70%);
    transform: translateX(-50%);
  }

  .hero-property-teaser {
    grid-template-columns: 1fr;
  }

  .hero-property-body {
    padding: 14px 0 0;
  }

  #about {
    padding-top: clamp(124px, 9vw, 100px);
  }

  .recommend-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .recommend-illustration {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .property-layout {
    grid-template-columns: 1fr;
  }

  .step-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .steps {
    padding-left: 28px;
  }

  .step-item::before {
    left: -25px;
  }

  .step-image {
    max-width: 184px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero-content {
    padding: 0;
    margin-bottom: 132px;
  }

  .hero-logo {
    top: 14px;
    left: 14px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .mobile-cta.show {
    display: flex;
  }

  body {
    padding-bottom: 78px;
  }
}

@media (min-width: 1024px) {
  .hero-property-wrap {
    width: min(1040px, 90%);
    bottom: -86px;
  }

  .hero-property-teaser {
    grid-template-columns: minmax(300px, 38%) 1fr;
    border-radius: 18px;
  }

  .hero-property-teaser img {
    min-height: 0;
    height: 100%;
    max-height: 200px;
  }

  .hero-property-body {
    padding: 22px 28px;
  }

  .hero-property-body h3 {
    margin-bottom: 8px;
    font-size: 1.45rem;
    line-height: 1.3;
  }

  .hero-property-body p {
    font-size: 1rem;
  }

  .hero-property-body .btn-primary {
    margin-top: 14px;
  }

  #about {
    padding-top: clamp(150px, 14vw, 190px);
  }

  .recommend-layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    gap: 20px;
    align-items: stretch;
  }

  .recommend-layout .cards {
    gap: 12px;
  }

  .recommend-layout .card {
    padding: 16px;
  }

  .recommend-layout .recommend-illustration {
    width: 100%;
    justify-self: end;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-self: center;
  }

  .hero-video {
    transform: scale(1.2);
  }

  .hero-overlay {
    transform: scale(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
