:root {
  --ink: #3b3331;
  --muted: #7a6f6b;
  --line: #eadfd9;
  --paper: #fffdf9;
  --soft: #fff5f1;
  --teal: #6aaea5;
  --teal-dark: #4b8f87;
  --coral: #d98478;
  --rose: #f2c9c1;
  --cream: #fff8ef;
  --sand: #f6eadf;
  --shadow: 0 2px 6px rgba(0, 0, 0, .05);
  --radius: 3px;
  --max: 1160px;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Outfit", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-jp);
  line-height: 1.8;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 96px;
  padding: 14px clamp(24px, 4vw, 58px);
  background: rgba(255, 253, 249, .92);
  border-bottom: 1px solid rgba(234, 223, 217, .9);
  backdrop-filter: blur(16px);
  width: 100%;
  max-width: 100vw;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 320px;
  max-width: 34vw;
  min-width: 0;
}

.brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: contrast(1.12) saturate(1.12);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
  color: #6f625f;
  font-size: 14px;
  font-weight: 600;
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 62px;
  padding: 0 13px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 12px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.nav-item:hover .nav-link::after,
.nav-item:focus-within .nav-link::after {
  transform: scaleX(1);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 30;
  min-width: 230px;
  padding: 18px 0;
  background: #3f3a37;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.submenu a {
  display: block;
  padding: 10px 28px;
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
}

.submenu a:hover,
.submenu a:focus-visible {
  color: var(--rose);
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 16px;
  padding: 9px 20px;
  color: #fff;
  background: var(--coral);
  border: 1px solid var(--coral);
  border-radius: var(--radius);
  transition: background-color .18s ease, color .18s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--coral);
  background: transparent;
}

.nav-toggle { display: none; }

.hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: calc(100svh - 96px);
  margin: 0;
  padding: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--coral);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .68;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

.hero-copy,
.section-head,
.band-copy,
.page-title {
  min-width: 0;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.36;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.44;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.55;
}

.hero-copy > p:not(.eyebrow),
.section-head > p,
.band-copy > p,
.cta-section > p,
.page-title + .section p {
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: 16px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 24px;
  border: 1px solid rgba(185, 109, 99, .46);
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.2;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.btn-primary {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--coral);
  background: transparent;
}

.btn-ghost {
  color: #8c5750;
  background: transparent;
  border-color: #d7b2aa;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #fff;
  background: #8c5750;
  border-color: #8c5750;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(45, 36, 33, .36);
  pointer-events: none;
}

.hero-slider {
  background: #f8f3ef;
  width: 100%;
  min-height: calc(100svh - 96px);
  border-radius: 0;
}

.hero-slider-track {
  position: relative;
  min-height: calc(100svh - 96px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(0) scale(1.08);
  animation: heroSlide 30s ease-in-out infinite;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero-slide:nth-child(4) {
  animation-delay: 18s;
}

.hero-slide:nth-child(5) {
  animation-delay: 24s;
}

.hero-slide img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: max(40px, calc((100% - var(--max)) / 2));
  z-index: 3;
  width: min(640px, calc(100% - 80px));
  color: #fff;
  transform: translateY(-44%);
}

.hero-copy .eyebrow {
  color: rgba(255, 255, 255, .86);
}

.hero-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}

.hero h1 {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .22);
}

.hero .btn-primary {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
}

.hero .btn-primary:hover,
.hero .btn-primary:focus-visible {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .78);
}

.hero .btn-ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .68);
}

.hero .btn-ghost:hover,
.hero .btn-ghost:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .16);
  border-color: #fff;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 12px;
  align-items: center;
  transform: translateX(-50%);
}

.hero-dots span {
  width: 34px;
  height: 3px;
  background: rgba(255, 255, 255, .42);
  animation: heroDot 30s ease-in-out infinite;
}

.hero-dots span:nth-child(2) {
  animation-delay: 6s;
}

.hero-dots span:nth-child(3) {
  animation-delay: 12s;
}

.hero-dots span:nth-child(4) {
  animation-delay: 18s;
}

.hero-dots span:nth-child(5) {
  animation-delay: 24s;
}

@keyframes heroSlide {
  0% {
    z-index: 1;
    opacity: 1;
    transform: translateX(0) scale(1.08);
  }

  4%,
  16% {
    z-index: 1;
    opacity: 1;
  }

  20% {
    z-index: 0;
    opacity: 0;
    transform: translateX(0) scale(1.01);
  }

  100% {
    z-index: 0;
    opacity: 0;
    transform: translateX(0) scale(1.01);
  }
}

@keyframes heroDot {
  0%,
  20% {
    width: 54px;
    background: #fff;
  }

  22%,
  100% {
    width: 34px;
    background: rgba(255, 255, 255, .42);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-dots span {
    transition: none;
    animation: none;
  }

  .hero-slide:first-child {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll;
  }
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-soft {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background: var(--soft);
}

.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9b6259;
  font-weight: 800;
  white-space: nowrap;
}

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

.problem-grid article,
.service-card,
.steps div,
.flow article,
.output-grid div {
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.problem-grid article {
  padding: 28px;
}

.problem-grid span {
  display: block;
  margin-bottom: 28px;
  color: rgba(242, 201, 193, .7);
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

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

.service-card {
  min-height: 250px;
  padding: 30px;
  transition: background-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.service-card:hover {
  background: var(--cream);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  object-fit: cover;
  border-radius: var(--radius);
}

.icon-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  color: #9b6259;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card p,
.problem-grid p,
.steps p,
.flow p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: start;
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - var(--max)) / 2));
  background: var(--soft);
  color: var(--ink);
}

.band p { color: var(--muted); }
.band .eyebrow { color: var(--coral); }

.works-feature {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.works-feature-copy {
  min-width: 0;
}

.works-feature-copy p:not(.eyebrow) {
  color: var(--muted);
}

.hp-work-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}

.hp-work-card > a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: end;
  min-height: 430px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  background: var(--soft);
}

.hp-work-pc,
.hp-work-sp {
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}

.hp-work-pc img,
.hp-work-sp img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.hp-work-pc {
  height: 360px;
}

.hp-work-sp {
  height: 360px;
}

.hp-work-card:hover img {
  transform: scale(1.025);
}

.hp-work-card > div {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .24);
}

.hp-work-card > div::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, .7);
}

.hp-work-card span {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hp-work-card h3 {
  margin: 0;
  color: #fff;
}

.hp-work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(38, 31, 29, .2);
  pointer-events: none;
}

.works-line-slider {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.works-line-slider::-webkit-scrollbar { display: none; }

.works-line-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.works-line-track img {
  height: 560px;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}

.slider-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  font-size: 0.78rem;
  color: #999;
  margin-top: 12px;
  letter-spacing: 0.04em;
}

.works-mixed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.work-card {
  position: relative;
  height: 360px;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
}

.work-card img,
.work-card video {
  width: 100%;
  height: 100%;
  min-height: 0;
  transition: transform .35s ease;
}

.work-card img {
  object-fit: contain;
  background: #fff;
}

.work-card video {
  object-fit: cover;
}

.work-card:hover img,
.work-card:hover video {
  transform: scale(1.035);
}

.work-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding-top: 16px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .22);
}

.work-card div::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(255, 255, 255, .68);
}

.work-card span {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.work-card h3 {
  margin: 0;
  color: #fff;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(38, 31, 29, .24);
  pointer-events: none;
}

.work-card div {
  z-index: 1;
}

.work-card-video {
  grid-column: auto;
}

.steps div {
  padding: 26px;
  color: var(--ink);
}

.steps span,
.flow span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  color: #8c5750;
  background: #ffe4dc;
  border-radius: var(--radius);
  font-family: var(--font-en);
  font-weight: 600;
}

.cta-section {
  text-align: center;
  max-width: 820px;
}

.cta-section .btn { margin-top: 20px; }

.site-footer {
  display: grid;
  gap: 10px;
  padding: 44px 20px;
  color: #7d6c67;
  background: #fff5f1;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 800;
}

.footer-brand img {
  width: min(260px, 72vw);
  height: auto;
}

.site-footer p,
.site-footer small { margin: 0; color: #8e7d78; }

.page-title {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 28px;
}

.page-title h1 {
  max-width: 820px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.4;
}

.page-title > p:not(.eyebrow) {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-list article {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 24px;
  padding: 28px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  transition: background-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.service-list article:hover {
  background: var(--cream);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-list .icon-line { margin: 0; }
.service-list h2 { font-size: clamp(22px, 2.2vw, 30px); }

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.flow article { padding: 26px; }
.flow h2 { font-size: 23px; }

.output-grid {
  grid-template-columns: repeat(4, 1fr);
}

.output-grid div {
  min-height: 128px;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #8c5750;
  font-weight: 600;
  text-align: center;
}

.about-panel {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}

.about-panel > div:first-child {
  display: grid;
  place-items: center;
  min-height: 320px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: var(--soft);
}

.about-panel img {
  width: 220px;
}

.about-panel .profile-photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  object-fit: cover;
  object-position: center top;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: start;
}

.contact-form,
.contact-note {
  padding: 30px;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  background: #fffdf9;
}

textarea { resize: vertical; }

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.required {
  color: #e53e3e;
  margin-left: 2px;
}

.contact-note {
  background: var(--soft);
}

.contact-note h2 {
  font-size: clamp(24px, 2.5vw, 32px);
}

.contact-note ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.contact-note li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #6f625f;
  font-weight: 700;
}

.icon-check,
.link-arrow {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-check {
  width: 20px;
  height: 20px;
  margin-top: 6px;
  color: var(--coral);
}

.link-arrow {
  width: 18px;
  height: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex: 0 0 44px;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  /* 開いた状態：×マークへ変形 */
  .nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 78px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

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

  .nav-link {
    min-height: auto;
    padding: 12px 0;
  }

  .nav-link::after {
    left: 0;
    right: 0;
    bottom: 6px;
  }

  .submenu {
    position: static;
    min-width: 0;
    padding: 6px 0 10px 16px;
    color: var(--muted);
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .submenu a {
    padding: 6px 0;
    white-space: normal;
  }

  .submenu a:hover,
  .submenu a:focus-visible {
    color: var(--coral);
  }

  .nav-cta {
    justify-content: center;
    margin: 10px 0 0;
  }

  .hero {
    width: min(var(--max), calc(100% - 40px));
    min-height: auto;
    margin: 0 auto;
    padding-top: 30px;
  }

  .hero-visual {
    order: -1;
    border-radius: var(--radius);
  }

  .hero-visual::after {
    content: none;
  }

  .hero-slider {
    min-height: auto;
    border-radius: var(--radius);
    background: transparent;
  }

  .hero-slider-track {
    min-height: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius);
  }

  .hero-copy {
    position: static;
    width: auto;
    color: var(--ink);
    padding-top: 28px;
    transform: none;
  }

  .hero-copy .eyebrow {
    color: var(--coral);
  }

  .hero h1 {
    color: var(--ink);
    font-size: clamp(24px, 6.5vw, 36px);
    line-height: 1.34;
    text-shadow: none;
  }

  .hero-copy > p:not(.eyebrow) {
    color: var(--muted);
    text-shadow: none;
  }

  .hero .btn-primary {
    color: #fff;
    background: var(--coral);
    border-color: var(--coral);
  }

  .hero .btn-primary:hover,
  .hero .btn-primary:focus-visible {
    color: var(--coral);
    background: transparent;
  }

  .hero .btn-ghost {
    color: var(--ink);
    background: rgba(255,255,255,0.9);
    border-color: rgba(59,51,49,0.55);
  }

  .hero .btn-ghost:hover,
  .hero .btn-ghost:focus-visible {
    color: #fff;
    background: #8c5750;
    border-color: #8c5750;
  }

  .hero-dots {
    display: none;
  }

  .problem-grid,
  .service-grid,
  .steps,
  .flow,
  .output-grid,
  .band,
  .about-panel,
  .contact-layout,
  .works-feature,
  .works-mixed-grid {
    grid-template-columns: 1fr;
  }

  .works-line-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-work-card > a {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hp-work-pc,
  .hp-work-sp {
    height: 300px;
  }

  .works-line-track img {
    height: 420px;
  }

  .work-card-video {
    grid-column: auto;
  }

  .section-head.split {
    display: block;
  }

  .text-link {
    margin-top: 18px;
  }

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

@media (max-width: 560px) {
  .site-header {
    min-height: 70px;
    padding-inline: 16px;
  }

  .brand {
    width: 236px;
    max-width: calc(100vw - 92px);
  }

  .site-nav { inset-top: 70px; }

  .hero,
  .section,
  .page-title {
    width: calc(100% - 32px);
    max-width: calc(100vw - 32px);
    overflow: hidden;
  }

  .section {
    padding: 68px 0;
  }

  .section-soft,
  .band {
    width: 100%;
    padding-inline: 16px;
  }

  h1 {
    font-size: 30px;
    line-height: 1.38;
  }

  h2 {
    font-size: 24px;
    line-height: 1.48;
  }

  h1,
  h2,
  h3,
  p,
  a,
  li {
    word-break: break-all;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .hero-actions,
  .hero-actions .btn,
  .cta-section .btn,
  .contact-form .btn {
    width: 100%;
  }

  .btn { padding-inline: 18px; }

  .service-card,
  .problem-grid article,
  .contact-form,
  .contact-note {
    padding: 22px;
  }
}

.parallax-divider {
  height: 320px;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  .parallax-divider {
    height: 200px;
    background-attachment: scroll;
  }
}

/* ── デザイン改善 2026-05-23 ── */

/* サービスカード写真 */
.service-thumb {
  clip-path: none;
}

/* ボタン：角を柔らかく */
.btn {
  border-radius: 100px;
}

/* section-soft */
.section-soft {
  clip-path: none;
  padding-bottom: 80px;
}

/* スムーススクロール */
html { scroll-behavior: smooth; }

/* 日本語テキストの途中折り返し防止 */
.hero-copy h1,
.section-head h2,
.section-head h3,
.band-copy h2,
h2, h3 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hp-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.hp-work-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.browser-mockup {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e3de;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  background: #f5f3f0;
}

.browser-bar {
  height: 28px;
  background: #f0ede8;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid #e8e3de;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d4cfc9;
}

.browser-bar span:nth-child(1) { background: #ff6058; }
.browser-bar span:nth-child(2) { background: #ffbd2e; }
.browser-bar span:nth-child(3) { background: #28c840; }

.browser-mockup img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}

.hp-work-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}

.hp-work-category {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-top: 12px;
  text-align: center;
}

.hp-work-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.hp-work-desc {
  font-size: 13px;
  color: var(--text-light, #888);
  line-height: 1.6;
}

.hp-works-grid .hp-work-card {
  position: static;
  height: auto;
  min-height: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.hp-works-grid .hp-work-card::after {
  display: none;
}

.hp-works-grid .hp-work-card > div {
  position: static;
  inset: auto;
  z-index: auto;
  padding-top: 0;
  color: inherit;
  text-shadow: none;
}

.hp-works-grid .hp-work-card > div::before {
  display: none;
}

.hp-works-grid .hp-work-title {
  color: var(--text);
}

/* ── HP制作実績モックアップ ── */
.hp-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.hp-work-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hp-work-mockup {
  width: 100%;
  display: block;
  border-radius: 10px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.10);
}

.hp-mockup-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 0;
}

.hp-browser-mock {
  flex: 1;
  border-radius: 10px 10px 8px 8px;
  overflow: hidden;
  border: 1px solid #e8e3de;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  background: #f5f3f0;
}

.hp-browser-bar {
  height: 26px;
  background: #edeae6;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border-bottom: 1px solid #e2ddd8;
  flex-shrink: 0;
}

.hp-browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.hp-browser-bar span:nth-child(1) { background: #ff6058; }
.hp-browser-bar span:nth-child(2) { background: #ffbd2e; }
.hp-browser-bar span:nth-child(3) { background: #28c840; }

.hp-browser-mock img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.hp-sp-mock {
  width: 28%;
  flex-shrink: 0;
  margin-left: -10%;
  margin-bottom: -4px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.18));
  position: relative;
  z-index: 1;
}

.hp-work-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #b07a6a;
  text-transform: uppercase;
  margin-top: 4px;
}

.hp-work-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text, #2a2a2a);
  margin: 0;
}

.hp-work-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.65;
  margin: 0;
}

.hp-works-grid .hp-mockup-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.hp-works-grid .hp-work-title {
  color: var(--ink);
}

.cta-section .contact-form {
  width: min(720px, 100%);
  margin: 18px auto 0;
  text-align: left;
}

.about-signature {
  margin-top: 28px;
  display: grid;
  gap: 8px;
}

.about-signature span {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--coral);
}

.about-signature strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}

/* Works サブセクション間の余白 */
.works-sub-head {
  margin-top: 80px;
  margin-bottom: 32px;
}

.works-sub-head:first-of-type,
.section-head + .works-sub-head {
  margin-top: 48px;
}

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

@media (max-width: 768px) {
  .hp-works-grid { grid-template-columns: 1fr; gap: 32px; }
}

#flow .flow {
  margin-top: 48px;
}

.works-subsection {
  margin-top: 80px;
}

.section-head + .works-subsection {
  margin-top: 48px;
}

.works-subsection-head {
  margin-bottom: 32px;
}

.works-subsection-head > p:not(.eyebrow) {
  color: var(--muted);
}

.section-angled {
  position: relative;
  clip-path: none;
  padding-top: 96px;
  padding-bottom: 96px;
}

@media (max-width: 768px) {
  .section-angled {
    clip-path: none;
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

.angled-top {
  clip-path: none;
  margin-top: 0;
}

.angled-bottom {
  clip-path: none;
  margin-bottom: 0;
}

.angled-both {
  clip-path: none;
  padding-top: 100px;
  padding-bottom: 100px;
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .angled-top  { clip-path: none; }
  .angled-bottom { clip-path: none; }
  .angled-both {
    clip-path: none;
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 30px;
  border-radius: 2px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    background-color .22s ease,
    color .22s ease,
    border-color .22s ease,
    transform .15s ease,
    box-shadow .22s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.btn-primary {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: var(--coral);
  background: transparent;
  border-color: var(--coral);
}

.btn-ghost {
  color: var(--coral);
  background: transparent;
  border-color: var(--coral);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #fff;
  background: var(--coral);
  border-color: var(--coral);
}

/* Hero内のボタンは白ベースに上書き */
.hero .btn-ghost {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.6);
}
.hero .btn-ghost:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.eyebrow {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--coral);
}

.section-head h2,
.band-copy h2,
.cta-section h2,
.page-title h1 {
  font-family: var(--font-jp);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.nav-link {
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-cta {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  border-radius: 2px;
  padding: 10px 22px;
}

/* ボタン：丸みと軽い浮遊感を戻す */
.btn,
.nav-cta {
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(217, 132, 120, .18);
}

.btn:hover,
.btn:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(217, 132, 120, .24);
}

.btn-primary,
.nav-cta {
  background: var(--coral);
  border-color: var(--coral);
}

.btn-ghost {
  background: rgba(255, 255, 255, .72);
}

.hero .btn-primary {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.hero .btn-primary:hover,
.hero .btn-primary:focus-visible {
  color: var(--coral);
  background: #fff;
  border-color: #fff;
}

.hero .btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .76);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
  backdrop-filter: blur(8px);
}

.hero .btn-ghost:hover,
.hero .btn-ghost:focus-visible {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

/* モバイルでhero-copyが白背景に落ちるためbtn-ghostを暗色に上書き */
@media (max-width: 768px) {
  .hero .btn-ghost {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(59, 51, 49, 0.5);
    backdrop-filter: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  .hero .btn-ghost:hover,
  .hero .btn-ghost:focus-visible {
    color: #fff;
    background: var(--coral);
    border-color: var(--coral);
  }
}
