/* 
 * 合同会社ゆなな「桜plus」ウェブサイト
 * メインスタイルシート
 */

/* ===== 基本設定 ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;700&display=swap');

:root {
  /* カラースキーム */
  --main-color: #FFB7C5; /* 桜色 - メインカラー */
  --sub-color: #FFFFFF; /* 白 - サブカラー */
  --accent-color: #1A5276; /* 深い青 - アクセントカラー */
  --text-color: #333333; /* ダークグレー - テキストカラー */
  --light-gray: #F5F5F5; /* ライトグレー - 背景色 */
  --border-color: #DDDDDD; /* ボーダーカラー */
  
  /* フォントファミリー */
  --main-font: 'Noto Sans JP', sans-serif;
  --accent-font: 'Noto Serif JP', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--main-font);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--sub-color);
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--accent-font);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--accent-color);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--main-color);
  margin: 15px auto 0;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: var(--sub-color);
  border: none;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #154360;
  opacity: 1;
}

.btn-primary {
  background-color: var(--main-color);
  color: var(--accent-color);
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #FF9EB5;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  margin-right: 10px;
}

.logo-text {
  font-family: var(--accent-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
}

.logo-text span {
  color: var(--main-color);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  font-weight: 500;
  color: var(--text-color);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--main-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.phone-number {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.phone-number i {
  margin-right: 5px;
  color: var(--main-color);
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* ===== ヒーローセクション ===== */
.hero {
  height: 100vh;
  min-height: 600px;
  background-color: #f0f0f0;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--sub-color);
  z-index: 10;
  width: 90%;
  max-width: 800px;
  padding: 30px;
  background-color: rgba(26, 82, 118, 0.7);
  border-radius: 10px;
}

.hero-title {
  font-family: var(--accent-font);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ===== 会社紹介セクション ===== */
.about {
  background-color: var(--light-gray);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.about-description {
  margin-bottom: 30px;
}

.about-features {
  list-style: none;
  margin-bottom: 30px;
}

.about-features li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.about-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--main-color);
  font-weight: 700;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== 物件リストスライダー ===== */
.properties {
  background-color: var(--sub-color);
}

.properties-slider {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.properties-container {
  display: flex;
  transition: transform 0.5s ease;
}

.property-card {
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  background-color: var(--sub-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.property-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.property-content {
  padding: 20px;
}

.property-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.property-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 10px;
}

.property-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.property-detail {
  font-size: 0.9rem;
  background-color: var(--light-gray);
  padding: 5px 10px;
  border-radius: 5px;
}

.property-link {
  display: block;
  text-align: right;
  font-weight: 500;
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 15px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--sub-color);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background-color: var(--main-color);
}

/* セクションフッター */
.section-footer {
  text-align: center;
  margin-top: 40px;
}

/* ===== スタッフ紹介セクション ===== */
.staff {
  background-color: var(--light-gray);
}

.staff-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.staff-card {
  flex: 0 0 calc(50% - 20px);
  min-width: 300px;
  background-color: var(--sub-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.staff-image {
  height: 300px;
  background-size: cover;
  background-position: center;
}

.staff-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.staff-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--accent-color);
}

.staff-position {
  font-size: 1rem;
  color: var(--main-color);
  margin-bottom: 15px;
}

.staff-message {
  margin-bottom: 15px;
  flex-grow: 1;
}

/* ===== お問い合わせセクション ===== */
.contact {
  background-color: var(--sub-color);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.contact-description {
  margin-bottom: 30px;
}

.contact-details {
  list-style: none;
  margin-bottom: 30px;
}

.contact-details li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.contact-details li i {
  position: absolute;
  left: 0;
  color: var(--main-color);
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: var(--main-font);
  font-size: 1rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--main-color);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-check-input {
  margin-right: 10px;
}

.form-check-label {
  font-size: 0.9rem;
}

/* ===== フッター ===== */
.footer {
  background-color: var(--accent-color);
  color: var(--sub-color);
  padding: 60px 0 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-info {
  flex: 1;
  min-width: 300px;
}

.footer-logo {
  font-family: var(--accent-font);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--main-color);
}

.footer-address {
  margin-bottom: 20px;
}

.footer-contact {
  margin-bottom: 20px;
}

.footer-nav {
  flex: 1;
  min-width: 200px;
}

.footer-nav-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.footer-nav-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--main-color);
  margin-top: 10px;
}

.footer-nav-list {
  list-style: none;
}

.footer-nav-list li {
  margin-bottom: 10px;
}

.footer-nav-list a {
  color: var(--sub-color);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 1023px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .property-card {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 767px) {
  .header {
    padding: 10px 0;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--sub-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 20px 0;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 0;
    padding: 10px 20px;
  }
  
  .hamburger {
    display: block;
  }
  
  .phone-number {
    display: none;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .property-card {
    flex: 0 0 calc(100% - 20px);
  }
  
  .staff-card {
    flex: 0 0 100%;
  }
}
