/* ===================================================
   eunoia design studio — main.css
   Base width: 1440px / Responsive: tablet 768px, SP 375px
   =================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #192227;
  --text: #D9D9D9;
  --text-muted: rgba(217, 217, 217, 0.55);
  --border: rgba(217, 217, 217, 0.35);
  --border-hover: rgba(217, 217, 217, 0.9);
  --btn-fill-bg: #D9D9D9;
  --btn-fill-text: #192227;

  --font-en: 'Helvetica Neue', 'Helvetica', 'Montserrat', sans-serif;
  --font-ja: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'YuGothic', 'Meiryo', sans-serif;

  --inner-max: 1200px;
  --inner-pad: 120px;
  --section-pad-v: 140px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja);
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 32px 60px;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--inner-max);
  margin: 0 auto;
}

.header-logo {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  color: var(--text);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.header-logo:hover { opacity: 1; }

/* TOP page: ロゴ・ナビを最初は非表示、JS で .header-ready 付与後にフェードイン */
.header-logo.is-header-hidden,
.header-nav.is-header-hidden {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.8s ease !important;
}
.header-logo.is-header-visible,
.header-nav.is-header-visible {
  opacity: 0.7;
  pointer-events: auto;
  transition: opacity 0.8s ease !important;
}
.header-logo.is-header-visible:hover { opacity: 1; }
.header-nav.is-header-visible { opacity: 1; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  color: var(--text);
  transition: opacity 0.2s;
}
.nav-link:hover { opacity: 0.6; }

.nav-link--btn {
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 24px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.nav-link--btn:hover {
  background: var(--btn-fill-bg);
  color: var(--btn-fill-text);
  border-color: var(--btn-fill-bg);
  opacity: 1;
}

/* ---------- Section common ---------- */
.blog {
  margin-bottom: 100px;
}

.section-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  padding: 0 var(--inner-pad) 60px;
  position: relative;
}

/* 架線：padding内側（コンテンツ幅）に合わせて左右余白付き */
.section-inner::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: var(--inner-pad);
  right: var(--inner-pad);
  border-bottom: 1px solid var(--border);
}

/* MVセクションは罫線なし */
.mv .section-inner::after {
  display: none;
}

.works .section-inner,
.contact .section-inner,
.blog .section-inner {
  padding-top: 100px;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: lowercase;
  color: var(--text);
  margin-bottom: 8px;
  /* letter-spacing の末尾スペース分を左に寄せて視覚的中央を補正 */
  padding-left: 0.4em;
}

.section-sub {
  font-family: var(--font-ja);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-align: center;
  display: block;
}

/* ---------- Button ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 40px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover {
  background: var(--btn-fill-bg);
  color: var(--btn-fill-text);
  border-color: var(--btn-fill-bg);
}

.btn-wrap {
  text-align: center;
  margin-top: 60px;
}

/* ---------- MV ---------- */
.mv {
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

#mv-root {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 7%;
  padding-top: 5%;
  padding-bottom: 5%;
}

.mv-line {
  display: block;
  white-space: nowrap;
  line-height: 1.15;
  transform-origin: left center;
}

.mv-letter {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 11vw;
  color: transparent;
  -webkit-text-stroke: 0.012em #D9D9D9;
  letter-spacing: 0.08em;
  display: inline-block;
  opacity: 0;
  user-select: none;
  text-transform: lowercase;
  will-change: transform, opacity;
}

.mv-replay {
  display: none;
}

/* ---------- About ---------- */
.about-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-catch {
  font-family: var(--font-ja);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text);
  margin-top: 100px;
  margin-bottom: 40px;
  line-height: 1.6;
}

.about-body {
  font-size: 13px;
  line-height: 2;
  color: var(--text);
  max-width: 780px;
  margin-bottom: 48px;
  letter-spacing: 0.05em;
}

/* ---------- Card grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog .card-grid {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  gap: 24px;
}

.card-link {
  display: block;
}

.card-thumb {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #2a3840;
  margin-bottom: 16px;
}

.card-thumb img,
.card-thumb__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-thumb__placeholder {
  background: #e8e4e0;
}

.card-link:hover .card-thumb img,
.card-link:hover .card-thumb__placeholder {
  transform: scale(1.06);
}

.card-date {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card-title {
  font-size: 12px;
  line-height: 1.8;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.05em;
}

/* ---------- Contact ---------- */
.contact-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-body {
  font-size: 13px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 48px;
  letter-spacing: 0.05em;
}

/* ---------- Page hero (contact / works archive etc.) ---------- */
.page-hero .section-inner {
  padding-bottom: 0;
}
.page-hero .section-inner::after {
  display: none;
}

/* ---------- Contact page ---------- */
.contact-page .section-inner {
  padding-top: 60px;
}

.contact-page-lead {
  font-size: 13px;
  line-height: 2.2;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 64px;
  text-align: center;
}

/* contactページの日本語サブタイトル非表示 */
.contact-page-section .section-sub,
.page-hero .section-sub {
  display: none;
}

/* 送信ボタン上の架線を非表示 */
.contact-page .section-inner::after {
  display: none;
}

/* 送信ボタン：デフォルトを塗りつぶし、hover を outline に反転 */
.cf7-submit-wrap .btn,
.wpcf7-form input[type="submit"] {
  background: var(--btn-fill-bg);
  color: var(--btn-fill-text);
  border-color: var(--btn-fill-bg);
}
.cf7-submit-wrap .btn:hover,
.wpcf7-form input[type="submit"]:hover {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

/* CF7 / フォームスタイル */
.cf7-form,
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
}

.cf7-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.cf7-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.cf7-label,
.wpcf7-form label {
  font-family: var(--font-ja);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.cf7-required {
  color: var(--text);
  margin-left: 4px;
}

.cf7-input,
.cf7-textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-ja);
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
}

.cf7-input::placeholder,
.cf7-textarea::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: rgba(217, 217, 217, 0.25);
}

.cf7-input:focus,
.cf7-textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-bottom-color: var(--text);
}

.cf7-textarea,
.wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.8;
}

.cf7-submit-wrap,
.wpcf7-submit-wrap {
  text-align: center;
  margin-top: 60px;
}

.wpcf7-form input[type="submit"] {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: lowercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 40px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--btn-fill-bg);
  color: var(--btn-fill-text);
  border-color: var(--btn-fill-bg);
}

/* CF7 エラー・送信メッセージ */
.wpcf7-not-valid-tip {
  font-size: 11px;
  color: #e07070;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.wpcf7-response-output {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-align: center;
  margin-top: 24px;
  padding: 12px 20px;
  border: 1px solid var(--border) !important;
  color: var(--text);
}

/* ---------- Thanks page ---------- */
.thanks-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks-page .section-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.thanks-page .section-inner::after {
  display: none;
}
.thanks-page ~ .site-footer {
  border-top: none;
}

.thanks-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.thanks-title {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.2em;
  padding-left: 0.2em;
  color: var(--text);
}

.thanks-message {
  font-size: 13px;
  line-height: 2.2;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* ---------- Profile ---------- */
.profile-hero .section-inner {
  padding-bottom: 0;
}
.profile-hero .section-inner::after {
  display: none;
}

.profile-main .section-inner::after {
  display: none;
}

.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: flex-start;
}

.profile-image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  /* 名前(16px × 1.4) + margin-bottom 36px 分ずらして本文トップに揃える */
  padding-top: 58px;
}

.profile-image {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  background: #2a3840;
  flex-shrink: 0;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-name-en {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: lowercase;
  text-align: center;
}

/* 各ページタイトル: 22px統一 */
.profile-hero .section-title,
.page-hero .section-title,
.thanks-title {
  font-size: 22px;
  letter-spacing: 0.2em;
  padding-left: 0.2em;
}

.profile-name {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.4;
}

.profile-bio {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 56px;
}

.profile-bio p {
  font-size: 13px;
  line-height: 2.2;
  color: var(--text);
  letter-spacing: 0.05em;
}

.profile-skills {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.profile-skills__title {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 28px;
}

.profile-skills__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-skills__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  align-items: baseline;
}

.profile-skills__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-family: var(--font-ja);
}

.profile-skills__value {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text);
  line-height: 1.8;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 24px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-nav {
  display: none;
}

.footer-copy {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* ===================================================
   Responsive — Tablet (max 1024px)
   =================================================== */
@media screen and (max-width: 1024px) {
  :root {
    --inner-pad: 60px;
    --section-pad-v: 100px;
  }

  .site-header {
    padding: 24px 40px;
  }

  .mv-letter {
    font-size: 12vw;
  }

  .card-grid {
    gap: 24px;
  }
}

/* ========================================
   Hamburger / Nav Overlay (共通)
   ======================================== */
.header-logo-e {
  display: none;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 28px;
  color: transparent;
  -webkit-text-stroke: 0.04em var(--text);
  text-decoration: none;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.header-logo-e.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.hamburger.is-header-hidden {
  opacity: 0;
  pointer-events: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow: hidden;
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* overlay ヘッダー行（e + × を並列） */
.nav-overlay__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}

/* overlay内 "e" ロゴ — ヘッダーと同サイズ */
a.nav-overlay__deco-e { text-decoration: none; }
.nav-overlay__deco-e {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 28px;
  color: transparent;
  -webkit-text-stroke: 0.04em var(--text);
  line-height: 1;
  user-select: none;
  display: inline-block;
}

/* 閉じるボタン */
.nav-overlay__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  padding: 4px;
  letter-spacing: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-overlay__close:hover { opacity: 1; }

.nav-overlay__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.nav-overlay__link {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--text);
  text-decoration: none;
  padding-left: 0.3em;
}
.nav-overlay__link--btn {
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 10px 32px;
}

/* ===================================================
   Responsive — SP (max 767px)
   =================================================== */
@media screen and (max-width: 767px) {
  :root {
    --inner-pad: 24px;
    --section-pad-v: 80px;
  }

  /* Header */
  .site-header {
    padding: 20px 24px;
  }

  .header-logo {
    display: none;
  }

  .header-logo-e {
    display: block;
  }

  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* MV */
  #mv-root {
    padding-left: 6%;
  }

  .mv-letter {
    font-size: 14vw;
  }

  /* About */
  .about-catch {
    font-size: 15px;
  }

  .about-body {
    font-size: 12px;
    text-align: left;
  }

  /* Cards — 1列 */
  .card-grid,
  .card-grid--works,
  .card-grid--blog {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }

  /* Profile — 縦積み */
  .profile-layout {
    display: block;
  }
  .profile-image-wrap {
    margin-bottom: 32px;
  }

  /* Blog single — 縦積み */
  .single-blog__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .single-blog__thumb {
    position: static;
  }

  /* Contact — 縦並び */
  .contact-body {
    font-size: 12px;
    text-align: left;
  }
  .contact-body br {
    display: none;
  }
  .cf7-row {
    flex-direction: column;
    gap: 24px;
  }

  /* Archive — padding-top を除去 */
  .archive-works-section .section-inner,
  .archive-blog-section .section-inner {
    padding-top: 0;
  }

  /* Footer */
  .site-footer {
    padding: 40px 24px;
  }

  .footer-nav {
    gap: 24px;
  }

  .footer-nav__link {
    font-size: 10px;
  }
}

/* ========================================
   Archive pages (works / blog)
   ======================================== */

/* パンくずリスト */
.breadcrumb {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--text);
}
.breadcrumb span + span::before {
  content: ' / ';
  margin: 0 6px;
}

/* カテゴリータブ */
.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.cat-tab {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.cat-tab:hover,
.cat-tab.is-active {
  background: var(--btn-fill-bg);
  color: var(--btn-fill-text);
  border-color: var(--btn-fill-bg);
}

/* アーカイブセクション */
.archive-works-section .section-inner,
.archive-blog-section .section-inner {
  padding-top: 60px;
}
.archive-works-section .section-inner::after,
.archive-blog-section .section-inner::after {
  display: none;
}

/* works アーカイブ: 3列 */
.card-grid--works {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  margin-bottom: 80px;
}

/* blog アーカイブ: 4列（worksと統一） */
.card-grid--blog {
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
  margin-bottom: 80px;
}

/* ページネーション */
.page-numbers {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin-bottom: 100px;
}
.page-numbers li a,
.page-numbers li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.page-numbers li a:hover,
.page-numbers li span.current {
  background: var(--btn-fill-bg);
  color: var(--btn-fill-text);
  border-color: var(--btn-fill-bg);
}
.page-numbers li span.dots {
  border: none;
  background: transparent;
}

.no-posts {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 80px 0;
}

@media (max-width: 1024px) {
  .card-grid--works {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .cat-tabs {
    margin-bottom: 40px;
  }
  .card-grid--works,
  .card-grid--blog {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
}

/* ========================================
   Single blog
   ======================================== */
.single-blog .section-inner {
  padding-top: 60px;
}
.single-blog .section-inner::after {
  display: none;
}

.single-blog__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.single-blog__thumb {
  position: sticky;
  top: 100px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

.single-blog__head {
  margin-bottom: 40px;
}

.single-blog__date {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.single-blog__title {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.single-blog__body {
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.06em;
}

.single-blog__body p {
  margin-bottom: 1.8em;
}

.single-blog__body img {
  width: 100%;
  height: auto;
  margin: 2em 0;
}

.single-blog__foot {
  text-align: center;
  padding-bottom: 100px;
}

@media (max-width: 768px) {
  .single-blog__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .single-blog__thumb {
    position: static;
  }
}

/* ========================================
   Single works
   ======================================== */
.single-works .section-inner {
  padding-top: 60px;
}
.single-works .section-inner::after {
  display: none;
}

.single-works__head {
  margin-bottom: 60px;
}

.single-works__date {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.single-works__title {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-bottom: 12px;
}

.single-works__cat {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.single-works__thumb {
  width: 100%;
  margin-bottom: 60px;
  overflow: hidden;
}

.single-works__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.single-works__body {
  max-width: 760px;
  margin: 0 auto 80px;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.06em;
}

.single-works__body p {
  margin-bottom: 1.8em;
}

.single-works__foot {
  text-align: center;
  padding-bottom: 100px;
}

/* ========================================
   Menu page
   ======================================== */
.menu-page .section-inner::after { display: none; }

.menu-lead {
  font-size: 13px;
  line-height: 2;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 80px;
  max-width: 680px;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 80px;
}

.menu-item {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}
.menu-item:last-child {
  border-bottom: 1px solid var(--border);
}

.menu-item__head {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.menu-item__num {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 48px;
  color: transparent;
  -webkit-text-stroke: 0.02em var(--border);
  line-height: 1;
  letter-spacing: -0.02em;
}

.menu-item__title {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--text);
}

.menu-item__body {
  font-size: 13px;
  line-height: 2;
  color: var(--text);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.menu-item__tools-text {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 4px;
}

.menu-cta {
  text-align: center;
  padding-bottom: 100px;
}

/* menu SP */
@media screen and (max-width: 767px) {
  .menu-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 40px 0;
  }
  .menu-item__num {
    font-size: 32px;
  }
}

/* add */
.card-thumb {
  background: var(--bg);
}
.card-thumb img {
  object-fit: contain !important;
}
.works .card-grid {
  grid-template-columns: repeat(2, 1fr);
}