/* =========================================
   Cheernic HP - カスタムCSS
   Tailwind CDN で足りない部分のみ記述
   ========================================= */

:root {
  --color-primary: #ec4899;      /* ピンク（ロゴ Cheer 部分） */
  --color-primary-dark: #be185d; /* 濃いピンク */
  --color-secondary: #06b6d4;    /* シアンブルー（ロゴ nic 部分） */
  --color-secondary-dark: #0e7490;
  --color-accent: #1f2937;       /* 黒（アクセント） */
  --color-bg-soft: #fdf2f8;      /* ごく薄いピンク背景 */
}

/* ブランドグラデーション（ロゴカラー：ピンク→ブルー） */
.brand-gradient {
  background: linear-gradient(to right, #ec4899 0%, #ec4899 55%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-gradient-bg {
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 50%, #06b6d4 100%);
}

/* ロゴ画像（透過PNG） */
.site-logo {
  height: 40px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .site-logo {
    height: 52px;
  }
}

/* ヘッダーナビが折り返さないように */
header nav a {
  white-space: nowrap;
}

/* 日本語フォント最適化 */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans',
               'Yu Gothic Medium', 'Meiryo', sans-serif;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1f2937;
  line-height: 1.7;
}

/* セクション見出しの装飾 */
.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
  border-radius: 2px;
}

/* ヒーロー画像オーバーレイ */
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.85) 0%,
    rgba(190, 24, 93, 0.75) 100%
  );
}

/* ボタン共通 */
.btn-primary {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: linear-gradient(to right, #ec4899, #be185d);
  color: white;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 4px 14px 0 rgba(236, 72, 153, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(236, 72, 153, 0.5);
}

.btn-outline {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: white;
  color: #be185d;
  font-weight: 700;
  border: 2px solid #ec4899;
  border-radius: 9999px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  background: #ec4899;
  color: white;
}

/* Lightwidget Instagram フィード レスポンシブ調整 */
.lightwidget-wrap {
  overflow: visible !important;
}
.lightwidget-widget {
  min-height: 850px;
}
@media (min-width: 640px) {
  .lightwidget-widget {
    min-height: 700px;
  }
}
@media (min-width: 1024px) {
  .lightwidget-widget {
    min-height: 500px;
  }
}

/* オンラインサロン用ボタン（シアンブルー） */
.btn-salon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(to right, #06b6d4, #0e7490);
  color: white;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 4px 14px 0 rgba(6, 182, 212, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-salon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(6, 182, 212, 0.5);
}

/* カードのホバー効果 */
.card-hover {
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* フェードインアニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* モバイルメニュー */
.mobile-menu {
  transition: max-height 0.3s ease-out, opacity 0.3s;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.mobile-menu.is-open {
  max-height: 500px;
  opacity: 1;
}

/* プレースホルダ画像 */
.img-placeholder {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #be185d;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* FAQ アコーディオン */
details {
  border-bottom: 1px solid #fce7f3;
}

details summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: "＋";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #ec4899;
  font-size: 1.5rem;
  transition: transform 0.2s;
}

details[open] summary::after {
  content: "−";
}
