:root {
  --orange: #f97316;
  --vitamin: #facc15;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-light: #999999;
  --bg-white: #ffffff;
  --border-light: #e8e8e8;
  --accent-light: #fafaf9;
  --soft-orange: #fff5f0;
  --soft-yellow: #fffef5;
  --dark-footer: #424242;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 5% 15%, rgba(250, 204, 21, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 95% 85%, rgba(249, 115, 22, 0.06) 0%, transparent 28%),
    radial-gradient(circle at 50% 50%, rgba(250, 204, 21, 0.02) 0%, transparent 50%);
  background-attachment: fixed;
  z-index: -1;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-30px) translateX(15px); opacity: 0.5; }
  50% { transform: translateY(-60px) translateX(0); opacity: 0.3; }
  75% { transform: translateY(-30px) translateX(-15px); opacity: 0.5; }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.25; }
  33% { transform: translateY(-40px) translateX(-20px); opacity: 0.45; }
  66% { transform: translateY(-20px) translateX(20px); opacity: 0.35; }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0); opacity: 0.2; }
  50% { transform: translateY(-50px); opacity: 0.4; }
}

@keyframes bubble1 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-80px) translateX(40px); }
}

@keyframes bubble2 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-100px) translateX(-30px); }
}

@keyframes bubble3 {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-60px) translateX(50px); }
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.header::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(249, 115, 22, 0), rgba(249, 115, 22, 0.8) 20%, rgba(250, 204, 21, 0.7) 50%, rgba(249, 115, 22, 0.8) 80%, rgba(249, 115, 22, 0));
  pointer-events: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  font-weight: 700;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.brand__kana {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
}

.gnav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.gnav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.gnav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.gnav__link:hover,
.gnav__link:focus-visible {
  color: var(--orange);
}

.gnav__link:hover::after,
.gnav__link:focus-visible::after {
  transform: scaleX(1);
}

.gnav__item--cta .gnav__link::after {
  content: none;
}

.gnav__chev {
  font-size: 11px;
  color: var(--text-light);
}

.gnav__item--hasSub {
  position: relative;
}

.subnav {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 200px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  padding: 8px;
  list-style: none;
  margin: 0;
  display: none;
  backdrop-filter: blur(12px);
}

.subnav.is-open {
  display: block;
}

.subnav__link {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
  transition: background 0.15s ease, color 0.15s ease;
}

.subnav__link:hover {
  background: var(--soft-orange);
  color: var(--orange);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.25);
}

.btn--primary {
  background: var(--orange);
  color: white;
}

.btn--primary:hover {
  background: #e85a0f;
}

.btn--ghost {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text-primary);
}

.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--soft-orange);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* Navigation button (mobile) */
.navbtn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background: var(--bg-white);
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.navbtn:hover {
  border-color: var(--orange);
}

.navbtn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
}

/* Link */
.link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 700;
  color: var(--orange);
  font-size: 14px;
  transition: color 0.2s ease;
}

.link:hover {
  text-decoration: underline;
  color: #e85a0f;
}

.link--right {
  white-space: nowrap;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(180deg, var(--soft-yellow) 0%, var(--soft-orange) 50%, var(--bg-white) 100%);
  overflow: visible;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(250, 204, 21, 0.15) 0%, transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(249, 115, 22, 0.1) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(250, 204, 21, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-white) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.hero__label {
  margin: 0 0 20px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  padding-left: 14px;
  position: relative;
}

.hero__label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  transform: translateY(-50%);
  background: var(--vitamin);
}

.hero__label span + span::before {
  content: '/';
  position: absolute;
  left: -8px;
  color: var(--text-light);
}

.hero__title {
  margin: 0 0 16px;
  font-family: 'Noto Serif JP', serif;
  font-size: 52px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-primary);
}

.hero__lead {
  margin: 24px 0;
  max-width: 50ch;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.85;
  font-size: 15px;
}

.hero__lead--sub {
  max-width: 52ch;
  color: var(--text-light);
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero__meta {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.hero__visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero__aside {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 32px 28px;
  max-width: 360px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.hero__aside::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15), transparent 70%);
  pointer-events: none;
}

.hero__asideKicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.hero__asideTitle {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.hero__asideList {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-secondary);
  position: relative;
  z-index: 1;
}

.hero__asideList li {
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.65;
}

.hero__asideList li:first-child {
  border-top: 0;
  padding-top: 0;
}

/* ===== SECTIONS ===== */
.section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.section--alt {
  background: linear-gradient(180deg, #faf8f3 0%, var(--bg-white) 100%);
}

/* About セクション */
#about {
  background: var(--bg-white);
}

/* Service セクション */
#services {
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.28) 0%, rgba(255, 255, 255, 1) 70%, rgba(249, 115, 22, 0.12) 100%);
}

/* News セクション */
#news {
  background: linear-gradient(180deg, var(--soft-yellow) 0%, var(--bg-white) 100%);
}

/* Works セクション */
#works {
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.16) 0%, rgba(250, 204, 21, 0.2) 45%, rgba(255, 255, 255, 1) 100%);
}

/* FAQ セクション */
#faq {
  background: var(--bg-white);
}

.section::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 5%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(250, 204, 21, 0.15), transparent 70%);
  border-radius: 50%;
  animation: bubble1 12s ease-in-out infinite;
  pointer-events: none;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 100px;
  right: 10%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.1), transparent 70%);
  border-radius: 50%;
  animation: bubble2 15s ease-in-out infinite;
  pointer-events: none;
}

.section__head {
  margin-bottom: 48px;
  position: relative;
}

.section__head::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -50px;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at 30% 30%, rgba(250, 204, 21, 0.12), transparent 70%);
  border-radius: 50%;
  animation: bubble3 18s ease-in-out infinite;
  pointer-events: none;
}

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section__kicker {
  margin: 0;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}

.section__title {
  margin: 10px 0 0;
  font-family: 'Noto Serif JP', serif;
  font-size: 38px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section__lead {
  margin: 14px 0 0;
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
}

/* Grid */
.grid {
  display: grid;
  gap: 28px;
}

.grid--2 {
  grid-template-columns: 1fr 1fr;
}

/* Card */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease, top 0.4s ease, right 0.4s ease;
  animation: float1 8s ease-in-out infinite;
}

.card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card:hover::before {
  opacity: 1;
  top: -50px;
  right: -50px;
}

.card--soft {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--soft-yellow) 100%);
  border-color: rgba(250, 204, 21, 0.2);
}

.card--accent {
  border-color: rgba(249, 115, 22, 0.2);
  background: linear-gradient(135deg, var(--soft-orange), var(--soft-yellow));
}

.card__title {
  position: relative;
  display: inline-block;
  padding: 0 18px 0 22px;
  font-weight: 600;
  font-size: 18px;
  z-index: 1;
}

/* メインの斜めプレート */
.card__title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #ffb347,
    #ffd194
  );
  transform: skewX(-20deg);
  z-index: -1;
}

/* 右側の段差アクセント */
.card__title::after {
  content: "";
  position: absolute;
  top: 0;
  right: -45px;          /* 右に出す量（調整） */
  height: 100%;
  width: 40px;           /* 2本＋gap分の全体幅（調整） */
  transform: skewX(-20deg);
  z-index: -1;

  /* 2本を背景で描く */
  background-image:
    linear-gradient(90deg, #ffb347, #ffd194),
    linear-gradient(90deg, #ffb347, #ffd194);
  background-repeat: no-repeat;
  background-size:
    16px 100%,            /* 1本目の幅 */
    16px 100%;            /* 2本目の幅 */
  background-position:
    0 0,
    21px 0;               /* 16px + gap(5px) = 21px */
}

.text {
  margin: 0 0 18px;
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  position: relative;
  z-index: 1;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--vitamin);
  border-radius: 2px;
}

.dl {
  margin: 0;
  position: relative;
  z-index: 1;
}

.dl dt {
  font-weight: 700;
  margin-top: 18px;
  color: var(--text-primary);
  font-size: 14px;
}

.dl dd {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}

.bullets {
  margin: 12px 0 0;
  padding-left: 20px;
  list-style: disc;
  color: var(--text-secondary);
}

.bullets li {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.65;
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.serviceCard {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.serviceCard::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12), transparent 70%);
  opacity: 0;
  transition: all 0.4s ease;
  animation: float2 10s ease-in-out infinite;
}

.serviceCard:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.2);
}

.serviceCard:hover::before {
  opacity: 1;
  top: -50px;
  right: -50px;
}

.serviceCard__top {
  margin: 0 0 10px;
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 4px;
  background: var(--soft-orange);
  border: 1px solid rgba(249, 115, 22, 0.2);
  font-weight: 700;
  font-size: 11px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
}

.serviceCard__topRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.serviceCard__icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 10px;
}

.serviceCard__icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  opacity: .9;
}

.serviceCard__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.serviceCard__text {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.note {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--soft-yellow), var(--soft-orange));
  border: 1px dashed rgba(249, 115, 22, 0.3);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* News */
.news {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.news__item {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 16px 18px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.news__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.news__item:hover {
  background: var(--soft-orange);
  border-color: rgba(249, 115, 22, 0.2);
  transform: translateX(4px);
}

.news__item:hover::before {
  transform: scaleY(1);
}

.news__date {
  color: var(--text-light);
  font-weight: 600;
  white-space: nowrap;
  font-size: 13px;
}

.news__link {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 14px;
  transition: color 0.2s ease;
}

.news__link:hover {
  color: var(--orange);
}

/* Works */
.workCard {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.workCard:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
}

/* =========================
   Works Slick（スライドショー対応）
   ※ トップページとworksページ両対応
   ========================= */

/* Slick初期化前：通常のgrid表示 */
.works--slider:not(.slick-initialized) {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* Slick初期化後：ブロック表示に切り替え */
.works--slider.slick-initialized {
 /* display: block;*/
  display: block !important;
  grid-template-columns: none !important;
}

/* Slick-slider全体 */
.works--slider.slick-slider {
  margin: 0;
  padding: 0;
  margin-bottom: 0;
}

/* slick-list（外枠） */
.works--slider.slick-slider .slick-list {
  margin: 0 -14px;
  overflow: hidden;
}

/* slick-track（スライドを並べるコンテナ） */
.works--slider.slick-slider .slick-track {
  display: flex;
  align-items: stretch;
  margin-bottom: 30px;
}

/* 各スライド */
.works--slider.slick-slider .slick-slide {
  height: auto;
  padding: 0 14px;
  box-sizing: border-box;
}

/* スライド内のdiv（slickが自動生成） */
.works--slider.slick-slider .slick-slide > div {
  height: 100%;
}

/* カード本体 */
.works--slider.slick-slider .workCard {
  height: 390px;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
}

/* カード内のリンク */
.works--slider.slick-slider .workCard__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* カード内部のレイアウト */
.works--slider .workCard__body {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* サムネイル */
.works--slider .workCard__thumb,
.works--slider .workCard__thumb--img {
  height: 200px;
  flex-shrink: 0;
}

/* トップライン（タグ＋キャップ） */
.works--slider .workCard__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

/* タグ */
.works--slider .workCard__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  font-weight: 700;
  font-size: 11px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* キャップ一覧 */
.works--slider .workCaps {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.works--slider .workCaps__cap {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(17, 24, 39, 0.75);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(17, 24, 39, 0.08);
  padding: 4px 8px;
  border-radius: 999px;
}

/* タイトル */
.works--slider .workCard__title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

/* 説明テキスト */
.works--slider .workCard__one {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.6;
}


/* =====================================================
   Slick レスポンシブ
===================================================== */

@media (max-width: 980px) {
  .works--slider:not(.slick-initialized) {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .works--slider:not(.slick-initialized) {
    grid-template-columns: 1fr;
  }
  
  .works--slider.slick-slider .slick-slide {
    padding: 0 8px;
  }
  
  .works--slider.slick-slider .slick-list {
    margin: 0 -8px;
  }
}

/* =====================================================
   制作事例一覧ページ（静的グリッド）
===================================================== */

.worksGrid--portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.worksGrid--portfolio.slick-initialized {
  display: block;
  grid-template-columns: none;
  gap: 0;
}

#works .worksGrid--portfolio.slick-slider {
  margin-bottom: 0;
}

#works .worksGrid.worksGrid--portfolio .workCard__link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#works .worksGrid.worksGrid--portfolio .workCard__thumb {
  height: 200px;
  flex-shrink: 0;
}

#works .worksGrid.worksGrid--portfolio .workCard__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* =====================================================
   共通：WorkCard スタイル
===================================================== */

.workCard__thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--soft-yellow) 0%, var(--soft-orange) 100%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.workCard__thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(250, 204, 21, 0.2), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.15), transparent 45%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 0.6;
    transform: translateY(-10px);
  }
}

.workCard__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.workCard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workCard__title {
  margin: 0;
  padding: 16px 20px 0;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.workCard__meta {
  margin: 4px 20px 8px 20px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 13px;
}

.workCard__text {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.7;
}

/* FAQ */
.faq {
  display: grid;
  gap: 14px;
}

.faq__item {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--bg-white);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq__item:hover {
  border-color: rgba(249, 115, 22, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.faq__q {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  list-style: none;
  font-size: 14px;
  transition: background 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding-left: 36px;
}

.faq__q::before {
  content: 'Q';
  position: absolute;
  left: 14px;
  font-weight: 800;
  color: var(--orange);
  font-size: 16px;
}

.faq__q::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--text-primary);
  border-bottom: 2px solid var(--text-primary);
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__item[open] .faq__q {
  background: var(--soft-orange);
}

.faq__item[open] .faq__q::after {
  transform: rotate(45deg);
}

.faq__a {
  padding: 0 18px 16px 36px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.8;
  background: var(--soft-yellow);
  position: relative;
  padding-left: 36px;
}

.faq__a::before {
  content: 'A';
  position: absolute;
  left: 14px;
  font-weight: 800;
  color: var(--vitamin);
  font-size: 16px;
}

/* CTA */
.cta {
  padding: 90px 0;
  background: linear-gradient(135deg, #fef3e2 0%, #fef8f0 50%, #fffef5 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 10% 50%, rgba(250, 204, 21, 0.1) 0%, transparent 35%),
    radial-gradient(circle at 90% 50%, rgba(249, 115, 22, 0.08) 0%, transparent 35%),
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(250, 204, 21, 0.02) 40px, rgba(250, 204, 21, 0.02) 80px);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta__kicker {
  margin: 0;
  color: var(--orange);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta__title {
  margin: 10px 0 12px;
  font-family: 'Noto Serif JP', serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.3;
}

.cta__text {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.75;
  max-width: 40ch;
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #d8794a 0%, #c4632d 50%, #9d4d1f 100%);
  color: white;
  margin-top: 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer__inner {
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 40px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.footer__logo {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer__brand {
  padding-right: 0;
}

.footer__desc {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.footer__title {
  margin: 0 0 14px;
  font-weight: 700;
  color: white;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer__list a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer__list a:hover {
  color: white;
}

.sns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  font-size: 13px;
}

.sns:hover {
  color: white;
  border-color: var(--vitamin);
  background: rgba(250, 204, 21, 0.1);
}

.sns__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.sns__text {
  font-weight: 700;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottomInner {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    min-height: 280px;
    justify-content: center;
  }

  .hero__title {
    font-size: 38px;
  }

  #about .card .text {
    font-size: 13px;
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section__lead {
    font-size: 13px;
  }

  .works {
    grid-template-columns: 1fr;
  }
  .worksGrid--portfolio:not(.slick-initialized) {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .navbtn {
    display: inline-flex;
    flex-direction: column;
    position: relative;
    z-index: 60;
  }

  .gnav {
    position: fixed;
    top: 60px;          /* ヘッダー分 */
    left: 0;
    right: 0;
    max-height: calc(100vh - 60px);
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.25s ease, visibility 0s linear 0.3s;
    z-index: 50;
    overflow-y: auto;
  }

  .gnav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .gnav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px;
  }

  .gnav__item {
    border-bottom: 1px solid var(--border-light);
  }

  .gnav__item:last-child {
    border-bottom: 0;
  }

  .gnav__link {
    padding: 12px 0;
    margin: 0;
  }

  .gnav__link::after {
    display: none;
  }

  .gnav__item--cta {
    padding-top: 8px;
  }

  .gnav__item--cta .btn {
    width: 100%;
  }

  .gnav__item--hasSub {
    position: relative; /* これも重要 */
  }

  .subnav {
    position: static;
    top: auto;
    left: auto;
    border: 0;
    box-shadow: none;
    padding: 8px 0 8px 16px;
    background: var(--soft-yellow);
    margin: 8px 0;
    border-radius: 6px;
    display: none;
    min-width: auto;
    /*max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;*/
  }

  .subnav.is-open {
    display: block;
    /*max-width: 500px;*/
  }

  .subnav__link {
    margin: 6px 0;
    background: var(--accent-light);
    border: 1px solid var(--border-light);
    border-radius: 4px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .works {
    grid-template-columns: 1fr;
  }
  .worksGrid--portfolio:not(.slick-initialized) {
    grid-template-columns: 1fr;
  }
  
  .worksGrid--portfolio .slick-slide {
    padding: 0 8px; /* SPでは狭めに */
  }
  
  .worksGrid--portfolio .slick-list {
    margin: 0 -8px;
  }
}

/* PC用のサブメニュー（860px以上でのみ適用） */
@media (min-width: 861px) {
  .subnav {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 200px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    padding: 8px;
    list-style: none;
    margin: 0;
    display: none;
    backdrop-filter: blur(12px);
  }

  .subnav.is-open {
    display: block;
  }
}

/* =========================================
   ABOUT PAGE – emphasis & contrast
========================================= */

/* 見出しの存在感を強化 */
#about .section__title {
  font-size: 34px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

#about .section__lead {
  margin-top: 10px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* 左カラム：ストーリー文 */
#about .card .text {
  font-size: 15px;
  line-height: 2;
  color: var(--text-primary);
  margin-bottom: 18px;
}

#about .checklist li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 15px;
  width: 12px;
  height: 12px;
  background: var(--vitamin);
  border-radius: 2px;
}
/* チェックリスト：視認性UP */
#about .checklist li {
  background: rgba(249, 115, 22, 0.08);
  border-left: 4px solid var(--orange);
  padding: 10px 21px;
  border-radius: 6px;
}

/* 右カラム：理念カードを“一段浮かせる” */
#about .card--soft {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.92),
    rgba(255,245,230,0.95)
  );
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

/* プロフィール写真 */
#about img {
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

/* 理念見出し */
#about .card--soft .card__title {
  font-size: 18px;
  margin-bottom: 10px;
}

/* dl を読みやすく */
#about .dl dt {
  font-weight: 800;
  color: var(--orange);
  margin-top: 14px;
}

#about .dl dd {
  margin-top: 6px;
  color: var(--text-secondary);
}

/* バリューの箇条書き */
#about .bullets li {
  position: relative;
  padding-left: 14px;
}

/*#about .bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange);
}*/

/* CTAリンクを目立たせる */
#about .link--right {
  margin-top: 16px;
  display: inline-block;
  font-weight: 700;
  color: var(--orange);
}

#about .link--right:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 980px) {
  #about .section__title {
    font-size: 26px;
  }

  #about img {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* =====================================================
   SERVICE PAGE（tabs）
   ※ <body id="service"> 専用
===================================================== */

/* Hero（service intro） */
/* --- SERVICE：明るめ（今の路線） --- */
body.page-id-24 .serviceHero{
  background: linear-gradient(180deg, var(--soft-yellow) 0%, var(--soft-orange) 55%, var(--bg-white) 100%);
  padding-top: 70px;
}

body.page-id-24 .serviceGuide{
  margin-top: 26px;
}
body.page-id-24 .serviceGuide__list{
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-secondary);
}

/* Tabs wrapper */
body.page-id-24 .serviceTabs__wrap{
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(17,24,39,.06);
  border-radius: 10px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

/* tab buttons */
body.page-id-24 .serviceTabs__bar{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

body.page-id-24 .serviceTabs__tab{
  appearance: none;
  border: 1px solid rgba(17,24,39,.08);
  background: rgba(255,255,255,.7);
  border-radius: 8px;
  padding: 12px 12px;
  font-weight: 800;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

body.page-id-24 .serviceTabs__tab:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  border-color: rgba(249,115,22,.18);
}

body.page-id-24 .serviceTabs__tab.is-active{
  background: linear-gradient(135deg, var(--soft-orange), var(--soft-yellow));
  border-color: rgba(249,115,22,.22);
  color: #3b1b00;
}

/* panels */
body.page-id-24 .serviceTabs__panel{ display: none; }
body.page-id-24 .serviceTabs__panel.is-active{ display: block; }

body.page-id-24 .servicePanel{
  padding: 18px 10px 8px;
}

body.page-id-24 .servicePanel__titleRow{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

body.page-id-24 .servicePanel__title{
  margin: 0;
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

body.page-id-24 .servicePanel__badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  /*border-radius: 999px;*/
  background: rgba(249,115,22,.10);
  border: 1px solid rgba(249,115,22,.18);
  color: var(--orange);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
}

body.page-id-24 .servicePanel__lead{
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.9;
}

body.page-id-24 .servicePanel__grid{
  margin-top: 22px;
}

body.page-id-24 .servicePanel__bottom{
  margin-top: 22px;
  display: grid;
  gap: 16px;
}

body.page-id-24 .servicePanel__cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* totono price */
body.page-id-24 .totonoPrice__main{
  margin: 6px 0 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
body.page-id-24 .totonoPrice__yen{
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
body.page-id-24 .totonoPrice__unit{
  font-size: 12px;
  color: var(--text-light);
  font-weight: 700;
}
body.page-id-24 .totonoPrice__sub{
  margin: 0 0 10px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 980px){
  body.page-id-24 .serviceTabs__bar{ grid-template-columns: 1fr; }
  body.page-id-24 .servicePanel__title{ font-size: 24px; }
}

/* =====================================================
   WORKS PAGE（一覧ページ）
===================================================== */

/* Page Hero */
body.page-works .hero--page {
  padding: 90px 0 70px;
}

body.page-works .hero__inner--page {
  align-items: start;
}

body.page-works .hero__title--page {
  font-size: 44px;
}

/* Category Filter */
body.page-works .worksFilter {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

body.page-works .worksFilter__btn {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background: var(--accent-light);
  font-weight: 700;
  font-size: 13px;
  transition: all .2s ease;
}

body.page-works .worksFilter__btn:hover {
  border-color: rgba(249,115,22,.35);
  background: var(--soft-orange);
}

body.page-works .worksFilter__btn.is-active {
  border-color: rgba(249,115,22,.35);
  background: linear-gradient(135deg, var(--soft-orange), var(--soft-yellow));
}

/* Works Grid */
body.page-works .works--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

#works .worksGrid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* gridの中ではworkCardの横マージンを殺す（これが横に広がる主犯） */
#works .worksGrid .workCard{
  margin: 0;
  height: 100%;
}

/* クリック領域をカード全体に */
#works .worksGrid .workCard__link{
  display: block;
  height: 100%;
}

/* CPT版は body があるので、カード本文の余白を揃える */
#works .worksGrid .workCard__body{
  padding: 16px 20px 20px;
}

/* トップライン（カテゴリ＋cap） */
#works .worksGrid .workCard__topline{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

#works .worksGrid .workCard__tag{
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--orange);
  background: var(--soft-orange);
  border: 1px solid rgba(249,115,22,.2);
  padding: 4px 10px;
  border-radius: 3px;
  white-space: nowrap;
}

#works .worksGrid .workCaps{
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#works .worksGrid .workCaps__cap{
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(17,24,39,.75);
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(17,24,39,.08);
  padding: 4px 8px;
  border-radius: 30px;
}

/* タイトル・本文：CPT版は padding をbody側に寄せるので上書き */
#works .worksGrid .workCard__title{
  padding: 0;
  margin: 0;
}

#works .worksGrid .workCard__one{
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  #works .worksGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px){
  #works .worksGrid{
    grid-template-columns: 1fr;
  }
}
/* =====================================================
   WORKS DETAIL PAGE（事例詳細ページ）
===================================================== */

body.page-worksDetail .hero--case {
  padding: 90px 0 70px;
}

body.page-worksDetail .hero__inner--case {
  grid-template-columns: 1fr 0.9fr;
  align-items: start;
}

body.page-worksDetail .hero__title--case {
  font-size: 40px;
}

body.page-worksDetail .caseHero__media {
  display: flex;
  justify-content: flex-end;
}

body.page-worksDetail .caseHero__thumb {
  width: 100%;
  max-width: 520px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
}

body.page-worksDetail .caseHero__thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.caseSiteLink{
  margin-top: 8px;
}
.caseSiteLink a{
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
}
.caseSiteLink a:hover{
  text-decoration: underline;
}
@media (max-width: 980px) {
  body.page-worksDetail  .hero__inner--case {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* =====================================================
   PORTFOLIO LIST（ポートフォリオ型一覧）
===================================================== */

body.page-works .worksGrid--portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

body.page-works .workCard--portfolio {
  border-radius: 10px;
  overflow: hidden;
}

/* Card Meta */
body.page-works .workCard__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

body.page-works .workCard__one {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
}

/* Category Caps */
body.page-works .workCaps {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.page-works .workCaps__cap {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(17,24,39,.75);
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(17,24,39,.08);
  padding: 4px 8px;
  border-radius: 999px;
}

/* Thumbnail */
body.page-works .workCard__thumb--img {
  height: 240px;
  background: linear-gradient(
    135deg,
    var(--soft-yellow) 0%,
    var(--soft-orange) 100%
  );
}

body.page-works .workCard__thumb--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

@media (max-width: 980px) {
  body.page-works .worksGrid--portfolio {
    grid-template-columns: 1fr;
  }

  body.page-works .workCard__thumb--img {
    height: 210px;
  }
}

/* =====================================================
   FLOW PAGE（独立ページ）
===================================================== */

body#flow .hero--page {
  padding: 90px 0 70px;
}

body#flow .hero__title--page {
  font-size: 44px;
}

/* Flow steps */
.flowSteps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.flowSteps__item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: start;
}

.flowSteps__num {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(17,24,39,.08);
  font-weight: 900;
  letter-spacing: .06em;
  color: rgba(17,24,39,.65);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px; /* ヘッダーの下で止まる */
}

.flowSteps__body {
  padding: 26px 26px 24px;
}

.flowSteps__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.flowSteps__text {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.8;
}

.flowSteps__bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
}

.flowSteps__bullets li {
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.7;
}

.flowCta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .flowSteps__item {
    grid-template-columns: 1fr;
  }

  .flowSteps__num {
    position: static;
    width: 64px;
    height: 64px;
  }

  body#flow .hero__title--page {
    font-size: 36px;
  }
}

/* =====================================================
   COMPANY / CONTACT（ページ別）
===================================================== */

body#company .hero--page,
body#contact .hero--page{
  padding: 90px 0 70px;
}

body#company .hero__title--page,
body#contact .hero__title--page{
  font-size: 44px;
  position: relative;
}

body#company .hero__title--page::after,
body#contact .hero__title--page::after{
  content: '';
  display: block;
  margin-top: 14px;
  width: 56px;
  height: 2px;
  background: currentColor;
  opacity: .25;
}

/* asideの“質感”をページ別に */
body#company .hero__aside{
  background: rgba(255,255,255,.92);
  border-color: rgba(17,24,39,.10);
}
body#contact .hero__aside{
  background: rgba(255,255,255,.95);
  border-color: rgba(249,115,22,.22);
}

/* company table */
body#company .hero{
  background: linear-gradient(180deg, rgba(17,24,39,.04) 0%, rgba(250,204,21,.10) 55%, var(--bg-white) 100%);
}
body#company .section__kicker{ color: rgba(17,24,39,.75); }
body#company .hero__label{ color: rgba(17,24,39,.75); }
body#company .hero__label::before{ background: rgba(17,24,39,.45); }

/* COMPANYだけ：カードの線を少しだけ締める（レイアウト不変） */
body#company .card{
  border-color: rgba(17,24,39,.10);
  box-shadow: 0 10px 28px rgba(17,24,39,.06);
}

.companyDl{ 
  margin:0; 
}
.companyDl__row{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:14px;
  padding:12px 0;
  border-top:1px solid var(--border-light);
}
.companyDl__row:first-child{
  border-top:0; 
  padding-top:0; 
}
.companyDl dt{ 
  font-weight:800; 
  font-size:13px; 
  color:var(--text-primary); 
}
.companyDl dd{ 
  margin:0; 
  font-weight:600; 
  font-size:14px; 
  color:var(--text-secondary); 
  line-height:1.8; 
}

.companyLinks{
  margin:0;
  padding-left:18px;
  display:grid;
  gap:10px;
}

/* contact form */
body#contact .hero{
  background: linear-gradient(180deg, rgba(249,115,22,.18) 0%, rgba(250,204,21,.12) 55%, var(--bg-white) 100%);
}
body#contact .section__kicker{ 
  color: var(--orange); 
}
body#contact .hero__label{ 
  color: var(--orange); 
}
body#contact .hero__label::before{ 
  background: var(--vitamin); 
}
body#contact .contactBox{ 
  padding:28px; 
  border-color: rgba(249,115,22,.18);
  box-shadow: 0 16px 44px rgba(249,115,22,.10);
}

.formGrid{ 
  display:grid; 
  gap:16px; 
}

.field{
   display:grid; 
   gap:8px; 
  }

.field--full{ 
  grid-column:1/-1; 
}

.field__label{ 
  font-weight:800; 
  font-size:13px; 
  color:var(--text-primary); 
}

.field__req{
  margin-left:8px;
  font-size:11px;
  font-weight:900;
  color:#fff;
  background:var(--orange);
  padding:2px 8px;
  border-radius:999px;
}

.field__input,
.field__textarea{
  width:100%;
  border:1px solid var(--border-light);
  border-radius:8px;
  padding:12px 12px;
  font-size:14px;
  font-weight:600;
  outline:none;
  background:rgba(255,255,255,.9);
  transition:border-color .2s ease, box-shadow .2s ease;
}
.field__textarea{ resize:vertical; }
.field__input:focus,
.field__textarea:focus{
  border-color:rgba(249,115,22,.35);
  box-shadow:0 0 0 4px rgba(249,115,22,.10);
}

.formActions{
  margin-top:16px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.formHelp{
  margin:14px 0 0;
  color:var(--text-light);
  font-size:12px;
  line-height:1.8;
}

@media (max-width: 980px){
  body#company .hero__title--page,
  body#contact .hero__title--page{ font-size:36px; }

  .companyDl__row{ grid-template-columns:1fr; gap:6px; }
}

/* =====================================================
   ページ別デザイン強化
   各ページに個性を持たせ、飽きさせないデザインに
===================================================== */

/* =====================================================
   INDEX（トップページ）- 華やかで動きのある印象
===================================================== */
body:not([id]) .hero::before {
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(250, 204, 21, 0.22) 0%, transparent 35%),
    radial-gradient(circle at 85% 75%, rgba(249, 115, 22, 0.18) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(250, 204, 21, 0.06) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* トップページのカードに微細な光沢効果 */
body:not([id]) .card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
  pointer-events: none;
}

body:not([id]) .card:hover::after {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

/* =====================================================
   ABOUT（想い・背景）- 温かみと人間味
===================================================== */
body#about .hero--page {
  background: linear-gradient(
    180deg,
    rgba(255, 243, 224, 0.85) 0%,
    rgba(255, 248, 240, 0.7) 50%,
    var(--bg-white) 100%
  );
}

/* プロフィール写真に額縁効果 */
body#about img {
  border: 8px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(249, 115, 22, 0.1);
  border-radius: 12px;
  transition: all 0.4s ease;
}

body#about img:hover {
  transform: scale(1.02);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(249, 115, 22, 0.2);
}

/* チェックリストに動きをつける */
body#about .checklist li {
  transform: translateX(0);
  transition: all 0.3s ease;
}

body#about .checklist li:hover {
  transform: translateX(8px);
  background: rgba(249, 115, 22, 0.14);
  border-left-width: 6px;
}

/* 理念カードに紙質感 */
body#about .card--soft {
  background: 
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,245,230,0.98)),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(249, 115, 22, 0.015) 2px,
      rgba(249, 115, 22, 0.015) 4px
    );
  box-shadow: 
    0 18px 40px rgba(0,0,0,.1),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

/* =====================================================
   SERVICE（サービス）- プロフェッショナル & モダン
===================================================== */
body#service .hero {
  background: 
    linear-gradient(180deg, 
      rgba(250, 204, 21, 0.08) 0%, 
      rgba(249, 115, 22, 0.06) 55%, 
      var(--bg-white) 100%
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(250, 204, 21, 0.02) 80px,
      rgba(250, 204, 21, 0.02) 160px
    );
}

/* タブボタンにマイクロインタラクション */
body#service .serviceTabs__tab {
  position: relative;
  overflow: hidden;
}

body#service .serviceTabs__tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.1) 0%,
    rgba(250, 204, 21, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

body#service .serviceTabs__tab:hover::before {
  opacity: 1;
}

body#service .serviceTabs__tab.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--orange) 0%,
    var(--vitamin) 100%
  );
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* パネル切り替えにフェードイン効果 */
body#service .serviceTabs__panel.is-active {
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   WORKS（制作事例）- ポートフォリオらしい洗練
===================================================== */
body.page-works .hero--page {
  background: 
    linear-gradient(180deg, 
      rgba(17, 24, 39, 0.04) 0%, 
      rgba(249, 115, 22, 0.08) 50%,
      var(--bg-white) 100%
    );
}

/* 作品カードに奥行き感 */
body.page-works .workCard--portfolio {
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.page-works .workCard--portfolio::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.2),
    rgba(250, 204, 21, 0.2)
  );
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

body.page-works .workCard--portfolio:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(249, 115, 22, 0.1);
}

body.page-works .workCard--portfolio:hover::before {
  opacity: 1;
}

/* サムネイル画像にズーム効果 */
body.page-works .workCard__thumb--img {
  overflow: hidden;
}

body.page-works .workCard__thumb--img img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.page-works .workCard--portfolio:hover .workCard__thumb--img img {
  transform: scale(1.08);
}

/* カテゴリーフィルターにアクティブ状態の強調 */
body.page-works .worksFilter__btn.is-active {
  position: relative;
  box-shadow: 
    0 4px 16px rgba(249, 115, 22, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.page-works .worksFilter__btn.is-active::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.5; transform: translateY(-50%) scale(1.3); }
}

/* =====================================================
   FLOW（ご利用の流れ）- ステップ感を視覚化
===================================================== */
body#flow .hero--page {
  background: 
    linear-gradient(180deg, 
      rgba(250, 204, 21, 0.12) 0%, 
      rgba(249, 115, 22, 0.08) 50%,
      var(--bg-white) 100%
    );
}

/* ステップ番号に立体感 */
.flowSteps__num {
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(250, 245, 235, 0.9) 100%
    );
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 -2px 4px rgba(249, 115, 22, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 28px;
  position: relative;
}

.flowSteps__num::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 7px;
  border: 1px dashed rgba(249, 115, 22, 0.2);
}

/* ステップ間に接続線 */
.flowSteps__item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 37px;
  top: 76px;
  bottom: -18px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(249, 115, 22, 0.3) 0%,
    rgba(250, 204, 21, 0.2) 100%
  );
  z-index: -1;
}

.flowSteps__item {
  position: relative;
}

/* カードの色分け（ステップごとの進行感） */
.flowSteps__item:nth-child(odd) .card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 254, 245, 0.95) 100%
  );
}

.flowSteps__item:nth-child(even) .card--soft {
  background: linear-gradient(
    135deg,
    rgba(255, 250, 240, 0.98) 0%,
    rgba(255, 245, 230, 0.95) 100%
  );
}

/* 最終ステップを強調 */
.flowSteps__item:last-child .card--accent {
  background: linear-gradient(
    135deg,
    rgba(255, 245, 240, 1) 0%,
    rgba(255, 254, 245, 1) 100%
  );
  border: 2px solid rgba(249, 115, 22, 0.3);
  box-shadow: 
    0 20px 50px rgba(249, 115, 22, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* =====================================================
   CONTACT（お問い合わせ）- 安心感と開放感
===================================================== */
body#contact .hero {
  background: 
    linear-gradient(180deg, 
      rgba(249, 115, 22, 0.08) 0%, 
      rgba(250, 204, 21, 0.06) 50%,
      var(--bg-white) 100%
    ),
    radial-gradient(
      circle at 20% 30%,
      rgba(250, 204, 21, 0.08) 0%,
      transparent 50%
    );
}

/* フォームに紙のような質感 */
body#contact .contactBox {
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.98) 0%, 
      rgba(255, 254, 250, 0.95) 100%
    );
  position: relative;
}

body#contact .contactBox::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(249, 115, 22, 0.02) 1px,
      rgba(249, 115, 22, 0.02) 2px
    );
  pointer-events: none;
}

/* 入力フィールドにフォーカス時の演出 */
.field__input:focus,
.field__textarea:focus {
  transform: scale(1.01);
  box-shadow:
    0 0 0 4px rgba(249, 115, 22, 0.12),
    0 8px 24px rgba(249, 115, 22, 0.15);
}

/* 必須バッジに動き */
.field__req {
  animation: reqBlink 2s infinite;
}

@keyframes reqBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* =====================================================
   COMPANY（会社情報）- 信頼感とフォーマル
===================================================== */
body#company .hero {
  background: 
    linear-gradient(180deg, 
      rgba(17, 24, 39, 0.06) 0%, 
      rgba(100, 116, 139, 0.04) 50%,
      var(--bg-white) 100%
    );
}

/* 会社情報テーブルに線の強調 */
.companyDl__row {
  transition: all 0.2s ease;
}

.companyDl__row:hover {
  background: rgba(249, 115, 22, 0.04);
  padding-left: 12px;
  border-left: 3px solid rgba(249, 115, 22, 0.3);
}

/* カードにドキュメント風の影 */
body#company .card {
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* =====================================================
   WORKS DETAIL（事例詳細）- ケーススタディ感
===================================================== */
body.page-worksDetail .hero--case {
  background: 
    linear-gradient(180deg, 
      rgba(249, 115, 22, 0.08) 0%, 
      rgba(250, 204, 21, 0.06) 40%,
      var(--bg-white) 100%
    );
}

/* サムネイルにスポットライト効果 */
body.page-worksDetail .caseHero__thumb {
  position: relative;
  transition: all 0.4s ease;
}

body.page-worksDetail .caseHero__thumb::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(250, 204, 21, 0.15) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.page-worksDetail .caseHero__thumb:hover::before {
  opacity: 1;
}

body.page-worksDetail .caseHero__thumb:hover {
  transform: scale(1.03);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(249, 115, 22, 0.2);
}

/*Deliverables*/
#Deliverables .serviceCard__title {
  font-size: 14px;
  font-weight: 500;
}

/* =====================================================
   共通：セクション装飾のバリエーション
===================================================== */

/* トップページ：大きめのバブル */
body:not([id]) .section::before {
  width: 160px;
  height: 160px;
  animation: bubble1 10s ease-in-out infinite;
}

/* Aboutページ：小さめで控えめ */
body#about .section::before {
  width: 100px;
  height: 100px;
  opacity: 0.6;
}

/* Serviceページ：速めの動き */
body#service .section::before {
  animation: bubble1 8s ease-in-out infinite;
}

/* Worksページ：複数配置 */
body.page-works .section::after {
  width: 140px;
  height: 140px;
  right: 5%;
  animation: bubble2 12s ease-in-out infinite;
}

/* Flowページ：縦長の動き */
body#flow .section::before {
  animation: bubble3 14s ease-in-out infinite;
}

/* Contactページ：左右対称配置 */
body#contact .section::before {
  left: 8%;
  animation: bubble1 11s ease-in-out infinite;
}

body#contact .section::after {
  right: 8%;
  animation: bubble2 13s ease-in-out infinite reverse;
}

/* =====================================================
   ページ別デザイン強化
   各ページに個性を持たせ、飽きさせないデザインに
===================================================== */

/* =====================================================
   INDEX（トップページ）- 華やかで動きのある印象
===================================================== */
body:not([id]) .hero::before {
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(250, 204, 21, 0.22) 0%, transparent 35%),
    radial-gradient(circle at 85% 75%, rgba(249, 115, 22, 0.18) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(250, 204, 21, 0.06) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* トップページのカードに微細な光沢効果（デザインは変えずに演出のみ） */
body:not([id]) .card:hover {
  animation: cardPulse 0.6s ease;
}

@keyframes cardPulse {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(-4px); }
}

/* =====================================================
   ABOUT（想い・背景）- 温かみと人間味
===================================================== */
body#about .hero--page {
  background: linear-gradient(
    180deg,
    rgba(255, 243, 224, 0.85) 0%,
    rgba(255, 248, 240, 0.7) 50%,
    var(--bg-white) 100%
  );
}

/* プロフィール写真に額縁効果（画像のみに適用） */
body#about .card img {
  border: 8px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(249, 115, 22, 0.1);
  border-radius: 12px;
  transition: all 0.4s ease;
}

body#about .card img:hover {
  transform: scale(1.02);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(249, 115, 22, 0.2);
}

/* チェックリストに動きをつける（既存デザインを維持） */
body#about .checklist li {
  transition: all 0.3s ease;
}

body#about .checklist li:hover {
  transform: translateX(4px);
  background: rgba(249, 115, 22, 0.12);
}

/* 理念カードの背景に微細なテクスチャ（デザインは変えない） */
body#about .card--soft {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--soft-yellow) 100%);
  position: relative;
}

body#about .card--soft::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(249, 115, 22, 0.01) 2px,
    rgba(249, 115, 22, 0.01) 4px
  );
  pointer-events: none;
  border-radius: 6px;
}

/* =====================================================
   SERVICE（サービス）- プロフェッショナル & モダン
===================================================== */
body#service .hero {
  background: 
    linear-gradient(180deg, 
      rgba(250, 204, 21, 0.08) 0%, 
      rgba(249, 115, 22, 0.06) 55%, 
      var(--bg-white) 100%
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(250, 204, 21, 0.02) 80px,
      rgba(250, 204, 21, 0.02) 160px
    );
}

/* タブボタンにマイクロインタラクション */
body#service .serviceTabs__tab {
  position: relative;
  overflow: hidden;
}

body#service .serviceTabs__tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.1) 0%,
    rgba(250, 204, 21, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

body#service .serviceTabs__tab:hover::before {
  opacity: 1;
}

body#service .serviceTabs__tab.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--orange) 0%,
    var(--vitamin) 100%
  );
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* パネル切り替えにフェードイン効果 */
body#service .serviceTabs__panel.is-active {
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   WORKS（制作事例）- ポートフォリオらしい洗練
===================================================== */
body.page-works .hero--page {
  background: 
    linear-gradient(180deg, 
      rgba(17, 24, 39, 0.04) 0%, 
      rgba(249, 115, 22, 0.08) 50%,
      var(--bg-white) 100%
    );
}

/* 作品カードのホバー演出（カードデザインは維持） */
body.page-works .workCard--portfolio {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.page-works .workCard--portfolio:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(249, 115, 22, 0.15);
}

/* サムネイル画像にズーム効果 */
body.page-works .workCard__thumb--img {
  overflow: hidden;
}

body.page-works .workCard__thumb--img img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.page-works .workCard--portfolio:hover .workCard__thumb--img img {
  transform: scale(1.08);
}

/* カテゴリーフィルターにアクティブ状態の強調 */
body.page-works .worksFilter__btn.is-active {
  position: relative;
  box-shadow: 
    0 4px 16px rgba(249, 115, 22, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

body.page-works .worksFilter__btn.is-active::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.5; transform: translateY(-50%) scale(1.3); }
}

/* =====================================================
   FLOW（ご利用の流れ）- ステップ感を視覚化
===================================================== */
body#flow .hero--page {
  background: 
    linear-gradient(180deg, 
      rgba(250, 204, 21, 0.12) 0%, 
      rgba(249, 115, 22, 0.08) 50%,
      var(--bg-white) 100%
    );
}

/* ステップ番号に立体感 */
.flowSteps__num {
  background: 
    linear-gradient(135deg, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(250, 245, 235, 0.9) 100%
    );
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.08),
    inset 0 -2px 4px rgba(249, 115, 22, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 28px;
  position: relative;
}

.flowSteps__num::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 7px;
  border: 1px dashed rgba(249, 115, 22, 0.2);
}

/* ステップ間に接続線 */
.flowSteps__item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 37px;
  top: 76px;
  bottom: -18px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(249, 115, 22, 0.3) 0%,
    rgba(250, 204, 21, 0.2) 100%
  );
  z-index: -1;
}

.flowSteps__item {
  position: relative;
}

/* ステップカードの色分け（既存の card/card--soft/card--accent を活用） */
.flowSteps__item:nth-child(5) .card {
  /* 最終ステップのみ card--accent の効果を強化 */
  box-shadow: 
    0 20px 50px rgba(249, 115, 22, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* =====================================================
   CONTACT（お問い合わせ）- 安心感と開放感
===================================================== */
body#contact .hero {
  background: 
    linear-gradient(180deg, 
      rgba(249, 115, 22, 0.08) 0%, 
      rgba(250, 204, 21, 0.06) 50%,
      var(--bg-white) 100%
    ),
    radial-gradient(
      circle at 20% 30%,
      rgba(250, 204, 21, 0.08) 0%,
      transparent 50%
    );
}

/* フォームの背景テクスチャ（カードデザインは変えない） */
body#contact .contactBox::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(249, 115, 22, 0.015) 1px,
      rgba(249, 115, 22, 0.015) 2px
    );
  pointer-events: none;
  opacity: 0.5;
}

/* 入力フィールドにフォーカス時の演出 */
.field__input:focus,
.field__textarea:focus {
  transform: scale(1.01);
  box-shadow:
    0 0 0 4px rgba(249, 115, 22, 0.12),
    0 8px 24px rgba(249, 115, 22, 0.15);
}

/* 必須バッジに動き */
.field__req {
  animation: reqBlink 2s infinite;
}

@keyframes reqBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Contact Form 7：フォーム幅と余白を整える（contactBox内のみ） */
.contactBox .wpcf7{
  max-width: 720px;   /* 好みで 680〜760 で調整 */
  margin: 0 auto;     /* カード中央寄せ */

}

/* 入力欄を横幅いっぱいに */
.contactBox .wpcf7 input[type="text"],
.contactBox .wpcf7 input[type="email"],
.contactBox .wpcf7 input[type="tel"],
.contactBox .wpcf7 input[type="url"],
.contactBox .wpcf7 input[type="number"],
.contactBox .wpcf7 select,
.contactBox .wpcf7 textarea{
  width: 100%;
  box-sizing: border-box;
  border-radius: 5px;
  border: 2px solid #efa36a;
}

/* 送信ボタンも整える（任意） */
.contactBox .wpcf7 input[type="submit"]{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
}


/* =====================================================
   COMPANY（会社情報）- 信頼感とフォーマル
===================================================== */
body#company .hero {
  background: 
    linear-gradient(180deg, 
      rgba(17, 24, 39, 0.06) 0%, 
      rgba(100, 116, 139, 0.04) 50%,
      var(--bg-white) 100%
    );
}

/* 会社情報テーブルに線の強調 */
.companyDl__row {
  transition: all 0.2s ease;
}

.companyDl__row:hover {
  background: rgba(249, 115, 22, 0.04);
  padding-left: 12px;
  border-left: 3px solid rgba(249, 115, 22, 0.3);
}

/* 会社情報カードは既存デザインを維持（追加の装飾なし） */

/* =====================================================
   WORKS DETAIL（事例詳細）- ケーススタディ感
===================================================== */
body.page-worksDetail .hero--case {
  background: 
    linear-gradient(180deg, 
      rgba(249, 115, 22, 0.08) 0%, 
      rgba(250, 204, 21, 0.06) 40%,
      var(--bg-white) 100%
    );
}

/* サムネイルにスポットライト効果 */
body.page-worksDetail .caseHero__thumb {
  position: relative;
  transition: all 0.4s ease;
}

body.page-worksDetail .caseHero__thumb::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(250, 204, 21, 0.15) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.page-worksDetail .caseHero__thumb:hover::before {
  opacity: 1;
}

body.page-worksDetail .caseHero__thumb:hover {
  transform: scale(1.03);
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(249, 115, 22, 0.2);
}

/* =====================================================
   共通：セクション装飾のバリエーション
===================================================== */

/* トップページ：大きめのバブル */
body:not([id]) .section::before {
  width: 160px;
  height: 160px;
  animation: bubble1 10s ease-in-out infinite;
}

/* Aboutページ：小さめで控えめ */
body#about .section::before {
  width: 100px;
  height: 100px;
  opacity: 0.6;
}

/* Serviceページ：速めの動き */
body#service .section::before {
  animation: bubble1 8s ease-in-out infinite;
}

/* Worksページ：複数配置 */
body.page-works .section::after {
  width: 140px;
  height: 140px;
  right: 5%;
  animation: bubble2 12s ease-in-out infinite;
}

/* Flowページ：縦長の動き */
body#flow .section::before {
  animation: bubble3 14s ease-in-out infinite;
}

/* Contactページ：左右対称配置 */
body#contact .section::before {
  left: 8%;
  animation: bubble1 11s ease-in-out infinite;
}

body#contact .section::after {
  right: 8%;
  animation: bubble2 13s ease-in-out infinite reverse;
}