@charset "UTF-8";

/* ===========================
   JOURNAL VARIABLES
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --j-bg: #f9f7f4;
  --j-white: #ffffff;
  --j-black: #1a1a1a;
  --j-dg: #444444;
  --j-gray: #888888;
  --j-line: #e8e4dc;
  --j-gold: #b8965a;
  --j-serif: 'Cormorant Garamond', 'Noto Serif JP', serif;
}

body {
  background: var(--j-bg);
}

/* ===========================
   JOURNAL HEADER
=========================== */
.journal-header {
  background: var(--j-dg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.journal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.journal-logo {
  font-family: var(--j-serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--j-white);
  text-transform: uppercase;
  text-decoration: none;
}

.journal-logo span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
  font-family: sans-serif;
}

.journal-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.journal-nav a {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  transition: color 0.2s;
}

.journal-nav a:hover,
.journal-nav a.is-active {
  color: var(--j-white);
}

/* ===========================
   FV
=========================== */
.journal-fv {
  display: grid;
  grid-template-columns: 1fr 320px;
  min-height: 480px;
  background: var(--j-white);
}

.journal-fv-left {
  position: relative;
  overflow: hidden;
}

.journal-fv-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-fv-copy {
  position: absolute;
  bottom: 48px;
  left: 48px;
  z-index: 2;
}

.journal-fv-copy h1 {
  font-family: var(--j-serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--j-white);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.journal-fv-copy p {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.1em;
}

.journal-fv-right {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-left: 1px solid var(--j-line);
}

.journal-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.journal-author-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--j-line);
}

.journal-author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-author-label {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--j-gray);
  text-transform: uppercase;
}

.journal-author-name {
  font-family: var(--j-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--j-black);
  letter-spacing: 0.06em;
}

.journal-author-desc {
  font-size: 11px;
  line-height: 1.8;
  color: var(--j-gray);
}

.journal-author-btn {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--j-black);
  border-bottom: 1px solid var(--j-black);
  padding-bottom: 2px;
}

/* ===========================
   MAIN LAYOUT
=========================== */
.journal-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

/* ===========================
   SECTION LABEL
=========================== */
.journal-section-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--j-gray);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.journal-section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--j-line);
}

/* ===========================
   FEATURED ARTICLES
=========================== */
.journal-featured {
  margin-bottom: 72px;
}

.featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.featured-more {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--j-gray);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.featured-more:hover { color: var(--j-black); }
.featured-more::after { content: "›"; font-size: 16px; }

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.featured-card {
  display: block;
  background: var(--j-white);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.featured-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--j-line);
}

.featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover .featured-card-image img {
  transform: scale(1.04);
}

.featured-card-body {
  padding: 20px;
}

.featured-card-cat {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--j-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.featured-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--j-black);
  margin-bottom: 8px;
}

.featured-card-desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--j-gray);
  margin-bottom: 12px;
}

.featured-card-date {
  font-size: 11px;
  color: var(--j-gray);
  letter-spacing: 0.05em;
}

/* ===========================
   CATEGORY CARDS
=========================== */
.journal-categories {
  margin-bottom: 72px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--j-white);
  border: 1px solid var(--j-line);
  border-radius: 4px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--j-black);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.category-card-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--j-gold);
  margin-bottom: 12px;
  line-height: 1;
}

.category-card-en {
  font-family: var(--j-serif);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--j-gray);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.category-card-ja {
  font-size: 16px;
  font-weight: 700;
  color: var(--j-black);
  margin-bottom: 8px;
}

.category-card-desc {
  font-size: 11px;
  line-height: 1.7;
  color: var(--j-gray);
  margin-bottom: 16px;
}

.category-card-link {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--j-gray);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.category-card:hover .category-card-link { color: var(--j-black); }

/* ===========================
   LATEST ARTICLES
=========================== */
.journal-latest {
  margin-bottom: 48px;
}

.latest-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.latest-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.latest-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--j-line);
  transition: opacity 0.2s;
}

.latest-card:first-child {
  border-top: 1px solid var(--j-line);
}

.latest-card:hover { opacity: 0.7; }

.latest-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--j-line);
  flex-shrink: 0;
}

.latest-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.latest-card-cat {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--j-gold);
  text-transform: uppercase;
}

.latest-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--j-black);
}

.latest-card-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--j-gray);
}

.latest-card-date {
  font-size: 11px;
  color: var(--j-gray);
  margin-top: 4px;
}

/* ===========================
   PAGINATION
=========================== */
.journal-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}

.journal-pagination .page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 1px solid var(--j-line);
  border-radius: 50%;
  color: var(--j-gray);
  background: var(--j-white);
  transition: all 0.2s;
}

.journal-pagination .page-btn.is-active,
.journal-pagination .page-btn:hover {
  background: var(--j-black);
  color: var(--j-white);
  border-color: var(--j-black);
}

/* ===========================
   SIDEBAR
=========================== */
.journal-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar-block {
  background: var(--j-white);
  border: 1px solid var(--j-line);
  border-radius: 4px;
  padding: 28px 24px;
}

.sidebar-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--j-gray);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--j-line);
}

/* 人気記事 */
.popular-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popular-item {
  display: grid;
  grid-template-columns: 24px 64px 1fr;
  gap: 12px;
  align-items: center;
}

.popular-num {
  font-family: var(--j-serif);
  font-size: 18px;
  color: var(--j-line);
  font-weight: 300;
  line-height: 1;
}

.popular-thumb {
  width: 64px;
  height: 48px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--j-line);
  flex-shrink: 0;
}

.popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-title {
  font-size: 12px;
  line-height: 1.5;
  color: var(--j-black);
  font-weight: 700;
}

/* カテゴリー */
.sidebar-cats {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-cat-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--j-gray);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}

.sidebar-cat-btn:hover,
.sidebar-cat-btn.is-active {
  background: var(--j-bg);
  color: var(--j-black);
}

.sidebar-cat-count {
  font-size: 11px;
  color: var(--j-line);
}

/* ===========================
   FOOTER
=========================== */
.journal-footer {
  background: var(--j-dg);
  padding: 48px 40px 32px;
}

.journal-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.journal-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.journal-footer-logo {
  font-family: var(--j-serif);
  font-size: 22px;
  color: var(--j-white);
  letter-spacing: 0.15em;
}

.journal-footer-logo span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  margin-top: 4px;
  font-family: sans-serif;
}

.journal-footer-nav {
  display: flex;
  gap: 28px;
}

.journal-footer-nav a {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  transition: color 0.2s;
}

.journal-footer-nav a:hover { color: var(--j-white); }

.journal-footer-sns {
  display: flex;
  gap: 16px;
}

.journal-footer-sns a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: all 0.2s;
}

.journal-footer-sns a:hover {
  border-color: var(--j-white);
  color: var(--j-white);
}

.journal-footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-align: center;
}

/* ===========================
   LOADING STATE
=========================== */
.journal-loading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skeleton {
  background: linear-gradient(90deg, var(--j-line) 25%, #f0ede8 50%, var(--j-line) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.4s infinite;
  border-radius: 4px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===========================
   MOBILE
=========================== */
@media (max-width: 768px) {
  .journal-header-inner {
    padding: 0 20px;
  }

  .journal-nav {
    display: none;
  }

  .journal-fv {
    grid-template-columns: 1fr;
    min-height: 320px;
  }

  .journal-fv-right {
    display: none;
  }

  .journal-fv-copy h1 {
    font-size: 36px;
  }

  .journal-body {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 48px;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .journal-sidebar {
    position: static;
  }

  .journal-footer {
    padding: 40px 20px 24px;
  }

  .journal-footer-top {
    flex-direction: column;
    gap: 24px;
  }
}


/* =========================
   Profile Page
========================= */
/* ===== Profile Page ===== */
.prof-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
  margin-top: 0;
  display: block;
}

.prof-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.prof-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 100%);
}

.prof-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 52px;
}

.prof-hero-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.prof-hero-title {
  font-family: var(--j-serif);
  font-size: 48px;
  font-weight: 300;
  color: var(--j-white);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .prof-hero {
    height: 260px;
  }

  .prof-hero-inner {
    padding: 0 20px 36px;
  }

  .prof-hero-title {
    font-size: 32px;
  }
}

/* ===== Profile Section ===== */
.profile-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 100px;
}

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

.profile-photo {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  position: sticky;
  top: 80px;
}

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

.profile-body {
  padding-top: 8px;
}

.profile-role {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--j-gold);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.profile-name-ja {
  font-family: var(--j-serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--j-black);
  margin-bottom: 4px;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.profile-name-en {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--j-gray);
  margin-bottom: 48px;
  text-transform: uppercase;
}

/* ===== History ===== */
.profile-history {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--j-line);
}

.profile-history-title {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--j-gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-history-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--j-line);
}

.history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.history-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--j-line);
  font-size: 14px;
  line-height: 1.8;
}

.history-item:first-child {
  border-top: 1px solid var(--j-line);
}

.history-year {
  color: var(--j-gray);
  font-size: 12px;
  padding-top: 3px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.history-text {
  color: var(--j-black);
  font-size: 14px;
}

/* ===== SNS Links ===== */
.profile-sns-title {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--j-gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-sns-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--j-line);
}

.profile-sns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.profile-sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--j-line);
  font-size: 13px;
  color: var(--j-black);
  background: var(--j-white);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.profile-sns-btn:hover {
  background: var(--j-black);
  color: var(--j-white);
  border-color: var(--j-black);
}

/* ===== Back Link ===== */
.prof-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--j-gray);
  margin-bottom: 48px;
  transition: color 0.2s;
}

.prof-back::before {
  content: "‹";
  font-size: 18px;
}

.prof-back:hover { color: var(--j-black); }

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .prof-hero {
    padding: 40px 20px 32px;
  }

  .prof-hero-title {
    font-size: 28px;
  }

  .profile-section {
    padding: 48px 20px 72px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .profile-photo {
    aspect-ratio: 4 / 3;
    position: static;
  }

  .profile-name-ja {
    font-size: 30px;
  }

  .history-item {
    grid-template-columns: 80px 1fr;
    font-size: 13px;
  }

  .history-year {
    font-size: 11px;
  }
}