@charset "UTF-8";

/* 基本設定 */
body {
  margin: 0;
  padding: 0;
  font-family: "Hiragino Mincho ProN", serif;
  color: #333;
  line-height: 1.8;
  background-color: #fff;
}

html {
  scroll-behavior: smooth;
}

/* サイト全体の共通 */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー全体 */
.main-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.main-header .container {
  max-width: 100%;
  padding: 0 30px;
}

/* 中身の3点配置設定 */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
  padding: 0;
}

/* ロゴの設定 */
.logo {
  flex: 1;
  text-align: left;
  margin: 0;
}

.logo img {
  height: 100px;
  width: auto;
  vertical-align: middle;
}

.menu-btn,
.header-right {
  width: auto;
  padding-right: 10px;
  flex-shrink: 0;
}

.menu-btn span {
  display: block;
  width: 30px;
  height: 1px;
  background: #333;
  margin: 8px 0;
}

/* navi PC設定 */
.main-nav {
  flex: 3;
  margin-right: 50px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  justify-content: flex-end;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.main-nav li {
  white-space: nowrap;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 0.95rem;
  transition: 0.3s;
}

.main-nav a:hover {
  color: #c5a059;
}

/* 右上固定電話ボタン */
.fixed-contact {
  z-index: 1000;
  display: flex;
  align-items: center;
}

.tel-btn {
  display: block;
  background: #e67e22;
  color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
  white-space: nowrap;
}

.tel-btn:hover {
  background: #d35400;
  transform: translateY(-2px);
}

.tel-btn span {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.tel-btn strong {
  font-size: 1.2rem;
}

section[id] {
  scroll-margin-top: 120px;
}

/* ヒーロー */
.hero {
  height: 70vh;
  position: relative;
  overflow: hidden;
  background-color: #333;
}

/* 画像を囲む枠 */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 各スライド画像の共通設定 */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 15s infinite;
}

/* 1枚目の画像 */
.slide-1 {
  background-image: linear-gradient(rgba(128, 128, 128, 0.6), rgba(128, 128, 128, 0.6)), url('../img/hero-bg-1.jpg');
  animation-delay: 0s;
}

/* 2枚目の画像 */
.slide-2 {
  background-image: linear-gradient(rgba(128, 128, 128, 0.6), rgba(128, 128, 128, 0.6)), url('../img/hero-bg-2.jpg');
  animation-delay: 5s;
}

/* 3枚目の画像 */
.slide-3 {
  background-image: linear-gradient(rgba(128, 128, 128, 0.6), rgba(128, 128, 128, 0.6)), url('../img/hero-bg-3.jpg');
  animation-delay: 10s;
}

/* コンテンツの設定 */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  text-shadow: 0px 4px 10px rgba(0, 20, 50, 0.8);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-features .btn {
  text-shadow: 0px 4px 10px rgba(0, 20, 50, 0.9);
}

/* キーフレーム*/
@keyframes heroFade {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }

  10% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
    transform: scale(1);
  }

  100% {
    opacity: 0;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy {
  font-size: 3rem;
  margin: 20px 0;
  letter-spacing: 0.1em;
}

.hero-features span {
  display: inline-block;
  margin: 0 10px;
  border: 1px solid #fff;
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* ボタン全体の共通設定 */
.hero-features .btn {
  display: inline-block;
  margin: 10px;
  padding: 12px 30px;
  font-size: 0.95rem;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  background: transparent;
  transition: 0.3s;
  letter-spacing: 0.1em;
}

/* ホバー */
.hero-features .btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* 3つの約束 */
.features {
  padding: 100px 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('../img/features-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 80px;
  text-align: left;
}

.feature-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.feature-text {
  flex: 1;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  /* box-shadow: 0 4px 15px rgba(0,0,0,0.1); */
  box-shadow: none;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #2c3e50;
  letter-spacing: 0.2em;
  margin-bottom: 30px;
}

.section-lead {
  margin-bottom: 60px;
  color: #777;
}

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
  box-sizing: border-box;
}

.feature-item:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-image,
.feature-text {
  flex: 1;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  border: 1px solid #c5a059;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* アイコン画像のサイズ調整 */
.icon-wrapper img {
  width: 55px;
  height: auto;
  object-fit: contain;
}

/* 料金プラン */
.plans {
  padding: 100px 0;
  background-color: #fdfaf5;
  text-align: center;
}

.plan-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
  margin-top: 50px;
}

/* カードの基本設定 */
.plan-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 40px 20px;
  width: 32%;
  min-width: 300px;
  text-align: center;
  position: relative;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* 一番選ばれています */
.plan-card.featured {
  border: 2px solid #c5a059;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.plan-details {
  flex-grow: 1;
}

/* 擬似要素 */
.plan-details {
  list-style: none;
  padding: 0;
  margin: 20px auto 0;
  display: inline-block;
  text-align: left;
}

.plan-details li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.plan-details li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c5a059;
  font-weight: bold;
}

/* 料金の強調 */
.price {
  font-size: 2.2rem;
  color: #c5a059;
  font-weight: bold;
  margin: 15px 0;
}

.price span {
  font-size: 1rem;
  color: #333;
}

.badge {
  background: #c5a059;
  color: #fff;
  padding: 4px 12px;
  font-size: 0.75rem;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

/* よくあるご質問 */
.faq {
  padding: 100px 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/faq-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}

.faq .section-title {
  color: #fff;
  margin-bottom: 60px;
}

/* Q&Aリスト全体を囲む白枠*/
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 60px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #333;
}

/* 各質問項目 */
.faq-item {
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}

.faq-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

/* 質問（Q） */
.faq-question {
  font-size: 1.3rem;
  font-weight: bold;
  color: #c5a059;
  position: relative;
  padding-left: 50px;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* 「Q.」のアイコン */
.faq-question::before {
  content: "Q.";
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.6rem;
  font-family: serif;
}

/* 回答（A） */
.faq-answer {
  padding-left: 50px;
  color: #555;
  position: relative;
  line-height: 1.8;
}

/* 「A.」のアイコン */
.faq-answer::before {
  content: "A.";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #333;
}

.faq-answer::before {
  content: "A.";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: #333;
}

/* フッター */
.main-footer {
  padding: 80px 0 20px;
  background: #2c3e50;
  color: #fff;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.footer-tel a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-map {
  flex: 1;
  min-width: 300px;
}

.footer-map iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 8px;
  display: block;
}

.copyright {
  text-align: center;
  margin-top: 60px;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* レスポンシブ表示（1050px以下） */
@media (max-width: 1050px) {

  .header-inner {
    height: 80px;
  }

  .logo img {
    height: 50px;
  }

  /* 電話ボタン調整 */
  .fixed-contact {
    margin-right: 10px;
  }

  .tel-btn {
    padding: 5px 12px;
  }

  .tel-btn span {
    display: none;
  }

  .tel-btn strong {
    font-size: 0.9rem;
  }

  /* スマホ用メニュー */
  .main-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    transition: 0.3s;
    z-index: 999;
    display: block;
    margin-right: 0;
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    gap: 30px;
  }

  .feature-item,
  .feature-item:nth-child(even) {
    flex-direction: column;
    text-align: center;
  }

  /* ヒーローエリア文字調整 */
  .hero-copy {
    font-size: 1.8rem;
    line-height: 1.4;
  }

  /* プラン縦並び */
  .plan-grid {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .plan-card {
    width: 90%;
    max-width: 400px;
  }

  .plan-card.featured {
    transform: none;
  }
}

/* PC時（1051px以上）三本線ボタン隠す */
@media (min-width: 1051px) {
  .menu-btn {
    display: none;
  }
}