/*
Theme Name: Lightning Child Sakuway
Theme URI: https://sakuway.co.jp
Description: 株式会社サクウェイ - 小規模事業者向けWebサイトテンプレート
Author: Sakuway Inc.
Author URI: https://sakuway.co.jp
Template: lightning
Version: 1.0.0
Text Domain: lightning-child-sakuway
*/

/* ============================================
   美容室サンプル - カラーテーマ（ベージュ・ブラウン系）
   ============================================ */

:root {
  --salon-primary: #8B7355;
  --salon-primary-light: #A68B6A;
  --salon-primary-dark: #6B5A43;
  --salon-secondary: #D4C4B5;
  --salon-secondary-light: #E8DDD3;
  --salon-secondary-dark: #B8A597;
  --salon-accent: #C9A86C;
  --salon-bg: #FAF8F5;
  --salon-text: #4A4A4A;
  --salon-text-secondary: #6B6B6B;
  --salon-white: #FFFFFF;
}

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

body {
  background-color: var(--salon-bg);
  color: var(--salon-text);
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  line-height: 1.8;
}

/* ============================================
   カスタムヘッダー
   ============================================ */

.salon-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--salon-bg);
  border-bottom: 1px solid rgba(139, 115, 85, 0.12);
}

.salon-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.salon-header-logo img {
  display: block;
}

.salon-nav-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

.salon-nav-list a {
  display: block;
  color: var(--salon-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.salon-nav-list a:hover {
  color: var(--salon-primary);
  background-color: rgba(139, 115, 85, 0.08);
}

/* ハンバーガーメニュー */
.salon-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.salon-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--salon-primary);
  transition: all 0.3s ease;
}

.salon-nav-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.salon-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.salon-nav-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   カスタムフッター
   ============================================ */

.salon-footer {
  background-color: var(--salon-primary);
  color: var(--salon-white);
  padding: 4rem 0 2rem;
}

.salon-footer a {
  color: var(--salon-white);
  text-decoration: none;
}

/* Lightningの「PAGE TOP」ボタンを非表示 */
.page_top_btn,
#page_top {
  display: none !important;
}

/* ============================================
   ヒーローセクション - 斜め分割レイアウト
   ============================================ */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  overflow: hidden;
  background-color: var(--salon-bg);
}

.hero-text-area {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 6rem;
  background-color: var(--salon-bg);
  position: relative;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.hero-accent-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--salon-primary-light);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-decor-line {
  width: 40px;
  height: 2px;
  background-color: var(--salon-primary);
  margin-bottom: 2rem;
  opacity: 0.7;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--salon-primary);
  letter-spacing: 0.15em;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: var(--salon-text-secondary);
  letter-spacing: 0.05em;
  line-height: 2;
  max-width: 400px;
  margin-bottom: 2.5rem;
}

.hero-btn {
  display: inline-block;
  border: 1px solid var(--salon-primary);
  color: var(--salon-primary);
  padding: 14px 48px;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  background: transparent;
}

.hero-btn:hover {
  background-color: var(--salon-primary);
  color: var(--salon-white) !important;
  border-color: var(--salon-primary-dark);
}

.hero-image-area {
  width: 55%;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.hero-image-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   セクション共通
   ============================================ */

.salon-section {
  padding: 96px 0;
}

.salon-section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.75rem;
  color: var(--salon-primary);
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.15em;
}

.salon-section-subtitle {
  text-align: center;
  color: var(--salon-text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 4rem;
  text-transform: uppercase;
}

/* ============================================
   サービスセクション - 画像付きカード
   ============================================ */

.service-section {
  padding: 96px 0;
  background-color: var(--salon-white);
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.service-card {
  flex: 0 0 320px;
  text-align: center;
  background: transparent;
  transition: all 0.4s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.02);
}

.service-card:hover .service-card-title {
  color: var(--salon-primary-dark);
}

.service-card-image {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card-number {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--salon-white);
  background-color: var(--salon-primary);
  padding: 6px 12px;
  border-radius: 2px;
  z-index: 1;
}

.service-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--salon-text);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.service-card-desc {
  color: var(--salon-text-secondary);
  font-size: 0.875rem;
  line-height: 2;
  padding: 0 0.5rem;
}

/* ============================================
   ご予約の流れセクション
   ============================================ */

.flow-section {
  padding: 96px 0;
  background-color: var(--salon-secondary-light);
}

.flow-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.flow-step-wrapper {
  display: flex;
  align-items: flex-start;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 140px;
}

.flow-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--salon-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  color: var(--salon-primary);
  font-size: 1.5rem;
}

.flow-step-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--salon-primary);
  margin-bottom: 0.25rem;
}

.flow-step-desc {
  color: var(--salon-text-secondary);
  font-size: 0.75rem;
  line-height: 1.6;
}

.flow-arrow {
  display: flex;
  align-items: center;
  color: var(--salon-primary-light);
  font-size: 1.5rem;
  opacity: 0.5;
  padding-top: 1.25rem;
  margin: 0 0.25rem;
}

/* ============================================
   店舗情報セクション - 写真+テーブル
   ============================================ */

.about-section {
  padding: 96px 0;
  background-color: var(--salon-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
  padding: 0 1rem;
}

.about-image {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--salon-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.about-table tr {
  border-bottom: 1px solid var(--salon-secondary-light);
}

.about-table tr:last-child {
  border-bottom: none;
}

.about-table th {
  width: 120px;
  padding: 1rem 1.25rem;
  background-color: var(--salon-secondary-light);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--salon-text);
  letter-spacing: 0.05em;
  text-align: left;
}

.about-table td {
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--salon-text);
  line-height: 1.7;
}

/* ============================================
   アクセスセクション
   ============================================ */

.map-section {
  padding: 96px 0;
  background-color: var(--salon-white);
}

.map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  max-width: 900px;
  margin: 0 auto;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
}

.map-placeholder {
  height: 400px;
  background-color: var(--salon-secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--salon-text-secondary);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.map-address {
  text-align: center;
  margin-top: 2rem;
  color: var(--salon-text-secondary);
  font-size: 0.875rem;
  line-height: 2;
}

/* ============================================
   フッター
   ============================================ */

.site-footer {
  background-color: var(--salon-primary) !important;
  color: var(--salon-white) !important;
  padding: 4rem 0 2rem !important;
}

.site-footer a {
  color: var(--salon-white) !important;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.footer-sns a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--salon-white) !important;
  text-decoration: none;
}

.footer-sns a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--salon-white);
}

.footer-info {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  opacity: 0.8;
  line-height: 2;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copyright {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  opacity: 0.6;
}

/* ============================================
   ボタン共通
   ============================================ */

.salon-btn {
  display: inline-block;
  background-color: var(--salon-primary);
  color: var(--salon-white) !important;
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: box-shadow 0.3s ease;
  box-shadow: none;
}

.salon-btn:hover {
  box-shadow: 0 4px 12px rgba(139, 115, 85, 0.3);
}

/* ============================================
   Lightning デフォルトの上書き
   ============================================ */

/* メインコンテンツエリアの余白をリセット */
.site-body {
  padding: 0 !important;
}

.entry-body,
.main-section {
  padding: 0 !important;
  margin: 0 !important;
}

/* サイドバーを非表示 */
.sub-section {
  display: none !important;
}

/* コンテンツ幅を100%に */
.main-section {
  width: 100% !important;
  max-width: 100% !important;
}

/* ============================================
   レスポンシブ
   ============================================ */

@media (max-width: 900px) {
  /* ヘッダー */
  .salon-nav-toggle {
    display: flex;
  }

  .salon-nav-list {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background-color: var(--salon-bg);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    gap: 0;
  }

  .salon-nav-list.is-open {
    display: flex;
  }

  .salon-nav-list a {
    padding: 1rem;
  }

  /* ヒーロー */
  .hero-section {
    min-height: auto;
  }

  .hero-text-area {
    width: 100%;
    clip-path: none;
    padding: 8rem 2rem 4rem;
    text-align: center;
    background-color: rgba(250, 248, 245, 0.92);
  }

  .hero-accent-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-decor-line {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btn {
    align-self: center;
  }

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

  /* サービス */
  .service-cards {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    flex: 0 0 auto;
    max-width: 400px;
    width: 100%;
  }

  .service-card-image {
    height: 280px;
  }

  /* フロー */
  .flow-steps {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
  }

  .flow-step-wrapper {
    flex-direction: column;
  }

  .flow-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
    flex: 0 0 auto;
    width: 100%;
  }

  .flow-step-icon {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .flow-arrow {
    display: none;
  }

  /* 店舗情報 */
  .about-content {
    grid-template-columns: 1fr;
  }

  /* セクション共通 */
  .salon-section,
  .service-section,
  .flow-section,
  .about-section,
  .map-section {
    padding: 60px 0;
  }
}
