:root {
  --ink: #111111;
  --ink-2: #2b2b2b;
  --muted: #767676;
  --muted-2: #9a9a9a;
  --line: #e6e6e3;
  --line-2: #f0f0ed;
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --green: #24890d;
  --green-2: #41a62a;
  --green-soft: #eef7eb;
  --radius: 4px;
  --wrap: 1180px;
  --font: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .05);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: min(100% - 28px, var(--wrap)); } }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px;
}
.skip-link:focus { top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner {
  display: flex; align-items: center; gap: 32px;
  min-height: 76px;
}
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img { width: 208px; height: auto; }
@media (max-width: 900px) { .brand img { width: 168px; } }
@media (max-width: 480px) { .brand img { width: 142px; } }

.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  position: relative; display: block; padding: 6px 0;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--ink);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--green); transition: right .2s ease;
}
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }
.site-nav a.is-active { color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 8px 20px 20px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: block; }
  .site-nav li + li { border-top: 1px solid var(--line-2); }
  .site-nav a { padding: 14px 0; font-size: 14px; }
  .header-inner { position: relative; }
  .header-actions { margin-left: auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px;
  border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: .08em; cursor: pointer; transition: .18s ease;
}
.btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn--green { background: var(--green); border-color: var(--green); }
.btn--green:hover { background: #1d730a; border-color: #1d730a; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 36px; padding: 7px 14px; font-size: 12px; }
.btn--block { width: 100%; }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 24%, rgba(36, 137, 13, .10), transparent 34%),
    radial-gradient(circle at 8% 92%, rgba(0, 0, 0, .05), transparent 40%),
    linear-gradient(180deg, #fafaf8 0%, #f3f3ef 100%);
}
.hero::after {
  content: "TOKYO MODEL AGENCY";
  position: absolute; right: -2vw; bottom: -1.4vw; z-index: 0;
  font-size: clamp(50px, 9vw, 132px); font-weight: 800; letter-spacing: -.03em;
  color: rgba(17, 17, 17, .035); white-space: nowrap; pointer-events: none;
}
.hero-inner { position: relative; padding: 76px 0 64px; max-width: 720px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--green);
  text-transform: uppercase; margin-bottom: 18px;
}
.hero-kicker::before { content: ""; width: 28px; height: 2px; background: var(--green); }
.hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  letter-spacing: .02em; line-height: 1.25; margin-bottom: 18px;
}
.hero p { color: #555; max-width: 560px; margin-bottom: 28px; }
.hero-search {
  display: flex; gap: 0; max-width: 560px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.hero-search input {
  flex: 1; min-width: 0; border: 0; padding: 15px 18px; outline: none; background: transparent;
}
.hero-search button {
  border: 0; background: var(--green); color: #fff; padding: 0 26px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; cursor: pointer;
}
.hero-search button:hover { background: #1d730a; }
.hero-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

@media (max-width: 640px) {
  .hero-inner { padding: 54px 0 46px; }
  .hero-search button { padding: 0 18px; }
}

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 44px 0; }
.section--soft { background: var(--bg-soft); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 30px;
}
.section-head h2 {
  font-size: 22px; letter-spacing: .06em; display: flex; align-items: center; gap: 12px;
}
.section-head h2::before { content: ""; width: 4px; height: 22px; background: var(--green); }
.section-head .more { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.section-head .more:hover { color: var(--green); }
.section-lead { color: var(--muted); font-size: 14px; margin: -14px 0 28px; }

/* ---------- model grid ---------- */
.model-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 34px 22px;
}
@media (max-width: 1080px) { .model-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px) { .model-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 14px; } }
@media (max-width: 560px) { .model-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; } }

.model-grid--related { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .model-grid--related { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .model-grid--related { grid-template-columns: repeat(2, 1fr); } }

.model-card { position: relative; display: block; }
.model-card__media {
  position: relative; overflow: hidden; background: var(--bg-soft);
  aspect-ratio: 3 / 4; border-radius: var(--radius);
}
.model-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1), filter .3s;
}
.model-card:hover .model-card__media img { transform: scale(1.035); }
.model-card__placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #ececea, #f7f7f5);
  color: #c9c9c4; font-size: 38px; font-weight: 700; letter-spacing: .04em;
}
.model-card__rank {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  min-width: 28px; height: 28px; padding: 0 7px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; border-radius: 2px;
}
.model-card__rank--1 { background: var(--green); }
.model-card__cat {
  position: absolute; right: 8px; top: 8px; z-index: 2;
  padding: 3px 8px; background: rgba(255, 255, 255, .92);
  font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--ink); border-radius: 2px;
}
.model-card__body { padding: 12px 2px 0; }
.model-card__name { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.model-card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-top: 3px; font-size: 11px; color: var(--muted); letter-spacing: .04em;
}
.model-card__meta span + span::before { content: "/"; margin-right: 8px; color: var(--line); }
.model-card__meta span + span { margin-left: -4px; }

/* ---------- ranking ---------- */
.rank-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 820px) { .rank-columns { grid-template-columns: 1fr; gap: 40px; } }
.rank-box__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 6px;
}
.rank-box__head h3 { font-size: 16px; letter-spacing: .06em; }
.rank-box__head a { font-size: 11px; color: var(--muted); font-weight: 700; }
.rank-list li { border-bottom: 1px solid var(--line-2); }
.rank-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.rank-item:hover .rank-item__name { color: var(--green); }
.rank-item__num {
  flex: 0 0 24px; font-size: 13px; font-weight: 700; color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.rank-item:nth-child(1) .rank-item__num,
.rank-item:nth-child(2) .rank-item__num,
.rank-item:nth-child(3) .rank-item__num { color: var(--green); }
.rank-item__thumb {
  flex: 0 0 48px; width: 48px; height: 64px; border-radius: 2px;
  overflow: hidden; background: var(--bg-soft);
}
.rank-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rank-item__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.rank-item__meta { font-size: 11px; color: var(--muted); }
.rank-item__views { margin-left: auto; font-size: 11px; color: var(--muted-2); }

/* ---------- CTA ---------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 46px 0;
}
.cta-band h2 { color: #fff; font-size: 24px; letter-spacing: .04em; margin-bottom: 6px; }
.cta-band p { color: #b9b9b4; font-size: 13px; margin: 0; }
.cta-band .btn { border-color: #fff; background: #fff; color: var(--ink); flex: 0 0 auto; }
.cta-band .btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
@media (max-width: 700px) {
  .cta-band .wrap { flex-direction: column; align-items: flex-start; padding: 36px 0; }
}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 30px; } }
.about-copy h2 { font-size: 26px; margin-bottom: 18px; letter-spacing: .03em; }
.about-copy p { color: #555; font-size: 14px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.about-stat { background: #fff; padding: 26px 22px; }
.about-stat strong { display: block; font-size: 30px; color: var(--ink); line-height: 1; letter-spacing: .01em; }
.about-stat span { display: block; margin-top: 8px; font-size: 11px; color: var(--muted); letter-spacing: .08em; }

/* ---------- breadcrumb ---------- */
.breadcrumb { padding: 18px 0 0; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #c9c9c4; }
.breadcrumb a:hover { color: var(--green); }

/* ---------- page head ---------- */
.page-head { padding: 40px 0 30px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 28px; letter-spacing: .04em; }
.page-head p { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
@media (max-width: 640px) { .page-head { padding: 28px 0 22px; } .page-head h1 { font-size: 23px; } }

/* ---------- single ---------- */
.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 34px 0 70px; }
@media (max-width: 1000px) { .single-layout { grid-template-columns: 1fr; } }

.profile-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.profile-head h1 { font-size: 32px; letter-spacing: .03em; }
.profile-head .kana { font-size: 12px; color: var(--muted); letter-spacing: .14em; margin-bottom: 4px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.profile-tags a {
  display: inline-block; padding: 3px 9px; background: var(--green-soft); color: var(--green);
  font-size: 10px; font-weight: 700; letter-spacing: .06em; border-radius: 2px;
}
.profile-head .fav { flex: 0 0 auto; }
.fav-btn {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line);
  background: #fff; padding: 9px 16px; border-radius: var(--radius);
  font-size: 12px; font-weight: 700; color: var(--ink); cursor: pointer;
}
.fav-btn:hover, .fav-btn.is-on { border-color: #e0447a; color: #d63770; background: #fff6f9; }
.fav-count { color: var(--muted); font-weight: 400; }

/* ---------- favorites (guest) ---------- */
.fav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.fav-heart { font-size: 14px; line-height: 1; }
.fav-more { font-size: 11px; color: var(--green); text-decoration: underline; letter-spacing: .04em; }
.fav-note { margin-top: 24px; font-size: 12px; color: var(--muted); }
.fav-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.fav-toolbar strong { color: var(--ink); }
.fav-clear { color: var(--muted); text-decoration: underline; }
.fav-clear:hover { color: var(--ink); }
.header-fav {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; font-size: 17px; line-height: 1; color: var(--ink);
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
}
.header-fav:hover { border-color: var(--line); }
.header-fav__count {
  position: absolute; top: 1px; right: 0; min-width: 16px; padding: 0 4px;
  border-radius: 999px; background: #e0447a; color: #fff;
  font-size: 9px; font-weight: 700; line-height: 16px; text-align: center;
}

.gallery { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; margin-bottom: 34px; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 8px; order: 1; }
.gallery-thumbs button {
  padding: 0; border: 2px solid transparent; background: none; cursor: pointer; line-height: 0;
  border-radius: 2px; overflow: hidden; opacity: .72; transition: .15s;
}
.gallery-thumbs button.is-active, .gallery-thumbs button:hover { border-color: var(--green); opacity: 1; }
.gallery-thumbs img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.gallery-main { order: 2; background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; max-height: 760px; object-fit: contain; background: #f2f2ef; }
.gallery-main--empty {
  display: flex; align-items: center; justify-content: center; min-height: 420px;
  color: var(--muted-2); font-size: 13px;
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-direction: row; overflow-x: auto; order: 2; padding-bottom: 4px; }
  .gallery-thumbs button { flex: 0 0 62px; }
  .gallery-main { order: 1; }

  /* お気に入りボタンが横にはみ出さないよう、名前の下に回り込ませる */
  .profile-head { flex-wrap: wrap; align-items: flex-start; }
  .profile-head .fav { flex: 1 0 100%; }
}

.profile-section { margin-bottom: 34px; }
.profile-section > h2 {
  font-size: 15px; letter-spacing: .1em; padding-bottom: 10px;
  border-bottom: 1px solid var(--ink); margin-bottom: 16px;
}
.profile-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.profile-table th, .profile-table td { padding: 11px 12px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.profile-table th { width: 150px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; background: var(--bg-soft); }
.profile-body { font-size: 14px; color: #444; line-height: 1.9; overflow-wrap: anywhere; }
.profile-body a { color: var(--green); text-decoration: underline; }

.sns-links { display: flex; flex-wrap: wrap; gap: 8px; }
.sns-link {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700;
}
.sns-link:hover { border-color: var(--green); color: var(--green); }
.sns-link svg { width: 15px; height: 15px; }

/* ---------- sidebar ---------- */
.sidebar { font-size: 13px; }
.sidebar-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 22px; }
.sidebar-box h2 {
  font-size: 13px; letter-spacing: .1em; padding-bottom: 12px;
  border-bottom: 1px solid var(--line); margin-bottom: 14px;
}
.sidebar-search { display: flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sidebar-search input { flex: 1; min-width: 0; border: 0; padding: 10px 12px; outline: none; }
.sidebar-search button { border: 0; background: var(--ink); color: #fff; padding: 0 14px; cursor: pointer; }
.sidebar-links li + li { border-top: 1px solid var(--line-2); }
.sidebar-links a { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; font-size: 12px; font-weight: 700; }
.sidebar-links span { color: var(--muted); font-size: 11px; font-weight: 400; }

/* ---------- category / search ---------- */
.filter-box { background: var(--bg-soft); border: 1px solid var(--line); padding: 22px; margin-bottom: 32px; border-radius: var(--radius); }
.filter-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.filter-row + .filter-row { margin-top: 12px; }
.filter-field label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-bottom: 5px; }
.filter-field input, .filter-field select {
  width: 100%; min-height: 40px; padding: 8px 11px; background: #fff;
  border: 1px solid var(--line); border-radius: 2px; outline: none;
}
.filter-field input:focus, .filter-field select:focus { border-color: var(--green); }
.filter-submit { display: flex; align-items: flex-end; gap: 8px; }
.filter-submit .btn { min-height: 40px; }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.result-count { font-size: 13px; color: var(--muted); }
.result-count strong { color: var(--ink); font-size: 17px; }
@media (max-width: 760px) { .filter-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .filter-row { grid-template-columns: 1fr; } }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 54px; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 2px; font-size: 12px; font-weight: 700;
}
.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination .is-disabled { color: #ccc; }

.empty-state { padding: 80px 20px; text-align: center; color: var(--muted); }
.empty-state h2 { font-size: 18px; margin-bottom: 10px; }

/* ---------- page content ---------- */
.page-layout { max-width: 860px; padding: 40px 0 70px; }
.page-content { font-size: 15px; line-height: 2; }
.page-content h2 { font-size: 22px; margin: 44px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-size: 18px; margin: 34px 0 12px; }
.page-content p { margin-bottom: 1.2em; }
.page-content a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.page-content strong { color: var(--ink); }
.page-content em { font-style: normal; color: var(--muted); }
.page-content img { border-radius: var(--radius); margin: 20px 0; }
.page-content .button { margin: 26px 0; }
.page-content .button1, .page-content .btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; background: var(--green); color: #fff !important;
  text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .08em; border-radius: var(--radius);
}
.page-content .button1:hover { background: #1d730a; }
.page-content table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 13px; }
.page-content th, .page-content td { border: 1px solid var(--line); padding: 10px; text-align: left; }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
@media (max-width: 640px) { .form-card { padding: 22px 18px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .05em; margin-bottom: 7px; }
.form-field label .req { color: var(--green); font-size: 10px; margin-left: 4px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 2px;
  background: #fff; outline: none; transition: border-color .15s;
}
.form-field textarea { min-height: 130px; resize: vertical; line-height: 1.8; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--green); }
.form-field .hint { font-size: 11px; color: var(--muted); margin-top: 5px; }
.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.form-error {
  background: #fff4f4; border: 1px solid #f0c2c2; color: #a32020;
  padding: 12px 16px; border-radius: 2px; font-size: 13px; margin-bottom: 20px;
}
.form-notice {
  background: var(--green-soft); border: 1px solid #cfe8c8; color: #1d6b0b;
  padding: 12px 16px; border-radius: 2px; font-size: 13px; margin-bottom: 20px;
}
.auth-wrap { max-width: 460px; margin: 50px auto 80px; }
.auth-wrap--wide { max-width: 760px; }
.auth-title { text-align: center; margin-bottom: 28px; }
.auth-title h1 { font-size: 24px; letter-spacing: .06em; }
.auth-title p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.auth-alt { text-align: center; font-size: 12px; color: var(--muted); margin-top: 22px; }
.auth-alt a { color: var(--green); font-weight: 700; }
.notice-box { border: 1px solid var(--line); background: var(--bg-soft); padding: 18px 20px; font-size: 12px; color: var(--muted); border-radius: 2px; margin-bottom: 22px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b9b9b4; font-size: 12px; margin-top: 0; }
.footer-main { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding: 52px 0 40px; }
.footer-brand img { width: 190px; filter: invert(1) grayscale(1) brightness(2); opacity: .92; }
.footer-brand p { margin-top: 16px; color: #8d8d88; max-width: 300px; line-height: 1.8; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h2 { color: #fff; font-size: 11px; letter-spacing: .16em; margin-bottom: 14px; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a:hover { color: var(--green-2); }
.footer-bottom {
  border-top: 1px solid #2c2c2c; padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 11px; color: #777;
}
@media (max-width: 760px) {
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding: 40px 0 30px; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- admin ---------- */
.admin-body { background: #f4f4f1; }
.admin-header { background: var(--ink); color: #fff; }
.admin-header .header-inner { min-height: 60px; }
.admin-header .brand img { width: 150px; filter: invert(1) grayscale(1) brightness(2); }
.admin-nav { display: flex; gap: 22px; margin-left: auto; font-size: 12px; font-weight: 700; }
.admin-nav a { color: #ccc; }
.admin-nav a:hover, .admin-nav a.is-active { color: #fff; }
.admin-user { display: flex; align-items: center; gap: 12px; font-size: 11px; color: #aaa; margin-left: 18px; }
.admin-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 34px; padding: 34px 0 70px; }
@media (max-width: 900px) { .admin-layout { grid-template-columns: 1fr; } }
.admin-side { font-size: 13px; }
.admin-side nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.admin-side a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line-2); font-weight: 700; }
.admin-side a:last-child { border-bottom: 0; }
.admin-side a:hover, .admin-side a.is-active { background: var(--green-soft); color: var(--green); }
.admin-main h1 { font-size: 22px; margin-bottom: 6px; }
.admin-lead { color: var(--muted); font-size: 12px; margin-bottom: 24px; }
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 30px; }
@media (max-width: 800px) { .admin-cards { grid-template-columns: 1fr 1fr; } }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.admin-card strong { display: block; font-size: 26px; line-height: 1; color: var(--ink); }
.admin-card span { display: block; font-size: 11px; color: var(--muted); margin-top: 8px; letter-spacing: .06em; }
.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.admin-panel h2 { font-size: 15px; letter-spacing: .05em; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.admin-table th, .admin-table td { padding: 10px 8px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: middle; }
.admin-table th { color: var(--muted); font-size: 10px; letter-spacing: .08em; font-weight: 700; }
.admin-table img { width: 38px; height: 48px; object-fit: cover; border-radius: 2px; background: var(--bg-soft); }
.admin-table .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-table .actions a, .admin-table .actions button {
  font-size: 11px; border: 1px solid var(--line); background: #fff; padding: 4px 9px;
  border-radius: 2px; cursor: pointer;
}
.admin-table .actions a:hover, .admin-table .actions button:hover { border-color: var(--ink); }
.badge { display: inline-block; padding: 2px 7px; font-size: 10px; font-weight: 700; border-radius: 2px; background: #eee; color: #555; }
.badge--publish { background: var(--green-soft); color: var(--green); }
.badge--pending { background: #fff4d6; color: #8a6200; }
.badge--draft { background: #f0f0f0; color: #666; }
.badge--trash { background: #fae8e8; color: #a32020; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .photo-grid { grid-template-columns: 1fr 1fr; } }
.photo-slot { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: #fff; }
.photo-slot__preview { aspect-ratio: 3/4; background: var(--bg-soft); border-radius: 2px; overflow: hidden; margin-bottom: 8px; }
.photo-slot__preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot__empty { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted-2); font-size: 11px; }
.photo-slot input[type="file"] { font-size: 10px; width: 100%; }
.photo-slot label { font-size: 10px; font-weight: 700; color: var(--muted); display: block; margin-bottom: 5px; }
.checkbox { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #a32020; margin-top: 6px; }
.checkbox input { width: auto; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-actions form { display: inline; }
.danger { color: #a32020; }
.muted { color: var(--muted); }
.small { font-size: 11px; }
.nowrap { white-space: nowrap; }

/* ---------- public misc ---------- */
.pagination-info { text-align: center; font-size: 12px; color: var(--muted); margin-top: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }
.tag-list a:hover { border-color: var(--green); color: var(--green); }
.notice-inline { border-left: 3px solid var(--green); background: var(--green-soft); padding: 12px 16px; font-size: 13px; margin: 20px 0; }
.share-row { display: flex; align-items: center; gap: 8px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.share-row span { font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.share-row a { font-size: 11px; font-weight: 700; border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
