/*
Theme Name: Bakumori Studio
Theme URI: https://timereign.com/studio/
Description: バク盛れスタジオ専用WordPressテーマ
Version: 1.0
Author: Bakumori Studio
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Noto+Sans+JP:wght@300;400;500&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --ink:     #080808;
  --ink2:    #111111;
  --surface: #141414;
  --gray:    #707070;
  --silver:  #a8a8a8;
  --gold:    #b8964e;
  --gold2:   #d4af6a;
  --gold3:   #e8d4a0;
  --white:   #faf9f7;
  --line:    rgba(184,150,78,0.2);
  --line2:   rgba(255,255,255,0.06);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold3); }
img { max-width: 100%; height: auto; display: block; }

/* ── HEADER / NAV ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(8,8,8,.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line2);
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  align-items: center;
  padding: 16px 48px;
}

.site-branding a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 400;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--white);
}
.site-branding a span { color: var(--gold2); }

.main-navigation { display: flex; justify-content: center; }
.main-navigation ul { display: flex; gap: 0; list-style: none; }
.main-navigation ul li a {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  padding: 6px 14px; display: block;
  transition: color .2s;
}
.main-navigation ul li a:hover { color: var(--gold2); }

.header-cta { display: flex; justify-content: flex-end; }
.header-cta a {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink); background: var(--gold2);
  padding: 10px 22px;
  transition: background .2s;
}
.header-cta a:hover { background: var(--gold3); color: var(--ink); }

/* ── MAIN CONTENT ── */
.site-main {
  padding-top: 80px;
  min-height: 100vh;
}

/* ── BLOG INDEX（記事一覧） ── */
.blog-hero {
  padding: 100px 64px 80px;
  text-align: center;
  border-bottom: 1px solid var(--line2);
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(184,150,78,.07), transparent 70%);
}
.blog-hero-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 500;
  letter-spacing: .5em; text-transform: uppercase;
  color: var(--gold2);
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 16px;
}
.blog-hero-label::before,
.blog-hero-label::after { content: ''; width: 32px; height: 1px; background: var(--gold2); opacity: .5; }
.blog-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300; line-height: 1.2;
  color: var(--white);
}
.blog-hero-title em { font-style: italic; color: var(--gold2); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line2);
  border: 1px solid var(--line2);
  max-width: 1100px;
  margin: 64px auto;
  padding: 0 64px;
}

.post-card {
  background: var(--ink2);
  transition: background .3s;
}
.post-card:hover { background: var(--surface); }

.post-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface);
}
.post-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: .2em;
  color: var(--gray);
}

.post-card-body { padding: 28px 32px 36px; }
.post-card-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold2);
  border: 1px solid rgba(184,150,78,.3);
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 14px;
}
.post-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 400;
  color: var(--white); line-height: 1.5;
  margin-bottom: 12px;
  display: block;
}
.post-card-title:hover { color: var(--gold2); }
.post-card-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: .1em;
  color: var(--gray);
}

/* ── SINGLE POST（記事詳細） ── */
.post-hero {
  padding: 80px 64px 60px;
  max-width: 860px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line2);
}
.post-cats {
  display: flex; gap: 8px; margin-bottom: 20px;
}
.post-cat-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold2);
  border: 1px solid rgba(184,150,78,.3);
  padding: 3px 12px;
}
.post-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300; line-height: 1.3;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: .02em;
}
.post-meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: .15em;
  color: var(--gray);
  display: flex; align-items: center; gap: 20px;
}
.post-meta::before { content: ''; width: 24px; height: 1px; background: var(--gold); opacity: .4; }

.post-thumbnail {
  max-width: 860px; margin: 0 auto;
  overflow: hidden;
}
.post-thumbnail img { width: 100%; }

.post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 64px 100px;
}
.post-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 400;
  color: var(--white);
  margin: 56px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line2);
}
.post-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400;
  color: var(--gold2);
  margin: 40px 0 16px;
}
.post-content p {
  font-size: 15px; line-height: 2.3;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
}
.post-content ul, .post-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
.post-content li {
  font-size: 15px; line-height: 2.3;
  color: rgba(255,255,255,.85);
  margin-bottom: 8px;
}
.post-content img {
  width: 100%; margin: 32px 0;
  border: 1px solid var(--line2);
}
.post-content blockquote {
  border-left: 2px solid var(--gold2);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--ink2);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-style: italic;
  color: var(--silver);
}
.post-content a { color: var(--gold2); border-bottom: 1px solid rgba(184,150,78,.3); }
.post-content a:hover { color: var(--gold3); }

/* ── POST FOOTER ── */
.post-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 64px 80px;
  border-top: 1px solid var(--line2);
}
.back-to-blog {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--silver);
  display: inline-flex; align-items: center; gap: 12px;
  transition: color .2s;
}
.back-to-blog::before { content: '←'; color: var(--gold2); }
.back-to-blog:hover { color: var(--gold2); }

/* ── LINE CTA BANNER ── */
.line-banner {
  background: var(--ink2);
  border: 1px solid var(--line2);
  border-left: 2px solid var(--gold2);
  max-width: 720px;
  margin: 0 auto 64px;
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.line-banner-text { }
.line-banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400;
  color: var(--white); margin-bottom: 6px;
}
.line-banner-sub { font-size: 13px; color: var(--silver); }
.line-banner-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #06C755; color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: .2em;
  padding: 14px 32px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .2s;
}
.line-banner-btn:hover { opacity: .9; color: var(--white); }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line2);
  padding: 48px 64px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px; font-weight: 400;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--white);
}
.footer-logo span { color: var(--gold2); }
.footer-back {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--silver);
  border: 1px solid var(--line2);
  padding: 10px 20px;
  transition: all .2s;
}
.footer-back:hover { border-color: var(--gold2); color: var(--gold2); }
.footer-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; letter-spacing: .1em;
  color: var(--gray);
}

/* ── PAGINATION ── */
.pagination {
  display: flex; justify-content: center; gap: 8px;
  padding: 40px 0 80px;
}
.pagination a, .pagination span {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; letter-spacing: .15em;
  padding: 10px 18px;
  border: 1px solid var(--line2);
  color: var(--silver);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--gold2); color: var(--gold2); }
.pagination .current { background: var(--gold2); color: var(--ink); border-color: var(--gold2); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding: 14px 20px; }
  .main-navigation { display: none; }
  .header-cta { display: flex; }
  .posts-grid { grid-template-columns: 1fr; padding: 0 24px; }
  .blog-hero { padding: 80px 24px 60px; }
  .post-hero { padding: 60px 24px 40px; }
  .post-content { padding: 48px 24px 80px; }
  .post-footer { padding: 32px 24px 60px; }
  .line-banner { flex-direction: column; margin: 0 24px 48px; padding: 28px; }
  .site-footer { flex-direction: column; gap: 20px; padding: 32px 24px; text-align: center; }
}
