/* ------------------------------
   RESET（最低限のリセット）
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

/* 共通コンテナ */
.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* ------------------------------
   HEADER
------------------------------ */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo-main {
  font-size: 20px;
  font-weight: bold;
}

.logo-sub {
  font-size: 12px;
  color: #777;
}

.site-nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.nav-cta {
  padding: 6px 14px;
  background: #00306d;
  color: #fff !important;
  border-radius: 4px;
  font-weight: 600;
}

/* ------------------------------
   HERO SECTION
------------------------------ */
.hero {
  position: relative;
  padding: 90px 0;
  color: #fff;
  background: url("../img/hero.webp") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.1)
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 620px;
}

.hero-label {
  font-size: 14px;
  color: #cfe5ff;
  font-weight: bold;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-title span {
  color: #ffd75e;
  font-weight: 700;
}

.hero-lead {
  margin-bottom: 16px;
  color: #f5f7fb;
}

.hero-note {
  margin: 14px 0 24px;
  font-weight: bold;
  color: #ffeb9c;
}

.hero-note span {
  color: #ffeb9c;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
}

.hero .btn-outline:hover {
  background: #00306d;
  color: #ffffff;
  border-color: #00306d;
}

/* hero-imageは背景画像に変更したため未使用だが、
   将来使う可能性もあるので一旦残しておく */
.hero-image img {
  width: 450px;
  border-radius: 8px;
  object-fit: cover;
}

/* ------------------------------
   BUTTONS
------------------------------ */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}

.btn-primary {
  background: #00306d;
  color: #fff;
}

.btn-primary:hover {
  background: #00224e;
}

.btn-outline {
  border: 2px solid #00306d;
  color: #00306d;
}

.btn-outline:hover {
  background: #00306d;
  color: #fff;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 18px;
}

/* ------------------------------
   SECTION 共通
------------------------------ */
.section {
  padding: 40px 0;
}

.section-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
}

.section-title span {
  color: #00306d;
  font-weight: 700;
}

/* ------------------------------
   ABOUT（担当者紹介）
------------------------------ */
.about-inner {
  display: flex;
  gap: 40px;
  align-items: center;
}

.about-image img {
  width: 300px;
  border-radius: 8px;
  object-fit: cover;
}

.about-text p {
  margin-bottom: 16px;
}

.about-name {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: bold;
}

/* ------------------------------
   STRENGTHS（選ばれる理由）
------------------------------ */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.strength-card {
  padding: 24px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

.strength-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: #00306d;
}

/* ------------------------------
   VOICES（お客様の声）
------------------------------ */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.voice-card {
  padding: 24px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  position: relative;
}

.voice-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f8f9fc;
  border-radius: 20px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #00306d;
  font-weight: 600;
}

.voice-badge-icon {
  font-size: 16px;
}

.voice-rating {
  font-size: 18px;
  color: #ffa500;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.voice-text {
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 15px;
}

.voice-author {
  font-size: 13px;
  color: #777;
  font-style: italic;
}

.voices-link {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #666;
}

.voices-link a {
  color: #00306d;
  text-decoration: none;
  font-weight: 600;
}

.voices-link a:hover {
  text-decoration: underline;
}

/* ------------------------------
   FLOW（売却の流れ）
------------------------------ */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.flow-step {
  padding: 24px;
  border-left: 5px solid #00306d;
  background: #f8f9fc;
  border-radius: 6px;
}

.flow-number {
  font-size: 14px;
  color: #00306d;
  font-weight: bold;
  margin-bottom: 10px;
}

/* ------------------------------
   WORKS（過去の担当物件）
------------------------------ */
.works-swiper {
  padding: 40px 0 60px;
  width: 100%;
}

.works-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 85%;
  max-width: 800px;
}

@media (min-width: 768px) {
  .works-swiper .swiper-slide {
    width: 70%;
  }
}

@media (min-width: 1024px) {
  .works-swiper .swiper-slide {
    width: 65%;
  }
}

.work-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.work-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

/* 隣のスライドを少し縮小・薄暗く */
.works-swiper .swiper-slide:not(.swiper-slide-active) .work-card {
  opacity: 0.6;
  transform: scale(0.9);
}

.works-swiper .swiper-slide-active .work-card {
  opacity: 1;
  transform: scale(1);
}

.work-content {
  padding: 24px;
}

.work-title {
  font-size: 22px;
  margin-bottom: 8px;
  color: #00306d;
  font-weight: bold;
}

.work-meta {
  font-size: 15px;
  color: #666;
}

/* Swiperナビゲーションボタン */
.works-swiper .swiper-button-next,
.works-swiper .swiper-button-prev {
  color: #00306d;
  background: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.works-swiper .swiper-button-next:hover,
.works-swiper .swiper-button-prev:hover {
  background: #00306d;
  color: #ffffff;
}

.works-swiper .swiper-button-next::after,
.works-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

/* Swiperページネーション */
.works-swiper .swiper-pagination-bullet {
  background: #00306d;
  opacity: 0.3;
  width: 12px;
  height: 12px;
}

.works-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

@media (max-width: 800px) {
  .work-card img {
    height: 350px;
  }

  .work-title {
    font-size: 20px;
  }

  .works-swiper {
    padding: 30px 0 50px;
  }

  .works-swiper .swiper-button-next,
  .works-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .works-swiper .swiper-button-next::after,
  .works-swiper .swiper-button-prev::after {
    font-size: 16px;
  }

  .works-swiper .swiper-slide {
    width: 90%;
  }

  /* スマホでは隣のスライド効果を無効化 */
  .works-swiper .swiper-slide:not(.swiper-slide-active) .work-card {
    opacity: 1;
    transform: scale(1);
  }
}

/* ------------------------------
   WORK MODAL（拡大画像モーダル）
------------------------------ */
.work-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-modal.active {
  display: flex;
  opacity: 1;
}

.work-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.work-modal-content {
  position: relative;
  z-index: 1001;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 48px;
  cursor: pointer;
  z-index: 1002;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  line-height: 1;
}

.work-modal-close:hover {
  transform: rotate(90deg);
}

.work-modal-swiper {
  width: 100%;
  height: auto;
  max-height: 90vh;
}

.work-modal-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.work-modal-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
}

.work-modal-info {
  margin-top: 20px;
  text-align: center;
  color: #ffffff;
}

.work-modal-info h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #ffffff;
}

.work-modal-info p {
  font-size: 16px;
  color: #cccccc;
}

.work-modal-swiper .swiper-button-next,
.work-modal-swiper .swiper-button-prev {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.work-modal-swiper .swiper-button-next:hover,
.work-modal-swiper .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.3);
}

.work-modal-swiper .swiper-button-next::after,
.work-modal-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

.work-modal-swiper .swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.5;
}

.work-modal-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

@media (max-width: 800px) {
  .work-modal-content {
    width: 95%;
  }

  .work-modal-close {
    top: -40px;
    font-size: 36px;
  }

  .work-modal-info h3 {
    font-size: 20px;
  }

  .work-modal-info p {
    font-size: 14px;
  }
}

/* ------------------------------
   FAQ
------------------------------ */
.faq-item {
  margin-bottom: 28px;
}

.faq-question {
  font-size: 18px;
  color: #00306d;
  margin-bottom: 6px;
  font-weight: bold;
}

.faq-answer {
  font-size: 15px;
  line-height: 1.8;
}

/* ------------------------------
   FINAL CTA
------------------------------ */
.final-cta {
  background: #00306d;
  color: #fff;
  text-align: center;
}

.final-cta-inner {
  padding: 50px 0;
}

.final-cta-text {
  margin: 20px 0 28px;
  font-size: 16px;
}

.final-cta .btn-primary {
  background: #fff;
  color: #00306d;
}

.final-cta .btn-primary:hover {
  background: #e6e6e6;
}

/* ------------------------------
   FOOTER
------------------------------ */
.site-footer {
  background: #111;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

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

/* ------------------------------
   RESPONSIVE（スマホ対応）
------------------------------ */
@media (max-width: 800px) {
  .hero-inner,
  .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    width: 100%;
  }

  .strengths-grid,
  .flow-grid,
  .voices-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: center;
  }
}
