/* ===================================
   ands theme - Refined Design
   =================================== */

:root {
  --color-accent: #c4838a;
  --color-black: #111;
  --color-gray: #888;
  --color-light: #f0e8e1;
  --color-light-warm: #e5dbd2;
  --color-light-cool: #f5efe9;
  --font-en-serif: 'Cormorant Garamond', serif;
  --font-en-sans: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  color: var(--color-black);
  font-family: var(--font-jp);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(
    180deg,
    var(--color-light) 0%,
    var(--color-light-cool) 30%,
    var(--color-light) 60%,
    var(--color-light-warm) 100%
  );
  background-attachment: fixed;
}

/* WordPress ブロックテーマのデフォルト margin を除去 */
.wp-site-blocks > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Contact とフッターの隙間を除去 */
/* コンタクトセクション（TOP） */
.ands-contact-section {
  margin-bottom: 0 !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ===================================
   HEADER (Sticky + Custom Hamburger)
   =================================== */
.ands-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(240, 232, 225, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.ands-header.scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.ands-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.275rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ands-header-logo img {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* --- Header Right (SNS + Hamburger) --- */
.ands-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ands-header-sns {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.ands-header-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 0.8125rem;
  color: var(--color-gray);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 50%;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.ands-header-sns a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: rgba(196,131,138,0.06);
}

/* --- Hamburger Button --- */
.ands-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 18px;
  position: relative;
  padding: 0;
  z-index: 1010;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.ands-hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-black);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center center;
}

/* Open state — X アニメーション */
.ands-hamburger.is-open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.ands-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.ands-hamburger.is-open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --- Nav Overlay --- */
.ands-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-light);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ands-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.ands-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.ands-nav-list li {
  margin-bottom: 2rem;
}

.ands-nav-list a {
  font-family: var(--font-en-sans);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-black);
  text-decoration: none;
  transition: color 0.3s ease;
}

.ands-nav-list a:hover {
  color: var(--color-accent);
}

/* ===================================
   HERO SECTION (peek + thumbs)
   =================================== */

/* 全体ラッパー */
.ands-hero-wrap {
  width: 100%;
  background: transparent;
}

/* メインスライダー — 両端に前後スライドをチラ見せ */
.ands-hero-main {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.ands-hero-main .swiper-slide {
  width: 82%;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

/* 非アクティブスライドを少し暗くする */
.ands-hero-main .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.35;
}

.ands-slide-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.ands-slide-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}

.ands-slide-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transition: transform 0.4s ease;
}

/* リンク付きスライドのホバー演出 */
.ands-slide-link:hover .ands-slide-bg {
  transform: scale(1.02);
}

.ands-slide-inner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 50%);
  z-index: 2;
  pointer-events: none;
}

.ands-slide-content {
  position: absolute;
  bottom: 2.5rem;
  left: 3rem;
  z-index: 10;
  color: #fff;
  text-align: left;
  max-width: 55%;
  pointer-events: none;
}

.ands-slide-title {
  font-family: var(--font-en-serif) !important;
  font-size: clamp(1.75rem, 4vw, 4.5rem) !important;
  font-weight: 300 !important;
  letter-spacing: 0.06em !important;
  margin: 0 !important;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.swiper-slide-active .ands-slide-title {
  opacity: 1;
  transform: translateY(0);
}

.ands-slide-subtitle {
  display: block;
  font-family: var(--font-en-sans) !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.2em !important;
  margin-top: 0.875rem !important;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.swiper-slide-active .ands-slide-subtitle {
  opacity: 0.9;
  transform: translateY(0);
}

/* ------- サムネイルバー ------- */
.ands-hero-thumbs-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
  padding: 14px 0;
  background: transparent;
}

.ands-hero-thumb-prev,
.ands-hero-thumb-next {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--color-accent);
  cursor: pointer;
  transition: color 0.3s;
  user-select: none;
}

.ands-hero-thumb-prev:hover,
.ands-hero-thumb-next:hover {
  color: var(--color-black);
}

.ands-hero-thumbs-track {
  display: flex;
  gap: 10px;
  justify-content: center;
  overflow: hidden;
  max-width: 700px;
}

.ands-hero-thumb-item {
  flex: 0 0 120px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  border: 2px solid transparent;
  transition: border-color 0.3s, opacity 0.3s;
  cursor: pointer;
  opacity: 0.45;
}

.ands-hero-thumb-item.is-active {
  border-color: var(--color-accent);
  opacity: 1;
}

.ands-hero-thumb-item:hover {
  opacity: 0.8;
}

.ands-hero-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ------- ドットインジケーター ------- */
.ands-hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 0;
}

.ands-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-tertiary, #888);
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.3s, background-color 0.3s, transform 0.3s;
}

.ands-hero-dot.is-active {
  background: var(--color-accent, #c4838a);
  opacity: 1;
  transform: scale(1.25);
}

.ands-hero-dot:hover {
  opacity: 0.7;
}

/* ------- Hero Responsive ------- */
@media (max-width: 768px) {
  .ands-hero-main .swiper-slide {
    width: 88%;
  }

  .ands-slide-inner {
    aspect-ratio: 16 / 9;
  }

  .ands-slide-content {
    bottom: 1.5rem;
    left: 1.5rem;
    max-width: 75%;
  }

  .ands-hero-thumbs-wrap {
    max-width: 90%;
  }
}

@media (max-width: 600px) {
  .ands-hero-main .swiper-slide {
    width: 85%;
  }

  .ands-slide-inner {
    aspect-ratio: 16 / 10;
  }

  .ands-slide-content {
    bottom: 1rem;
    left: 1rem;
  }

  .ands-hero-thumbs-wrap {
    padding: 10px 0;
    max-width: 95%;
  }

  .ands-hero-thumb-item {
    flex: 0 0 80px;
  }

  .ands-hero-thumbs-track {
    gap: 6px;
  }
}

/* ===================================
   SECTIONS GENERAL
   =================================== */
.ands-section {
  padding: 8rem 2rem !important;
}

.ands-section-heading {
  font-family: var(--font-en-serif) !important;
  font-size: 3.5rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 0.5rem !important;
  color: var(--color-black);
}

.ands-section-heading-sm {
  font-family: var(--font-en-serif) !important;
  font-size: 2.5rem !important;
  font-weight: 300 !important;
  margin-bottom: 1.5rem !important;
}

.ands-section-desc {
  font-size: 0.875rem !important;
  color: var(--color-gray) !important;
  margin-bottom: 4rem !important;
  letter-spacing: 0.05em;
}

.ands-view-all a,
.ands-view-all-center a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 2px;
}
.ands-view-all a:hover,
.ands-view-all-center a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.ands-view-all-center {
  margin-top: 4rem !important;
}

/* ===================================
   NEWS SECTION
   =================================== */
.ands-news-section {
  background: transparent;
}

.ands-section-head-row {
  margin-bottom: 2rem !important;
}

.ands-news-list {
  margin-top: 2rem;
}

.ands-news-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 2rem 0 !important;
  transition: background-color 0.3s;
}

.ands-news-item:hover {
  background-color: rgba(0,0,0,0.02);
}

.ands-news-item {
  gap: 1rem !important;
  align-items: center !important;
}

.ands-news-date {
  font-size: 0.8125rem !important;
  color: var(--color-gray) !important;
  width: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

.ands-news-item .ands-news-category {
  flex-shrink: 0;
  margin: 0 !important;
}

.ands-news-content {
  flex: 1;
  min-width: 0;
  gap: 0 !important;
  padding: 0 !important;
}

.ands-news-title {
  font-size: 1rem !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

.ands-news-title a {
  text-decoration: none !important;
}

@media (max-width: 600px) {
  .ands-news-item {
    flex-wrap: wrap !important;
    gap: 0.25rem 0.75rem !important;
    padding: 1.25rem 0 !important;
  }

  .ands-news-date {
    font-size: 0.75rem !important;
  }

  .ands-news-content {
    flex-basis: 100%;
    margin-top: 0.25rem;
  }

  .ands-news-title {
    font-size: 0.9375rem !important;
  }
}

/* --- News Archive Page --- */
.ands-news-list-full {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ands-news-item-full {
  gap: 1.5rem !important;
  transition: background-color 0.2s;
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}

.ands-news-item-full:hover {
  background-color: rgba(0,0,0,0.02);
}

@media (max-width: 600px) {
  .ands-news-item-full {
    flex-wrap: wrap !important;
    gap: 0.25rem 0.75rem !important;
    padding: 1rem 0.5rem !important;
  }

  .ands-news-item-full h3 {
    flex-basis: 100%;
    margin-top: 0.25rem;
    font-size: 0.9375rem !important;
  }
}

.ands-news-category {
  flex-shrink: 0;
  font-family: var(--font-jp);
}

.ands-news-category a {
  display: inline-block;
  background: var(--color-accent);
  color: #fff !important;
  padding: 2px 10px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.625rem;
  letter-spacing: 0.04em;
}

/* ===================================
   ARTIST SECTION
   =================================== */
.ands-artist-section {
  background: transparent;
}

.ands-artist-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ands-artist-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 3rem 2rem;
  width: 100% !important;
  max-width: 960px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

/* Force horizontal layout even if fewer items */
.ands-artist-grid > * {
  min-width: 0;
  width: 100%;
}

/* センター配置: flex で最終行も中央揃え */
.ands-artist-grid.is-centered {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  grid-template-columns: none !important;
  gap: 3rem 2rem;
}

.ands-artist-grid.is-centered > .ands-artist-card-wrap {
  flex: 0 0 calc((100% - 4rem) / 3);
  max-width: calc((100% - 4rem) / 3);
  width: calc((100% - 4rem) / 3);
}

.ands-artist-card-wrap {
  min-width: 0;
  width: 100%;
}

.ands-artist-card {
  display: block;
  position: relative;
  width: 100%;
}

.ands-artist-image {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 280px;
  margin: 0 auto 1.5rem;
}

.ands-artist-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ands-artist-card:hover .ands-artist-image img {
  transform: scale(1.05);
}

.ands-artist-info {
  text-align: center;
}

.ands-artist-title {
  display: block;
  font-family: var(--font-en-sans);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.ands-artist-name {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.25rem;
  letter-spacing: 0.05em;
}

.ands-artist-name-en {
  font-family: var(--font-en-serif);
  font-size: 0.875rem;
  color: var(--color-gray);
  font-style: italic;
}

/* --- カテゴリー別グループ表示 --- */
.ands-artist-grid-grouped {
  max-width: 960px;
  margin: 0 auto;
}

.ands-artist-category-group {
  margin-bottom: 4rem;
}

.ands-artist-category-group:last-child {
  margin-bottom: 0;
}

.ands-artist-category-heading {
  font-family: var(--font-jp);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-black);
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 0;
  position: relative;
}

.ands-artist-category-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin: 0.75rem auto 0;
}

/* ===================================
   COMPANY SECTION (背景スライダー + フィロソフィー)
   =================================== */
.ands-company-visual {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ands-company-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ands-company-bg-slider .swiper-wrapper,
.ands-company-bg-slider .swiper-slide {
  height: 100%;
}

.ands-company-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}

.ands-company-bg-slider .swiper-slide-active .ands-company-slide {
  transform: scale(1.08);
}

.ands-company-overlay {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--color-black);
  padding: 4rem 2rem;
  max-width: 700px;
}

.ands-company-visual::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(240, 232, 225, 0.82);
  z-index: 2;
}

.ands-company-heading {
  font-family: var(--font-en-serif) !important;
  font-size: 3.5rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.08em !important;
  margin: 0 0 3rem !important;
  color: var(--color-black);
}

.ands-company-philosophy {
  font-family: var(--font-jp);
  font-size: 0.9375rem !important;
  line-height: 2.2 !important;
  margin: 0 0 3rem !important;
  color: #333;
}

.ands-company-btn {
  display: inline-block;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  padding: 1rem 3.5rem;
  font-family: var(--font-en-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.ands-company-btn:hover {
  background-color: var(--color-black);
  color: #fff;
}

/* ===================================
   COMPANY PROFILE テーブル
   =================================== */
.ands-company-profile {
  background: transparent;
  padding: 8rem 2rem;
}

.ands-company-profile-inner {
  max-width: 900px;
  margin: 0 auto;
}

.ands-profile-heading {
  font-family: var(--font-en-serif) !important;
  font-size: 2.5rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.05em !important;
  text-align: center;
  margin: 0 0 4rem !important;
  color: var(--color-black);
}

.ands-profile-table {
  width: 100%;
  border-collapse: collapse;
}

.ands-profile-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ands-profile-table th,
.ands-profile-table td {
  padding: 1.5rem 0;
  vertical-align: top;
  text-align: left;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.ands-profile-table th {
  width: 160px;
  font-weight: 500;
  color: var(--color-black);
  font-family: var(--font-jp);
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding-right: 2rem;
}

.ands-profile-table td {
  color: #444;
}

/* ===================================
   BUTTONS (共通)
   =================================== */
.ands-btn .wp-block-button__link {
  border: 1px solid var(--color-black);
  color: var(--color-black);
  padding: 1rem 3rem;
  font-family: var(--font-en-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  border-radius: 0;
}

.ands-btn .wp-block-button__link:hover {
  background-color: var(--color-black);
  color: #fff;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.ands-contact-section {
  position: relative;
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
  overflow: hidden;
}

.ands-contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.ands-contact-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 1;
}

.ands-contact-section-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.ands-contact-section .ands-section-heading {
  color: #fff;
}

.ands-contact-section .ands-contact-text {
  color: rgba(255,255,255,0.7);
  margin: 0 0 2.5rem;
  font-size: 0.9375rem;
}

.ands-contact-btn-wrap {
  text-align: center;
}

.ands-contact-btn {
  display: inline-block;
  border: 1px solid #fff;
  color: #fff;
  padding: 1rem 4rem;
  font-family: var(--font-en-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.ands-contact-btn:hover {
  background-color: #fff;
  color: #000;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .ands-artist-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem 1.5rem;
  }
  .ands-artist-grid.is-centered {
    gap: 2rem 1.5rem;
  }
  .ands-artist-grid.is-centered > .ands-artist-card-wrap {
    flex: 0 0 calc((100% - 3rem) / 3);
    max-width: calc((100% - 3rem) / 3);
    width: calc((100% - 3rem) / 3);
  }
}

@media (max-width: 768px) {
  .ands-section { padding: 5rem 1.5rem !important; }
  
  .ands-section-heading { font-size: 2.5rem !important; }
  
  .ands-artist-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem 1rem;
  }
  .ands-artist-grid.is-centered {
    gap: 2rem 1rem;
  }
  .ands-artist-grid.is-centered > .ands-artist-card-wrap {
    flex: 0 0 calc((100% - 1rem) / 2);
    max-width: calc((100% - 1rem) / 2);
    width: calc((100% - 1rem) / 2);
  }

  .ands-artist-category-heading {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .ands-artist-category-group {
    margin-bottom: 3rem;
  }

  .ands-news-item {
    flex-wrap: wrap !important;
  }
  
  .ands-news-date {
    margin-bottom: 0.5rem;
  }

  .ands-company-visual {
    min-height: 70vh;
  }

  .ands-company-heading {
    font-size: 2.5rem !important;
  }

  .ands-company-philosophy {
    font-size: 0.8125rem !important;
  }

  .ands-company-profile {
    padding: 5rem 1.5rem;
  }

  .ands-profile-heading {
    font-size: 2rem !important;
  }

  .ands-profile-table th {
    display: block;
    width: 100%;
    padding-bottom: 0.25rem;
    padding-right: 0;
    font-weight: 600;
  }

  .ands-profile-table td {
    display: block;
    padding-top: 0;
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .ands-section { padding: 4rem 1rem !important; }

  .ands-artist-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem 0.75rem;
  }
  .ands-artist-grid.is-centered {
    gap: 1.5rem 0.75rem;
  }
  .ands-artist-grid.is-centered > .ands-artist-card-wrap {
    flex: 0 0 calc((100% - 0.75rem) / 2);
    max-width: calc((100% - 0.75rem) / 2);
    width: calc((100% - 0.75rem) / 2);
  }
}

/* ===================================
   ARTIST DETAIL PAGE
   =================================== */
.ands-artist-detail {
  background: transparent;
}

/* ------- Hero: 左スライダー + 右プロフィール ------- */
.ands-artist-detail {
  overflow-x: hidden;
}

.ands-artist-hero {
  display: grid;
  grid-template-columns: 420px 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  gap: 3rem;
  align-items: start;
}

/* 左: スライダー / 画像 */
.ands-artist-hero-left {
  position: sticky;
  top: 100px;
}

.ands-artist-slider {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: transparent;
  width: 100%;
}

.ands-artist-slider .swiper-wrapper {
  width: 100%;
}

.ands-artist-slider .swiper-slide {
  width: 100% !important;
}

.ands-artist-slider .swiper-slide img,
.ands-artist-single-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.ands-artist-slider-pagination {
  position: absolute;
  bottom: 12px !important;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
}

.ands-artist-slider-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
}

.ands-artist-slider-pagination .swiper-pagination-bullet-active {
  background: #fff;
}

/* サムネイル（矢印付き） */
.ands-artist-thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.ands-artist-thumb-prev,
.ands-artist-thumb-next {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.5rem;
  color: var(--color-gray);
  transition: border-color 0.2s, color 0.2s;
  padding: 0;
}

.ands-artist-thumb-prev:hover,
.ands-artist-thumb-next:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.ands-artist-thumbs-track {
  display: flex;
  gap: 8px;
  overflow: hidden;
  justify-content: center;
}

.ands-artist-thumb {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
  border: 2px solid transparent;
}

.ands-artist-thumb.is-active,
.ands-artist-thumb:hover {
  opacity: 1;
  border-color: var(--color-accent);
}

.ands-artist-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右: プロフィール */
.ands-artist-hero-right {
  padding-top: 0.5rem;
}

/* 名前ブロック */
.ands-artist-name-block {
  margin-bottom: 2rem;
}

.ands-artist-name-en {
  font-family: var(--font-en-serif);
  font-size: clamp(1rem, 2vw, 1.375rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--color-gray);
  display: block;
  margin-bottom: 0.25rem;
}

.ands-artist-name-jp {
  font-family: var(--font-jp);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
  margin: 0 0 0.5rem;
  color: var(--color-black);
}

.ands-artist-title-label {
  font-family: var(--font-en-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* PROFILE テーブル */
.ands-artist-profile-box {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}

.ands-artist-profile-heading {
  font-family: var(--font-en-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-black);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ands-artist-profile-table {
  width: 100%;
  border-collapse: collapse;
}

.ands-artist-profile-table th,
.ands-artist-profile-table td {
  font-size: 0.8125rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  vertical-align: top;
  line-height: 1.6;
}

.ands-artist-profile-table tr:last-child th,
.ands-artist-profile-table tr:last-child td {
  border-bottom: none;
}

.ands-artist-profile-table th {
  font-family: var(--font-jp);
  font-weight: 500;
  color: var(--color-gray);
  width: 100px;
  white-space: nowrap;
  padding-right: 1.5rem;
  text-align: left;
}

.ands-artist-profile-table td {
  color: var(--color-black);
}

/* SNS Icons */
.ands-artist-sns-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.ands-artist-sns-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  color: var(--color-black);
  font-size: 0.875rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.ands-artist-sns-icons a:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.ands-artist-sns-text {
  width: auto !important;
  border-radius: 19px !important;
  padding: 0 1rem;
  font-family: var(--font-jp);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* ------- セクション共通見出し ------- */
.ands-section-heading {
  font-family: var(--font-en-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-black);
  margin: 0 0 2.5rem;
  position: relative;
}

.ands-section-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-accent);
  margin: 0.75rem auto 0;
}

/* ------- MOVIE / YouTube セクション ------- */
.ands-artist-video-section {
  background: transparent;
  padding: 4rem 2rem;
}

.ands-artist-video-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ands-artist-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
}

.ands-video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.ands-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ands-video-title {
  font-size: 0.8125rem;
  color: var(--color-gray);
  margin: 0.625rem 0 0;
  line-height: 1.5;
}

/* ------- BIOGRAPHY セクション ------- */
.ands-artist-bio-section {
  padding: 4rem 2rem 5rem;
}

.ands-artist-bio-inner {
  max-width: 900px;
  margin: 0 auto;
}

.ands-artist-bio-content {
  font-size: 0.9375rem;
  line-height: 2.2;
  color: #333;
}

.ands-artist-bio-content p {
  margin-bottom: 1.5rem;
}

/* ------- Back link ------- */
.ands-artist-back {
  text-align: center;
  padding: 0 2rem 4rem;
}

.ands-artist-back a {
  font-family: var(--font-en-sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray);
  transition: color 0.3s;
  text-decoration: none;
}

.ands-artist-back a:hover {
  color: var(--color-accent);
}

.ands-back-arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.ands-artist-back a:hover .ands-back-arrow {
  transform: translateX(-4px);
}

/* ------- Responsive ------- */
@media (max-width: 900px) {
  .ands-artist-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.25rem;
  }

  .ands-artist-hero-left {
    position: static;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .ands-artist-hero-right {
    padding-top: 0;
    max-width: 100%;
    overflow: hidden;
  }
}

@media (max-width: 600px) {
  .ands-artist-hero {
    padding: 1.25rem 0.75rem;
  }

  .ands-artist-hero-left {
    max-width: 100%;
    width: 100%;
    overflow: hidden;
  }

  .ands-artist-slider {
    width: 100% !important;
    max-width: 100%;
  }

  .ands-artist-profile-box {
    padding: 1.25rem 0.875rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .ands-artist-profile-table th,
  .ands-artist-profile-table td {
    font-size: 0.75rem;
  }

  .ands-artist-video-grid {
    grid-template-columns: 1fr;
  }

  .ands-artist-bio-section {
    padding: 3rem 0.75rem 4rem;
  }

  .ands-artist-bio-content {
    font-size: 0.8125rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .ands-artist-video-section {
    padding: 3rem 0.75rem;
  }
}

/* ===================================
   ABOUT PAGE
   =================================== */
.ands-about-table {
  width: 100%;
  border-collapse: collapse;
}

.ands-about-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ands-about-table tr:last-child {
  border-bottom: none;
}

.ands-about-table th {
  text-align: left;
  font-family: var(--font-en-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-gray);
  padding: 1.25rem 2rem 1.25rem 0;
  vertical-align: top;
  width: 140px;
  white-space: nowrap;
}

.ands-about-table td {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-black);
  padding: 1.25rem 0;
}

.ands-map-wrap {
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.ands-map-wrap iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

@media (max-width: 600px) {
  .ands-about-table th {
    display: block;
    width: 100%;
    padding-bottom: 0.25rem;
  }
  .ands-about-table td {
    display: block;
    padding-top: 0;
    padding-bottom: 1.5rem;
  }
}

/* ===================================
   FOOTER
   =================================== */
.ands-footer {
  background-color: #222;
  color: #fff;
  padding: 4rem 2rem 2rem;
}

.ands-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ands-footer-columns {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.ands-footer-col-main {
  flex: 1;
  min-width: 280px;
}

.ands-footer-col-nav {
  min-width: 160px;
}

.ands-footer-brand {
  font-family: var(--font-en-sans);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}

.ands-footer-info {
  font-size: 0.75rem;
  line-height: 2.2;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.ands-footer-sns {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
  align-items: center;
}

.ands-footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.ands-footer-sns a:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

.ands-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ands-footer-nav li {
  margin-bottom: 0.625rem;
}

.ands-footer-nav a {
  font-family: var(--font-en-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.ands-footer-nav a:hover {
  color: #fff;
}

.ands-footer-sep {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 3rem 0 1.5rem;
}

.ands-footer-copy {
  font-family: var(--font-en-sans);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* ===================================
   CONTACT PAGE (Contact Form 7)
   =================================== */
.ands-cf7-form {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.ands-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.ands-form-group label {
  font-family: var(--font-jp);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-black);
  letter-spacing: 0.02em;
}

.ands-required {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-accent);
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.04em;
}

.ands-form-group input[type="text"],
.ands-form-group input[type="email"],
.ands-form-group input[type="tel"],
.ands-form-group select,
.ands-form-group textarea {
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  color: var(--color-black);
  padding: 0.875rem 1rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 6px;
  background: rgba(255,255,255,0.6);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.ands-form-group input:focus,
.ands-form-group select:focus,
.ands-form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(196, 131, 138, 0.15);
}

.ands-form-group input::placeholder,
.ands-form-group textarea::placeholder {
  color: rgba(0,0,0,0.3);
}

.ands-form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.ands-form-group textarea {
  resize: vertical;
  min-height: 180px;
}

/* CF7 の wpcf7-form-control-wrap をブロック化 */
.ands-form-group .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.ands-form-submit {
  text-align: center;
  margin-top: 1rem;
}

.ands-submit-btn,
.ands-form-submit input[type="submit"] {
  font-family: var(--font-jp);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--color-accent);
  border: 2px solid var(--color-accent);
  padding: 1rem 3.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.ands-submit-btn:hover,
.ands-form-submit input[type="submit"]:hover {
  background: transparent;
  color: var(--color-accent);
}

/* CF7 バリデーションエラー */
.wpcf7-not-valid-tip {
  font-size: 0.75rem;
  color: #c44;
  margin-top: 4px;
}

.wpcf7-not-valid {
  border-color: #c44 !important;
}

/* CF7 送信メッセージ */
.wpcf7-response-output {
  max-width: 680px;
  margin: 1.5rem auto !important;
  padding: 1rem 1.25rem !important;
  border-radius: 6px !important;
  font-size: 0.875rem;
  text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #5a9e6f !important;
  background: #f0f8f3;
  color: #2d6e3f;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  border-color: #c44 !important;
  background: #fdf0f0;
  color: #a33;
}

.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #d4a017 !important;
  background: #fdf8e8;
  color: #8a6d0b;
}

/* CF7 送信中スピナー */
.wpcf7-spinner {
  display: block;
  margin: 1rem auto 0;
}

@media (max-width: 600px) {
  .ands-cf7-form {
    padding: 0 1.25rem 3.5rem;
  }
  .ands-submit-btn,
  .ands-form-submit input[type="submit"] {
    width: 100%;
    padding: 1rem;
  }
}

/* ===================================
   PRIVACY POLICY  (page-id-3)
   =================================== */
.page-id-3 .entry-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.page-id-3 .entry-content h1 {
  font-family: var(--font-en-serif) !important;
  font-size: 2.5rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.05em !important;
  text-align: center;
  margin: 0 0 1rem !important;
  color: var(--color-black);
}

.page-id-3 .entry-content .ands-privacy-updated {
  text-align: center;
  font-size: 0.8125rem;
  color: #999;
  margin: 0 0 4rem;
}

.page-id-3 .entry-content h2 {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: var(--color-black);
  margin: 2.5rem 0 1rem !important;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-family: var(--font-jp) !important;
}

.page-id-3 .entry-content p {
  font-size: 0.9375rem;
  line-height: 2;
  color: #444;
  margin: 0 0 1rem;
}

.page-id-3 .entry-content ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 0.5rem 0 1rem;
}

.page-id-3 .entry-content li {
  font-size: 0.9375rem;
  line-height: 2;
  color: #444;
}

.page-id-3 .entry-content a {
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-id-3 .entry-content a:hover {
  opacity: 0.6;
}

/* Privacy Policy レスポンシブ */
@media (max-width: 768px) {
  .page-id-3 .entry-content {
    padding: 5rem 1.5rem;
  }

  .page-id-3 .entry-content h1 {
    font-size: 2rem !important;
  }

  .page-id-3 .entry-content .ands-privacy-updated {
    margin-bottom: 3rem;
  }
}

@media (max-width: 480px) {
  .page-id-3 .entry-content {
    padding: 4rem 1rem;
  }

  .page-id-3 .entry-content h1 {
    font-size: 1.75rem !important;
  }

  .page-id-3 .entry-content h2 {
    font-size: 1rem !important;
  }

  .page-id-3 .entry-content p,
  .page-id-3 .entry-content li {
    font-size: 0.875rem;
  }
}
