:root {
  /* Colors - Clean & Minimal Palette */
  --primary-color: #1a1a1a;
  --accent-color: #8f9fb5; /* 少し落ち着いたブルーグレー（参考画像風） */
  --bg-color: #fbfbfb; /* 真っ白より少しだけ落ち着いた背景 */
  --card-bg: #ffffff;
  --text-main: #333333;
  --text-sub: #888888;
  --border-color: #f0f0f0;
  
  --nsfw-color: #e57373;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --sidebar-width: 280px;
  --transition-speed: 0.3s;
}

/* Base Styles */
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* App Layout (2 Columns) */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
  width: var(--sidebar-width);
  background-color: var(--bg-color);
  border-right: 1px solid var(--border-color);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 100;
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: var(--border-color);
}

.sidebar-brand {
  margin-bottom: 25px;
}

.sidebar-brand-link {
  display: block;
  color: inherit;
}

.sidebar-brand-link:hover {
  color: var(--primary-color);
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.05em;
  color: var(--primary-color);
  margin: 0;
  line-height: 1.1;
}

.logo-subtext {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-sub);
  margin: 5px 0 0 0;
}

.sidebar-section {
  margin-bottom: 20px;
}

.sidebar-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-color);
  margin: 0 0 10px 0;
}

.sidebar-desc {
  font-size: 0.8rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
}

/* Category List */
.category-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 25vh; /* 画面高さに合わせてスクロール可能に */
  overflow-y: auto;
  padding-right: 5px;
}

.category-list::-webkit-scrollbar {
  width: 4px;
}
.category-list::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.category-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  color: var(--text-sub);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  user-select: none;
  background-color: var(--bg-color);
}

.category-item .status-icon {
  margin-right: 3px;
  font-size: 0.6rem;
}

.category-item[data-tag="all"] {
  padding: 6px 14px;
  border-color: #d8dce3;
  background-color: var(--bg-color);
  color: var(--primary-color);
  flex-basis: 100%;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-item[data-tag="all"]:hover {
  border-color: var(--primary-color);
  background-color: var(--bg-color);
  color: var(--primary-color);
}

.category-item[data-tag="all"].status-include {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: #fff;
}

.category-item[data-tag="all"].status-include:hover {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: #fff;
}

.category-favorite-filter {
  min-width: 42px;
  justify-content: center;
}

.category-favorite-filter .favorite-filter-label {
  font-size: 0.95rem;
  line-height: 1;
}

.nsfw-tag-item {
  color: #d9534f; /* NSFW系タグは少し赤っぽくして注意喚起 */
}

.category-item:hover {
  background-color: rgba(0,0,0,0.03);
  border-color: var(--text-sub);
  color: var(--primary-color);
}

.category-item.status-include {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.category-item.status-exclude {
  background-color: #d9534f;
  color: #fff;
  border-color: #d9534f;
  text-decoration: line-through;
}

.category-item .status-icon {
  margin-right: 8px;
  font-size: 0.8rem;
  width: 14px;
  display: inline-block;
  text-align: center;
}

/* Search Box */
.search-box {
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 10px 30px 10px 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.85rem;
  background-color: var(--card-bg);
  outline: none;
  transition: border-color 0.2s;
}

.search-box input:focus {
  border-color: var(--accent-color);
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--text-sub);
  pointer-events: none;
}

/* NSFW Toggle Switch */
.sensitive-section {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.toggle-switch {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-sub);
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  background-color: #ccc;
  border-radius: 20px;
  margin-right: 10px;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--nsfw-color);
}

input:checked + .slider:before {
  transform: translateX(16px);
}

.sidebar-bottom-decor {
  margin-top: 30px;
  text-align: center;
}

.decor-img {
  width: 90px;
  max-width: 100%;
  opacity: 1; /* 元の画像のまま */
  margin-bottom: 10px;
}

.decor-link {
  display: inline-flex;
  line-height: 0;
}

.decor-link:hover .decor-img {
  opacity: 0.75;
}

/* --- Main Content --- */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 30px 50px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top Header (Nav & Social) loaded via JS */
.top-header-wrapper .navbar {
  display: flex;
  justify-content: flex-end; /* 右寄せ */
  align-items: center;
  padding-bottom: 20px;
}

/* 既存のheader.htmlを流用する場合のスタイル調整 */
.top-header-wrapper .header-title {
  display: none; /* サイドバーにロゴがあるので隠す */
}

.top-header-wrapper .nav-bottom {
  display: flex;
  align-items: center;
  gap: 30px;
}

.top-header-wrapper .nav-links {
  display: flex;
  gap: 20px;
}

.top-header-wrapper .nav-links li a {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-header-wrapper .nav-links li a img {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.top-header-wrapper .social-links {
  display: flex;
  gap: 15px;
}

.top-header-wrapper .social-links img {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

.top-header-wrapper .social-links a:hover img {
  opacity: 1;
}

/* Content Header (WORKS / All | 123 items) */
.content-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.content-header-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.view-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
}

.view-slash {
  color: var(--text-sub);
  font-weight: 300;
}

.view-current-tag {
  font-size: 0.9rem;
  color: var(--text-sub);
}

.view-separator {
  color: var(--border-color);
  margin: 0 5px;
}

.view-count {
  font-size: 0.8rem;
  color: var(--text-sub);
}

.content-header-right {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-sub);
}

.sort-label {
  font-weight: 600;
  letter-spacing: 0.05em;
}

.sort-select {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-main);
  cursor: pointer;
  outline: none;
}

/* --- Gallery Grid --- */
.works-section {
  flex: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
  padding-bottom: 60px;
}

.item {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: var(--card-bg);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.item:hover {
  opacity: 0.85;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.item:hover img {
  transform: scale(1.03);
}

.item.is-hidden {
  display: none !important;
}

.favorite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(26, 26, 26, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-color);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: background var(--transition-speed), color var(--transition-speed), border-color var(--transition-speed), transform var(--transition-speed);
}

.favorite-button:hover,
.favorite-button:focus-visible {
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.favorite-button.is-favorite {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #fff;
}

.favorite-button-card {
  position: absolute;
  right: 7px;
  bottom: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  font-size: 1rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.is-visible {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  z-index: 10001;
  background: var(--card-bg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  overflow-y: auto;
  transform: scale(0.98);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.lightbox.is-visible .lightbox-content {
  transform: scale(1);
}

.close-btn {
  position: fixed;
  top: 30px;
  right: 40px;
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  z-index: 10005;
  transition: transform 0.3s ease;
}

.close-btn:hover {
  transform: rotate(90deg);
}

.lightbox-body {
  padding: 0;
}

.lightbox-image-container {
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox-image-container img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.lightbox-meta {
  padding: 40px;
  text-align: left;
}

.lightbox-title-row,
.work-detail-title-row {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.work-detail-title-row h1 {
  margin: 0;
}

.favorite-button-detail {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
}

.lightbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.mini-tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  background: var(--bg-color);
  color: var(--text-sub);
  border: 1px solid var(--border-color);
  border-radius: 20px;
}

.lightbox-comment {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 20px;
}

.lightbox-details {
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  font-size: 0.8rem;
  color: var(--text-sub);
}

/* --- Modal (Age Verification) --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  z-index: 11001;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-title {
  margin: 0 0 15px;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.modal-text {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 30px;
}

.modal-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.modal-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-secondary {
  background: #f0f0f0;
  color: var(--text-main);
}
.btn-secondary:hover {
  background: #e0e0e0;
}

.btn-primary {
  background: var(--nsfw-color);
  color: #fff;
}
.btn-primary:hover {
  background: #ef5350;
}

/* Hobby cards */
.hobby-page {
  max-width: 1100px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.hobby-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 26px;
  border-radius: 10px;
  background: var(--card-bg);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
  animation: fadeInUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
}

.hobby-card-title {
  margin: 0 0 20px;
  color: var(--primary-color);
  font-family: var(--font-body);
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.hobby-card-visual {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #b7b8c2;
}

.hobby-card-image {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hobby-card-image.is-active {
  display: block;
}

.hobby-no-image {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hobby-carousel-button {
  position: absolute;
  top: 50%;
  display: flex;
  width: 34px;
  height: 48px;
  padding: 0;
  border: 0;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-color);
  cursor: pointer;
  font: inherit;
  font-size: 1.9rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background var(--transition-speed), opacity var(--transition-speed);
}

.hobby-carousel-button:hover,
.hobby-carousel-button:focus-visible {
  background: rgba(255, 255, 255, 0.92);
}

.hobby-carousel-prev {
  left: 0;
}

.hobby-carousel-next {
  right: 0;
}

.hobby-image-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary-color);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hobby-card-content {
  margin: 12px 4px 30px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.8;
}

.hobby-card-footer {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: auto;
  padding: 0 4px;
  color: var(--text-sub);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.hobby-card-category,
.hobby-card-footer time {
  min-width: 0;
}

.loading-status {
  grid-column: 1 / -1;
  color: var(--text-sub);
  text-align: center;
}

@media (max-width: 760px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hobby-card {
    padding: 20px;
  }

  .hobby-card-title {
    margin-bottom: 16px;
    font-size: clamp(1.5rem, 8vw, 2.1rem);
  }

  .hobby-card-content {
    margin-bottom: 26px;
  }

  .hobby-card-footer {
    flex-direction: column;
    gap: 4px;
  }
}


/* Footer (Main content bottom) */
#footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  text-align: center;
}

#footer p {
  color: var(--text-sub);
  font-size: 0.8rem;
  margin: 0;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.item {
  animation: fadeInUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
}

/* Responsive */
@media (max-width: 900px) {
  .app-layout {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 30px 20px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .main-content {
    margin-left: 0;
    padding: 20px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }
}

/* =========================================
   Other Pages Layout & Header
   ========================================= */

/* --- Header Navigation --- */
.top-header-wrapper {
  width: 100%;
}

.site-header {
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand img {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  transition: opacity var(--transition-speed);
}

.nav-brand:hover img {
  opacity: 0.75;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-sub);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-links a {
  color: var(--text-sub);
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.social-links a:hover {
  color: var(--primary-color);
}

.page-gallery .top-header-wrapper .nav-logo {
  display: none;
}

.page-gallery .top-header-wrapper .navbar {
  gap: 38px;
}

.page-gallery .top-header-wrapper .nav-links {
  gap: 28px;
}

.page-gallery .top-header-wrapper .social-links {
  gap: 20px;
}

/* --- Other Pages Layout (.main-container) --- */
.main-container {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.content-page {
  max-width: 1400px;
}

.content-embed {
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
}

.content-embed-toolbar {
  display: flex;
  min-height: 52px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  justify-content: flex-end;
  background: var(--card-bg);
}

.content-open-button {
  padding: 9px 16px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  color: var(--text-main);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  transition: background var(--transition-speed), color var(--transition-speed);
}

.content-open-button:hover,
.content-open-button:focus-visible {
  background: var(--primary-color);
  color: #fff;
}

.content-frame {
  display: block;
  width: 100%;
  min-height: 760px;
  border: 0;
  background: #fff;
}

.content-frame-tall {
  min-height: 1000px;
}

@media (max-width: 760px) {
  .content-frame,
  .content-frame-tall {
    min-height: 900px;
  }
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-description {
  color: var(--text-sub);
  font-size: 0.95rem;
}

.section-description-long {
  max-width: 720px;
  margin: 24px auto 34px;
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.9;
  text-align: left;
}

.contact-form-frame {
  width: min(100%, 640px);
  max-width: 100%;
  border: 0;
}

.intro-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.intro-image {
  flex: 1;
  min-width: 300px;
}

.intro-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.intro-card {
  flex: 1;
  min-width: 300px;
}

.intro-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.intro-card p {
  color: var(--text-sub);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* スマホではリンクを隠すかハンバーガーにする等（今回はシンプルに隠すか下部に回す） */
  }
  .intro-section {
    padding: 20px;
    gap: 20px;
  }
}
