@charset "UTF-8";

/* =========================================================
   60歳からのAIゲーム制作奮闘記 — 共通スタイル ver.2
   テーマ：精錬されたエディトリアル・ラグジュアリー
   配色：生成り（アイヴォリー） × 墨黒 × アンティーク真鍮
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Shippori+Mincho:wght@400;500;600;700&family=Zen+Kaku+Gothic+New:wght@300;400;500&family=Zen+Maru+Gothic:wght@500;700&family=RocknRoll+One&family=DotGothic16&family=Yusei+Magic&display=swap');

:root {
  --bone:       #f1ece0;
  --bone-2:     #f6f2e8;

  /*--ink:        #201c15;*/
  --ink:   #3B2416;

  /*--ink-soft:   #564f43;*/
  --ink-soft:   #4B2E1F;

  --ink-faint:  #8b8270;
  --brass:      #9a7b46;
  --brass-lt:   #b89a64;
  --line:       #d4cbb8;
  --line-soft:  #e2dac9;
  --near-black: #181410;

  --serif-jp:   'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --serif-la:   'Cormorant Garamond', 'Times New Roman', serif;
  --sans-jp:    'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', sans-serif;

  --maxw: 1080px;
  --measure: 940px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans-jp);
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.02em;
  color: var(--ink);
  background-color: var(--bone);
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: var(--ink); }

.eyebrow {
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--brass);
}
.kicker {
  font-family: var(--sans-jp);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---- 追従ヘッダー（コンパクト） ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(241, 236, 224, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.brand { text-decoration: none; line-height: 1.25; }
.brand .brand-kicker {
  display: block;
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--brass);
}
.brand .brand-title {
  display: block;
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: clamp(1.02rem, 2.2vw, 1.28rem);
  letter-spacing: 0.06em;
  color: var(--ink);
}
.brand .brand-motto {
  display: block;
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--brass);
  margin-top: 0.15rem;
}
.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-family: var(--sans-jp);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  text-decoration: none;
  position: relative;
  padding: 0.2rem 0;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -3px;
  width: 0; height: 1px;
  background: var(--brass);
  transition: width 0.35s ease, left 0.35s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { width: 100%; left: 0; }
.site-nav a[aria-current="page"] { color: var(--brass); }

/* 装飾の区切り線（ページ見出しなどで使用） */
.diamond {
  width: 100%;
  max-width: 220px;
  margin: 1.6rem auto 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--brass);
}
.diamond::before,
.diamond::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--brass));
}
.diamond::before { background: linear-gradient(to left, transparent, var(--brass)); }
.diamond .gem {
  width: 6px; height: 6px;
  transform: rotate(45deg);
  border: 1px solid var(--brass);
  flex: 0 0 auto;
}

/* ---- レイアウト共通 ---- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 3.4rem 0 2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;

  /*■カラフルライン■*/
  /*
  background-image:linear-gradient(90deg,#ffd23f,#f6a5c0,#8fd6ef,#b6e2a1);
  background-size:100% 5px; background-repeat:no-repeat; background-position:left bottom;
  */
}
.section-head.first { margin-top: 2.2rem; }
.section-head .index {
  font-family: var(--serif-la);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 500;
  line-height: 0.9;
  color: var(--brass);
}
.section-head h2 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(1.25rem, 3.2vw, 1.7rem);
  letter-spacing: 0.08em;
  margin: 0;

  /*■カラフルライン■*/
  background-image:linear-gradient(90deg,#ffd23f,#f6a5c0,#8fd6ef,#b6e2a1);
  background-size:100% 5px; background-repeat:no-repeat; background-position:left bottom;

}
.section-head .kicker {
  align-self: baseline;
  color: var(--ink-faint);
}
.section-head .more-link { margin-left: auto; align-self: center; }

/* ---- CTAリンク（View all / Read） 真鍮の枠付きチップ ---- */
.more-link,
.read-more,
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans-jp);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  text-decoration: none;
  padding: 0.46rem 1.05rem;
  border: 1px solid var(--brass);
  border-radius: 999px;
  background: transparent;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.more-link:hover,
.read-more:hover,
.view-all:hover {
  background: var(--brass);
  color: var(--bone);
  box-shadow: 0 4px 14px rgba(154, 123, 70, 0.28);
}
.more-link .arw,
.read-more .arw,
.view-all .arw { transition: transform 0.3s ease; }
.more-link:hover .arw,
.read-more:hover .arw,
.view-all:hover .arw { transform: translateX(4px); }

/* =========================================================
   トップの作品エリア（左：新着1 ／ 右：人気3）
   ========================================================= */
.works-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
  align-items: start;
}
.col-label {
  display: block;
  font-family: var(--sans-jp);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line-soft);
}
.col-label b { color: var(--brass); font-weight: 600; }

/* 左：新着フィーチャー（タイトル → 画像 → 説明 → スペック） */
.feature-new .work-figure { display: block; margin-bottom: 1.3rem; }
.feature-new .work-figure img { aspect-ratio: 16 / 10; }

/* ゲームタイトル */
.game-title {
  font-family: var(--title-font, 'Zen Maru Gothic', sans-serif);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.4vw, 2rem);
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 0 0 1rem;
}
.game-title a { color: var(--ink); text-decoration: none; transition: color 0.3s ease; }
.game-title a:hover { color: var(--brass); }

.game-title--maru  { --title-font: 'Zen Maru Gothic', sans-serif; }
.game-title--pop   { --title-font: 'RocknRoll One', sans-serif; }
.game-title--retro { --title-font: 'DotGothic16', sans-serif; }
.game-title--hand  { --title-font: 'Yusei Magic', sans-serif; }

.feature-new .desc {
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 0.94rem;
  margin: 0 0 1.4rem;
}
.feature-new .work-meta { margin-bottom: 1.6rem; }

/* 右：人気ゲーム（画像40% ／ テキスト60%） */
.popular { display: flex; flex-direction: column; }
.popular-item {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  color: inherit;
}
.popular-item:first-of-type { padding-top: 0; }
.popular-item .thumb { overflow: hidden; background: var(--bone-2); position: relative; }
.popular-item .thumb::before {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.35);
  z-index: 2; pointer-events: none;
}
.popular-item .thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
}
.popular-item:hover .thumb img { transform: scale(1.06); }
.popular-rank {
  font-family: var(--serif-la);
  font-size: 0.95rem;
  color: var(--brass);
  margin-right: 0.4rem;
}
.popular-item h4 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  line-height: 1.45;
  margin: 0 0 0.35rem;
  color: var(--ink);
  transition: color 0.3s ease;
}
.popular-item:hover h4 { color: var(--brass); }
.popular-item p {
  font-size: 0.84rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.popular-foot { margin-top: 1.4rem; }

/* ---- 作品（一覧ページ用・編集型） ---- */
.works { list-style: none; margin: 0; padding: 0; }
.work {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3.2rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.work:first-child { padding-top: 0.5rem; }
.work:last-child { border-bottom: none; }
.work:nth-child(even) .work-figure { order: 2; }

.work-figure {
  position: relative;
  overflow: hidden;
  background: var(--bone-2);
}
.work-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.35);
  z-index: 2;
  pointer-events: none;
}
.work-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.work:hover .work-figure img { transform: scale(1.06); }
.work-figure .no {
  position: absolute;
  top: 0.6rem; left: 0.9rem;
  z-index: 3;
  font-family: var(--serif-la);
  font-size: 2.6rem;
  font-weight: 500;
  color: var(--bone);
  mix-blend-mode: difference;
  line-height: 1;
}

.work-body .kicker { display: block; margin-bottom: 0.8rem; }
.work-body h3 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0 0 1rem;
}
.work-body .desc {
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 0.96rem;
  margin: 0 0 1.6rem;
  max-width: 32em;
}

.work-meta {
  margin: 0 0 2rem;
  border-top: 1px solid var(--line);
}
.work-meta .row {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.work-meta dt {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  align-self: center;
}
.work-meta dd {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
}

/* ---- ボタン ---- */
.btn {
  display: inline-block;
  font-family: var(--sans-jp);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 0.85rem 2rem;
  border: 1px solid var(--ink);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 0;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: -1;
}
.btn:hover { color: var(--bone); }
.btn:hover::before { transform: scaleX(1); }
.btn .arw { margin-left: 0.6rem; }

/* ---- 開発ブログ ---- */
.journal { list-style: none; margin: 0; padding: 0; }
.journal-item {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.journal-item:first-child { padding-top: 0.4rem; }
.journal-item:last-child { border-bottom: none; }
.journal-item .when {
  font-family: var(--serif-la);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--brass);
  padding-top: 0.2rem;
}
.journal-item .when .yr { display: block; font-size: 0.86rem; color: var(--ink-faint); }
.journal-item h3 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  letter-spacing: 0.04em;
  line-height: 1.55;
  margin: 0 0 0.7rem;
}
.journal-item h3 a {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--brass-lt), var(--brass-lt));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.4s ease, color 0.3s ease;
  padding-bottom: 2px;
}
.journal-item h3 a:hover { color: var(--brass); background-size: 100% 1px; }
.journal-item p {
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 0.94rem;
  margin: 0 0 0.9rem;
  max-width: 42em;
}

/* ---- プロフィール ---- */
.profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.4rem;
  align-items: center;
  padding: 3rem 2.6rem;
  background: var(--bone-2);
  border: 1px solid var(--line);
}
.profile .monogram {
  width: 86px; height: 86px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  display: grid;
  place-items: center;
  font-family: var(--serif-jp);
  font-size: 2rem;
  color: var(--brass);
}
.profile .bio { margin: 0; font-weight: 300; color: var(--ink-soft); font-size: 0.95rem; }
.profile .bio .name {
  display: block;
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

/* ---- ページ見出し ---- */
.page-head {
  text-align: center;
  padding: 2.2rem 1.5rem 0.5rem;
}
.page-head .index {
  font-family: var(--serif-la);
  font-size: clamp(2rem, 6vw, 3.2rem);
  color: var(--brass);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}
.page-head .kicker { display: block; margin-bottom: 0.9rem; }
.page-head h2 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(1.6rem, 4.6vw, 2.4rem);
  letter-spacing: 0.1em;
  margin: 0 0 0.9rem;
}
.page-head p {
  color: var(--ink-soft);
  font-weight: 300;
  margin: 0 auto;
  max-width: 34em;
  font-size: 0.95rem;
}
.page-head .diamond { margin-top: 1.6rem; }

/* ---- フッター ---- */
.site-footer {
  margin-top: 6rem;
  background: var(--near-black);
  color: var(--bone);
  padding: 3.4rem 1.5rem 2.6rem;
  text-align: center;
}
.site-footer .mark {
  font-family: var(--serif-jp);
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  color: var(--bone);
  margin: 0 0 0.4rem;
}
.site-footer .copy {
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--brass-lt);
  margin: 0 0 1.6rem;
}
.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(184, 154, 100, 0.3);
  max-width: 540px;
  margin: 0 auto;
}
.site-footer nav a {
  color: #cdc4b2;
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.site-footer nav a:hover { color: var(--brass-lt); }

/* ---- リビール ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  }
  .reveal:nth-child(2) { animation-delay: 0.1s; }
  .reveal:nth-child(3) { animation-delay: 0.2s; }
  .reveal:nth-child(4) { animation-delay: 0.3s; }
  .reveal:nth-child(5) { animation-delay: 0.4s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---- ブログ記事 ---- */
article h1{
  background-image:linear-gradient(90deg,#ffd23f,#f6a5c0,#8fd6ef,#b6e2a1);
  background-size:100% 5px; background-repeat:no-repeat; background-position:left bottom;
}

.post-wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.8rem 0 4rem;
}
.post-wrap h1 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  letter-spacing: 0.06em;
  line-height: 1.55;
  margin: 0 0 0.6rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}
.post-date {
  font-family: var(--serif-la);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--brass);
  margin: 0.4rem 0 2.4rem;
  display: block;
}
.post-wrap section { margin-bottom: 2rem; }
.post-wrap h2 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  letter-spacing: 0.05em;
  border-left: 3px solid var(--brass);
  padding-left: 0.75rem;
  margin: 2rem 0 0.9rem;
}
.post-wrap p {
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 0.96rem;
  line-height: 2;
}
.post-wrap strong { color: var(--ink); font-weight: 500; }
.post-wrap pre {
  background: var(--bone-2);
  border: 1px solid var(--line);
  padding: 1.2rem 1.4rem;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 1rem 0;
}
.post-wrap code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.92em;
  background: var(--bone-2);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}
.post-wrap img {
  max-width: 100%;
  margin: 1rem 0;
}

/* ---- ブログ前後ナビ ---- */
.post-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  /*border-top: 1px solid var(--line);*/
  /*border-bottom: 1px solid var(--line);*/
  margin: 1.6rem 0 2.4rem;
}
.post-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--sans-jp);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--brass);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--brass);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.post-nav a:hover {
  background: var(--brass);
  color: var(--bone);
}
.post-nav .spacer { flex: 1; }
.post-nav .blog-list-link {
  font-family: var(--sans-jp);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  text-decoration: none;
  text-transform: uppercase;
}
.post-nav .blog-list-link:hover { color: var(--ink); }

/* ---- お問い合わせ・プライバシー・免責ページ ---- */
.simple-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.2rem 0 5rem;
}
.simple-page h1 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.08em;
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.simple-page p {
  color: var(--ink-soft);
  font-weight: 300;
  font-size: 0.96rem;
  line-height: 2;
  margin: 0 0 1.2rem;
}
.simple-page a { color: var(--brass); }
.simple-page a:hover { color: var(--ink); }
.simple-page .contact-email {
  display: block;
  font-family: var(--serif-la);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 1.6rem 0;
}
.simple-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  text-decoration: none;
  border: 1px solid var(--brass);
  padding: 0.46rem 1.05rem;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}
.simple-page .back-link:hover { background: var(--brass); color: var(--bone); }

/* ---- レスポンシブ ---- */
@media (max-width: 760px) {
  .container { padding: 0 1.4rem; }
  .masthead {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    text-align: center;
  }
  .brand .brand-title { font-size: 1.1rem; }
  .site-nav ul { justify-content: center; gap: 1.1rem; }
  .site-nav a { font-size: 0.78rem; }
  .work {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 2.4rem 0;
  }
  .work:nth-child(even) .work-figure { order: 0; }
  .works-feature { grid-template-columns: 1fr; gap: 2.4rem; }
  .section-head { gap: 0.4rem 0.8rem; margin: 2.8rem 0 1.6rem; scroll-margin-top: 132px; }
  .section-head.first { margin-top: 1.8rem; }
  .section-head .more-link { margin-left: 0; margin-top: 0.4rem; }
  .popular-item { grid-template-columns: 38% 1fr; gap: 1rem; }
  .journal-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .journal-item .when { display: flex; align-items: baseline; gap: 0.6rem; padding-top: 0; }
  .journal-item .when .yr { display: inline; }
  .profile { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 1.4rem; padding: 2.4rem 1.6rem; }
  .post-wrap { padding: 2rem 0 3rem; }
  .post-nav { flex-wrap: wrap; }
}

/*---- 自分カスタマイズ ----*/

/* 記事本文だけを対象に濃くする */
/*.post-wrap p { color: #14110b; }*/
.post-wrap p { color: #5C4033; }

.game-img {
  border: 1px solid #5C4033;
}

.x-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.x-link img {
  width: 20px;
  height: 20px;
}

