  /*
Theme Name: My Original Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: オリジナルテーマです
Version: 1.0
*/
ul li{
	list-style:none;
}
/* === HEADER === */
/* PC時 */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  max-height: 50px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  position: relative;
}

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

.nav-list li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-list li a:hover {
  color: #007acc;
}

.contact-btn {
  background-color: #007acc;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.3s;
  text-align: center;
}

.contact-btn:hover {
  background-color: #005f99;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  width: 30px;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s;
}

/* SP時 */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none;
    z-index: 1000;
    border-radius: 8px;
  }

  .main-nav.active .nav-list {
    display: flex;
  }
}

  /* ヒーローセクション */
.business-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, #f4f4f4 0%, #eaeaea 100%);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #222;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 60px 20px;
  box-sizing: border-box;
}

/* subtle moving background */
.business-background-layer {
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(200,200,200,0.2), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(150,150,150,0.15), transparent 60%);
animation: backgroundMove 20s linear forwards;
z-index: 0;
}
@keyframes backgroundMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-25%, -25%); }
}

/* light grid overlay */
.business-grid-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}

/* content block */
.business-hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 0 20px;
  box-sizing: border-box;
}

.business-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.business-hero-content p {
  font-size: 1.25rem;
  color: #555;
  line-height: 1.8;
}

/* ====== レスポンシブ対応 ====== */

@media (max-width: 1024px) {
  .business-hero-content h1 {
    font-size: 2.4rem;
  }

  .business-hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .business-hero {
    flex-direction: column;
    padding: 80px 20px;
    text-align: center;
  }

  .business-hero-content h1 {
    font-size: 2rem;
  }

  .business-hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .business-hero-content h1 {
    font-size: 1.5rem;
  }

  .business-hero-content p {
    font-size: 0.95rem;
  }
}


.cta-button {
  display: inline-block;
  background: #FFEB00;
  color: #000;
  font-weight: bold;
  padding: 0.6em 1.4em;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.cta-button:hover {
  background: #ffe000;
  transform: translateY(-2px);
}

/* ここまで */
/* サービス */
/*
Theme Name: Digital Hero Theme
Theme URI: https://example.com/
Author: あなたの名前
Description: ユニークなクラスを使って他セクションと干渉しないカード型サービスセクション付きWordPressテーマ。
Version: 1.3
*/

/* Service Section v3 - Unique Styles */
.id-service-v3 {
  padding: 120px 5vw;
  background: #ffffff;
  color: #111;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.id-service-v3-bg-circles svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.id-service-v3-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
}

.id-service-v3-header h2 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.id-service-v3-header h2 span {
  color: #007AFF;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.id-service-v3-header p {
  font-size: 1.1rem;
  color: #555;
  margin-top: 1rem;
}

.id-service-v3-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.id-service-v3-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 25px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border: 1px solid #eee;
}

.id-service-v3-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.id-service-v3-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #007aff;
}

.id-service-v3-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.2rem;
}

.id-service-v3-card a {
  color: #007aff;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px solid #007aff;
}
.id-glass-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blur-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  mix-blend-mode: screen; /* ← 透過と光感を出す */
}
.id-service-v3 {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* iOS対応 */
}
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

.infinite-text-loop {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.scroll-track {
  display: flex;
  width: max-content;
  animation: slideLoop 40s linear infinite; /* ← 速度を2倍以上にゆっくりに */
}

.scroll-track span {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 500;
  white-space: nowrap;
  padding-right: 4rem;
 color: #f0f0f0; /* 落ち着いた黒 */
  letter-spacing: 0.06em;
  text-transform: none;
}


@keyframes slideLoop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}



  
  /* 制作実績セクション */


/* --- Works Section Advanced Centered --- */

.works-section-grid {
  display: flex;
  justify-content: center;
  gap: 4vw;
  align-items: flex-start;
  padding: 80px 5vw;
  position: relative;
  background: #f9f9fb;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.works-section-grid.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.works-left {
  flex: 0 0 auto;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.works-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: 'Dancing Script', cursive;
  font-size: 6vw;
  color: #f0f0f0;
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.works-description {
  font-size: 1rem;
  color: #555;
  margin-top: 20px;
  text-align: center;
  max-width: 240px;
}

.works-right {
  flex: 0 0 auto;
  max-width: 40%;
  display: flex;
  justify-content: center;
	overflow:hidden;
}

.mini-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 160px);
  justify-content: center;
  gap: 16px;
  padding: 20px;
}

.work-card-mini {
  width: 160px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-size: 0.85rem;
  flex: 0 0 auto;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.work-card-mini.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.work-card-mini:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}

.work-card-mini .thumb {
  aspect-ratio: auto;
  overflow: hidden;
}

.work-card-mini .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-card-mini .meta {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0.8rem 0;
  font-size: 0.75rem;
  color: #888;
}

.work-card-mini .label {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 16px;
  background: #e6e6e6;
  color: #333;
  white-space: nowrap;
}
.label.purple {
  background: #eee2fb;
  color: #8236c2;
}
.label.yellow {
  background: #fff7d9;
  color: #a78b00;
}

.work-card-mini .title {
  font-size: 1rem;
  padding: 0.8rem;
  color: #222;
  font-weight: 500;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.4;
  text-align: center;
}
.works-swiper-mini .swiper-slide {
  width: 100% !important;
  flex-shrink: 0;
  box-sizing: border-box;
}
.works-swiper-mini .swiper-wrapper {
  display: flex;
}

/* Swiper Custom Nav - Material Style */
.works-swiper-mini .swiper-button-prev,
.works-swiper-mini .swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #007aff;
  z-index: 10;
}
.works-swiper-mini .swiper-button-prev {
  left: -60px;
}
.works-swiper-mini .swiper-button-next {
  right: -60px;
}
.works-swiper-mini .swiper-button-prev::after,
.works-swiper-mini .swiper-button-next::after {
  font-size: 20px;
}

.works-swiper-mini .swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
  margin: 0 4px;
}
.works-swiper-mini .swiper-pagination-bullet-active {
  background: #007aff;
}

@media (max-width: 768px) {
  .works-section-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .works-left,
  .works-right {
    max-width: 100%;
  }
  .works-label {
    writing-mode: horizontal-tb;
    font-size: 2.5rem;
  }
	@media (max-width: 1024px) {
  .works-left,
  .works-right {
    max-width: 100%;
    width: 100%;
  }

  .works-section-grid {
    flex-direction: column;
    align-items: center;
    padding: 60px 4vw;
  }

  .mini-work-grid {
    grid-template-columns: repeat(2, 1fr); /* タブレットは2列 */
  }

  .works-label {
    writing-mode: horizontal-tb;
    font-size: 2rem;
    text-align: center;
    color: #e0e0e0;
  }
}

@media (max-width: 600px) {
  .mini-work-grid {
    grid-template-columns: repeat(2, 1fr); /* スマホは1列 */
    gap: 12px;
    padding: 10px;
  }

  .work-card-mini {
    width: 100%;
  }
}

/*   .mini-work-grid {
    grid-template-columns: 1fr 1fr;
  } */
	
  .works-swiper-mini .swiper-button-prev,
  .works-swiper-mini .swiper-button-next {
    display: none;
  }
}
.works-swiper-mini .swiper-button-prev,
.works-swiper-mini .swiper-button-next {
  background: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  color: #007aff;
}

.works-swiper-mini .swiper-button-prev::after,
.works-swiper-mini .swiper-button-next::after {
  font-size: 18px;
}


  /* 実績表示 */
.achievements-section {
  position: relative;
  overflow: hidden;
  height: 500px;
  background: #0e0e0e;
  color: #fff;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
}

.background-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
}

.background-slider .swiper-slide {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-slider img {
  height: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.08;
  filter: grayscale(100%) brightness(150%);
  margin-right: 40px;
  transition: transform 0.3s ease;
}

.background-slider img:hover {
  transform: scale(1.05);
}

.achievement-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6vw;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 1200px;
  pointer-events: none;
  flex-wrap: wrap;
}

.stat-block {
  text-align: center;
  min-width: 120px;
  flex: 1 1 160px;
}

.stat-block .label {
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 600;
  color: #ccc;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.stat-block .number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #ffda00;
  line-height: 1.2;
}

.stat-block .caption {
  font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  color: #bbb;
  margin-top: 0.3rem;
}

/* 🔁 レスポンシブ調整 */
@media (max-width: 768px) {
  .achievements-section {
    height: auto !important;
    padding: 3rem 1rem;
  }

  .achievement-overlay {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
    position: static; /* fixedだと消える可能性がある場合 */
    transform: none;
    top: auto;
    left: auto;
  }

  .stat-block {
    width: 100%;
    text-align: center;
  }

  .stat-block .label,
  .stat-block .number,
  .stat-block .caption {
    font-size: 1rem;
    color: #fff;
  }
}

  
  /* マーケティングセクション */
 .marketing-stats {
  background: #e9f3f8; /* 薄いグレーがかった水色 */
  padding: 80px 20px;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  position: relative;
  overflow: hidden;
}

.marketing-stats .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.stats-text {
  flex: 1 1 50%;
  min-width: 300px;
}

.stats-text h2 {
  font-size: 2.2rem;
  color: #1c3f5e; /* ネイビーブルー系 */
  margin-bottom: 1.2rem;
  line-height: 1.4;
  font-weight: 700;
  border-left: 6px solid #007bff;
  padding-left: 1rem;
}

.stats-text p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  background: linear-gradient(to right, #007bff, #0056b3);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 123, 255, 0.25);
}

.stats-graph {
  flex: 1 1 40%;
  min-width: 260px;
  text-align: center;
  border-radius: 50%;
  padding: 20px;
}

.stats-graph canvas {
  width: 100% !important;
  height: auto !important;
}

@media (max-width: 768px) {
  .marketing-stats .container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .stats-text h2 {
    font-size: 1.6rem;
    border-left: none;
    padding-left: 0;
  }

  .cta-button {
    margin-top: 1rem;
  }
}


    /* メディアアイコンセクション */
.media-circle-container {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

.media-rotating-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotateCircle 20s linear infinite;
  transform-origin: center;
}

.logo {
  position: absolute;
  transform: translate(-50%, -50%);
  text-align: center;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: contain;
}

.logo p {
  font-size: 0.75rem;
  color: #333;
  margin-top: 4px;
}

.center-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  font-weight: bold;
  font-size: 1.2rem;
  color: #007bff;
}

@keyframes rotateCircle {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
  .media-circle-container {
    width: 80vw;
    aspect-ratio: 1 / 1; /* これが超重要！ */
    max-width: 360px;
    margin: 0 auto;
    position: relative;
  }

  .media-rotating-ring {
    width: 100%;
    height: 100%;
    transform-origin: center center;
  }

  .logo {
    top: 50%;
    left: 50%;
    transform-origin: center center;
  }
}

  /* Newsセクション */
.news-section {
  background: #f9fafc;
  padding: 80px 20px;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.news-title {
  text-align: center;
  font-size: 2rem;
  color: #1c3f5e;
  font-weight: 700;
  margin-bottom: 2.5rem;
  line-height: 1.4;
}

.news-title span {
  display: block;
  font-size: 1rem;
  color: #007bff;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
  font-weight: 600;
  text-transform: uppercase;
}

.news-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.news-tabs button {
  background: #e3ecf5;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  color: #333;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-tabs button.active,
.news-tabs button:hover {
  background: #007bff;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.news-card {
  background: #fff;
  padding: 1.5rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

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

.news-card .meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.8rem;
}

.news-card .label {
  background: #007bff;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-weight: 600;
}

.news-card .title {
  font-size: 1.05rem;
  color: #222;
  font-weight: 600;
  line-height: 1.5;
}

.news-card .arrow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  font-size: 1.2rem;
  color: #007bff;
  font-weight: bold;
  transition: transform 0.2s ease;
}

.news-card:hover .arrow {
  transform: translateX(4px);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .news-tabs {
    flex-direction: column;
    align-items: center;
  }

  .news-card .arrow {
    right: 1rem;
    bottom: 0.8rem;
  }
}

  /* Contact */
.contact-section {
    background: #fff200;
    padding: 60px 20px;
  }
  .contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
  }
  .contact-text {
    flex: 1;
  }
  .contact-text h2 {
    font-size: 1.8rem;
    color: #333;
  }
  .contact-text .highlight {
    color: #3b40ff;
    font-weight: bold;
  }
  .contact-text .lead {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 1rem 0;
    color: #2c2c2c;
  }
  .contact-text .desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .contact-buttons a {
    display: inline-block;
    margin-right: 1rem;
    padding: 0.6em 1.2em;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
  }
  .btn-black {
    background: #000;
    color: #fff;
  }
  .btn-purple {
    background: #6c4caf;
    color: #fff;
  }
  .contact-text .hours {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #333;
  }
  .contact-illustration img {
    max-width: 300px;
  }
  
  /* Footer */
  .site-footer {
    background: #2e2e2e;
    color: #fff;
    padding: 40px 20px 20px;
  }
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .footer-brand .logo {
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }
  .footer-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
  }
  .footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
  }
  .footer-bottom {
    border-top: 1px solid #444;
    margin-top: 2rem;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
  }
  .scroll-top {
    color: #aaa;
  }
  .footer-meta a {
    color: #aaa;
    text-decoration: none;
  }
/*  works  */
.works-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.section-title span {
  color: #3B40FF;
  font-size: 1.5rem;
  font-weight: bold;
}

.section-title {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #666;
}

.swiper-slide {
  flex-shrink: 0;
}

.work-card {
  background: #F5F5F5;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  text-align: left;
  transition: all 0.2s ease;
  height: 100%; /* 高さが不揃いにならないように */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
	width:30%;
}
.work-card .thumb img {
  width: 40%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* スマホ・タブレット（〜768px）では全幅表示 */
@media screen and (max-width: 768px) {
  .work-card .thumb img {
    width: 100%;
  }
}


.work-card .meta {
  margin-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #888;
}

.label {
  font-size: 0.7rem;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  font-weight: bold;
}

.label.purple {
  background: #6A2DFF;
  color: #fff;
}
.label.yellow {
  background: #FFEB00;
  color: #000;
}
.label.gray {
  background: #ddd;
  color: #333;
}

.work-card .title {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #333;
  font-weight: 500;
}

/* スライダーコンテンツ */
.achievements-section {
  position: relative;
  overflow: hidden;
  background: #000;
  padding: 80px 20px;
  color: #fff;
}

/* 背景画像スライダー */
.background-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.background-slider .swiper-slide {
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.background-slider img {
  height: 500px;
  object-fit: cover;
  opacity: 0.15;
  margin-right: 40px;
}

/* 実績表示 */
.achievement-stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 5rem;
  align-items: center;
  flex-wrap: wrap;
}

.stat-block {
  text-align: center;
  color: #fff;
}

.stat-block .label {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.stat-block .number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffeb00;
}

.stat-block .number span {
  font-size: 3.2rem;
}

.stat-block .caption {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 0.3rem;
}
.achievements-section {
  position: relative;
  overflow: hidden;
  background: #000;
  padding: 80px 20px;
  color: #fff;
}

.background-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
}

.background-slider img {
  height: 500px;
  opacity: 0.1;
  object-fit: contain;
  margin-right: 40px;
}

.achievement-stats {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 5rem;
  align-items: center;
  flex-wrap: wrap;
}


.media-heading small {
  display: block;
  font-size: 0.95rem;
  color: #444;
  margin-top: 0.8rem;
}

.media-logos {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.media-logos div {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.85rem;
  color: #333;
}

.media-logos img {
  width: 50px;
  height: auto;
  margin-bottom: 0.5rem;
}
.news-section {
  background: #f9f9f9;
  padding: 80px 20px;
}

.news-title span {
  color: #3B40FF;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 0 #FFEB00;
}

.news-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #666;
}

.news-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.news-tabs button {
  padding: 0.6em 1.4em;
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #fff;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.news-tabs button.active {
  background: #3B40FF;
  color: #fff;
  border-color: #3B40FF;
}

.news-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.news-card {
  background: #fff;
  border: 1px solid #ddd;
  border-left: 4px solid #3B40FF;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: 0.2s;
}

.news-card:hover {
  border-color: #FFEB00;
}

.news-card .meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #888;
}

.news-card .label {
  background: #3B40FF;
  color: #fff;
  padding: 0.2em 0.6em;
  border-radius: 6px;
  font-size: 0.75rem;
}

.news-card .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-card .title {
  font-size: 1rem;
  color: #222;
  font-weight: 500;
}

.news-card .arrow {
  font-size: 1.2rem;
  color: #3B40FF;
  transition: 0.2s;
}

.news-card .arrow:hover {
  transform: translateX(4px);
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.label.purple { background: #6A2DFF; color: #fff; }
.label.yellow { background: #FFEB00; color: #000; }
.label.gray   { background: #ccc; color: #333; }
/* works一覧*/
/* ヘッダー部分 */
.works-hero {
  position: relative;
  background: #f9f9f9;
  padding: 60px 20px 100px;
  text-align: left;
  overflow: hidden;
}
.works-heading {
  position: relative;
  z-index: 1;
}
.works-heading h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #3B40FF;
}
.works-heading .sub {
  font-size: 1rem;
  color: #222;
}
.works-heading .breadcrumb {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #888;
}
.works-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}
.works-bg img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 一覧部分 */
.works-hero {
  position: relative;
  background: #f9f9f9;
  padding: 60px 20px 100px;
  text-align: left;
  overflow: hidden;
}
.works-heading h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #3B40FF;
}
.works-heading .sub {
  font-size: 1rem;
  color: #222;
}
.works-heading .breadcrumb {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #888;
}
.works-bg {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}
.works-bg img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.works-tabs {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.works-tabs button {
  padding: 0.6em 1.4em;
  border-radius: 999px;
  border: 1px solid #3B40FF;
  background: #fff;
  font-weight: bold;
  color: #3B40FF;
  cursor: pointer;
}
.works-tabs button.active {
  background: #3B40FF;
  color: #fff;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.work-card {
  display: none;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.work-card.show {
  display: block;
}
.work-card .thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}
.work-card .meta {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #888;
  display: flex;
  justify-content: space-between;
}
.work-card .title {
  font-weight: bold;
  margin-top: 0.4rem;
  font-size: 1rem;
}
.work-card .desc {
  font-size: 0.9rem;
  color: #444;
  margin-top: 0.4rem;
}

.more-button-container {
  text-align: center;
  margin-top: 2rem;
}
.more-button {
  background: #FFEB00;
  padding: 0.6rem 1.6rem;
  border: none;
  border-radius: 999px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
}
/* エディター */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-weight: bold;
  line-height: 1.4;
  margin: 2em 0 1em;
  color: #222;
}

.entry-content h1 { font-size: 2rem; }
.entry-content h2 { font-size: 1.6rem; border-left: 4px solid #3B40FF; padding-left: 0.6em; }
.entry-content h3 { font-size: 1.3rem; }
.entry-content h4 { font-size: 1.1rem; }
.entry-content h5 { font-size: 1rem; }
.entry-content h6 { font-size: 0.95rem; }

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

.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}

.entry-content ul li {
  list-style: disc;
}

.entry-content ol li {
  list-style: decimal;
}

.entry-content blockquote {
  margin: 2em 0;
  padding: 1em 1.5em;
  border-left: 4px solid #ccc;
  background: #f9f9f9;
  font-style: italic;
  color: #555;
}

.entry-content a {
  color: #3B40FF;
  text-decoration: underline;
}

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

.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
  border-radius: 8px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
}

.entry-content table th,
.entry-content table td {
  border: 1px solid #ddd;
  padding: 0.8em;
  text-align: left;
}

.entry-content table th {
  background: #f5f5f5;
  font-weight: bold;
}
/* メタ情報リスト */
.ad-meta ul,
.ad-stats ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ad-meta li,
.ad-stats li {
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 15px;
}

.ad-meta li:last-child,
.ad-stats li:last-child {
  border-bottom: none;
}
/* 広告 */
/* 見出し */
.single-ad-result h2 {
  font-size: 22px;
  margin-bottom: 16px;
  border-left: 4px solid #007acc;
  padding-left: 10px;
  color: #007acc;
}

/* 画像表示 */
.ad-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* PDFボタン */
.ad-pdf a {
  display: inline-block;
  padding: 10px 16px;
  background: #007acc;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.ad-pdf a:hover {
  background: #005b99;
}

/* テキストエリア */
.ad-overview {
  font-size: 15px;
}
.single-ad-result {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Helvetica Neue', 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.6;
}
.blurred-image {
  max-width: 100%;
  height: auto;
filter: blur(5px); /* ←ここでブラー強度調整 */
}
/* セクション共通 */
.single-ad-result section {
  margin-bottom: 40px;
  padding: 24px;
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/*ブログ  */
.blog-list.container {
  max-width: 960px;
  margin: 60px auto;
  padding: 0 20px;
}

.blog-title {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
  color: #2c3e50;
	
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
justify-content:center;
}

.blog-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s;
	    width: 300px;

}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card h2 {
  font-size: 18px;
  color: #007acc;
}

.blog-card .excerpt {
  font-size: 14px;
  color: #555;
  margin: 10px 0;
}

.readmore {
  font-size: 13px;
  color: #007acc;
}
/*works  */
.works-filter-section {
  background: #f9f9fb;
  padding: 80px 20px;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.works-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.works-tabs button {
  background: #e0e8f0;
  color: #333;
  border: none;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.works-tabs button:hover,
.works-tabs button.active {
  background: #007bff;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.work-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.woeks-thumb img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.woeks-meta {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 1rem 0;
  font-size: 0.8rem;
  color: #777;
}

.woeks-meta .label {
  background: #007bff;
  color: #fff;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: bold;
}

.woeks-meta .date {
  font-size: 0.75rem;
  color: #999;
}

.works-card {
  display: flex;
  align-items: flex-start;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 0.85rem;
}

.works-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.works-thumb {
  width: 30%;
  flex-shrink: 0;
}

.works-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
aspect-ratio:auto;
}

.works-content {
  padding: 12px;
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.works-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 6px;
}

.works-meta .label {
  background-color: #f3f4f6;
  color: #374151;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
}

.works-meta .date {
  font-size: 0.7rem;
  color: #9ca3af;
  white-space: nowrap;
}

.works-card .title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.4;
}


.works-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px 0;
  font-size: 0.75rem;
  color: #6b7280;
}

.works-meta .label {
  background-color: #f3f4f6;
  color: #374151;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
}

.works-meta .date {
  font-size: 0.7rem;
  color: #9ca3af;
  white-space: nowrap;
}

.works-card .title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
  padding: 8px 12px 12px;
  line-height: 1.4;
  margin: 0;
  flex-grow: 1;
}

.works-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 0;
  font-size: 0.85rem;
  color: #6b7280; /* グレー系で落ち着き感 */
}

.works-meta .label {
  background-color: #f3f4f6;
  color: #374151;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.works-meta .date {
  font-size: 0.75rem;
  color: #9ca3af;
}

.works-card .title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  padding: 12px 16px 16px;
  line-height: 1.4;
  margin: 0;
  flex-grow: 1;
}

/* More View ボタン */
.more-button-container {
  text-align: center;
  margin-top: 3rem;
}

.more-button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.more-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.more-button span {
  margin-left: 0.4rem;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .works-tabs {
   display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列にする */
    gap: 10px;  /* 列間・行間の余白 */
    justify-items: center; /* 中央寄せしたい場合 */
  }

  .works-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
.works-card {
  display: none;
}
.works-card.show {
  display: flex; /* または grid / block など、カードの構造に応じて */
}
@media (max-width: 768px) {
  .works-card {
    flex-direction: column;
  }

  .works-thumb {
    width: 100%;
  }

  .works-content {
    width: 100%;
  }
}
/*  */
.case-study-section {
  padding: 60px 5vw;
  background-color: #f7f9fb;
  font-family: 'Helvetica Neue', sans-serif;
}

.case-study-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  background-color: #e0e0e0;
  border: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #007bff;
  color: #fff;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.case-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.case-card:hover {
  transform: translateY(-5px);
}

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

.case-card-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

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

.case-tag {
  display: inline-block;
  background-color: #edf2f7;
  color: #333;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 16px;
  margin-bottom: 8px;
}

.case-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.case-date {
  font-size: 0.85rem;
  color: #888;
}

.no-posts {
  text-align: center;
  color: #c00;
  font-weight: bold;
}
/*  */
.circle-switcher {
	overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  padding: 4vw;
  position: relative;
  flex-wrap: wrap;

}

.circle-left {
  width: 20%;
  min-width: 180px;
	    top: -200px;
    position: relative;
    left:100px;
}
/* スマホ・タブレット時に中央に配置 */
@media (max-width: 768px) {
  .circle-left {
    position: relative;
    left: 90px;
    top: 60px;
    transform: translateX(-50%);
    margin: 0 auto;
  }
}
.circle-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 80px);
  gap: 1rem;
  grid-template-areas:
    "a . b ."
    ". c . d"
    "e . f ."
    ". g . h";
  
  margin-top: 0; /* ← 上に寄せたい場合ここを調整 */
}

.circle-btn:nth-child(1) { grid-area: a; }
.circle-btn:nth-child(2) { grid-area: b; }
.circle-btn:nth-child(3) { grid-area: c; }
.circle-btn:nth-child(4) { grid-area: d; }
.circle-btn:nth-child(5) { grid-area: e; }
/* ... */

/* スマホ表示で横並びに切り替える */
@media (max-width: 768px) {
  .circle-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.circle-btn {
  width: 60px;
  height: 60px;
  border: 2px solid #000;
  border-radius: 50%;
  background: #fff;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  text-align: center;
  cursor: pointer;
}

/* PCではボタンを大きくする */
@media (min-width: 769px) {
  .circle-btn {
    width: 90px;
    height: 90px;
    font-size: 12px;
  }
}

.circle-btn img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.circle-btn.active {
  background: #000;
  color: #fff;
}

.circle-content {
  position: relative; /* 必須 */
  width: 100vh;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #f9f9f9;
  margin-left: auto;
  transform: translateX(40%);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .circle-content {
   
    transform: translateX(0) translateY(-80px); /* ← 上方向にずらす */

  }
}
.lottie-box2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 95%;       /* ← 最大まで広げるならここを95〜100% */
  height: 95%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  overflow: hidden;
}

.service-detail-wrapper {
  position: absolute;
  left: 25%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 400px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 24px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  transition: all 0.3s ease-in-out;
}
@media (max-width: 768px) {
  .service-detail-wrapper {
    position: static;
    transform: none;
    width: 90%;
    margin: 0 auto;
    padding: 16px;
  }
}
/* コンテンツ自体は非表示 → activeで表示 */
.service-detail {
  display: none;
}

.service-detail.active {
  display: block;
}
 /* --- 最低限の見た目（必要ならテーマのCSSへ移動） --- */
/* ===== Works (Business-like) ===== */
:root{
  --text:#0f172a;           /* 落ち着いた濃紺系 */
  --muted:#64748b;          /* 補助テキスト */
  --border:#e2e8f0;         /* 薄い枠線 */
  --surface:#ffffff;        /* 背景面 */
  --brand:#1f2937;          /* ボタン等の主色（濃グレー） */
  --brand-ink:#ffffff;      /* ボタン文字色 */
  --badge-bg:#f8fafc;       /* バッジ背景 */
  --badge-ink:#334155;      /* バッジ文字 */
}

.single-works-wrap{
  max-width:1080px;
  margin:48px auto;
  padding:0 20px;
  color:var(--text);
}

/* パンくず */
.works-breadcrumb{
  font-size:.875rem;
  color:var(--muted);
  margin-bottom:12px;
}
.works-breadcrumb a{ color:inherit; text-decoration:none; border-bottom:1px solid transparent; }
.works-breadcrumb a:hover{ border-bottom-color:var(--muted); }

/* ヘッダー */
.works-header{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  align-items:start;
}
.works-thumb img{
  width:100%;
  height:auto;
  border-radius:10px;
  box-shadow:0 2px 10px rgba(15,23,42,.06); /* 控えめ */
}

/* メタ情報 */
.works-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:6px 0 8px;
}
.works-meta .term{
  font-size:.8rem;
  background:var(--badge-bg);
  color:var(--badge-ink);
  border:1px solid var(--border);
  padding:4px 10px;
  border-radius:999px;
}
.works-meta .date{
  font-size:.8rem;
  color:var(--muted);
}

/* タイトル */
.works-title{
  font-size:clamp(1.6rem,2.2vw,2rem);
  font-weight:800;
  letter-spacing:.02em;
  margin:4px 0 10px;
}

/* 導入機能 */
.feature-block{ margin-top:20px; }
.feature-block h3{
  font-size:1.05rem;
  font-weight:700;
  margin-bottom:8px;
}
.feature-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.feature-badges .badge{
  font-size:.8rem;
  background:var(--badge-bg);
  color:var(--badge-ink);
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
}

/* コンテンツ */
.works-content{
  margin-top:28px;
  line-height:1.85;
  color:var(--text);
}

/* CTA */
.works-cta{
  display:flex;
  gap:10px;
  margin:22px 0 0;
}
.works-cta .btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 16px;
  border-radius:8px;
  border:1px solid var(--brand);
  background:var(--brand);
  color:var(--brand-ink);
  font-weight:700;
  text-decoration:none;
  transition:transform .08s ease, box-shadow .08s ease, opacity .08s ease;
}
.works-cta .btn:hover{ transform:translateY(-1px); }
.works-cta .btn:focus-visible{ outline:2px solid #94a3b8; outline-offset:2px; }

.works-cta .btn--ghost{
  background:var(--surface);
  color:var(--text);
  border:1px solid var(--border);
}
.works-cta .btn--ghost:hover{ box-shadow:0 2px 8px rgba(15,23,42,.06); }

/* フッターナビ */
.works-footer{
  margin-top:36px;
  display:flex;
  justify-content:space-between;
  gap:12px;
}
.works-nav a{
  display:inline-block;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:8px;
  text-decoration:none;
  color:var(--text);
}
.works-nav a:hover{ background:#f8fafc; }

/* 関連実績 */
/* 5列の小さめカード */
/* ===== 関連実績：絶対に見切れさせない・小さめカード ===== */

/* まず既存の高さ指定を完全に打ち消す（競合対策） */
.related-item img { height:auto !important; }

/* グリッド：最小160px、PCは5列寄りの密度感 */
.related-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap:10px;
}

/* カード */
.related-item{
  border:1px solid var(--border, #e2e8f0);
  border-radius:8px;
  background:#fff;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
  transition:transform .08s ease, box-shadow .08s ease;
}
.related-item:hover{
  transform:translateY(-1px);
  box-shadow:0 4px 14px rgba(15,23,42,.06);
}

/* 画像枠：高さを固定（ここが“小さめ”の要） */
.related-item .thumb{
  height:220px;                 /* ← PCの見え方をこれで調整（小さめ） */
  background:#f8fafc;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* 画像：等倍縮小で枠に収める（絶対に切り抜かない） */
.related-item .thumb img{
  width:auto !important;        /* 競合対策 */
  height:100% !important;       /* 枠の高さにフィット */
  max-width:100%;
  object-fit:contain;           /* 全体表示（見切れ防止） */
  display:block;
}

/* タイトルも小さめ */
.related-item .cap{
  padding:6px;
  font-size:.8rem;
  line-height:1.35;
  text-align:center;
  min-height:34px;
}

/* 大画面は5列に揃える（さらに小さく見える） */
@media (min-width: 1200px){
  .related-grid{ grid-template-columns: repeat(5, 1fr); }
}

/* タブレット～スマホ */
@media (max-width: 900px){
  .related-grid{ grid-template-columns: repeat(2, 1fr); }
  .related-item .thumb{ height:200px; }
}
@media (max-width: 600px){
  .related-grid{ grid-template-columns: 1fr; }
  .related-item .thumb{ height:180px; }
	
/*  */
	  .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 320px;
  }

  .form-label {
    font-size: 0.9rem;
    color: #64748b; /* muted gray */
    font-weight: 500;
  }

  .custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding: 10px 40px 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.41 0.59L6 5.17 10.59 0.59 12 2l-6 6-6-6z' fill='%236b7280'/%3E%3C/svg%3E") 
                no-repeat right 12px center;
    background-size: 16px;
    font-size: 15px;
    font-family: inherit;
    color: #374151;
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .custom-select:hover {
    border-color: #cbd5e1;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  }

  .custom-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
  }

  /* スマホ対応 */
  @media (max-width: 600px) {
    .custom-select {
      font-size: 14px;
      padding: 8px 36px 8px 10px;
    }
  }