*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #C8A46A;
  --accent-dark: #B08B52;
  --beige: #D9C3A6;
  --beige-light: #F2EAE0;
  --beige-pale: #FAF7F4;
  --dark: #222222;
  --gray: #777777;
  --gray-light: #AAAAAA;
  --white: #FFFFFF;

  /* Works カテゴリカラー */
  --color-promo: #FF6B5B;
  --color-ai: #3B4A8A;
  --color-web: #6B8F7A;
  --color-comingsoon: #9CA3AF;

  /* Works カードUI */
  --card-gap: 24px;
  --card-border: #C0C0C0;
  --card-border-inner: #EEEEEE;
  --card-border-dashed: #D1D5DB;
  --color-text-secondary: #555555;
  --card-bg-empty: #FAFAFA;
  --scrollbar-track: #F0F0F0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--dark);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--beige-light);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
}

.logo-icon { width: 34px; height: 34px; flex-shrink: 0; }

.logo-name { font-size: 16px; font-weight: 700; letter-spacing: 0.05em; }

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: var(--dark);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

nav a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: 100px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent-dark) !important; }

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

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

/* ─── HERO ─── */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroPhotoReveal {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: scale(1); }
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  padding-top: 64px;
  background: linear-gradient(180deg, #FAF7F4 0%, #FFFFFF 100%);
  align-items: stretch;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 52px 72px max(36px, calc((100vw - 1200px) / 2 + 36px));
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 18px;
  animation: heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.05s;
}

.hero-eyebrow::before {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-text h1 {
  font-size: clamp(26px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  animation: heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.15s;
}

.hero-text p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 20px;
  animation: heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.25s;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  animation: heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.32s;
}

.hero-tag {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gray);
  border: 1px solid var(--beige);
  border-radius: 100px;
  padding: 5px 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  align-self: flex-start;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.hero-text .btn-primary {
  animation: heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.4s;
}

.hero-image-wrap {
  overflow: hidden;
  position: relative;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250,247,244,0.55) 0%, transparent 22%);
  pointer-events: none;
  clip-path: ellipse(82% 100% at 100% 50%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: ellipse(82% 100% at 100% 50%);
  animation: heroPhotoReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.1s;
}

/* ─── SECTION BASE ─── */
section {
  padding: 88px 32px;
}

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

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

.section-title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ─── SERVICE ─── */
#service {
  background: var(--beige-pale);
}

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

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.service-body { flex: 1; }

.service-icon-wrap {
  width: 58px;
  height: 58px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon-wrap svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.service-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 8px;
}

.service-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.service-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.service-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
}

.service-price--text {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.6;
}

.service-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 18px;
}

.service-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.service-includes li {
  font-size: 13px;
  color: var(--dark);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-includes li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}

.service-examples {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--beige-light);
  margin-bottom: 18px;
}

.service-examples-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.service-examples ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }

.service-examples li {
  font-size: 12px;
  color: var(--gray);
  padding-left: 10px;
  position: relative;
}

.service-examples li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border-top: 1px solid var(--beige-light);
  padding-top: 16px;
  margin-top: 4px;
  transition: gap 0.2s;
}

.service-link:hover { gap: 10px; }

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

.flow-connector {
  position: absolute;
  top: 29px;
  left: calc(12.5% + 14px);
  right: calc(12.5% + 14px);
  height: 1px;
  background: var(--beige-light);
  pointer-events: none;
}

.flow-step {
  text-align: center;
  padding: 0 10px;
  position: relative;
}

.flow-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  position: relative;
  z-index: 1;
}

.flow-icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.flow-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 8px;
}

.flow-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-text {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.7;
}

/* ─── WORKS ─── */
#works {
  background: var(--white);
  padding-top: 80px;
  padding-bottom: 80px;
}

.works-eyebrow {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gray-light);
  margin-bottom: 12px;
}

.works-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.works-divider {
  width: 36px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 20px;
}

.works-lead {
  text-align: center;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 48px;
}

.works-grid {
  display: flex;
  gap: var(--card-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  padding-top: 8px;
  padding-bottom: 16px;
  min-height: 360px;
}

.works-grid::-webkit-scrollbar { height: 4px; }
.works-grid::-webkit-scrollbar-track { background: var(--scrollbar-track); border-radius: 2px; }
.works-grid::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* カード */
.work-card,
.work-card-link {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - var(--card-gap) * 2 / 3);
  background: var(--white);
  border-radius: 8px;
  border: 2px solid var(--card-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transition: transform 280ms ease, box-shadow 280ms ease;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
}

.work-card-link:hover,
.work-card-link:focus {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.13);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.work-card-link:focus:not(:focus-visible) {
  outline: none;
}

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

/* 画像エリア */
.work-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--card-bg-empty);
  border-radius: 8px 8px 0 0;
}

.work-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
  border: none;
  outline: none;
}

/* 準備中画像エリア */
.work-card-comingsoon {
  aspect-ratio: 16/10;
  border: 2px dashed var(--card-border-dashed);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--card-bg-empty);
}

.work-card-comingsoon svg {
  width: 32px;
  height: 32px;
  color: var(--color-comingsoon);
}

.work-card-comingsoon-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-comingsoon);
}

/* テキストエリア */
.work-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

/* カテゴリラベル */
.work-card-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.work-card-category-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.work-card-category[data-slug="promo"] { color: var(--color-promo); }
.work-card-category[data-slug="promo"] .work-card-category-dot { background: var(--color-promo); }
.work-card-category[data-slug="ai"] { color: var(--color-ai); }
.work-card-category[data-slug="ai"] .work-card-category-dot { background: var(--color-ai); }
.work-card-category[data-slug="web"] { color: var(--color-web); }
.work-card-category[data-slug="web"] .work-card-category-dot { background: var(--color-web); }
.work-card-category[data-slug="comingsoon"] { color: var(--color-comingsoon); }
.work-card-category[data-slug="comingsoon"] .work-card-category-dot { background: var(--color-comingsoon); }

.work-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.work-card-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 16px;
}

/* CTA行 */
.work-card-cta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--card-border-inner);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
}

.work-card-cta--disabled {
  color: var(--color-comingsoon);
}

.work-card-arrow {
  transition: transform 280ms ease;
  display: inline-block;
}

.works-error-msg {
  padding: 24px;
  color: var(--gray);
  font-size: 14px;
}

/* ─── PROFILE ─── */
#profile {
  background: var(--white);
}

.profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: center;
}

.profile-photo-wrap {
  position: relative;
}

.profile-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 10px -10px -10px 10px;
  border-radius: 24px;
  background: var(--beige-light);
  z-index: 0;
}

.profile-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  object-fit: cover;
  display: block;
}

.profile-body {
  display: flex;
  flex-direction: column;
}

.profile-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-label::before {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.profile-name {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  line-height: 1.4;
}

.profile-divider {
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 20px;
}

.profile-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 2;
  margin-bottom: 28px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-tag {
  font-size: 12px;
  color: var(--accent-dark);
  background: var(--beige-light);
  border-radius: 100px;
  padding: 5px 16px;
  font-weight: 500;
}

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--beige-pale);
  border-top: 1px solid var(--beige-light);
  border-bottom: 1px solid var(--beige-light);
  padding: 48px 32px;
}

.cta-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-banner-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-banner-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-banner-icon svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}

.cta-banner-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cta-banner-sub {
  font-size: 13px;
  color: var(--gray);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

.btn-cta:hover { background: var(--accent-dark); }

/* ─── CONTACT ─── */
#contact {
  background: var(--beige-pale);
}

.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--beige-light);
  padding: 52px 56px;
  box-shadow: 0 8px 40px rgba(200,164,106,0.10);
  min-height: 760px;
}

.cf-group {
  margin-bottom: 28px;
}

.cf-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.cf-required {
  color: var(--accent);
  margin-left: 4px;
  font-size: 12px;
}

.cf-input,
.cf-textarea {
  width: 100%;
  background: var(--beige-pale);
  border: 1.5px solid var(--beige-light);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}

.cf-input:focus,
.cf-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,164,106,0.15);
  background: var(--white);
}

.cf-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.cf-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cf-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--dark);
}

.cf-radio-label input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--beige);
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color 0.2s;
  position: relative;
  cursor: pointer;
}

.cf-radio-label input[type="radio"]:checked {
  border-color: var(--accent);
}

.cf-radio-label input[type="radio"]::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 0.15s;
}

.cf-radio-label input[type="radio"]:checked::after {
  transform: translate(-50%, -50%) scale(1);
}

.cf-divider {
  border: none;
  border-top: 1px solid var(--beige-light);
  margin: 32px 0;
}

.cf-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}
.cf-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid #ccc;
  border-radius: 4px;
  margin-top: 2px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.cf-consent input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.cf-consent input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.cf-privacy-note {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 12px;
  padding: 12px 16px;
  background: var(--beige-pale);
  border-radius: 8px;
}

.cf-submit {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 16px 36px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.cf-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.cf-submit:active { transform: translateY(0); }

.cf-success {
  display: none;
  text-align: center;
  padding: 48px 0 16px;
}

.cf-success-icon {
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.cf-success-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.cf-success h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cf-success p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}

.cf-note {
  font-size: 12px;
  color: var(--gray-light);
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 640px) {
  .contact-form-wrap { padding: 36px 24px; }
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 52px 32px 28px;
}

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

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 44px;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name { font-size: 15px; font-weight: 700; letter-spacing: 0.05em; }

.footer-tagline { font-size: 11px; color: var(--gray-light); }

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-nav a {
  font-size: 13px;
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  display: flex;
  justify-content: center;
}

.footer-copy { font-size: 12px; color: var(--color-text-secondary); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { display: none; }
  nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    padding: 24px 32px;
    border-bottom: 1px solid var(--beige-light);
    gap: 20px;
    z-index: 99;
  }
  .hamburger { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-wrap { display: none; }
  .hero-text {
    padding: 40px 20px 60px;
  }
  section { padding: 64px 20px; }

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

  .flow-steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .flow-connector { display: none; }

  .works-grid { --card-gap: 16px; }
  .work-card, .work-card-link { flex: 0 0 calc(50% - var(--card-gap) / 2); }

  .profile-layout { grid-template-columns: 1fr; gap: 40px; }
  .profile-photo-wrap { max-width: 240px; margin: 0 auto; }
  .profile-photo-wrap::before { inset: 8px -8px -8px 8px; }

  .cta-banner { padding: 40px 20px; }
  .cta-banner-inner { flex-direction: column; text-align: center; align-items: center; }
  .cta-banner-left { flex-direction: column; align-items: center; }

  .footer-top { flex-direction: column; gap: 28px; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 480px) {
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .work-card, .work-card-link { flex: 0 0 85%; }
  .hero-text h1 { font-size: 26px; }
}

/* ============================================
   LINEスタンプ制作バナー
   ============================================ */
.stamp-banner { width: 100%; margin: 64px 0; padding: 0 24px; box-sizing: border-box; }
.stamp-banner__link { display: block; text-decoration: none; color: inherit; }
.stamp-banner__inner {
  position: relative; max-width: 1200px; margin: 0 auto; min-height: 320px;
  border-radius: 16px; overflow: hidden; isolation: isolate;
  background-image: url("/assets/images/stamp-banner-pc.webp");
  background-repeat: no-repeat; background-size: cover; background-position: right center;
  background-color: #FAF5EC;
  border: 4px solid #06C755;
  transition: transform .3s ease, box-shadow .3s ease;
}
.stamp-banner__link:hover .stamp-banner__inner,
.stamp-banner__link:focus-visible .stamp-banner__inner {
  transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.stamp-banner__link:focus-visible .stamp-banner__inner { outline: 2px solid #06C755; outline-offset: 4px; }
.stamp-banner__inner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,.55) 0%, rgba(255,255,255,.35) 35%, rgba(255,255,255,0) 60%);
  z-index: 1; pointer-events: none;
}
.stamp-banner__copy { position: relative; z-index: 2; padding: 48px 56px; max-width: 55%; }
.stamp-banner__eyebrow { font-size: 12px; letter-spacing: .15em; color: #06C755; font-weight: 700; margin: 0 0 12px; }
.stamp-banner__title { font-size: 32px; font-weight: 800; line-height: 1.4; color: #2B2520; margin: 0 0 16px; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.stamp-banner__sub { font-size: 15px; line-height: 1.7; color: #5C544C; margin: 0 0 20px; }
.stamp-banner__tags { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 24px; }
.stamp-banner__tags li { font-size: 12px; padding: 6px 14px; border-radius: 999px; background: #fff; color: #2B2520; border: 1px solid #06C755; }
.stamp-banner__cta { display: inline-block; padding: 14px 32px; border-radius: 999px; background: #C7A17A; color: #fff; font-weight: 700; font-size: 15px; transition: background .2s ease; }
.stamp-banner__link:hover .stamp-banner__cta { background: #B68E66; }

@media (max-width: 768px) {
  .stamp-banner { margin: 40px 0; padding: 0 16px; }
  .stamp-banner__inner {
    min-height: 0; aspect-ratio: 5 / 6;
    background-image: url("/assets/images/stamp-banner-sp.webp");
    background-size: cover; background-position: center top;
  }
  .stamp-banner__inner::before {
    background: linear-gradient(to bottom left, rgba(255,255,255,0) 0%, rgba(255,255,255,.2) 45%, rgba(255,255,255,.85) 72%);
  }
  .stamp-banner__copy { position: absolute; inset: auto 0 0 0; max-width: 100%; padding: 24px 24px 32px; }
  .stamp-banner__title { font-size: 24px; }
  .stamp-banner__sub { font-size: 14px; }
  .stamp-banner__cta { padding: 12px 28px; font-size: 14px; }
}
