:root {
  --color-bg: #f8f3ee;
  --color-white: #fff;
  --color-text: #3f3633;
  --color-muted: #7d706b;
  --color-lavender: #bfa6c9;
  --color-pink-beige: #e8d8d0;
  --color-cta: #8f6fa8;
  --color-soft-pink: #d98695;
  --color-line: #e7ddd7;
  --shadow-card: 0 8px 25px rgba(91, 69, 63, 0.08);
  --font-serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--color-text);
  background: #fdfbf9;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container,
.header-inner,
.footer-inner {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 82px;
  border-bottom: 1px solid rgba(232, 216, 208, 0.6);
  background: rgba(255, 253, 251, 0.92);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo,
.footer-logo {
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.logo span,
.footer-logo span {
  color: var(--color-lavender);
  font-size: 17px;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.7vw, 40px);
  font-family: var(--font-serif);
  font-size: 13px;
}

.global-nav a,
.footer-nav a {
  transition: color 0.25s ease;
}

.global-nav a:hover,
.footer-nav a:hover {
  color: var(--color-cta);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(191, 166, 201, 0.18), transparent 18%),
    linear-gradient(110deg, #fffdfa 0%, #fff 44%, #f7f0eb 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(191, 166, 201, 0.22);
  border-radius: 52% 48% 44% 56%;
  content: "";
}

.hero::before {
  top: -150px;
  left: -90px;
  transform: rotate(24deg);
}

.hero::after {
  bottom: -200px;
  left: 4%;
  width: 340px;
  height: 340px;
  border-color: rgba(217, 134, 149, 0.14);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(min(480px, 45vw), 0.95fr) minmax(min(500px, 47vw), 1.2fr);
  align-items: center;
  width: min(1360px, calc(100% - 48px));
  min-height: 590px;
  margin-inline: auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 64px 0 72px max(0px, calc((100vw - 1160px) / 2 - 24px));
}

.hero-kicker {
  margin-bottom: 18px;
  color: var(--color-cta);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.hero h1 {
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 2.35vw, 34px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.hero-description {
  margin-bottom: 32px;
  color: #625550;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  gap: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 52px;
  padding: 10px 26px;
  border: 1px solid var(--color-soft-pink);
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.button span {
  margin-left: 18px;
  font-family: sans-serif;
  font-size: 21px;
}

.button-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, #c86f7f, #dc929e);
  box-shadow: 0 8px 20px rgba(217, 134, 149, 0.18);
}

.button-outline {
  color: var(--color-soft-pink);
  background: rgba(255, 255, 255, 0.78);
}

.button:hover {
  opacity: 0.88;
  transform: translateY(-3px);
}

.hero-ornament {
  position: absolute;
  top: 46px;
  left: -26px;
  color: var(--color-lavender);
  font-size: 18px;
}

.hero-visual {
  align-self: stretch;
  min-height: 590px;
  margin-right: min(-24px, calc((1160px - 100vw) / 2));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 100%);
}

.section {
  padding-block: 86px;
}

.concept {
  background: #fff;
}

.concept-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(400px, 0.95fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: center;
  padding-inline: 40px;
}

.concept-heading {
  position: relative;
  padding-right: 40px;
  border-right: 1px solid var(--color-line);
  text-align: right;
}

.section-en {
  margin-bottom: 2px;
  color: var(--color-cta);
  font-family: var(--font-serif);
  font-size: 21px;
  font-style: italic;
  letter-spacing: 0.01em;
}

.concept-heading h2 {
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.65;
  white-space: nowrap;
}

.tiny-moon {
  color: #c7a873;
  font-size: 22px;
}

.concept-copy p {
  margin-bottom: 9px;
  font-family: var(--font-serif);
  font-size: 13px;
  line-height: 2;
}

.concept-copy p:last-child {
  margin-bottom: 0;
}

.concept-notes {
  position: absolute;
  right: 0;
  color: rgba(143, 111, 168, 0.62);
  font-family: var(--font-serif);
  font-size: 35px;
  line-height: 1;
  text-align: center;
}

.concept-notes span {
  font-size: 13px;
}

.works {
  padding-top: 66px;
  background: var(--color-bg);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-heading-line {
  position: relative;
}

.section-heading-line::after {
  flex: 1;
  height: 1px;
  margin: 0 20px 15px;
  background: var(--color-line);
  content: "";
}

.section-heading h2,
.panel-heading h2 {
  display: inline;
  margin-left: 13px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
}

.section-heading .section-en,
.panel-heading .section-en {
  display: inline;
}

.view-all {
  flex-shrink: 0;
  margin-bottom: 7px;
  font-family: var(--font-serif);
  font-size: 12px;
  transition: color 0.25s ease;
}

.view-all:hover {
  color: var(--color-cta);
}

.view-all span {
  margin-left: 10px;
  font-size: 18px;
}

.works-more {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}

.works-more .view-all {
  margin-bottom: 0;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
}

.work-card,
.service-card,
.panel {
  overflow: hidden;
  border: 1px solid rgba(226, 215, 209, 0.82);
  border-radius: 13px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.work-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover {
  box-shadow: 0 12px 30px rgba(91, 69, 63, 0.13);
  transform: translateY(-4px);
}

.work-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.81;
  background: #f5eeea;
}

/* Work card link (共通) */
.work-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
}

/* バナー拡大ヒント */
.work-zoom-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(143, 111, 168, 0.88);
  color: #fff;
  font-size: 11px;
  font-family: var(--font-serif);
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.work-card-banner:hover .work-zoom-hint {
  opacity: 1;
}

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

.work-content {
  flex: 1;
  padding: 14px 13px 16px;
}

.work-content h3 {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
}

.work-content p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: 12px;
  line-height: 1.9;
}

.services {
  padding-block: 65px 70px;
  background: #fffdfa;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  display: flex;
  align-items: center;
  min-height: 130px;
  padding: 22px 18px;
  transition: transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card img {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  margin-right: 16px;
  border-radius: 50%;
}

.service-card h3 {
  margin-bottom: 7px;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.service-card p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: 12px;
  line-height: 1.8;
}

.workflow {
  padding-block: 65px 76px;
  background: #faf7f4;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.flow-item {
  position: relative;
  display: flex;
  min-height: 250px;
  padding: 30px 14px 22px;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(226, 215, 209, 0.82);
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flow-item:hover {
  box-shadow: 0 12px 30px rgba(91, 69, 63, 0.12);
  transform: translateY(-4px);
}

.flow-item:not(:last-child)::after {
  position: absolute;
  top: 92px;
  left: calc(100% + 6px);
  width: 20px;
  height: 1px;
  border-top: 2px dotted #d8c7dc;
  content: "";
}

.flow-item:not(:last-child)::before {
  position: absolute;
  z-index: 2;
  top: 84px;
  left: calc(100% + 24px);
  color: var(--color-cta);
  content: "›";
  font-family: sans-serif;
  font-size: 20px;
}

.step-number {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--color-lavender);
  font-family: var(--font-serif);
  font-size: 10px;
}

.flow-icon {
  width: 124px;
  height: 124px;
  margin: 0 auto 11px;
  overflow: hidden;
  border-radius: 50%;
  background: #fbf4f2;
}

.flow-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow-item h3 {
  margin-bottom: 5px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
}

.flow-item p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: 12px;
  line-height: 1.8;
}

.about-contact {
  padding-block: 68px;
  background: #fffdfa;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 34px;
}

.panel {
  padding: 22px 24px 24px;
}

.panel-heading {
  margin-bottom: 16px;
}

.profile-content {
  display: grid;
  grid-template-columns: 145px 1fr;
  align-items: center;
  gap: 18px;
}

.profile-content > img {
  width: 145px;
  height: 145px;
  object-fit: cover;
  border-radius: 50%;
}

.profile-copy h3 {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
}

.profile-copy h3 span {
  font-size: 12px;
  font-weight: 400;
}

.profile-copy p,
.contact-lead {
  margin-bottom: 14px;
  color: #665954;
  font-family: var(--font-serif);
  font-size: 11px;
  line-height: 1.9;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.profile-tags li {
  padding: 4px 11px;
  color: #735f7f;
  border-radius: 999px;
  background: #f2eaf4;
  font-size: 11px;
}

.contact {
  position: relative;
}

.contact::after {
  position: absolute;
  right: 22px;
  bottom: 68px;
  color: rgba(191, 166, 201, 0.5);
  content: "♪  ✉  ✦";
  font-family: var(--font-serif);
  font-size: 17px;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.contact-links a {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 66px;
  padding: 11px 12px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(91, 69, 63, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-links a:hover {
  border-color: rgba(143, 111, 168, 0.42);
  box-shadow: 0 9px 20px rgba(91, 69, 63, 0.12);
  transform: translateY(-3px);
}

.contact-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: #fff;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
}

.contact-icon-coconala {
  background: conic-gradient(from 35deg, #6fc7cd, #8f76c2, #e9909e, #f0c56f, #6fc7cd);
}

.contact-icon-crowdworks {
  background: #2e72b9;
  font-size: 9px;
  letter-spacing: -0.04em;
}

.contact-icon-x {
  color: #fff;
  border-radius: 50%;
  background: #171717;
  font-size: 15px;
  font-weight: 500;
}

.contact-button-copy {
  min-width: 0;
  flex: 1;
  font-family: var(--font-serif);
  line-height: 1.4;
}

.contact-button-copy strong,
.contact-button-copy small {
  display: block;
}

.contact-button-copy strong {
  font-size: 12px;
  font-weight: 600;
}

.contact-button-copy small {
  color: var(--color-muted);
  font-size: 11px;
}

.contact-arrow {
  flex: 0 0 auto;
  color: var(--color-cta);
  font-family: sans-serif;
  font-size: 18px;
}

.contact-note {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: 11px;
}

.site-footer {
  padding-block: 28px;
  border-top: 1px solid rgba(232, 216, 208, 0.7);
  background: var(--color-bg);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}

.footer-logo {
  font-size: 20px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-family: var(--font-serif);
  font-size: 11px;
}

.copyright {
  margin: 0;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: 11px;
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(min(420px, 42vw), 0.9fr) minmax(min(430px, 44vw), 1.1fr);
  }

  .hero h1 {
    font-size: 32px;
  }

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

  .work-image {
    aspect-ratio: 0.96;
  }

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

  .workflow-list {
    gap: 20px;
  }

  .flow-item:not(:last-child)::after,
  .flow-item:not(:last-child)::before {
    display: none;
  }

  .flow-icon {
    width: 112px;
    height: 112px;
  }

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

@media (max-width: 820px) {
  html {
    scroll-padding-top: 68px;
  }

  .container,
  .header-inner,
  .footer-inner {
    width: min(100% - 36px, 620px);
  }

  .site-header {
    height: 68px;
  }

  .logo {
    font-size: 23px;
  }

  .menu-button {
    position: relative;
    z-index: 60;
    display: flex;
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-text);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    z-index: 55;
    inset: 68px 0 auto;
    display: flex;
    max-height: 0;
    padding: 0 24px;
    overflow: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid transparent;
    background: rgba(255, 253, 251, 0.98);
    opacity: 0;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
  }

  .global-nav.is-open {
    max-height: 440px;
    padding-block: 16px 22px;
    border-bottom-color: var(--color-line);
    opacity: 1;
  }

  .global-nav a {
    padding: 11px 4px;
    border-bottom: 1px solid #f2ebe7;
    font-size: 13px;
    text-align: center;
  }

  .hero-inner {
    display: flex;
    width: 100%;
    min-height: auto;
    flex-direction: column;
  }

  .hero-copy {
    width: min(100% - 36px, 620px);
    margin-inline: auto;
    padding: 64px 0 40px;
  }

  .hero h1 {
    margin-bottom: 21px;
    font-size: clamp(25px, 6.2vw, 31px);
    line-height: 1.65;
  }

  .hero-description {
    margin-bottom: 27px;
    font-size: 13px;
  }

  .pc-only {
    display: none;
  }

  .hero-visual {
    width: 100%;
    min-height: 0;
    margin: 0;
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 100%);
  }

  .section {
    padding-block: 68px;
  }

  .concept-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-inline: 0;
  }

  .concept-heading {
    padding: 0 0 26px;
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
    text-align: left;
  }

  .concept-heading h2 {
    font-size: 22px;
    white-space: normal;
  }

  .concept-notes {
    top: 0;
    right: 6px;
  }

  .workflow-list {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 440px;
    margin-inline: auto;
    padding-top: 4px;
  }

  .flow-item {
    display: grid;
    grid-template-columns: 104px 1fr;
    grid-template-rows: auto auto;
    min-height: 142px;
    padding: 18px;
    align-items: center;
    column-gap: 22px;
    text-align: left;
  }

  .step-number {
    top: 10px;
    left: 10px;
  }

  .flow-icon {
    grid-row: 1 / 3;
    width: 104px;
    height: 104px;
    margin: 0;
  }

  .flow-item h3 {
    align-self: end;
    margin-bottom: 2px;
    font-size: 17px;
  }

  .flow-item p {
    align-self: start;
    font-size: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}

@media (max-width: 580px) {
  body {
    font-size: 14px;
  }

  .hero-copy {
    padding-top: 48px;
  }

  .hero-kicker {
    font-size: 9px;
  }

  .hero h1 {
    font-size: 23px;
    line-height: 1.8;
    letter-spacing: 0.035em;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .button {
    width: 100%;
  }

  .hero-visual img {
    min-height: 265px;
  }

  .section-en {
    font-size: 19px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading-line::after {
    margin-inline: 14px;
  }

  .works {
    padding-top: 58px;
  }

  .works-more {
    justify-content: center;
    margin-top: 24px;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .work-image {
    aspect-ratio: 0.8;
  }

  .work-content {
    padding: 12px 10px 14px;
  }

  .work-content h3 {
    font-size: 13px;
  }

  .work-content p {
    font-size: 11px;
    line-height: 1.75;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    min-height: 112px;
    padding: 18px;
  }

  .service-card img {
    flex-basis: 70px;
    width: 70px;
    height: 70px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .service-card p {
    font-size: 11px;
  }

  .bottom-grid {
    width: min(100% - 24px, 620px);
    gap: 22px;
  }

  .panel {
    padding: 20px 17px;
  }

  .profile-content {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .profile-content > img {
    width: 150px;
    height: 150px;
    margin-inline: auto;
  }

  .profile-copy {
    text-align: center;
  }

  .profile-copy p {
    text-align: left;
  }

  .profile-tags {
    justify-content: center;
  }

  .contact-links {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .contact-links a {
    min-height: 72px;
    padding: 13px 16px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .contact-button-copy strong {
    font-size: 13px;
  }

  .contact-button-copy small {
    font-size: 10px;
  }

  .contact::after {
    display: none;
  }

  .contact-note {
    line-height: 1.6;
  }
}

/* ── ライトボックス ───────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 28, 0.82);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(520px, 88vw);
  animation: lightbox-in 0.25s ease;
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: none; }
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ── スクロールフェードイン ───────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
