/* ========================================
   下層ページ共通スタイル
   ======================================== */

/* ページトランジション */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #141414;
  z-index: 9999;
  transform: translateY(100%);
  pointer-events: none;
}

[data-theme="light"] .page-transition {
  background-color: #ffffff;
}

.page-transition.is-active {
  pointer-events: auto;
}

/* 下層ページヘッダー */
.header-sub {
  background-color: transparent;
}

.header-sub .logo a {
  display: block;
}

/* メインコンテンツ */
.page-main {
  min-height: 100vh;
  padding: 120px 80px 80px;
  background-color: #ffffff;
  color: #141414;
}

[data-theme="light"] .page-main {
  background-color: #141414;
  color: #ffffff;
}

/* パンくずリスト */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 60px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
  opacity: 0.6;
}

.breadcrumb-separator {
  opacity: 0.4;
  font-size: 0.7rem;
}

.breadcrumb-current {
  opacity: 0.6;
}

/* ページヘッダー */
.page-header {
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .page-header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.page-label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 20px;
  opacity: 0.7;
}

.page-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* リード文 */
.page-lead {
  max-width: 900px;
  margin-bottom: 80px;
}

.page-lead p {
  font-size: 1.1rem;
  line-height: 2.2;
  margin-bottom: 0;
}

.page-lead p + p {
  margin-top: 1em;
}

/* カードリンク */
.page-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
}

.page-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px;
  border: 1px solid rgba(20, 20, 20, 0.15);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  min-height: 200px;
}

[data-theme="light"] .page-card {
  border-color: rgba(255, 255, 255, 0.15);
}

.page-card:hover {
  background-color: rgba(20, 20, 20, 0.03);
  border-color: rgba(20, 20, 20, 0.3);
}

[data-theme="light"] .page-card:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.page-card-content {
  flex: 1;
}

.page-card-label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 12px;
  opacity: 0.7;
}

.page-card-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.page-card-desc {
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.6;
}

.page-card-arrow {
  width: 48px;
  height: 48px;
  background-color: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 30px;
  align-self: flex-end;
  transition: all 0.3s ease;
}

[data-theme="light"] .page-card-arrow {
  background-color: #ffffff;
}

.page-card-arrow svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

[data-theme="light"] .page-card-arrow svg {
  color: #141414;
}

.page-card:hover .page-card-arrow {
  transform: translateX(5px);
}

.page-card:hover .page-card-arrow svg {
  transform: translateX(3px);
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .page-main {
    padding: 100px 40px 60px;
  }

  .page-title {
    font-size: 2.5rem;
  }

  .page-cards {
    gap: 20px;
  }

  .page-card {
    padding: 30px;
    min-height: 180px;
  }
}

@media (max-width: 768px) {
  .page-main {
    padding: 90px 20px 50px;
  }

  .breadcrumb {
    margin-bottom: 40px;
    font-size: 0.8rem;
  }

  .page-header {
    margin-bottom: 50px;
    padding-bottom: 30px;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .page-lead {
    margin-bottom: 50px;
  }

  .page-lead p {
    font-size: 0.95rem;
    line-height: 2;
  }

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

  .page-card {
    padding: 25px;
    min-height: auto;
  }

  .page-card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }

  .page-card-desc {
    font-size: 0.85rem;
  }

  .page-card-arrow {
    width: 40px;
    height: 40px;
    margin-left: 20px;
  }

  .page-card-arrow svg {
    width: 16px;
    height: 16px;
  }
}

/* ========================================
   ページ読み込み時のアニメーション
   ======================================== */
.page-header,
.page-lead,
.page-card {
  opacity: 0;
  transform: translateY(30px);
}

.page-header.is-visible,
.page-lead.is-visible,
.page-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.page-card:nth-child(1) { transition-delay: 0.1s; }
.page-card:nth-child(2) { transition-delay: 0.2s; }
.page-card:nth-child(3) { transition-delay: 0.3s; }
.page-card:nth-child(4) { transition-delay: 0.4s; }

/* ========================================
   会社情報ページ
   ======================================== */
.company-image {
  max-width: 900px;
  margin-bottom: 60px;
}

.company-image img {
  width: 100%;
  height: auto;
  display: block;
}

.company-info {
  max-width: 900px;
}

.info-table {
  margin: 0;
}

.info-row {
  display: flex;
  border-top: 1px solid rgba(20, 20, 20, 0.15);
  padding: 30px 0;
}

[data-theme="light"] .info-row {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.info-row:last-child {
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .info-row:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.info-row dt {
  width: 180px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.info-row dd {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s ease;
}

.map-link:hover {
  opacity: 0.6;
}

.map-link svg {
  width: 14px;
  height: 14px;
}

/* 会社情報レスポンシブ */
@media (max-width: 768px) {
  .company-image {
    margin-bottom: 40px;
  }

  .info-row {
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
  }

  .info-row dt {
    width: 100%;
    font-size: 0.85rem;
  }

  .info-row dd {
    font-size: 0.9rem;
  }
}

/* 会社情報アニメーション */
.company-image,
.company-info {
  opacity: 0;
  transform: translateY(30px);
}

.company-image.is-visible,
.company-info.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.company-info.is-visible {
  transition-delay: 0.2s;
}

/* ========================================
   ページ内ナビゲーション
   ======================================== */
.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 80px;
  max-width: 100%;
}

.page-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid rgba(20, 20, 20, 0.15);
  margin-right: -1px;
  margin-bottom: -1px;
  text-decoration: none;
  color: inherit;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  flex: 1 1 auto;
  min-width: 150px;
}

[data-theme="light"] .page-nav-link {
  border-color: rgba(255, 255, 255, 0.15);
}

.page-nav-link:hover {
  background-color: rgba(20, 20, 20, 0.05);
}

[data-theme="light"] .page-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-nav-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.page-nav-link:hover svg {
  transform: translateX(4px);
}

/* ページナビ レスポンシブ */
@media (max-width: 1024px) {
  .page-nav-link {
    min-width: calc(33.333% - 1px);
  }
}

@media (max-width: 768px) {
  .page-nav {
    margin-top: 50px;
  }

  .page-nav-link {
    min-width: calc(50% - 1px);
    padding: 16px 20px;
    font-size: 0.85rem;
  }
}

/* ========================================
   企業理念ページ
   ======================================== */
.concept-image {
  max-width: 900px;
  margin-bottom: 80px;
}

.concept-image img {
  width: 100%;
  height: auto;
  display: block;
}

.concept-section {
  display: flex;
  gap: 0;
  max-width: 900px;
  padding: 50px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .concept-section {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.concept-section:last-of-type {
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .concept-section:last-of-type {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.concept-section-header {
  width: 150px;
  flex-shrink: 0;
}

.concept-section-label {
  font-size: 0.9rem;
  font-weight: 700;
}

.concept-section-body {
  flex: 1;
}

.concept-section-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
}

.concept-section-text {
  font-size: 0.95rem;
  line-height: 2;
  opacity: 0.85;
}

/* Value リスト */
.concept-values {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.concept-value-item {
  padding-left: 0;
}

.concept-value-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.concept-value-text {
  font-size: 0.95rem;
  line-height: 1.8;
  opacity: 0.85;
}

/* 企業理念レスポンシブ */
@media (max-width: 768px) {
  .concept-image {
    margin-bottom: 50px;
  }

  .concept-section {
    flex-direction: column;
    gap: 20px;
    padding: 30px 0;
  }

  .concept-section-header {
    width: 100%;
  }

  .concept-section-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .concept-section-text {
    font-size: 0.9rem;
    line-height: 1.9;
  }

  .concept-value-title {
    font-size: 1rem;
  }

  .concept-value-text {
    font-size: 0.9rem;
  }
}

/* 企業理念アニメーション */
.concept-image,
.concept-section {
  opacity: 0;
  transform: translateY(30px);
}

.concept-image.is-visible,
.concept-section.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ========================================
   サービスページ
   ======================================== */
.service-block {
  padding: 80px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .service-block {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.service-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.service-block-header {
  margin-bottom: 60px;
}

.service-block-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.service-block-lead {
  font-size: 0.95rem;
  line-height: 2;
  max-width: 800px;
  opacity: 0.85;
}

/* 特徴セクション */
.service-features {
  margin-bottom: 60px;
}

.service-features-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 30px;
}

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

.service-feature-item {
  display: flex;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.1);
}

[data-theme="light"] .service-feature-item {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.service-feature-item:last-child {
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}

[data-theme="light"] .service-feature-item:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.service-feature-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-feature-icon svg {
  width: 40px;
  height: 40px;
  opacity: 0.7;
}

.service-feature-content {
  flex: 1;
}

.service-feature-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-feature-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.75;
}

/* フローセクション */
.service-flow {
  margin-bottom: 0;
}

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

.service-flow-item {
  display: flex;
  gap: 30px;
  padding: 25px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.1);
  align-items: flex-start;
}

[data-theme="light"] .service-flow-item {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.service-flow-item:last-child {
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}

[data-theme="light"] .service-flow-item:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.service-flow-num {
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0.4;
  width: 60px;
  flex-shrink: 0;
}

.service-flow-content {
  flex: 1;
}

.service-flow-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-flow-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.75;
}

/* サービスページ レスポンシブ */
@media (max-width: 768px) {
  .service-block {
    padding: 50px 0;
  }

  .service-block-header {
    margin-bottom: 40px;
  }

  .service-block-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  .service-block-lead {
    font-size: 0.9rem;
  }

  .service-features {
    margin-bottom: 40px;
  }

  .service-features-title {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .service-feature-item {
    flex-direction: column;
    gap: 16px;
    padding: 24px 0;
  }

  .service-feature-icon {
    width: 50px;
    height: 50px;
  }

  .service-feature-icon svg {
    width: 32px;
    height: 32px;
  }

  .service-feature-name {
    font-size: 1rem;
  }

  .service-feature-desc {
    font-size: 0.85rem;
  }

  .service-flow-item {
    gap: 20px;
    padding: 20px 0;
  }

  .service-flow-num {
    font-size: 1rem;
    width: 40px;
  }

  .service-flow-name {
    font-size: 0.95rem;
  }

  .service-flow-desc {
    font-size: 0.85rem;
  }
}

/* サービスページ アニメーション */
.service-block {
  opacity: 0;
  transform: translateY(30px);
}

.service-block.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 詳しくはこちらリンク */
.service-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 16px 24px;
  background-color: transparent;
  border: 1px solid rgba(20, 20, 20, 0.3);
  color: inherit;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

[data-theme="light"] .service-detail-link {
  border-color: rgba(255, 255, 255, 0.3);
}

.service-detail-link:hover {
  background-color: #141414;
  color: #ffffff;
  border-color: #141414;
}

[data-theme="light"] .service-detail-link:hover {
  background-color: #ffffff;
  color: #141414;
  border-color: #ffffff;
}

.service-detail-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.service-detail-link:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .service-detail-link {
    margin-top: 30px;
    padding: 14px 20px;
    font-size: 0.85rem;
  }
}

/* ========================================
   制作実績ページ
   ======================================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.works-card {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.works-card-image {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

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

.works-card:hover .works-card-image img {
  transform: scale(1.05);
}

.works-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
  color: #ffffff;
}

.works-card-client {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 8px;
}

.works-card-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.works-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  opacity: 0.7;
}

.works-card-category {
  flex: 1;
}

.works-card-year {
  flex-shrink: 0;
}

/* 制作実績レスポンシブ */
@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }

  .works-card-overlay {
    padding: 20px;
  }

  .works-card-title {
    font-size: 1.1rem;
  }

  .works-card-meta {
    font-size: 0.7rem;
  }
}

/* 制作実績アニメーション */
.works-card {
  opacity: 0;
  transform: translateY(30px);
}

.works-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ========================================
   制作実績詳細ページ
   ======================================== */
.works-detail {
  max-width: 100%;
}

/* ヘッダー */
.works-detail-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .works-detail-header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.works-detail-label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 20px;
  opacity: 0.7;
}

.works-detail-client {
  font-size: 0.9rem;
  margin-bottom: 12px;
  opacity: 0.7;
}

.works-detail-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}

.works-detail-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.works-detail-info {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
}

.works-detail-year {
  font-weight: 700;
}

.works-detail-categories {
  opacity: 0.7;
}

.works-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background-color: #141414;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

[data-theme="light"] .works-detail-link {
  background-color: #ffffff;
  color: #141414;
}

.works-detail-link:hover {
  opacity: 0.8;
}

.works-detail-link svg {
  width: 14px;
  height: 14px;
}

/* メインビジュアル */
.works-detail-hero {
  margin: 0 calc(-80px);
  margin-bottom: 60px;
}

.works-detail-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* 説明文 */
.works-detail-description {
  max-width: 800px;
  margin-bottom: 60px;
}

.works-detail-description p {
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 1.5em;
}

.works-detail-description p:last-child {
  margin-bottom: 0;
}

/* プロジェクト情報 */
.works-detail-info-section {
  margin-bottom: 80px;
}

.works-detail-data {
  max-width: 800px;
}

.works-detail-data-row {
  display: flex;
  gap: 40px;
  padding: 30px 0;
  border-top: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .works-detail-data-row {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.works-detail-data-row:last-child {
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .works-detail-data-row:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.works-detail-data-row dt {
  width: 120px;
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.works-detail-data-row dd {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* クレジット */
.works-detail-credit dd {
  padding-top: 0;
}

.works-detail-credit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
}

.works-detail-credit-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.works-detail-credit-role {
  font-size: 0.75rem;
  opacity: 0.6;
}

.works-detail-credit-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.works-detail-credit-company {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ギャラリー */
.works-detail-gallery {
  margin-bottom: 80px;
}

.works-detail-gallery-item {
  margin: 0;
  margin-bottom: 30px;
}

.works-detail-gallery-item:last-child {
  margin-bottom: 0;
}

.works-detail-gallery-item img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
}

/* 前後の記事ナビ */
.works-detail-nav {
  display: flex;
  border-top: 1px solid rgba(20, 20, 20, 0.15);
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
  margin-bottom: 80px;
}

[data-theme="light"] .works-detail-nav {
  border-color: rgba(255, 255, 255, 0.15);
}

.works-detail-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 30px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease;
}

.works-detail-nav-link:hover {
  background-color: rgba(20, 20, 20, 0.03);
}

[data-theme="light"] .works-detail-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.works-detail-nav-prev {
  border-right: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .works-detail-nav-prev {
  border-right-color: rgba(255, 255, 255, 0.15);
}

.works-detail-nav-all {
  text-align: center;
  border-right: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .works-detail-nav-all {
  border-right-color: rgba(255, 255, 255, 0.15);
}

.works-detail-nav-next {
  text-align: right;
}

.works-detail-nav-label {
  font-size: 0.8rem;
  opacity: 0.6;
}

.works-detail-nav-title {
  font-size: 0.95rem;
  font-weight: 700;
}

/* 制作実績詳細レスポンシブ */
@media (max-width: 1024px) {
  .works-detail-hero {
    margin: 0 calc(-40px);
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .works-detail-title {
    font-size: 1.6rem;
  }

  .works-detail-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .works-detail-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .works-detail-hero {
    margin: 0 calc(-20px);
    margin-bottom: 40px;
  }

  .works-detail-description {
    margin-bottom: 40px;
  }

  .works-detail-description p {
    font-size: 0.9rem;
  }

  .works-detail-info-section {
    margin-bottom: 50px;
  }

  .works-detail-data-row {
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
  }

  .works-detail-data-row dt {
    width: 100%;
    font-size: 0.85rem;
  }

  .works-detail-data-row dd {
    font-size: 0.9rem;
  }

  .works-detail-credit-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .works-detail-gallery {
    margin-bottom: 50px;
  }

  .works-detail-gallery-item {
    margin-bottom: 20px;
  }

  .works-detail-nav {
    flex-direction: column;
    margin-bottom: 50px;
  }

  .works-detail-nav-link {
    padding: 20px;
  }

  .works-detail-nav-prev,
  .works-detail-nav-all {
    border-right: none;
    border-bottom: 1px solid rgba(20, 20, 20, 0.15);
  }

  [data-theme="light"] .works-detail-nav-prev,
  [data-theme="light"] .works-detail-nav-all {
    border-bottom-color: rgba(255, 255, 255, 0.15);
  }

  .works-detail-nav-all,
  .works-detail-nav-next {
    text-align: left;
  }
}

/* 制作実績詳細アニメーション */
.works-detail-header,
.works-detail-hero,
.works-detail-description,
.works-detail-info-section,
.works-detail-gallery,
.works-detail-nav {
  opacity: 0;
  transform: translateY(30px);
}

.works-detail-header.is-visible,
.works-detail-hero.is-visible,
.works-detail-description.is-visible,
.works-detail-info-section.is-visible,
.works-detail-gallery.is-visible,
.works-detail-nav.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ========================================
   お問い合わせフォーム
   ======================================== */
.contact-form {
  max-width: 700px;
}

.form-group {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.form-label {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  padding-top: 12px;
}

.form-required,
.form-optional {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid;
}

.form-required {
  background-color: #141414;
  color: #ffffff;
  border-color: #141414;
}

[data-theme="light"] .form-required {
  background-color: #ffffff;
  color: #141414;
  border-color: #ffffff;
}

.form-optional {
  background-color: transparent;
  color: inherit;
  border-color: rgba(20, 20, 20, 0.3);
}

[data-theme="light"] .form-optional {
  border-color: rgba(255, 255, 255, 0.3);
}

.form-label-text {
  font-size: 0.9rem;
  font-weight: 700;
}

.form-note {
  width: 100%;
  font-size: 0.75rem;
  opacity: 0.6;
}

.form-field {
  flex: 1;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="url"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  color: inherit;
  background-color: transparent;
  border: 1px solid rgba(20, 20, 20, 0.2);
  border-radius: 0;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

[data-theme="light"] .form-field input[type="text"],
[data-theme="light"] .form-field input[type="email"],
[data-theme="light"] .form-field input[type="tel"],
[data-theme="light"] .form-field input[type="url"],
[data-theme="light"] .form-field select,
[data-theme="light"] .form-field textarea {
  border-color: rgba(255, 255, 255, 0.2);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #141414;
}

[data-theme="light"] .form-field input:focus,
[data-theme="light"] .form-field select:focus,
[data-theme="light"] .form-field textarea:focus {
  border-color: #ffffff;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(20, 20, 20, 0.3);
}

[data-theme="light"] .form-field input::placeholder,
[data-theme="light"] .form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

[data-theme="light"] .form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

.form-field textarea {
  resize: vertical;
  min-height: 200px;
}

/* チェックボックス */
.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #141414;
}

[data-theme="light"] .form-checkbox input[type="checkbox"] {
  accent-color: #ffffff;
}

.form-checkbox-text {
  font-size: 0.9rem;
}

/* 同意文 */
.form-agreement {
  text-align: center;
  margin-bottom: 40px;
  font-size: 0.85rem;
  line-height: 1.8;
  opacity: 0.8;
}

.form-agreement a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 送信ボタン */
.form-submit {
  display: flex;
  justify-content: center;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #141414;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

[data-theme="light"] .form-submit-btn {
  color: #141414;
  background-color: #ffffff;
}

.form-submit-btn:hover {
  opacity: 0.8;
}

.form-submit-btn svg {
  width: 18px;
  height: 18px;
}

/* 確認画面 */
.form-group-confirm .form-label {
  padding-top: 0;
}

.form-group-confirm .form-label-text {
  font-weight: 400;
  opacity: 0.7;
}

.form-confirm-value {
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.form-submit-confirm {
  gap: 20px;
}

.form-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 0.95rem;
  color: inherit;
  background-color: transparent;
  border: 1px solid rgba(20, 20, 20, 0.3);
  text-decoration: none;
  transition: all 0.3s ease;
}

[data-theme="light"] .form-back-btn {
  border-color: rgba(255, 255, 255, 0.3);
}

.form-back-btn:hover {
  background-color: rgba(20, 20, 20, 0.05);
}

[data-theme="light"] .form-back-btn:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.form-back-btn svg {
  width: 18px;
  height: 18px;
}

/* 完了画面 */
.contact-complete {
  max-width: 600px;
}

.contact-complete-message {
  margin-bottom: 40px;
}

.contact-complete-message p {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 0;
}

.contact-complete-note {
  margin-bottom: 50px;
  padding: 24px;
  background-color: rgba(20, 20, 20, 0.03);
}

[data-theme="light"] .contact-complete-note {
  background-color: rgba(255, 255, 255, 0.05);
}

.contact-complete-note p {
  font-size: 0.85rem;
  line-height: 1.8;
  opacity: 0.7;
  margin-bottom: 8px;
}

.contact-complete-note p:last-child {
  margin-bottom: 0;
}

.contact-complete-action {
  display: flex;
  justify-content: center;
}

/* ステップ表示 */
.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  font-size: 0.9rem;
  opacity: 0.3;
  position: relative;
}

.contact-step::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 100%;
  width: 1px;
  height: 32px;
  background-color: currentColor;
  opacity: 0.3;
}

.contact-step:last-child::before {
  display: none;
}

.contact-step.is-active {
  opacity: 1;
}

.contact-step.is-done {
  opacity: 0.5;
}

.contact-step-icon {
  font-size: 0.7rem;
}

.contact-step-text {
  font-weight: 700;
}

/* 簡易フッター */
.footer-simple {
  padding: 0;
}

.footer-simple .footer-bottom {
  border-top: none;
  justify-content: center;
}

/* お問い合わせレスポンシブ */
@media (max-width: 768px) {
  .form-group {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
  }

  .form-label {
    width: 100%;
    padding-top: 0;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .form-checkbox-group {
    flex-direction: column;
    gap: 12px;
  }

  .form-submit-btn,
  .form-back-btn {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .form-submit-confirm {
    flex-direction: column;
  }

  .form-back-btn {
    order: 1;
    justify-content: center;
  }

  .contact-steps {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
  }

  .contact-step {
    padding: 0;
  }

  .contact-step::before {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
  }
}

/* フォームアニメーション */
.contact-form,
.contact-complete {
  opacity: 0;
  transform: translateY(30px);
}

.contact-form.is-visible,
.contact-complete.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ========================================
   投稿・固定ページ（エディタコンテンツ）
   ======================================== */

/* 記事ヘッダー */
.entry-header {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .entry-header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.entry-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.entry-category {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #141414;
  color: #ffffff;
}

[data-theme="light"] .entry-category {
  background-color: #ffffff;
  color: #141414;
}

.entry-date {
  font-size: 0.85rem;
  opacity: 0.6;
}

.entry-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
}

/* アイキャッチ画像 */
.entry-thumbnail {
  margin: 0;
  margin-bottom: 50px;
}

.entry-thumbnail img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
}

/* エディタコンテンツ（the_content） */
.entry-content {
  max-width: 800px;
  margin-bottom: 60px;
}

/* 段落 */
.entry-content p {
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 1.5em;
}

.entry-content p:last-child {
  margin-bottom: 0;
}

/* 見出し */
.entry-content h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 3em;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .entry-content h2 {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.entry-content h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 2.5em;
  margin-bottom: 0.8em;
}

.entry-content h4 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.entry-content h5,
.entry-content h6 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

/* 最初の見出しは上マージンなし */
.entry-content > h2:first-child,
.entry-content > h3:first-child,
.entry-content > h4:first-child {
  margin-top: 0;
}

/* リスト */
.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.entry-content li {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.5em;
}

.entry-content li:last-child {
  margin-bottom: 0;
}

.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
  margin-top: 0.5em;
  margin-bottom: 0;
}

/* 引用 */
.entry-content blockquote {
  margin: 2em 0;
  padding: 24px 30px;
  background-color: rgba(20, 20, 20, 0.03);
  border-left: 4px solid #141414;
}

[data-theme="light"] .entry-content blockquote {
  background-color: rgba(255, 255, 255, 0.05);
  border-left-color: #ffffff;
}

.entry-content blockquote p {
  margin-bottom: 0.5em;
}

.entry-content blockquote p:last-of-type {
  margin-bottom: 0;
}

.entry-content blockquote cite {
  display: block;
  margin-top: 1em;
  font-size: 0.85rem;
  font-style: normal;
  opacity: 0.6;
}

/* テーブル */
.entry-content table {
  width: 100%;
  margin-bottom: 2em;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.entry-content th,
.entry-content td {
  padding: 12px 16px;
  text-align: left;
  border: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .entry-content th,
[data-theme="light"] .entry-content td {
  border-color: rgba(255, 255, 255, 0.15);
}

.entry-content th {
  font-weight: 700;
  background-color: rgba(20, 20, 20, 0.03);
}

[data-theme="light"] .entry-content th {
  background-color: rgba(255, 255, 255, 0.05);
}

/* 画像 */
.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

.entry-content figure {
  margin: 2em 0;
}

.entry-content figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  opacity: 0.6;
  text-align: center;
}

/* リンク */
.entry-content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s ease;
}

.entry-content a:hover {
  opacity: 0.6;
}

/* 強調 */
.entry-content strong {
  font-weight: 700;
}

.entry-content em {
  font-style: italic;
}

/* コード */
.entry-content code {
  padding: 2px 6px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.9em;
  background-color: rgba(20, 20, 20, 0.05);
  border-radius: 3px;
}

[data-theme="light"] .entry-content code {
  background-color: rgba(255, 255, 255, 0.1);
}

.entry-content pre {
  margin: 2em 0;
  padding: 20px;
  background-color: rgba(20, 20, 20, 0.05);
  overflow-x: auto;
}

[data-theme="light"] .entry-content pre {
  background-color: rgba(255, 255, 255, 0.1);
}

.entry-content pre code {
  padding: 0;
  background-color: transparent;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* 水平線 */
.entry-content hr {
  margin: 3em 0;
  border: none;
  border-top: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .entry-content hr {
  border-top-color: rgba(255, 255, 255, 0.15);
}

/* ========================================
   ブロックエディタ対応
   ======================================== */

/* カラムブロック */
.entry-content .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 2em;
}

.entry-content .wp-block-column {
  flex: 1;
  min-width: 0;
}

.entry-content .wp-block-column > *:first-child {
  margin-top: 0;
}

.entry-content .wp-block-column > *:last-child {
  margin-bottom: 0;
}

/* 2カラム */
.entry-content .wp-block-columns.are-vertically-aligned-top {
  align-items: flex-start;
}

.entry-content .wp-block-columns.are-vertically-aligned-center {
  align-items: center;
}

.entry-content .wp-block-columns.are-vertically-aligned-bottom {
  align-items: flex-end;
}

@media (max-width: 768px) {
  .entry-content .wp-block-columns:not(.is-not-stacked-on-mobile) {
    flex-direction: column;
    gap: 20px;
  }

  .entry-content .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 100% !important;
  }
}

/* グループブロック */
.entry-content .wp-block-group {
  margin-bottom: 2em;
}

.entry-content .wp-block-group.has-background {
  padding: 30px;
}

.entry-content .wp-block-group > *:first-child {
  margin-top: 0;
}

.entry-content .wp-block-group > *:last-child {
  margin-bottom: 0;
}

/* ボタンブロック */
.entry-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2em;
}

.entry-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  background-color: #141414;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

[data-theme="light"] .entry-content .wp-block-button__link {
  color: #141414;
  background-color: #ffffff;
}

.entry-content .wp-block-button__link:hover {
  opacity: 0.8;
}

/* アウトラインボタン */
.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
  color: inherit;
  background-color: transparent;
  border: 1px solid currentColor;
}

.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: #141414;
  color: #ffffff;
  border-color: #141414;
}

[data-theme="light"] .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: #ffffff;
  color: #141414;
  border-color: #ffffff;
}

/* カバーブロック */
.entry-content .wp-block-cover {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  margin-bottom: 2em;
  padding: 40px;
  background-size: cover;
  background-position: center;
}

.entry-content .wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  color: #ffffff;
}

.entry-content .wp-block-cover__inner-container > *:first-child {
  margin-top: 0;
}

.entry-content .wp-block-cover__inner-container > *:last-child {
  margin-bottom: 0;
}

/* メディアとテキストブロック */
.entry-content .wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 2em;
}

.entry-content .wp-block-media-text.has-media-on-the-right {
  direction: rtl;
}

.entry-content .wp-block-media-text.has-media-on-the-right > * {
  direction: ltr;
}

.entry-content .wp-block-media-text__media {
  margin: 0;
}

.entry-content .wp-block-media-text__media img {
  width: 100%;
  height: auto;
}

.entry-content .wp-block-media-text__content {
  padding: 0;
}

.entry-content .wp-block-media-text__content > *:first-child {
  margin-top: 0;
}

.entry-content .wp-block-media-text__content > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .entry-content .wp-block-media-text {
    grid-template-columns: 1fr;
  }

  .entry-content .wp-block-media-text.has-media-on-the-right {
    direction: ltr;
  }

  .entry-content .wp-block-media-text__content {
    padding: 0;
  }
}

/* スペーサーブロック */
.entry-content .wp-block-spacer {
  display: block;
}

/* セパレーターブロック */
.entry-content .wp-block-separator {
  margin: 3em auto;
  border: none;
  border-top: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .entry-content .wp-block-separator {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.entry-content .wp-block-separator.is-style-wide {
  width: 100%;
}

.entry-content .wp-block-separator.is-style-dots {
  border: none;
  text-align: center;
}

.entry-content .wp-block-separator.is-style-dots::before {
  content: '···';
  font-size: 1.5rem;
  letter-spacing: 1em;
  opacity: 0.5;
}

/* 画像ブロック */
.entry-content .wp-block-image {
  margin-bottom: 2em;
}

.entry-content .wp-block-image img {
  max-width: 100%;
  height: auto;
}

.entry-content .wp-block-image.aligncenter {
  text-align: center;
}

.entry-content .wp-block-image.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}

.entry-content .wp-block-image.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

.entry-content .wp-block-image figcaption {
  margin-top: 10px;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.6;
}

/* ギャラリーブロック */
.entry-content .wp-block-gallery {
  display: grid;
  gap: 16px;
  margin-bottom: 2em;
}

.entry-content .wp-block-gallery.columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.entry-content .wp-block-gallery.columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.entry-content .wp-block-gallery.columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.entry-content .wp-block-gallery .wp-block-image {
  margin: 0;
}

.entry-content .wp-block-gallery .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .entry-content .wp-block-gallery.columns-3,
  .entry-content .wp-block-gallery.columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 引用ブロック（大） */
.entry-content .wp-block-quote.is-style-large,
.entry-content .wp-block-quote.is-large {
  padding: 30px 40px;
}

.entry-content .wp-block-quote.is-style-large p,
.entry-content .wp-block-quote.is-large p {
  font-size: 1.2rem;
}

/* プルクオート */
.entry-content .wp-block-pullquote {
  margin: 3em 0;
  padding: 40px;
  border-top: 4px solid #141414;
  border-bottom: 4px solid #141414;
  text-align: center;
}

[data-theme="light"] .entry-content .wp-block-pullquote {
  border-color: #ffffff;
}

.entry-content .wp-block-pullquote blockquote {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

.entry-content .wp-block-pullquote p {
  font-size: 1.3rem;
  line-height: 1.6;
}

.entry-content .wp-block-pullquote cite {
  display: block;
  margin-top: 1em;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* テーブルブロック */
.entry-content .wp-block-table {
  margin-bottom: 2em;
  overflow-x: auto;
}

.entry-content .wp-block-table table {
  margin-bottom: 0;
}

.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: rgba(20, 20, 20, 0.03);
}

[data-theme="light"] .entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.05);
}

/* リストブロック */
.entry-content .wp-block-list {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

/* 動画ブロック */
.entry-content .wp-block-video {
  margin-bottom: 2em;
}

.entry-content .wp-block-video video {
  max-width: 100%;
  height: auto;
}

/* 埋め込みブロック */
.entry-content .wp-block-embed {
  margin-bottom: 2em;
}

.entry-content .wp-block-embed__wrapper {
  position: relative;
}

.entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.entry-content .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* 背景色・テキスト色のユーティリティ */
.entry-content .has-background {
  padding: 20px;
}

.entry-content .has-text-align-center {
  text-align: center;
}

.entry-content .has-text-align-right {
  text-align: right;
}

.entry-content .has-text-align-left {
  text-align: left;
}

/* フォントサイズユーティリティ */
.entry-content .has-small-font-size {
  font-size: 0.85rem;
}

.entry-content .has-medium-font-size {
  font-size: 1rem;
}

.entry-content .has-large-font-size {
  font-size: 1.25rem;
}

.entry-content .has-x-large-font-size {
  font-size: 1.5rem;
}

/* 記事フッター */
.entry-footer {
  margin-bottom: 50px;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.entry-tags-label {
  font-size: 0.85rem;
  opacity: 0.6;
}

.entry-tag {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(20, 20, 20, 0.2);
  transition: all 0.3s ease;
}

[data-theme="light"] .entry-tag {
  border-color: rgba(255, 255, 255, 0.2);
}

.entry-tag:hover {
  background-color: #141414;
  color: #ffffff;
  border-color: #141414;
}

[data-theme="light"] .entry-tag:hover {
  background-color: #ffffff;
  color: #141414;
  border-color: #ffffff;
}

/* 記事ナビ */
.entry-nav {
  display: flex;
  border-top: 1px solid rgba(20, 20, 20, 0.15);
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
  margin-bottom: 80px;
}

[data-theme="light"] .entry-nav {
  border-color: rgba(255, 255, 255, 0.15);
}

.entry-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 30px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease;
}

.entry-nav-link:hover {
  background-color: rgba(20, 20, 20, 0.03);
}

[data-theme="light"] .entry-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.entry-nav-prev {
  border-right: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .entry-nav-prev {
  border-right-color: rgba(255, 255, 255, 0.15);
}

.entry-nav-all {
  text-align: center;
  border-right: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .entry-nav-all {
  border-right-color: rgba(255, 255, 255, 0.15);
}

.entry-nav-next {
  text-align: right;
}

.entry-nav-label {
  font-size: 0.8rem;
  opacity: 0.6;
}

.entry-nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

/* 投稿ページレスポンシブ */
@media (max-width: 768px) {
  .entry-title {
    font-size: 1.5rem;
  }

  .entry-thumbnail {
    margin-bottom: 30px;
  }

  .entry-content {
    margin-bottom: 40px;
  }

  .entry-content p {
    font-size: 0.9rem;
  }

  .entry-content h2 {
    font-size: 1.3rem;
    margin-top: 2.5em;
  }

  .entry-content h3 {
    font-size: 1.15rem;
    margin-top: 2em;
  }

  .entry-content h4 {
    font-size: 1rem;
  }

  .entry-content blockquote {
    padding: 20px;
  }

  .entry-nav {
    flex-direction: column;
    margin-bottom: 50px;
  }

  .entry-nav-link {
    padding: 20px;
  }

  .entry-nav-prev,
  .entry-nav-all {
    border-right: none;
    border-bottom: 1px solid rgba(20, 20, 20, 0.15);
  }

  [data-theme="light"] .entry-nav-prev,
  [data-theme="light"] .entry-nav-all {
    border-bottom-color: rgba(255, 255, 255, 0.15);
  }

  .entry-nav-all,
  .entry-nav-next {
    text-align: left;
  }
}

/* 投稿ページアニメーション */
.entry {
  opacity: 0;
  transform: translateY(30px);
}

.entry.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ========================================
   ページサイドバー
   ======================================== */
.page-main-with-sidebar {
  display: flex;
  gap: 60px;
}

.page-sidebar {
  width: 30%;
  min-width: 200px;
  max-width: 320px;
  flex-shrink: 0;
  position: relative;
}

.page-sidebar-inner {
  position: sticky;
  top: 120px;
}

.page-sidebar-label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 8px;
  opacity: 0.7;
}

.page-sidebar-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-underline-offset: 4px;
}

.page-sidebar-nav {
  display: flex;
  flex-direction: column;
}

.page-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 0.85rem;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s ease;
}

.page-sidebar-link::after {
  content: '→';
  font-size: 0.8rem;
  opacity: 0.5;
  transition: transform 0.3s ease;
}

.page-sidebar-link:hover {
  background-color: rgba(20, 20, 20, 0.03);
}

[data-theme="light"] .page-sidebar-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-sidebar-link.is-active {
  background-color: #141414;
  color: #ffffff;
  border-color: #141414;
}

[data-theme="light"] .page-sidebar-link.is-active {
  background-color: #ffffff;
  color: #141414;
  border-color: #ffffff;
}

.page-sidebar-link.is-active::after {
  opacity: 1;
}

.page-content {
  flex: 1;
  min-width: 0;
}

/* サイドバー レスポンシブ */
@media (max-width: 1024px) {
  .page-main-with-sidebar {
    flex-direction: column;
    gap: 0;
  }

  .page-sidebar {
    width: 100%;
    margin-bottom: 40px;
  }

  .page-sidebar-inner {
    position: static;
  }

  .page-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .page-sidebar-link {
    flex: 1 1 auto;
    min-width: calc(50% - 1px);
    border: 1px solid rgba(20, 20, 20, 0.15);
    margin-right: -1px;
    margin-bottom: -1px;
    padding: 12px 14px;
    font-size: 0.8rem;
  }

  [data-theme="light"] .page-sidebar-link {
    border-color: rgba(255, 255, 255, 0.15);
  }
}

@media (max-width: 768px) {
  .page-sidebar-link {
    min-width: 100%;
  }
}

/* 右サイドバー */
.page-main-sidebar-right {
  flex-direction: row-reverse;
}

.page-main-sidebar-right .works-detail-hero {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1024px) {
  .page-main-sidebar-right {
    flex-direction: column;
  }

  .page-main-sidebar-right .page-sidebar {
    order: -1;
  }

  .page-main-sidebar-right .works-detail-hero {
    margin-left: calc(-40px);
    margin-right: calc(-40px);
  }
}

@media (max-width: 768px) {
  .page-main-sidebar-right .works-detail-hero {
    margin-left: calc(-20px);
    margin-right: calc(-20px);
  }
}

/* 実績サイドバーリスト */
.works-sidebar-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.works-sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-size: 0.85rem;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
  transition: opacity 0.3s ease;
}

[data-theme="light"] .works-sidebar-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.works-sidebar-item:first-child {
  border-top: 1px solid rgba(20, 20, 20, 0.1);
}

[data-theme="light"] .works-sidebar-item:first-child {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.works-sidebar-item:hover {
  opacity: 0.6;
}

.works-sidebar-item-title {
  flex: 1;
  line-height: 1.5;
}

.works-sidebar-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.5;
}

.works-sidebar-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background-color: #141414;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  transition: opacity 0.3s ease;
}

[data-theme="light"] .works-sidebar-all {
  background-color: #ffffff;
  color: #141414;
}

.works-sidebar-all:hover {
  opacity: 0.8;
}

.works-sidebar-all svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1024px) {
  .works-sidebar-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .works-sidebar-item {
    flex: 1 1 100%;
    padding: 12px 0;
    border-top: none;
  }

  .works-sidebar-item:first-child {
    border-top: none;
  }

  .works-sidebar-all {
    width: 100%;
    margin-top: 10px;
  }
}

/* ========================================
   会社情報ページ
   ======================================== */

/* ヒーロー画像 */
.company-hero {
  margin-bottom: 80px;
  max-width: 900px;
}

.company-hero-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  background-color: #f0f0f0;
}

[data-theme="light"] .company-hero-image {
  background-color: #333333;
}

.company-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 会社概要テーブル */
.company-info {
  max-width: 900px;
}

.company-table {
  margin: 0;
}

.company-table-row {
  display: flex;
  border-top: 1px solid rgba(20, 20, 20, 0.15);
  padding: 30px 0;
}

[data-theme="light"] .company-table-row {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.company-table-row:last-child {
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .company-table-row:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.company-table-row dt {
  flex: 0 0 200px;
  font-weight: 700;
  font-size: 0.95rem;
}

.company-table-row dd {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

.company-table-row dd a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.company-table-row dd a:hover {
  opacity: 0.6;
}

.company-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.company-map-link svg {
  width: 14px;
  height: 14px;
}

/* 会社情報ページ - アニメーション */
.company-hero,
.company-info {
  opacity: 0;
  transform: translateY(30px);
}

.company-hero.is-visible,
.company-info.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.company-hero { transition-delay: 0.1s; }
.company-info { transition-delay: 0.2s; }

/* レスポンシブ */
@media (max-width: 768px) {
  .company-hero {
    margin-bottom: 50px;
  }

  .company-hero-image {
    aspect-ratio: 16 / 9;
  }

  .company-table-row {
    flex-direction: column;
    gap: 10px;
    padding: 25px 0;
  }

  .company-table-row dt {
    flex: none;
    font-size: 0.9rem;
  }

  .company-table-row dd {
    font-size: 0.9rem;
  }
}

/* ========================================
   サービス詳細ページ用スタイル
   ======================================== */

/* 詳細ブロック共通 */
.service-detail-block {
  margin-bottom: 100px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-detail-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-detail-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--text);
}

/* ========================================
   ご要望グリッド
   ======================================== */
.request-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.request-item {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  transition: all 0.3s ease;
}

[data-theme="light"] .request-item {
  border-color: rgba(20, 20, 20, 0.15);
}

.request-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .request-item:hover {
  background-color: rgba(20, 20, 20, 0.05);
}

.request-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
}

.request-icon svg {
  width: 100%;
  height: 100%;
}

.request-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .request-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .request-item {
    padding: 25px 20px;
  }
}

/* ========================================
   提供サービスリスト
   ======================================== */
.provide-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.provide-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.provide-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--text);
  opacity: 0.3;
  flex-shrink: 0;
  line-height: 1;
}

.provide-content {
  flex: 1;
}

.provide-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.provide-desc {
  font-size: 1rem;
  line-height: 2;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .provide-list {
    gap: 40px;
  }
  
  .provide-item {
    flex-direction: column;
    gap: 15px;
  }
  
  .provide-num {
    font-size: 2rem;
  }
  
  .provide-title {
    font-size: 1.1rem;
  }
  
  .provide-desc {
    font-size: 0.9rem;
  }
}

/* ========================================
   提案・実行領域グリッド
   ======================================== */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.domain-item {
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .domain-item {
  background-color: rgba(20, 20, 20, 0.03);
  border-color: rgba(20, 20, 20, 0.1);
}

.domain-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .domain-title {
  border-color: rgba(20, 20, 20, 0.15);
}

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

.domain-list li {
  font-size: 0.85rem;
  line-height: 1.6;
  padding: 8px 0;
  opacity: 0.8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .domain-list li {
  border-color: rgba(20, 20, 20, 0.05);
}

.domain-list li:last-child {
  border-bottom: none;
}

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

@media (max-width: 768px) {
  .domain-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .domain-item {
    padding: 25px 20px;
  }
}

/* ========================================
   カテゴリータグ
   ======================================== */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.category-tag {
  padding: 12px 24px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

[data-theme="light"] .category-tag {
  border-color: rgba(20, 20, 20, 0.3);
}

.category-tag:hover {
  background-color: var(--text);
  color: var(--bg);
}

@media (max-width: 768px) {
  .category-tags {
    gap: 10px;
  }
  
  .category-tag {
    padding: 10px 16px;
    font-size: 0.8rem;
  }
}

/* ========================================
   関連サービス
   ======================================== */
.related-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.related-service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

[data-theme="light"] .related-service-item {
  border-color: rgba(20, 20, 20, 0.15);
}

.related-service-item:hover {
  background-color: var(--text);
  color: var(--bg);
}

.related-service-name {
  font-size: 1rem;
  font-weight: 700;
}

.related-service-item svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.related-service-item:hover svg {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .related-services {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .related-service-item {
    padding: 20px;
  }
}
/* ========================================
   開発事例カード
   ======================================== */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.case-study-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.4s ease;
}

[data-theme="light"] .case-study-card {
  background-color: rgba(20, 20, 20, 0.02);
  border-color: rgba(20, 20, 20, 0.08);
}

.case-study-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

[data-theme="light"] .case-study-card:hover {
  border-color: rgba(20, 20, 20, 0.2);
}

.case-study-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 画像エリア */
.case-study-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .case-study-card-image {
  background-color: rgba(20, 20, 20, 0.05);
}

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

.case-study-card:hover .case-study-card-image img {
  transform: scale(1.05);
}

/* カテゴリラベル */
.case-study-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background-color: var(--text);
  color: var(--bg);
}

/* コンテンツエリア */
.case-study-card-body {
  padding: 30px;
}

.case-study-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 15px;
  transition: opacity 0.3s ease;
}

.case-study-card:hover .case-study-card-title {
  opacity: 0.7;
}

.case-study-card-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.7;
  margin-bottom: 20px;
}

/* タグ */
.case-study-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.case-study-card-tags span {
  padding: 5px 12px;
  font-size: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0.8;
  transition: all 0.3s ease;
}

[data-theme="light"] .case-study-card-tags span {
  border-color: rgba(20, 20, 20, 0.15);
}

/* 外部リンクボタン */
.case-study-card-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--text);
  transition: all 0.3s ease;
}

.case-study-card-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-card-more {
  padding-left: 10px;
}

.case-study-card:hover .case-study-card-more svg {
  transform: translate(3px, -3px);
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .case-study-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .case-study-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .case-study-card-body {
    padding: 25px;
  }
  
  .case-study-card-title {
    font-size: 1.05rem;
  }
  
  .case-study-card-desc {
    font-size: 0.85rem;
  }
}

/* ========================================
   LINEミニアプリとは セクション
   ======================================== */
.about-line-mini {
  padding: 50px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .about-line-mini {
  background-color: rgba(20, 20, 20, 0.03);
  border-color: rgba(20, 20, 20, 0.1);
}

.about-line-mini-content p {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 40px;
}

.about-line-mini-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.about-line-mini-point {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.about-line-mini-point-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
}

.about-line-mini-point p {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 0;
}

.about-line-mini-point p span {
  font-weight: 400;
  font-size: 0.8rem;
  opacity: 0.7;
  display: block;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .about-line-mini {
    padding: 30px 25px;
  }
  
  .about-line-mini-points {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* ========================================
   できること 機能カードグリッド
   ======================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.feature-card {
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

[data-theme="light"] .feature-card {
  background-color: rgba(20, 20, 20, 0.02);
  border-color: rgba(20, 20, 20, 0.08);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

[data-theme="light"] .feature-card:hover {
  border-color: rgba(20, 20, 20, 0.2);
}

.feature-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

.feature-card-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-card-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  opacity: 0.75;
  margin-bottom: 20px;
}

.feature-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-card-tags span {
  padding: 4px 10px;
  font-size: 0.65rem;
  background-color: rgba(255, 255, 255, 0.08);
  opacity: 0.8;
}

[data-theme="light"] .feature-card-tags span {
  background-color: rgba(20, 20, 20, 0.08);
}

@media (max-width: 1200px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 25px;
  }
}


/* ========================================
   業種別活用シーン
   ======================================== */
.usecase-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.usecase-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

[data-theme="light"] .usecase-item {
  background-color: rgba(20, 20, 20, 0.02);
  border-color: rgba(20, 20, 20, 0.08);
}

.usecase-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="light"] .usecase-item:hover {
  border-color: rgba(20, 20, 20, 0.15);
}

.usecase-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.usecase-content {
  flex: 1;
}

.usecase-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.usecase-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.75;
}

@media (max-width: 1024px) {
  .usecase-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .usecase-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .usecase-item {
    padding: 25px 20px;
    gap: 15px;
  }
  
  .usecase-icon {
    font-size: 1.5rem;
  }
}

/* ========================================
   SEO対策ページ専用スタイル
   ======================================== */

/* SEO事例グリッド */
.seo-case-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.seo-case-item {
  background-color: rgba(20, 20, 20, 0.03);
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

[data-theme="light"] .seo-case-item {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.seo-case-header {
  padding: 24px 32px;
  background-color: rgba(20, 20, 20, 0.05);
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}

[data-theme="light"] .seo-case-header {
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.seo-case-industry {
  display: inline-block;
  padding: 4px 12px;
  background-color: #141414;
  color: #ffffff;
  font-size: 0.75rem;
  border-radius: 4px;
  margin-bottom: 12px;
}

[data-theme="light"] .seo-case-industry {
  background-color: #ffffff;
  color: #141414;
}

.seo-case-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
}

.seo-case-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.seo-case-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo-case-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: inherit;
  opacity: 0.7;
  padding-left: 12px;
  border-left: 3px solid #141414;
}

[data-theme="light"] .seo-case-label {
  border-left-color: #ffffff;
}

.seo-case-text {
  font-size: 0.95rem;
  line-height: 1.8;
}

.seo-case-results {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.seo-case-results li {
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.seo-case-results li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #141414;
  font-weight: 600;
}

[data-theme="light"] .seo-case-results li::before {
  color: #ffffff;
}

/* 費用ボックス */
.pricing-box {
  background-color: rgba(20, 20, 20, 0.03);
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 32px;
  text-align: center;
}

[data-theme="light"] .pricing-box {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.pricing-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.pricing-label {
  font-size: 1rem;
  opacity: 0.7;
}

.pricing-amount {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pricing-unit {
  font-size: 1.25rem;
  font-weight: 500;
}

.pricing-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-note p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

.pricing-description {
  font-size: 0.95rem;
  line-height: 2;
  opacity: 0.9;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .seo-case-header {
    padding: 20px 24px;
  }
  
  .seo-case-title {
    font-size: 1.1rem;
  }
  
  .seo-case-body {
    padding: 24px;
  }
  
  .pricing-box {
    padding: 32px 24px;
  }
  
  .pricing-amount {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 480px) {
  .seo-case-header {
    padding: 16px 20px;
  }
  
  .seo-case-title {
    font-size: 1rem;
  }
  
  .seo-case-body {
    padding: 20px;
    gap: 20px;
  }
  
  .seo-case-text {
    font-size: 0.9rem;
  }
  
  .seo-case-results li {
    font-size: 0.9rem;
  }
  
  .pricing-box {
    padding: 24px 20px;
  }
  
  .pricing-amount {
    font-size: 2rem;
  }
  
  .pricing-unit {
    font-size: 1rem;
  }
}

/* ========================================
   ウェブ広告運用ページ専用スタイル
   ======================================== */

/* セクション導入文 */
.section-intro {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* 広告プラットフォームグリッド */
.ads-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ads-platform-item {
  background-color: rgba(20, 20, 20, 0.03);
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

[data-theme="light"] .ads-platform-item {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.ads-platform-item:hover {
  border-color: rgba(20, 20, 20, 0.3);
}

[data-theme="light"] .ads-platform-item:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.ads-platform-header {
  padding: 20px 24px;
  background-color: rgba(20, 20, 20, 0.05);
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}

[data-theme="light"] .ads-platform-header {
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ads-platform-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.ads-platform-body {
  padding: 24px;
}

.ads-platform-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.85;
}

.ads-platform-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ads-platform-features li {
  font-size: 0.85rem;
  padding-left: 16px;
  position: relative;
}

.ads-platform-features li::before {
  content: '・';
  position: absolute;
  left: 0;
}

/* 潜在・顕在ニーズ比較 */
.needs-comparison {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.needs-item {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.1);
}

[data-theme="light"] .needs-item {
  border-color: rgba(255, 255, 255, 0.1);
}

.needs-header {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.needs-item--kenzai .needs-header {
  background-color: rgba(20, 20, 20, 0.08);
}

[data-theme="light"] .needs-item--kenzai .needs-header {
  background-color: rgba(255, 255, 255, 0.08);
}

.needs-item--senzai .needs-header {
  background-color: rgba(20, 20, 20, 0.04);
}

[data-theme="light"] .needs-item--senzai .needs-header {
  background-color: rgba(255, 255, 255, 0.04);
}

.needs-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.needs-subtitle {
  font-size: 0.85rem;
  opacity: 0.7;
}

.needs-body {
  padding: 24px;
  background-color: rgba(20, 20, 20, 0.02);
}

[data-theme="light"] .needs-body {
  background-color: rgba(255, 255, 255, 0.02);
}

.needs-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.needs-effective {
  background-color: rgba(20, 20, 20, 0.03);
  border-radius: 6px;
  padding: 16px;
}

[data-theme="light"] .needs-effective {
  background-color: rgba(255, 255, 255, 0.03);
}

.needs-effective-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  opacity: 0.7;
}

.needs-effective-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.needs-effective-list li {
  font-size: 0.9rem;
  padding-left: 20px;
  position: relative;
}

.needs-effective-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-weight: 600;
}

.needs-note {
  font-size: 0.95rem;
  line-height: 2;
  opacity: 0.9;
}

/* 広告運用費用グリッド */
.ads-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.ads-pricing-item {
  background-color: rgba(20, 20, 20, 0.03);
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}

[data-theme="light"] .ads-pricing-item {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.ads-pricing-header {
  padding: 20px 24px;
  background-color: rgba(20, 20, 20, 0.05);
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
}

[data-theme="light"] .ads-pricing-header {
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ads-pricing-condition {
  font-size: 0.9rem;
  line-height: 1.6;
}

.ads-pricing-condition strong {
  font-weight: 600;
}

.ads-pricing-body {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ads-pricing-label {
  font-size: 0.85rem;
  opacity: 0.7;
}

.ads-pricing-amount {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ads-pricing-percent {
  font-size: 3rem;
}

.ads-pricing-unit {
  font-size: 1.1rem;
  font-weight: 500;
}

.ads-pricing-notes {
  margin-bottom: 24px;
}

.ads-pricing-notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ads-pricing-notes li {
  font-size: 0.85rem;
  opacity: 0.7;
}

.ads-pricing-cta {
  font-size: 0.95rem;
  line-height: 1.8;
  padding: 20px 24px;
  background-color: rgba(20, 20, 20, 0.03);
  border-radius: 6px;
  text-align: center;
}

[data-theme="light"] .ads-pricing-cta {
  background-color: rgba(255, 255, 255, 0.03);
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
  .ads-platform-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .needs-comparison {
    grid-template-columns: 1fr;
  }
  
  .ads-pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .ads-pricing-amount {
    font-size: 2rem;
  }
  
  .ads-pricing-percent {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 480px) {
  .ads-platform-header {
    padding: 16px 20px;
  }
  
  .ads-platform-body {
    padding: 20px;
  }
  
  .ads-platform-name {
    font-size: 1rem;
  }
  
  .needs-header {
    padding: 16px 20px;
  }
  
  .needs-body {
    padding: 20px;
  }
  
  .needs-label {
    font-size: 1rem;
  }
  
  .ads-pricing-header {
    padding: 16px 20px;
  }
  
  .ads-pricing-body {
    padding: 24px 20px;
  }
  
  .ads-pricing-amount {
    font-size: 1.75rem;
  }
  
  .ads-pricing-percent {
    font-size: 2rem;
  }
  
  .ads-pricing-unit {
    font-size: 1rem;
  }
}

/* ========================================
   運用・保守ページ専用スタイル
   ======================================== */

/* サポートプラングリッド */
.maintenance-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.maintenance-plan-item {
  background-color: rgba(20, 20, 20, 0.02);
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

[data-theme="light"] .maintenance-plan-item {
  background-color: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.1);
}

.maintenance-plan-item:hover {
  border-color: rgba(20, 20, 20, 0.25);
  transform: translateY(-4px);
}

[data-theme="light"] .maintenance-plan-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

/* おすすめプラン */
.maintenance-plan-item.is-recommended {
  border-color: #141414;
  border-width: 2px;
}

[data-theme="light"] .maintenance-plan-item.is-recommended {
  border-color: #ffffff;
}

.maintenance-plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #141414;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 0 0 6px 6px;
}

[data-theme="light"] .maintenance-plan-badge {
  background-color: #ffffff;
  color: #141414;
}

.maintenance-plan-header {
  padding: 32px 24px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

[data-theme="light"] .maintenance-plan-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.maintenance-plan-item.is-recommended .maintenance-plan-header {
  padding-top: 40px;
}

.maintenance-plan-name {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.maintenance-plan-desc {
  font-size: 0.85rem;
  opacity: 0.7;
}

.maintenance-plan-price {
  padding: 24px;
  text-align: center;
  background-color: rgba(20, 20, 20, 0.03);
}

[data-theme="light"] .maintenance-plan-price {
  background-color: rgba(255, 255, 255, 0.03);
}

.maintenance-plan-amount {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.maintenance-plan-unit {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-left: 4px;
}

.maintenance-plan-body {
  padding: 24px;
}

.maintenance-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.maintenance-plan-features li {
  font-size: 0.9rem;
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}

.maintenance-plan-features li::before {
  position: absolute;
  left: 0;
  font-weight: 600;
  width: 20px;
  text-align: center;
}

.maintenance-plan-features li.is-included::before {
  content: '✓';
  color: #141414;
}

[data-theme="light"] .maintenance-plan-features li.is-included::before {
  color: #ffffff;
}

.maintenance-plan-features li.is-not-included {
  opacity: 0.4;
}

.maintenance-plan-features li.is-not-included::before {
  content: '−';
}

.maintenance-plan-notes {
  margin-bottom: 0;
}

.maintenance-plan-notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.maintenance-plan-notes li {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* スポット料金グリッド */
.spot-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.spot-pricing-item {
  background-color: rgba(20, 20, 20, 0.02);
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.3s ease;
}

[data-theme="light"] .spot-pricing-item {
  background-color: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.1);
}

.spot-pricing-item:hover {
  border-color: rgba(20, 20, 20, 0.25);
}

[data-theme="light"] .spot-pricing-item:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.spot-pricing-header {
  padding: 20px 16px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

[data-theme="light"] .spot-pricing-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.spot-pricing-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 600;
}

.spot-pricing-example {
  font-size: 0.8rem;
  opacity: 0.6;
  line-height: 1.5;
}

.spot-pricing-body {
  padding: 24px 16px;
  background-color: rgba(20, 20, 20, 0.03);
}

[data-theme="light"] .spot-pricing-body {
  background-color: rgba(255, 255, 255, 0.03);
}

.spot-pricing-amount {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.spot-pricing-unit {
  font-size: 0.85rem;
  opacity: 0.8;
  display: block;
  margin-top: 4px;
}

.spot-pricing-notes {
  margin-bottom: 0;
}

.spot-pricing-notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spot-pricing-notes li {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
  .maintenance-plan-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .spot-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .maintenance-plan-amount {
    font-size: 2rem;
  }
  
  .maintenance-plan-header {
    padding: 28px 20px 16px;
  }
  
  .maintenance-plan-item.is-recommended .maintenance-plan-header {
    padding-top: 36px;
  }
  
  .maintenance-plan-body {
    padding: 20px;
  }
  
  .maintenance-plan-name {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 480px) {
  .spot-pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .spot-pricing-item {
    display: flex;
    align-items: stretch;
  }
  
  .spot-pricing-header {
    flex: 1;
    text-align: left;
    border-bottom: none;
    border-right: 1px solid rgba(20, 20, 20, 0.08);
    justify-content: center;
  }
  
  [data-theme="light"] .spot-pricing-header {
    border-right-color: rgba(255, 255, 255, 0.08);
  }
  
  .spot-pricing-body {
    width: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .spot-pricing-amount {
    font-size: 1.5rem;
  }
  
  .maintenance-plan-grid {
    max-width: 100%;
  }
  
  .maintenance-plan-features li {
    font-size: 0.85rem;
  }
}


/* ========================================
   ページネーション
   ======================================== */
.pagination {
  margin-bottom: 80px;
}

.pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-item a,
.pagination-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  font-size: 0.9rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(20, 20, 20, 0.2);
  border-radius: 4px;
  transition: all 0.3s ease;
}

[data-theme="light"] .pagination-item a,
[data-theme="light"] .pagination-item span {
  border-color: rgba(255, 255, 255, 0.2);
}

.pagination-item a:hover {
  background-color: rgba(20, 20, 20, 0.08);
  border-color: rgba(20, 20, 20, 0.4);
}

[data-theme="light"] .pagination-item a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

/* 現在のページ */
.pagination-item span.current {
  background-color: #141414;
  color: #ffffff;
  border-color: #141414;
}

[data-theme="light"] .pagination-item span.current {
  background-color: #ffffff;
  color: #141414;
  border-color: #ffffff;
}

/* 前へ・次へ */
.pagination-item .prev,
.pagination-item .next {
  padding: 0 20px;
}

/* 省略記号 */
.pagination-item .dots {
  border: none;
  min-width: auto;
  padding: 0 8px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .works-card-overlay {
    transform: translateY(0);
    opacity: 1;
    padding: 20px;
  }
  
  .works-card-title {
    font-size: 1rem;
  }
  
  .pagination-list {
    flex-wrap: wrap;
  }
  
  .pagination-item a,
  .pagination-item span {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 480px) {
  .works-card-overlay {
    padding: 16px;
  }
  
  .works-card-client {
    font-size: 0.75rem;
  }
  
  .works-card-title {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  
  .works-card-meta {
    font-size: 0.7rem;
    gap: 12px;
  }
  
  /* モバイルでは省略記号を非表示 */
  .pagination-item .dots {
    display: none;
  }
}
/* ========================================
   お知らせ一覧ページ（page-news.php）
   ======================================== */

/* カテゴリフィルタータブ */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.news-filter-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  font-size: 0.85rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(20, 20, 20, 0.2);
  border-radius: 30px;
  transition: all 0.3s ease;
}

[data-theme="light"] .news-filter-tab {
  border-color: rgba(255, 255, 255, 0.2);
}

.news-filter-tab:hover {
  background-color: rgba(20, 20, 20, 0.08);
  border-color: rgba(20, 20, 20, 0.4);
}

[data-theme="light"] .news-filter-tab:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.news-filter-tab.is-active {
  background-color: #141414;
  color: #ffffff;
  border-color: #141414;
}

[data-theme="light"] .news-filter-tab.is-active {
  background-color: #ffffff;
  color: #141414;
  border-color: #ffffff;
}

/* 記事リスト */
.news-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
}

.news-list-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
  transition: opacity 0.3s ease;
}

[data-theme="light"] .news-list-item {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.news-list-item:first-child {
  border-top: 1px solid rgba(20, 20, 20, 0.1);
}

[data-theme="light"] .news-list-item:first-child {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.news-list-item:hover {
  opacity: 0.7;
}

.news-list-thumbnail {
  flex-shrink: 0;
  width: 160px;
  height: 100px;
  overflow: hidden;
  border-radius: 4px;
  background-color: rgba(20, 20, 20, 0.05);
}

[data-theme="light"] .news-list-thumbnail {
  background-color: rgba(255, 255, 255, 0.05);
}

.news-list-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-list-content {
  flex: 1;
  min-width: 0;
}

.news-list-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-list-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
}

.news-list-date {
  opacity: 0.6;
}

.news-list-category {
  display: inline-flex;
  padding: 2px 10px;
  background-color: rgba(20, 20, 20, 0.08);
  border-radius: 3px;
  font-size: 0.75rem;
}

[data-theme="light"] .news-list-category {
  background-color: rgba(255, 255, 255, 0.08);
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .news-filter {
    gap: 8px;
    margin-bottom: 32px;
  }
  
  .news-filter-tab {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
  
  .news-list {
    margin-bottom: 60px;
  }
  
  .news-list-item {
    gap: 16px;
    padding: 20px 0;
  }
  
  .news-list-thumbnail {
    width: 120px;
    height: 75px;
  }
  
  .news-list-title {
    font-size: 0.95rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  
  .news-list-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
}

@media screen and (max-width: 480px) {
  .news-filter-tab {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  
  .news-list {
    margin-bottom: 48px;
  }
  
  .news-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .news-list-thumbnail {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  
  .news-list-title {
    font-size: 0.9rem;
  }
}

/* ========================================
   page-body（デフォルト固定ページコンテンツ）
   ======================================== */
.page-body {
  width:90%;
  margin-inline:auto;
  margin-bottom: 80px;
  font-size: 1rem;
  line-height: 1.9;
}

.page-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.15);
}

[data-theme="light"] .page-body h2 {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.page-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 36px 0 16px;
}

.page-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 28px 0 12px;
}

.page-body p {
  margin: 0 0 24px;
}

.page-body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.3s ease;
}

.page-body a:hover {
  opacity: 0.7;
}

.page-body ul,
.page-body ol {
  margin: 0 0 24px;
  padding-left: 1.5em;
}

.page-body li {
  margin-bottom: 8px;
}

.page-body ul li {
  list-style: disc;
}

.page-body ol li {
  list-style: decimal;
}

.page-body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 3px solid rgba(20, 20, 20, 0.3);
  opacity: 0.8;
}

[data-theme="light"] .page-body blockquote {
  border-left-color: rgba(255, 255, 255, 0.3);
}

.page-body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
}

.page-body th,
.page-body td {
  padding: 12px 16px;
  border: 1px solid rgba(20, 20, 20, 0.15);
  text-align: left;
  font-size: 0.95rem;
}

[data-theme="light"] .page-body th,
[data-theme="light"] .page-body td {
  border-color: rgba(255, 255, 255, 0.15);
}

.page-body th {
  background-color: rgba(20, 20, 20, 0.05);
  font-weight: 700;
}

[data-theme="light"] .page-body th {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 24px 0;
}

.page-body hr {
  border: none;
  border-top: 1px solid rgba(20, 20, 20, 0.15);
  margin: 40px 0;
}

[data-theme="light"] .page-body hr {
  border-top-color: rgba(255, 255, 255, 0.15);
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .page-body {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 60px;
  }

  .page-body h2 {
    font-size: 1.3rem;
    margin: 36px 0 16px;
  }

  .page-body h3 {
    font-size: 1.15rem;
    margin: 28px 0 12px;
  }

  .page-body th,
  .page-body td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}