* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Arial,
    "Helvetica Neue",
    sans-serif;

  background: #fff;
  color: #111;
}


/* =========================
   HEADER
========================= */

.header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 90px;

  padding: 0 4vw;

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

  z-index: 100;
  transition: transform 0.4s ease;
}
.header.is-hidden {
  transform: translateY(-100%);
}

.logo {
  display: block;
  width: 110px;
  text-decoration: none;
  transform: translateX(-20px);
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: #111;
  font-size: 13px;

  text-decoration: none;
}


/* =========================
   FIRST VIEW
========================= */

.fv {
  position: relative;

  width: 100%;
  min-height: 100svh;

  padding: 120px 4vw 60px;

  display: flex;
  align-items: center;

  overflow: hidden;
}

.fv__content {
  width: 100%;
}

.fv__label {
  margin-bottom: 20px;

  font-size: 12px;
  letter-spacing: 0.15em;
}

.fv__title {
  font-size: clamp(90px, 18vw, 320px);

  line-height: 0.8;
  letter-spacing: -0.08em;
}

.fv__copy {
  margin-top: 40px;

  font-size: clamp(22px, 3vw, 48px);
}

.fv__scroll {
  position: absolute;

  right: 4vw;
  bottom: 40px;

  font-size: 11px;

  writing-mode: vertical-rl;
}


/* =========================
   WORKS
========================= */

.works {
  padding: 120px 0;
}

.section-heading {
  padding: 0 4vw;
  margin-bottom: 50px;
}

.section-heading p {
  margin-bottom: 10px;

  font-size: 12px;
  letter-spacing: 0.15em;
}

.section-heading h2 {
  font-size: clamp(40px, 6vw, 90px);
}

.works__scroll {
  display: flex;

  gap: 24px;

  padding: 0 4vw 30px;

  overflow-x: auto;

  scroll-snap-type: x proximity;
}

.work-card {
  flex: 0 0 min(65vw, 850px);

  scroll-snap-align: start;
}

.work-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;

  background: #ddd;
}

.work-card__category {
  margin-top: 18px;

  font-size: 11px;
  letter-spacing: 0.15em;
}

.work-card h3 {
  margin-top: 8px;

  font-size: clamp(24px, 3vw, 42px);
}


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

@media (max-width: 768px) {

  .header {
    height: 70px;
  }

  .nav {
    display: none;
  }

  .fv {
    padding-top: 100px;
  }

  .fv__title {
    font-size: 24vw;
  }

  .work-card {
    flex-basis: 82vw;
  }

}
/* =========================
   ABOUT
========================= */

.about {
  padding: 180px 4vw;
}

.about__inner {
  max-width: 1100px;
}

.about__lead {
  margin-bottom: 50px;

font-size: clamp(28px, 4vw, 56px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.about__text {
  max-width: 700px;

  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 2;
}


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

.service {
  padding: 180px 4vw;
}

.service__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  min-height: 480px;

  padding: 40px;

  border-top: 1px solid #111;

  display: flex;
  flex-direction: column;
}

.service-card__number {
  margin-bottom: auto;

  font-size: 12px;
}

.service-card h3 {
  margin-bottom: 24px;

  font-size: clamp(46px, 6vw, 90px);
  letter-spacing: -0.05em;
}

.service-card p {
  max-width: 500px;

  font-size: 16px;
  line-height: 1.8;
}


/* =========================
   DOCUMENT
========================= */

.document {
  padding: 180px 4vw;

  background: #fff;
  color: #111;
}

.document__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.document__label {
  margin-bottom: 40px;

  font-size: 12px;
  letter-spacing: 0.15em;
}

.document h2 {
  margin-bottom: 40px;

  font-size: clamp(50px, 8vw, 120px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.document__text {
  margin-bottom: 50px;

  font-size: 16px;
  line-height: 1.8;
}

.document__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 240px;
  height: 70px;

  padding: 0 30px;

 border: 1px solid #111;
color: #111;
  text-decoration: none;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.document__button:hover {
  background: #111;
  color: #fff;
}


/* =========================
   FOOTER
========================= */

.footer {
  padding: 80px 4vw 40px;

  background: #111;
  color: #fff;

  border-top: 1px solid #333;
}

.footer__logo {
  width: 140px;
  margin-bottom: 70px;
}

.footer__logo img {
  width: 100%;
  height: auto;

  filter: invert(1);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;

  gap: 20px 32px;

  margin-bottom: 80px;
}

.footer__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

.footer__copy {
  font-size: 11px;
  opacity: 0.6;
}


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

@media (max-width: 768px) {

  .about {
    padding: 120px 4vw;
  }

  .service {
    padding: 120px 4vw;
  }

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

  .service-card {
    min-height: 360px;
  }

  .document {
    padding: 120px 4vw;
  }

  .footer {
    padding-top: 60px;
  }

}
/* =========================
   ALTERNATE LAYOUT
========================= */

.section-left .section-heading,
.section-left .about__inner,
.section-left .document__inner {
  width: min(78%, 1200px);
  margin-right: auto;
  margin-left: 0;
}

.section-right .section-heading,
.section-right .service__grid {
  width: min(78%, 1200px);
  margin-left: auto;
  margin-right: 0;
}


/* SERVICEは右側へ寄せる */

.section-right .section-heading {
  text-align: right;
}

.section-right .service__grid {
  text-align: left;
}


/* DOCUMENTは左側を強調 */

.section-left.document .document__inner {
  margin-left: 0;
  margin-right: auto;
}


/* MOBILEでは普通に全幅 */

@media (max-width: 768px) {

  .section-left .section-heading,
  .section-left .about__inner,
  .section-left .document__inner,
  .section-right .section-heading,
  .section-right .service__grid {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .section-right .section-heading {
    text-align: left;
  }

}
/* =========================
   REVEAL ANIMATION
========================= */

.reveal {
  opacity: 0;
  transform: translateY(50px);

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

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


/* FVだけ時間差で表示 */

.fv__label.reveal {
  transition-delay: 0.1s;
}

.fv__title.reveal {
  transition-delay: 0.25s;
}

.fv__copy.reveal {
  transition-delay: 0.45s;
}


/* SCROLL文字 */

.fv__scroll {
  animation: scrollMove 1.8s ease-in-out infinite;
}

@keyframes scrollMove {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}
/* =========================
   ABOUT VISUAL
========================= */

.about__lead {
  margin-bottom: 60px;
}

.about__visual {
  width: 100%;
  aspect-ratio: 16 / 7;

  background: #d9d9d9;

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

  margin-bottom: 50px;
  overflow: hidden;
}

.about__visual span {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #777;
}

.about__text {
  max-width: 650px;
  margin-left: auto;
}
/* SERVICE：画像・見出し・説明文 */
.service .service__grid {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: 0;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.service .service-card {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
}

.service-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ddd;
}

.service-card__body {
  padding-top: 24px;
}

.service .service-card h3 {
  margin-bottom: 18px;
  font-size: clamp(20px, 2.5vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.service .service-card p {
  max-width: none;
  font-size: 15px;
  line-height: 2;
}

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

  .service .service-card h3 {
    font-size: clamp(24px, 7vw, 36px);
  }

  .service-card__body {
    padding-top: 20px;
  }
}
/* DOCUMENT：画像 → 説明 → 資料請求ボタン */
.document h2.document__label {
  margin-bottom: 32px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.15em;
}

.document__image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 32px;
  background: #eee;
}

.document .document__text {
  max-width: 650px;
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 2;
}

.document .document__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  min-width: 260px;
  max-width: 100%;
  min-height: 70px;
  height: auto;
  padding: 20px 28px;

  border: 1px solid #111;
  color: #111;
  text-decoration: none;

  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.document .document__button:hover {
  background: #111;
  color: #fff;
}

.document .document__button:focus-visible {
  outline: 2px solid #111;
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .document__image {
    margin-bottom: 24px;
  }

  .document .document__text {
    font-size: 15px;
  }

  .document .document__button {
    width: 100%;
    min-width: 0;
  }
}
/* 横から登場する要素が画面外にはみ出すのを防ぐ */
body {
  overflow-x: clip;
}

/* ABOUT・DOCUMENT：左から登場 */
.section-left .reveal {
  transform: translateX(-70px);
}

/* SERVICE：右から登場 */
.section-right .reveal {
  transform: translateX(70px);
}

/* 画面に入ったら元の位置へ */
.section-left .reveal.is-visible,
.section-right .reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* SERVICEのカードは順番に登場 */
.service-card.reveal:nth-child(2) {
  transition-delay: 0.12s;
}

.service-card.reveal:nth-child(3) {
  transition-delay: 0.24s;
}

/* スマホでは移動距離を控えめに */
@media (max-width: 768px) {
  .section-left .reveal {
    transform: translateX(-30px);
  }

  .section-right .reveal {
    transform: translateX(30px);
  }

  .section-left .reveal.is-visible,
  .section-right .reveal.is-visible {
    transform: translateX(0);
  }
}

/* 動きを減らす設定への対応 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .section-left .reveal,
  .section-right .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* パソコンではメニューボタンを非表示 */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .header {
    background: #fff;
  }

  .header .logo {
    transform: none;
  }

  /* 黒い2本線 */
  .menu-toggle {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    color: #111;
    cursor: pointer;
  }

  .menu-toggle span {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s ease;
  }

  .menu-toggle span:first-child {
    top: 17px;
  }

  .menu-toggle span:last-child {
    top: 25px;
  }

  /* 開くと「×」になる */
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  /* ヘッダーの下にメニューを表示 */
  .header .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100svh - 70px);
    overflow-y: auto;

    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 20px 6vw 32px;
    background: #fff;
    border-bottom: 1px solid #eee;

    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);

    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s;
  }

  .header.is-menu-open .nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header .nav a {
    display: block;
    padding: 18px 0;
    font-size: 20px;
    letter-spacing: 0.05em;
  }

  /* メニューを開いている間はヘッダーを表示 */
  .header.is-menu-open {
    transform: translateY(0);
  }

  .menu-toggle:focus-visible,
  .header .nav a:focus-visible {
    outline: 2px solid #111;
    outline-offset: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle span,
  .header .nav {
    transition: none;
  }
}
/* 背景に薄い方眼 */
body {
  background-color: #fff;
  background-image:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.045) 1px,
      transparent 1px
    );
  background-size: 48px 48px;
}

/* DOCUMENTにも背景の方眼を見せる */
.document {
  background: transparent;
}

/* スマホはマス目を少し小さく */
@media (max-width: 768px) {
  body {
    background-size: 32px 32px;
  }
}
/* カーソル周辺に色を重ねる */
body {
  position: relative;
  isolation: isolate;
}

/* 方眼の線だけを赤くし、カーソル周辺に表示 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  /* 元の方眼と同じ間隔の赤い線 */
  background-image:
    linear-gradient(
      to right,
      rgba(255, 48, 48, 0.5) 1px,
      transparent 1px
    ),
    linear-gradient(
      to bottom,
      rgba(255, 48, 48, 0.5) 1px,
      transparent 1px
    );
  background-size: 48px 48px;

  /* カーソル付近だけ見せる */
  -webkit-mask-image: radial-gradient(
    circle 180px at var(--cursor-x, 50%) var(--cursor-y, 50%),
    #000 0%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle 180px at var(--cursor-x, 50%) var(--cursor-y, 50%),
    #000 0%,
    transparent 100%
  );

  opacity: 0;
  transition: opacity 0.4s ease;
}

/* 通常の方眼と赤い方眼の位置をそろえる */
body {
  background-attachment: fixed;
  background-position: 0 0;
}

@media (max-width: 768px) {
  body::before {
    background-size: 32px 32px;
  }
}
/* カーソルがあるときに赤い線を表示 */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor-glow::before {
    opacity: 1;
  }
}

/* 動きを減らす設定の場合は演出を非表示 */
@media (prefers-reduced-motion: reduce) {
  body::before {
    display: none;
  }
}
/* ABOUTの説明文を画像の左端にそろえる */
.about__text {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}
.document .document__label {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.15em;
}

.document h2.document__title {
  margin-bottom: 50px;
  font-size: clamp(40px, 6vw, 90px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
}
/* フッターメニューに白い下線 */
.footer__nav a {
  text-decoration-line: underline;
  text-decoration-color: #fff;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
/* 会社概要ページ */
.company-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 180px 6vw 120px;
}

.company-heading {
  margin-bottom: 64px;
}

.company-heading p {
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.15em;
}

.company-heading h1 {
  font-size: clamp(40px, 6vw, 90px);
  line-height: 1.2;
}

.company-info {
  border-top: 1px solid #ccc;
}

.company-info > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid #ccc;
  font-size: 16px;
  line-height: 1.9;
}

.company-info dt {
  font-weight: 700;
}

.company-info dd {
  overflow-wrap: anywhere;
}

.company-back {
  display: inline-block;
  margin-top: 48px;
  padding: 12px 0;
  color: #111;
  text-underline-offset: 6px;
}

@media (max-width: 768px) {
  .company-page {
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .company-heading {
    margin-bottom: 40px;
  }

  .company-info > div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
    font-size: 15px;
  }
}
/* 資料請求・お問い合わせ */
.contact-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 180px 6vw 120px;
}

.contact-heading {
  margin-bottom: 36px;
}

.contact-heading > p {
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.15em;
}

.contact-heading h1 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.4;
}

.contact-lead {
  margin-bottom: 64px;
  font-size: 16px;
  line-height: 2;
}

.contact-form {
  border-top: 1px solid #ccc;
}

.form-field {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid #ccc;
}

.form-field > label {
  padding-top: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.form-required,
.form-optional {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 400;
  vertical-align: middle;
}

.form-required {
  color: #c62828;
}

.form-optional {
  color: #666;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #aaa;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.form-field textarea {
  resize: vertical;
  min-height: 160px;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible,
.form-consent input:focus-visible,
.contact-submit:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 36px;
  font-size: 14px;
  line-height: 2;
  cursor: pointer;
}

.form-consent input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  accent-color: #111;
}

.form-consent a {
  color: #111;
  text-underline-offset: 4px;
}

.form-actions {
  margin-top: 36px;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-width: 260px;
  padding: 22px 28px;

  border: 1px solid #111;
  background: #111;
  color: #fff;
  font: inherit;
  cursor: pointer;

  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.contact-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (hover: hover) {
  .contact-submit:not(:disabled):hover {
    background: #fff;
    color: #111;
  }
}

.form-status {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}

@media (max-width: 768px) {
  .contact-page {
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .contact-lead {
    margin-bottom: 40px;
  }

  .form-field {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .form-field > label {
    padding-top: 0;
  }

  .contact-submit {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-submit {
    transition: none;
  }
}
/* 開閉なしのフッターメニュー */
.footer-direct {
  min-height: 66px;
  font-size: 16px;
  font-weight: 700;
}

.footer-direct span {
  flex-shrink: 0;
  font-size: 20px;
}

@media (max-width: 768px) {
  .footer-direct {
    font-size: 15px;
  }
}
/* フッター：縦並び・開閉なし */
.footer {
  padding: 30px 4vw;
  background: #1a1a23;
  color: #fff;
  border: none;
  border-radius: 10px 10px 0 0;
}

.footer .footer-menu {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.footer .footer-direct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  width: 100%;
  min-height: 66px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);

  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
}

.footer .footer-direct span {
  flex-shrink: 0;
  font-size: 20px;
}

.footer .footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 40px;
}

.footer .footer__logo {
  display: block;
  flex: 0 0 110px;
  width: 110px;
  margin: 0;
}

.footer .footer__logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: invert(1);
}

.footer .footer__copy {
  margin: 0;
  font-size: 11px;
  opacity: 0.6;
}

.footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (hover: hover) {
  .footer .footer-direct:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 24px 5vw;
  }

  .footer .footer-direct {
    font-size: 15px;
  }
}
/* フッターの色変化 */
.footer .footer-direct,
.footer .footer-direct span {
  transition: color 0.25s ease;
}

@media (hover: hover) {
  .footer .footer-direct:hover {
    color: #aaa;
    text-decoration: none;
  }

  .footer .footer-direct:hover span {
    color: #ff3030;
  }
}

/* キーボード操作でも同じ色に */
.footer .footer-direct:focus-visible {
  color: #aaa;
  text-decoration: none;
}

.footer .footer-direct:focus-visible span {
  color: #ff3030;
}

@media (prefers-reduced-motion: reduce) {
  .footer .footer-direct,
  .footer .footer-direct span {
    transition: none;
  }
}
/* プライバシーポリシー */
.privacy-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 180px 6vw 120px;
}

.privacy-heading {
  margin-bottom: 40px;
}

.privacy-heading > p {
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.15em;
}

.privacy-heading h1 {
  font-size: clamp(28px, 4.5vw, 60px);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.privacy-intro {
  margin-bottom: 48px;
  font-size: 16px;
  line-height: 2;
}

.privacy-content > section {
  padding: 32px 0;
  border-top: 1px solid #ccc;
}

.privacy-content h2 {
  margin-bottom: 16px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.6;
}

.privacy-content p {
  font-size: 16px;
  line-height: 2;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .privacy-page {
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .privacy-content p,
  .privacy-intro {
    font-size: 15px;
  }
}
/* スマホメニューのリンク色 */
@media (max-width: 768px) {
  .header .nav a {
    transition: color 0.25s ease;
  }

  .header .nav a:hover,
  .header .nav a:focus-visible,
  .header .nav a:active {
    color: #ff3030;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header .nav a {
    transition: none;
  }
}
/* 自動スクロール中はスナップを解除 */
.works__scroll.is-auto-scrolling {
  scroll-snap-type: none;
  scroll-behavior: auto;
}
/* ヘッダーに白い帯 */
.header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}
/* FANDOM：文字が順番に跳ねて登場 */
.fandom-entry span {
  display: inline-block;
  transform-origin: center bottom;

  animation: fandom-enter 0.85s both;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.fandom-entry span:nth-child(1) { animation-delay: 0.10s; }
.fandom-entry span:nth-child(2) { animation-delay: 0.18s; }
.fandom-entry span:nth-child(3) { animation-delay: 0.26s; }
.fandom-entry span:nth-child(4) { animation-delay: 0.34s; }
.fandom-entry span:nth-child(5) { animation-delay: 0.42s; }
.fandom-entry span:nth-child(6) { animation-delay: 0.50s; }

@keyframes fandom-enter {
  0% {
    opacity: 0;
    color: #ff3030;
    transform: translateY(0.7em) rotate(8deg) scale(0.85);
  }

  60% {
    opacity: 1;
    transform: translateY(-0.06em) rotate(-2deg) scale(1.02);
  }

  80% {
    color: #ff3030;
    transform: translateY(0.02em) rotate(0deg) scale(0.99);
  }

  100% {
    opacity: 1;
    color: #111;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fandom-entry span {
    animation: none;
  }
}
.about__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* FANDOMを必ず1行で表示 */
.fv__title {
  white-space: nowrap;
}

/* スマホでは画面幅に合わせて縮小 */
@media (max-width: 768px) {
  .fv__title {
    font-size: 19vw;
  }
}
.work-card__image {
  overflow: hidden;
}

.work-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 実績カードを小さめに */
.works .work-card {
  flex: 0 0 min(40vw, 520px);
}

/* スマホでは次のカードも少し見せる */
@media (max-width: 768px) {
  .works .work-card {
    flex-basis: 72vw;
  }
}
/* フッターの矢印を、絵文字ではなく線で表示 */
.footer-direct > span[aria-hidden="true"] {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  font-size: 0;
  color: #fff;
  transition: color 0.25s ease;
}

/* 斜めの線 */
.footer-direct > span[aria-hidden="true"]::before {
  content: "";
  position: absolute;
  width: 19px;
  height: 2px;
  left: 1px;
  top: 11px;
  background: currentColor;
  transform: rotate(-45deg);
}

/* 矢印の先端 */
.footer-direct > span[aria-hidden="true"]::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 3px;
  right: 3px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.footer-direct:hover > span[aria-hidden="true"],
.footer-direct:focus-visible > span[aria-hidden="true"],
.footer-direct:active > span[aria-hidden="true"] {
  color: #ff3030;
}