/* ===================================
   有限会社庭粧 - 共通スタイル
   =================================== */

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

/* リセット & 基本設定 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-primary: #4a7c59;
  --green-dark: #2d5a3d;
  --green-light: #7ab893;
  --green-pale: #eaf4ee;
  --green-ultra-pale: #f5faf6;
  --brown-warm: #8b6840;
  --brown-light: #c4a882;
  --cream: #faf8f3;
  --beige: #f0ebe0;
  --beige-dark: #e0d8cc;
  --text-dark: #2a3328;
  --text-mid: #555e51;
  --text-light: #888f84;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(74, 124, 89, 0.12);
  --shadow-md: 0 4px 20px rgba(74, 124, 89, 0.15);
  --shadow-lg: 0 8px 40px rgba(74, 124, 89, 0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.8;
  font-size: 15px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* ===================================
   ヘッダー
   =================================== */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--green-pale);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.2;
}

.logo-sub {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* ナビゲーション */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
  transition: var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--green-pale);
  color: var(--green-dark);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}

.btn-header-tel .tel-icon {
  font-size: 16px;
}

.btn-header-tel .tel-note {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-light);
  display: block;
  line-height: 1;
}

.btn-header-contact {
  background: var(--green-primary);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-full) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn-header-contact:hover {
  background: var(--green-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

/* モバイルメニュー（詳細ページ共通） */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 0;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu nav a {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--beige-dark);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===================================
   Instagram 右端タブボタン
   =================================== */
.instagram-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: linear-gradient(to bottom, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 24px 10px;
  border-radius: 8px 0 0 8px;
  box-shadow: -3px 0 16px rgba(0,0,0,0.2);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  gap: 10px;
}

.instagram-float:hover {
  padding: 24px 14px;
  box-shadow: -5px 0 24px rgba(188,24,136,0.4);
}

.instagram-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-float-btn svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.instagram-float-label {
  color: white;
  font-size: 12px;
  font-weight: 700;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.12em;
  font-family: 'Noto Sans JP', sans-serif;
  white-space: nowrap;
}

/* ===================================
   共通ボタン
   =================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-primary);
  border-color: var(--green-primary);
}

.btn-secondary:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
}

.btn-brown {
  background: var(--brown-warm);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-brown:hover {
  background: #6b4e2e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 17px;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 13px;
}

/* ===================================
   セクション共通
   =================================== */
.section {
  padding: 80px 24px;
}

.section-green {
  background: var(--green-ultra-pale);
}

.section-beige {
  background: var(--beige);
}

.section-white {
  background: var(--white);
}

.section-green-dark {
  background: var(--green-dark);
  color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.9;
}

/* ===================================
   ページヒーロー（内部ページ用）
   =================================== */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-primary) 100%);
  padding: 60px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  letter-spacing: 0.15em;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  font-weight: 500;
}

.page-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 5vw, 46px);
  color: var(--white);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}

.page-hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: white;
}

/* ===================================
   フッター
   =================================== */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 24px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 32px;
}

.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand .logo-wrap img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  background: white;
  padding: 4px;
}

.footer-brand .company-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  color: var(--white);
  font-weight: 600;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-info .tel {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.footer-contact-info .hours {
  font-size: 12px;
  opacity: 0.7;
}

.footer-nav-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: 13px;
  opacity: 0.75;
  transition: var(--transition);
}

.footer-nav-list a:hover {
  opacity: 1;
  color: var(--green-light);
  padding-left: 4px;
}

.footer-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  margin-top: 16px;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(220, 39, 67, 0.35);
}

.footer-instagram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 39, 67, 0.45);
  color: white;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  opacity: 0.6;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 12px;
  opacity: 0.6;
  transition: var(--transition);
}

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

/* ===================================
   カード共通
   =================================== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ===================================
   グリッド
   =================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===================================
   フォーム共通
   =================================== */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-label .required {
  display: inline-block;
  background: #e74c3c;
  color: white;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  font-weight: 700;
  vertical-align: middle;
}

.form-label .optional {
  display: inline-block;
  background: var(--beige-dark);
  color: var(--text-mid);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  font-weight: 500;
  vertical-align: middle;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--beige-dark);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(74, 124, 89, 0.12);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}

.form-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 6px;
}

/* ===================================
   テーブル
   =================================== */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--beige-dark);
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
}

.info-table th {
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 700;
  width: 180px;
  font-size: 13px;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

/* ===================================
   アニメーション
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-fade-up {
  animation: fadeInUp 0.7s ease forwards;
}

/* ===================================
   モバイル対応
   =================================== */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 16px;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .header-actions .btn-header-tel,
  .header-actions .btn-sm {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .instagram-float {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 18px 8px;
  }

  .instagram-float-label {
    font-size: 11px;
  }

  .instagram-float-btn svg {
    width: 18px;
    height: 18px;
  }

  .page-hero {
    padding: 48px 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 15px;
  }
}

/* ===================================
   ユーティリティ
   =================================== */
.text-center { text-align: center; }
.text-green { color: var(--green-primary); }
.text-brown { color: var(--brown-warm); }
.font-serif { font-family: 'Noto Serif JP', serif; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.wrap { flex-wrap: wrap; }

/* スクロールして入ってくるアニメーション */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
