/*
Theme Name: OKU
Theme URI: https://6directions.net/oku
Author: 6DIRECTIONS / efu2
Description: OKU — Words & Stories. 装いの奥にあるものを、静かに記録していく場所。
Version: 1.0
*/

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

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans JP','Hiragino Sans','ヒラギノ角ゴ ProN W3','Hiragino Kaku Gothic ProN','Meiryo',sans-serif;
  background: #fff;
  color: #555;
}

/* ════════════════════
   サイト全体
════════════════════ */
.oku-page {
  width: 960px;
  margin: 0 auto;
  padding: 0 0 80px;
  background: #fff;
}

/* ════════════════════
   ヘッダー
════════════════════ */
.oku-site-header {
  border-bottom: 1px dotted #333;
  padding: 20px 0;
  text-align: center;
  background: #fff;
}

.oku-site-header a {
  font-family: 'DM Mono','Courier New',monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #999;
  text-decoration: none;
}

.oku-site-header a:hover { color: #333; }

/* ════════════════════
   タイトルエリア
════════════════════ */
.oku-head {
  background: #fff;
  border-bottom: 1px dotted #333;
  padding: 50px 0 44px;
  text-align: center;
}

.oku-head-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 80px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: #333;
  line-height: 0.9;
  position: relative;
  display: inline-block;
  margin-bottom: 14px;
}

.oku-head-title-r {
  position: absolute;
  left: 0.02em;
  top: 0.04em;
  font-style: italic;
  color: rgba(28,26,23,0.06);
  pointer-events: none;
}

.oku-head-cats {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 8px;
}

.oku-head-cat-item {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.oku-head-kanji {
  font-family: 'Noto Sans JP','Hiragino Sans','ヒラギノ角ゴ ProN W3',sans-serif;
  font-size: 16px;
  color: #666;
  letter-spacing: 0.05em;
}

.oku-head-en {
  font-family: 'DM Mono','Courier New',monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aaa;
}

.oku-head-sep {
  font-family: 'DM Mono','Courier New',monospace;
  font-size: 9px;
  color: #ccc;
  padding: 0 14px;
}

.oku-head-ws {
  font-family: 'DM Mono','Courier New',monospace;
  font-size: 8px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #bbb;
  display: block;
  margin-top: 2px;
}

/* ════════════════════
   カテゴリタブ
════════════════════ */
.oku-tabs {
  display: flex;
  border-bottom: 1px solid #ccc;
  background: #fff;
  margin-bottom: 8px;
}

.oku-tab {
  font-family: 'Noto Sans JP','Hiragino Sans',sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #999;
  padding: 14px 24px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s;
}

.oku-tab:hover { color: #333; text-decoration: none; }
.oku-tab.active {
  color: #333;
  font-weight: bold;
  border-bottom-color: #333;
}

/* ════════════════════
   セクションラベル
════════════════════ */
.oku-section-label {
  font-family: 'DM Mono','Courier New',monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #999;
  margin: 44px 0 22px;
  padding-bottom: 10px;
  border-bottom: 1px dotted #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.oku-section-kanji {
  font-family: 'Noto Sans JP','Hiragino Sans','ヒラギノ角ゴ ProN W3',sans-serif;
  font-size: 18px;
  color: #666;
}

/* ════════════════════
   フィーチャード記事
════════════════════ */
.oku-featured {
  display: flex;
  gap: 50px;
  padding: 44px 0;
  border-bottom: 1px dotted #333;
  align-items: center;
}

.oku-feat-img {
  width: 280px;
  flex-shrink: 0;
  aspect-ratio: 4 / 5;
  background: #e8e3d9;
  overflow: hidden;
}

.oku-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.oku-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.oku-feat-body { flex: 1; text-align: left; }

.oku-art-cat {
  font-family: 'DM Mono','Courier New',monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.oku-art-cat-kanji {
  font-family: 'Noto Sans JP','Hiragino Sans','ヒラギノ角ゴ ProN W3',sans-serif;
  font-size: 14px;
  color: #666;
}

.oku-feat-title {
  font-size: 22px;
  font-weight: normal;
  line-height: 1.85;
  letter-spacing: 0.06em;
  color: #333;
  margin-bottom: 16px;
}

.oku-feat-excerpt {
  font-size: 14px;
  line-height: 2.1;
  color: #666;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.oku-art-date {
  font-family: 'DM Mono','Courier New',monospace;
  font-size: 10px;
  color: #999;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.oku-read-more {
  font-family: 'DM Mono','Courier New',monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #999;
  padding-bottom: 2px;
  display: inline-block;
}

.oku-read-more:hover { color: #666; text-decoration: none; }

/* ════════════════════
   3列グリッド
════════════════════ */
.oku-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px 26px;
  margin-bottom: 20px;
}

.oku-card {
  width: calc((100% - 52px) / 3);
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: left;
}

.oku-card:hover { opacity: 0.75; }

.oku-card-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #e8e3d9;
  overflow: hidden;
  margin-bottom: 12px;
}

.oku-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.oku-card-title {
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: #333;
  margin-bottom: 6px;
  font-weight: normal;
}

.oku-card-excerpt {
  font-size: 13px;
  line-height: 1.9;
  color: #666;
}

/* ════════════════════
   個別記事：共通
════════════════════ */
.oku-single-title {
  font-size: 26px;
  font-weight: normal;
  line-height: 1.85;
  letter-spacing: 0.06em;
  color: #333;
  margin-bottom: 24px;
}

.oku-single-body {
  font-size: 15px;
  line-height: 2.0;
  letter-spacing: 0.02em;
  color: #333;
}

.oku-single-body p { margin-bottom: 2em; }

.oku-single-body img {
  width: 100%;
  height: auto;
  display: block;
  margin: 3em 0;
}

/* ════════════════════
   縦長レイアウト
   上段：写真左 / タイトル右
   下段：本文全幅
════════════════════ */
.oku-portrait-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0 80px;
}

.oku-portrait-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  margin-bottom: 60px;
}

.oku-portrait-img {
  grid-column: 1;
}

.oku-portrait-img img {
  width: 100%;
  height: auto;
  display: block;
}

.oku-portrait-content {
  grid-column: 2;
  padding: 80px 0 0 60px;
  box-sizing: border-box;
}

.oku-portrait-body {
  width: 100%;
}

@media (max-width: 768px) {
  .oku-portrait-top {
    grid-template-columns: 1fr;
    margin-bottom: 32px;
  }
  .oku-portrait-img { grid-column: 1; }
  .oku-portrait-content {
    grid-column: 1;
    padding: 32px 20px 0;
  }
  .oku-portrait-body {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .oku-portrait-img {
    float: none;
    width: 100%;
  }
  .oku-portrait-content {
    float: none;
    width: 100%;
    padding: 32px 20px 0;
    box-sizing: border-box;
  }
}
.oku-landscape-hero {
  width: 100%;
  overflow: hidden;
  background: #f5f5f5;
}

.oku-landscape-hero img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 70vh;
  object-fit: cover;
  object-position: center;
}

/* ════════════════════
   共通テキストラッパー（960px）
════════════════════ */
.oku-text-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}
.oku-single-header {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px dotted #333;
}

.oku-single-title {
  font-size: 26px;
  font-weight: normal;
  line-height: 1.85;
  letter-spacing: 0.06em;
  color: #333;
  margin-bottom: 16px;
}

.oku-single-body {
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: #555;
}

.oku-single-body p { margin-bottom: 2em; }

.oku-single-body img {
  width: 100%;
  height: auto;
  display: block;
  margin: 1em 0;
}

.oku-single-body h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.15em;
  color: #333;
  margin: 2.5em 0 1em;
  padding-bottom: 0.5em;
  border-bottom: 1px dotted #999;
}

@media (max-width: 768px) {
  /* 横長：画像高さ制限なし */
  .oku-landscape-hero img {
    max-height: none;
    object-fit: unset;
  }
  .oku-text-wrap {
    padding: 40px 20px 60px;
  }
    padding: 40px 20px;
  }
}

/* ════════════════════
   関連記事
════════════════════ */
.oku-related {
  border-top: 1px dotted #333;
  padding-top: 50px;
  margin-top: 0;
  padding-bottom: 0;
}

/* ════════════════════
   メルマガ誘導
════════════════════ */
.oku-newsletter {
  margin: 60px 0 0;
  border-top: 1px dotted #333;
  border-bottom: 1px dotted #333;
  padding: 50px 0;
  text-align: center;
  background: #fff;
}

.oku-newsletter p {
  font-size: 15px;
  line-height: 2.2;
  color: #666;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.oku-newsletter a {
  font-family: 'DM Mono','Courier New',monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: #333;
  padding: 12px 36px;
  text-decoration: none;
  display: inline-block;
}

.oku-newsletter a:hover { background: #666; }

/* ════════════════════
   フッター
════════════════════ */
.oku-footer {
  border-top: 1px dotted #333;
  padding: 30px 0;
  text-align: center;
  margin-top: 60px;
}

.oku-footer p {
  font-family: 'DM Mono','Courier New',monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #bbb;
}

.oku-footer a {
  color: #999;
  text-decoration: none;
}

.oku-footer a:hover { color: #333; }

/* ════════════════════
   スマホ対応
════════════════════ */
@media (max-width: 980px) {
  .oku-page { width: 100%; padding: 0 20px 60px; }
  .oku-featured { flex-direction: column; gap: 30px; }
  .oku-feat-img { width: 100%; }
  .oku-card { width: calc((100% - 20px) / 2); }
  .oku-head-title { font-size: 56px; }
}

@media (max-width: 600px) {
  .oku-card { width: 100%; }
  .oku-head-title { font-size: 44px; }
  .oku-single-title { font-size: 22px; }
}
