@charset "UTF-8";

/* =========================
   Base
========================= */
:root {
  --color-bg: #faf9f6;
  --color-text: #050505;
  --color-muted: #c9c9c9;
  --color-reflection: #dedede;
  --color-accent: #1697ff;
  --content-width: 1120px;
  --side-padding: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--color-text);
  background-color: #F3F7F9;
  font-family: "Inter", sans-serif;
  font-feature-settings: "palt";
}

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

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

.section {
  padding-inline: var(--side-padding);
}

.section-inner {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.section-title {
  position: relative;
  width: fit-content;
  margin-inline: auto;

  font-size: clamp(32px, 9vw, 48px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-title::after {
  content: attr(data-reflection);
  position: absolute;
  top: 78%;
  left: 0;

  color: rgba(192, 192, 192, 0.2);

  transform: scaleY(-1);
  transform-origin: center;

  pointer-events: none;
}
/* 画面上では非表示、読み上げには残す */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* =========================
   Site Logo
========================= */
.site-logo {
  --logo-arai-size: 52px;
  --logo-works-size: 34px;
  --logo-reflection-color: rgba(192, 192, 192, 0.2);

  position: relative;

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

  width: fit-content;
  margin-inline: auto;
  line-height: 1;
}

.site-logo-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-logo-arai {
  font-size: var(--logo-arai-size);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.08em;
}

.site-logo-works {
  margin-top: 4px;
  font-size: var(--logo-works-size);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.08em;
}

.site-logo-reflection {
  position: absolute;
  top: 88%;
  left: 50%;

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

  color: var(--logo-reflection-color);

  transform: translateX(-50%) scaleY(-1);
  transform-origin: center;

  pointer-events: none;
  user-select: none;
}
/* FV用サイズ */
.site-logo--hero {
  --logo-arai-size: clamp(28px, 11vw, 60px);
  --logo-works-size: clamp(18px, 7vw, 42px);
}
/* フッター用サイズ */
.site-logo--footer {
  --logo-arai-size: 20px;
  --logo-works-size: 13px;
}

/* =========================
   Header
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;

  width: 100%;
  padding: 28px 22px;
}
.hero {
  position: fixed;
  inset: 0;
  z-index: 0;

  display: grid;
  place-items: center;

  width: 100%;
  height: 100svh;

  pointer-events: none;
}

.hero.is-stopped {
  position: absolute;
  bottom: auto;
}

.header-nav {
  display: flex;
  justify-content: flex-end;
  gap: 27px;
}

.header-nav a {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.25s ease;
}

.header-nav a:hover {
  color: var(--color-text);
}
.header-nav a {
  display: inline-block;
  opacity: 0;
  transform: translateY(-25px);

  animation: nav-slide-down 0.8s ease forwards;
}

/* price */
.header-nav a:nth-child(1) {
  animation-delay: 0.2s;
}

/* about */
.header-nav a:nth-child(2) {
  animation-delay: 0.4s;
}

/* contact */
.header-nav a:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes nav-slide-down {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================
   Hero
========================= */
/* 固定FV */
.hero {
  position: fixed;
  inset: 0;
  z-index: 0;

  display: grid;
  place-items: center;
  min-height: 100svh;
  padding-inline: var(--side-padding);

  pointer-events: none;
}

/* FV分の高さを確保 */
.hero-space {
  height: 100svh;
}

/* Heroより前面 */
.main-content {
  position: relative;
  z-index: 2;
}

/* Heroのロゴと各セクション内容の間に入れる靄 */
.main-content::before {
  content: "";
  position: absolute;
  inset: 100svh 0 0;
  z-index: 0;

   background-color: rgba(243, 247, 249, 0.9);

  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);

  pointer-events: none;
}

/* セクション内容を靄より上にする */
.main-content > section {
  position: relative;
  z-index: 1;
}
.hero-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.hero-logo-main,
.hero-logo-reflection {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-arai {
  font-size: clamp(52px, 14vw, 72px);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-logo-works {
  margin-top: 2px;
  font-size: clamp(36px, 9vw, 50px);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.hero-logo-reflection {
  margin-top: -2px;
  color: var(--color-reflection);
  opacity: 0.88;
  transform: scaleY(-1);
  -webkit-mask-image: linear-gradient(to bottom, transparent 3%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 3%, #000 100%);
}

.hero-logo-reflection .hero-logo-arai {
  margin-top: -4px;
}

.service-text,
.photography-text,
.works-lead {
  width: fit-content;
  margin-inline: auto;
  padding: 8px 12px;
  background-color: rgba(243, 247, 249, 0.55);
}

/* =========================
   Shared title reflection
========================= */
.reflection-title {
  position: relative;
  z-index: 0;
  width: fit-content;
  font-size: clamp(29px, 8vw, 46px);
  font-weight: 900;
  line-height: 1;
}

.reflection-title::after {
  content: attr(data-reflection);
  position: absolute;
  top: 76%;
  left: 0;
  z-index: -1;
  color: var(--color-reflection);
  opacity: 0.7;
  transform: scaleY(-1);
  transform-origin: center;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000);
  mask-image: linear-gradient(to bottom, transparent, #000);
}

/* =========================
   Service
========================= */
.service {
  padding-top: 34px;
  padding-bottom: 0;
}

.service .section-title {
  margin-inline: auto;
}
.service-flow {
  margin-top: 68px;
}

.service-step {
  max-width: 390px;
  margin-inline: auto;
  text-align: center;
}

.service-number {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.service-number span {
  color: var(--color-reflection);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.service-step h3 {
  margin-top: -2px;
  font-size: 21px;
  font-weight: 800;
}

.service-text {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 2.05;
}

.flow-arrow {
  position: relative;
  width: 4px;
  height: 58px;
  margin: 24px auto 28px;
  background: var(--color-text);
  border-radius: 2px;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 18px;
  height: 18px;
  border-right: 4px solid var(--color-text);
  border-bottom: 4px solid var(--color-text);
  transform: translateX(-50%) rotate(45deg);
}

.photography {
  margin-top: 108px;
  padding-bottom: 65px;
}

.photography .section-title {
  margin-inline: auto;
  font-size: clamp(36px, 7.5vw, 44px);
}

.photography-text {
  margin-top: 70px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 2.05;
}

/* =========================
   Works
========================= */
.works {
  padding-top: 80px;
  padding-bottom: 95px;
}

.section-inner--works {
  max-width: 650px;
}

.works-title {
  text-align: center;
  font-size: 31px;
  font-weight: 900;
}

.works-lead {
  margin-top: 33px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 2.1;
}

.works-list {
  display: grid;
  gap: 150px;
  margin-top: 80px;
}

.work-card {
  width: min(100%, 380px);
  margin-inline: auto;
}

.work-image-link {
  display: block;
}

.work-image-link img {
  width: 100%;
  aspect-ratio: 1.7 / 1;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.work-image-link:hover img {
  transform: translateY(-4px);
}

.work-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 8px;
}

.work-meta h3 {
  grid-column: 2;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.work-meta a {
  grid-column: 3;
  justify-self: end;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;

  transform: translateY(40px);
}

/* =========================
   Footer
========================= */
.footer {
  padding: 72px 20px 28px;
  background-color: rgba(192, 192, 192, 0.2);
  text-align: center;
  margin-top: 100px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin-inline: auto;
  line-height: 1;
}

.footer-logo-main,
.footer-logo-reflection {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo-arai {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.footer-logo-works {
  margin-top: 2px;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.08em;
}


.footer-copy {
  margin-top: 48px;
  color: #777;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.reveal-wrap {
  overflow: hidden;
}

.reveal-up {
  opacity: 0;
  transform: translateY(100%);
  animation: reveal-up 1s ease forwards;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.flow-arrow {
  position: relative;
  width: 4px;
  height: 58px;
  margin: 24px auto 28px;

  background: transparent;
}

/* 棒 */
.flow-arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 4px;
  height: 100%;

  background: var(--color-text);
  border-radius: 2px;

  transform: scaleY(0);
  transform-origin: top;
}

/* 矢印の先端 */
.flow-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;

  width: 18px;
  height: 18px;

  border-right: 4px solid var(--color-text);
  border-bottom: 4px solid var(--color-text);

  opacity: 0;
  transform: translateX(-50%) translateY(-10px) rotate(45deg);
}

/* 表示されたとき */
.flow-arrow.is-show::before {
  animation: arrow-line-down 0.8s ease forwards;
}

.flow-arrow.is-show::after {
  animation: arrow-head-down 0.35s ease 0.65s forwards;
}
.flow-arrow.is-show::before {
  animation: arrow-line-down 0.8s ease forwards;
}

.flow-arrow.is-show::after {
  animation: arrow-head-down 0.35s ease 0.65s forwards;
}

.flow-arrow.is-show::before {
  animation:
    arrow-line-down 0.8s ease
    var(--arrow-delay, 0s)
    forwards;
}

.flow-arrow.is-show::after {
  animation:
    arrow-head-down 0.35s ease
    calc(var(--arrow-delay, 0s) + 0.65s)
    forwards;
}

@keyframes arrow-line-down {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes arrow-head-down {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) rotate(45deg);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) rotate(45deg);
  }
}

.work-view {
  display: inline-block;
  overflow: hidden;
}

.work-view-inner {
  display: inline-block;
}


/* =========================
   Scroll Animation
========================= */

/* 共通の初期状態 */
.fade-up,
.fade-down,
.slide-in-left {
  opacity: 0;
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}

/* 下から上 */
.fade-up {
  transform: translateY(40px);
}

/* 上から下 */
.fade-down {
  transform: translateY(-40px);
}

/* 左から右 */
.slide-in-left {
  transform: translateX(-60px);
}

/* 表示後 */
.fade-up.is-show,
.fade-down.is-show,
.slide-in-left.is-show {
  opacity: 1;
  transform: translate(0);
}

/* 0.4秒刻み */
.delay-1 {
  transition-delay: 0.4s;
}

.delay-2 {
  transition-delay: 0.8s;
}

.delay-3 {
  transition-delay: 1.2s;
}
/* =========================
   Tablet / Desktop
========================= */
@media (min-width: 768px) {
  :root {
    --side-padding: 40px;
  }

  .header {
    padding: 38px 48px;
  }

  .header-nav {
    gap: 40px;
  }

  .header-nav a {
    font-size: 15px;
  }

  .hero-logo-arai {
    font-size: 88px;
  }

  .hero-logo-works {
    font-size: 58px;
  }

    .service-flow {
    display: block;
    margin-top: 100px;
  }

  .service-step {
    width: min(100%, 500px);
    margin-inline: auto;
  }

  .flow-arrow {
    width: 4px;
    height: 70px;
    margin: 32px auto;
  }

  .flow-arrow::after {
    top: auto;
    right: auto;
    bottom: -1px;
    left: 50%;

    transform: translateX(-50%) rotate(45deg);
  }

  .photography {
    margin-top: 150px;
  }

  .photography-text {
    margin-top: 72px;
    font-size: 13px;
  }

  .works-list {
    grid-template-columns: 1fr;
    gap: 200px;
  }

  .work-card {
    width: min(100%, 650px);
    margin-inline: auto;
  }

   .site-logo--hero {
    --logo-arai-size: 88px;
    --logo-works-size: 58px;
  }

  .site-logo--footer {
    --logo-arai-size: 54px;
    --logo-works-size: 35px;
  }

  .section-title {
    font-size: 52px;
  }

  .service-number {
    font-size: 30px;
  }

  .service-number span {
    font-size: 22px;
  }

  .service-step h3 {
    font-size: 26px;
  }

  .service-text {
    font-size: 20px;
  }
   .service-number {
    font-size: 32px;
  }

  .service-number span {
    font-size: 24px;
  }

  .service-step-title {
    margin-top: 4px;
    font-size: 28px;
  }

  .photography-text {
    font-size: 20px;
  }

  .works-lead {
    font-size: 13px;
  }

  .work-meta h3 {
    font-size: 20px;
  }

  .work-meta a {
    font-size: 15px;
  }

  .footer {
     padding: 144px 40px 56px;
  }

  .footer-copy {
    font-size: 12px;
    margin-top: 96px;
  }
}
