/*
Theme Name: 秋葉の温活所 和音
Theme URI:
Author: 和音
Description: 秋葉の温活所 和音 公式サイト用テーマ。イベント／お知らせ／会員限定商品を管理画面から編集できます。
Version: 1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: waon
*/

/* レイアウトは各テンプレート内のインラインスタイルで完結しています。
   ここには全体の初期化と、テーマ共通のリンク色のみ置いています。 */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #ffffff;
  font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 400;
  color: oklch(0.32 0.012 55);
  overflow-x: hidden;
}

a { color: oklch(0.5 0.08 150); text-decoration: none; }
a:hover { color: oklch(0.42 0.09 150); }

img { max-width: 100%; }

h1, h2, h3, p, figure { margin: 0; }

.waon-mincho { font-family: 'Zen Old Mincho', "Yu Mincho", "Hiragino Mincho ProN", serif; }

.hero-img {
  background-image:
    linear-gradient(180deg, oklch(0.2 0.02 60 / 0.62) 0%, oklch(0.24 0.02 50 / 0.34) 42%, oklch(0.18 0.02 50 / 0.72) 100%),
    radial-gradient(ellipse 72% 60% at 50% 44%, oklch(0.2 0.02 60 / 0) 30%, oklch(0.16 0.02 50 / 0.6) 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center 58%;
  background-repeat: no-repeat;
  filter: saturate(0.82);
}
.hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(0.15 0.02 50 / 0.28) 0%, oklch(0.15 0.02 50 / 0) 22%, oklch(0.15 0.02 50 / 0) 74%, oklch(0.13 0.02 50 / 0.55) 100%);
}

@keyframes heroDropIn { from { opacity: 0; transform: translateY(-64px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroFadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-drop { opacity: 0; animation: heroDropIn 1.8s cubic-bezier(0.16,0.84,0.24,1) 0.25s both; }
.hero-drop-2 { opacity: 0; animation: heroDropIn 1.8s cubic-bezier(0.16,0.84,0.24,1) 0.55s both; }
.hero-fade { opacity: 0; animation: heroFadeIn 2.4s ease 0.9s both; }
.hero-fade-late { opacity: 0; animation: heroFadeIn 2s ease 1.1s both; }
.hero-fade-bg { opacity: 0; animation: heroFadeIn 2.6s ease 0.1s both; }

/* スクロールでゆっくり現れる演出 */
.reveal { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1.6s cubic-bezier(0.22,0.61,0.36,1), transform 1.8s cubic-bezier(0.22,0.61,0.36,1); }
.reveal.is-in { opacity: 1; transform: none; }

.nav-link { padding: 10px 14px; border-radius: 8px; white-space: nowrap; color: oklch(0.34 0.012 55); transition: background 0.4s ease; }
.nav-link:hover { background: oklch(0.97 0.008 70); color: oklch(0.34 0.012 55); }

.foot-link { padding: 8px 14px; border-radius: 8px; white-space: nowrap; color: oklch(0.4 0.012 55); transition: background 0.4s ease; }
.foot-link:hover { background: oklch(0.97 0.008 70); }

.line-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 2px; border-bottom: 1px solid oklch(0.82 0.03 160);
  color: oklch(0.52 0.08 150); font-size: 15.5px; font-weight: 500; letter-spacing: 0.1em;
  white-space: nowrap; transition: border-color 0.4s ease, gap 0.4s ease;
}
.line-btn:hover { border-color: oklch(0.52 0.08 150); gap: 18px; }

.line-btn-quiet { border-bottom-color: oklch(0.88 0.008 70); color: oklch(0.36 0.012 55); }
.line-btn-quiet:hover { border-color: oklch(0.6 0.012 55); color: oklch(0.36 0.012 55); }

.card-lift { transition: background 0.5s ease, transform 0.5s ease; }
.card-lift:hover { background: oklch(0.98 0.008 70); transform: translateY(-4px); }

.row-hover { transition: background 0.4s ease; }
.row-hover:hover { background: oklch(0.985 0.006 70); }

/* ---- モバイル対応 ---- */
.waon-burger { display: none; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 4px; font-family: inherit; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; color: oklch(0.34 0.012 55); cursor: pointer; }
.waon-burger span.bars { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.waon-burger span.bars i { height: 1px; background: oklch(0.4 0.012 55); }
.waon-drawer { display: none; flex-basis: 100%; flex-direction: column; gap: 2px; font-size: 15px; font-weight: 500; letter-spacing: 0.06em; overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.45s cubic-bezier(0.22,0.61,0.36,1), opacity 0.35s ease; }
.waon-drawer a { padding: 13px 6px; border-top: 1px solid oklch(0.94 0.006 70); color: oklch(0.34 0.012 55); }
.waon-drawer.is-open { max-height: 460px; opacity: 1; }

@media (max-width: 900px) {
  .waon-nav-desktop { display: none !important; }
  .waon-burger { display: inline-flex !important; }
  .waon-drawer { display: flex !important; }
  .waon-news-row { grid-template-columns: 120px 1fr !important; }
  .waon-news-date { grid-column: 2 !important; grid-row: 1 !important; }
  .waon-news-body { grid-column: 2 !important; grid-row: 2 !important; }
  .waon-news-row > img { grid-column: 1 !important; grid-row: 1 / span 2 !important; align-self: start !important; }
  .waon-info-row { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  .waon-news-row { grid-template-columns: 1fr !important; }
  .waon-news-date, .waon-news-body, .waon-news-row > img { grid-column: 1 !important; grid-row: auto !important; }
}
