:root {
  --color-primary: #7EC8E3;
  --color-primary-dark: #4A9CC7;
  --color-primary-text: #33718F;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F0F8FC;
  --color-text: #333B44;
  --color-text-sub: #6B7A88;
  --color-accent: #FFD166;
  --color-line: #D9ECF4;
  --shadow-soft: 0 20px 60px rgba(74, 156, 199, 0.14);
  --radius-card: 28px;
  --container: 1080px;
  --container-wide: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

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

a {
  color: var(--color-primary-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #287EA8;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--color-text);
  color: #fff;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(calc(100% - 40px), var(--container-wide));
}

.section {
  padding: 80px 0;
  position: relative;
}

:where(section[id]) {
  scroll-margin-top: 96px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 236, 244, 0.82);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--color-text);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary), #DFF6FF);
  color: #fff;
  box-shadow: 0 10px 28px rgba(74, 156, 199, 0.24);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-size: 0.94rem;
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-primary-dark);
}

.hero {
  overflow-x: clip;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 10% 12%, rgba(126, 200, 227, 0.18), transparent 34%),
    linear-gradient(180deg, #F8FDFF 0%, #FFFFFF 72%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-primary-text);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  line-height: 1.16;
  letter-spacing: 0.01em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.24;
  word-break: keep-all;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.48;
}

.hero-lead,
.page-lead,
.section-heading p {
  color: var(--color-text-sub);
  font-size: 1.05rem;
}

.hero-scrim {
  display: none;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-copy-main,
.hero-copy-sub {
  display: block;
}

.hero-copy-main {
  width: fit-content;
  max-width: 100%;
  color: #22303C;
  font-family: "Klee One", "Zen Maru Gothic", sans-serif;
  font-size: clamp(2.35rem, 8.6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.04em;
  font-feature-settings: "halt" 1;
  overflow-wrap: normal;
  word-break: keep-all;
  line-break: strict;
}

.hero-copy-main .kern {
  letter-spacing: -0.28em;
}

.hero-copy-sub {
  margin-top: 10px;
  color: var(--color-text);
  font-size: clamp(1.06rem, 3.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.03em;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--color-primary-dark);
  color: #fff;
  box-shadow: 0 14px 32px rgba(74, 156, 199, 0.26);
}

.button-primary:hover {
  color: #fff;
  background: #2E89B3;
}

.button-ghost {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: var(--color-line);
}

.button-large {
  min-height: 56px;
  padding-inline: 30px;
}

.hero-art {
  margin: 0;
  position: relative;
  z-index: 1;
  min-width: 0;
  margin-right: -20px;
}

.hero-art picture {
  display: block;
  overflow: hidden;
  height: clamp(500px, 66vh, 720px);
  border-radius: 34px 0 0 34px;
  background: var(--color-bg-soft);
  box-shadow:
    inset 0 0 0 6px #fff,
    var(--shadow-soft);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.hero-art-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  min-width: 188px;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(10px);
}

.hero-art-label:empty {
  display: none;
}

.cloud {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 168px;
  height: 58px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    42px -16px 0 6px rgba(255, 255, 255, 0.78),
    82px 4px 0 2px rgba(255, 255, 255, 0.78);
  filter: drop-shadow(0 18px 28px rgba(74, 156, 199, 0.12));
}

.cloud-a {
  top: 116px;
  left: 1vw;
  opacity: 0.34;
}

.cloud-b {
  display: none;
}

@media (min-width: 1120px) {
  .hero-art {
    margin-right: calc((var(--container) - 100vw) / 2);
  }
}

@media (min-width: 769px) {
  /* ヒーローB案採用スタイル。モバイルは横長イラストの見え方を優先し、既存の縦積み表示を維持する。 */
  body.hero-b .hero {
    position: relative;
    min-height: max(560px, min(92vh, 960px));
    padding: 0;
    overflow: clip;
    isolation: isolate;
    background: #DFF6FF;
  }

  body.hero-b .cloud {
    display: none;
  }

  body.hero-b .hero-grid {
    position: static;
    z-index: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.hero-b .hero-scrim {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      100deg,
      rgba(240, 248, 252, 0.98) 0%,
      rgba(240, 248, 252, 0.90) 38%,
      rgba(240, 248, 252, 0.44) 52%,
      rgba(240, 248, 252, 0) 57%
    );
  }

  body.hero-b .hero-copy {
    z-index: 2;
    width: clamp(380px, 42vw, 500px);
    max-width: 520px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.hero-b .hero-content {
    position: relative;
    z-index: 2;
  }

  body.hero-b .hero-copy .eyebrow {
    color: #082C42;
    margin-bottom: 8px;
  }

  body.hero-b .hero-copy h1 {
    margin-bottom: 14px;
  }

  body.hero-b .hero-copy-main {
    font-size: clamp(2.5rem, 5.5vw, 4.75rem);
    line-height: 1.12;
  }

  body.hero-b .hero-copy-sub {
    margin-top: 8px;
    color: var(--color-text);
    font-size: clamp(1.1rem, 1.45vw, 1.25rem);
    line-height: 1.45;
  }

  body.hero-b .hero-lead {
    max-width: 500px;
    color: var(--color-text);
    font-size: clamp(1.04rem, 1.35vw, 1.18rem);
    font-weight: 500;
    line-height: 1.72;
  }

  body.hero-b .hero-actions {
    flex-wrap: nowrap;
    gap: 16px;
    margin: 24px 0 0;
  }

  body.hero-b .hero-actions .button {
    width: auto;
    padding-inline: 20px;
  }

  body.hero-b .hero-actions .button-ghost {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(217, 236, 244, 0.95);
    box-shadow: 0 12px 30px rgba(24, 92, 129, 0.12);
  }

  body.hero-b .hero-art {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    pointer-events: none;
  }

  body.hero-b .hero-art::after {
    display: none;
  }

  body.hero-b .hero-art picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: #0A58A8;
    box-shadow: none;
  }

  body.hero-b .hero-art img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 32% center;
  }

  body.hero-b .hero-art-label {
    display: none;
  }
}

.cloud-c {
  right: 8vw;
  top: 44px;
  transform: scale(0.82);
  opacity: 0.72;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.works-grid {
  display: grid;
  gap: 24px;
}

.works-grid-featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.work-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 16px 42px rgba(74, 156, 199, 0.1);
}

.work-image {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  aspect-ratio: 16 / 9;
  background: var(--color-bg-soft);
  color: inherit;
  cursor: pointer;
}

.work-image:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -7px;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.work-card.is-thumb-portrait .work-image img {
  object-position: center top;
}

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

.work-image-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(20, 40, 60, 0.56);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
}

.work-body h3 {
  overflow: hidden;
  margin-bottom: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.work-year {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-sub);
  font-size: 0.84rem;
  line-height: 1;
}

.work-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.work-meta::after {
  content: none;
}

.work-meta .tag-list {
  flex: 1;
  min-width: 0;
  margin: 0;
}

.work-meta .tag-list span {
  max-width: 100%;
}

.work-plan {
  margin-bottom: 8px;
  color: var(--color-text-sub);
  font-size: 0.9rem;
}

.work-body > .text-link {
  margin-top: auto;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  color: var(--color-primary-text);
  font-size: 0.82rem;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  max-width: 100%;
  overflow: hidden;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.is-lightbox-open {
  overflow: hidden;
}

.lightbox-dialog {
  flex-direction: column;
  width: min(96vw, 1100px);
  height: min(88vh, 900px);
  max-height: 88vh;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(20, 40, 60, 0.28);
}

.lightbox-dialog[open] {
  display: flex;
}

.lightbox-dialog::backdrop {
  background: rgba(20, 40, 60, 0.6);
}

.lightbox-panel {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}

.lightbox-header,
.lightbox-footer {
  flex-shrink: 0;
  padding: 18px 24px;
}

.lightbox-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--color-line);
}

.lightbox-heading {
  min-width: 0;
}

.lightbox-title {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.lightbox-tags {
  margin-bottom: 8px;
}

.lightbox-header-link:not(:empty) {
  margin-top: 8px;
}

.lightbox-header-link .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.lightbox-close,
.lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
  line-height: 1;
}

.lightbox-icon {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.lightbox-icon-close {
  width: 18px;
  height: 18px;
}

.lightbox-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.lightbox-close:hover,
.lightbox-nav:hover:not(:disabled) {
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
  color: #fff;
}

.lightbox-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #F8FDFF, #EDF8FC);
}

.lightbox-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.lightbox-slide {
  display: grid;
  box-sizing: border-box;
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: clamp(18px, 3vw, 32px);
  margin: 0;
  place-items: center;
  scroll-snap-align: center;
}

.lightbox-slide img {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 18px 34px rgba(20, 40, 60, 0.14));
}

.lightbox-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 12px 32px rgba(20, 40, 60, 0.16);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-nav:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.lightbox-nav[hidden],
.lightbox-counter[hidden] {
  display: none;
}

.lightbox-counter {
  margin: 0;
  color: var(--color-text-sub);
  font-weight: 700;
  text-align: center;
}

.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-top: 1px solid var(--color-line);
}

.loading,
.gallery-status,
.noscript-note {
  color: var(--color-text-sub);
}

.noscript-note {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: 22px;
  background: #fff;
}

.noscript-work-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.noscript-work-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-line);
}

.noscript-work-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.noscript-title {
  color: var(--color-text);
  font-weight: 700;
}

.noscript-meta {
  color: var(--color-text-sub);
  font-size: 0.9rem;
}

.section-cta {
  margin-top: 38px;
  text-align: center;
}

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

.price-card,
.note-box,
.availability,
.faq-item,
.contact-card,
.profile-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 16px 42px rgba(74, 156, 199, 0.08);
}

.price-card {
  padding: 24px;
}

.price-card h3 {
  margin-bottom: 10px;
  min-height: calc(1.48em * 2);
  min-height: 2lh;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.price-card-emphasis {
  border-color: var(--color-primary);
  box-shadow: 0 18px 48px rgba(74, 156, 199, 0.16);
}

.price {
  margin-bottom: 14px;
  color: var(--color-primary-dark);
  font-size: 1.8rem;
  font-weight: 700;
}

.note-box {
  margin-top: 24px;
  padding: 22px 24px;
  color: var(--color-text-sub);
}

.note-box p:last-child {
  margin-bottom: 0;
}

.price-note-important {
  color: var(--color-text);
  font-weight: 700;
}

.availability {
  display: grid;
  grid-template-columns: 0.46fr 1fr;
  align-items: start;
  gap: 28px;
  padding: 34px;
  background: linear-gradient(135deg, #FFF6D8, #FFFFFF 58%, #F0F8FC);
  border-color: rgba(255, 209, 102, 0.65);
}

.availability-board {
  min-width: 0;
}

.availability-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  table-layout: fixed;
}

.availability-table caption {
  margin-bottom: 10px;
  color: var(--color-text-sub);
  font-size: 0.92rem;
  text-align: left;
}

.availability-table th,
.availability-table td {
  padding: 14px 16px;
  background: #fff;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.availability-table th {
  width: 36%;
  border-left: 1px solid var(--color-line);
  border-radius: 18px 0 0 18px;
  text-align: left;
  word-break: keep-all;
}

.availability-table td {
  border-right: 1px solid var(--color-line);
  border-radius: 0 18px 18px 0;
  font-weight: 700;
}

.availability-table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.availability-row.is-open td {
  color: var(--color-primary-text);
}

.availability-row.is-few td {
  color: #7A5A00;
}

.availability-row.is-full td {
  color: #6C747C;
}

.status-symbol {
  display: inline-flex;
  margin-right: 6px;
}

.availability-note {
  margin: 12px 0 4px;
  font-weight: 700;
}

.availability-updated,
.availability-fallback {
  margin-bottom: 0;
  color: var(--color-text-sub);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  position: relative;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--color-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(74, 156, 199, 0.08);
}

.flow-list li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -20px;
  z-index: 1;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--color-primary-dark);
  color: #fff;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  transform: translateY(-50%);
}

.flow-num {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--color-primary-text);
  font-weight: 700;
}

.flow-title {
  display: block;
  margin-bottom: 10px;
  line-height: 1.5;
  word-break: keep-all;
}

.flow-desc {
  margin-bottom: 0;
  color: var(--color-text-sub);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-heading,
.faq-list {
  max-width: 720px;
  margin-inline: auto;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 52px;
  padding: 16px 22px;
  color: var(--color-text);
  font-weight: 700;
  cursor: pointer;
  word-break: keep-all;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  content: "";
}

.faq-item summary::before {
  content: "▶";
  flex: 0 0 1.1em;
  color: var(--color-primary-text);
  line-height: 1.8;
  transition: transform 160ms ease;
}

.faq-item[open] summary::before {
  transform: rotate(90deg);
}

.faq-question {
  min-width: 0;
  overflow-wrap: anywhere;
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px 42px;
  color: var(--color-text);
  line-height: 1.9;
}

.faq-item ul {
  margin: 0;
  padding: 0 22px 18px 64px;
  color: var(--color-text);
  line-height: 1.9;
}

.contact-section {
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
  gap: 42px;
}

.contact-card {
  position: relative;
  z-index: 1;
  padding: 30px;
}

.contact-form-button {
  margin-bottom: 18px;
}

.contact-mail-option {
  margin: 0 0 18px;
}

.contact-mail-option .text-link {
  display: inline;
  overflow: visible;
  white-space: normal;
  word-break: break-all;
}

.mail-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--color-text);
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  font-weight: 700;
  word-break: break-all;
}

.profile-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  padding: 32px 34px;
}

.profile-avatar {
  width: 160px;
  height: 160px;
  aspect-ratio: 1;
  flex-shrink: 0;
  border: 6px solid #fff;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(34, 74, 110, 0.18);
}

.profile-body p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 34px 0;
  background: #263642;
  color: #fff;
}

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

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #fff;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-social span {
  color: rgba(255, 255, 255, 0.62);
}

.page-hero {
  padding-bottom: 44px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 10%, rgba(126, 200, 227, 0.28), transparent 34%),
    linear-gradient(180deg, #F8FDFF 0%, #FFFFFF 100%);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--color-text-sub);
  font-size: 0.92rem;
}

.page-hero h1 {
  max-width: 920px;
}

.page-title {
  word-break: keep-all;
  overflow-wrap: normal;
}

.page-title-name,
.page-title-main {
  display: block;
}

.page-title-name {
  margin-bottom: 8px;
  color: var(--color-primary-text);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-title-main {
  font-size: clamp(2.25rem, 5.4vw, 4.4rem);
  line-height: 1.08;
}

.page-lead {
  max-width: 760px;
}

.gallery-section {
  padding-top: 28px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
  color: #fff;
}

.gallery-cta {
  padding-top: 10px;
}

.gallery-status {
  margin-bottom: 0;
}

.gallery-works-container {
  margin-top: 22px;
}

@media (max-width: 1000px) {
  .contact-grid,
  .availability {
    grid-template-columns: 1fr;
  }

  .works-grid-featured,
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list li::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .container,
  .container-wide {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 44px 0;
  }

  :where(section[id]) {
    scroll-margin-top: 104px;
  }

  .page-hero {
    padding-top: 34px;
    padding-bottom: 28px;
  }

  .gallery-section {
    padding-top: 18px;
  }

  .breadcrumb {
    margin-bottom: 16px;
  }

  .page-title-main {
    font-size: clamp(2.05rem, 12vw, 3.2rem);
  }

  .page-lead {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .header-inner {
    align-items: stretch;
    flex-direction: column;
    min-height: 0;
    gap: 4px;
    padding: 8px 0 6px;
  }

  .brand {
    gap: 8px;
    font-size: 0.95rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .site-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0 14px;
    width: 100%;
    padding-bottom: 2px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 44px;
  }

  .hero {
    padding: 30px 0 38px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 8px;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .hero-copy h1 {
    margin-bottom: 14px;
  }

  .hero-copy-main {
    font-size: clamp(2.1rem, 9vw, 2.65rem);
    line-height: 1.14;
    letter-spacing: 0.025em;
  }

  .hero-copy-sub {
    margin-top: 6px;
    font-size: clamp(0.98rem, 4vw, 1.12rem);
    line-height: 1.5;
  }

  .hero-lead {
    margin-bottom: 0;
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin: 18px 0 0;
  }

  .price-card h3 {
    min-height: 0;
  }

  .hero-art {
    margin-right: 0;
  }

  .hero-art picture {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
  }

  .hero-art img {
    object-fit: contain;
    object-position: center center;
  }

  .hero-art-label {
    left: 14px;
    bottom: 14px;
    min-width: 150px;
    min-height: 28px;
  }

  .button {
    width: 100%;
  }

  .works-grid-featured .work-card:nth-child(n+5) {
    display: none;
  }

  .filter-bar {
    flex-wrap: nowrap;
    gap: 8px;
    margin-inline: -14px;
    padding-inline: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 14px;
  }

  .gallery-works-container {
    margin-top: 18px;
  }

  .lightbox-dialog {
    width: min(94vw, 1100px);
    height: 88vh;
    height: 88dvh;
    max-height: 88vh;
    max-height: 88dvh;
    border-radius: 24px;
  }

  .lightbox-header,
  .lightbox-footer {
    padding: 14px 16px;
  }

  .lightbox-header {
    gap: 12px;
  }

  .lightbox-close {
    width: 38px;
    height: 38px;
  }

  .lightbox-slide {
    padding: 16px;
  }

  .lightbox-slide img {
    border-radius: 14px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.65rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .works-grid-featured,
  .gallery-grid,
  .price-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

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

  .work-body,
  .price-card,
  .note-box,
  .contact-card,
  .profile-card,
  .availability {
    padding: 22px;
  }

  .flow-list {
    gap: 10px;
  }

  .flow-list li {
    min-height: 0;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .flow-num {
    margin-bottom: 6px;
    font-size: 0.86rem;
  }

  .flow-title {
    margin-bottom: 4px;
    line-height: 1.42;
  }

  .flow-desc {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .contact-grid {
    gap: 24px;
  }

  .contact-card p {
    margin-bottom: 14px;
  }

  .contact-card p:last-child {
    margin-bottom: 0;
  }

  .faq-item summary {
    min-height: 52px;
    padding: 14px 16px;
    line-height: 1.65;
  }

  .faq-item p {
    padding-top: 0;
    padding-right: 16px;
    padding-bottom: 18px;
    padding-left: 42px;
    line-height: 1.8;
  }

  .faq-item ul {
    padding-right: 16px;
    padding-top: 0;
    padding-left: 52px;
    line-height: 1.8;
  }

  .profile-card {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 26px;
  }

  .availability-table th,
  .availability-table td {
    padding: 12px;
    font-size: 0.94rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
