/* ============================================
   CSS Variables / Design Tokens
   ============================================ */
:root {
  --color-bg: #ffffff;
  --color-white: #ffffff;
  --color-text: #272727;
  --color-text-light: #272727;
  --color-text-muted: #999999;
  --color-accent: #272727;
  --color-accent-hover: #272727;
  --color-border: #e8e6e3;
  --color-card-bg: #f5f4f1;

  --font-main:
    "Poppins", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    sans-serif;

  --max-width: 1200px;
  --header-height: 66px;
  --section-padding: 100px;
  --section-padding-sm: 60px;

  --transition: 0.3s ease;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* ============================================
   Loading Animation
   ============================================ */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  color: var(--color-text);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-logo {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
  opacity: 0;
  animation: fadeInLogo 1.5s ease-in-out forwards;
}

.loader-text {
  margin-top: 16px;
  font-family: var(--font-en, "Poppins", sans-serif);
  font-size: 14px;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeInText 1s ease-in-out 0.8s forwards;
}

.loader-text .dot {
  animation: loadingDots 1.5s infinite;
  opacity: 0;
}
.loader-text .dot:nth-child(1) {
  animation-delay: 0.8s;
}
.loader-text .dot:nth-child(2) {
  animation-delay: 1s;
}
.loader-text .dot:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes fadeInLogo {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInText {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes loadingDots {
  0%,
  20% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

body.is-loading {
  overflow: hidden;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
}

/* ============================================
   Common Container Style
   (Header, Hero, Works, Project Showcase, About, Contact, Service)
   ============================================ */
.hero-inner,
.works-block--grid,
.works-block-inner,
.works-block-more,
.about-inner,
.contact-inner,
.service-inner {
  max-width: none;
  margin: 0 120px;
  padding: 0;
}

/* Base Styles */
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 120px;
}

.logo {
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -3%;
}

.nav-list {
  display: flex;
  gap: 36px;
}

.nav-list a {
  font-family: "Zen Kaku Gothic New";
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 3%;
  color: var(--color-text);
  display: inline-block;
  transition:
    color var(--transition),
    transform 0.3s ease;
  position: relative;
}

.nav-list a .paren {
  display: inline-block;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  vertical-align: bottom;
}

.nav-list a:hover {
  transform: scale(1.06);
}

.nav-list a:hover .paren {
  opacity: 1;
  visibility: visible;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 34px;
  padding: 10px 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-white);
  background: var(--color-accent);
  border-radius: 50px;
  letter-spacing: 0.03em;
  transition:
    var(--transition),
    transform var(--transition);
}

.btn-contact:hover {
  background: transparent;
  color: var(--color-accent);
  box-shadow: inset 0 0 0 1px var(--color-accent);
}

.nav-mobile-contact {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text);
  transition: var(--transition);
}

.hamburger span:nth-child(2) {
  display: none;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 3px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  margin-top: var(--header-height);
  width: 100%;
  overflow: hidden;
}

.hero-inner {
  padding-top: 60px;
}

.hero-content {
  width: fit-content;
  margin: 0 auto;
}

.hero-catchcopy {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 10px;
}

.hero-image {
  width: 1080px;
  max-width: 100%;
  height: 540px;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
}

.hero-scroll {
  position: absolute;
  right: -62px;
  bottom: 0;
  writing-mode: vertical-rl;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
  animation: scrollFloat 4.5s ease-in-out infinite;
}

@keyframes scrollFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-100px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ============================================
   Showcase Slider (Auto-Scroll)
   ============================================ */
.slider {
  padding: var(--section-padding) 0 40px;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
}

.slider-sidebar {
  position: absolute;
  top: 0;
  width: 80px;
  height: 250px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.slider-sidebar:first-child {
  left: 0;
}

.slider-sidebar:last-child {
  right: 80px;
  left: auto;
}

.slider-badge {
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}

.slider-content {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 90px;
  animation: slider-scroll 25s linear infinite;
  width: max-content;
}

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

@keyframes slider-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 15px));
  }
}

.slider-card {
  flex-shrink: 0;
  width: 250px;
  cursor: pointer;
  transition: transform var(--transition);
  position: relative;
}

.slider-card:hover {
  transform: translateY(-2px);
}

.card-img {
  width: 250px;
  height: 250px;
  overflow: hidden;
  border-radius: 4px;
}

.card-img img {
  width: 250px;
  height: 250px;
  max-width: none;
  object-fit: cover;
  display: block;
}

.card-number {
  display: block;
  font-size: 32px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -0.02em;
  position: absolute;
  bottom: 40px;
  left: -15px;
}

.card-info {
  padding: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.card-client {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.card-type {
  font-size: 12px;
  font-weight: 500;
  color: #787574;
  letter-spacing: 0ch;
}

/* ============================================
   しごとのこと
   ============================================ */
.service {
  padding: 150px 0 var(--section-padding);
}

.service-inner {
  max-width: 1000px;
  min-height: 570px;
  background-color: #fafafa;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  /* padding overrides */
  padding: 60px 120px;
}

.point-badge {
  display: inline-block;
  background: #ede253;
  padding: 5px 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 30px;
  align-self: flex-start;
  color: #fff;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 80px 0;
  list-style: none;
  padding: 0;
}

.service-item {
  width: 320px;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.service-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #272727;
  color: #fff;
  border-radius: 50%;
  font-family: "Futura", sans-serif;
  font-size: 16px;
  font-weight: 500;
  flex-shrink: 0;
}

.service-item-title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.service-content {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
  letter-spacing: 0.02em;
  letter-spacing: 0.02em;
  padding-left: 0;
  text-align: justify;
  text-justify: inter-ideograph;
}

.service-main-title {
  position: absolute;
  top: -30px;
  left: -25px;
  writing-mode: vertical-rl;
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
}

/* ============================================
   Section Title
   ============================================ */
/* ============================================
   Section Title
   ============================================ */
.section-title {
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 50px;
  margin-left: 120px;
}

.section-title-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: #272727;
  padding: 6px 12px;
  margin-left: 12px;
  vertical-align: middle;
  letter-spacing: 0.04em;
}
.section-title-badge2 {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: #ede253;
  padding: 12px 5px;
  margin-left: 12px;
  vertical-align: middle;
  letter-spacing: 0.04em;
}

/* ============================================
   Works Block (shared)
   ============================================ */
.works {
  padding: 80px 0;
}

.works-block-link {
  display: block;
  transition: transform var(--transition);
}

.works-block-link:hover {
  transform: translateY(-4px);
}

.works-block-img {
  overflow: hidden;
}

.works-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-item-info {
  padding: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.work-item-client {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.work-item-type {
  font-size: 12px;
  font-weight: 500;
  color: #787574;
}

.works-block-side {
  flex: 0 0 auto;
  overflow: hidden;
}

.works-block-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.works-block-more {
  margin-top: 60px;
  text-align: right;
}

/* --- work-1: grid layout --- */
.works-block--grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.work-card-1 .works-block-img {
  width: 365px;
  height: 270px;
}

.work-card-2 .works-block-img {
  width: 360px;
  height: 450px;
}

.work-card-3 .works-block-img {
  width: 270px;
  height: 180px;
}

/* --- work-2: wide layout --- */
.works-block--wide {
  padding: 80px 0;
}

.works-block--wide .works-block-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.works-block--wide .works-block-link {
  flex: 0 0 auto;
}

.works-block--wide .works-block-img {
  width: 720px;
  height: 450px;
}

.works-block--wide .works-block-side {
  width: 270px;
  height: 357px;
}

/* --- work-3: alt layout --- */
.works-block--alt {
  padding: 80px 0;
}

.works-block--alt .works-block-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.works-block--alt .works-block-link {
  flex: 0 0 auto;
}

.works-block--alt .works-block-img {
  width: 545px;
  height: 325px;
}

.works-block--alt .works-block-side {
  width: 545px;
  height: 325px;
}

.more-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.04em;
  display: inline-block;
  transition: transform var(--transition);
}

.more-link:hover {
  transform: scale(1.05);
}

.works-divider {
  width: auto;
  margin: 0px 120px;
  border: none;
  border-top: 1px solid #e0e0e0;
}

/* ============================================
   Project Detail
   ============================================ */
.project-detail {
  padding: 0 0 var(--section-padding);
}

.project-detail-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 50px;
  padding: 0 40px;
}

.project-detail-inner.layout-left .project-images,
.project-detail-inner.layout-right .project-images {
  flex: 0 0 50%;
}

.project-detail-inner.layout-left .project-text,
.project-detail-inner.layout-right .project-text {
  flex: 1;
}

.project-images {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-img-large {
  border-radius: 6px;
  overflow: hidden;
}

.project-img-large img {
  width: 100%;
  height: auto;
}

.project-img-small {
  border-radius: 6px;
  overflow: hidden;
}

.project-img-small img {
  width: 100%;
  height: auto;
}

.project-text {
  padding-top: 10px;
}

.project-tag {
  display: inline-block;
  font-size: 0.72rem;
  padding: 4px 14px;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.project-title {
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.project-desc {
  font-size: 0.88rem;
  line-height: 2.2;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
  margin-bottom: 30px;
}

.project-sub-image {
  border-radius: 6px;
  overflow: hidden;
  max-width: 280px;
}

.project-sub-image img {
  width: 100%;
  height: auto;
}

/* ============================================
   About
   ============================================ */
.about {
  padding: var(--section-padding) 0;
}

.about-inner {
  display: flex;
  align-items: flex-start;
  gap: 200px;
}

.about-image {
  flex: 0 0 auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0ebe5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text {
  flex: 1;
}

.about-role {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}

.about-name {
  font-family: var(--font-main);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}

.about-name span {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-light);
  margin-left: 16px;
}

.about-bio p {
  width: 500px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
  letter-spacing: 0;
  text-align: left;
}

.about-more {
  margin-top: 40px;
  text-align: right;
}

/* ============================================
   Contact
   ============================================ */
.contact {
  padding: 20px 0 80px;
}

.contact-inner {
  position: relative;
}

.contact-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-box {
  width: 510px;
  height: 180px;
  flex: 0 0 auto;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 16px;
  padding: 45px 40px;
  text-align: center;
}

.contact-desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
  letter-spacing: 0.04em;
  margin: 0;
}
.contact-badge-area {
  position: absolute;
  top: 95px;
  right: 80px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.contact-badge {
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}

.contact-action {
  text-align: center;
  margin-top: 50px;
}

.btn-mail {
  display: inline-block;
  padding: 14px 48px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #272727;
  border-radius: 50px;
  letter-spacing: 0.08em;
  transition:
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.btn-mail:hover {
  background: transparent;
  color: #272727;
  box-shadow: inset 0 0 0 1px #272727;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.footer-logo {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--color-text);
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

/* ============================================
   Works List Page
   ============================================ */
.works-list-page {
  margin-top: var(--header-height);
  padding: 60px 0 80px;
}

.works-list-title {
  font-family: var(--font-main);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 60px;
  margin-left: 120px;
}

.works-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px 100px;
  margin: 0 180px;
}

.works-list-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition);
}

.works-list-card:hover {
  transform: translateY(-4px);
}

.works-list-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.works-list-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.works-list-card:hover .works-list-card-image img {
  transform: scale(1.03);
}

.works-list-card-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.works-list-card-info {
  padding: 16px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.works-list-card-client {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.works-list-card-type {
  font-size: 12px;
  font-weight: 500;
  color: #787574;
  letter-spacing: 0;
}

/* Pagination */
.works-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 80px;
  padding-bottom: 40px;
}

.works-pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity var(--transition);
}

.works-pagination-link:hover {
  opacity: 0.6;
}

.works-pagination-link.is-active {
  font-weight: 500;
}

/* ============================================
   About Page
   ============================================ */
.about-page {
  margin-top: var(--header-height);
  padding: 60px 120px 0;
}

.about-page-title {
  font-family: var(--font-main);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 60px;
}

/* Two Column Layout */
.about-page-content {
  margin-bottom: 100px;
}

.about-page-content-inner {
  display: flex;
  gap: 120px;
  align-items: flex-start;
  width: fit-content;
  margin: 0 auto;
}

/* Left Column */
.about-page-left {
  text-align: center;
}

.about-page-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f7ede3;
  margin: 0 auto 40px;
}

.about-page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right Column */

.about-page-text {
  max-width: 600px;
  margin-bottom: 80px;
}

.about-page-catchphrase {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: var(--color-text);
}

.about-page-role {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.about-page-name {
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  line-height: 1.6;
}

.about-page-name span {
  font-family: var(--font-en);
  font-weight: 600;
  margin-left: 16px;
}

.about-page-bio p {
  font-size: 14px;
  line-height: 2;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

/* Profile Introduction */
.about-page-profile {
  margin-top: 40px;
}

.about-page-profile-detail {
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 20px;
}

.about-page-profile-story {
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

/* Skills */
.about-page-skills {
  text-align: left;
}

.about-page-values {
  border: 1px solid #ee6b54;
  padding: 40px 50px;
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 100px;
}

.about-page-section-title {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  display: inline-block;
}

/* Skills */
.about-page-skills {
  text-align: left;
  padding-left: 20px;
}

.about-page-skill-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  row-gap: 16px;
  column-gap: 32px;
  align-items: center;
}

.about-page-skill-row {
  display: contents;
}

.about-page-skill-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--color-border);
  padding: 4px 12px;
  text-align: center;
}

.about-page-skill-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.about-page-skill-tag {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
  width: 100%;
}

/* Values */
.about-page-value-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-page-value-item {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.about-page-value-num {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  padding-top: 2px;
}

.about-page-value-content {
  flex: 1;
}

.about-page-value-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  line-height: 1.6;
}

.about-page-value-heading mark {
  background: linear-gradient(transparent 60%, #f9f4a2 60%);
  padding: 0;
}

.about-page-value-desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

/* ============================================
   Work Detail Page
   ============================================ */
.work-detail-page {
  margin-top: var(--header-height);
  padding: 60px 0 0;
}

/* Hero Screenshot */
.work-detail-hero {
  padding: 0 120px;
  margin-bottom: 80px;
}

.work-detail-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
}

.work-detail-hero-inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Project Info */
.work-detail-info {
  padding: 0 120px;
  margin-bottom: 80px;
}

.work-detail-info-inner {
  max-width: 900px;
  margin: 0 auto;
}

.work-detail-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.work-detail-title {
  font-family: var(--font-main);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 50px;
  line-height: 1.6;
}

.work-detail-meta {
  display: flex;
  gap: 80px;
}

.work-detail-meta-left {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.work-detail-meta-right {
  flex: 1;
}

.work-detail-dl {
  margin: 0;
}

.work-detail-dl dt {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.work-detail-dl dd {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
  letter-spacing: 0.02em;
  margin: 0;
}

.work-detail-link {
  margin-top: 50px;
  text-align: center;
}

.work-detail-btn {
  display: inline-block;
  padding: 12px 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  letter-spacing: 0.06em;
  transition:
    background var(--transition),
    color var(--transition);
}

.work-detail-btn:hover {
  background: var(--color-text);
  color: #fff;
}

/* Gallery */
.work-detail-gallery {
  padding: 0 120px;
  margin-bottom: 100px;
}

.work-detail-gallery-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 960px;
  margin: 0 auto;
}

.work-detail-gallery-image {
  overflow: hidden;
}

.work-detail-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Prev / Next Navigation */
.work-detail-nav {
  border-top: 1px solid var(--color-border);
  padding: 0 120px;
}

.work-detail-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
}

.work-detail-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.04em;
  transition: opacity var(--transition);
}

.work-detail-nav-link:hover {
  opacity: 0.6;
}

/* ============================================
   Responsive - Tablet (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  /* --- Common Container override --- */
  .hero-inner,
  .works-block--grid,
  .works-block-inner,
  .works-block-more,
  .about-inner,
  .contact-inner,
  .service-inner {
    margin: 0 40px;
  }

  .header-inner {
    margin: 0 40px;
  }

  .hero-catchcopy {
    font-size: 13px;
    line-height: 0.8;
  }

  /* --- Section title --- */
  .section-title {
    margin-left: 40px;
  }

  .works-divider {
    margin: 0 40px;
  }

  /* --- Hero --- */
  .hero-image {
    width: 100%;
    height: auto;
  }

  .hero-image img {
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .hero-scroll {
    right: -40px;
  }

  /* --- Slider --- */
  .slider-sidebar {
    width: 40px;
  }

  .slider-sidebar:last-child {
    right: 40px;
  }

  .slider-card {
    width: 220px;
  }

  .card-img {
    width: 220px;
    height: 220px;
  }

  .card-img img {
    width: 220px;
    height: 220px;
  }

  /* --- Service --- */
  .service-inner {
    padding: 60px 60px;
    margin: 0 auto;
  }

  .service-item {
    width: 45%;
  }

  /* --- Works grid --- */
  .works-block--grid {
    flex-wrap: wrap;
    gap: 20px;
  }

  .work-card-1 .works-block-img {
    width: 100%;
    height: auto;
    aspect-ratio: 365 / 270;
  }

  .work-card-2 .works-block-img {
    width: 100%;
    height: auto;
    aspect-ratio: 360 / 450;
  }

  .work-card-3 .works-block-img {
    width: 100%;
    height: auto;
    aspect-ratio: 270 / 180;
  }

  .work-card-1,
  .work-card-2,
  .work-card-3 {
    flex: 1 1 30%;
    min-width: 0;
  }

  /* --- Works wide --- */
  .works-block--wide .works-block-img {
    width: 100%;
    height: auto;
    aspect-ratio: 720 / 450;
  }

  .works-block--wide .works-block-link {
    flex: 1 1 65%;
    min-width: 0;
  }

  .works-block--wide .works-block-side {
    width: auto;
    flex: 1 1 30%;
    height: auto;
    aspect-ratio: 270 / 357;
  }

  /* --- Works alt --- */
  .works-block--alt .works-block-img {
    width: 100%;
    height: auto;
    aspect-ratio: 545 / 325;
  }

  .works-block--alt .works-block-link {
    flex: 1 1 48%;
    min-width: 0;
  }

  .works-block--alt .works-block-side {
    width: auto;
    flex: 1 1 48%;
    height: auto;
    aspect-ratio: 545 / 325;
  }

  /* --- About --- */
  .about-inner {
    gap: 60px;
  }

  /* --- Contact --- */
  .contact-box {
    width: 100%;
    max-width: 510px;
    height: auto;
    padding: 35px 30px;
  }

  .contact-badge-area {
    right: 40px;
  }

  /* --- Works List Page --- */
  .works-list-title {
    margin-left: 40px;
  }

  .works-list-grid {
    margin: 0 40px;
    gap: 60px 40px;
  }

  /* --- Work Detail Page --- */
  .work-detail-hero,
  .work-detail-info,
  .work-detail-gallery,
  .work-detail-nav {
    padding-left: 40px;
    padding-right: 40px;
  }

  /* --- About Page --- */
  .about-page {
    padding: 60px 40px 0;
  }

  .about-page-content-inner {
    gap: 80px;
  }
}

/* ============================================
   Responsive - Tablet Small (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
    --header-height: 60px;
  }

  /* --- Common Container override --- */
  .hero-inner,
  .works-block--grid,
  .works-block-inner,
  .works-block-more,
  .about-inner,
  .contact-inner,
  .service-inner {
    margin: 0 24px;
  }

  .header-inner {
    margin: 0 24px;
  }

  /* --- Nav (hamburger menu) --- */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(250, 249, 247, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
    z-index: 1050;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .nav-list a {
    font-size: 1.1rem;
  }

  .nav-list a .paren {
    opacity: 1;
    visibility: visible;
  }

  .nav-mobile-contact {
    display: block;
  }

  .btn-contact {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* --- Section title --- */
  .section-title {
    font-size: 1.3rem;
    margin-left: 24px;
    margin-bottom: 36px;
  }

  .works-divider {
    margin: 0 24px;
  }

  /* --- Hero --- */
  .hero-inner {
    padding-top: 30px;
  }

  .hero-catchcopy {
    font-size: 14px;
  }

  .hero-scroll {
    display: none;
  }

  .section-title-badge2 {
    display: none;
  }

  /* --- Slider --- */
  .slider {
    padding: var(--section-padding) 0 30px;
  }

  .slider-sidebar {
    display: none;
  }

  .slider-content {
    max-width: 100%;
  }

  .slider-track {
    gap: 40px;
  }

  .slider-card {
    width: 200px;
  }

  .card-img {
    width: 200px;
    height: 200px;
  }

  .card-img img {
    width: 200px;
    height: 200px;
  }

  .card-client {
    font-size: 13px;
  }

  .card-type {
    font-size: 11px;
  }

  /* --- Service --- */
  .service {
    padding: 80px 0 var(--section-padding);
  }

  .service-inner {
    padding: 60px 80px;
    min-height: auto;
    margin: 0 24px;
  }

  .service-main-title {
    font-size: 30px;
    top: -25px;
    left: 10px;
  }

  .service-grid {
    gap: 40px 0;
  }

  .service-item {
    width: 100%;
  }

  /* --- Works grid --- */
  .works-block--grid {
    flex-wrap: wrap;
    gap: 16px;
  }

  .work-card-1 {
    flex: none;
    width: 100%;
  }

  .work-card-1 .works-block-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .work-card-2,
  .work-card-3 {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }

  .work-card-2 .works-block-img,
  .work-card-3 .works-block-img {
    width: 100%;
    height: auto;
  }

  /* --- Works wide --- */
  .works-block--wide .works-block-inner {
    flex-direction: row;
    gap: 16px;
  }

  .works-block--wide .works-block-link {
    flex: 1 1 60%;
    min-width: 0;
  }

  .works-block--wide .works-block-img {
    width: 100%;
    height: 100%;
  }

  .works-block--wide .works-block-side {
    flex: 1 1 35%;
    width: 100%;
    height: auto;
  }

  /* --- Works alt --- */
  .works-block--alt .works-block-inner {
    flex-direction: row;
    gap: 16px;
  }

  .works-block--alt .works-block-link {
    flex: 1 1 50%;
    min-width: 0;
  }

  .works-block--alt .works-block-img {
    width: 100%;
    height: 100%;
  }

  .works-block--alt .works-block-side {
    flex: 1 1 45%;
    width: 100%;
    height: auto;
  }

  .works-block-more {
    margin-top: 30px;
  }

  /* --- About section (index.html) --- */
  .about-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .about-image {
    width: 160px;
    height: 160px;
  }

  .about-bio p br {
    display: none;
  }

  .about-more {
    text-align: center;
  }

  /* --- Contact --- */
  .contact-box {
    width: 100%;
    height: auto;
    padding: 30px 24px;
  }

  .contact-desc {
    font-size: 13px;
  }

  .contact-desc br {
    display: none;
  }

  .contact-badge-area {
    display: none;
  }

  /* --- Works list page --- */
  .works-list-title {
    margin-left: 24px;
    font-size: 1.3rem;
  }

  .works-list-grid {
    margin: 0 24px;
    gap: 40px 24px;
  }

  /* --- Work detail page --- */
  .work-detail-hero,
  .work-detail-info,
  .work-detail-gallery,
  .work-detail-nav {
    padding-left: 24px;
    padding-right: 24px;
  }
  .works-list-page {
    padding: 40px 0 40px;
  }

  .work-detail-hero {
    margin-bottom: 50px;
  }

  .work-detail-meta {
    flex-direction: column;
    gap: 30px;
  }

  .work-detail-meta-left {
    flex: none;
  }

  .work-detail-gallery-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* --- About page --- */
  .about-page {
    padding: 60px 40px 0;
  }

  .about-page-content-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    max-width: 640px;
  }

  .about-page-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .about-page-image {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    margin: 0;
  }

  .about-page-skills {
    padding-left: 0;
    text-align: left;
  }

  .about-page-skill-list {
    align-items: flex-start;
    column-gap: 24px;
  }

  .about-page-text {
    margin-bottom: 50px;
  }

  .about-page-values {
    padding: 30px;
    margin-bottom: 60px;
  }
}

/* ============================================
   Responsive - Mobile (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  :root {
    --section-padding: 48px;
  }

  html {
    font-size: 15px;
  }

  /* --- Common Container override --- */
  .hero-inner,
  .works-block--grid,
  .works-block-inner,
  .works-block-more,
  .about-inner,
  .contact-inner,
  .service-inner {
    margin: 0 16px;
  }

  .header-inner {
    margin: 0 16px;
  }

  .logo {
    font-size: 16px;
  }

  /* --- Section title --- */
  .section-title {
    font-size: 1.15rem;
    margin-left: 16px;
    margin-bottom: 28px;
  }

  .works-divider {
    margin: 0 16px;
  }

  /* --- Hero --- */
  .hero-inner {
    padding-top: 20px;
  }

  .hero-catchcopy {
    font-size: 14px;
    line-height: 1.4;
  }

  .hero-scroll {
    right: -24px;
    font-size: 12px;
  }
  .hero-image img {
    height: 30vh;
  }

  /* --- Slider --- */
  .slider {
    padding: 40px 0;
  }

  .slider-track {
    gap: 24px;
  }

  .slider-card {
    width: 160px;
  }

  .card-img {
    width: 160px;
    height: 160px;
  }

  .card-img img {
    width: 160px;
    height: 160px;
  }

  .card-info {
    padding: 10px 0;
    gap: 8px;
  }

  .card-client {
    font-size: 12px;
  }

  .card-type {
    font-size: 10px;
  }

  /* --- Service --- */
  .service {
    padding: 40px 0 var(--section-padding);
  }

  .service-inner {
    padding: 30px 50px;
    min-height: auto;
    margin: 0 30px;
    max-width: calc(100% - 32px);
  }

  .service-main-title {
    font-size: 24px;
    top: -20px;
    left: -10px;
  }

  .point-badge {
    font-size: 12px;
    margin-bottom: 20px;
  }

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

  .service-item-title {
    font-size: 15px;
    font-weight: 500;
    margin-left: -5px;
  }

  .service-content {
    font-size: 14px;
  }
  .service-header {
    margin-bottom: 10px;
  }
  .service-grid {
    gap: 30px 0;
  }

  /* --- Works --- */
  .works {
    padding: 50px 0;
  }

  .works-block--wide,
  .works-block--alt {
    padding: 50px 0;
  }

  .work-item-info {
    padding: 12px 0;
    gap: 8px;
  }

  .work-item-client {
    font-size: 14px;
  }

  .work-item-type {
    font-size: 11px;
  }

  .more-link {
    font-size: 13px;
  }

  /* --- About section (index.html) --- */
  .about {
    padding: var(--section-padding) 0;
  }

  .about-image {
    width: 130px;
    height: 130px;
  }

  .about-role {
    font-size: 12px;
  }

  .about-name {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .about-name span {
    display: block;
    margin-left: 0;
    margin-top: 4px;
    font-size: 12px;
  }

  .about-bio p {
    width: 350px;
    font-size: 13px;
    text-align: left;
  }

  .about-more {
    margin-top: 24px;
  }

  /* --- Contact --- */
  .contact {
    padding: 20px 0 50px;
  }

  .contact-box {
    padding: 24px 16px;
    width: 360px;
  }

  .contact-desc {
    font-size: 12px;
    line-height: 2;
  }

  .contact-action {
    margin-top: 30px;
  }

  .btn-mail {
    padding: 12px 36px;
    font-size: 13px;
  }

  /* --- Footer --- */
  .footer {
    padding: 30px 0;
  }

  .footer-inner {
    padding: 0 16px;
  }

  /* --- Works list page --- */
  .works-list-page {
    padding: 40px 0 40px;
  }

  .works-list-title {
    margin-left: 16px;
    font-size: 1.15rem;
    margin-bottom: 40px;
  }

  .works-list-grid {
    grid-template-columns: 1fr;
    margin: 0 16px;
    gap: 40px;
  }

  .works-pagination {
    margin-top: 50px;
    gap: 20px;
  }

  /* --- Work detail page --- */
  .work-detail-page {
    padding: 40px 0 0;
  }

  .work-detail-hero,
  .work-detail-info,
  .work-detail-gallery,
  .work-detail-nav {
    padding-left: 16px;
    padding-right: 16px;
  }
  .works-list-page {
    padding: 40px 20px;
  }
  .work-detail-page {
    padding: 40px 20px;
  }
  .work-detail-hero {
    margin-bottom: 40px;
  }

  .work-detail-title {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .work-detail-info {
    margin-bottom: 50px;
  }

  .work-detail-meta {
    gap: 20px;
  }

  .work-detail-meta-left {
    gap: 8px;
  }

  .work-detail-link {
    margin-top: 30px;
  }

  .work-detail-btn {
    padding: 10px 28px;
    font-size: 13px;
  }

  .work-detail-gallery {
    margin-bottom: 60px;
  }

  .work-detail-gallery-inner {
    gap: 20px;
  }

  .work-detail-nav-inner {
    padding: 24px 0;
  }

  .work-detail-nav-link {
    font-size: 13px;
  }

  /* --- About page --- */
  .about-page {
    padding: 40px 30px 0;
  }

  .about-page-title {
    font-size: 22px;
    margin-bottom: 40px;
  }

  .about-page-content-inner {
    gap: 40px;
  }
  .about-page-left {
    text-align: left;
  }

  .about-page-image {
    width: 130px;
    height: 130px;
    margin-bottom: 0;
  }

  .about-page-catchphrase {
    font-size: 13px;
  }

  .about-page-name {
    font-size: 18px;
  }

  .about-page-skill-label {
    font-size: 12px;
    padding: 4px 8px;
  }

  .about-page-skill-list {
    column-gap: 16px;
  }

  .about-page-section-title,
  .about-page-value-heading {
    font-size: 14px;
  }

  .about-page-bio p,
  .about-page-value-desc {
    font-size: 13px;
  }

  .about-page-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .about-page-image {
    width: 180px;
    height: 180px;
    margin: 0;
  }

  .about-page-skill-tag {
    font-size: 12px;
  }

  .about-page-content {
    margin-bottom: 60px;
  }
}

/* ============================================
   Scroll Fade-in Animation
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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