/*
Theme Name: SATO TAKESHI
Theme URI: https://example.com/
Author: SATO TAKESHI
Author URI: https://example.com/
Description: 写真・映像制作サイト（モノトーン／明朝）のオリジナルテーマ。デザインはHTML完成版を忠実に再現しています。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: satotakeshi
*/

/* ---------- base ---------- */
html, body { margin: 0; padding: 0; background: #ffffff; }
body {
  font-family: "Shippori Mincho", serif;
  color: #3d3d3d;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
* { box-sizing: border-box; }
a { color: #3d3d3d; text-decoration: none; }
a:hover { color: #8a8a8a; }
img { max-width: 100%; }
input, textarea, select { font-family: "Shippori Mincho", serif; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #3d3d3d; }
.st-wrap { width: 100%; overflow-x: hidden; background: #fff; }

/* 画像スロット（枠いっぱいに表示） */
.st-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- hover ---------- */
.hv-more { transition: gap .25s ease; }
.hv-more:hover { gap: 22px; color: #3d3d3d; }
.hv-ghost-d, .hv-ghost-l, .hv-btn-w, .hv-btn-d { transition: background .25s ease, color .25s ease; }
.hv-ghost-d:hover { background: rgba(255,255,255,0.12); color: #fff; }
.hv-ghost-l:hover { background: rgba(0,0,0,0.06); color: #3d3d3d; }
.hv-btn-w:hover { background: #e6e6e6; color: #4a4a4a; }
.hv-btn-d:hover { background: #3d3d3d; color: #fff; }

/* ---------- header / nav ---------- */
.st-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(28px,4vw,56px);
  background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0) 100%);
}
.st-logo {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: 16px; letter-spacing: 0.34em; color: #fff; text-transform: uppercase;
}
.st-logo:hover { color: #fff; }
.st-nav { display: flex; gap: clamp(14px,2.2vw,34px); align-items: center; }
.st-nav a {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: 13px; letter-spacing: 0.24em; color: #fff;
  white-space: nowrap;
}
.st-nav a:hover { color: #fff; opacity: .7; }
.st-burger {
  display: none; flex-direction: column; justify-content: center; gap: 7px;
  width: 40px; height: 34px; background: transparent; border: 0; padding: 0; cursor: pointer;
}
.st-burger span { display: block; width: 28px; height: 1px; background: #fff; }

.st-drawer {
  position: fixed; inset: 0; z-index: 60; background: #f7f7f7;
  display: none; flex-direction: column; justify-content: center;
  gap: 26px; padding: 0 clamp(24px,8vw,56px);
}
.st-drawer.is-open { display: flex; }
.st-drawer a {
  font-family: 'Cormorant Garamond', serif; font-weight: 600;
  font-size: 24px; letter-spacing: 0.24em; color: #3d3d3d;
}
.st-drawer a:hover { color: #8a8a8a; }
.st-drawer-close {
  position: absolute; top: 22px; right: clamp(28px,4vw,56px);
  width: 40px; height: 40px; background: transparent; border: 0; color: #3d3d3d;
  font-family: 'Cormorant Garamond', serif; font-size: 26px; line-height: 1; cursor: pointer;
}
.st-drawer-info {
  margin-top: 22px; border-top: 1px solid #dcdcdc; padding-top: 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.st-drawer-info a {
  font-size: 16px; letter-spacing: 0.16em; color: #3d3d3d;
}
.st-drawer-info span { font-size: 13px; color: #777; letter-spacing: 0.06em; }

/* ---------- scroll reveal ---------- */
.st-reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s ease; }
.st-reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .st-nav { display: none; }
  .st-burger { display: flex; }
  .st-works-grid { grid-template-columns: 1fr !important; }
  .st-pf-img { order: 2; }
  .st-flow-row { grid-template-columns: 1fr !important; }
  .st-hero-copy { top: 104px; bottom: auto !important; }
  .st-info-row { grid-template-columns: 30% 70% !important; gap: 0 !important; }
}
