/**********************************************
  1. 全体設定（基本スタイル）
**********************************************/
:root {
  --bg: #ffffff;
  --text: #111;
  --muted: #6b6b6b;
  --accent: #1a1a1a;
  --container: 1100px;
  font-family: 'Noto Sans JP', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/**********************************************
  2. ヘッダー
**********************************************/
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent);
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #222;
  margin: 4px 0;
  border-radius: 2px;
}

/* レスポンシブ（ナビゲーション） */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    background: #fff;
    width: 260px;
    height: calc(100% - 68px);
    transform: translateX(110%);
    transition: transform 0.28s ease;
    padding: 20px;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav ul {
    flex-direction: column;
  }
}

/* ===== サービス詳細ページ ===== */
/* ページタイトル中央表示 */
.page-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 60px;
}


.menu-intro {
  text-align: center;       /* テキスト中央揃え */
  max-width: 800px;         /* 任意で横幅制限 */
  margin: 0 auto 40px auto; /* 上下マージン + 中央配置 */
  font-size: 1.1rem;        /* 読みやすいサイズ */
  line-height: 1.8;         /* 行間 */
  color: #333;              /* 文字色 */
}


/* サービス詳細（交互レイアウト） */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.service-detail:nth-child(even) {
  direction: rtl; /* 偶数行は左右逆転 */
}

.service-detail:nth-child(even) .service-text,
.service-detail:nth-child(even) .service-image {
  direction: ltr; /* テキストや画像は通常表示 */
}

.service-text {
  text-align: left;
}

.service-text h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.service-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.service-photo {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-detail:nth-child(even) {
    direction: ltr; /* 縦並びでは左右反転不要 */
  }

  .service-text {
    margin-bottom: 20px;
  }

  .service-photo {
    max-width: 100%;
    margin: 0 auto;
  }
}




/* ===== フッター全体中央表示 ===== */
.site-footer {
  padding: 30px 0;
  text-align: center; /* これで文字もボタンも中央 */
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid #eee;
}




.back-home {
  text-align: right;           /* 右端に寄せる */
  margin-top: 20px;            /* 上に余白 */
}

.back-home .home-btn {
  display: inline-block;       
  background-color: rgba(173, 216, 230, 0.2); /* 薄い青 */
  color: #111;                 
  padding: 10px 20px;          
  border-radius: 20px;
  text-decoration: none;       
  font-weight: 500;            
  transition: background 0.3s;
  margin-bottom: 15px;         /* 下に余白 */
}

.back-home .home-btn:hover {
  background-color: rgba(173, 216, 230, 0.4); /* ホバーで少し濃く */
}




/**********************************************
8. 予約・お問い合わせ（淡グレー背景）
**********************************************/
#contact {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9f9;
}

#contact .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-buttons .btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  min-width: 120px;
}

.web-btn { background: #ff6600; color: #fff; }
.web-btn:hover { background: #218838; }
.line-btn { background: #00c300; color: #fff; }
.line-btn:hover { background: #009900; }
.phone-btn { background: #1a73e8; color: #fff; }
.phone-btn:hover { background: #155ab6; }



/**********************************************
10. フッター
**********************************************/
.site-footer {
  background: #111;
  color: #fff;
  padding: 20px 0;
  font-size: 0.9rem;
  text-align: center;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
}

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

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

.copyright {
  margin: 0;
}