/* =========================================================
   01. Hero
========================================================= */
/* =========================================================
   SITE LOADER
   ootori-creative-site
   common.css の後に読み込む
========================================================= */

/* =========================================================
   LOADING STATE
========================================================= */

html.is-loading,
html.is-loading body {
  overflow: hidden;
}

/* =========================================================
   LOADER BASE
========================================================= */

.site-loader {
  /*
   * common.css
   * --color-main: #17363d;
   */
  --loader-background: var(--color-main);

  --loader-logo-width: clamp(126px, 12vw, 184px);

  --loader-progress: 0%;

  position: fixed;

  inset: 0;

  z-index: 99999;

  display: grid;

  place-items: center;

  width: 100%;

  height: 100dvh;

  overflow: hidden;

  background: var(--loader-background);

  color: #ffffff;

  pointer-events: auto;

  transition:
    background-color 0s linear 140ms,
    visibility 0s linear 1.15s;
}

/* =========================================================
   CENTER CONTENT
========================================================= */

.site-loader__center {
  position: relative;

  z-index: 3;

  display: grid;

  justify-items: center;

  width: min(320px, calc(100% - 48px));

  opacity: 1;

  transform: translate3d(0, 0, 0);

  transition:
    opacity 0.24s ease,
    transform 0.38s ease,
    filter 0.28s ease;
}

/* =========================================================
   LOGO
========================================================= */

.site-loader__logo {
  position: relative;

  width: var(--loader-logo-width);

  aspect-ratio: 1 / 1;
}

/* 共通サイズ */

.site-loader__logo-base,
.site-loader__logo-fill img {
  display: block;

  width: var(--loader-logo-width);

  height: 100%;

  object-fit: contain;
}

/* =========================================================
   LOGO BASE
   未読込部分
========================================================= */

.site-loader__logo-base {
  opacity: 0.14;

  filter: brightness(0) invert(1);
}

/* =========================================================
   LOGO FILL
   左 → 右へ表示
========================================================= */

.site-loader__logo-fill {
  position: absolute;

  inset: 0 auto 0 0;

  width: var(--loader-progress);

  overflow: hidden;

  transition: width 0.16s linear;
}

.site-loader__logo-fill img {
  max-width: none;
}

/* =========================================================
   PROGRESS BAR
========================================================= */

.site-loader__progress {
  width: min(218px, 72vw);

  height: 1px;

  margin-top: 20px;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.18);
}

/* =========================================================
   PROGRESS BAR / FILL
========================================================= */

.site-loader__progress-bar {
  display: block;

  width: var(--loader-progress);

  height: 100%;

  background: var(--color-accent);

  transform-origin: left center;

  transition: width 0.16s linear;
}

/* =========================================================
   LOADING VALUE
========================================================= */

.site-loader__value {
  margin: 9px 0 0;

  color: rgba(255, 255, 255, 0.62);

  font-family: var(--font-sans);

  font-size: 0.68rem;

  font-weight: 700;

  line-height: 1.4;

  letter-spacing: 0.12em;

  text-align: center;
}

/* =========================================================
   SHATTER AREA
========================================================= */

.site-loader__pieces {
  position: absolute;

  inset: 0;

  z-index: 2;

  width: 100%;

  height: 100%;

  overflow: hidden;

  opacity: 0;

  pointer-events: none;
}

/* JSで破砕パーツ生成後 */

.site-loader.is-loader-armed .site-loader__pieces {
  opacity: 1;
}

/* =========================================================
   SHATTER PIECE
========================================================= */

.site-loader__piece {
  position: absolute;

  display: block;

  background: var(--loader-background);

  opacity: 1;

  transform: translate3d(0, 0, 0) rotate(0deg) scale(1.012);

  transform-origin: center;

  will-change: transform, opacity, filter;
}

/* =========================================================
   SHATTER START
========================================================= */

.site-loader.is-loader-shattering {
  background-color: transparent;

  pointer-events: none;
}

/* =========================================================
   CENTER FADE
========================================================= */

.site-loader.is-loader-shattering .site-loader__center {
  opacity: 0;

  filter: blur(7px);

  transform: translate3d(0, -10px, 0) scale(0.96);
}

/* =========================================================
   PIECE ANIMATION
========================================================= */

.site-loader.is-loader-shattering .site-loader__piece {
  opacity: 0;

  transform: translate3d(var(--loader-piece-x), var(--loader-piece-y), 0)
    rotate(var(--loader-piece-rotate)) scale(0.74);

  filter: blur(2px);

  transition:
    transform var(--loader-piece-duration) cubic-bezier(0.16, 1, 0.3, 1)
      var(--loader-piece-delay),
    opacity calc(var(--loader-piece-duration) * 0.72) ease
      var(--loader-piece-delay),
    filter var(--loader-piece-duration) ease var(--loader-piece-delay);
}

/* =========================================================
   FALLBACK FADE
========================================================= */

.site-loader.is-loader-fading {
  opacity: 0;

  pointer-events: none;

  transition: opacity 0.3s ease;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
  .site-loader {
    --loader-logo-width: clamp(108px, 30vw, 142px);
  }

  .site-loader__center {
    width: min(280px, calc(100% - 36px));
  }

  .site-loader__progress {
    width: min(190px, 66vw);

    margin-top: 16px;
  }

  .site-loader__value {
    margin-top: 8px;

    font-size: 0.62rem;
  }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 390px) {
  .site-loader {
    --loader-logo-width: clamp(96px, 29vw, 122px);
  }

  .site-loader__progress {
    width: min(170px, 64vw);
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .site-loader__pieces {
    display: none;
  }

  .site-loader,
  .site-loader__center,
  .site-loader__logo-fill,
  .site-loader__progress-bar {
    transition-duration: 0.2s;
  }
}
.hero-cover {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  color: #fff;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--color-main-dark);
}

.hero-cover__media,
.hero-cover__picture,
.hero-cover__picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-cover__picture img {
  object-fit: cover;
  object-position: center;
}

.hero-cover__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 24, 29, 0.92) 0%,
      rgba(7, 24, 29, 0.7) 44%,
      rgba(7, 24, 29, 0.18) 78%
    ),
    linear-gradient(0deg, rgba(16, 40, 46, 0.62), transparent 42%);
}

.hero-cover::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(12.5% - 1px),
    rgba(255, 255, 255, 0.04) 12.5%
  );
  pointer-events: none;
}

.hero-cover::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 0 45%,
    rgba(216, 121, 67, 0.08) 45% 45.15%,
    transparent 45.15%
  );
  pointer-events: none;
}

.hero-cover__content {
  position: relative;
  z-index: 3;
  width: var(--content-width);
  margin: 0 auto;
  padding: calc(var(--header-height) + 80px) 0 100px;
}

.hero-cover h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 6.3rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 960px;
  font-weight: 500;
  text-wrap: balance;
}

.hero-cover h1 em {
  font-style: normal;
  color: #fff;
  position: relative;
}

.hero-cover h1 em::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 0.11em;
  background: var(--color-accent);
  opacity: 0.8;
  z-index: -1;
}

.hero-cover__lead {
  max-width: 660px;
  font-size: clamp(0.97rem, 1.25vw, 1.12rem);
  line-height: 2;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-cover__prices {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 650px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.62);
}

.hero-cover__prices strong {
  font-size: 0.95rem;
  color: #fff;
  margin-left: 8px;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 4vw, 72px);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 72px;
  background: linear-gradient(#fff, transparent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  45% {
    transform: scaleY(1);
    transform-origin: top;
  }

  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.hero-orbit {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
  animation: orbit 28s linear infinite;
}

.hero-orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 30px var(--color-accent);
}

.hero-orbit--one {
  width: 460px;
  height: 460px;
  right: -120px;
  top: 12%;
}

.hero-orbit--one::after {
  left: 65px;
  top: 45px;
}

.hero-orbit--two {
  width: 650px;
  height: 650px;
  right: -220px;
  top: 5%;
  animation-direction: reverse;
  animation-duration: 38s;
}

.hero-orbit--two::after {
  right: 80px;
  bottom: 90px;
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   02. Page Guide
========================================================= */

.page-guide {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  background: rgba(243, 240, 233, 0.94);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(23, 54, 61, 0.12);
}

.page-guide__inner {
  width: var(--content-width);
  margin: auto;
  display: flex;
  overflow: auto;
  scrollbar-width: none;
}

.page-guide__inner::-webkit-scrollbar {
  display: none;
}

.page-guide a {
  flex: 0 0 auto;
  padding: 16px 18px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-light);
  border-right: 1px solid rgba(23, 54, 61, 0.08);
  transition: var(--transition);
}

.page-guide a:hover {
  background: #fff;
  color: var(--color-main);
}

/* =========================================================
   03. Strengths
========================================================= */

.section--strengths {
  overflow: hidden;
}

.section--strengths::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(23, 54, 61, 0.08);
  border-radius: 50%;
  left: -220px;
  bottom: 5%;
}

.strength-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: clamp(40px, 7vw, 95px);
  align-items: center;
}

.strength-copy > p:not(.section-kicker) {
  color: var(--color-text-light);
  margin: 26px 0 34px;
}

.strength-points {
  display: grid;
  gap: 19px;
}

.strength-points article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.strength-points article > span {
  font-family: var(--font-serif);
  color: var(--color-accent);
  font-size: 0.82rem;
}

.strength-points h3 {
  font-size: 1rem;
  margin: 0 0 5px;
}

.strength-points p {
  font-size: 0.84rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.7;
}

.strength-visual {
  margin: 0;
  position: relative;
}

.strength-visual__frame {
  position: relative;
  padding: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.strength-visual__frame::before {
  content: "";
  position: absolute;
  inset: -18px 22px 20px -22px;
  border: 1px solid var(--color-main);
  z-index: -1;
}

.strength-visual__frame img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.strength-visual figcaption {
  position: absolute;
  right: -22px;
  bottom: -35px;
  padding: 18px 22px;
  background: var(--color-main);
  color: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.strength-visual figcaption strong {
  font-family: var(--font-serif);
  letter-spacing: 0.12em;
}

.strength-visual figcaption span {
  font-size: 0.66rem;
  opacity: 0.7;
  margin-top: 5px;
}

/* =========================================================
   04. Diagnosis
========================================================= */

.section--diagnosis {
  position: relative;

  overflow: hidden;

  color: #ffffff;
  background: var(--color-main);
}

.section--diagnosis .section__inner {
  position: relative;
  z-index: 1;
}

.diagnosis-grid {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: stretch;

  gap: clamp(48px, 7vw, 90px);
}

.diagnosis-stage {
  position: relative;
  order: 1;

  display: grid;
  align-items: center;

  width: 100%;
  min-height: 470px;

  isolation: isolate;
}

.diagnosis-stage::before {
  content: "";

  position: absolute;
  right: 8%;
  bottom: 7%;
  left: 8%;
  z-index: -1;

  height: 34%;

  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.34),
    transparent 68%
  );

  filter: blur(14px);
}

.diagnosis-carousel {
  position: relative;

  width: min(100%, 1080px);
  height: 430px;

  margin: 0 auto;

  perspective: 1200px;
  z-index: 1;
}

.diagnosis-card {
  appearance: none;

  position: absolute;
  top: 48%;
  left: 50%;

  width: clamp(280px, 37vw, 470px);
  aspect-ratio: 16 / 9;

  padding: 0;

  overflow: hidden;

  background: #0b2025;
  border: 1px solid rgba(255, 255, 255, 0.2);

  box-shadow: 0 28px 45px rgba(0, 0, 0, 0.28);

  cursor: pointer;

  opacity: 0;

  filter: saturate(0.68) brightness(0.74);

  transform: translate(-50%, -50%) scale(0.48);

  transform-origin: center;

  pointer-events: none;

  transition:
    transform 0.85s cubic-bezier(0.22, 0.72, 0.18, 1),
    opacity 0.65s ease,
    filter 0.65s ease,
    box-shadow 0.65s ease,
    border-color 0.65s ease;

  will-change: transform, opacity;
}

.diagnosis-card::after {
  content: "";

  position: absolute;
  inset: 0;

  border: 1px solid rgba(216, 121, 67, 0.35);

  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);

  pointer-events: none;
}

.diagnosis-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 1;

  transform: scale(1.002);

  transition:
    transform 0.8s ease,
    filter 0.8s ease,
    opacity 0.65s ease;
}

.diagnosis-card.is-active {
  z-index: 5;

  opacity: 1;

  filter: saturate(0.95) brightness(1);

  transform: translate(-50%, -50%) scale(1) rotate(0deg);

  border-color: rgba(216, 121, 67, 0.78);

  box-shadow: 0 34px 60px rgba(0, 0, 0, 0.38);

  pointer-events: auto;
}

.diagnosis-card.is-active img {
  transform: scale(1.018);
}

.diagnosis-card.is-prev {
  z-index: 4;
  opacity: 1;
  transform: translate(-108%, -50%) scale(0.77) rotate(-5deg);
  pointer-events: auto;
}

.diagnosis-card.is-next {
  z-index: 4;
  opacity: 1;
  transform: translate(8%, -50%) scale(0.77) rotate(5deg);
  pointer-events: auto;
}

.diagnosis-card.is-far-prev {
  z-index: 3;
  opacity: 1;
  transform: translate(-158%, -51%) scale(0.61) rotate(-7deg);
  pointer-events: auto;
}

.diagnosis-card.is-far-next {
  z-index: 3;
  opacity: 1;
  transform: translate(58%, -51%) scale(0.61) rotate(7deg);
  pointer-events: auto;
}

.diagnosis-card.is-active img {
  opacity: 1;
}

.diagnosis-card.is-prev img,
.diagnosis-card.is-next img {
  opacity: 0.76;
}

.diagnosis-card.is-far-prev img,
.diagnosis-card.is-far-next img {
  opacity: 0.32;
}

.diagnosis-card.is-hidden {
  z-index: 1;

  opacity: 0;

  transform: translate(-50%, -50%) scale(0.46);

  pointer-events: none;
}

.diagnosis-card:hover,
.diagnosis-card:focus-visible {
  border-color: var(--color-accent);

  filter: saturate(1) brightness(1.04);

  outline: none;
}

.diagnosis-card:focus-visible {
  box-shadow:
    0 0 0 3px rgba(216, 121, 67, 0.45),
    0 28px 55px rgba(0, 0, 0, 0.38);
}

.diagnosis-carousel__meta {
  position: absolute;
  right: 5%;
  bottom: 3%;
  left: 4%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  pointer-events: none;
}

.diagnosis-stage__label {
  color: rgba(255, 255, 255, 0.54);

  font-size: 0.63rem;
  letter-spacing: 0.28em;
}

.diagnosis-copy {
  order: 2;
  width: min(100%, 840px);
  margin: 0 auto;
  text-align: center;
}

.diagnosis-copy .section-kicker {
  margin-bottom: 18px;
}

.diagnosis-copy h2 {
  max-width: 16em;
  margin: 0 auto;

  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.03em;

  text-align: center;
  text-wrap: balance;
}

.diagnosis-copy__lead {
  max-width: 64ch;
  margin: 28px auto 20px;

  color: rgba(255, 255, 255, 0.72);

  font-size: 0.92rem;
  line-height: 2;
  text-align: center;
  text-wrap: pretty;
}

.diagnosis-carousel__count {
  display: flex;
  align-items: baseline;

  gap: 8px;

  color: rgba(255, 255, 255, 0.5);

  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.diagnosis-carousel__count b {
  color: var(--color-accent);

  font-size: 1.15rem;
  font-weight: 500;
}

.diagnosis-carousel__count i {
  color: rgba(255, 255, 255, 0.22);

  font-style: normal;
}

.diagnosis-copy .section-kicker {
  margin-bottom: 18px;
}

.diagnosis-copy h2 {
  max-width: 16em;

  margin: 0 auto;

  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.03em;

  text-align: center;
  text-wrap: balance;
}

@media (max-width: 980px) {
  .diagnosis-grid {
    gap: 52px;
  }

  .diagnosis-stage {
    min-height: 410px;
  }

  .diagnosis-carousel {
    width: min(100%, 880px);
    height: 380px;
  }

  .diagnosis-copy h2 {
    max-width: 15em;

    font-size: clamp(2rem, 6vw, 3.4rem);
  }
}

@media (max-width: 720px) {
  .diagnosis-grid {
    gap: 38px;
  }

  .diagnosis-stage {
    min-height: 310px;
  }

  .diagnosis-carousel {
    width: 100%;
    height: 290px;
  }

  .diagnosis-copy {
    width: 100%;
    text-align: center;
  }

  .diagnosis-copy .section-kicker {
    margin-bottom: 13px;
  }

  .diagnosis-copy h2 {
    max-width: 16em;
    margin: 0 auto;

    font-size: clamp(1.75rem, 8vw, 2.8rem);
    line-height: 1.5;
    text-align: center;
  }

  .diagnosis-copy__lead {
    margin: 22px auto 20px;

    font-size: 0.84rem;
    line-height: 1.95;
    text-align: center;
  }

  .diagnosis-card {
    width: min(76vw, 340px);
  }

  .diagnosis-card.is-prev {
    transform: translate(-86%, -50%) scale(0.7) rotate(-5deg);
  }

  .diagnosis-card.is-next {
    transform: translate(-14%, -50%) scale(0.7) rotate(5deg);
  }

  .diagnosis-card.is-far-prev {
    opacity: 0.13;

    transform: translate(-116%, -51%) scale(0.54) rotate(-7deg);
  }

  .diagnosis-card.is-far-next {
    opacity: 0.13;

    transform: translate(16%, -51%) scale(0.54) rotate(7deg);
  }

  .diagnosis-carousel__meta {
    right: 2%;
    bottom: 0;
    left: 2%;
  }
}

/* =========================================================
   05. Services
========================================================= */

.section--services {
  background: rgba(255, 255, 255, 0.34);
}

/* =========================================================
   GRID
========================================================= */

.service-table {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: clamp(38px, 4vw, 56px) clamp(18px, 2vw, 28px);

  border: 0;

  background: transparent;

  box-shadow: none;
}

/* =========================================================
   CARD
========================================================= */

.service-row {
  display: block;

  min-width: 0;

  padding: 0;

  border: 0;

  background: transparent;

  color: var(--color-text);

  text-decoration: none;
}

/* =========================================================
   IMAGE
========================================================= */

.service-row__media {
  display: block;

  width: 100%;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  margin-bottom: 12px;

  background: #e8eceb;
}

.service-row__media img {
  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

  border-radius: 0;

  transform: scale(1);

  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   NAME + PRICE
========================================================= */

.service-row__info {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: start;

  gap: 10px;
}

.service-row__name {
  min-width: 0;

  font-family: var(--font-serif);

  font-size: clamp(0.84rem, 1.15vw, 1rem);

  line-height: 1.5;

  color: var(--color-text);

  transition: color var(--transition);
}

/* =========================================================
   PRICE
========================================================= */

.service-row__price {
  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 2px;

  min-width: 0;

  line-height: 1.15;

  text-align: right;

  white-space: nowrap;
}

.service-row__price-old {
  display: block;

  font-size: clamp(0.58rem, 1.1vw, 0.75rem);

  font-weight: 600;

  color: #e53935;

  opacity: 0.6;

  text-decoration: line-through;

  text-decoration-thickness: 1px;

  white-space: nowrap;
}

.service-row__price-current {
  display: block;

  font-size: clamp(0.72rem, 1.55vw, 1rem);

  font-weight: 700;

  color: var(--color-text);

  letter-spacing: -0.03em;

  white-space: nowrap;
}

/* =========================================================
   USE
========================================================= */

.service-row__use {
  display: block;

  min-width: 0;

  margin-top: 8px;

  font-size: 0.72rem;

  line-height: 1.65;

  color: var(--color-text-light);

  white-space: normal;
}

/* =========================================================
   HOVER
========================================================= */

@media (hover: hover) {
  .service-row:hover .service-row__media img {
    transform: scale(1.06);
  }

  .service-row:hover .service-row__name {
    color: var(--color-accent);
  }
}

/* =========================================================
   TABLET
   3 COLUMN
========================================================= */

@media (max-width: 980px) {
  .service-table {
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 36px 18px;
  }
}

/* =========================================================
   MOBILE
   2 COLUMN
========================================================= */

@media (max-width: 720px) {
  .service-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 30px 12px;
  }

  .service-row__media {
    margin-bottom: 9px;
  }

  .service-row__info {
    grid-template-columns:
      minmax(0, 1fr)
      clamp(52px, 19vw, 78px);

    align-items: start;

    gap: clamp(3px, 1vw, 6px);
  }

  .service-row__name {
    min-width: 0;

    font-size: clamp(0.68rem, 2.9vw, 0.84rem);

    line-height: 1.45;
  }

  .service-row__price {
    min-width: 0;

    gap: 0;

    line-height: 1.05;
  }

  .service-row__price-old {
    font-size: clamp(0.46rem, 2.15vw, 0.6rem);

    letter-spacing: -0.04em;

    text-decoration-thickness: 1px;
  }

  .service-row__price-current {
    font-size: clamp(0.58rem, 2.75vw, 0.76rem);

    font-weight: 700;

    letter-spacing: -0.05em;
  }

  .service-row__use {
    margin-top: 6px;

    font-size: clamp(0.61rem, 2.45vw, 0.7rem);

    line-height: 1.55;
  }
}

@media (min-width: 1100px) {
  .section--services .service-table {
    width: min(1440px, calc(100vw - 48px));

    position: relative;

    left: 50%;

    transform: translateX(-50%);
  }
}
/* =========================================================
   06. Pricing
========================================================= */

.section--pricing {
  overflow: hidden;
}

.section--pricing::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(216, 121, 67, 0.07);
  right: -210px;
  top: 12%;
  filter: blur(1px);
}

.pricing-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.pricing-copy > p:not(.section-kicker) {
  color: var(--color-text-light);
}

.pricing-note {
  padding: 16px 18px;
  border-left: 3px solid var(--color-accent);
  background: rgba(255, 255, 255, 0.54);
  font-size: 0.82rem;
  margin: 26px 0 30px;
}

.price-sheet {
  background: #fff;
  padding: clamp(25px, 4vw, 48px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(23, 54, 61, 0.08);
  position: relative;
}

.price-sheet::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(23, 54, 61, 0.07);
  pointer-events: none;
}

.price-sheet__top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 2px solid var(--color-main);
  padding-bottom: 17px;
  margin-bottom: 3px;
}

.price-sheet__top span {
  font-size: 0.61rem;
  letter-spacing: 0.22em;
  color: var(--color-accent);
}

.price-sheet__top strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.price-sheet dl {
  margin: 0;
}

.price-sheet dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--color-border);
}

.price-sheet dt {
  font-size: 0.82rem;
}

.price-sheet dd {
  font-weight: 700;
  color: var(--color-main);
  font-size: 0.86rem;
  margin: 0;
  text-align: right;
}

.price-sheet small {
  display: block;
  color: var(--color-text-light);
  margin-top: 18px;
  font-size: 0.68rem;
}

/* =========================================================
   07. Support
========================================================= */

.section--support {
  background: rgba(255, 255, 255, 0.48);
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.support-card {
  min-height: 360px;
  padding: clamp(30px, 4vw, 52px);

  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  box-shadow: var(--shadow);
}

/* =========================================================
   OOTORI EMBLEM
========================================================= */

.support-card::before {
  content: "";

  position: absolute;

  width: clamp(235px, 23vw, 295px);
  aspect-ratio: 1 / 1;

  top: clamp(-38px, -2.6vw, -20px);
  right: clamp(-38px, -2.4vw, -18px);

  background: var(--support-emblem-color);

  -webkit-mask: url("../svg/ootori-emblem.svg") center / contain no-repeat;

  mask: url("../svg/ootori-emblem.svg") center / contain no-repeat;

  opacity: 0.15;

  pointer-events: none;

  z-index: 0;

  transform: rotate(-3deg);

  transform-origin: center;

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.support-card:hover::before {
  opacity: 0.2;

  transform: rotate(0deg) scale(1.035);
}

/* VISUAL */
.support-card--visual {
  --support-emblem-color: #ffffff;

  background: var(--color-main);
  color: #ffffff;
}

/* MAINTENANCE */
.support-card--maintenance {
  --support-emblem-color: var(--color-main);

  background: #ffffff;
  color: var(--color-main);
}

/* 内容はロゴより手前 */
.support-card > * {
  position: relative;
  z-index: 1;
}

.support-card > span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: auto;
}

.support-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  margin: 40px 0 12px;
}

.support-card p {
  font-size: 0.82rem;
  max-width: 520px;
  opacity: 0.72;
}

.support-card__link {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: fit-content;

  margin-top: 16px;

  color: inherit;

  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;

  text-decoration: none;

  transition: color 0.3s ease;
}

.support-card__link::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -6px;

  width: 100%;
  height: 1px;

  background: currentColor;

  opacity: 0.22;
  transform: scaleX(0.28);
  transform-origin: left center;

  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.support-card__link > span {
  display: inline-block;

  font-size: 0.95rem;
  line-height: 1;

  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .support-card__link:hover::after {
    opacity: 0.62;
    transform: scaleX(1);
  }

  .support-card__link:hover > span {
    transform: translateX(5px);
  }

  .support-card--visual .support-card__link:hover {
    color: #ffffff;
  }

  .support-card--maintenance .support-card__link:hover {
    color: var(--color-accent);
  }
}

.support-card__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 7px;
}

/* =========================================================
   08. Works
   Staggered Editorial Layout / COMPLETE
========================================================= */

.section--works {
  position: relative;
  overflow: hidden;

  color: #ffffff;
  background: var(--color-main-dark);
}

/* =========================================================
   BACKGROUND TYPOGRAPHY
========================================================= */

/* 元からあった巨大WORKSだけ残す */

.section--works::before {
  content: "WORKS";

  position: absolute;

  top: -0.22em;
  right: -0.04em;

  color: transparent;

  font-family: var(--font-serif);

  font-size: clamp(10rem, 28vw, 28rem);

  line-height: 1;

  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.075);

  pointer-events: none;
}

/* 余計な背景装飾は使用しない */

.section--works::after {
  content: none !important;
}

/* =========================================================
   INNER
========================================================= */

.section--works .section__inner {
  position: relative;

  z-index: 1;

  width: min(1080px, calc(100% - 48px));

  margin-inline: auto;
}

/* =========================================================
   HEADING
========================================================= */

/*
  一番最初のカードの左側へ固定。
*/

.section--works .section-heading {
  position: absolute;

  /* 制作実績ブロックを上へ */
  top: clamp(10px, 1.5vw, 24px);

  left: 0;

  z-index: 3;

  display: block;

  width: calc((100% - clamp(42px, 6vw, 78px)) / 2);

  margin: 0;

  padding: 0 clamp(18px, 3vw, 42px) 0 0;
}

.section--works .section-heading > div {
  width: 100%;
}

.section--works .section-heading--light > p {
  max-width: 34em;

  margin: clamp(16px, 2vw, 22px) 0 0;

  color: rgba(255, 255, 255, 0.62);
}

/* =========================================================
   WORK GRID
========================================================= */

.section--works .work-grid {
  --works-column-gap: clamp(42px, 6vw, 78px);

  position: relative;

  display: block;

  width: 100%;

  /* 旧：clamp(1080px, 112vw, 1280px); */
  min-height: clamp(900px, 92vw, 1030px);

  margin: 0;

  padding: 0;
}

/* 古い疑似要素を完全撤去 */

.section--works .work-grid::before,
.section--works .work-grid::after {
  content: none !important;

  display: none !important;
}

/* =========================================================
   WORK CARD
========================================================= */

.section--works .work-card {
  position: absolute;

  width: calc((100% - var(--works-column-gap)) / 2);

  min-width: 0;

  margin: 0;

  transform: none;
}

/* =========================================================
   POSITION
========================================================= */

/* 01 鵬ルア公式サイト / 右上 */

.section--works .work-grid > .work-card:nth-of-type(1) {
  top: 0;

  right: 0;
  left: auto;
}

/* 02 lua-havesite / 左 */

.section--works .work-grid > .work-card:nth-of-type(2) {
  top: clamp(195px, 20vw, 235px);

  left: 0;
  right: auto;
}

/* 03 トラブル対策マニュアル / 右 */

.section--works .work-grid > .work-card:nth-of-type(3) {
  top: clamp(375px, 37vw, 445px);

  right: 0;
  left: auto;
}

/* 04 ポートフォリオ / 左 */

.section--works .work-grid > .work-card:nth-of-type(4) {
  top: clamp(550px, 54vw, 640px);

  left: 0;
  right: auto;
}

/* =========================================================
   ORIGINAL CARD DESIGN
========================================================= */

.section--works .work-card__link {
  display: block;

  color: inherit;

  background: transparent;

  text-decoration: none;
}

/* =========================================================
   FRAME
========================================================= */

.section--works .work-card__frame {
  position: relative;

  width: 100%;

  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: #09191d;

  border: 1px solid rgba(255, 255, 255, 0.14);

  box-shadow:
    0 28px 55px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.025);

  isolation: isolate;
}

/* 下部グラデーション */

.section--works .work-card__frame::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: 2;

  background: linear-gradient(
    180deg,
    transparent 56%,
    rgba(5, 18, 22, 0.72) 100%
  );

  pointer-events: none;

  transition: opacity var(--transition);
}

/* 細い内枠 */

.section--works .work-card__frame::after {
  content: "";

  position: absolute;

  inset: 10px;

  z-index: 3;

  border: 1px solid rgba(255, 255, 255, 0.07);

  pointer-events: none;
}

/* =========================================================
   IFRAME
========================================================= */

.section--works .work-card iframe {
  position: absolute;

  top: 0;
  left: 0;

  z-index: 1;

  width: 250%;
  height: 250%;

  border: 0;

  background: #ffffff;

  transform: scale(0.4);

  transform-origin: top left;

  pointer-events: none;
}

/* =========================================================
   OPEN BUTTON
========================================================= */

.section--works .work-card__open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;

  display: inline-grid;
  grid-template-columns: auto 38px;
  align-items: stretch;

  min-height: 38px;
  overflow: hidden;

  color: var(--color-main);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.58);

  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;

  opacity: 0.92;

  transition:
    background var(--transition),
    border-color var(--transition),
    opacity var(--transition),
    transform var(--transition);
}

.section--works .work-card__open::before {
  content: "";
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 0;
  width: 2px;
  background: var(--color-accent);
  transition:
    top var(--transition),
    bottom var(--transition);
}

.section--works .work-card__open-label {
  display: flex;
  align-items: center;
  padding: 8px 11px 8px 13px;
}

.section--works .work-card__open-icon {
  display: grid;
  place-items: center;
  color: var(--color-accent);
  background: rgba(23, 54, 61, 0.025);
  border-left: 1px solid rgba(23, 54, 61, 0.12);
  transition:
    color var(--transition),
    background var(--transition);
}

/* =========================================================
   META
========================================================= */

.section--works .work-card__meta {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: end;

  gap: 20px;

  padding: 18px 3px 0;

  background: transparent;
}

/* カテゴリ */

.section--works .work-card__meta p {
  margin: 0;

  color: var(--color-accent);

  font-size: 0.68rem;

  line-height: 1.6;

  letter-spacing: 0.07em;
}

/* サイト名 */

.section--works .work-card__meta h3 {
  margin: 0;

  color: #ffffff;

  font-family: var(--font-serif);

  font-size: clamp(1rem, 1.5vw, 1.25rem);

  font-weight: 500;

  line-height: 1.5;

  text-align: right;
}

/* 過去案の追加パーツが残っていた場合 */

.section--works .work-card__summary,
.section--works .work-card__arrow {
  display: none !important;
}

/* =========================================================
   HOVER
========================================================= */

.section--works .work-card__link:hover .work-card__frame::before {
  opacity: 0.58;
}

.section--works .work-card__link:hover .work-card__open,
.section--works .work-card__link:focus-visible .work-card__open {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.82);
}

.section--works .work-card__link:hover .work-card__open::before,
.section--works .work-card__link:focus-visible .work-card__open::before {
  top: 0;
  bottom: 0;
}

.section--works .work-card__link:hover .work-card__open-icon,
.section--works .work-card__link:focus-visible .work-card__open-icon {
  color: #ffffff;
  background: var(--color-accent);
}

/* =========================================================
   FOCUS
========================================================= */

.section--works .work-card__link:focus-visible {
  outline: 2px solid var(--color-accent);

  outline-offset: 6px;
}

/* =========================================================
   MORE BUTTON
========================================================= */

/*
  右下の空きへ配置。
*/

.section--works .section-more {
  position: absolute;

  right: 0;
  bottom: 28px;

  z-index: 4;

  margin: 0;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {
  .section--works .section__inner {
    width: min(840px, calc(100% - 40px));
  }

  .section--works .work-grid {
    --works-column-gap: 28px;

    min-height: 940px;
  }

  .section--works .section-heading {
    top: 42px;

    width: calc((100% - var(--works-column-gap)) / 2);

    padding-right: 12px;
  }

  .section--works .work-grid > .work-card:nth-of-type(2) {
    top: 205px;
  }

  .section--works .work-grid > .work-card:nth-of-type(3) {
    top: 410px;
  }

  .section--works .work-grid > .work-card:nth-of-type(4) {
    top: 605px;
  }

  .section--works .work-card__meta {
    grid-template-columns: 1fr;

    gap: 5px;
  }

  .section--works .work-card__meta h3 {
    text-align: left;
  }
}

/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 720px) {
  .section--works .section__inner {
    width: min(100% - 32px, 640px);
  }

  /* 見出しを通常フローへ戻す */

  .section--works .section-heading {
    position: static;

    width: 100%;

    max-width: none;

    margin: 0 0 44px;

    padding: 0;
  }

  .section--works .section-heading--light > p {
    max-width: none;
  }

  /* カードも通常1列へ */

  .section--works .work-grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 42px;

    min-height: 0;
  }

  .section--works .work-grid > .work-card:nth-of-type(1),
  .section--works .work-grid > .work-card:nth-of-type(2),
  .section--works .work-grid > .work-card:nth-of-type(3),
  .section--works .work-grid > .work-card:nth-of-type(4) {
    position: relative;

    top: auto;

    right: auto;

    left: auto;

    width: 100%;
  }

  .section--works .work-card__meta {
    grid-template-columns: 1fr;

    gap: 5px;
  }

  .section--works .work-card__meta h3 {
    text-align: left;
  }

  .section--works .work-card__open {
    right: 12px;

    bottom: 12px;
  }

  /* MOREも通常位置 */

  .section--works .section-more {
    position: static;

    display: flex;

    justify-content: center;

    margin-top: 46px;
  }
}

/* =========================================================
   09. Capacity
========================================================= */

.section--capacity {
  overflow: hidden;
}

.capacity-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(45px, 8vw, 100px);
}

.capacity-copy p:not(.section-kicker) {
  color: var(--color-text-light);
}

.capacity-list {
  display: grid;
  gap: 12px;
}

.capacity-item {
  background: #fff;
  border: 1px solid rgba(23, 54, 61, 0.08);
  padding: 22px 24px;
  box-shadow: 0 10px 25px rgba(23, 54, 61, 0.04);
}

.capacity-item > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.capacity-item span {
  font-family: var(--font-serif);
  font-weight: 700;
}

.capacity-item strong {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-main);
}

.capacity-item strong small {
  font-size: 0.7rem;
  margin-left: 4px;
}

.capacity-item p {
  font-size: 0.71rem;
  color: var(--color-text-light);
  margin: 8px 0 0;
}

.capacity-item progress {
  width: 100%;
  height: 5px;
  border: 0;
  background: #e8e3db;
  display: block;
}

.capacity-item progress::-webkit-progress-bar {
  background: #e8e3db;
}

.capacity-item progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--color-main), var(--color-accent));
}

.capacity-item progress::-moz-progress-bar {
  background: var(--color-main);
}

/* =========================================================
   10. Process
========================================================= */

.section--process {
  background: #fff;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
}

.process-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 32px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  min-height: 185px;
  transition: background var(--transition);
}

.process-list li:hover {
  background: var(--color-sub);
}

.process-list li > span {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--color-accent);
}

.process-list h3 {
  font-size: 1rem;
  margin: 0 0 10px;
}

.process-list p {
  font-size: 0.77rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.8;
}

.period-note {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--color-main);
  color: #fff;
}

.period-note strong {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.period-note span {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-accent);
}

.period-note p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

/* =========================================================
   11. FAQ
========================================================= */

.section--faq {
  background: rgba(255, 255, 255, 0.38);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(45px, 8vw, 100px);
}

.faq-copy p:not(.section-kicker) {
  color: var(--color-text-light);
}

.faq-list {
  border-top: 1px solid var(--color-main);
}

.faq-list details {
  border-bottom: 1px solid var(--color-border);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 23px 52px 23px 5px;
  font-weight: 600;
  font-size: 0.89rem;
  position: relative;
}

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

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--color-main);
  transition: transform var(--transition);
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-list details p {
  margin: 0;
  padding: 0 48px 25px 5px;
  color: var(--color-text-light);
  font-size: 0.8rem;
}

/* =========================================================
   12. News
========================================================= */

.section--news {
  padding-top: 100px;
  padding-bottom: 100px;
}

.news-layout {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: clamp(40px, 7vw, 80px);
}

.news-heading h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin: 0;
}

.news-list {
  border-top: 1px solid var(--color-main);
}

.news-list article {
  display: grid;
  grid-template-columns: 100px 54px 1fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--color-border);
  padding: 20px 5px;
}

.news-list time {
  font-size: 0.7rem;
  color: var(--color-text-light);
}

.news-list span {
  font-size: 0.6rem;
  text-align: center;
  padding: 3px 5px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

.news-list p {
  font-size: 0.8rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================================================
   13. Home Page Responsive
========================================================= */

@media (max-width: 980px) {
  .strength-grid,
  .diagnosis-grid,
  .pricing-layout,
  .capacity-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .strength-grid {
    gap: 70px;
  }
}

@media (max-width: 720px) {
  .hero-cover__content {
    padding-top: 135px;
  }

  .hero-cover h1 {
    font-size: clamp(2.55rem, 12vw, 4.2rem);
  }

  .hero-cover__overlay {
    background:
      linear-gradient(0deg, rgba(7, 24, 29, 0.92), rgba(7, 24, 29, 0.57)),
      linear-gradient(90deg, rgba(7, 24, 29, 0.85), transparent);
  }

  .hero-cover__lead {
    font-size: 0.89rem;
    line-height: 1.85;
  }

  .hero-cover__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-cover__prices {
    gap: 8px;
    flex-direction: column;
  }

  .scroll-cue {
    display: none;
  }

  .page-guide a {
    padding: 13px 14px;
  }

  .section {
    padding: 78px 0;
  }

  .strength-copy h2,
  .diagnosis-copy h2,
  .pricing-copy h2,
  .capacity-copy h2,
  .faq-copy h2 {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
  }

  .strength-visual figcaption {
    right: 0;
    bottom: -40px;
  }

  .price-sheet dl > div {
    display: grid;
    gap: 3px;
  }

  .price-sheet dd {
    text-align: left;
    color: var(--color-accent);
  }

  .support-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card:nth-child(even) {
    transform: none;
  }

  .section--works .section-more {
    margin-top: 45px;
  }

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

  .process-list li {
    min-height: auto;
  }

  .period-note {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-list article {
    grid-template-columns: 85px 48px 1fr;
    gap: 10px;
  }

  .news-list p {
    grid-column: 1/4;
    white-space: normal;
  }
}

/* =========================================================
   14. Hero Flow / Final Page Overrides
========================================================= */

.hero-flow {
  --flow-sheet-width: 132vw;
  --flow-gap: clamp(10px, 1.05vw, 20px);

  position: absolute;

  inset: -8vh -10vw;

  z-index: 1;

  overflow: hidden;

  opacity: 0.82;

  pointer-events: none;

  transform: rotate(-2.4deg) scale(1.08);

  transform-origin: center center;

  backface-visibility: hidden;
}

/* =========================================================
   VERTICAL WALL
========================================================= */

.hero-flow__drift {
  position: absolute;

  left: 0;
  top: 50%;

  width: 100%;

  display: flex;

  flex-direction: column;

  gap: var(--flow-gap);

  animation: heroFlowVertical 24s ease-in-out infinite alternate;

  will-change: transform;

  backface-visibility: hidden;
}

/* =========================================================
   ROW
========================================================= */

.hero-flow__row {
  position: relative;

  flex: 0 0 auto;

  width: 100%;

  overflow: hidden;

  backface-visibility: hidden;
}

/* =========================================================
   TRACK
========================================================= */

.hero-flow__track {
  display: flex;

  align-items: center;

  width: max-content;

  will-change: transform;

  backface-visibility: hidden;
}

/* =========================================================
   LOOP GROUP
========================================================= */

.hero-flow__group {
  box-sizing: border-box;

  display: flex;

  align-items: center;

  flex: 0 0 var(--flow-sheet-width);

  width: var(--flow-sheet-width);

  gap: var(--flow-gap);

  padding-right: var(--flow-gap);
}

/* =========================================================
   CARD
========================================================= */

.hero-flow__card {
  position: relative;

  display: block;

  flex: 1 1 0;

  min-width: 0;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background: #09191d;

  border: 1px solid rgba(255, 255, 255, 0.14);

  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);

  transform: none;

  backface-visibility: hidden;
}

/* =========================================================
   IMAGE
========================================================= */

.hero-flow__card img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;

  filter: grayscale(0.22) saturate(0.84) contrast(1.02) brightness(0.88);
}

/* =========================================================
   IMAGE OVERLAY
========================================================= */

.hero-flow__card::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(5, 20, 24, 0.02),
    rgba(5, 20, 24, 0.14)
  );

  pointer-events: none;
}

/* =========================================================
   LEFT
========================================================= */

.hero-flow__row--left .hero-flow__track {
  animation: heroFlowLeft 150s linear infinite;
}

/* =========================================================
   RIGHT
========================================================= */

.hero-flow__row--right .hero-flow__track {
  transform: translate3d(-50%, 0, 0);

  animation: heroFlowRight 150s linear infinite;
}

/* =========================================================
   SPEED DIFFERENCES
========================================================= */

.hero-flow__row:nth-child(1) .hero-flow__track {
  animation-duration: 168s;
}

.hero-flow__row:nth-child(2) .hero-flow__track {
  animation-duration: 181s;
}

.hero-flow__row:nth-child(3) .hero-flow__track {
  animation-duration: 156s;
}

.hero-flow__row:nth-child(4) .hero-flow__track {
  animation-duration: 190s;
}

.hero-flow__row:nth-child(5) .hero-flow__track {
  animation-duration: 174s;
}

/* =========================================================
   HORIZONTAL LOOP
========================================================= */

@keyframes heroFlowLeft {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes heroFlowRight {
  from {
    transform: translate3d(-50%, 0, 0);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

/* =========================================================
   VERTICAL DRIFT
========================================================= */

@keyframes heroFlowVertical {
  from {
    transform: translate3d(0, calc(-50% - 3.5vh), 0);
  }

  to {
    transform: translate3d(0, calc(-50% + 3.5vh), 0);
  }
}

/* =========================================================
   EXISTING HERO LAYERS
========================================================= */

.hero-cover__overlay {
  z-index: 2;

  background:
    linear-gradient(
      90deg,
      rgba(5, 20, 24, 0.97) 0%,
      rgba(5, 20, 24, 0.87) 35%,
      rgba(5, 20, 24, 0.48) 70%,
      rgba(5, 20, 24, 0.62) 100%
    ),
    linear-gradient(0deg, rgba(16, 40, 46, 0.72), transparent 48%);
}

.hero-cover::before,
.hero-cover::after {
  z-index: 3;
}

.hero-orbit {
  z-index: 3;
}

.hero-cover__content,
.scroll-cue {
  z-index: 4;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {
  .hero-flow {
    --flow-sheet-width: 190vw;

    --flow-gap: clamp(8px, 1.6vw, 16px);

    inset: -7vh -20vw;

    opacity: 0.44;

    transform: rotate(-2.8deg) scale(1.08);
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {
  .hero-flow {
    --flow-sheet-width: 306vw;

    --flow-gap: 9px;

    inset: -5vh -36vw;

    opacity: 0.3;

    transform: rotate(-3deg) scale(1.06);
  }

  .hero-flow__drift {
    animation-duration: 28s;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .hero-flow__track,
  .hero-flow__drift {
    animation: none !important;
  }

  .hero-flow__drift {
    transform: translate3d(0, -50%, 0);
  }
}
.diagnosis-card img {
  background: red;
  outline: 2px solid lime;
}
/* =========================================================
   Diagnosis：タブレット・スマホで行数を固定
========================================================= */

@media (max-width: 720px) {
  .section--diagnosis .diagnosis-copy {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  /* PCと同じ2行を維持 */
  .section--diagnosis .diagnosis-copy h2 {
    width: 100%;
    max-width: none;
    margin: 0 auto;

    font-size: clamp(1.35rem, 5.5vw, 2.35rem);
    line-height: 1.55;
    letter-spacing: -0.05em;

    text-align: center;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  /* HTML内のbrを維持し、必ず2行にする */
  .section--diagnosis .diagnosis-copy__lead,
  .section--diagnosis .diagnosis-copy > p:not(.section-kicker) {
    width: 100%;
    max-width: none;
    margin: 24px auto 20px;

    font-size: clamp(0.61rem, 1.8vw, 0.82rem);
    line-height: 2;
    letter-spacing: -0.03em;

    text-align: center;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .section--diagnosis .diagnosis-copy .section-kicker {
    margin-bottom: 18px;

    font-size: clamp(0.61rem, 1.7vw, 0.7rem);
    letter-spacing: 0.2em;

    text-align: center;
    white-space: nowrap;
  }
}

.title-fixed-lines {
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.strength-copy .title-fixed-lines--strength {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.42;
  letter-spacing: -0.045em;
}

.pricing-copy .title-fixed-lines--pricing {
  font-size: clamp(1.8rem, 2.65vw, 2.5rem);
  line-height: 1.42;
  letter-spacing: -0.045em;
}

@media (max-width: 720px) {
  .strength-copy .title-fixed-lines--strength {
    font-size: min(7.8vw, 2.7rem);
    line-height: 1.46;
  }

  .pricing-copy .title-fixed-lines--pricing {
    font-size: min(6.7vw, 2.5rem);
    line-height: 1.5;
  }
}
.title-fixed-lines {
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.strength-copy .title-fixed-lines--strength {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.42;
  letter-spacing: -0.045em;
}

.pricing-copy .title-fixed-lines--pricing {
  font-size: clamp(1.8rem, 2.65vw, 2.5rem);
  line-height: 1.42;
  letter-spacing: -0.045em;
}

/* よくある質問 */
.title-fixed-lines--faq {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.42;
  letter-spacing: -0.045em;
}

/* 現在の請負可能数 */
.title-fixed-lines--capacity {
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.42;
  letter-spacing: -0.045em;
}

@media (max-width: 720px) {
  .strength-copy .title-fixed-lines--strength {
    font-size: min(7.8vw, 2.7rem);
    line-height: 1.46;
  }

  .pricing-copy .title-fixed-lines--pricing {
    font-size: min(6.7vw, 2.5rem);
    line-height: 1.5;
  }

  .title-fixed-lines--faq {
    font-size: min(7.8vw, 2.7rem);
    line-height: 1.46;
  }

  .title-fixed-lines--capacity {
    font-size: min(7.8vw, 2.7rem);
    line-height: 1.46;
  }
}
/* =========================================================
   SITE PRODUCTION COLLAPSE
   制作サイト一覧 + PRICE GUIDE
========================================================= */

.site-production-collapse {
  position: relative;

  width: 100%;
}

/* =========================================================
   GUIDE
========================================================= */

.site-production-collapse__guide {
  position: relative;

  isolation: isolate;

  display: flex;

  align-items: center;

  min-height: 330px;

  padding: clamp(64px, 7vw, 100px) 0;

  overflow: hidden;

  background: #17363d;
}

/* =========================================================
   BACKGROUND IMAGE
========================================================= */

.site-production-collapse__guide::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -3;

  background-image: url("../img/creative/site-production-bg.webp");

  background-repeat: no-repeat;

  background-position: center center;

  /*
    PC / Tablet / Smartphone
    自動トリミング
  */
  background-size: cover;

  transform: scale(1.015);

  transition:
    opacity 0.45s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   OVERLAY
========================================================= */

.site-production-collapse__guide::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -2;

  background: linear-gradient(
    90deg,
    rgba(8, 24, 29, 0.93) 0%,
    rgba(13, 37, 43, 0.78) 48%,
    rgba(13, 37, 43, 0.44) 100%
  );

  pointer-events: none;

  transition: background 0.4s ease;
}

/* =========================================================
   GUIDE INNER
========================================================= */

.site-production-collapse__guide-inner {
  position: relative;

  z-index: 1;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(290px, 370px);

  align-items: end;

  gap: clamp(40px, 7vw, 100px);

  width: min(1180px, calc(100% - 48px));

  margin-inline: auto;
}

/* =========================================================
   COPY
========================================================= */

.site-production-collapse__copy {
  max-width: 760px;

  color: #ffffff;
}

.site-production-collapse__copy .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.site-production-collapse__copy h2 {
  margin: 0 0 20px;

  color: #ffffff;

  font-family: "Noto Serif JP", serif;

  font-size: clamp(30px, 4vw, 52px);

  font-weight: 600;

  line-height: 1.45;

  letter-spacing: -0.035em;

  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.22);
}

.site-production-collapse__copy > p:last-child {
  max-width: 680px;

  margin: 0;

  color: rgba(255, 255, 255, 0.8);

  font-size: 14px;

  line-height: 2;
}

/* =========================================================
   OPEN BUTTON / shared .button bridge
========================================================= */

.site-production-collapse__button {
  width: 100%;
  min-width: 0;

  text-align: left;
}

.site-production-collapse.is-open
  .site-production-collapse__button
  .button__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* =========================================================
   SITE PRODUCTION / OPEN STATE
   開いた後も背景画像を残す
========================================================= */

.site-production-collapse.is-open .site-production-collapse__guide::before {
  /*
    画像を消さない
  */
  opacity: 0.82;

  /*
    開いた状態だけ少し落ち着かせる
  */
  filter: grayscale(25%) saturate(75%) contrast(108%) brightness(82%);

  transform: scale(1.04);
}

/*
  ベタ塗りを禁止。
  画像が見える透過グラデーションへ。
*/
.site-production-collapse.is-open .site-production-collapse__guide::after {
  background: linear-gradient(
    90deg,
    rgba(6, 31, 37, 0.92) 0%,

    rgba(6, 31, 37, 0.82) 38%,

    rgba(6, 31, 37, 0.58) 68%,

    rgba(6, 31, 37, 0.42) 100%
  );
}

/* =========================================================
   CONTENT
========================================================= */

.site-production-collapse__content[hidden] {
  display: none !important;
}

.site-production-collapse__content {
  background: #ffffff;
}

/* =========================================================
   SERVICE LIST
========================================================= */

.site-production-collapse__services {
  padding: clamp(70px, 8vw, 120px) 0;
}

.site-production-collapse__services-inner {
  width: min(1180px, calc(100% - 48px));

  margin-inline: auto;
}

.site-production-collapse__heading {
  margin-bottom: clamp(32px, 5vw, 54px);
}

.site-production-collapse__heading h2 {
  margin: 0 0 16px;

  color: #17363d;

  font-family: "Noto Serif JP", serif;

  font-size: clamp(30px, 4vw, 48px);

  line-height: 1.4;
}

.site-production-collapse__heading > p:last-child {
  max-width: 700px;

  margin: 0;

  color: #657277;

  line-height: 1.9;
}

/*
  既存service-rowの見た目は
  既存CSSをそのまま利用。
*/
.site-production-collapse__list {
  width: 100%;
}

/* =========================================================
   PRICING SEPARATOR
========================================================= */

.site-production-collapse .section--pricing {
  margin: 0;
}

/* =========================================================
   CLOSE BUTTON
========================================================= */

.site-production-collapse__close {
  display: flex;
  justify-content: center;
  padding: 36px 24px 72px;
  background: #ffffff;
}

/* =========================================================
   OPEN ANIMATION
========================================================= */

.site-production-collapse__content:not([hidden]) {
  animation: siteProductionReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes siteProductionReveal {
  from {
    opacity: 0;

    transform: translateY(20px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {
  .site-production-collapse__guide {
    min-height: 310px;
  }

  .site-production-collapse__guide-inner {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(240px, 310px);

    gap: 40px;
  }

  .site-production-collapse__copy h2 {
    font-size: clamp(28px, 4.5vw, 42px);
  }
}

/* =========================================================
   SMARTPHONE
========================================================= */

@media (max-width: 767px) {
  .site-production-collapse__guide {
    min-height: 380px;

    padding: 60px 0;
  }

  .site-production-collapse__guide::before {
    background-position: center center;
  }

  .site-production-collapse__guide::after {
    background: linear-gradient(
      180deg,
      rgba(8, 24, 29, 0.69) 0%,
      rgba(8, 24, 29, 0.91) 100%
    );
  }

  .site-production-collapse.is-open .site-production-collapse__guide::after {
    background: linear-gradient(
      180deg,
      rgba(8, 24, 29, 0.68) 0%,
      rgba(8, 24, 29, 0.82) 55%,
      rgba(8, 24, 29, 0.9) 100%
    );
  }

  .site-production-collapse__guide-inner {
    grid-template-columns: 1fr;

    gap: 30px;

    width: min(100% - 36px, 1180px);
  }

  .site-production-collapse__copy h2 {
    margin-bottom: 16px;

    font-size: clamp(25px, 8vw, 36px);

    line-height: 1.5;
  }

  .site-production-collapse__copy > p:last-child {
    font-size: 13px;

    line-height: 1.9;
  }

  .site-production-collapse__button {
    min-height: 68px;
  }

  .site-production-collapse__services-inner {
    width: min(100% - 36px, 1180px);
  }

  .site-production-collapse__services {
    padding: 64px 0;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .site-production-collapse__guide::before,
  .site-production-collapse__button,
  .site-production-collapse__button i::before,
  .site-production-collapse__button i::after {
    transition: none;
  }

  .site-production-collapse__content:not([hidden]) {
    animation: none;
  }
}
.strength-points h3 strong {
  margin-left: 0.35em;
  color: var(--color-main);
  font-size: 1.2em;
}
/* ========================================
   SUPPORT SECTION PANEL
======================================== */

.support-panel {
  position: relative;
  padding: clamp(34px, 4vw, 58px);

  background: rgba(255, 255, 255, 0.46);

  border: 1px solid rgba(23, 54, 61, 0.085);

  box-shadow: 0 24px 70px rgba(23, 54, 61, 0.045);
}

/* 右上に薄いズレ枠 */
.support-panel::before {
  content: "";

  position: absolute;
  top: -10px;
  right: -10px;
  bottom: 10px;
  left: 10px;

  border: 1px solid rgba(23, 54, 61, 0.065);

  pointer-events: none;
  z-index: -1;
}

/* 見出しとの距離 */
.support-panel .section-heading {
  margin-bottom: clamp(34px, 4vw, 52px);
}

/* 2枚の詳細カード */
.support-panel .support-grid {
  position: relative;
  z-index: 1;
}

/* 下部リンク */
.support-panel .section-more {
  margin-top: clamp(28px, 3vw, 40px);
}

/* Tablet */
@media (max-width: 1024px) {
  .support-panel {
    padding: 38px 32px;
  }
}

/* Smartphone */
@media (max-width: 767px) {
  .support-panel {
    padding: 28px 18px;
  }

  .support-panel::before {
    top: -6px;
    right: -6px;
    bottom: 6px;
    left: 6px;
  }

  .support-panel .section-heading {
    margin-bottom: 28px;
  }

  .support-panel .section-more {
    margin-top: 26px;
  }
}

/* ========================================
   PROCESS SECTION
======================================== */

.section--process {
  overflow: hidden;
}

.section--process .process-flow {
  --process-card-height: 88px;
  --process-card-gap: 26px;

  display: grid;
  grid-template-columns: 64px minmax(420px, 520px) minmax(300px, 1fr);
  gap: 0 clamp(24px, 3vw, 46px);
  align-items: start;

  margin-top: clamp(42px, 5vw, 68px);
  margin-bottom: clamp(56px, 6vw, 84px);
}

/* ========================================
   AXIS
======================================== */

.section--process .process-axis {
  position: relative;
  min-height: calc(
    (var(--process-card-height) * 5) + (var(--process-card-gap) * 4)
  );
}

.section--process .process-axis__line {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 30px;
  width: 1px;
  background: rgba(216, 121, 67, 0.56);
}

.section--process .process-axis__line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 10px solid rgba(216, 121, 67, 0.72);
}

.section--process .process-axis__label {
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1.2;
}

.section--process .process-axis__label--top {
  top: 0;
}

.section--process .process-axis__label--middle {
  top: 61%;
  transform: translateY(-50%);
}

.section--process .process-axis__label--bottom {
  bottom: 0;
}

/* ========================================
   STACK
======================================== */

.section--process .process-stack {
  display: grid;
  grid-template-rows: repeat(5, var(--process-card-height));
  gap: var(--process-card-gap);
}

.section--process .process-stage {
  position: relative;
  height: var(--process-card-height);
  overflow: visible;
  isolation: isolate;
}

/* 横に潰した盾っぽい5角形 */
.section--process .process-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;

  padding: 16px 44px;

  clip-path: polygon(10% 0, 100% 0, 91% 100%, 10% 100%, 0 50%);

  border: 1px solid rgba(23, 54, 61, 0.08);
  box-shadow: 0 14px 30px rgba(23, 54, 61, 0.045);
}

/* 色段階 */
.section--process .process-stage:nth-child(1) .process-card {
  background: #d7e2e3;
}

.section--process .process-stage:nth-child(2) .process-card {
  background: #c7d6d8;
}

.section--process .process-stage:nth-child(3) .process-card {
  background: #aec3c5;
}

.section--process .process-stage:nth-child(4) .process-card {
  background: #89a4a8;
}

.section--process .process-stage:nth-child(5) .process-card {
  background: var(--color-main);
}

.section--process .process-card h3 {
  margin: 0;
  color: var(--color-main);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.82rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-align: center;
}

.section--process .process-stage--final .process-card h3 {
  color: #fff;
}

/* ========================================
   SUMMARY
======================================== */

.section--process .process-summary {
  display: grid;
  grid-template-rows: repeat(5, var(--process-card-height));
  gap: var(--process-card-gap);
}

.section--process .process-summary__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--process-card-height);
  padding-left: 50px;
}

.section--process .process-summary__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 32px;
  height: 1px;
  background: rgba(23, 54, 61, 0.24);
}

.section--process .process-summary__item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--color-main);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.5;
}

.section--process .process-summary__item p {
  max-width: 420px;
  margin: 0;
  color: rgba(23, 54, 61, 0.64);
  font-size: 0.81rem;
  line-height: 1.8;
}

/* ========================================
   PERIOD / LINK
======================================== */

.section--process .period-note {
  margin-top: 0;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1100px) {
  .section--process .process-flow {
    --process-card-height: 84px;
    --process-card-gap: 22px;

    grid-template-columns: 54px minmax(340px, 450px) minmax(250px, 1fr);
    gap: 0 22px;
  }

  .section--process .process-axis__line {
    left: 26px;
  }

  .section--process .process-card h3 {
    font-size: clamp(1.18rem, 1.8vw, 1.56rem);
  }

  .section--process .process-summary__item {
    padding-left: 40px;
  }

  .section--process .process-summary__item::before {
    width: 24px;
  }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 860px) {
  .section--process .process-flow {
    --process-card-height: 80px;
    --process-card-gap: 20px;

    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0 12px;
  }

  .section--process .process-axis {
    grid-column: 1;
    grid-row: 1;
  }

  .section--process .process-stack {
    grid-column: 2;
    grid-row: 1;
  }

  .section--process .process-summary {
    grid-column: 1 / -1;
    grid-template-rows: none;
    gap: 0;
    margin-top: 30px;
    border-top: 1px solid rgba(23, 54, 61, 0.12);
  }

  .section--process .process-summary__item {
    min-height: auto;
    padding: 18px 0 18px 28px;
    border-bottom: 1px solid rgba(23, 54, 61, 0.12);
  }

  .section--process .process-summary__item::before {
    top: 24px;
    width: 16px;
  }

  .section--process .process-axis__line {
    left: 18px;
  }

  .section--process .process-axis__label {
    font-size: 0.58rem;
  }

  .section--process .process-card {
    padding: 14px 38px;
  }

  .section--process .process-card h3 {
    font-size: 1.08rem;
  }
}

@media (max-width: 480px) {
  .section--process .process-flow {
    --process-card-height: 74px;
    --process-card-gap: 18px;

    margin-top: 34px;
    margin-bottom: 52px;
  }

  .section--process .process-card {
    padding: 12px 28px;
  }

  .section--process .process-card h3 {
    font-size: 0.98rem;
  }

  .section--process .process-summary__item strong {
    font-size: 0.9rem;
  }

  .section--process .process-summary__item p {
    font-size: 0.78rem;
    line-height: 1.75;
  }
}
/* ========================================
   PROCESS FOOTER
   制作期間 + CTA
======================================== */

.section--process .process-footer {
  position: relative;

  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(240px, 0.65fr);

  margin-top: clamp(46px, 5vw, 70px);

  /* 元のperiod-noteの配色へ戻す */
  background: var(--color-main);
  color: #fff;

  border-top: 1px solid rgba(255, 255, 255, 0.16);

  border-bottom: 1px solid rgba(255, 255, 255, 0.16);

  overflow: hidden;
}

/* ========================================
   LEFT / 制作期間
======================================== */

.section--process .process-footer__period {
  position: relative;

  padding: clamp(30px, 3vw, 42px) clamp(30px, 4vw, 52px);

  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

/* 制作期間の目安 */

.section--process .process-footer__period strong {
  display: block;

  margin-bottom: 9px;

  color: var(--color-accent);

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.14em;
}

/* 2週間〜3か月 */

.section--process .process-footer__period span {
  display: block;

  margin-bottom: 10px;

  color: #fff;

  font-family: var(--font-serif);

  font-size: clamp(1.9rem, 3vw, 2.9rem);

  font-weight: 500;

  line-height: 1.15;

  letter-spacing: -0.04em;
}

/* 補足 */

.section--process .process-footer__period p {
  max-width: 520px;

  margin: 0;

  color: rgba(255, 255, 255, 0.62);

  font-size: 0.82rem;

  line-height: 1.8;
}

/* ========================================
   RIGHT / CTA
======================================== */

.section--process .process-footer__action {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.025);
}

/* ========================================
   TABLET / MOBILE
======================================== */

@media (max-width: 767px) {
  .section--process .process-footer {
    grid-template-columns: 1fr;
  }

  .section--process .process-footer__period {
    padding: 28px 24px 30px;

    border-right: 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section--process .process-footer__action {
    min-height: 88px;
  }

  .section--process .process-footer__period span {
    font-size: clamp(1.75rem, 7vw, 2.3rem);
  }
}
/* =========================================================
   NEWS / BACKGROUND + GLASS LAYER
========================================================= */

.section--news {
  --news-background-image: url("../img/creative/news-bg.webp");

  --news-background-position: center center;

  position: relative;
  isolation: isolate;
  overflow: hidden;

  background-image:
    linear-gradient(rgba(243, 240, 233, 0.18), rgba(243, 240, 233, 0.18)),
    var(--news-background-image);

  background-position: center, var(--news-background-position);

  background-size: cover, cover;

  background-repeat: no-repeat;
}

/* section__innerは通常通り */
.section--news .section__inner {
  position: relative;
  z-index: 1;
}

/* ========================================
   BACKGROUND CARD
======================================== */

.section--news .news-glass {
  position: relative;

  padding: clamp(30px, 4vw, 54px);

  background: rgba(255, 255, 255, 0.46);

  border: 1px solid rgba(255, 255, 255, 0.56);

  backdrop-filter: blur(18px) saturate(112%);

  -webkit-backdrop-filter: blur(18px) saturate(112%);

  box-shadow: 0 22px 60px rgba(23, 54, 61, 0.07);
}

/* 既存サイトで使っているズレ枠を弱く継承 */

.section--news .news-glass::before {
  content: "";

  position: absolute;

  inset: -8px 8px 8px -8px;

  border: 1px solid rgba(23, 54, 61, 0.09);

  pointer-events: none;
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 720px) {
  .section--news .news-glass {
    padding: 26px 20px;

    background: rgba(255, 255, 255, 0.52);

    backdrop-filter: blur(14px) saturate(108%);

    -webkit-backdrop-filter: blur(14px) saturate(108%);
  }

  .section--news .news-glass::before {
    inset: -5px 5px 5px -5px;
  }
}

/* =========================================================
   INDEX / SHARED BUTTON PLACEMENT
   見た目は common.css、ここでは配置だけ管理
========================================================= */

.diagnosis-copy > .button {
  margin-top: 28px;
}

.support-panel .section-more .button {
  min-width: min(100%, 430px);
}

.contact-banner .button {
  margin-top: 28px;
}

.site-production-collapse__close .button {
  min-width: min(100%, 310px);
}

@media (max-width: 720px) {
  .hero-cover__actions .button {
    width: 100%;
  }

  .diagnosis-copy > .button {
    width: 100%;
    margin-top: 24px;
  }

  .support-panel .section-more .button {
    width: 100%;
    min-width: 0;
  }

  .contact-banner .button {
    width: 100%;
    margin-top: 24px;
  }
}
.section--diagnosis {
  position: relative;
  overflow: hidden;
}

.section--diagnosis::before {
  content: "MATCH";
  position: absolute;
  top: -0.22em;
  right: -0.04em;

  font-family: var(--font-serif);
  font-size: clamp(10rem, 28vw, 28rem);
  line-height: 1;

  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.075);

  pointer-events: none;
}

.section--diagnosis .section__inner {
  position: relative;
  z-index: 1;
}
