@charset "UTF-8";

/* =========================
   Base
========================= */
:root {
  --color-bg: #ffffff;
  --color-text: #050505;
  --color-muted: #c0c0c0;
  --color-reflection: rgba(192, 192, 192, 0.2);
  --color-footer: rgba(192, 192, 192, 0.2);
  --content-width: 1120px;
  --about-content-width: 520px;
  --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;
  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-inner--about {
  max-width: var(--about-content-width);
}

/* =========================
   Header
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 24px 20px;
}

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

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

.header-nav a:hover,
.header-nav a[aria-current="page"] {
  color: #8d8d8d;
}

/* =========================
   About
========================= */
.about {
  padding-top: 126px;
  padding-bottom: 92px;
}

.section-title {
  position: relative;
  width: fit-content;
  margin-inline: auto;
  font-size: clamp(36px, 10vw, 50px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-title::after {
  content: attr(data-reflection);
  position: absolute;
  top: 76%;
  left: 0;
  color: var(--color-reflection);
  transform: scaleY(-1);
  transform-origin: center;
  pointer-events: none;
}

/* 後で画像に差し替える部分 */
.profile-image {
  width: min(100%, 190px);
  aspect-ratio: 1.65 / 1;
  margin-top: 58px;
  margin-inline: auto;
  overflow: hidden;
  background: #202b3d;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-message {
  display: grid;
  gap: 34px;
  margin-top: 82px;
  font-size: 12px;
  font-weight: 600;
  line-height: 2.05;
  letter-spacing: 0.02em;
}

.about-message strong {
  font-weight: 900;
}

.profile-list {
  display: grid;
  gap: 8px;
  margin-top: 56px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.75;
}

.profile-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
}

.profile-row--service {
  align-items: start;
}

.profile-person {
  margin-top: 58px;
  padding-left: 8px;
}

.profile-name {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.profile-name-ja {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.profile-name-en {
  color: #666;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.profile-instagram {
  display: inline-block;
  margin-top: 24px;
  margin-left: 62px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* =========================
   Logo / Footer
========================= */
.site-logo {
  --logo-arai-size: 24px;
  --logo-works-size: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  margin-inline: auto;
  line-height: 1;
}

.site-logo-main,
.site-logo-reflection {
  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: 3px;
  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%;
  color: var(--color-reflection);
  transform: translateX(-50%) scaleY(-1);
  transform-origin: center;
  pointer-events: none;
}

.footer {
  padding: 62px 20px 54px;
  background: var(--color-footer);
  text-align: center;
}
.footer-copy {
  margin-top: 48px;
  color: #777;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);

  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
}
.fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}


.header-nav a {
  display: inline-block;

  opacity: 0;
  transform: translateY(-20px);

  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(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =========================
   Tablet / Desktop
========================= */
@media (min-width: 768px) {
  :root {
    --side-padding: 40px;
    --about-content-width: 680px;
  }

  .header {
    padding: 30px 48px;
  }

  .header-nav {
    gap: 34px;
  }

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

  .about {
    padding-top: 160px;
    padding-bottom: 130px;
  }

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

  .profile-image {
    width: min(100%, 320px);
    margin-top: 72px;
  }

  .about-message {
    gap: 42px;
    margin-top: 110px;
    font-size: 15px;
    line-height: 2.1;
  }

  .profile-list {
    margin-top: 72px;
    font-size: 15px;
  }

  .profile-row {
    grid-template-columns: 150px 1fr;
  }

  .profile-person {
    margin-top: 76px;
  }

  .profile-name-ja {
    font-size: 24px;
  }

  .profile-name-en,
  .profile-instagram {
    font-size: 13px;
  }

  .profile-instagram {
    margin-left: 92px;
  }

  .site-logo--footer {
    --logo-arai-size: 32px;
    --logo-works-size: 20px;
  }

  .footer {
    padding: 82px 40px 72px;
  }
}
