/*
Theme Name: PLUS-FOLIO Classic Works Admin
Theme URI: https://plus-folio.com/
Author: 奥田萌愛
Description: PLUS-FOLIO portfolio / freelance website theme.
Version: 2.4.0
Requires at least: 6.0
Tested up to: 6.5
License: GNU General Public License v2 or later
Text Domain: plus-folio
*/

/* =========================================================
   FONT
========================================================= */

@font-face {
  font-family: "LINE Seed JP";
  src: url("./fonts/LINESeedJP-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed JP";
  src: url("./fonts/LINESeedJP-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "LINE Seed JP";
  src: url("./fonts/LINESeedJP-ExtraBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

/* =========================================================
   VARIABLES
========================================================= */

:root {
  --bg: #f4f3f1;
  --bg-soft: #ebeae7;
  --bg-warm: #efece7;
  --paper: #ffffff;
  --ink: #181818;
  --ink-soft: #5f5f5c;
  --ink-faint: #92918d;
  --line: rgba(24, 24, 24, 0.16);
  --line-strong: rgba(24, 24, 24, 0.34);
  --accent: #ef9db9;
  --accent-soft: #f2d7df;
  --dark: #171717;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --header-h: 82px;
  --page-x: clamp(20px, 4vw, 64px);
  --section-y: clamp(96px, 12vw, 180px);
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   BASE
========================================================= */

html {
  box-sizing: border-box;
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--bg);
}

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

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-menu-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
p,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

li {
  list-style: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

::selection {
  color: var(--ink);
  background: var(--accent-soft);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: #ffffff;
  background: #000000;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  z-index: 1;
}

.pf-container {
  width: calc(100% - (var(--page-x) * 2));
  max-width: none;
  margin-inline: var(--page-x);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: var(--page-x);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(244, 243, 241, 0.42);
  border-bottom-color: rgba(24, 24, 24, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-brand {
  display: block;
  flex-shrink: 0;

  line-height: 0;
}

.site-brand__logo {
  display: block;

  width: clamp(6.8rem, 5.5vw, 8rem);
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 42px);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.desktop-nav > a:not(.desktop-nav__contact) {
  position: relative;
  padding-block: 10px;
}

.desktop-nav > a:not(.desktop-nav__contact)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.desktop-nav > a:not(.desktop-nav__contact):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav__contact {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--dark);
  border-radius: 999px;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s ease;
}

.desktop-nav__contact:hover {
  transform: translateY(-2px);
  background: #333333;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero__meta .hero__meta--left {
  display: none !important;
}

/* =========================================================
   HERO / 3 VIEWPORT STICKY
========================================================= */

.hero-scroll {
  position: relative;
  width: 100%;
  height: 400svh;
}

.hero-scroll .hero {
  --hero-canvas-opacity: 0.88;
  --hero-canvas-saturation: 1.02;
  --hero-canvas-brightness: 1;
  --hero-stroke-width: 2px;

  position: sticky;
  top: 0;
  isolation: isolate;
  width: 100%;
  height: 100lvh;
  min-height: 100lvh;
  overflow: hidden;
  background: var(--bg);
}

/* =========================================================
   WEBGL GRADIENT STAGE
========================================================= */

.hero-gradient-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #f4f3f1;
}

.hero-gradient-canvas {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.hero-gradient-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(244, 243, 241, 0.035),
      rgba(244, 243, 241, 0) 32%,
      rgba(244, 243, 241, 0.025) 100%
    );
}

/* =========================================================
   HERO GUIDE LINES
========================================================= */

.hero-scroll .hero::before,
.hero-scroll .hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-scroll .hero::before {
  inset: var(--header-h) var(--page-x) auto;
  height: 1px;
  background: var(--line);
}

.hero-scroll .hero::after {
  top: var(--header-h);
  bottom: 0;
  left: 50%;
  width: 1px;
  background:
    linear-gradient(
      to bottom,
      var(--line),
      transparent 22%,
      transparent 78%,
      var(--line)
    );
  opacity: 0.5;
}

/* =========================================================
   META
========================================================= */

.hero__meta {
  position: absolute;
  top: calc(var(--header-h) + 20px);
  z-index: 6;
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero__meta--left {
  left: var(--page-x);
  display: none;
}

.hero__meta--right {
  right: var(--page-x);
}

/* =========================================================
   HERO ART
========================================================= */

.hero__visual {
  position: absolute;
  top: calc(var(--header-h) + 34px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transform-origin: center;
  will-change: transform, opacity;
}

.hero-art-svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
  pointer-events: none;
  transform-origin: center center;
  will-change: transform, opacity, filter;
}

.hero-art-word,
.hero-art-plus {

  text-rendering: geometricPrecision;
}

.hero-art-word {
  font-weight: 800;
  letter-spacing: -0.075em;
}


/* =========================================================
   FROSTED GLASS TYPOGRAPHY
========================================================= */

.hero-frosted-layer {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}


.hero-frosted-canvas {
  position: absolute;
  inset: -5%;
  display: block;
  width: 110%;
  height: 110%;
  max-width: none;

  opacity: 1;
  filter: none;

  transform: scale(1.03);
  transform-origin: center;
}


/*
 * 以前の白膜は停止
 */
.hero-frosted-layer__glass {
  position: absolute;
  inset: 0;

  background: transparent;

  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}


.hero-art__glass {
  pointer-events: none;
  filter: none;
}


/* =========================================================
   HERO STORY CONTENT
========================================================= */

.hero__content {
  position: absolute;
  top: 50%;
  left: var(--page-x);
  z-index: 7;
  width: min(70rem, 58vw);
  transform: translateY(-50%);
  pointer-events: none;
}

.hero__story-title,
.hero__story-intro,
.hero__story-lead,
.hero__actions {
  opacity: 0;
  transform: translate3d(0, 12rem, 0);
  will-change: transform, opacity;
}

.hero__eyebrow {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--ink-faint);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__content h1 {
  margin-top: 1.6rem;
  color: rgba(255, 255, 255, 0.98);
  font-family: "LINE Seed JP", "Noto Sans JP", sans-serif;
  font-size: clamp(3.8rem, 4.9vw, 7.4rem);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.hero__content h1 span {
  display: block;
}

.hero__story-intro {
  max-width: 58rem;
  margin-top: 3.2rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 2.0rem;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.hero__story-lead {
  max-width: 58rem;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.5rem;
  line-height: 1.95;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  margin-top: 3.4rem;
  pointer-events: none;
}

.hero__actions.is-active {
  pointer-events: auto;
}

.hero__actions .button--dark {
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  background: rgba(21, 22, 24, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero__actions .button--dark:hover {
  background: rgba(10, 10, 11, 0.96);
}

.hero__actions .text-link {
  color: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.48);
  font-size: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition:
    transform 0.3s var(--ease),
    color 0.3s ease,
    background-color 0.3s ease;
}

.button--dark {
  color: #ffffff;
  background: var(--dark);
}

.button--dark:hover {
  transform: translateY(-2px);
  background: #333333;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 1.2rem;
  font-weight: 600;
}

.text-link span {
  transition: transform 0.3s var(--ease);
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.hero__scroll {
  position: absolute;
  right: var(--page-x);
  bottom: 42px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  will-change: opacity;
}

.hero__scroll span {
  display: block;
  width: 54px;
  height: 1px;
  background: rgba(255, 255, 255, 0.56);
}

/* =========================================================
   SHARED SECTION UI
========================================================= */

.works-section,
.services-section,
.about-section,
.process-section {
  padding-block: var(--section-y);
}

.services-section,
.process-section {
  background: var(--paper);
}

.process-section {
  display: none;
}

.services-section {
  display: none;
}

.about-section {
  background: #bbbabe;
}

.section-head {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(280px, 0.72fr);
  align-items: end;
  gap: 64px;
  margin-bottom: clamp(48px, 7vw, 90px);
}

.section-head--border {
  padding-bottom: clamp(38px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.section-head h2,
.about-content h2,
.contact-panel h2,
.service-item h3,
.process-list h3 {
  font-family:
    "LINE Seed JP",
    "Noto Sans JP",
    sans-serif;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(5.6rem, 9vw, 13rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.section-head__copy {
  color: var(--ink-soft);
  font-size: 1.35rem;
  line-height: 2;
}

.js .reveal-section {
  opacity: 0;
  transform: translateY(30px);
}

.js .reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}

.performance-section {
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}

/* =========================================================
   SKILL SYSTEM
========================================================= */

.skill-system {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: var(--section-y);
  color: var(--ink);

  background:
    radial-gradient(
      72rem 46rem at 12% 16%,
      rgba(223, 143, 149, 0.055) 0%,
      rgba(223, 174, 190, 0.025) 42%,
      transparent 72%
    ),
    radial-gradient(
      66rem 46rem at 42% 88%,
      rgba(223, 170, 144, 0.05) 0%,
      rgba(220, 196, 134, 0.022) 42%,
      transparent 74%
    ),
    radial-gradient(
      78rem 54rem at 90% 18%,
      rgba(159, 185, 203, 0.07) 0%,
      rgba(171, 162, 201, 0.04) 38%,
      transparent 74%
    ),
    linear-gradient(
      135deg,
      #faf9f7 0%,
      #f7f5f2 34%,
      #f4f3f0 68%,
      #faf9f7 100%
    );
}

.skill-system::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.36) 0%,
      rgba(255, 255, 255, 0.04) 30%,
      rgba(255, 255, 255, 0) 70%,
      rgba(255, 255, 255, 0.18) 100%
    );
}

.skill-system__inner {
  position: relative;
  z-index: 1;
}

.skill-system__head {
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(28rem, 0.65fr);
  align-items: end;
  gap: clamp(3.2rem, 6vw, 8rem);
  padding-bottom: clamp(3rem, 4vw, 5rem);
  border-bottom: 1px solid rgba(24, 24, 24, 0.11);
}

.skill-system__head h2 {
  max-width: 12em;
  margin-top: 1.2rem;
  font-family:
    "LINE Seed JP",
    "Noto Sans JP",
    sans-serif;
  font-size: clamp(3.8rem, 4.9vw, 7.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.06em;
  color: #59595b;
}

.skill-system__head h2 span {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.skill-system__intro {
  color: rgba(24, 24, 24, 0.58);
  font-size: 1.6rem;
  line-height: 2;
}

.skill-system__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3.2rem, 5vw, 6rem);
}

.skill-system__item {
  min-width: 0;
  padding:
    1.6rem
    clamp(1.8rem, 2.5vw, 3rem)
    2rem;
}

.skill-system__item + .skill-system__item {
  border-left: 1px solid rgba(24, 24, 24, 0.11);
}

.skill-system__meta {
  justify-content: space-between;
  gap: 1.2rem;
  color: rgba(24, 24, 24, 0.46);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.skill-system__art {
  display: grid;
  place-items: center;
  min-height: clamp(24rem, 25vw, 31rem);
  margin-block: 1rem 1.4rem;
  isolation: isolate;
  filter: saturate(0.85);
}

.skill-system__art-img {
  display: block;
  width: 85%;
  height: auto;
  max-height: 31rem;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: none;
}

.skill-system__design .skill-system__art-img {
  max-width: min(100%, 31rem);
}

.skill-system__code .skill-system__art-img {
  max-width: min(100%, 28rem);
}

.skill-system__wordpress .skill-system__art-img {
  max-width: min(100%, 31rem);
}

.skill-system__item h3 {
  font-family:
    "LINE Seed JP",
    "Noto Sans JP",
    sans-serif;
  font-size: clamp(2rem, 2.2vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #59595b;
  margin-top: 2rem;
}

.skill-system__description {
  margin-top: 1rem;
  color: rgba(24, 24, 24, 0.58);
  font-size: 1.6rem;
  line-height: 2.2;
}

/* =========================================================
   AI ASSISTED
========================================================= */

.skill-system__ai {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.6rem;
  margin-top: clamp(3rem, 5vw, 6rem);
  color: rgba(24, 24, 24, 0.48);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.skill-system__ai span {
  height: 1px;
  background:
    linear-gradient(
      90deg,
      rgba(223, 143, 149, 0.62),
      rgba(223, 170, 144, 0.56) 32%,
      rgba(171, 162, 201, 0.52) 68%,
      rgba(159, 185, 203, 0.64)
    );
}

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

.works-section {
  background: #ffffff;
}

.works-render .product-wrapper {
  margin: 0;
  padding: 0;
  background: transparent;
}

.works-render .product-wrapper > .container {
  width: min(calc(100% - (var(--page-x) * 2)), var(--container));
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

.works-render .section-title {
  display: none;
}

.works-render .product-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(46px, 7vw, 96px) clamp(24px, 4vw, 58px);
}

.works-render .product-content-list {
  min-width: 0;
  margin: 0;
}

.works-render .product-content-list:first-child {
  grid-column: auto;
}

.works-render .modal-open {
  display: block;
  cursor: pointer;
}

.works-render .product-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 22px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e3e2df;
  border-radius: 3px;
  transition:
    transform 0.65s var(--ease),
    filter 0.65s ease;
}

.works-render .product-content-list:first-child .product-image {
  aspect-ratio: 16 / 10;
}

.works-render .modal-open:hover .product-image {
  transform: scale(0.985);
  filter: brightness(0.96);
}

.works-render .product-title {
  margin: 0 0 7px;
  color: var(--ink);
  font-family: "LINE Seed JP", "Noto Sans JP", sans-serif;
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.works-render .product-caption,
.works-render .product-caption2 {
  width: auto;
  margin: 0;
  padding: 0;
  color: var(--ink-faint);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================================================
   MODAL
========================================================= */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1990;
  display: none;
  background: rgba(18, 18, 18, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  overflow: auto;
  padding: clamp(16px, 4vw, 48px);
}

.modal-inner {
  position: relative;
  width: min(1120px, 100%);
  min-height: min(760px, calc(100svh - 48px));
  margin: 0 auto;
  padding: clamp(26px, 5vw, 76px);
  overflow: visible;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}

.modal-content {
  height: auto;
  padding: 0;
  overflow: visible;
}

.modal-close {
  position: sticky;
  top: 0;
  z-index: 5;
  float: right;
  width: 48px;
  height: 48px;
  margin: -8px -8px 12px 20px;
  padding: 12px;
  cursor: pointer;
  background: var(--bg);
  border-radius: 50%;
}

.close-icon {
  width: 100%;
  height: 100%;
}

.modal-top-image {
  width: 100%;
  margin: 20px auto 58px;
  border-radius: 4px;
}

.modal-content-read {
  width: min(820px, 100%);
  margin: 0 auto;
}

.modal-content-title-span {
  display: block;
}

.square2 {
  display: none;
}

.modal-content-title {
  width: 100%;
  margin: 0 0 40px;
  font-family: "LINE Seed JP", "Noto Sans JP", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.modal-content-info {
  margin-bottom: 48px;
  padding-block: 22px;
  border-block: 1px solid var(--line);
  font-size: 1.3rem;
}

.modal-content-info1,
.modal-content-info2,
.modal-content-info3 {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  margin-bottom: 8px;
}

.modal-content-info3 {
  margin-bottom: 0;
}

.modal-content-info1 > dt,
.modal-content-info2 > dt,
.modal-content-info3 > dt {
  color: var(--ink-faint);
}

.modal-content-text {
  max-width: 720px;
  margin-bottom: 64px;
  color: var(--ink-soft);
  font-size: 1.45rem;
  line-height: 2;
  letter-spacing: 0.02em;
}

.about-image-imgs,
.plusfolio-about-image {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
}

.about-image-imgs > a {
  width: auto;
  margin: 0;
}

.about-image-img,
.screen-shot-pc,
.screen-shot-mobile {
  width: 100%;
  border: 1px solid var(--line);
}

.screen-shot-pc-content {
  width: 68%;
  margin: 0;
}

.screen-shot-mobile-content {
  width: 32%;
}

.screen-shot-mobile {
  width: 100%;
}

.about-image-img-text {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

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

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns:
    70px
    minmax(0, 1.2fr)
    minmax(220px, 0.45fr);
  gap: 30px;
  align-items: start;
  padding-block: clamp(34px, 5vw, 58px);
  border-bottom: 1px solid var(--line);
}

.service-item__number {
  color: var(--ink-faint);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-item__en {
  margin-bottom: 9px;
  color: var(--ink-faint);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.service-item h3 {
  font-size: clamp(2.2rem, 3vw, 3.8rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.service-item__body > p:last-child {
  max-width: 58rem;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 2;
}

.service-item__meta {
  padding-top: 26px;
  color: var(--ink-faint);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================================================
   PRICE
========================================================= */

.price-note {
  grid-template-columns:
    110px
    minmax(200px, 0.6fr)
    minmax(280px, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: clamp(54px, 7vw, 90px);
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg-soft);
  border-radius: var(--radius-md);
}

.price-note {
  display: none;
}

.price-note__label {
  color: var(--ink-faint);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.price-note__price {
  font-size: 1.5rem;
  line-height: 1;
}

.price-note__price strong {
  margin-left: 8px;
  font-family: "LINE Seed JP", "Noto Sans JP", sans-serif;
  font-size: clamp(3rem, 4vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.price-note__text {
  color: var(--ink-soft);
  font-size: 1.2rem;
  line-height: 1.9;
}

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

.about-grid {
  display: grid;
  grid-template-columns:
    minmax(300px, 0.55fr)
    minmax(0, 1.1fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: center;
}

.about-visual__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #d7d5d0;
  border-radius: 3px;
}

.about-visual__frame::after {
  content: "+";
  position: absolute;
  right: 18px;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1;
  display: none;
}

.about-visual__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.25) contrast(0.96);
}

.about-visual__caption {
  margin-top: 12px;
  color: var(--ink-faint);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  display: none;
}

.about-content h2 {
  margin-top: 14px;
  font-size: clamp(5.4rem, 8vw, 11rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.about-content__lead {
  max-width: 58rem;
  margin-top: clamp(36px, 5vw, 66px);
  font-family: "LINE Seed JP", "Noto Sans JP", sans-serif;
  font-size: clamp(2rem, 2.7vw, 3.4rem);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: -0.03em;
}

.about-content__text {
  max-width: 62rem;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 1.5rem;
  line-height: 2.15;
}

.about-data {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.about-data > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 1.4rem;
}

.about-data dt {
  color: var(--ink-faint);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-data dd {
  color: var(--ink-soft);
}

.skill-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.skill-strip img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  padding: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(24, 24, 24, 0.08);
  border-radius: 10px;
  filter: saturate(0.6);
}

/* =========================================================
   PROCESS
========================================================= */

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-list li {
  min-height: 310px;
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list__num {
  display: block;
  margin-bottom: clamp(70px, 8vw, 120px);
  color: var(--ink-faint);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.process-list h3 {
  font-size: clamp(2.2rem, 2.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.process-list p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.2rem;
  line-height: 1.9;
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
  position: relative;
  z-index: 4;

  margin-top: -5rem;

  background: transparent;
}

.contact-panel {
  width: 100%;
  padding: clamp(42px, 7vw, 96px);
  color: #ffffff;
  background: var(--dark);
  border-radius: var(--radius-lg);
}

.section-kicker--light {
  color: rgba(255, 255, 255, 0.42);
}

.contact-panel h2 {
  margin-top: 22px;
  font-size: clamp(6rem, 12vw, 17rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.025em;
}

.contact-panel__jp {
  max-width: 640px;
  margin-top: clamp(34px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.5rem;
  line-height: 2;
}

.contact-mail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(50px, 8vw, 100px);
  padding-block: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  font-size: clamp(1.7rem, 3vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.contact-mail span:last-child {
  font-size: 0.8em;
  transition: transform 0.35s var(--ease);
}

.contact-mail:hover span:last-child {
  transform: translate(6px, -6px);
}

.contact-panel__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

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

.site-footer {
  padding: 28px 0 38px;
  background: var(--bg);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-faint);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 1080px) {
  :root {
    --header-h: 74px;
  }

  .hero__meta--right span:last-child {
    display: none;
  }

  .hero__content {
    width: min(64rem, 64vw);
  }

  .hero-art-svg {
    width: 112%;
    max-width: none;
    margin-left: -6%;
  }

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

  .service-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .service-item__meta {
    grid-column: 2;
    padding-top: 0;
  }

  .price-note {
    grid-template-columns: 90px 1fr;
  }

  .price-note__text {
    grid-column: 2;
  }
}

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

@media screen and (max-width: 767px) {
  :root {
    --header-h: 64px;
    --page-x: 20px;
    --section-y: 92px;
    --radius-lg: 26px;
  }

  body {
    font-size: 1.5rem;
  }

  .site-header {
    padding-inline: 20px 12px;
  }

  .site-brand__name {
    font-size: 1.1rem;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    position: relative;
    z-index: 1002;
    display: block;
    width: 48px;
    height: 48px;
    cursor: pointer;
  }

  .menu-button span {
    position: absolute;
    left: 10px;
    width: 28px;
    height: 1.5px;
    background: var(--ink);
    transition:
      top 0.35s var(--ease),
      transform 0.35s var(--ease),
      background-color 0.35s ease;
  }

  .menu-button span:first-child {
    top: 19px;
  }

  .menu-button span:last-child {
    top: 29px;
  }


  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 24px 34px;
    color: #ffffff;
    background: var(--dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease,
      transform 0.35s var(--ease);
  }

  body.is-menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-menu__nav {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-menu__nav a {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    padding-block: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-family: "LINE Seed JP", "Noto Sans JP", sans-serif;
    font-size: clamp(3.4rem, 11vw, 5.8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.05em;
  }

  .mobile-menu__nav a span {
    align-self: start;
    padding-top: 8px;
    color: rgba(255, 255, 255, 0.42);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
  }

  .mobile-menu__foot {
    margin-top: 28px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
  }

  /* =======================================================
     MOBILE HERO UPDATE
     ======================================================= */


  .hero-scroll .hero {
    height: 100lvh;
    min-height: 100lvh;

    --hero-canvas-opacity: 0.82;

    /*
     * PCでは2px。
     * スマホでは以前0.7pxだったため細すぎた。
     * Pattern 1 spikeに合わせて白フチを強化。
     */
    --hero-stroke-width: 1.35px;
  }

  .hero-scroll .hero::after {
    display: none;
  }

  .hero__meta {
    top: calc(var(--header-h) + 14px);
    gap: 12px;
    font-size: 0.82rem;
  }

  .hero__meta--right {
    display: none;
  }


  /*
   * DESIGN / BUILDの基本サイズ感は維持。
   */
  .hero-art-svg {
    width: 180%;
    height: 100%;
    max-width: none;
    margin-left: -38%;

    transform-origin: center center;
    will-change: transform, opacity, filter;
  }

  /*
   * BUILDを以前より上へ。
   * DESIGNとの縦距離を詰める。
   */
  .hero-art-word--build {
    transform: translateY(-78px);
    transform-box: fill-box;
    transform-origin: center;
  }

  .hero__content {
    top: 52%;
    right: 20px;
    left: 20px;
    width: auto;
    transform: translateY(-50%);
  }

  .hero__content h1 {
    margin-top: 1.2rem;
    font-size: clamp(3.4rem, 10.8vw, 5rem);
    line-height: 1.18;
  }

  .hero__story-intro {
    margin-top: 4.0rem;
    font-size: 1.7rem;
    line-height: 1.8;
  }

  .hero__story-lead {
    margin-top: 1.2rem;
    font-size: 1.4rem;
    line-height: 1.85;
  }

  .hero__story-lead br {
    display: none;
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: 16px 20px;
    margin-top: 3.2rem;
  }

  .button {
    min-height: 46px;
    padding-inline: 20px;
    font-size: 1.5rem;
  }

  .hero__scroll {
    display: none;
  }

  /* SKILL SYSTEM */

  .skill-system__head {
    display: block;
    padding-bottom: 3.2rem;
  }

  .skill-system__head h2 {
    max-width: none;
    font-size: clamp(3.7rem, 11vw, 5.6rem);
    line-height: 1.18;
  }

  .skill-system__intro {
    margin-top: 2.4rem;
    font-size: 1.5rem;
  }

  .skill-system__grid {
    grid-template-columns: 1fr;
    margin-top: 2.8rem;
  }

  .skill-system__item {
    display: grid;
    grid-template-columns:
      minmax(11rem, 0.72fr)
      minmax(0, 1.28fr);
    align-items: center;
    gap: 0 1.8rem;
    padding: 2.4rem 0;
  }

  .skill-system__item + .skill-system__item {
    border-top: 1px solid rgba(24, 24, 24, 0.13);
    border-left: 0;
  }

  .skill-system__meta {
    grid-column: 1 / -1;
  }

  .skill-system__art {
    grid-row: span 2;
    min-height: 16rem;
    margin: 0;
  }

  .skill-system__art-img {
    width: min(100%, 17rem);
    max-width: 17rem;
    max-height: 17rem;
  }

  .skill-system__item h3 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .skill-system__description {
    font-size: 1.5rem;
  }

  .skill-system__ai {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    margin-top: 2.8rem;
  }

  
  .skill-system__ai p:last-child {
    grid-column: 1 / -1;
    font-size: 1.3rem;
  }

  /* SECTION HEAD */

  .section-head {
    display: block;
    margin-bottom: 50px;
  }

  .section-head h2 {
    margin-top: 12px;
    font-size: clamp(5.8rem, 20vw, 9rem);
    line-height: 0.9;
  }

  .section-head__copy {
    margin-top: 30px;
    font-size: 1.5rem;
  }

  .section-head--border {
    padding-bottom: 36px;
  }

  /* WORKS */

  .works-render .product-content {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .works-render .product-content-list:first-child {
    grid-column: auto;
  }

  .works-render .product-image,
  .works-render .product-content-list:first-child .product-image {
    aspect-ratio: 4 / 3;
    margin-bottom: 16px;
  }

  .works-render .product-title {
    font-size: 1.8rem;
  }

  /* MODAL */

  .modal {
    padding: 8px;
  }

  .modal-inner {
    min-height: calc(100svh - 16px);
    padding: 22px 16px 40px;
    border-radius: 18px;
  }

  .modal-close {
    width: 42px;
    height: 42px;
  }

  .modal-top-image {
    margin: 16px auto 38px;
  }

  .modal-content-title {
    margin-bottom: 28px;
    font-size: 3rem;
  }

  .modal-content-info1,
  .modal-content-info2,
  .modal-content-info3 {
    grid-template-columns: 92px 1fr;
    gap: 12px;
  }

  .about-image-imgs,
  .plusfolio-about-image {
    display: block;
  }

  .screen-shot-pc-content,
  .screen-shot-mobile-content {
    width: 100%;
  }

  .screen-shot-mobile-content {
    margin-top: 22px;
  }

  /* SERVICE */

  .service-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 18px;
    padding-block: 32px;
  }

  .service-item__meta {
    grid-column: 2;
    margin-top: -8px;
    padding-top: 0;
  }

  .service-item h3 {
    font-size: 2.35rem;
  }

  .price-note {
    display: block;
    padding: 26px 22px;
  }

  .price-note__price {
    margin-top: 14px;
  }

  .price-note__text {
    margin-top: 20px;
  }

  /* ABOUT */


  .about-visual {
    width: 78%;
  }


  /* PROCESS */

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 20px;
    min-height: auto;
    padding: 26px 22px;
  }

  .process-list__num {
    margin: 4px 0 0;
  }

  .process-list h3 {
    font-size: 2.4rem;
  }

  /* CONTACT */


  .contact-panel {
    padding: 46px 22px 30px;
  }

  .contact-panel h2 {
    font-size: clamp(6rem, 22vw, 9rem);
    line-height: 1.0;
  }

  .contact-panel__jp {
    font-size: 1.4rem;
  }

  .contact-mail {
    align-items: flex-end;
    font-size: clamp(1.4rem, 4.4vw, 2rem);
    word-break: break-all;
  }

  .contact-panel__bottom {
    align-items: flex-end;
    font-size: 0.8rem;
  }

  /* FOOTER */

  .site-footer__inner {
    display: block;
    font-size: 0.8rem;
  }

  .site-footer__inner p + p {
    margin-top: 6px;
  }

  .performance-section {
    contain-intrinsic-size: 1300px;
  }
}

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

@media screen and (max-width: 390px) {
  .hero-art-svg {
    width: 195%;
    max-width: none;
    margin-left: -45%;
  }

  .hero__content h1 {
    font-size: 3.0rem;
  }

  .hero__actions {
    gap: 12px;
  }

  .button,
  .text-link {
    font-size: 1.4rem;
  }

  .contact-panel h2 {
    font-size: 5.6rem;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

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

  .js .reveal-section {
    opacity: 1;
    transform: none;
  }

  .hero-scroll {
    height: auto;
  }

  .hero-scroll .hero {
    position: relative;
    top: auto;
    height: 100lvh;
    min-height: 100lvh;
  }

  .hero__visual {
    opacity: 0 !important;
    transform: none !important;
  }

  .hero__story-title,
  .hero__story-intro,
  .hero__story-lead,
  .hero__actions {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__actions {
    pointer-events: auto;
  }
}

/* =========================================================
   HERO PROFILE CARD
========================================================= */

.hero-profile-card {
  position: absolute;
  bottom: 44px;
  left: var(--page-x);
  z-index: 4;

  width: clamp(260px, 22vw, 326px);

  color: rgba(255, 255, 255, 0.84);

  transform-origin: left bottom;

  will-change:
    transform,
    opacity;
}

/* =========================================================
   HERO PROFILE PHOTO
========================================================= */

.hero-profile-card__photo {
  position: relative;
  overflow: hidden;

  width: 100%;
  aspect-ratio: 16 / 9;

  background: transparent;

  -webkit-backdrop-filter:
    saturate(2.2)
    contrast(1.08)
    brightness(1.02);

  backdrop-filter:
    saturate(2.2)
    contrast(1.08)
    brightness(1.02);
}

.hero-profile-card__photo img {
  width: 100%;
  height: 100%;
  max-width: none;

  object-fit: cover;
  object-position: center;

  opacity: 0.8;

  mix-blend-mode: overlay;

  filter:
    grayscale(1)
    contrast(1.28)
    brightness(0.94);
}

.hero-profile-card__photo::before {
  display: none;
}

.hero-profile-card__photo::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 2;

  pointer-events: none;

  opacity: 1;
  mix-blend-mode: overlay;

  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");

  background-size: 150px 150px;
}

.hero-profile-card__body {
  padding-top: 18px;
  margin-bottom: 2.8rem;

}

.hero-profile-card__name {
  color: rgba(255, 255, 255, 0.82);

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

  font-size: clamp(2rem, 1.45vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.06em;
  margin-top: 1rem;
}

.hero-profile-card__role,
.hero-profile-card__skills {
  color: rgba(255, 255, 255, 0.5);

  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.16em;
}

.hero-profile-card__role {
  margin-top: 12px;
}

.hero-profile-card__line {
  display: block;

  width: 100%;
  height: 1px;

  margin: 22px 0 20px;
  margin-top: 16px;

  background: rgba(255, 255, 255, 0.46);
}

/* =========================================================
   MOBILE PROFILE CARD
========================================================= */

@media screen and (max-width: 767px) {
  /*
   * Pattern 1 v2：
   * 以前の180pxから約1.4倍へ。
   * スパイクで確認した大きめPROFILE。
   */
  .hero-profile-card {
    bottom: 8vh;
    left: 20px;

    width: min(68vw, 255px);
  }

  .hero-profile-card__body {
    padding-top: 13px;
  }

  .hero-profile-card__name {
    font-size: 2.5rem;
    line-height: 1.05;
  }

  .hero-profile-card__role {
    margin-top: 9px;

    font-size: 1.1rem;

    letter-spacing: 0.14em;
  }

  .hero-profile-card__line {
    margin: 15px 0 13px;
    margin-top: 8px;
  }

  /*
   * 以前はdisplay:none。
   * スパイクと同じくスマホでも表示。
   */
  .hero-profile-card__skills {
    display: block;

    font-size: 0.86rem;

    line-height: 1.5;

    letter-spacing: 0.12em;
  }
}

.hero-scroll .hero {
  border-bottom: none;
}

.hero-scroll .hero::before,
.hero-scroll .hero::after {
  display: none;
}

.site-header,
.site-header.is-scrolled {
  border-bottom: none;
}

.hero__meta--right {
  display: none;
}

/* 図形をまとめている親 */

.process-card__visual,
.skill-card__visual,
.step-card__visual {
  position: relative;
  isolation: isolate;
}

/* 図形すべてに共通でブレンド */

.process-card__visual > *,
.skill-card__visual > *,
.step-card__visual > * {
  mix-blend-mode: multiply;
}

/* =========================================================
   WORKS TAG FILTER
   今回追加：タグ表示・絞り込みのみ
========================================================= */

.works-filter-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1rem;

  margin-top: clamp(2.4rem, 3vw, 3.4rem);

  color: rgba(24, 24, 24, 0.58);
}

.works-filter-status[hidden] {
  display: none !important;
}

.works-filter-status__label {
  color: rgba(24, 24, 24, 0.34);

  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
}

.works-filter-status__name {
  color: #59595b;

  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.works-filter-status__reset {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;

  padding: 0.65rem 0.95rem;

  border: 1px solid rgba(24, 24, 24, 0.14);
  border-radius: 999px;

  background: #ffffff;
  color: rgba(24, 24, 24, 0.58);

  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;

  cursor: pointer;

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

.works-filter-status__reset:hover {
  border-color: rgba(24, 24, 24, 0.28);
  background: #f1f1ef;
  color: #59595b;
}

.works-filter-status:not([hidden]) + .works-grid {
  margin-top: clamp(2.6rem, 4vw, 4.4rem);
}

.works-card[hidden] {
  display: none !important;
}

.works-card__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;

  margin-top: 1.4rem;

  color: inherit;

  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
}

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

  min-height: 2.7rem;
  padding: 0.55rem 0.95rem;

  border: 1px solid rgba(24, 24, 24, 0.09);
  border-radius: 999px;

  background: #efefed;
  color: rgba(24, 24, 24, 0.58);

  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.035em;

  cursor: pointer;
  user-select: none;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s var(--ease);
}

.works-tag:hover,
.works-tag:focus-visible {
  border-color: rgba(24, 24, 24, 0.18);
  background: #ffffff;
  color: #59595b;

  transform: translateY(-1px);

  outline: none;
}

.works-tag.is-active,
.works-tag[aria-pressed="true"] {
  border-color: #59595b;
  background: #59595b;
  color: #ffffff;
}

.works-card__year {
  display: inline-flex;
  align-items: center;

  min-height: 2.7rem;
  padding-left: 0.15rem;

  color: rgba(24, 24, 24, 0.36);

  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
}

@media screen and (max-width: 767px) {
  .works-filter-status {
    margin-top: 2.2rem;
  }

  .works-filter-status:not([hidden]) + .works-grid {
    margin-top: 2.8rem;
  }

  .works-card__tags {
    gap: 0.55rem;
    margin-top: 1.2rem;
  }

  .works-tag {
    min-height: 2.6rem;
    padding: 0.52rem 0.85rem;

    font-size: 1.1rem;
  }

  .works-card__year {
    min-height: 2.6rem;

    font-size: 0.86rem;
  }
}

@media screen and (max-width: 767px) {


 .hero-art__glass {
    top: 0;
    border-top: 0;
  }

}

@media screen and (max-width: 767px) {

  /*
   * HERO本体
   */
  .hero__visual {
    top: 0 !important;
    border: none;
  }


  /*
   * DESIGN + BUILDだけをさらに上へ
   *
   * PROFILEの位置は変えない
   */
  .hero-art-svg {
    position: relative;
    top: -8rem;
  }


  /*
   * WebGLグラデーションに出る
   * 1px程度の横方向の継ぎ目をぼかす
   */
  .hero-gradient-canvas {
    transform: scale(1.012);
    transform-origin: center;

    filter:
      saturate(var(--hero-canvas-saturation))
      brightness(var(--hero-canvas-brightness))
      blur(0.55px);
  }

  .about-visual__frame {

  aspect-ratio: 3 / 2;
  }


  /*
   * 念のためSVG側には線を作らない
   */
  .hero-art-svg,
  .hero-art__glass,
  .hero-frosted-layer,
  .hero-frosted-canvas {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  @media screen and (max-width: 767px) {
  .hero-scroll {
    height: 560svh;
  }
}
.hero-scroll {
  height: 680svh !important;
}

.contact-section {
  margin-top: -3rem;
  padding:
    0
    12px
    12px;
}
}

/* スマホ用プロフィール画像はPCでは非表示 */
.about-visual--mobile {
  display: none;
}

@media screen and (max-width: 767px) {

  /* ABOUT */

  .about-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /*
   * PC用の左側プロフィール画像を非表示
   */
  .about-grid > .about-visual:not(.about-visual--mobile) {
    display: none;
  }

  /*
   * 見出し直下のスマホ用画像
   */
  .about-visual--mobile {
    display: block;
    width: 100%;
    margin-top: 3rem;
  }

  .about-visual--mobile .about-visual__frame {
    width: 100%;
    aspect-ratio: 3 / 2;
  }

  .about-content h2 {
    font-size: clamp(5.2rem, 16vw, 8rem);
  }

  .about-content__lead {
    margin-top: 4rem;
    font-size: 2rem;
  }

  .about-data > div {
    grid-template-columns: 82px 1fr;
    gap: 16px;
  }

  .skill-strip {
    gap: 8px;
  }

  /* =========================================================
   MOBILE MENU CLOSE BUTTON
========================================================= */

body.is-menu-open .site-header {
  z-index: 1100;

  background: transparent;
  border: 0;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


/*
 * メニューを開いている間は
 * ロゴは消して×だけ表示
 */
body.is-menu-open .site-brand {
  opacity: 0;
  visibility: hidden;
}


/*
 * ×ボタンを右上に固定
 */
body.is-menu-open .menu-button {
  position: fixed;

  top: 8px;
  right: 8px;

  z-index: 1101;

  display: block;
}


/*
 * 2本線を×にする
 */
body.is-menu-open .menu-button span {
  top: 24px;

  background: #ffffff;
}


body.is-menu-open .menu-button span:first-child {
  transform: rotate(45deg);
}


body.is-menu-open .menu-button span:last-child {
  transform: rotate(-45deg);
}

}

.contact-panel__bottom p {
display: none;
}

.contact-panel__bottom a {
font-size: 1.2rem;
}

.contact-section {
  padding: 0;
}

.site-footer p {
  font-size: 1.1rem;
}

.reveal-section {
  width:100;

}

.contact-panel {
  margin-inline: 0;
}

.skill-system__meta {
  display: none;
}

/* =========================================================
   PC HERO BUILD POSITION
   画面下から約10%の位置へ
========================================================= */

@media screen and (min-width: 768px) {
  .hero-art-word--build {
    transform: translateY(-10vh);
    transform-box: fill-box;
    transform-origin: center;
  }
}

/* =========================================
   SITE LOADER
========================================= */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999999;

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

  background: #f4f3f1;

  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}

.site-loader__inner {
  text-align: center;

  opacity: 0;
  transform: translateY(8px);

  animation: siteLoaderIn 0.45s cubic-bezier(.22, 1, .36, 1) forwards;
}

.site-loader__name {
  color: #181818;

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

  font-size: clamp(3.2rem, 4vw, 5.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
}

.site-loader__sub {
  margin-top: 1.2rem;

  color: #59595b;

  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.28em;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes siteLoaderIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

/* MOBILE HERO PROFILE POSITION */
@media screen and (max-width: 767px) {

  .hero-profile {
    transform: translateY(-8vh);
  }

}

/* =========================================================
   HERO TYPOGRAPHY
   PC / MOBILE 共通
========================================================= */


@media screen and (max-width: 767px) {

  .hero-art-svg {
    left: -24px;
  }

  .hero-art-plus,
  .hero-art-plus--glass {
    translate: 12px 0;
  }

}

@media screen and (max-width: 767px) {
  .hero-art-word--build {
    translate: 0 -20px;
  }
}
.hero-art-word,
.hero-art-word--glass {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.hero-art-word--design {
  font-size: 285px;
}

.hero-art-word--build {
  font-size: 315px;
}

.hero-art-plus {
  font-size: 245px;
  font-weight: 300;
  letter-spacing: 0;
}

.hero-art-plus,
.hero-art-plus--glass {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-style: normal;
}

/* ＋の縦位置を視覚的に中央へ */
.hero-art-plus,
.hero-art-plus--glass {
  translate: 0 -20px;
}


.hero-gradient-canvas {
  opacity: 1;

  filter:
    saturate(1.3)
    contrast(1.10)
    brightness(1.0);
}

/* =========================================================
   FROSTED GLASS TYPOGRAPHY
   ノイズ + ムラ + 外側グロー
========================================================= */


/* ---------------------------------------------------------
   白いフラクタルノイズ
   DESIGN / + / BUILD のマスク内だけに表示
--------------------------------------------------------- */

.hero-frosted-layer::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 10;

  pointer-events: none;

  /*
   * fractalNoise
   * baseFrequency="0.8"
   * numOctaves="3"
   */
  background-image:
    url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch' result='fractalNoise'/%3E%3CfeColorMatrix in='fractalNoise' type='luminanceToAlpha' result='noiseAlpha'/%3E%3CfeComponentTransfer in='noiseAlpha' result='grain'%3E%3CfeFuncA type='linear' slope='1.8' intercept='-0.72'/%3E%3C/feComponentTransfer%3E%3CfeFlood flood-color='white' flood-opacity='1' result='white'/%3E%3CfeComposite in='white' in2='grain' operator='in'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)'/%3E%3C/svg%3E");

  background-repeat: repeat;

  /* 少し大きめの粒 */
  background-size: 260px 260px;

  background-position:
    0 0,
    2px 3px,
    5px 1px;

  mix-blend-mode: screen;

  opacity: 0.30;

  filter:
    contrast(1.45)
    brightness(1.20);


  /*
   * ノイズの濃い部分・薄い部分を作る
   * 不均一なガラス感
   */
  -webkit-mask-image:
    radial-gradient(
      circle at 14% 18%,
      rgba(0,0,0,0.98) 0%,
      rgba(0,0,0,0.72) 16%,
      rgba(0,0,0,0.18) 34%,
      rgba(0,0,0,0.00) 52%
    ),
    radial-gradient(
      circle at 76% 28%,
      rgba(0,0,0,0.88) 0%,
      rgba(0,0,0,0.55) 18%,
      rgba(0,0,0,0.10) 38%,
      rgba(0,0,0,0.00) 58%
    ),
    radial-gradient(
      circle at 32% 74%,
      rgba(0,0,0,0.82) 0%,
      rgba(0,0,0,0.46) 20%,
      rgba(0,0,0,0.08) 40%,
      rgba(0,0,0,0.00) 60%
    ),
    radial-gradient(
      circle at 84% 78%,
      rgba(0,0,0,0.96) 0%,
      rgba(0,0,0,0.62) 18%,
      rgba(0,0,0,0.14) 36%,
      rgba(0,0,0,0.00) 54%
    ),
    linear-gradient(
      118deg,
      rgba(0,0,0,0.24) 0%,
      rgba(0,0,0,0.92) 24%,
      rgba(0,0,0,0.36) 48%,
      rgba(0,0,0,0.82) 72%,
      rgba(0,0,0,0.22) 100%
    );

  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;


  mask-image:
    radial-gradient(
      circle at 14% 18%,
      rgba(0,0,0,0.98) 0%,
      rgba(0,0,0,0.72) 16%,
      rgba(0,0,0,0.18) 34%,
      rgba(0,0,0,0.00) 52%
    ),
    radial-gradient(
      circle at 76% 28%,
      rgba(0,0,0,0.88) 0%,
      rgba(0,0,0,0.55) 18%,
      rgba(0,0,0,0.10) 38%,
      rgba(0,0,0,0.00) 58%
    ),
    radial-gradient(
      circle at 32% 74%,
      rgba(0,0,0,0.82) 0%,
      rgba(0,0,0,0.46) 20%,
      rgba(0,0,0,0.08) 40%,
      rgba(0,0,0,0.00) 60%
    ),
    radial-gradient(
      circle at 84% 78%,
      rgba(0,0,0,0.96) 0%,
      rgba(0,0,0,0.62) 18%,
      rgba(0,0,0,0.14) 36%,
      rgba(0,0,0,0.00) 54%
    ),
    linear-gradient(
      118deg,
      rgba(0,0,0,0.24) 0%,
      rgba(0,0,0,0.92) 24%,
      rgba(0,0,0,0.36) 48%,
      rgba(0,0,0,0.82) 72%,
      rgba(0,0,0,0.22) 100%
    );

  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}


/* ---------------------------------------------------------
   DESIGN / + / BUILD の輪郭
   線自体はシャープ
   外側だけ柔らかく発光
--------------------------------------------------------- */

.hero-art-word--glass,
.hero-art-plus--glass {
  fill: transparent;

  stroke: rgba(255, 255, 255, 0.48);

  stroke-width: var(--hero-stroke-width);

  vector-effect: non-scaling-stroke;

  stroke-linejoin: round;

  paint-order: fill stroke;

  /*
   * blur() は文字自体がボケるので使わない
   * drop-shadowで輪郭の外側だけ発光
   */
  filter:
    drop-shadow(
      0 0 2px
      rgba(255, 255, 255, 0.34)
    )
    drop-shadow(
      0 0 7px
      rgba(255, 255, 255, 0.18)
    )
    drop-shadow(
      0 0 16px
      rgba(255, 255, 255, 0.08)
    );
}

@media (max-width: 767px) {
  .hero-frosted-layer {
    display: block;
    visibility: visible;
    opacity: 1;
  }

  .hero-frosted-canvas {
    display: block;
    visibility: visible;
    opacity: 1;
  }
}

/* =========================================================
   HERO BACKGROUND NOISE
   背景全体に白いフラクタルノイズ + 大きな濃淡ムラ
========================================================= */

.hero-gradient-veil {
  overflow: hidden;
}

.hero-gradient-veil::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 1;

  pointer-events: none;

  /* 細かい白ノイズ */
  background-image:
    url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch' result='fractalNoise'/%3E%3CfeColorMatrix in='fractalNoise' type='luminanceToAlpha' result='noiseAlpha'/%3E%3CfeComponentTransfer in='noiseAlpha' result='grain'%3E%3CfeFuncA type='linear' slope='1.5' intercept='-0.56'/%3E%3C/feComponentTransfer%3E%3CfeFlood flood-color='white' flood-opacity='1' result='white'/%3E%3CfeComposite in='white' in2='grain' operator='in'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)'/%3E%3C/svg%3E");

  background-repeat: repeat;
  background-size: 260px 260px;

  mix-blend-mode: soft-light;

  /* Consoleで確認済みの強度 */
  opacity: 0.36;

  filter:
    contrast(1.35)
    brightness(1.10);

  /* 境目の出ない大きな濃淡ムラ */
  -webkit-mask-image:
    radial-gradient(
      ellipse 58% 72% at 10% 14%,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,.82) 25%,
      rgba(0,0,0,.30) 55%,
      rgba(0,0,0,.08) 76%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 52% 68% at 84% 24%,
      rgba(0,0,0,.95) 0%,
      rgba(0,0,0,.66) 28%,
      rgba(0,0,0,.18) 58%,
      transparent 88%
    ),
    radial-gradient(
      ellipse 65% 62% at 38% 92%,
      rgba(0,0,0,.88) 0%,
      rgba(0,0,0,.48) 34%,
      rgba(0,0,0,.12) 66%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 46% 60% at 94% 82%,
      rgba(0,0,0,.78) 0%,
      rgba(0,0,0,.38) 38%,
      rgba(0,0,0,.08) 70%,
      transparent 100%
    ),
    linear-gradient(
      125deg,
      rgba(0,0,0,.30) 0%,
      rgba(0,0,0,.78) 20%,
      rgba(0,0,0,.34) 43%,
      rgba(0,0,0,.92) 67%,
      rgba(0,0,0,.28) 100%
    );

  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;

  mask-image:
    radial-gradient(
      ellipse 58% 72% at 10% 14%,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,.82) 25%,
      rgba(0,0,0,.30) 55%,
      rgba(0,0,0,.08) 76%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 52% 68% at 84% 24%,
      rgba(0,0,0,.95) 0%,
      rgba(0,0,0,.66) 28%,
      rgba(0,0,0,.18) 58%,
      transparent 88%
    ),
    radial-gradient(
      ellipse 65% 62% at 38% 92%,
      rgba(0,0,0,.88) 0%,
      rgba(0,0,0,.48) 34%,
      rgba(0,0,0,.12) 66%,
      transparent 100%
    ),
    radial-gradient(
      ellipse 46% 60% at 94% 82%,
      rgba(0,0,0,.78) 0%,
      rgba(0,0,0,.38) 38%,
      rgba(0,0,0,.08) 70%,
      transparent 100%
    ),
    linear-gradient(
      125deg,
      rgba(0,0,0,.30) 0%,
      rgba(0,0,0,.78) 20%,
      rgba(0,0,0,.34) 43%,
      rgba(0,0,0,.92) 67%,
      rgba(0,0,0,.28) 100%
    );

  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}