/* ========================================
   BAL Link Design Portfolio - Stylesheet
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Poppins:wght@500;600;700&display=swap');

:root {
  --color-primary: #4A90E2;
  --color-primary-deep: #2F7BCC;
  --color-primary-light: #EAF4FF;
  --color-navy: #1F2D3D;
  --color-yellow: #F6C445;
  --color-yellow-light: #FFF4D2;
  --color-green: #6FCF97;
  --color-pink: #FFD6D6;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-lighter: #999999;
  --color-bg: #ffffff;
  --color-bg-soft: #F7FBFE;
  --color-bg-blue: #EAF4FF;
  --color-border: #e6eef5;

  --font-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Poppins", "Noto Sans JP", sans-serif;

  --container-width: 1100px;
  --container-narrow: 860px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(74,144,226,0.06);
  --shadow-md: 0 8px 24px rgba(74,144,226,0.08);
  --shadow-lg: 0 16px 40px rgba(74,144,226,0.12);

  --transition: 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.8;
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { opacity: 0.75; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.5; }
p { margin: 0; }

/* ===== Layout ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }

section { padding: 100px 0; }
@media (max-width: 768px) {
  section { padding: 64px 0; }
}

.section-en {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 8px;
  font-weight: 600;
}
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 56px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-yellow);
  border-radius: 999px;
  margin: 16px auto 0;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.logo img { height: 36px; width: auto; }
.global-nav ul {
  display: flex;
  gap: 22px;
  font-size: 13px;
  font-weight: 500;
}
.global-nav a { color: var(--color-text); }
.global-nav a:hover { color: var(--color-primary); opacity: 1; }
.header-cta {
  padding: 10px 20px !important;
  font-size: 13px !important;
}
.hamburger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 24px 0 80px;
  background: #fefefe;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -40px;
  width: 220px;
  height: 220px;
  background-image: radial-gradient(circle, var(--color-primary) 1.5px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.22;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -80px;
  width: 280px;
  height: 280px;
  background: var(--color-primary-light);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
  z-index: 1;
}
.hero-text { min-width: 0; }
.hero-sub {
  display: block;
  margin: 0 0 -8px;
  line-height: 0;
}
.hero-sub img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
}
@media (max-width: 768px) {
  .hero-sub { text-align: center; }
  .hero-sub img { margin: 0 auto; max-width: 360px; }
}
.hero-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-navy);
  margin: 0 0 28px;
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero-title .highlight {
  display: inline-block;
  white-space: nowrap;
  color: var(--color-primary);
  background: linear-gradient(transparent 70%, var(--color-yellow) 70%);
  padding: 0 4px;
}
.hero-lead {
  color: var(--color-text);
  margin: 0 0 36px;
  line-height: 1.95;
  font-size: 16px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-buttons .btn {
  padding: 18px 32px;
  font-size: 15px;
}
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image img {
  position: relative;
  z-index: 1;
  width: 115%;
  max-width: none;
  margin-right: -7%;
}
@media (max-width: 768px) {
  .hero-image img { width: 100%; margin-right: 0; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-yellow);
  color: var(--color-navy);
  box-shadow: 0 6px 16px rgba(246,196,69,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(246,196,69,0.45);
  opacity: 1;
}
.btn-secondary {
  background: #ffffff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary-light);
  opacity: 1;
}

/* ===== About ===== */
.about {
  background: var(--color-bg-soft);
  position: relative;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-image {
  position: relative;
  padding: 28px;
}
.about-image::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, var(--color-primary) 1.6px, transparent 2px);
  background-size: 12px 12px;
  background-repeat: round;
  opacity: 0.85;
  z-index: 0;
}
.about-image::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  width: 120px;
  height: 120px;
  background: var(--color-primary-light);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  z-index: 0;
}
.about-image .photo-wrap {
  position: relative;
  z-index: 1;
}
.about-image .photo-wrap::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 3px solid var(--color-yellow);
  border-radius: 50%;
  clip-path: polygon(0 30%, 30% 0, 0 0);
  z-index: 2;
  pointer-events: none;
}
.about-image img {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  border: 8px solid #fff;
  position: relative;
  z-index: 1;
}
.about-text p { margin-bottom: 20px; line-height: 2; }
.about-text .btn { margin-top: 12px; }

/* ===== Works ===== */
.works { background: #ffffff; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.work-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  opacity: 1;
}
.work-thumb {
  aspect-ratio: 4/3;
  background: var(--color-bg-blue);
  overflow: hidden;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-meta { padding: 16px 18px 20px; }
.work-tag {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.work-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 6px;
}
.work-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ===== Services ===== */
.services {
  background: linear-gradient(180deg, #FBF8F1 0%, #F7F2E5 100%);
  position: relative;
}
.services-lead {
  text-align: center;
  color: var(--color-text-light);
  margin: -32px 0 48px;
  font-size: 14px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  --svc-color: var(--color-primary);
  --svc-bg: var(--color-primary-light);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card.svc-blue   { --svc-color: #5DA8E8; --svc-bg: #E8F2FB; }
.service-card.svc-green  { --svc-color: #6FCF97; --svc-bg: #E7F6EE; }
.service-card.svc-yellow { --svc-color: #E6B53A; --svc-bg: #FBF1D6; }

.service-icon-wrap {
  width: 130px;
  height: 130px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--svc-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.service-icon-wrap img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}
.service-card:hover .service-icon-wrap { transform: scale(1.05); }

.service-card h3 {
  font-size: 20px;
  color: var(--color-navy);
  margin-bottom: 14px;
  font-weight: 700;
}
.service-desc {
  font-size: 13.5px;
  color: var(--color-text-light);
  line-height: 1.85;
  margin: 0;
}
.service-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 24px 0 18px;
}
.service-price-label {
  font-size: 12px;
  color: var(--color-text-lighter);
  margin-bottom: 4px;
  letter-spacing: 0.06em;
}
.service-price {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  color: var(--svc-color);
  line-height: 1.2;
  margin: 0 0 12px;
}
.service-price span {
  font-size: 18px;
  margin-left: 2px;
}
.service-period {
  display: inline-block;
  background: var(--svc-bg);
  color: var(--color-navy);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin: 0 auto 24px;
  font-weight: 500;
}
.service-include-label {
  text-align: left;
  font-size: 12px;
  color: var(--color-text-light);
  font-weight: 600;
  margin-bottom: 10px;
}
.service-include {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.service-include li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.6;
}
.service-include li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--svc-color);
  font-weight: 700;
  font-size: 14px;
}
.services-note {
  text-align: center;
  margin-top: 32px;
  font-size: 12px;
  color: var(--color-text-light);
}

/* ===== Flow ===== */
.flow { background: #ffffff; }
.flow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.flow-list li {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 80px 80px 16px 16px;
  padding: 56px 16px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  margin-top: 28px;
}
.flow-list li:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
/* 矢印（最後以外） */
.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
  width: 18px;
  height: 14px;
  background-image:
    repeating-linear-gradient(to right, var(--color-primary) 0 4px, transparent 4px 7px);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 14px 2px;
  z-index: 2;
}
.flow-list li:not(:last-child)::before {
  content: "▶";
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--color-primary);
  z-index: 2;
}
.flow-num {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: var(--color-primary);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.02em;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(74,144,226,0.3);
  z-index: 3;
}
.flow-step {
  font-size: 9px;
  letter-spacing: 0.14em;
  font-weight: 700;
  opacity: 0.9;
  line-height: 1;
}
.flow-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 6px 0 14px;
}
.flow-list h3 {
  font-size: 16px;
  color: var(--color-navy);
  margin-bottom: 8px;
  font-weight: 700;
}
.flow-list p {
  font-size: 12.5px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@media (max-width: 1024px) {
  .flow-list { grid-template-columns: repeat(3, 1fr); }
  .flow-list li:nth-child(3)::after,
  .flow-list li:nth-child(3)::before { display: none; }
}
@media (max-width: 640px) {
  .flow-list {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 360px;
  }
  /* 1024px幅で3番目だけ非表示にしたルールを解除 */
  .flow-list li:nth-child(3)::after,
  .flow-list li:nth-child(3)::before { display: block; }
  .flow-list li {
    padding: 48px 20px 22px;
    border-radius: 60px 60px 14px 14px;
    margin-top: 24px;
  }
  /* 下向きの点線矢印 */
  .flow-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: auto;
    bottom: -22px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 14px;
    background-image:
      repeating-linear-gradient(to bottom, var(--color-primary) 0 4px, transparent 4px 7px);
    background-size: 2px 14px;
    background-position: center top;
    background-repeat: no-repeat;
  }
  .flow-list li:not(:last-child)::before {
    content: "▼";
    position: absolute;
    top: auto;
    bottom: -10px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    line-height: 1;
    color: var(--color-primary);
  }
  .flow-icon { width: 72px; height: 72px; }
  .flow-list h3 { font-size: 16px; }
  .flow-list p { font-size: 13px; }
  .flow-num { width: 52px; height: 52px; top: -24px; }
}

/* ===== Voice ===== */
.voice {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-blue) 100%);
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.voice-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 28px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.voice-card .voice-name { margin-top: auto; }
.voice-card::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 18px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--color-primary-light);
  line-height: 1;
  font-weight: 700;
  pointer-events: none;
}
.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.voice-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
  object-fit: contain;
  display: block;
  background: var(--color-primary-light);
  border-radius: 50%;
  box-sizing: border-box;
  padding: 8px;
}
.voice-grid .voice-card:nth-child(2) .voice-avatar {
  object-position: 35% center;
}
.voice-text {
  color: var(--color-text);
  font-size: 13.5px;
  line-height: 1.95;
  margin-bottom: 18px;
  text-align: left;
}
.voice-text mark {
  background: linear-gradient(transparent 60%, var(--color-yellow-light) 60%);
  color: var(--color-navy);
  font-weight: 600;
  padding: 0 1px;
}
.voice-name {
  color: var(--color-text-lighter);
  font-size: 12px;
}

/* ===== FAQ ===== */
.faq { background: #ffffff; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: var(--transition);
}
.faq-item:hover {
  background: #fff;
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}
.faq-item dt {
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  position: relative;
  padding-left: 28px;
}
.faq-item dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-en);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-item dd {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-light);
  padding-left: 28px;
  position: relative;
}
.faq-item dd::before {
  content: "A";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-navy);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Contact ===== */
.contact {
  background: var(--color-bg-blue);
}
.contact-lead {
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 40px;
}
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}
.req {
  display: inline-block;
  background: #ff6b6b;
  color: #fff;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  vertical-align: middle;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  background: var(--color-bg-soft);
  transition: var(--transition);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(74,144,226,0.12);
}
.form-submit {
  text-align: center;
  margin-top: 32px;
}
.form-submit .btn { padding: 14px 48px; }
.form-status {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  min-height: 20px;
}
.form-status.is-success { color: #2f9e44; }
.form-status.is-error { color: #e03131; }

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-deep) 100%);
  color: #fff;
  padding: 56px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
}
.footer-nav a { color: rgba(255,255,255,0.9); }
.copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-en);
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(180deg, var(--color-bg-blue) 0%, #ffffff 100%);
  padding: 80px 0 60px;
  text-align: center;
}
.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
}
.page-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-yellow);
  border-radius: 999px;
  margin: 16px auto 0;
}
.page-lead {
  margin-top: 20px;
  color: var(--color-text-light);
}

/* ===== Profile Detail ===== */
.profile-detail { padding: 80px 0; }
.profile-top {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
}
.profile-photo img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: var(--shadow-md);
  background: var(--color-primary-light);
}
.profile-meta h2 {
  font-size: 22px;
  color: var(--color-navy);
  margin-bottom: 8px;
}
.profile-tagline { color: var(--color-text-light); }
.profile-section { margin-bottom: 40px; }
.profile-section h3 {
  font-size: 18px;
  color: var(--color-navy);
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
}
.profile-section p { margin-bottom: 12px; }
.profile-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-list li {
  position: relative;
  padding-left: 24px;
}
.profile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-yellow);
}

/* ===== Works List ===== */
.works-list-section { padding: 60px 0 100px; }
.works-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.works-filter li a {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  background: #fff;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
}
.works-filter li.is-active a,
.works-filter li a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  opacity: 1;
}
.works-list-section .works-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ===== Work Detail ===== */
.work-detail { padding: 60px 0 100px; }
.work-hero {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}
.work-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 48px;
}
.work-info > div {
  display: flex;
  gap: 16px;
}
.work-info dt {
  min-width: 80px;
  font-weight: 700;
  color: var(--color-navy);
  font-size: 13px;
}
.work-info dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--color-text-light);
}
.work-section { margin-bottom: 40px; }
.work-section h2 {
  font-size: 20px;
  color: var(--color-navy);
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
}
.work-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.work-gallery figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: zoom-in;
}
.work-gallery figure:hover {
  box-shadow: var(--shadow-md);
}
.work-gallery .img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.work-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.work-gallery figure:hover img {
  transform: scale(1.05);
}
.work-gallery figcaption {
  padding: 8px 12px;
  font-size: 12px;
  color: var(--color-text-light);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-soft);
  text-align: center;
}
@media (max-width: 768px) {
  .work-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .work-gallery { grid-template-columns: 1fr; }
}

/* ===== Gallery Lightbox ===== */
.gallery-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  backdrop-filter: blur(4px);
}
.gallery-overlay.is-active {
  display: flex;
}
.gallery-overlay img {
  max-width: 44vw;
  max-height: 44vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  animation: overlayZoom 0.25s ease;
}
@keyframes overlayZoom {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.gallery-overlay-caption {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  background: rgba(0,0,0,0.4);
  padding: 6px 20px;
  border-radius: var(--radius-full);
}
.work-quote {
  margin: 0;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  color: var(--color-navy);
  font-size: 15px;
  line-height: 1.9;
  border-left: 4px solid var(--color-primary);
}
.work-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 56px;
  flex-wrap: wrap;
}

/* ===== Static Content (Privacy etc) ===== */
.static-content { padding: 40px 0 100px; }
.static-content h2 {
  font-size: 18px;
  color: var(--color-navy);
  margin: 36px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--color-primary);
}
.static-content p { margin-bottom: 16px; line-height: 1.95; }
.static-content ul {
  margin: 0 0 20px;
  padding-left: 1.2em;
  list-style: disc;
}
.static-content ul li { margin-bottom: 6px; }
.static-content a { color: var(--color-primary); text-decoration: underline; }
.static-meta {
  margin-top: 48px;
  text-align: right;
  color: var(--color-text-lighter);
  font-size: 13px;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

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

  /* タブレット幅でヒーロー画像のはみ出しを抑制 */
  .hero-image img { width: 105%; margin-right: -3%; }
  .hero-title { font-size: 34px; }

  /* Servicesカードを 1列に（タブレットで詰まり防止） */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin: 0 auto;
  }
  .service-card { padding: 32px 22px 28px; }

  /* Voiceカードも 2列に */
  .voice-grid { grid-template-columns: repeat(2, 1fr); }
  .voice-grid .voice-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  body { font-size: 14px; }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  .global-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 8px 24px 16px;
  }
  .global-nav.is-open { display: block; }
  .global-nav ul {
    flex-direction: column;
    gap: 0;
    font-size: 14px;
  }
  .global-nav li { border-bottom: 1px solid var(--color-border); }
  .global-nav li:last-child { border-bottom: none; }
  .global-nav a { display: block; padding: 14px 4px; }

  .hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.is-active span:nth-child(2) { opacity: 0; }
  .hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 40px 0 56px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-title { font-size: 30px; }
  .hero-buttons { justify-content: center; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .about-image { max-width: 240px; margin: 0 auto; }

  .services-grid,
  .voice-grid { grid-template-columns: 1fr; }
  .services-grid .service-card:last-child,
  .voice-grid .voice-card:last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }

  .section-title { font-size: 22px; margin-bottom: 40px; }
  .contact-form { padding: 24px; }

  .profile-top { grid-template-columns: 1fr; text-align: center; }
  .profile-photo { max-width: 200px; margin: 0 auto; }
  .work-info { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .works-grid,
  .works-list-section .works-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 22px; }
  .page-title { font-size: 24px; }

  .header-inner { padding: 12px 16px; gap: 12px; }
  .container { padding: 0 16px; }

  .hero-sub img { max-width: 280px; }
  .hero-buttons .btn { padding: 14px 22px; font-size: 14px; width: 100%; }

  .services-lead { margin: -16px 0 32px; font-size: 13px; }
  .service-price { font-size: 28px; }
  .service-card h3 { font-size: 18px; }

  .voice-avatar { width: 96px; height: 96px; }
  .voice-card { padding: 32px 20px 24px; }

  .faq-item { padding: 16px 18px; }
  .contact-form { padding: 20px; }
}
