/*
Theme Name: Alltaf Creative Team
Author: Alltaf Creative Team
Description: カスタムテーマ for Alltaf Creative Team
Version: 1.0
*/

/* ===========================
   CSS Variables
=========================== */
:root {
  /* Figma Make / Tailwind 正確な値 */
  --color-primary: #14B8A6;           /* teal-500 */
  --color-primary-dark: #0D9488;      /* teal-600 */
  --color-primary-darker: #0F766E;    /* teal-700 */
  --color-primary-light: #CCFBF1;     /* teal-100 */
  --color-primary-lighter: #F0FDFA;   /* teal-50 */
  --color-primary-text: #115E59;      /* teal-800（ラベル文字） */
  --color-cyan: #0891B2;              /* cyan-600 */
  --color-cyan-dark: #0E7490;         /* cyan-700 */

  --color-text: #111827;              /* gray-900 */
  --color-text-muted: #4B5563;        /* gray-600 */
  --color-text-subtle: #6B7280;       /* gray-500 */
  --color-bg: #ffffff;
  --color-bg-light: #F9FAFB;          /* gray-50 */
  --color-bg-dark: #111827;           /* gray-900 */
  --color-border: rgba(0,0,0,0.08);
  --color-border-light: #F3F4F6;      /* gray-100 */
  --color-border-muted: #E5E7EB;      /* gray-200 */
  --color-white: #ffffff;

  /* グラデーション（Figma Makeと完全一致） */
  --gradient-logo: linear-gradient(135deg, #14B8A6 0%, #0891B2 100%);
  --gradient-btn-primary: linear-gradient(90deg, #14B8A6 0%, #0891B2 100%);
  --gradient-btn-primary-hover: linear-gradient(90deg, #0D9488 0%, #0E7490 100%);
  --gradient-hero-bg: linear-gradient(135deg, #F0FDFA 0%, #ECFEFF 50%, #CCFBF1 100%);
  --gradient-cta: linear-gradient(135deg, #14B8A6 0%, #0891B2 50%, #0D9488 100%);
  --gradient-main: var(--gradient-cta);
  --gradient-partner-card: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);

  --font-base: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --content-width: 1200px;
  --content-padding: 24px;
  --radius: 16px;                     /* rounded-2xl相当 */
  --radius-sm: 12px;                  /* rounded-xl相当 */
  --radius-btn: 8px;                  /* rounded-lg相当 */
  --transition: 0.25s ease;
}

/* ===========================
   Reset & Base
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  opacity: 0.8;
}

ul, ol {
  list-style: none;
}

/* ===========================
   Layout
=========================== */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

/* ===========================
   Header
=========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  height: 64px;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
}

.site-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* フッターロゴ：黒ロゴを白く反転 */
.footer-logo-img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-logo);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.site-nav ul {
  display: flex;
  gap: 36px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a.current {
  color: var(--color-primary);
  opacity: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===========================
   Hero Section
=========================== */
.hero {
  padding-top: 64px;
  min-height: 100vh;
  background: url('/wp-content/uploads/2026/04/P1040429_加工-scaled-1.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}


.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-label {
  display: inline-block;
  background: var(--color-primary-light);   /* teal-100 */
  color: var(--color-primary-text);         /* teal-800 */
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  font-family: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', '游明朝', 'Hiragino Mincho ProN', serif;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  color: var(--color-white);
  text-align: center;
}

.hero-text {
  font-size: 15px;
  color: rgba(255,255,255,0.88);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 420px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-image {
  display: none; /* PC では非表示 */
}

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

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-btn-primary);
  color: var(--color-white);
  border: none;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
  border-radius: var(--radius-btn);
}

.btn-primary:hover {
  background: var(--gradient-btn-primary-hover);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
  opacity: 1;
}

.btn-outline {
  background: var(--color-white);
  color: var(--color-text);
  border-color: #99F6E4; /* teal-200 */
  border-radius: var(--radius-btn);
}

.btn-outline:hover {
  border-color: #2DD4BF; /* teal-400 */
  opacity: 1;
}

.btn-outline-white {
  background: var(--color-white);
  color: var(--color-primary);
  border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  border-radius: var(--radius-btn);
}

.btn-outline-white:hover {
  background: var(--color-primary-lighter);
  opacity: 1;
}

/* ===========================
   Section Common
=========================== */
.section {
  padding: 100px 0;
}

.section-bg {
  background: var(--color-bg-light);
}

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

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ===========================
   理念セクション
=========================== */
.philosophy-text {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 2;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.philosophy-item {
  text-align: center;
  padding: 40px 24px;
}

.philosophy-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-logo);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.philosophy-icon svg {
  width: 32px;
  height: 32px;
  fill: white;
}

.philosophy-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.philosophy-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===========================
   サービスセクション
=========================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--color-white);
  border: 2px solid var(--color-border-light); /* gray-100 */
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: #2DD4BF; /* teal-400 */
  box-shadow: 0 8px 32px rgba(20, 184, 166, 0.12);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-primary-light); /* teal-100 */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.8;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.section-link {
  text-align: center;
}

.text-link {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.text-link:hover {
  gap: 10px;
  opacity: 1;
}

/* ===========================
   パートナーシップ
=========================== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.partner-card {
  background: var(--gradient-partner-card);
  border: 2px solid var(--color-border-muted);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.partner-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.partner-card .partner-type {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.partner-card .partner-badge {
  display: inline-block;
  font-size: 12px;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.partner-link {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ===========================
   CTAセクション
=========================== */
.cta-section {
  background: var(--gradient-main);
  padding: 100px 0;
  text-align: center;
}

.cta-section .section-title {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section .section-desc {
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

/* ===========================
   Footer
=========================== */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-white);
  text-decoration: none;
  flex-shrink: 0;
}

.footer-logo-text {
  color: var(--color-white);
}

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

.footer-nav ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav ul li a:hover {
  color: var(--color-white);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ===========================
   Works Grid (Home)
=========================== */
.works-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 1024px) {
  .works-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .hamburger {
    display: flex;
    border: none;
    background: none;
    box-shadow: none;
    outline: none;
  }

  .hero {
    background-image: none;
    background: var(--gradient-hero-bg);
    min-height: auto;
    padding-top: 64px; /* 固定ヘッダー分オフセット */
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 100%;
    padding-top: 0;
    padding-bottom: 40px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
    padding-top: 24px;
  }

  /* スマホ：テキストカラーをダークに戻す・中央揃え */
  .hero-title {
    color: var(--color-text);
    text-align: center;
  }

  .hero-text {
    color: var(--color-text-muted);
  }

  /* スマホ：ボタンを2段・幅いっぱいに */
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .hero .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 14px 20px;
    font-size: 15px;
  }

  .hero-image {
    display: block;
    order: -1;
    border-radius: 0;
    margin-left: calc(-1 * var(--content-padding));
    margin-right: calc(-1 * var(--content-padding));
    margin-top: 0; /* padding-topで下にずれるので追加マージン不要 */
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 0;
  }

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

  .philosophy-grid,
  .service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .works-grid-home {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    height: auto;
    padding: 24px 0 16px;
    gap: 16px;
    text-align: center;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }

  .section {
    padding: 64px 0;
  }

  /* スマホ：私たちの想い テキスト左揃え */
  .philosophy-text {
    text-align: left;
    margin: 0 0 48px;
  }

  .philosophy-item {
    text-align: left;
    padding: 32px 20px;
  }

  .philosophy-icon {
    margin: 0 0 16px;
  }

  /* スマホ：アイコンとh3は中央揃え */
  .philosophy-item .philosophy-icon {
    margin: 0 auto 16px;
  }

  .philosophy-item h3 {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }
}

/* ===========================
   Page Header（各ページ共通）
=========================== */
.page-header {
  padding-top: 64px;
  background: var(--gradient-hero-bg);
  padding-bottom: 60px;
  text-align: center;
}

.page-header-inner {
  padding-top: 60px;
}

.page-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-header p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ===========================
   サービスページ
=========================== */
.service-category {
  margin-bottom: 80px;
}

.service-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.service-category-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-category-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
  stroke-width: 1.8;
}

.service-category-header h2 {
  font-size: 24px;
  font-weight: 800;
}

.service-partner-note {
  background: var(--color-primary-light);
  border-left: 3px solid var(--color-primary);
  padding: 12px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.service-partner-note a {
  color: var(--color-primary);
  font-weight: 600;
}

/* ===========================
   料金表（サービスページ）
=========================== */
.service-price-table {
  border: 1px solid var(--color-border-muted);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0;
}

.service-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--color-border-muted);
}

.service-price-row:last-child {
  border-bottom: none;
}

.service-price-row:nth-child(odd) {
  background: var(--color-bg-light);
}

.service-price-left {
  flex: 1;
}

.service-price-left h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text);
}

.service-price-left p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.service-price-right {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary-darker);
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-detail-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}

.service-detail-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(10, 191, 171, 0.1);
}

.service-detail-card.highlighted {
  border-color: var(--color-primary);
  background: linear-gradient(135deg, rgba(10,191,171,0.04) 0%, rgba(7,107,122,0.04) 100%);
}

.service-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-detail-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.8;
}

.service-detail-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-detail-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.service-detail-card ul {
  list-style: none;
  padding: 0;
}

.service-detail-card ul li {
  font-size: 13px;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
  margin-bottom: 4px;
}

.service-detail-card ul li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 8px;
  top: 5px;
}

/* 3カラムグリッド */
.service-detail-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* 制作の流れ */
.flow-section {
  background: var(--color-bg-light);
  padding: 80px 0;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.flow-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  z-index: 0;
}

.flow-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.flow-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 20px;
  font-weight: 900;
  background: var(--gradient-main);
  color: white;
}

/* すべてのステップを同じグラデーションで表示 */

.flow-step h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ===========================
   実績ページ
=========================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  transition: all var(--transition);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.work-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.work-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.work-card.fade-out {
  opacity: 0.3;
  pointer-events: none;
}

.work-card-image {
  aspect-ratio: 16/10;
  background: var(--color-bg-light);
  overflow: hidden;
}

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

.work-card:hover .work-card-image img {
  transform: scale(1.04);
}

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

.work-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.work-card-body p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

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

.work-tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.works-note {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 2;
  padding: 24px;
  background: var(--color-bg-light);
  border-radius: var(--radius);
}

/* ===========================
   私たちについてページ
=========================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}

.about-intro-content .label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.about-intro-content h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
}

.about-intro-content p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-intro-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-light);
}

.about-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy-highlight {
  color: var(--color-primary);
  font-weight: 700;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 32px;
}

/* チームの強み */
.strength-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.strength-partner-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.strength-partner-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.strength-partner-card .partner-service {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.strength-partner-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* プロフィール（aboutページ） */
.about-profile-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
}

.about-profile-content h2,
.about-profile-content h3 {
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.about-profile-content p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.about-profile-content img {
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.about-cta-section {
  background: var(--gradient-main);
  padding: 80px 0;
  text-align: center;
}

.about-cta-section h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: white;
  margin-bottom: 20px;
}

.about-cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 36px;
}

/* ===========================
   お問い合わせページ
=========================== */
.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: flex-start;
}

.contact-info h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 28px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-info-item-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.8;
}

.contact-info-item h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact-hours {
  background: var(--gradient-main);
  border-radius: var(--radius);
  padding: 24px;
  color: white;
  margin-top: 32px;
}

.contact-hours h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-hours table {
  width: 100%;
  font-size: 13px;
}

.contact-hours td {
  padding: 4px 0;
}

.contact-hours td:last-child {
  text-align: right;
}

/* お問い合わせフォーム */
.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
}

.form-group label .required {
  color: var(--color-primary);
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-base);
  color: var(--color-text);
  transition: border-color var(--transition);
  background: var(--color-white);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(10, 191, 171, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--gradient-main);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity var(--transition);
  font-family: var(--font-base);
}

.form-submit:hover {
  opacity: 0.9;
}

.contact-bottom {
  background: var(--color-bg-light);
  padding: 80px 0;
  text-align: center;
}

.contact-bottom h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-bottom p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ===========================
   Responsive（追加）
=========================== */
@media (max-width: 768px) {
  .service-detail-grid,
  .service-detail-grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .flow-grid::before {
    display: none;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .strength-partner-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .service-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .service-price-right {
    text-align: left;
    width: 100%;
  }
}

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

  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .flow-grid::before {
    display: none;
  }

  .service-detail-grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===========================
   実績カード（追加スタイル）
=========================== */
.work-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.work-card-no-image {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: var(--color-primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card-no-image svg {
  width: 48px;
  height: 48px;
  color: var(--color-primary-light);
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================
   スマホ対応（追加修正）
=========================== */
/* /service/ ページヘッダーの説明文を左揃えに（スマホ） */
@media (max-width: 768px) {
  .page-header p {
    text-align: left;
  }
}

/* /works/ カード本文テキストを非表示（PC・スマホ共通） */
.work-card-body p {
  display: none;
}

/* YouTube埋め込みを中央揃え（投稿ページ共通） */
.single-content .wp-block-embed,
.single-content .wp-block-embed__wrapper,
.single-content figure.wp-block-embed {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.single-content .wp-block-embed__wrapper iframe,
.single-content iframe[src*="youtube"],
.single-content iframe[src*="youtu.be"] {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* トップページ > サービスセクション 説明文を左揃えに（スマホ） */
@media (max-width: 768px) {
  #service .section-desc {
    text-align: left;
  }
}


/* ===========================
   WPForms 送信完了メッセージ
=========================== */
/* 外側のコンテナ（グレー枠）を削除 */
.wpforms-confirmation-container-full,
.wpforms-confirmation-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* 確認メッセージ本文（緑背景・枠を削除） */
.wpforms-confirmation-container-full p,
.wpforms-confirmation-container p,
div[id^="wpforms-confirmation"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--color-text) !important;
  font-size: 1rem;
  line-height: 1.8;
  padding: 0 !important;
}

/* ===========================
   WPForms 送信完了メッセージ
=========================== */
.wpforms-confirmation-container-full,
.wpforms-confirmation-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.wpforms-confirmation-container-full p,
.wpforms-confirmation-container p,
div[id^="wpforms-confirmation"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--color-text) !important;
  font-size: 1rem;
  line-height: 1.8;
  padding: 0 !important;
}

/* WPForms 送信完了メッセージ */
.wpforms-confirmation-container-full,
.wpforms-confirmation-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.wpforms-confirmation-container-full p,
.wpforms-confirmation-container p,
div[id^="wpforms-confirmation"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--color-text) !important;
  font-size: 1rem;
  line-height: 1.8;
  padding: 0 !important;
}