/* Progreat Corporate — Genestate-inspired, sample content */
:root {
  --color-bg: #070d1a;
  --color-bg-deep: #04070f;
  --color-surface: #0c1526;
  --color-text: #e8f1fa;
  --color-muted: #94a7bd;
  --color-gold: #2ea8ff;
  --color-gold-light: #5fd7ff;
  --color-accent: #19c9bd;
  --color-line: rgba(148, 190, 235, 0.14);
  --font-sans: "Noto Sans JP", system-ui, sans-serif;
  --font-en: "Outfit", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
  --max: 72rem;
  --radius: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  /* hidden は position: sticky を無効化するため、対応ブラウザでは clip を使う */
  overflow-x: hidden;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

/* Astra の「トップへ戻る」— コーポレートは独自レイアウトのため非表示（左下に誤表示されるのを防ぐ） */
body.pg-corporate #ast-scroll-top {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  /* ヘッダー・ハンバーガーより下に置く（過去の 9998 だと UI 全体の上に被さる） */
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header
   ※ backdrop-filter をヘッダー本体に付けると、子の position:fixed の包含ブロックが
     ヘッダー高さに固定され、モバイルドロワーが数 px 幅になりスクロールバーだけ出る。
     ぼかしは ::before に逃がして viewport 基準の fixed を維持する。 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid var(--color-line);
  transition: transform 0.45s var(--ease-out), box-shadow 0.35s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 245, 240, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(12, 18, 32, 0.06);
}

.site-header.is-scrolled::before {
  background: rgba(255, 255, 255, 0.94);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 1002;
}

.site-logo__img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.35rem;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(11, 130, 230, 0.35);
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.site-logo__en {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.site-logo__ja {
  font-size: 0.65rem;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 18, 32, 0.45);
  border-radius: 999px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #eaf4fb;
  border-radius: 1px;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav__list > li > a,
.site-nav__parent {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.35rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__list > li > a:hover,
.site-nav__parent:hover {
  color: var(--color-gold);
}

.site-nav__cta {
  margin-left: 0.5rem;
  padding: 0.55rem 1.15rem !important;
  background: var(--color-bg-deep) !important;
  color: #fff !important;
  font-weight: 600 !important;
  position: relative;
  overflow: hidden;
}

.site-nav__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out);
}

.site-nav__cta:hover::after {
  transform: translateX(100%);
}

.has-sub {
  position: relative;
}

.site-nav__sub {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(12, 18, 32, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.35s var(--ease-out), visibility 0.3s;
}

.has-sub:hover .site-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__sub a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
  transition: color 0.2s, background 0.2s;
}

.site-nav__sub a:hover {
  color: var(--color-text);
  background: rgba(11, 130, 230, 0.08);
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }

  .site-logo__ja {
    display: none;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    bottom: 0;
    min-height: calc(100dvh - var(--header-h));
    min-height: calc(100vh - var(--header-h));
    background: var(--color-bg);
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 1;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list > li > a,
  .site-nav__parent {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-line);
  }

  .site-nav__cta {
    margin: 1rem 0 0;
    text-align: center;
  }

  .site-nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.5rem 1rem;
    display: none;
  }

  .has-sub.is-expanded .site-nav__sub {
    display: block;
  }

  .site-nav__parent {
    cursor: pointer;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header__inner {
    padding: 0 0.9rem;
  }

  .site-logo__en {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }
}

.site-main {
  padding-top: var(--header-h);
}

/* About — 代表プロフィール */
.about-profile {
  display: grid;
  grid-template-columns: min(17.5rem, 100%) 1fr;
  gap: 2rem 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-line);
}

.about-profile__media {
  margin: 0;
}

.about-profile__photo {
  display: block;
  width: 100%;
  max-width: 17.5rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(12, 18, 32, 0.1);
  border: 1px solid var(--color-line);
}

.about-profile__role {
  font-family: var(--font-en);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 0.35rem;
}

.about-profile__name {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: var(--color-text);
}

.about-profile__body p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.about-profile__body p:last-child {
  margin-bottom: 0;
}

.about-profile__note {
  margin-top: 1rem !important;
  font-size: 0.8125rem !important;
  color: var(--color-muted);
  opacity: 0.9;
}

@media (max-width: 640px) {
  .about-profile {
    grid-template-columns: 1fr;
  }

  .about-profile__photo {
    max-width: 14rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-deep);
  color: #eaf4fb;
  --hero-mx: 0;
  --hero-my: 0;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__gradient {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(11, 130, 230, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 45% at 85% 60%, rgba(30, 77, 74, 0.35), transparent 50%),
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(12, 18, 32, 0.9), transparent 60%);
  animation: heroGradient 18s ease-in-out infinite alternate;
}

@keyframes heroGradient {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-3%, 2%) scale(1.08);
  }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 70%);
  animation: gridDrift 40s linear infinite;
}

.hero__aurora {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(circle at 15% 20%, rgba(48, 154, 255, 0.22), transparent 40%),
    radial-gradient(circle at 80% 25%, rgba(120, 84, 255, 0.18), transparent 42%),
    radial-gradient(circle at 70% 80%, rgba(41, 238, 195, 0.16), transparent 40%);
  mix-blend-mode: screen;
  filter: blur(8px);
  z-index: 0;
  animation: auroraWave 14s ease-in-out infinite alternate;
  transform: translate(calc(var(--hero-mx) * 8px), calc(var(--hero-my) * 8px));
}

@keyframes auroraWave {
  0% {
    transform: translate(calc(var(--hero-mx) * 8px), calc(var(--hero-my) * 8px)) scale(1);
  }
  100% {
    transform: translate(calc(var(--hero-mx) * -8px), calc(var(--hero-my) * -8px)) scale(1.08);
  }
}

.hero__scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.035) 0px,
    rgba(255, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 4px
  );
  opacity: 0.18;
}

.hero__orbits {
  position: absolute;
  right: -10rem;
  top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 34rem);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
}

.hero__orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(62, 198, 242, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(62, 198, 242, 0.16), inset 0 0 30px rgba(30, 77, 74, 0.12);
}

.hero__orbit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #fff, var(--color-gold-light));
  box-shadow: 0 0 18px rgba(62, 198, 242, 0.7);
}

.hero__orbit--lg {
  animation: orbitSpin 22s linear infinite;
}

.hero__orbit--md {
  inset: 12%;
  opacity: 0.8;
  animation: orbitSpinReverse 18s linear infinite;
}

.hero__orbit--sm {
  inset: 24%;
  opacity: 0.65;
  animation: orbitSpin 14s linear infinite;
}

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

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

@keyframes gridDrift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 64px 64px, 64px 64px;
  }
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0rem 0.5rem 2rem;
  width: 100%;
}

.hero__glass {
  position: relative;
  width: min(100%, 54rem);
  background: linear-gradient(145deg, rgba(10, 16, 30, 0.52), rgba(10, 16, 30, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 22px 52px rgba(3, 8, 20, 0.35);
}

.hero__glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(62, 198, 242, 0.2);
  mask-image: linear-gradient(130deg, black 30%, transparent 70%);
  pointer-events: none;
}

.hero__eyebrow {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.2s forwards;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero-break-mobile {
  display: none;
}

.hero__title .line-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: lineReveal 1s var(--ease-out) forwards;
}

.hero__title .line:nth-child(1) .line-inner {
  animation-delay: 0.35s;
}

.hero__title .line:nth-child(2) .line-inner {
  animation-delay: 0.5s;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, #fff, #7ae6ff 40%, var(--color-gold-light) 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(122, 230, 255, 0.3);
}

@keyframes lineReveal {
  to {
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__lead {
  max-width: 32rem;
  font-size: 1rem;
  color: rgba(234, 244, 251, 0.78);
  margin: 0 0 2.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.75s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.95s forwards;
}

.hero__metrics {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.1s forwards;
}

.hero__metrics div {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}

.hero__metrics span {
  font-family: var(--font-en);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  opacity: 0.7;
}

.hero__metrics strong {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #d6efff;
}

@media (max-width: 980px) {
  .hero__orbits {
    right: -13rem;
    width: min(68vw, 30rem);
    opacity: 0.6;
  }
}

@media (max-width: 768px) {
  .hero__glass {
    width: 100%;
  }

  .hero__orbits {
    display: none;
  }

  .hero-break-mobile {
    display: block;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-bg-deep);
  box-shadow: 0 8px 28px rgba(11, 130, 230, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(11, 130, 230, 0.42);
}

.btn--ghost {
  background: transparent;
  color: #eaf4fb;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--ghost:hover {
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(234, 244, 251, 0.45);
}

.hero__scroll-bar {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollBar 2s ease-in-out infinite;
}

@keyframes scrollBar {
  0%,
  100% {
    transform: scaleY(0.6);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Sections */
.section {
  padding: 2.5rem 1.5rem;
}

.section--alt {
  background: var(--color-surface);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section__head {
  margin-bottom: 3rem;
}

.section__label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 0.75rem;
}

.section__title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.35;
}

.section__desc {
  max-width: 40rem;
  color: var(--color-muted);
  margin: 0;
}

/* Reveal (JS adds .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out), transform 0.85s var(--ease-out);
}

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

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Strength cards */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .strength-grid {
    grid-template-columns: 1fr;
  }
}

.strength-card {
  position: relative;
  padding: 2rem 1.75rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
  transform-style: preserve-3d;
}

.strength-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease-out);
}

.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(12, 18, 32, 0.08);
}

.strength-card:hover::before {
  transform: scaleX(1);
}

.strength-card__num {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(11, 130, 230, 0.35);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.strength-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.strength-card__text {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0;
}

/* Service split */
.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .service-split {
    grid-template-columns: 1fr;
  }
}

.service-panel {
  position: relative;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  min-height: 18rem;
  overflow: hidden;
  color: #eaf4fb;
}

.service-panel--it {
  background: linear-gradient(145deg, #0e7ad9 0%, #0a55b0 100%);
}

.service-panel--hr {
  background: linear-gradient(145deg, #0fb0a6 0%, #087a80 100%);
}

.service-panel__glow {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  right: -60%;
  background: radial-gradient(circle, rgba(11, 130, 230, 0.2), transparent 55%);
  animation: panelGlow 12s ease-in-out infinite;
}

@keyframes panelGlow {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-8%, 5%);
  }
}

.service-panel__inner {
  position: relative;
  z-index: 1;
}

.service-panel__tag {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.service-panel h3 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.service-panel p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0 0 1.5rem;
  max-width: 28rem;
}

.link-arrow {
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.25s var(--ease-out);
}

.link-arrow:hover {
  gap: 0.65rem;
  color: var(--color-gold-light);
}

/* News ticker strip */
.ticker {
  background: var(--color-bg-deep);
  color: rgba(234, 244, 251, 0.9);
  padding: 0.65rem 0;
  overflow: hidden;
}

.ticker__marquee {
  display: flex;
  width: max-content;
  animation: ticker 32s linear infinite;
}

.ticker:hover .ticker__marquee {
  animation-play-state: paused;
}

.ticker__track {
  display: flex;
  gap: 3rem;
  padding-right: 3rem;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ticker__item {
  font-size: 0.8125rem;
  white-space: nowrap;
}

a.ticker__item {
  color: rgba(234, 244, 251, 0.92);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a.ticker__item:hover {
  color: var(--color-gold-light);
}

.ticker__item span {
  color: var(--color-gold-light);
  margin-right: 0.5rem;
}

/* News list */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-line);
}

.news-list li {
  border-bottom: 1px solid var(--color-line);
}

.news-list a {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  align-items: baseline;
  transition: background 0.2s ease;
}

@media (max-width: 600px) {
  .news-list a {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.news-list a:hover {
  background: rgba(11, 130, 230, 0.04);
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
  border-radius: 0.35rem;
}

.news-list time {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* CTA band */
.cta-band {
  position: relative;
  padding: 4rem 1.5rem;
  background: var(--color-bg-deep);
  color: #eaf4fb;
  overflow: hidden;
}

.cta-band__svg {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(45vw, 28rem);
  opacity: 0.12;
  pointer-events: none;
}

.cta-band__inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 0.5rem;
}

.cta-band p {
  margin: 0;
  opacity: 0.75;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: #041020;
  color: rgba(234, 244, 251, 0.72);
  padding: 3.5rem 1.5rem 2rem;
  font-size: 0.875rem;
}

.site-footer__top {
  max-width: var(--max);
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

.site-footer__en {
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: #fff;
}

.site-footer__tag {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  opacity: 0.65;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .site-footer__cols {
    grid-template-columns: 1fr;
  }
}

.site-footer__heading {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin: 0 0 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  opacity: 0.55;
}

/* Inner pages */
.page-hero {
  padding: 3.5rem 1.5rem 2.5rem;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-line);
}

.page-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero__label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin: 0 0 0.5rem;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  margin: 0;
  color: var(--color-muted);
  max-width: 40rem;
}

.page-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.page-content h2,
.page-content .entry-content h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(11, 130, 230, 0.35);
}

.page-content h2:first-child,
.page-content .entry-content > h2:first-child {
  margin-top: 0;
}

.page-content h3,
.page-content .entry-content h3 {
  font-size: 1.05rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
}

.page-content p,
.page-content .entry-content p {
  margin: 0 0 1.25rem;
  color: var(--color-text);
}

.page-content ul,
.page-content .entry-content ul,
.page-content ol,
.page-content .entry-content ol {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--color-muted);
}

.page-content .entry-content a {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.page-content .entry-content a:hover {
  color: #8fd8ff;
}

.page-content .entry-content blockquote {
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid rgba(11, 130, 230, 0.45);
  background: rgba(11, 130, 230, 0.06);
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.page-content .entry-content img,
.page-content .entry-content .wp-block-image {
  max-width: 100%;
  height: auto;
}

.page-content .entry-content pre,
.page-content .entry-content code {
  font-size: 0.875rem;
}

.page-content .entry-content pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--color-bg-deep);
  border: 1px solid var(--color-line);
  margin: 0 0 1.25rem;
}

.single-post__article {
  max-width: 48rem;
}

.single-post__sep {
  color: var(--color-muted);
}

.single-post__back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}

.single-post__pages {
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.single-post__pages-label {
  display: inline;
  margin-right: 0.5rem;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.25rem;
}

.portfolio-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: 1.25rem 1.15rem;
  box-shadow: 0 10px 30px rgba(12, 18, 32, 0.05);
}

.portfolio-card__thumb {
  margin: -0.25rem -0.15rem 0.9rem;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(12, 18, 32, 0.1);
}

.portfolio-card__thumb img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  display: block;
}

.portfolio-card__label {
  margin: 0 0 0.45rem;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  text-transform: uppercase;
}

.portfolio-card__title {
  margin: 0 0 0.65rem;
  padding: 0;
  border: 0;
  font-size: 1.06rem;
  line-height: 1.45;
}

.portfolio-card__desc {
  margin-bottom: 0.75rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.portfolio-card__meta {
  margin: 0 0 0.9rem;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.portfolio-guidance {
  margin: 0 0 1rem;
  border: 1px solid var(--color-line);
  border-radius: 0.75rem;
  padding: 0.8rem 0.9rem;
  background: color-mix(in srgb, var(--color-surface) 86%, #f2f6ff 14%);
  color: var(--color-muted);
  font-size: 0.82rem;
}

/* Izakaya portfolio sample (one-page) */
.izakaya-hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(120% 100% at 15% 20%, rgba(62, 198, 242, 0.18), transparent 60%),
    linear-gradient(145deg, #0b1220 0%, #111b2d 45%, #1e2a3c 100%);
  color: #f5f9fc;
}

.izakaya-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(247, 245, 240, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(247, 245, 240, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.35;
}

.izakaya-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
}

.izakaya-hero__eyebrow {
  margin: 0 0 0.8rem;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--color-gold-light);
}

.izakaya-hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.14;
}

.izakaya-hero__lead {
  margin: 0;
  max-width: 44rem;
  color: rgba(247, 245, 240, 0.9);
}

.izakaya-hero__actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.izakaya-local-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 3;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.7rem 1rem;
  background: rgba(8, 12, 20, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.izakaya-local-nav a {
  flex: 0 0 auto;
  color: rgba(247, 245, 240, 0.8);
  font-size: 0.8rem;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 245, 240, 0.2);
}

.izakaya-local-nav a:hover {
  color: #fff;
  border-color: rgba(247, 245, 240, 0.45);
}

.izakaya-section {
  padding: clamp(2.4rem, 5vw, 4rem) 1.5rem;
  background: var(--color-surface);
}

.izakaya-section--alt {
  background: linear-gradient(180deg, #faf9f6 0%, #f4f1eb 100%);
}

.izakaya-section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.izakaya-section__label {
  margin: 0 0 0.55rem;
  font-family: var(--font-en);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold);
}

.izakaya-section h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.45rem, 3.1vw, 2.2rem);
  line-height: 1.3;
}

.izakaya-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.izakaya-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(12, 18, 32, 0.06);
}

.izakaya-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.izakaya-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.izakaya-card__price {
  margin-top: 0.5rem !important;
  color: var(--color-text) !important;
  font-weight: 600;
}

.izakaya-point-list {
  margin-top: 1rem;
}

.izakaya-point-list li {
  margin-bottom: 0.5rem;
}

.izakaya-course-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
}

.izakaya-course {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: var(--color-surface);
}

.izakaya-course h3 {
  margin: 0 0 0.45rem;
}

.izakaya-course p {
  margin: 0;
  color: var(--color-muted);
}

.izakaya-course__price {
  margin-top: 0.55rem !important;
  color: var(--color-text) !important;
  font-weight: 600;
}

.izakaya-cta {
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  background: #0d1423;
  color: #f5f9fc;
}

.izakaya-cta__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
}

.izakaya-cta__inner h2 {
  margin: 0.2rem 0 0.6rem;
  color: #fff;
}

.izakaya-cta__inner p {
  color: rgba(247, 245, 240, 0.82);
  margin: 0;
}

.izakaya-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 14rem;
}

@media (max-width: 768px) {
  .izakaya-cta__inner {
    grid-template-columns: 1fr;
  }

  .izakaya-cta__actions {
    min-width: 0;
  }
}

.definition-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
}

.definition-list div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-surface);
}

.definition-list div:last-child {
  border-bottom: none;
}

@media (max-width: 600px) {
  .definition-list div {
    grid-template-columns: 1fr;
  }
}

.definition-list dt {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0;
}

.definition-list dd {
  margin: 0;
  font-size: 0.875rem;
}

/* Pricing tables */
.pricing-note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  background: rgba(11, 130, 230, 0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(11, 130, 230, 0.2);
}

.pricing-table-wrap {
  overflow-x: auto;
  margin: 0 0 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 32rem;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--color-line);
}

.pricing-table thead th {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: var(--color-bg);
}

.pricing-table tbody th[scope="row"] {
  width: 8.5rem;
  font-weight: 600;
  color: var(--color-text);
  background: rgba(11, 130, 230, 0.06);
  white-space: nowrap;
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table td:last-child {
  font-weight: 600;
  color: var(--color-gold);
  white-space: nowrap;
}

/* @media (max-width: 640px) {
  .pricing-table td:last-child {
    white-space: normal;
  }
} */

.page-pricing .page-content h3 {
  font-size: 1.05rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
}

/* Contact — フォームを画面中央付近に */
.page-content--contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 12rem);
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.contact-form-shell {
  width: 100%;
  max-width: 38rem;
  margin: 0 auto;
}

.page-contact .page-content--contact .wpcf7 {
  margin-left: auto;
  margin-right: auto;
}

.page-contact .page-content--contact .wpcf7 input[type="submit"],
.page-contact .page-content--contact .wpcf7 .wpcf7-submit {
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.page-contact .page-content--contact .wpcf7-form p:has(.wpcf7-submit),
.page-contact .page-content--contact .wpcf7-form p:has(input[type="submit"]) {
  text-align: center;
}

/* Contact form */
.contact-form {
  max-width: 32rem;
  margin-top: 2rem;
}

.contact-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-line);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(11, 130, 230, 0.15);
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-note {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-top: 1rem;
}

/* Contact Form 7 — フォームらしい見た目 */
.page-contact .wpcf7 {
  max-width: 36rem;
  margin-top: 0;
}

.page-contact .wpcf7-form {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: 0 16px 48px rgba(12, 18, 32, 0.08);
}

.page-contact .wpcf7-form > p {
  margin: 0 0 1.25rem;
}

.page-contact .wpcf7-form > p:last-of-type {
  margin-bottom: 0;
}

.page-contact .wpcf7 label,
.page-contact .wpcf7-form-control-wrap .wpcf7-list-item-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
}

.page-contact .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.35rem;
}

.page-contact .wpcf7 input[type="text"],
.page-contact .wpcf7 input[type="email"],
.page-contact .wpcf7 input[type="tel"],
.page-contact .wpcf7 input[type="url"],
.page-contact .wpcf7 input[type="number"],
.page-contact .wpcf7 select,
.page-contact .wpcf7 textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.page-contact .wpcf7 textarea {
  min-height: 10rem;
  resize: vertical;
  line-height: 1.6;
}

.page-contact .wpcf7 input:focus,
.page-contact .wpcf7 select:focus,
.page-contact .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(46, 168, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.page-contact .wpcf7 input[type="submit"],
.page-contact .wpcf7 .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 18rem;
  padding: 0.95rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-bg-deep);
  box-shadow: 0 8px 28px rgba(11, 130, 230, 0.35);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  margin-top: 0.25rem;
}

.page-contact .wpcf7 input[type="submit"]:hover,
.page-contact .wpcf7 .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(11, 130, 230, 0.42);
}

.page-contact .wpcf7-not-valid-tip {
  display: block;
  font-size: 0.75rem;
  color: #b91c1c;
  margin-top: 0.4rem;
}

.page-contact .wpcf7-response-output {
  margin: 1.25rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  border: 1px solid var(--color-line);
  background: var(--color-bg);
}

.page-contact .wpcf7 form.sent .wpcf7-response-output {
  background: rgba(30, 77, 74, 0.08);
  border-color: rgba(30, 77, 74, 0.22);
  color: var(--color-accent);
}

.page-contact .wpcf7 form.invalid .wpcf7-response-output,
.page-contact .wpcf7 form.failed .wpcf7-response-output,
.page-contact .wpcf7 form.aborted .wpcf7-response-output {
  background: rgba(185, 28, 28, 0.06);
  border-color: rgba(185, 28, 28, 0.2);
  color: #991b1b;
}

@media (max-width: 600px) {
  .page-contact .wpcf7-form {
    padding: 1.5rem 1.15rem;
  }

  .page-contact .wpcf7 input[type="submit"],
  .page-contact .wpcf7 .wpcf7-submit {
    max-width: none;
  }
}

/* Izakaya one-page remake */
.page-portfolio-izk-onepage {
  background: #14090b;
  color: #f8ece2;
}

.page-portfolio-izk-onepage #ast-scroll-top {
  display: none !important;
}

.izk-onepage {
  background:
    radial-gradient(circle at 10% 10%, rgba(196, 36, 56, 0.16), transparent 45%),
    radial-gradient(circle at 90% 30%, rgba(154, 20, 40, 0.22), transparent 40%),
    #14090b;
  padding-bottom: 5.2rem;
}

.izk-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(243, 237, 226, 0.12);
  background: rgba(35, 10, 14, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.izk-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.izk-logo {
  font-family: var(--font-en);
  letter-spacing: 0.12em;
  font-size: 0.9rem;
  color: #fff1e8;
}

.izk-nav {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  overflow-x: auto;
}

.izk-nav a {
  flex: 0 0 auto;
  padding: 0.25rem 0.45rem;
  color: rgba(255, 235, 223, 0.78);
  font-size: 0.78rem;
}

.izk-nav a:hover {
  color: #fff;
}

.izk-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: linear-gradient(135deg, #b31932, #d93a55);
  color: #fff4ee;
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid rgba(255, 219, 205, 0.45);
  box-shadow: 0 8px 24px rgba(186, 30, 55, 0.34);
}

.izk-fv {
  position: relative;
  min-height: min(86vh, 52rem);
  display: grid;
  align-items: end;
}

.izk-fv__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 8, 11, 0.2), rgba(30, 8, 11, 0.88)),
    url(../images/portfolio/izk-hero.jpg) center/cover no-repeat;
}

.izk-fv__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
  padding: clamp(4.5rem, 8vw, 7.4rem) 1.5rem clamp(2.4rem, 5vw, 3.7rem);
}

.izk-kicker {
  margin: 0 0 0.9rem;
  font-family: var(--font-en);
  letter-spacing: 0.2em;
  color: #ff9aa8;
  font-size: 0.72rem;
}

.izk-fv h1 {
  margin: 0 0 0.9rem;
  line-height: 1.15;
  font-size: clamp(2rem, 6vw, 4.1rem);
  color: #fff;
}

.izk-fv p {
  margin: 0;
  max-width: 38rem;
  color: rgba(255, 234, 221, 0.92);
}

.izk-fv__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.izk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.64rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.izk-btn--primary {
  background: linear-gradient(135deg, #a70f2b, #dd3554);
  color: #fff4ee;
  border: 1px solid rgba(255, 220, 210, 0.45);
  box-shadow: 0 10px 26px rgba(178, 24, 49, 0.35);
}

.izk-btn--ghost {
  border: 1px solid rgba(255, 211, 202, 0.55);
  color: #ffe9df;
  background: rgba(161, 24, 45, 0.16);
}

.izk-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
}

.izk-btn:hover::after {
  transform: translateX(130%);
}

.izk-section {
  padding: clamp(2.4rem, 5vw, 4.1rem) 1.5rem;
}

.izk-section__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.izk-label {
  margin: 0 0 0.55rem;
  font-family: var(--font-en);
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: #ff9fb0;
  text-transform: uppercase;
}

.izk-section h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.26;
  color: #fff3eb;
  position: relative;
  padding-left: 0.9rem;
}

.izk-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 0.36rem;
  height: 1.15em;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff8ca1, #ca2948);
}

.izk-section p,
.izk-section li {
  color: rgba(255, 231, 219, 0.84);
}

.izk-section--deep {
  background:
    linear-gradient(0deg, rgba(95, 17, 33, 0.82), rgba(95, 17, 33, 0.82)),
    #1a1315;
}

.izk-section--sand {
  background:
    linear-gradient(0deg, rgba(52, 14, 21, 0.86), rgba(52, 14, 21, 0.86)),
    #221417;
}

.izk-section--night {
  background:
    linear-gradient(0deg, rgba(34, 9, 14, 0.78), rgba(34, 9, 14, 0.78)),
    #1b0d10;
}

.izk-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.3rem;
  align-items: center;
}

.izk-photo {
  margin: 0;
}

.izk-photo img {
  width: 100%;
  border-radius: 0.85rem;
  border: 1px solid rgba(243, 237, 226, 0.18);
}

.izk-menu-grid {
  display: grid;
  gap: 1rem;
}

.izk-menu-card {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1rem;
  background: rgba(32, 11, 15, 0.55);
  border: 1px solid rgba(255, 201, 194, 0.24);
  border-radius: 0.85rem;
  padding: 0.8rem;
}

.izk-menu-card img {
  width: 100%;
  height: 100%;
  min-height: 9rem;
  object-fit: cover;
  border-radius: 0.65rem;
}

.izk-menu-card h3,
.izk-seat h3 {
  margin: 0 0 0.45rem;
  color: #fff3ec;
}

.izk-menu-card p,
.izk-seat p {
  margin: 0;
}

.izk-price {
  margin-top: 0.5rem !important;
  color: #ff9fb0 !important;
  font-weight: 600;
}

.izk-list {
  margin-top: 1rem;
}

.izk-list li {
  margin-bottom: 0.45rem;
}

.izk-seat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.85rem;
}

.izk-seat {
  border: 1px solid rgba(255, 198, 192, 0.26);
  border-radius: 0.75rem;
  padding: 1rem;
  background: rgba(40, 12, 17, 0.46);
}

.izk-reserve {
  padding: 2.6rem 1.5rem;
  background:
    linear-gradient(135deg, rgba(56, 12, 20, 0.8), rgba(56, 12, 20, 0.8)),
    url(../images/portfolio/izk-sake.jpg) center/cover no-repeat;
}

.izk-reserve__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
}

.izk-reserve__inner h2 {
  margin: 0.25rem 0 0.6rem;
}

.izk-reserve__inner p {
  margin: 0;
}

.izk-reserve__btns {
  display: grid;
  gap: 0.6rem;
  min-width: 15rem;
}

.izk-footer {
  padding: 1.5rem 1rem 2rem;
  background: #1a0b0f;
  border-top: 1px solid rgba(255, 196, 190, 0.14);
}

.izk-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  color: rgba(255, 225, 214, 0.68);
  font-size: 0.8rem;
}

.izk-footer a {
  color: #ff9fb0;
}

.izk-float-cta {
  position: fixed;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(33, 9, 13, 0.86);
  border: 1px solid rgba(255, 194, 186, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.izk-float-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  height: 2.1rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffe8dd;
  border: 1px solid rgba(255, 208, 203, 0.28);
  background: linear-gradient(135deg, rgba(162, 24, 45, 0.35), rgba(102, 14, 31, 0.3));
}

.izk-float-cta a:hover {
  border-color: rgba(255, 208, 203, 0.52);
  background: linear-gradient(135deg, rgba(191, 34, 61, 0.55), rgba(122, 16, 38, 0.45));
}

@media (max-width: 900px) {
  .izk-header__inner {
    grid-template-columns: 1fr auto;
  }

  .izk-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    padding-top: 0.2rem;
  }

  .izk-split,
  .izk-menu-card,
  .izk-reserve__inner {
    grid-template-columns: 1fr;
  }

  .izk-reserve__btns {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .izk-float-cta {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 0.9rem;
  }

  .izk-float-cta a {
    min-width: 0;
    height: 2.25rem;
    font-size: 0.68rem;
  }
}

/* Izakaya tone refinement (match provided mood: warm Japanese, less scary red) */
.page-portfolio-izk-onepage {
  background: #171310;
  color: #f3ecdf;
}

.izk-onepage {
  background:
    radial-gradient(circle at 12% 14%, rgba(169, 54, 43, 0.12), transparent 42%),
    radial-gradient(circle at 85% 26%, rgba(143, 43, 38, 0.1), transparent 38%),
    #171310;
}

.izk-header {
  background: rgba(22, 17, 14, 0.88);
  border-bottom-color: rgba(241, 228, 208, 0.18);
}

.izk-logo {
  font-family: "Yuji Syuku", "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  color: #f6eee2;
}

.izk-nav a {
  color: rgba(245, 231, 214, 0.78);
}

.izk-header__cta,
.izk-btn--primary {
  background: linear-gradient(135deg, #a23f31, #c45b3c);
  color: #fff6eb;
  border-color: rgba(255, 231, 208, 0.44);
  box-shadow: 0 8px 20px rgba(126, 49, 36, 0.28);
}

.izk-header__cta {
  border-radius: 0.35rem;
  padding: 0.5rem 0.9rem;
}

.izk-btn--ghost {
  background: rgba(164, 102, 64, 0.18);
  border-color: rgba(240, 206, 179, 0.5);
  color: #f9eee0;
}

.izk-btn {
  border-radius: 0.35rem;
  padding: 0.7rem 1.05rem;
  letter-spacing: 0.04em;
}

.izk-btn::after {
  background: linear-gradient(120deg, transparent 0%, rgba(255, 245, 232, 0.24) 50%, transparent 100%);
}

.izk-kicker,
.izk-label {
  color: #d7a06c;
}

.izk-fv__bg {
  background:
    linear-gradient(180deg, rgba(19, 15, 12, 0.22), rgba(19, 15, 12, 0.82)),
    url(../images/portfolio/izk-hero.jpg) center/cover no-repeat;
}

.izk-fv h1,
.izk-section h2 {
  font-family: "Yuji Syuku", "Zen Old Mincho", "Noto Sans JP", serif;
  color: #f8efe2;
}

.izk-fv h1 {
  letter-spacing: 0.04em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.izk-section h2 {
  font-family: "Zen Old Mincho", "Noto Sans JP", serif;
}

.izk-section h2::before {
  width: 0.28rem;
  border-radius: 0.2rem;
  background: linear-gradient(180deg, #e0aa74, #b66a4f);
}

.izk-section p,
.izk-section li {
  color: rgba(243, 231, 214, 0.86);
}

.izk-section--deep {
  background:
    linear-gradient(0deg, rgba(42, 28, 22, 0.9), rgba(42, 28, 22, 0.9)),
    #231b18;
}

.izk-section--sand {
  background:
    linear-gradient(0deg, rgba(36, 27, 22, 0.85), rgba(36, 27, 22, 0.85)),
    #2c211d;
}

.izk-section--night {
  background:
    linear-gradient(0deg, rgba(27, 21, 18, 0.82), rgba(27, 21, 18, 0.82)),
    #1f1714;
}

.izk-menu-card,
.izk-seat {
  background: rgba(31, 24, 20, 0.68);
  border-color: rgba(233, 207, 181, 0.25);
}

.izk-price,
.izk-footer a {
  color: #deab78 !important;
}

.izk-reserve {
  background:
    linear-gradient(135deg, rgba(34, 24, 18, 0.78), rgba(34, 24, 18, 0.78)),
    url(../images/portfolio/izk-sake.jpg) center/cover no-repeat;
}

.izk-fv__panel {
  margin-top: 1.4rem;
  max-width: 23rem;
  border: 1px solid rgba(235, 214, 188, 0.32);
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: rgba(24, 17, 14, 0.62);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.izk-fv__panel p {
  margin: 0.2rem 0;
  font-size: 0.8rem;
  color: rgba(246, 233, 216, 0.9);
}

.izk-fv__panel span {
  display: inline-block;
  min-width: 3em;
  color: #d7a06c;
  font-weight: 700;
}

.izk-footer {
  background: #15100d;
  border-top-color: rgba(230, 206, 182, 0.16);
}

.izk-float-cta {
  background: rgba(30, 22, 18, 0.86);
  border-color: rgba(234, 206, 177, 0.3);
}

.izk-float-cta a {
  background: linear-gradient(135deg, rgba(131, 58, 40, 0.44), rgba(94, 44, 33, 0.4));
  border-color: rgba(239, 209, 177, 0.32);
  color: #f8ebdc;
  border-radius: 0.45rem;
}

.izk-float-cta a:hover {
  background: linear-gradient(135deg, rgba(153, 67, 45, 0.56), rgba(112, 52, 38, 0.5));
  border-color: rgba(239, 209, 177, 0.54);
}

/* Portfolio: Home100 architecture LP */
.page-portfolio-home100 {
  background: #f4f0e8;
  color: #2f2d2a;
}

.home100 {
  background: #f4f0e8;
}

.home100-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 240, 232, 0.92);
  border-bottom: 1px solid rgba(47, 45, 42, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home100-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home100-brand {
  margin: 0;
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: #4d4a45;
}

.home100-fv {
  position: relative;
  min-height: min(86vh, 50rem);
  display: grid;
  align-items: end;
}

.home100-fv__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 22, 28, 0.2), rgba(17, 22, 28, 0.62)),
    url(../images/portfolio-arch/arch-fv.jpg) center/cover no-repeat;
}

.home100-fv__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
  padding: clamp(4.2rem, 8vw, 7.1rem) 1.5rem clamp(2.6rem, 5vw, 4rem);
  color: #fff;
}

.home100-kicker {
  margin: 0 0 0.8rem;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #e8dcc3;
}

.home100-fv h1 {
  margin: 0 0 0.75rem;
  line-height: 1.14;
  font-size: clamp(2rem, 6vw, 4rem);
}

.home100-lead {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.92);
}

.home100-fv__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.home100-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.home100-btn--primary {
  background: #b78b4f;
  color: #fff;
}

.home100-btn--ghost {
  border: 1px solid rgba(90, 78, 60, 0.35);
  color: #3a332a;
  background: rgba(255, 255, 255, 0.45);
}

.home100-section {
  padding: clamp(2.4rem, 5vw, 4rem) 1.5rem;
}

.home100-section--alt {
  background: #ece7dd;
}

.home100-section__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.home100-label {
  margin: 0 0 0.45rem;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8c7757;
}

.home100-section h2,
.home100-present h2 {
  margin: 0 0 0.8rem;
  line-height: 1.3;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  color: #2e2a25;
}

.home100-concept {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.3rem;
  align-items: center;
}

.home100-photo {
  margin: 0;
}

.home100-photo img {
  width: 100%;
  border-radius: 0.85rem;
}

.home100-present {
  padding: clamp(2.2rem, 5vw, 3.4rem) 1.5rem;
  background: linear-gradient(180deg, #f9f6f0 0%, #efe8dd 100%);
  border-top: 1px solid rgba(47, 45, 42, 0.08);
  border-bottom: 1px solid rgba(47, 45, 42, 0.08);
}

.home100-present__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
}

.home100-cases {
  display: grid;
  gap: 1rem;
}

.home100-case {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  border: 1px solid rgba(47, 45, 42, 0.14);
  border-radius: 0.9rem;
  padding: 0.85rem;
  background: #fffdf8;
}

.home100-case img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  border-radius: 0.7rem;
}

.home100-case__body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.home100-case__id {
  margin: 0 0 0.35rem;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #8c7757;
}

.home100-case__meta {
  margin: 0 0 0.55rem;
  color: #5a5144;
  font-size: 0.84rem;
}

.home100-list {
  margin: 0 0 1rem;
  color: #4f463b;
}

.home100-list li {
  margin-bottom: 0.45rem;
}

.home100-note {
  color: #746a5e;
  font-size: 0.82rem;
}

.home100-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@media (max-width: 860px) {
  .home100-concept,
  .home100-case {
    grid-template-columns: 1fr;
  }
}

/* Home100 full-original redesign */
.page-portfolio-home100 {
  background: #f2f6f8;
  color: #222a31;
}

.page-portfolio-home100 #ast-scroll-top {
  display: none !important;
}

.h100x {
  background:
    radial-gradient(circle at 90% 8%, rgba(139, 173, 196, 0.2), transparent 35%),
    radial-gradient(circle at 8% 30%, rgba(191, 213, 228, 0.26), transparent 35%),
    #f2f6f8;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  padding-bottom: 4.7rem;
}

.h100x-header {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(242, 246, 248, 0.9);
  border-bottom: 1px solid rgba(34, 42, 49, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.h100x-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.78rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}

.h100x-brand {
  margin: 0;
  font-family: var(--font-en);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  color: #4a5966;
}

.h100x-nav {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  overflow-x: auto;
}

.h100x-nav a {
  flex: 0 0 auto;
  font-size: 0.74rem;
  padding: 0.32rem 0.58rem;
  color: #40515d;
  border: 1px solid rgba(64, 81, 93, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.h100x-fv {
  position: relative;
  min-height: min(88vh, 52rem);
  display: grid;
  align-items: end;
}

.h100x-fv__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 36, 48, 0.22), rgba(21, 36, 48, 0.68)),
    url(../images/portfolio-arch/arch-fv.jpg) center/cover no-repeat;
}

.h100x-fv__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
}

.h100x-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: #dbeaf4;
}

.h100x-fv h1 {
  margin: 0 0 0.75rem;
  line-height: 1.15;
  font-size: clamp(2rem, 6vw, 4.2rem);
}

.h100x-lead {
  margin: 0;
  max-width: 41rem;
  color: rgba(255, 255, 255, 0.92);
}

.h100x-fv__actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.h100x-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.h100x-btn--primary {
  background: linear-gradient(120deg, #2f4c62, #5f89a6);
  color: #fff;
  box-shadow: 0 10px 24px rgba(38, 63, 81, 0.28);
}

.h100x-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.h100x-fv__chips {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.h100x-fv__chips span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.34rem 0.62rem;
  font-size: 0.7rem;
  color: #e4edf3;
  border: 1px solid rgba(228, 237, 243, 0.35);
  background: rgba(32, 47, 59, 0.35);
}

.h100x-section {
  padding: clamp(2.3rem, 5vw, 4rem) 1.5rem;
}

.h100x-section--soft {
  background: linear-gradient(180deg, #eaf1f5 0%, #dde9f1 100%);
}

.h100x-section__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.h100x-label {
  margin: 0 0 0.45rem;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #557286;
}

.h100x-section h2 {
  margin: 0 0 0.75rem;
  line-height: 1.3;
  font-size: clamp(1.45rem, 3.2vw, 2.3rem);
  color: #223340;
}

.h100x-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  align-items: center;
}

.h100x-photo {
  margin: 0;
}

.h100x-photo img {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(34, 42, 49, 0.12);
}

.h100x-auto-slider {
  overflow: hidden;
  border-radius: 0.95rem;
  border: 1px solid rgba(34, 42, 49, 0.14);
  background: #f8fbfd;
}

.h100x-auto-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(86vw, 28rem);
  gap: 0.9rem;
  width: max-content;
  padding: 0.65rem;
  animation: h100xAutoSlide 34s linear infinite;
}

.h100x-auto-slider:hover .h100x-auto-track {
  animation-play-state: paused;
}

@keyframes h100xAutoSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc((-1 * (min(86vw, 28rem) + 0.9rem)) * 4));
  }
}

.h100x-slide {
  margin: 0;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #f9fcff;
  border: 1px solid rgba(34, 42, 49, 0.14);
}

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

.h100x-slide figcaption {
  padding: 0.7rem 0.85rem 0.8rem;
  font-size: 0.84rem;
  color: #415867;
}

.h100x-slider-note {
  margin: 0.75rem 0 0;
  font-size: 0.76rem;
  color: #647683;
}

.h100x-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0.85rem;
}

.h100x-card {
  border: 1px solid rgba(34, 42, 49, 0.14);
  border-radius: 0.85rem;
  padding: 1rem;
  background: #ffffff;
}

.h100x-card__id {
  margin: 0 0 0.35rem;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #5c7a8e;
}

.h100x-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: #223340;
}

.h100x-card p {
  margin: 0;
  color: #4a5f6e;
}

.h100x-list {
  margin: 0 0 1rem;
  color: #40535f;
}

.h100x-list li {
  margin-bottom: 0.45rem;
}

.h100x-note {
  margin: 0;
  color: #6b7d88;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .h100x-header__inner {
    grid-template-columns: 1fr;
  }

  .h100x-nav {
    justify-content: flex-start;
  }

  .h100x-split {
    grid-template-columns: 1fr;
  }

  .h100x-auto-track {
    animation-duration: 40s;
  }
}

@media (max-width: 640px) {
  .h100x-fv__actions {
    width: 100%;
  }

  .h100x-btn {
    flex: 1 1 auto;
    min-width: 11.5rem;
  }
}

/* Health diet long LP sample */
.dnlp {
  margin: 0;
  background: #f7f5f1;
  color: #2a2724;
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
}

.dnlp #ast-scroll-top {
  display: none !important;
}

.dnlp-alert {
  background: linear-gradient(90deg, #2e88c9, #35a6e3);
  color: #fff;
  font-size: 0.74rem;
}

.dnlp-alert .dnlp-wrap {
  min-height: 2.1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.dnlp-alert p {
  margin: 0;
}

.dnlp-alert a {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0.2rem 0.58rem;
  font-weight: 700;
}

.dnlp-wrap {
  width: min(72rem, 100% - 2rem);
  margin: 0 auto;
}

.dnlp-header {
  position: sticky;
  top: 0;
  z-index: 35;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(57, 49, 41, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dnlp-header .dnlp-wrap {
  min-height: 3.8rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
}

.dnlp-logo {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #5d2f2f;
}

.dnlp-nav {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.dnlp-nav a {
  font-size: 0.72rem;
  border: 1px solid rgba(111, 86, 75, 0.2);
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  color: #5e4941;
  background: rgba(255, 255, 255, 0.64);
}

.dnlp-mini-cta {
  position: relative;
  overflow: hidden;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 0.52rem 1rem;
  color: #fff;
  background: linear-gradient(135deg, #b8102b, #d93752 55%, #ea6b62);
  box-shadow: 0 10px 24px rgba(157, 16, 48, 0.35);
}

.dnlp-mini-cta::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.dnlp-mini-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 50%;
  height: 100%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: left 0.45s ease;
}

.dnlp-mini-cta:hover::after {
  left: 130%;
}

.dnlp-fv {
  position: relative;
  min-height: min(102vh, 62rem);
  display: grid;
  align-items: center;
}

.dnlp-fv__media,
.dnlp-fv__overlay {
  position: absolute;
  inset: 0;
}

.dnlp-fv__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dnlp-fv__overlay {
  background:
    linear-gradient(180deg, rgba(45, 19, 20, 0.15), rgba(40, 29, 27, 0.74)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.dnlp-fv__inner {
  position: relative;
  color: #fff;
  min-height: min(102vh, 62rem);
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: clamp(2rem, 6vw, 4rem);
}

.dnlp-fv__core {
  position: relative;
  z-index: 2;
  width: min(58rem, 100%);
}

.dnlp-fv__scribbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dnlp-fv__scribble {
  position: absolute;
  font-family: "Yomogi", "Yuji Syuku", cursive;
  color: #fff8bf;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  background: rgba(86, 26, 32, 0.4);
  border: 1px dashed rgba(255, 249, 217, 0.58);
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
}

.dnlp-fv__scribble--lt {
  top: 20%;
  left: 6%;
  transform: rotate(-8deg);
}

.dnlp-fv__scribble--rt {
  top: 18%;
  right: 8%;
  transform: rotate(7deg);
}

.dnlp-fv__scribble--lb {
  bottom: 22%;
  left: 10%;
  transform: rotate(-6deg);
}

.dnlp-fv__scribble--rb {
  bottom: 20%;
  right: 10%;
  transform: rotate(8deg);
}

.dnlp-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--font-en);
  font-size: 0.71rem;
  letter-spacing: 0.14em;
  color: #f0d7d7;
}

.dnlp-fv h1 {
  margin: 0;
  line-height: 1.22;
  font-size: clamp(1.7rem, 4.1vw, 3.3rem);
}

.dnlp-fv h1 span {
  color: #fff7f1;
}

.dnlp-fv h1 strong {
  color: #ffea7d;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.dnlp-lead {
  margin: 0.9rem 0 0;
  max-width: 44rem;
  color: rgba(244, 248, 246, 0.93);
}

.dnlp-copybox {
  margin-top: 1rem;
  max-width: 56rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.89);
  color: #302723;
  box-shadow: 0 16px 32px rgba(34, 21, 17, 0.22);
}

.dnlp-copybox p {
  margin: 0.35rem 0;
  line-height: 1.6;
}

.dnlp-copybox b {
  color: #a9132f;
}

.dnlp-copybox span {
  color: #8c1028;
  font-weight: 700;
}

.dnlp-copylines {
  margin: 0.9rem auto 0;
  padding: 0;
  list-style: none;
  max-width: 48rem;
}

.dnlp-copylines li {
  margin-bottom: 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: rgba(36, 22, 21, 0.58);
  color: #fff4ee;
  border: 1px solid rgba(255, 255, 255, 0.27);
  padding: 0.34rem 0.72rem;
  font-size: 0.83rem;
}

.dnlp-copylines em {
  font-style: normal;
  color: #ffe073;
  font-weight: 700;
}

.dnlp-actions {
  margin-top: 1.3rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

.dnlp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  font-weight: 700;
  font-size: 0.82rem;
}

.dnlp-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #b6112f, #d43753);
  box-shadow: 0 10px 24px rgba(144, 16, 45, 0.33);
}

.dnlp-btn--ghost {
  color: #fdf2ed;
  border: 1px solid rgba(253, 242, 237, 0.55);
  background: rgba(253, 242, 237, 0.14);
}

.dnlp-badges {
  margin: 1rem auto 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 42rem;
}

.dnlp-badges span {
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 238, 0.38);
  background: rgba(70, 33, 35, 0.38);
  padding: 0.3rem 0.58rem;
  font-size: 0.7rem;
}

.dnlp-section {
  padding: clamp(2.7rem, 6.2vw, 5rem) 0;
}

.dnlp-section--problem {
  background: #fff;
}

.dnlp-section--soft {
  background: linear-gradient(180deg, #ebf4ef 0%, #e3efe8 100%);
}

.dnlp-section--gallery {
  background: #fff;
}

.dnlp-label {
  margin: 0 0 0.4rem;
  color: #815342;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.dnlp-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.35;
  color: #2e2621;
}

.dnlp-section-lead {
  margin: 1rem 0 0;
  color: #5c453d;
}

.dnlp-problems {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.8rem;
}

.dnlp-problems article,
.dnlp-step,
.dnlp-voices article,
.dnlp-price {
  background: #fff;
  border: 1px solid rgba(90, 65, 54, 0.14);
  border-radius: 0.9rem;
  padding: 1rem;
}

.dnlp-problems h3,
.dnlp-step h3,
.dnlp-voices h3,
.dnlp-price h3 {
  margin: 0 0 0.45rem;
  font-size: 1.04rem;
  color: #4a2f28;
}

.dnlp-problems p,
.dnlp-step p,
.dnlp-voices p {
  margin: 0;
  color: #5d4a42;
}

.dnlp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.dnlp-step__no {
  margin: 0 0 0.35rem;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #8d5f4f;
}

.dnlp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.dnlp-photo {
  margin: 0;
}

.dnlp-photo img,
.dnlp-gallery img {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(43, 77, 66, 0.14);
  display: block;
}

.dnlp-list {
  margin: 0.75rem 0 0;
  color: #59463e;
}

.dnlp-list li {
  margin-bottom: 0.36rem;
}

.dnlp-voices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0.8rem;
}

.dnlp-voices__meta {
  margin: 0 0 0.38rem;
  color: #876458;
  font-size: 0.75rem;
}

.dnlp-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.dnlp-gallery figure {
  margin: 0;
}

.dnlp-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 0.8rem;
}

.dnlp-price__value {
  margin: 0 0 0.7rem;
  font-size: 1.55rem;
  color: #7e152f;
  font-weight: 800;
}

.dnlp-price__value span {
  margin-left: 0.35rem;
  font-size: 0.82rem;
  color: #7f6258;
  font-weight: 500;
}

.dnlp-price ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #5b4a42;
}

.dnlp-price--featured {
  border: 2px solid rgba(183, 26, 56, 0.4);
  box-shadow: 0 14px 34px rgba(144, 20, 48, 0.14);
}

.dnlp-price__tag {
  margin: 0 0 0.35rem;
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  color: #fff;
  background: #af1b39;
}

.dnlp-note {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: #775f55;
}

.dnlp-faq details {
  border: 1px solid rgba(84, 62, 53, 0.16);
  border-radius: 0.7rem;
  background: #fff;
  padding: 0.85rem 0.95rem;
}

.dnlp-faq details + details {
  margin-top: 0.65rem;
}

.dnlp-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #51372f;
}

.dnlp-faq p {
  margin: 0.55rem 0 0;
  color: #5f4e46;
}

.dnlp-timeline,
.dnlp-reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.8rem;
}

.dnlp-timeline article,
.dnlp-reasons article {
  background: #fff;
  border-radius: 0.85rem;
  border: 1px solid rgba(88, 63, 54, 0.14);
  padding: 1rem;
}

.dnlp-timeline h3,
.dnlp-reasons h3 {
  margin: 0 0 0.4rem;
  color: #6f1a32;
}

.dnlp-timeline p,
.dnlp-reasons p {
  margin: 0;
  color: #5a4a43;
}

.dnlp-cta {
  padding: clamp(2.3rem, 5vw, 3.8rem) 0;
  background: linear-gradient(120deg, #5d1428, #9a1e3a);
  color: #fff0f2;
  text-align: center;
}

.dnlp-cta h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.55rem, 3.4vw, 2.4rem);
}

.dnlp-cta p {
  margin: 0 0 1rem;
  color: rgba(255, 240, 242, 0.92);
}

.dnlp-footer {
  padding: 1.1rem 0;
  background: #311922;
  color: #e1bdc5;
  font-size: 0.78rem;
  text-align: center;
}

@media (max-width: 920px) {
  .dnlp-header .dnlp-wrap {
    grid-template-columns: 1fr;
    padding: 0.7rem 0;
  }

  .dnlp-nav {
    justify-content: flex-start;
  }

  .dnlp-split,
  .dnlp-gallery {
    grid-template-columns: 1fr;
  }

  .dnlp-alert .dnlp-wrap {
    grid-template-columns: 1fr;
    padding: 0.45rem 0;
  }

  .dnlp-fv__scribble {
    font-size: 0.82rem;
  }

  .dnlp-fv__scribble--lt {
    top: 14%;
    left: 3%;
  }

  .dnlp-fv__scribble--rt {
    top: 16%;
    right: 2%;
  }

  .dnlp-fv__scribble--lb {
    bottom: 18%;
    left: 2%;
  }

  .dnlp-fv__scribble--rb {
    bottom: 15%;
    right: 3%;
  }
}

@media (max-width: 640px) {
  .dnlp-actions {
    width: 100%;
  }

  .dnlp-btn {
    flex: 1 1 auto;
    min-width: 11.5rem;
  }

  .dnlp-fv__inner {
    padding-top: 4.4rem;
  }

  .dnlp-fv__scribble {
    display: none;
  }
}

/* uki-like EC onepage portfolio */
.ukec {
  margin: 0;
  background: #f8f6f2;
  color: #272b35;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

.ukec #ast-scroll-top {
  display: none !important;
}

.ukec-wrap {
  width: min(73rem, 100% - 2rem);
  margin: 0 auto;
}

.ukec-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 246, 242, 0.92);
  border-bottom: 1px solid rgba(39, 43, 53, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ukec-header__inner {
  min-height: 4rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
}

.ukec-logo {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: #23283a;
}

.ukec-nav {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.ukec-nav a {
  font-size: 0.72rem;
  color: #40485d;
  border: 1px solid rgba(64, 72, 93, 0.18);
  border-radius: 999px;
  padding: 0.26rem 0.58rem;
  background: rgba(255, 255, 255, 0.72);
}

.ukec-cart {
  border-radius: 999px;
  background: linear-gradient(135deg, #5d7abf, #7998df);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.44rem 0.8rem;
}

.ukec-hero {
  position: relative;
  min-height: min(88vh, 52rem);
  display: grid;
  align-items: end;
}

.ukec-hero__bg,
.ukec-hero__overlay {
  position: absolute;
  inset: 0;
}

.ukec-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ukec-hero__overlay {
  background: linear-gradient(180deg, rgba(40, 43, 56, 0.2), rgba(32, 36, 48, 0.76));
}

.ukec-hero__inner {
  position: relative;
  color: #f8f9ff;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.ukec-kicker {
  margin: 0 0 0.6rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.ukec-hero h1 {
  margin: 0 0 0.75rem;
  line-height: 1.15;
  font-size: clamp(2rem, 6vw, 4.4rem);
  font-family: "Outfit", sans-serif;
}

.ukec-hero p {
  margin: 0;
  max-width: 42rem;
  color: rgba(248, 249, 255, 0.94);
}

.ukec-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.ukec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.ukec-btn--primary {
  background: linear-gradient(135deg, #5774b8, #7392da);
  color: #fff;
  box-shadow: 0 10px 24px rgba(66, 90, 150, 0.26);
}

.ukec-btn--ghost {
  border: 1px solid rgba(248, 249, 255, 0.6);
  color: #f8f9ff;
  background: rgba(248, 249, 255, 0.14);
}

.ukec-intro {
  padding: 2rem 0;
  text-align: center;
  background: #fff;
}

.ukec-intro p {
  margin: 0.35rem 0;
  color: #4e566b;
}

.ukec-section {
  padding: clamp(2.3rem, 5vw, 4rem) 0;
}

.ukec-section--soft {
  background: linear-gradient(180deg, #eef2fb 0%, #e5ebf7 100%);
}

.ukec-title p {
  margin: 0 0 0.4rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: #5c6d95;
  text-transform: uppercase;
}

.ukec-title h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: #25304b;
}

.ukec-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
  gap: 0.9rem;
}

.ukec-product {
  background: #fff;
  border: 1px solid rgba(37, 48, 75, 0.14);
  border-radius: 1rem;
  overflow: hidden;
}

.ukec-product img {
  width: 100%;
  height: 13.5rem;
  object-fit: cover;
  display: block;
}

.ukec-product div {
  padding: 0.9rem;
}

.ukec-product__badge {
  margin: 0 0 0.35rem;
  display: inline-flex;
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
  font-size: 0.68rem;
  color: #fff;
  background: #7990d2;
}

.ukec-product h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: #2b3655;
}

.ukec-product__price {
  margin: 0;
  color: #576790;
  font-weight: 700;
}

.ukec-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.ukec-photo {
  margin: 0;
}

.ukec-photo img {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(37, 48, 75, 0.14);
}

.ukec-list {
  margin: 0 0 1rem;
  color: #3d4968;
}

.ukec-list li {
  margin-bottom: 0.5rem;
}

.ukec-link {
  color: #4d65a5;
  font-weight: 700;
}

.ukec-news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.8rem;
}

.ukec-news article {
  background: #fff;
  border: 1px solid rgba(37, 48, 75, 0.14);
  border-radius: 0.9rem;
  padding: 0.9rem;
}

.ukec-news time {
  font-size: 0.72rem;
  color: #6a78a0;
}

.ukec-news h3 {
  margin: 0.35rem 0 0;
  font-size: 0.98rem;
  color: #2b3655;
}

.ukec-card {
  background: #fff;
  border: 1px solid rgba(37, 48, 75, 0.14);
  border-radius: 0.9rem;
  padding: 1rem;
}

.ukec-card h3 {
  margin: 0 0 0.45rem;
  color: #273456;
}

.ukec-card p {
  margin: 0 0 0.45rem;
  color: #465476;
}

.ukec-contact {
  padding: clamp(2.4rem, 5vw, 4rem) 0;
  text-align: center;
  background: linear-gradient(120deg, #2f406f, #4b66ab);
  color: #f8faff;
}

.ukec-contact h2 {
  margin: 0 0 0.5rem;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.ukec-contact p {
  margin: 0 0 1rem;
  color: rgba(248, 250, 255, 0.9);
}

.ukec-note {
  margin-top: 0.9rem !important;
  font-size: 0.78rem;
  color: rgba(248, 250, 255, 0.75) !important;
}

.ukec-footer {
  padding: 1.2rem 0;
  background: #1e2741;
  color: #d6def8;
}

.ukec-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ukec-footer nav a {
  color: #dce4ff;
  font-size: 0.75rem;
}

.ukec-footer p {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.75rem;
}

@media (max-width: 920px) {
  .ukec-header__inner {
    grid-template-columns: 1fr;
    padding: 0.65rem 0;
  }

  .ukec-nav {
    justify-content: flex-start;
  }

  .ukec-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ukec-actions {
    width: 100%;
  }

  .ukec-btn {
    min-width: 11rem;
    flex: 1 1 auto;
  }
}

/* SNS security dashboard onepage */
.sndb {
  margin: 0;
  background: #070a12;
  color: #e8eefb;
  font-family: "Inter", "Noto Sans JP", sans-serif;
}

.sndb #ast-scroll-top {
  display: none !important;
}

.sndb-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 16rem 1fr;
  background:
    radial-gradient(circle at 85% 20%, rgba(43, 83, 184, 0.2), transparent 34%),
    #070a12;
}

.sndb-sidebar {
  border-right: 1px solid rgba(143, 166, 219, 0.2);
  background: rgba(9, 13, 23, 0.95);
  padding: 1rem 0.85rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
}

.sndb-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sndb-brand__mark {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.28rem;
  background: linear-gradient(135deg, #14a2f0, #48e2dc);
  box-shadow: 0 0 18px rgba(20, 162, 240, 0.5);
}

.sndb-brand h1 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.sndb-menu p {
  margin: 0.85rem 0 0.35rem;
  color: #7f91b4;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.sndb-menu a {
  display: block;
  color: #ccd6eb;
  font-size: 0.88rem;
  border-radius: 0.6rem;
  padding: 0.55rem 0.65rem;
}

.sndb-menu a.is-active,
.sndb-menu a:hover {
  background: linear-gradient(120deg, rgba(28, 92, 175, 0.36), rgba(20, 162, 240, 0.22));
  color: #fff;
}

.sndb-user {
  border: 1px solid rgba(143, 166, 219, 0.2);
  border-radius: 0.8rem;
  padding: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(20, 26, 43, 0.8);
}

.sndb-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2d64d7, #33c5e8);
}

.sndb-user strong {
  display: block;
  font-size: 0.86rem;
}

.sndb-user small {
  display: block;
  color: #96a9d0;
  font-size: 0.72rem;
}

.sndb-main {
  padding: 1rem;
}

.sndb-topbar {
  border: 1px solid rgba(143, 166, 219, 0.16);
  border-radius: 0.9rem;
  background: rgba(10, 15, 28, 0.82);
  min-height: 3.1rem;
  padding: 0.7rem 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sndb-topbar h2 {
  margin: 0;
  font-size: 1.1rem;
}

.sndb-topbar__meta {
  color: #98a9ca;
  font-size: 0.8rem;
}

.sndb-panel {
  border: 1px solid rgba(143, 166, 219, 0.18);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(15, 21, 36, 0.95), rgba(9, 14, 26, 0.95));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.sndb-heading {
  margin-top: 0.75rem;
  padding: 0.85rem 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sndb-label {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  color: #77a1eb;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sndb-heading h3 {
  margin: 0;
  font-size: 1.9rem;
}

.sndb-heading button {
  border: 1px solid rgba(123, 160, 232, 0.38);
  border-radius: 0.65rem;
  background: linear-gradient(135deg, rgba(31, 92, 186, 0.32), rgba(24, 151, 206, 0.34));
  color: #f0f6ff;
  padding: 0.48rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.sndb-kpis {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.sndb-kpis article {
  padding: 0.8rem 0.9rem;
}

.sndb-kpis p {
  margin: 0;
  color: #99aed3;
  font-size: 0.77rem;
}

.sndb-kpis strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.8rem;
}

.sndb-tabs {
  margin-top: 0.75rem;
  padding: 0.35rem;
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
}

.sndb-tabs a {
  flex: 0 0 auto;
  color: #b5c5e5;
  font-size: 0.78rem;
  border-radius: 0.5rem;
  padding: 0.35rem 0.58rem;
}

.sndb-tabs a.is-active {
  background: rgba(27, 164, 243, 0.24);
  color: #dff7ff;
}

.sndb-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.sndb-chart {
  padding: 0.9rem;
}

.sndb-chart h4 {
  margin: 0 0 0.85rem;
  font-size: 1.28rem;
}

.sndb-bars {
  height: 15rem;
  border: 1px solid rgba(143, 166, 219, 0.2);
  border-radius: 0.6rem;
  background:
    repeating-linear-gradient(
      to top,
      rgba(151, 171, 209, 0.11) 0,
      rgba(151, 171, 209, 0.11) 1px,
      transparent 1px,
      transparent 2rem
    ),
    #0e1527;
  display: grid;
  align-content: end;
  overflow: hidden;
}

.sndb-bars span {
  display: block;
}

.sndb-bars__critical {
  height: 2.1rem;
  background: #f14d5d;
}

.sndb-bars__warning {
  height: 6.7rem;
  background: #f4ad2f;
}

.sndb-bars__info {
  height: 1.2rem;
  background: #3c91ff;
}

.sndb-donut {
  width: min(16rem, 82%);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: conic-gradient(
    #3f92ff 0 44%,
    #1ec9a2 44% 67%,
    #f4ad2f 67% 89%,
    #e4576c 89% 100%
  );
  position: relative;
}

.sndb-donut::after {
  content: "";
  position: absolute;
  inset: 25%;
  border-radius: 999px;
  background: #0b1323;
  border: 1px solid rgba(143, 166, 219, 0.2);
}

.sndb-legend {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.6rem;
  font-size: 0.72rem;
  color: #b7c7e6;
}

.sndb-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.sndb-legend i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
}

.sndb-legend .c-critical,
.sndb-legend .c-red {
  background: #f14d5d;
}

.sndb-legend .c-warning,
.sndb-legend .c-yellow {
  background: #f4ad2f;
}

.sndb-legend .c-info,
.sndb-legend .c-blue {
  background: #3f92ff;
}

.sndb-legend .c-green {
  background: #1ec9a2;
}

.sndb-note {
  margin: 0.75rem 0 0;
  color: #8ca1ca;
  font-size: 0.75rem;
}

@media (max-width: 1040px) {
  .sndb-shell {
    grid-template-columns: 1fr;
  }

  .sndb-sidebar {
    grid-template-rows: auto;
  }

  .sndb-user {
    display: none;
  }

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

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

@media (max-width: 640px) {
  .sndb-heading h3 {
    font-size: 1.35rem;
  }

  .sndb-kpis {
    grid-template-columns: 1fr;
  }
}

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

  .hero__gradient,
  .hero__grid,
  .hero__aurora,
  .hero__orbits,
  .hero__scroll-bar,
  .service-panel__glow,
  .ticker__marquee {
    animation: none !important;
  }

  .hero__title .line-inner,
  .hero__eyebrow,
  .hero__lead,
  .hero__actions,
  .hero__metrics {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =====================================================
   Dark Redesign 2026 — 近未来ダーク基調 / WebGL / sticky分割
   （コーポレートページのみ。ポートフォリオデモには影響しない）
   ===================================================== */

/* Header: ダークの磨りガラス */
.site-header::before {
  background: rgba(6, 12, 24, 0.72);
}

.site-header.is-scrolled::before {
  background: rgba(6, 12, 24, 0.92);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

/* Sections 共通 */
.section {
  padding: 4.5rem 1.5rem;
}

.section--alt {
  background: rgba(255, 255, 255, 0.02);
}

.section__label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section__label::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, #2ea8ff, #5fd7ff);
}

.strength-card {
  background: var(--color-surface);
  border-color: rgba(148, 190, 235, 0.12);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.btn--primary {
  color: #04070f;
}

.btn--ghost {
  color: var(--color-text);
  border: 1px solid rgba(232, 241, 250, 0.28);
}

.btn--ghost:hover {
  border-color: #5fd7ff;
  color: #5fd7ff;
}

/* フォーム(ダーク用の文字色) */
.page-contact .wpcf7 ::placeholder {
  color: rgba(148, 167, 189, 0.65);
}

.page-contact .wpcf7 select {
  color: var(--color-text);
}

.page-contact .wpcf7 select option {
  color: #0d1b2b;
}

/* Hero タイトル: 1文字ずつのスプリットアニメーション */
.hero__title.is-split .line-inner {
  transform: none;
  animation: none;
}

.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.9em) rotate(5deg);
  animation: charIn 0.7s var(--ease-out) forwards;
  animation-delay: calc(0.3s + var(--ci) * 0.04s);
}

@keyframes charIn {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title .char {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* =========== TOP v2 (ダーク) =========== */

.hero--v2 {
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 72% 18%, rgba(11, 60, 120, 0.35), transparent 60%),
    var(--color-bg-deep);
  color: var(--color-text);
}

/* テキスト可読性のための左側シェード */
.hero--v2 .hero__gradient {
  background: linear-gradient(90deg, rgba(4, 7, 15, 0.8) 0%, rgba(4, 7, 15, 0.38) 45%, transparent 78%);
  inset: 0;
  animation: none;
}

.hero2-bgword {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(6rem, 19vw, 17rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(95, 215, 255, 0.04);
  -webkit-text-stroke: 1px rgba(95, 215, 255, 0.32);
  text-shadow: 0 0 48px rgba(46, 168, 255, 0.35);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  animation: bgwordDrift 10s ease-in-out infinite alternate;
}

@keyframes bgwordDrift {
  0% {
    transform: translate(-56%, -50%);
  }
  100% {
    transform: translate(-44%, -50%);
  }
}

.hero2-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) 1.5rem 4rem;
  width: 100%;
}

.hero2-eyebrow {
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #5fd7ff;
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.15s forwards;
}

.hero2-eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, #2ea8ff, #5fd7ff);
}

.hero2-title {
  font-size: clamp(2.6rem, 7.2vw, 5.4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin: 0 0 2rem;
  color: #f4f9ff;
}

.hero2-title em,
.hero2-title em .char {
  font-style: normal;
  background: linear-gradient(115deg, #5fd7ff 5%, #2ea8ff 50%, #19c9bd 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero2-lead {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 2.1;
  color: var(--color-muted);
  margin: 0 0 2.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.85s forwards;
}

.hero2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.05s forwards;
}

.hero--v2 .hero__scroll {
  color: rgba(232, 241, 250, 0.45);
}

.hero--v2 .hero__scroll-bar {
  background: linear-gradient(to bottom, #5fd7ff, transparent);
}

/* Marquee */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.015);
  padding: 1.1rem 0;
}

.marquee__inner {
  display: flex;
  width: max-content;
  animation: marqueeMove 28s linear infinite;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  white-space: nowrap;
}

.marquee__track span {
  font-family: var(--font-en);
  font-size: clamp(1.1rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 241, 250, 0.35);
}

.marquee__track i {
  font-style: normal;
  font-size: 0.5rem;
  color: #5fd7ff;
}

@keyframes marqueeMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pickup news */
.pickup {
  background: var(--color-bg);
  padding: 1.25rem 1.5rem;
}

.pickup__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pickup__label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #04070f;
  background: linear-gradient(135deg, #2ea8ff, #5fd7ff);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

.pickup__link {
  display: inline-flex;
  gap: 1rem;
  align-items: baseline;
  color: var(--color-text);
}

.pickup__link:hover span {
  color: #5fd7ff;
}

.pickup__link time {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* 共通: 大型セクション */
.section-xl {
  padding: clamp(5rem, 10vw, 8.5rem) 1.5rem;
}

.section-xl__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.label-en {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #5fd7ff;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.label-en::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, #2ea8ff, #5fd7ff);
}

.section-xl__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 2.5rem;
}

/* Sticky 分割レイアウト（左固定・右スクロール）
   ※ align-items を stretch(デフォルト)にしないと左カラムが行の高さまで
     伸びず、sticky の移動範囲がゼロになって固定されないので注意 */
.split {
  display: grid;
  grid-template-columns: minmax(16rem, 24rem) 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: var(--max);
  margin: 0 auto;
}

.split__sticky {
  position: sticky;
  top: calc(var(--header-h) + 2.5rem);
}

.split__desc {
  color: var(--color-muted);
  line-height: 2.1;
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .split__sticky {
    position: static;
  }
}

/* Concept */
.concept {
  background: rgba(255, 255, 255, 0.02);
}

.concept__title {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.concept__title em {
  font-style: normal;
  background: linear-gradient(115deg, #5fd7ff 5%, #2ea8ff 50%, #19c9bd 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.concept__body p {
  color: var(--color-muted);
  line-height: 2.2;
  margin: 0;
  font-size: 1rem;
}

.concept .strength2__col {
  margin-top: 3.5rem;
}

/* Strength(縦積みブロック) */
.strength2__col {
  border-top: 1px solid rgba(232, 241, 250, 0.18);
  padding-top: 1.5rem;
  position: relative;
}

.strength2__col::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, #2ea8ff, #5fd7ff);
}

.strength2__num {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 2.4rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(95, 215, 255, 0.55);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

.strength2__col h3 {
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.strength2__col p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 2;
}

/* Services: 番号付き大型リスト */
.services-xl {
  background: var(--color-bg);
}

.svc-rows {
  border-top: 1px solid rgba(148, 190, 235, 0.18);
}

.svc-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 3.25rem 1rem;
  border-bottom: 1px solid rgba(148, 190, 235, 0.18);
  color: var(--color-text);
  position: relative;
  overflow: hidden;
  transition: padding-left 0.4s var(--ease-out);
}

.svc-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(46, 168, 255, 0.09), rgba(95, 215, 255, 0.02));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.svc-row:hover::before {
  transform: scaleX(1);
}

.svc-row:hover {
  padding-left: 1.75rem;
}

.svc-row__num {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(95, 215, 255, 0.5);
  line-height: 1;
  position: relative;
}

.svc-row__body {
  position: relative;
  display: block;
}

.svc-row__en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5fd7ff;
  margin-bottom: 0.4rem;
}

.svc-row__title {
  display: block;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.svc-row__desc {
  display: block;
  font-size: 0.9rem;
  color: var(--color-muted);
  max-width: 40rem;
  line-height: 2;
}

.svc-row__arrow {
  position: relative;
  font-size: 1.4rem;
  color: #5fd7ff;
  transition: transform 0.35s var(--ease-out);
}

.svc-row:hover .svc-row__arrow {
  transform: translateX(0.5rem);
}

@media (max-width: 700px) {
  .svc-row {
    grid-template-columns: 3.2rem 1fr;
    gap: 1rem;
    padding: 2.25rem 0.5rem;
  }

  .svc-row__arrow {
    display: none;
  }
}

/* Works: 横スクロールショーケース */
.works {
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.works__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.works__head .section-xl__title {
  margin-bottom: 0;
}

.works__carousel {
  overflow: hidden;
  padding: 0.5rem 0 1.5rem;
}

.works__marquee {
  display: flex;
  width: max-content;
  animation: worksMove 45s linear infinite;
}

.works__carousel:hover .works__marquee {
  animation-play-state: paused;
}

.works__track {
  display: flex;
  gap: 1.5rem;
  padding-right: 1.5rem;
}

@keyframes worksMove {
  to {
    transform: translateX(-50%);
  }
}



.works__card {
  flex: 0 0 auto;
  width: min(74vw, 26rem);
  scroll-snap-align: start;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(148, 190, 235, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.3s ease;
  color: var(--color-text);
}

.works__card:hover {
  transform: translateY(-6px);
  border-color: rgba(95, 215, 255, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 24px rgba(46, 168, 255, 0.12);
}

.works__card img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.works__card img.works__img--contain {
  object-fit: contain;
  padding: 2.5rem;
  background: linear-gradient(145deg, #0a1322, #0c1526);
}

.works__card:hover img {
  transform: scale(1.04);
}

.works__meta {
  display: block;
  padding: 1.1rem 1.25rem 1.25rem;
}

.works__tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5fd7ff;
  border: 1px solid rgba(95, 215, 255, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.6rem;
}

.works__name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

/* News v2 */
.news2 {
  background: var(--color-bg);
}

.news-list a:hover {
  background: rgba(46, 168, 255, 0.06);
}

/* CTA v2 */
.cta2 {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(11, 90, 140, 0.4), transparent 65%),
    linear-gradient(135deg, #04070f 0%, #071b33 100%);
  color: #eaf4fb;
  padding: clamp(6rem, 12vw, 10rem) 1.5rem;
  overflow: hidden;
  border-top: 1px solid var(--color-line);
}

.cta2__inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

.cta2-bgword {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(5rem, 15vw, 13rem);
  line-height: 1;
  letter-spacing: 0.03em;
  color: rgba(95, 215, 255, 0.045);
  -webkit-text-stroke: 1px rgba(95, 215, 255, 0.34);
  text-shadow: 0 0 56px rgba(46, 168, 255, 0.4);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  animation: ctaWordDrift 12s ease-in-out infinite alternate;
}

@keyframes ctaWordDrift {
  0% {
    transform: translate(2rem, -50%);
  }
  100% {
    transform: translate(-4rem, -50%);
  }
}

.cta2__content {
  position: relative;
  z-index: 1;
}

.cta2__content h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0 0 1.25rem;
}

.cta2__content p {
  opacity: 0.8;
  line-height: 2.1;
  margin: 0 0 2.5rem;
}

.btn--lg {
  padding: 1.15rem 2.4rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .hero2-bgword {
    font-size: clamp(4.4rem, 21vw, 8rem);
  }
}

/* Works carousel: ドラッグ操作 */
.works__carousel {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.works__carousel.is-dragging {
  cursor: grabbing;
}

.works__carousel.is-dragging .works__card {
  transition: none;
}

.works__card img {
  pointer-events: none;
  -webkit-user-drag: none;
}

/* =====================================================
   Intro — 初回アクセス時のオープニング演出
   ===================================================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro__panel {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: linear-gradient(180deg, #04070f, #060d1c);
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1);
}

.intro__panel--top {
  top: 0;
}

.intro__panel--bottom {
  bottom: 0;
  background: linear-gradient(0deg, #04070f, #060d1c);
}

.intro__center {
  position: relative;
  z-index: 1;
  text-align: center;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.intro__word {
  margin: 0 0 1.1rem;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(2.4rem, 8vw, 5rem);
  letter-spacing: 0.18em;
  line-height: 1;
}

.intro__word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em);
  background: linear-gradient(115deg, #5fd7ff 5%, #2ea8ff 50%, #19c9bd 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(46, 168, 255, 0.55));
  animation: introChar 0.55s var(--ease-out) forwards;
  animation-delay: calc(0.2s + var(--ii) * 0.07s);
}

@keyframes introChar {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro__line {
  display: block;
  height: 1px;
  width: min(22rem, 60vw);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, #5fd7ff, transparent);
  transform: scaleX(0);
  animation: introLine 0.6s var(--ease-out) 0.95s forwards;
}

@keyframes introLine {
  to {
    transform: scaleX(1);
  }
}

.intro__sub {
  margin: 1.1rem 0 0;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  color: rgba(148, 190, 235, 0.75);
  opacity: 0;
  animation: introChar 0.6s var(--ease-out) 1.25s forwards;
}

/* 開き */
.intro.is-done {
  pointer-events: none;
}

.intro.is-done .intro__panel--top {
  transform: translateY(-101%);
}

.intro.is-done .intro__panel--bottom {
  transform: translateY(101%);
}

.intro.is-done .intro__center {
  opacity: 0;
  transform: scale(0.96);
}

/* 演出中はスクロール禁止 + ヒーローの登場アニメを待機させる */
body.is-intro {
  overflow: hidden;
}

body.is-intro .hero__title .char,
body.is-intro .hero2-eyebrow,
body.is-intro .hero2-lead,
body.is-intro .hero2-actions {
  animation-play-state: paused;
}

/* =====================================================
   ボタン強化 — 大型リンクボタン / 立体ボタン / CTAグロー
   ===================================================== */

/* 「私について」用: 円形矢印付きの大型ピルボタン */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 0.7rem 0.7rem 0.7rem 1.6rem;
  border: 1px solid rgba(95, 215, 255, 0.4);
  border-radius: 999px;
  background: rgba(46, 168, 255, 0.06);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out);
}

.link-cta__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ea8ff, #5fd7ff);
  color: #04070f;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow:
    0 4px 14px rgba(46, 168, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.3s var(--ease-out);
}

.link-cta:hover {
  border-color: #5fd7ff;
  background: rgba(46, 168, 255, 0.14);
  box-shadow: 0 0 28px rgba(46, 168, 255, 0.25);
  transform: translateY(-2px);
}

.link-cta:hover .link-cta__arrow {
  transform: translateX(0.35rem);
}

/* 立体ボタン: 光沢 + 多層シャドウ + 押し込み */
.btn--primary {
  background: linear-gradient(180deg, #5fd7ff 0%, #2ea8ff 48%, #0b82e6 100%);
  color: #04070f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  box-shadow:
    0 10px 26px rgba(11, 130, 230, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(4, 20, 50, 0.35);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 36px rgba(11, 130, 230, 0.55),
    0 0 32px rgba(46, 168, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(4, 20, 50, 0.35);
}

.btn--primary:active {
  transform: translateY(-1px);
  box-shadow:
    0 6px 16px rgba(11, 130, 230, 0.4),
    inset 0 2px 4px rgba(4, 20, 50, 0.35);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 241, 250, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--ghost:hover {
  transform: translateY(-3px);
  background: rgba(95, 215, 255, 0.1);
  border-color: #5fd7ff;
  color: #5fd7ff;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.4),
    0 0 26px rgba(46, 168, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* FV のボタンを大型化 */
.hero2-actions .btn {
  padding: 1.15rem 2.5rem;
  font-size: 1rem;
  border-radius: 999px;
}

/* CTA「お問い合わせへ」: さらに大きく + 脈打つグロー */
.cta2 .btn--lg {
  padding: 1.35rem 3.2rem;
  font-size: 1.1rem;
  animation: ctaPulse 2.8s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow:
      0 10px 26px rgba(11, 130, 230, 0.45),
      0 0 0 rgba(46, 168, 255, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      inset 0 -2px 0 rgba(4, 20, 50, 0.35);
  }
  50% {
    box-shadow:
      0 10px 26px rgba(11, 130, 230, 0.5),
      0 0 42px rgba(46, 168, 255, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      inset 0 -2px 0 rgba(4, 20, 50, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta2 .btn--lg {
    animation: none;
  }
}

/* 静的フォーム用: ハニーポット非表示 + 応答メッセージ */
.cf-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wpcf7-response-output {
  display: none;
  margin-top: 1.25rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(148, 190, 235, 0.3);
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

/* =====================================================
   モバイル調整 — 改行制御 / ボタン横並び / フッター2カラム
   ===================================================== */

/* 文節単位でのみ折り返す（変な位置での改行を防ぐ） */
.hero2-lead span,
.cta2__content p span {
  display: inline-block;
}

/* PC専用の改行 */
@media (max-width: 900px) {
  .br-pc {
    display: none;
  }

  /* Concept見出し: スマホは「企業の未来に貢献します。」を1行に */
  .concept__title {
    font-size: clamp(1.5rem, 5.8vw, 2.2rem);
  }
}

@media (max-width: 700px) {
  /* FVのボタンを左右並びに */
  .hero2-actions {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .hero2-actions .btn {
    flex: 1;
    padding: 1rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  /* CTAのボタンを中央寄せに */
  .cta2 .btn--lg {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  /* フッターメニューを2カラムに */
  .site-footer__cols {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem 1.5rem;
  }
}

/* =====================================================
   レイアウト調整 — FV上部寄せ / モバイル余白圧縮 / フッター改行
   ===================================================== */

/* FV: コンテンツを画面上部に配置し、下部に SCROLL の居場所を確保 */
.hero--v2 {
  align-items: flex-start;
}

.hero2-inner {
  padding: calc(var(--header-h) + clamp(2.5rem, 9vh, 6rem)) 1.5rem 8rem;
}

@media (max-width: 700px) {
  .hero2-inner {
    padding: calc(var(--header-h) + 1.25rem) 1.25rem 6.5rem;
  }

  .hero2-eyebrow {
    margin-bottom: 1rem;
  }

  .hero2-title {
    margin-bottom: 1.5rem;
  }

  .hero2-lead {
    margin-bottom: 1.75rem;
  }
}

/* モバイル: セクション間の余白を圧縮 */
@media (max-width: 700px) {
  .section-xl {
    padding: 3.25rem 1.25rem;
  }

  .section {
    padding: 3rem 1.25rem;
  }

  .section-xl__title {
    margin-bottom: 1.75rem;
  }

  .concept .strength2__col {
    margin-top: 2.25rem;
  }

  .works__head {
    margin-bottom: 1.5rem;
  }

  .cta2 {
    padding: 4.5rem 1.25rem;
  }
}

/* フッター: 語の途中で改行させない */
.site-footer a {
  word-break: keep-all;
}

@media (max-width: 700px) {
  /* 長いリンクを含む「お問い合わせ」列は全幅にして改行を防ぐ */
  .site-footer__col:nth-child(3) {
    grid-column: 1 / -1;
  }
}

/* フッター: X（旧Twitter）リンク */
.footer-x {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  border: 1px solid rgba(148, 190, 235, 0.28);
  border-radius: 999px;
  color: rgba(234, 244, 251, 0.85);
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-out);
}

.footer-x svg {
  display: block;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  padding: 0.35rem;
  width: 1.9rem;
  height: 1.9rem;
  box-sizing: border-box;
}

.footer-x:hover {
  color: #5fd7ff;
  border-color: #5fd7ff;
  box-shadow: 0 0 20px rgba(46, 168, 255, 0.25);
  transform: translateY(-2px);
}

/* =====================================================
   フッターSNS列 / 下層ページのデザイン強化
   ===================================================== */

/* フッター: SNS列を加えて4カラムに */
.site-footer__cols {
  grid-template-columns: repeat(4, 1fr);
}

.footer-x {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0;
  padding: 0.45rem 0.9rem 0.45rem 0.55rem;
  border: 1px solid rgba(148, 190, 235, 0.28);
  border-radius: 999px;
  color: rgba(234, 244, 251, 0.85);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.footer-x svg {
  padding: 0.4rem;
  width: 1.8rem;
  height: 1.8rem;
}

/* 下層ページ: ページヒーローを近未来仕様に */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 3.5rem) 1.5rem 3.75rem;
  background:
    radial-gradient(ellipse 70% 70% at 82% 0%, rgba(11, 60, 120, 0.5), transparent 62%),
    radial-gradient(ellipse 45% 45% at 8% 100%, rgba(15, 176, 166, 0.14), transparent 60%),
    var(--color-bg-deep);
  border-bottom: none;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 190, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 190, 235, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 85% 100% at 50% 0%, black 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 100% at 50% 0%, black 25%, transparent 78%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, #2ea8ff 40%, #5fd7ff 60%, transparent 95%);
  opacity: 0.65;
}

.page-hero__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero__label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #5fd7ff;
}

.page-hero__label::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, #2ea8ff, #5fd7ff);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.3;
  margin: 0.75rem 0 1rem;
  color: #f4f9ff;
}

.page-hero__inner > p:last-child {
  color: var(--color-muted);
  max-width: 40rem;
  margin: 0;
  line-height: 2;
}

/* 下層ページ: 本文エリアにサイドグローと見出し装飾 */
.page-content {
  position: relative;
}

.page-content::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 28% at 104% 12%, rgba(11, 90, 160, 0.16), transparent 60%),
    radial-gradient(ellipse 42% 28% at -4% 68%, rgba(15, 176, 166, 0.1), transparent 60%);
}

.page-content h2 {
  position: relative;
  padding-left: 1rem;
}

.page-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #2ea8ff, #19c9bd);
}

/* 定義リスト（会社概要・特商法など）をカード的に */
.definition-list > div {
  transition: background 0.25s ease;
}

.definition-list > div:hover {
  background: rgba(46, 168, 255, 0.05);
}

@media (max-width: 700px) {
  .page-hero {
    padding: calc(var(--header-h) + 2.25rem) 1.25rem 2.75rem;
  }
}

/* ページタイトル: 語の途中で改行させない（文節スパン + モバイル文字サイズ調整） */
.page-hero h1 span {
  display: inline-block;
}

@media (max-width: 700px) {
  .page-hero h1 {
    font-size: clamp(1.4rem, 6.4vw, 1.9rem);
  }
}

/* About写真: PCはセクション縦幅いっぱい / スマホは現行サイズで中央寄せ */
.about-profile {
  align-items: stretch;
  grid-template-columns: auto 1fr;
}

.about-profile__media {
  height: 100%;
  display: flex;
}

.about-profile__photo {
  height: 100%;
  width: auto;
  max-width: min(26rem, 38vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 640px) {
  .about-profile {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .about-profile__media {
    height: auto;
    justify-content: center;
  }

  .about-profile__photo {
    height: auto;
    width: 100%;
    max-width: 14rem;
  }
}

/* =====================================================
   Portfolio: Inquiry OS 詳細ページ
   ===================================================== */
.ios {
  max-width: var(--max);
  margin: 0 auto;
}

.ios h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.45;
  margin: 0 0 1.5rem;
}

.ios-kicker {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #5fd7ff;
  margin: 0 0 0.6rem;
}

.ios-block {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

.ios-lead {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.ios-lead__text p {
  color: var(--color-muted);
  line-height: 2.05;
}

.ios-lead__visual {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(95, 215, 255, 0.25);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(46, 168, 255, 0.15);
}

.ios-lead__visual img {
  display: block;
  width: 100%;
}

.ios-tags,
.ios-stack {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ios-tags li,
.ios-stack li {
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(95, 215, 255, 0.35);
  color: #9fe4ff;
  background: rgba(46, 168, 255, 0.07);
}

.ios-stack li {
  font-size: 0.9rem;
  padding: 0.55rem 1.2rem;
}

.ios-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.ios-card {
  background: var(--color-surface);
  border: 1px solid rgba(148, 190, 235, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.ios-card__num {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 1px rgba(95, 215, 255, 0.6);
}

.ios-card p {
  margin: 0.5rem 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.9;
}

/* Flow */
.ios-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: flow;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.ios-flow li {
  counter-increment: flow;
  position: relative;
  padding: 1.4rem 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(46, 168, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(95, 215, 255, 0.2);
}

.ios-flow li::before {
  content: "STEP " counter(flow, decimal-leading-zero);
  display: block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: #5fd7ff;
  margin-bottom: 0.6rem;
}

.ios-flow strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.ios-flow span {
  display: block;
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.8;
}

/* 画面モック */
.ios-mock {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(95, 215, 255, 0.25);
  background: #0a1628;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 44px rgba(46, 168, 255, 0.12);
}

.ios-mock__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  background: #0d1d33;
  border-bottom: 1px solid rgba(148, 190, 235, 0.14);
}

.ios-mock__bar i {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #ff6b6b;
}

.ios-mock__bar i:nth-child(2) { background: #ffd166; }
.ios-mock__bar i:nth-child(3) { background: #19c9bd; }

.ios-mock__bar span {
  margin-left: 0.75rem;
  font-size: 0.78rem;
  color: var(--color-muted);
}

.ios-mock__body {
  display: grid;
  grid-template-columns: 1fr 17rem;
  gap: 1.5rem;
  padding: 1.5rem;
}

.ios-mock__subject {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.ios-mock__from {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin: 0.3rem 0 1.2rem;
}

.ios-mock__label {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: #5fd7ff;
  margin: 0 0 0.4rem;
}

.ios-mock__next {
  padding: 1rem 1.1rem;
  border-radius: 0.6rem;
  background: rgba(46, 168, 255, 0.08);
  border: 1px solid rgba(95, 215, 255, 0.3);
}

.ios-mock__next > p:nth-child(2) {
  margin: 0 0 0.8rem;
  font-weight: 700;
}

.ios-mock__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ios-mock__btns span {
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 241, 250, 0.3);
}

.ios-mock__btns .is-primary {
  background: linear-gradient(135deg, #2ea8ff, #5fd7ff);
  color: #04070f;
  border-color: transparent;
  font-weight: 700;
}

.ios-mock__tabs {
  display: flex;
  gap: 1.25rem;
  margin: 1.3rem 0 0;
  border-bottom: 1px solid rgba(148, 190, 235, 0.16);
}

.ios-mock__tabs span {
  font-size: 0.82rem;
  padding: 0.5rem 0;
  color: var(--color-muted);
}

.ios-mock__tabs .is-active {
  color: #5fd7ff;
  border-bottom: 2px solid #5fd7ff;
}

.ios-mock__draft {
  padding: 1rem 0 0;
  font-size: 0.85rem;
  line-height: 1.9;
}

.ios-mock__draft p {
  margin: 0 0 0.75rem;
}

.ios-mock__ask {
  font-size: 0.8rem;
  color: #ffd166;
}

.ios-mock__side {
  padding: 1.1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 190, 235, 0.12);
}

.ios-mock__score {
  text-align: center;
}

.ios-gauge {
  --v: 0;
  width: 7.5rem;
  height: 7.5rem;
  margin: 0.4rem auto 0.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(closest-side, #0c1829 78%, transparent 79%),
    conic-gradient(#5fd7ff calc(var(--v) * 1%), rgba(148, 190, 235, 0.15) 0);
}

.ios-gauge span {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 600;
}

.ios-level {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  margin: 0 0 1rem;
}

.ios-level--hot {
  background: #ff5d73;
  color: #fff;
}

.ios-bars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.ios-bars li {
  display: grid;
  grid-template-columns: 6.5rem 1fr 2.6rem;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--color-muted);
}

.ios-bars b {
  display: block;
  height: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #2ea8ff var(--w), rgba(148, 190, 235, 0.15) var(--w));
}

.ios-bars em {
  font-style: normal;
  text-align: right;
  color: var(--color-text);
}

.ios-note {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-top: 0.9rem;
}

/* Features / Points */
.ios-features,
.ios-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.ios-feature,
.ios-points > div {
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--color-surface);
  border: 1px solid rgba(148, 190, 235, 0.12);
  position: relative;
  overflow: hidden;
}

.ios-feature::before,
.ios-points > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #2ea8ff, #19c9bd);
}

.ios h3 {
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
}

.ios-feature p,
.ios-points p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.95;
}

.ios .page-content h2::before,
.ios h2::before {
  display: none;
}

.ios h2 {
  padding-left: 0;
}

.ios-back {
  margin-top: 4rem;
  text-align: center;
}

@media (max-width: 960px) {
  .ios-flow {
    grid-template-columns: 1fr 1fr;
  }

  .ios-mock__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .ios-lead,
  .ios-cards,
  .ios-features,
  .ios-points,
  .ios-flow {
    grid-template-columns: 1fr;
  }

  .ios-mock__body {
    padding: 1rem;
  }
}



/* Inquiry OS: 実際の画面 */
.ios-shots {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.ios-shot {
  margin: 0;
}

.ios-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(95, 215, 255, 0.25);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 36px rgba(46, 168, 255, 0.12);
  background: #fff;
}

.ios-shot figcaption {
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--color-muted);
}

.ios-shot figcaption strong {
  display: block;
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

@media (max-width: 860px) {
  .ios-shots {
    grid-template-columns: 1fr;
  }
}

/* スクリーンショット系サムネイル: 画面の上端（タイトル・スコア部分）を見せる */
.portfolio-card__thumb img.thumb-top,
.works__card img.thumb-top {
  object-position: left top;
}
