/* ========================================
   World Spirits - Stylesheet
   Reference: box1.co.jp design system
   ======================================== */

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

:root {
  --color-blue: #004a99;
  --color-blue-dark: #003d7a;
  --color-main: #1a1a2e;
  --color-main-light: #2d2d44;
  --color-accent: #c4a265;
  --color-accent-light: #d4b87a;
  --color-white: #ffffff;
  --color-offwhite: #f8f6f3;
  --color-text: #333333;
  --color-text-light: #888888;
  --color-border: #e5e0d8;
  --font-en: "Fustat", "Helvetica Neue", sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --container-l: 1280px;
  --container: 1080px;
  --header-h: 80px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul, ol {
  list-style: none;
}

.u-uppercase {
  text-transform: uppercase;
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

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

/* ========================================
   Header - box1 style
   ======================================== */
.g-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transform: translateY(-100%);
}

body.is-loaded .g-header {
  animation: headerSlideDown 0.8s 0.2s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

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

.g-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.g-header.is-scrolled .g-header__logo-en,
.g-header.is-scrolled .g-header-nav__link {
  color: var(--color-blue);
}

.g-header.is-scrolled .g-header__logo-ja {
  color: var(--color-blue);
  opacity: 0.6;
}

.g-header.is-scrolled .c-button--header {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-white);
}

.g-header.is-scrolled .g-header__menu-btn span {
  background: var(--color-blue);
}

.g-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-l);
  margin: 0 auto;
  padding: 0 40px;
}

.g-header__logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: opacity 0.3s;
}

.g-header__logo:hover {
  opacity: 0.7;
}

.g-header__logo-en {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-white);
  line-height: 1.2;
  transition: color 0.4s;
}

.g-header__logo-ja {
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
  transition: color 0.4s;
}

.g-header__center {
  display: flex;
  align-items: center;
}

.g-header-nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.g-header-nav__link {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.4s;
}

.g-header-nav__link:hover {
  opacity: 0.7;
}

.g-header-nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.g-header-nav__link:hover::after {
  width: 100%;
}

.g-header__right {
  display: flex;
  align-items: center;
}

/* Contact Button - box1 style */
.c-button--header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 12px 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s var(--ease), border-color 0.3s, color 0.3s;
}

.c-button--header:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}

.c-button--header .arrow {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg) scale(0.5);
}

/* Mobile menu button */
.g-header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 101;
}

.g-header__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  transition: transform 0.3s, opacity 0.3s, background 0.4s;
}

.g-header__menu-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.g-header__menu-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.g-header__menu-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Hero - box1 style (full viewport, dark bg)
   ======================================== */
.p-home-first {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--color-blue);
  overflow: hidden;
}

/* Blue grid overlay - box1 style */
.p-home-first__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Content */
.p-home-first__inner {
  position: relative;
  z-index: 3;
  max-width: var(--container-l);
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
}

.p-home-first__title {
  font-family: var(--font-en);
  font-size: clamp(48px, 8.5vw, 130px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.p-home-first__title-line1,
.p-home-first__title-line2 {
  display: inline-block;
}

.p-home-first__title-line1 {
  margin-bottom: 0.15em;
}

.p-home-first__title-line2 {
  padding-left: 18vw;
  white-space: nowrap;
}

/* Per-character clip mask animation */
.p-home-first__char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.1;
}

.p-home-first__char {
  display: inline-block;
  transform: translateY(110%);
}

body.is-loaded .p-home-first__char {
  animation: heroCharReveal 0.6s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

.p-home-first__char-wrap--space {
  width: 0.3em;
}

@keyframes heroCharReveal {
  0% {
    transform: translateY(110%);
  }
  100% {
    transform: translateY(0);
  }
}

.p-home-first__copy {
  margin-top: 48px;
}

.p-home-first__copy-l {
  opacity: 0;
  transform: translateY(30px);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.08em;
  line-height: 1.6;
}

body.is-loaded .p-home-first__copy-l {
  animation: heroFadeUp 0.9s 2.2s forwards var(--ease);
}

.p-home-first__copy-s {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
}

body.is-loaded .p-home-first__copy-s {
  animation: heroFadeUp 0.9s 2.5s forwards var(--ease);
}

/* Scroll indicator - box1 circle style */
.p-home-first__scroll {
  position: absolute;
  bottom: 60px;
  right: 100px;
  z-index: 3;
  opacity: 0;
}

body.is-loaded .p-home-first__scroll {
  animation: heroFadeUp 1s 2.8s forwards var(--ease);
}

.p-home-first__scroll-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color 0.3s;
  cursor: pointer;
}

.p-home-first__scroll-circle:hover {
  border-color: var(--color-white);
}

.p-home-first__scroll-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-home-first__scroll-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 2.5;
  animation: scrollBounce 2s infinite;
}

.p-home-first__scroll-text {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--color-white);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

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

/* ========================================
   Home Second - Scroll Animation (box1 "Create THE ONLY BOOTH")
   ======================================== */
.p-home-second {
  position: relative;
  height: 300vh;
  background: var(--color-blue);
}

.p-home-second__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

.p-home-second__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  z-index: 2;
  will-change: transform;
}

.p-home-second__content {
  text-align: left;
  width: 100%;
  max-width: var(--container-l);
  margin: 0 auto;
  padding: 0 60px;
}

.p-home-second__create {
  font-family: var(--font-en);
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  margin-left: 0.2em;
  opacity: var(--create-opacity, 1);
  transform: translateY(var(--create-y, 0px));
}

.p-home-second__main {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  overflow: hidden;
}

.p-home-second__the-only {
  font-family: var(--font-en);
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
}

.p-home-second__line {
  display: inline-block;
  width: var(--line-width, 80px);
  min-width: 0;
  height: 3px;
  background: var(--color-white);
  margin: 0 20px;
  vertical-align: middle;
  flex-shrink: 0;
}

.p-home-second__elegance {
  font-family: var(--font-en);
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
  opacity: var(--elegance-opacity, 0);
  transform: translateX(var(--elegance-x, 30px));
  clip-path: inset(0 var(--elegance-clip, 100%) 0 0);
}

.p-home-second__info {
  text-align: center;
  margin-top: 60px;
  opacity: var(--info-opacity, 0);
  transform: translateY(var(--info-y, 30px));
}

.p-home-second__info-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.p-home-second__info-text {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 20px;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* ========================================
   News Section - box1 style (blue bg + grid)
   ======================================== */
.p-home-news {
  position: relative;
  background: var(--color-blue);
  padding: 120px 0 0;
}

.p-home-news__grid-overlay {
  display: none;
}

.p-home-news__inner {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.p-home-news__left {
  flex-shrink: 0;
  width: 220px;
}

.p-home-news__title-en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.p-home-news__title-ja {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
  letter-spacing: 0.12em;
}

.p-home-news__right {
  flex: 1;
  min-width: 0;
}

/* News list items */
.c-news-list__item {
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: -1px;
}

.c-news-list__link {
  display: flex;
  align-items: center;
  padding: 28px 32px;
  text-decoration: none;
  transition: background 0.3s;
}

.c-news-list__link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.c-news-list__head {
  flex-shrink: 0;
  width: 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.c-news-list__date {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.04em;
}

.c-news-list__category {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--color-white);
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.1);
}

.c-news-list__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 32px;
  gap: 20px;
}

.c-news-list__title {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.c-news-list__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--color-white);
}

/* Staff Blog link - box1 style */
.p-home-news__blog {
  position: relative;
  z-index: 1;
  padding: 60px 0 80px;
  margin-top: 60px;
}

.p-home-news__blog-link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-decoration: none;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.3s;
}

.p-home-news__blog-link:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.p-home-news__blog-en {
  font-family: var(--font-en);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  line-height: 1;
}

.p-home-news__blog-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.p-home-news__blog-ja {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
}

.p-home-news__blog-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: var(--color-white);
}

/* ========================================
   Message Section - white bg, centered text
   ======================================== */
.p-home-message {
  background: var(--color-white);
  position: relative;
}

/* SP-only elements: hidden on desktop */
.p-home-message__sp-vision,
.p-home-message__sp-cards {
  display: none;
}

.p-home-message__inner {
  padding: 160px 40px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.p-home-message__texts {
  text-align: center;
}

.p-home-message__texts p {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.08em;
  line-height: 2.4;
}

/* Our Vision - sticky bottom text that grows */
.p-home-vision {
  height: 1000vh;
  position: relative;
  margin-top: -60px;
}

.p-home-vision__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 30vh;
  will-change: transform;
}

.p-home-vision__text {
  font-family: var(--font-en);
  font-size: var(--vision-size, 60px);
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: var(--vision-opacity, 1);
  line-height: 1;
}

/* ========================================
   Service Showcase - box1 "Our Service" style
   ======================================== */
.p-service-show {
  background: transparent;
  position: relative;
  margin-top: -800vh;
  z-index: 2;
}

.p-service-show__count {
  text-align: center;
  padding: 120px 40px 80px;
}

.p-service-show__count-label {
  font-size: 14px;
  color: var(--color-text-light);
  letter-spacing: 0.1em;
}

.p-service-show__count-number {
  font-family: var(--font-en);
  font-size: clamp(64px, 8vw, 100px);
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.2;
}

.p-service-show__count-text {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.08em;
}

.p-service-show__scroll {
  height: 500vh;
  position: relative;
}

.p-service-show__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

/* Background text - hidden since Our Vision is behind */
.p-service-show__bg {
  display: none;
}

/* 3-column layout */
.p-service-show__layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: var(--container-l);
  padding: 0 60px;
  position: relative;
  z-index: 1;
}

/* Left column */
.p-service-show__left {
  position: relative;
  height: 200px;
}

.p-service-show__left-item {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
}

.p-service-show__left-item.is-active {
  opacity: 1;
}

.p-service-show__left-item.is-below {
  transform: translateY(40px);
}

.p-service-show__left-item.is-above {
  transform: translateY(-80px);
  opacity: 0;
}

.p-service-show__left-en {
  font-family: var(--font-en);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.p-service-show__left-ja {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  color: var(--color-text);
  margin-top: 8px;
  letter-spacing: 0.08em;
}

/* Center: cube */
.p-service-show__center {
  perspective: 1400px;
}

.p-service-show__cube {
  --cube-size: min(420px, 40vw);
  width: var(--cube-size);
  height: var(--cube-size);
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--cube-rx, 0deg));
}

.p-service-show__face {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.p-service-show__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-service-show__face--1 {
  transform: rotateX(0deg) translateZ(calc(var(--cube-size) / 2));
}

.p-service-show__face--2 {
  transform: rotateX(-90deg) translateZ(calc(var(--cube-size) / 2));
}

.p-service-show__face--3 {
  transform: rotateX(-180deg) translateZ(calc(var(--cube-size) / 2));
}

/* Right column */
.p-service-show__right {
  position: relative;
  height: 200px;
}

.p-service-show__right-item {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  text-align: right;
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
}

.p-service-show__right-item.is-active {
  opacity: 1;
}

.p-service-show__right-item.is-below {
  transform: translateY(40px);
}

.p-service-show__right-item.is-above {
  transform: translateY(-80px);
  opacity: 0;
}

.p-service-show__right-num {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-left: 2px solid var(--color-blue);
  padding-left: 12px;
  text-align: left;
  width: fit-content;
  margin-left: auto;
}

.p-service-show__right-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.06em;
  line-height: 1.5;
}

/* ========================================
   Section: common patterns (box1 style)
   ======================================== */
.section {
  padding: 140px 0;
  position: relative;
}

.section--dark {
  background: var(--color-main);
  color: var(--color-white);
}

.section--accent {
  background: var(--color-offwhite);
}

/* Section header - box1 uses big EN title + small JA subtitle */
.c-section-header {
  margin-bottom: 64px;
}

.c-section-header--center {
  text-align: center;
}

.c-section-title-en {
  font-family: var(--font-en);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--color-main);
}

.section--dark .c-section-title-en {
  color: var(--color-white);
}

.c-section-title-ja {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-top: 12px;
}

/* ========================================
   About Section
   ======================================== */
.p-about {
  background: var(--color-blue);
  padding: 120px 0 140px;
}

.p-about__inner {
  max-width: var(--container-l);
  margin: 0 auto;
  padding: 0 60px;
}

.p-about__content {
  max-width: 800px;
}

.p-about__title {
  font-family: var(--font-en);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.p-about__subtitle {
  display: block;
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  margin-bottom: 60px;
}

.p-about__lead {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 2;
  color: #fff;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.p-about__text {
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.85);
}

.p-about__text + .p-about__text {
  margin-top: 16px;
}

/* View More Button - box1 style */
.c-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-main);
  text-decoration: none;
  margin-top: 40px;
  transition: color 0.3s;
  border: none;
  background: none;
  cursor: pointer;
}

.c-button:hover {
  color: var(--color-accent);
}

.c-button__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}

.c-button:hover .c-button__dot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.c-button__dot svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ========================================
   Service/Products - box1 "Our Service" style
   ======================================== */
.p-service {
  background: var(--color-blue);
  position: relative;
  overflow: hidden;
}

/* Grid background lines - same as hero */
.p-service__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 80px 80px;
}

.p-service__inner {
  max-width: var(--container-l);
  margin: 0 auto;
  padding: 120px 60px 140px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.p-service__header {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
}

.p-service__title {
  font-family: var(--font-en);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.p-service__subtitle {
  display: block;
  font-size: clamp(14px, 1.5vw, 18px);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  margin-top: 12px;
}

.p-service__items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-service__item {
  border: 2px solid rgba(255,255,255,0.45);
  padding: 48px 40px;
  background: var(--color-blue);
  position: relative;
  z-index: 1;
}

.p-service__item-content {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 40px;
}

.p-service__item-title {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.12em;
  line-height: 1.4;
  grid-row: 1;
  grid-column: 1;
}

.p-service__item-title-en {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  grid-row: 2;
  grid-column: 1;
}

.p-service__item-text {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 2;
  color: rgba(255,255,255,0.85);
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
}

/* ========================================
   Sales Record / 売上実績
   ======================================== */
.p-sales {
  background: var(--color-offwhite);
  padding: 100px 0 120px;
  overflow: hidden;
}

.p-sales__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 60px;
}

.p-sales__header {
  text-align: center;
  margin-bottom: 60px;
}

.p-sales__title {
  font-family: var(--font-en);
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1;
  letter-spacing: 0.02em;
}

.p-sales__subtitle {
  display: block;
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--color-text-light);
  letter-spacing: 0.08em;
  margin-top: 12px;
}

/* Accordion */
.p-sales__accordion {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.p-sales__year-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.p-sales__cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-sales__card {
  border-radius: 4px;
  overflow: hidden;
}

.p-sales__card-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: var(--color-blue);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.25s;
  font-family: inherit;
}

.p-sales__card-header:hover {
  background: var(--color-blue-dark);
}

.p-sales__card-header[aria-expanded="true"] {
  background: var(--color-blue-dark);
}

.p-sales__card-label {
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.p-sales__card-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.p-sales__card-icon::before,
.p-sales__card-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  transition: transform 0.3s;
}

.p-sales__card-icon::before {
  width: 18px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.p-sales__card-icon::after {
  width: 2px;
  height: 18px;
  transform: translate(-50%, -50%);
}

.p-sales__card-header[aria-expanded="true"] .p-sales__card-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.p-sales__card-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
}

.p-sales__card-body-inner {
  overflow: hidden;
}

.p-sales__card-body.is-open {
  grid-template-rows: 1fr;
}

/* Table inside accordion */
.p-sales__table {
  width: 100%;
  border-collapse: collapse;
}

.p-sales__table thead {
  background: rgba(0, 74, 153, 0.06);
}

.p-sales__table th {
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light);
  text-align: left;
  letter-spacing: 0.04em;
}

.p-sales__th-amount {
  text-align: right !important;
  font-size: 14px;
}

.p-sales__table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background 0.2s;
}

.p-sales__table tbody tr:last-child {
  border-bottom: none;
}

.p-sales__table tbody tr:hover {
  background: rgba(0, 74, 153, 0.03);
}

.p-sales__table td {
  padding: 13px 24px;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
}

.p-sales__td-amount {
  text-align: right;
  font-family: var(--font-en);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

/* ========================================
   Works/Gallery - box1 "Works" grid style
   ======================================== */
.p-works {
  padding: 100px 0 140px;
  overflow: hidden;
}

.p-works__header {
  text-align: center;
  margin-bottom: 60px;
}

.p-works__title {
  font-family: var(--font-en);
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.p-works__subtitle {
  display: block;
  font-size: clamp(13px, 1.5vw, 16px);
  color: var(--color-blue);
  letter-spacing: 0.12em;
  margin-top: 12px;
}

/* Carousel area with grid bg */
.p-works__carousel-area {
  position: relative;
  padding: 20px 0;
}

.p-works__grid-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 60px;
  bottom: 60px;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* 3D Carousel */
.p-works__carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
  perspective: 1400px;
  position: relative;
  z-index: 1;
}

.p-works__slide {
  position: absolute;
  width: min(440px, 34vw);
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease), z-index 0s;
  cursor: pointer;
}

.p-works__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slide info */
.p-works__info {
  text-align: center;
  padding: 48px 40px 0;
}

.p-works__info-title {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.04em;
  transition: opacity 0.4s var(--ease);
}

.p-works__info-product {
  font-size: clamp(13px, 1.3vw, 16px);
  color: var(--color-text-light);
  letter-spacing: 0.06em;
  margin-top: 12px;
  transition: opacity 0.4s var(--ease);
}

.p-works__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.p-works__progress-num {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-main);
  letter-spacing: 0.04em;
  min-width: 28px;
}

.p-works__progress-bar {
  width: 200px;
  height: 3px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.p-works__progress-fill {
  height: 100%;
  background: var(--color-blue);
  border-radius: 2px;
  transition: width 0.5s var(--ease);
}

/* ========================================
   About Us / Company - box1 "About" style
   ======================================== */
.p-company {
  padding: 120px 0 140px;
  background: var(--color-blue);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* Grid overlay - same as hero */
.p-company__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.p-company__layout {
  max-width: var(--container-l);
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.p-company__layout--philosophy {
  margin-top: 100px;
}

.p-company__header {
  padding-top: 20px;
}

.p-company__title {
  font-family: var(--font-en);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.p-company__subtitle {
  display: block;
  font-size: clamp(14px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
}

.p-company__table-wrap {
  background: #1f3a6e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px;
  position: relative;
  z-index: 1;
}

.p-company__table {
  width: 100%;
  border-collapse: collapse;
}

.p-company__table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.p-company__table th,
.p-company__table td {
  padding: 24px 0;
  font-size: clamp(13px, 1.3vw, 15px);
  text-align: left;
  vertical-align: top;
}

.p-company__table th {
  width: 140px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  padding-right: 40px;
  white-space: nowrap;
}

.p-company__table td {
  color: #fff;
  line-height: 1.8;
}

.p-company__philosophy-wrap {
  background: var(--color-blue);
  padding: 40px;
  position: relative;
  z-index: 1;
}

/* ========================================
   Philosophy - box1 style cards
   ======================================== */
.p-philosophy__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.p-philosophy__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding: 36px 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
}

.p-philosophy__item-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-white);
}

.p-philosophy__item-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.p-philosophy__item-text {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Clients - partner logos area
   ======================================== */
.p-clients {
  padding: 140px 0;
  background: var(--color-offwhite);
}

.p-clients__header {
  text-align: center;
  margin-bottom: 60px;
}

.p-clients__title {
  font-family: var(--font-en);
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.p-clients__subtitle {
  display: block;
  font-size: clamp(13px, 1.5vw, 16px);
  color: var(--color-blue);
  letter-spacing: 0.12em;
  margin-top: 12px;
}

.p-clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.p-clients__item {
  background: var(--color-white);
  padding: 28px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s, transform 0.3s;
}

.p-clients__item:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.p-clients__note {
  text-align: right;
  margin-top: 16px;
  font-size: 12px;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
}

/* ========================================
   Contact - box1 "Contact Us" style
   ======================================== */
.p-contact {
  padding: 100px 0;
  background: var(--color-blue);
  position: relative;
  overflow: hidden;
  z-index: 3;
}

.p-contact__grid-overlay {
  display: none;
}

.p-contact__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.p-contact__left {
  flex: 1;
}

.p-contact__title {
  font-family: var(--font-en);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.p-contact__subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
  margin-top: 8px;
}

.p-contact__tel {
  margin-top: 28px;
}

.p-contact__tel a {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.06em;
  transition: color 0.3s;
}

.p-contact__tel a:hover {
  color: var(--color-accent);
}

.p-contact__tel-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.p-contact__right {
  display: flex;
  align-items: center;
}

.p-contact__button {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  color: var(--color-blue);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 28px 56px;
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s;
}

.p-contact__button:hover {
  background: rgba(255, 255, 255, 0.85);
}

.p-contact__button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

/* ========================================
   Footer - box1 style
   ======================================== */
.g-footer {
  background: var(--color-main);
  padding: 60px 0 40px;
  color: var(--color-white);
}

.g-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: start;
}

.g-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.g-footer__nav-link {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.g-footer__nav-link:hover {
  color: var(--color-accent);
}

.g-footer__logo-en {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-white);
}

.g-footer__logo-ja {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
  letter-spacing: 0.1em;
}

.g-footer__info {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.8;
}

.g-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.g-footer__copy {
  font-family: var(--font-en);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.06em;
}

.g-footer__policy {
  display: flex;
  gap: 24px;
}

.g-footer__policy-link {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.3s;
}

.g-footer__policy-link:hover {
  color: var(--color-accent);
}

/* ========================================
   Loading Screen
   ======================================== */
.c-loading {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-loading.is-done {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.c-loading.is-hidden {
  visibility: hidden;
}

/* Blue gradient overlay that sweeps from top - behind content */
.c-loading__blue {
  position: absolute;
  inset: 0;
  background: var(--color-blue);
  transform: translateY(-100%);
  z-index: 0;
}

.c-loading__blue.is-active {
  animation: loadingBlueSweep 0.7s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

.c-loading.is-blue .c-loading__letter {
  fill: #fff;
  transition: fill 0.4s;
}

@keyframes loadingBlueSweep {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.c-loading__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.c-loading__svg {
  width: min(560px, 88vw);
  height: auto;
}

.c-loading__letter {
  opacity: 0;
  animation: loadingLetterIn 0.25s forwards ease-out;
}

@keyframes loadingLetterIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.c-loading__logo {
  width: min(280px, 55vw);
  height: auto;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  animation: loadingLogoIn 0.5s forwards ease-out;
}

@keyframes loadingLogoIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Page Transition
   ======================================== */
.c-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: none;
}

.c-transition.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.c-transition.is-fadeout {
  transition: opacity 0.9s ease, visibility 0.9s ease;
  opacity: 0;
  pointer-events: none;
}

.c-transition__eagle {
  width: 200px;
  height: auto;
  opacity: 0;
}

.c-transition.is-active .c-transition__eagle {
  animation: eagleFly 1.2s forwards cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes eagleFly {
  0% {
    opacity: 0;
    transform: translate(60vw, 60vh) scale(0.3) rotate(10deg);
  }
  30% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  55% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(-60vw, -60vh) scale(0.3) rotate(-10deg);
  }
}

/* ========================================
   Scroll Animations
   ======================================== */
.js-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.js-reveal--delay1 { transition-delay: 0.15s; }
.js-reveal--delay2 { transition-delay: 0.3s; }
.js-reveal--delay3 { transition-delay: 0.45s; }
.js-reveal--delay4 { transition-delay: 0.6s; }

/* Slide in from right */
.js-reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js-reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========================================
   Page Top Button
   ======================================== */
.c-pagetop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-main);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s, background 0.3s;
  z-index: 90;
}

.c-pagetop.is-visible {
  opacity: 1;
  visibility: visible;
}

.c-pagetop:hover {
  background: var(--color-accent);
}

.c-pagetop svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

/* ========================================
   Responsive
   ======================================== */
/* ========================================
   Tablet (iPad) - max 1024px
   ======================================== */
@media (max-width: 1024px) {
  .container, .container--l {
    padding: 0 32px;
  }

  .g-header__inner {
    padding: 0 32px;
  }

  /* Hero */
  .p-home-first__title {
    font-size: clamp(40px, 7vw, 80px);
  }

  .p-home-first__title-line2 {
    padding-left: 10vw;
  }

  .p-home-first__copy-l {
    font-size: 24px;
  }

  .p-home-first__copy-s {
    font-size: 15px;
  }

  .p-home-first__scroll {
    right: 40px;
    bottom: 40px;
  }

  .p-home-first__scroll-circle {
    width: 110px;
    height: 110px;
  }

  /* Second section */
  .p-home-second__display {
    font-size: clamp(40px, 8vw, 80px);
  }

  /* About */
  .p-about {
    padding: 80px 0 100px;
  }

  .p-about__inner {
    padding: 0 32px;
  }

  /* Products */
  .p-service__inner {
    grid-template-columns: 1fr;
    padding: 80px 32px 100px;
    gap: 40px;
  }

  .p-service__header {
    position: static;
    transform: none;
  }

  .p-service__item-content {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .p-service__item-text {
    grid-row: auto;
    grid-column: auto;
  }

  /* Service Show (Cube) */
  .p-service-show__layout {
    gap: 24px;
    padding: 0 32px;
  }

  .p-service-show__cube {
    --cube-size: min(320px, 50vw);
  }

  /* Sales Record */
  .p-sales {
    padding: 80px 0 100px;
  }

  .p-sales__inner {
    padding: 0 32px;
  }

  .p-sales__card-header {
    padding: 16px 24px;
  }

  /* Works */
  .p-works__carousel {
    height: 360px;
  }

  .p-works__slide {
    width: min(340px, 40vw);
  }

  .p-works__info {
    padding: 32px 24px 0;
  }

  /* Company */
  .p-company {
    padding: 80px 0 100px;
  }

  .p-company__layout {
    grid-template-columns: 1fr;
    padding: 0 32px;
    gap: 32px;
  }

  .p-company__header {
    order: -1;
  }

  .p-company__table-wrap {
    padding: 32px;
  }

  /* Clients */
  .p-clients__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact */
  .p-contact {
    padding: 80px 0;
  }

  .p-contact__button {
    padding: 22px 40px;
    font-size: 16px;
  }

  /* Footer */
  .g-footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* News */
  .p-home-news__inner {
    flex-direction: column;
    gap: 40px;
  }

  .p-home-news__left {
    width: 100%;
  }

  /* Message */
  .p-home-message__text p {
    font-size: 18px;
  }
}

/* ========================================
   Mobile - max 767px
   ======================================== */
@media (max-width: 767px) {
  :root {
    --header-h: 64px;
  }

  .container, .container--l {
    padding: 0 16px;
  }

  .g-header__inner {
    padding: 0 16px;
  }

  /* Mobile nav */
  .g-header__center {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    z-index: 100;
  }

  .g-header__center.is-open {
    opacity: 1;
    visibility: visible;
  }

  .g-header-nav__list {
    flex-direction: column;
    gap: 28px;
  }

  .g-header-nav__link {
    font-size: 18px;
  }

  .c-button--header {
    display: none;
  }

  .g-header__menu-btn {
    display: flex;
  }

  .section {
    padding: 60px 0;
  }

  /* Mobile nav - fix text color on white bg */
  .g-header__center .g-header-nav__link {
    color: var(--color-blue);
  }

  /* Hero */
  .p-home-first__inner {
    padding: 0 16px;
  }

  .p-home-first__title {
    font-size: clamp(40px, 12vw, 64px);
  }

  .p-home-first__title-line1 {
    margin-bottom: 0.1em;
  }

  .p-home-first__title-line2 {
    padding-left: 8vw;
  }

  .p-home-first__copy {
    margin-top: 32px;
  }

  .p-home-first__copy-l {
    font-size: 20px;
  }

  .p-home-first__copy-s {
    font-size: 13px;
    margin-top: 8px;
  }

  .p-home-first__scroll {
    right: 0;
    left: 0;
    bottom: 80px;
    display: flex;
    justify-content: center;
  }

  .p-home-first__scroll-circle {
    width: 80px;
    height: 80px;
    gap: 4px;
  }

  .p-home-first__scroll-text {
    font-size: 10px;
  }

  .p-home-first__scroll-icon svg {
    width: 14px;
    height: 14px;
  }

  /* Second section */
  .p-home-second__main {
    flex-wrap: wrap;
  }

  .p-home-second__line {
    display: none;
  }

  .p-home-second__the-only {
    font-size: clamp(36px, 10vw, 60px);
  }

  .p-home-second__elegance {
    font-size: clamp(36px, 10vw, 60px);
    width: 100%;
  }

  .p-home-second__create {
    font-size: clamp(18px, 5vw, 32px);
  }

  .p-home-second__content {
    padding: 0 20px;
  }

  .p-home-second__info-title {
    font-size: 18px;
  }

  .p-home-second__info-text {
    font-size: 13px;
  }

  /* Vision */
  .p-home-vision__sticky {
    padding-top: 20vh;
  }

  /* Service Show (Cube) */
  .p-service-show__count {
    padding: 80px 20px 48px;
  }

  .p-service-show__layout {
    grid-template-columns: auto;
    gap: 16px;
    padding: 0 16px;
    justify-items: center;
  }

  .p-service-show__left,
  .p-service-show__right {
    display: none;
  }

  .p-service-show__cube {
    --cube-size: min(260px, 70vw);
  }

  /* About */
  .p-about {
    padding: 60px 0 80px;
  }

  .p-about__inner {
    padding: 0 16px;
  }

  .p-about__title {
    font-size: 36px;
  }

  .p-about__subtitle {
    margin-bottom: 36px;
  }

  .p-about__lead {
    font-size: 16px;
  }

  .p-about__text {
    font-size: 14px;
  }

  /* Products */
  .p-service__inner {
    grid-template-columns: 1fr;
    padding: 60px 16px 80px;
    gap: 32px;
  }

  .p-service__header {
    position: static;
    transform: none;
  }

  .p-service__item {
    padding: 28px 20px;
  }

  .p-service__item-content {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .p-service__item-text {
    grid-row: auto;
    grid-column: auto;
    margin-top: 8px;
  }

  /* Sales Record */
  .p-sales {
    padding: 60px 0 80px;
  }

  .p-sales__inner {
    padding: 0 16px;
  }

  .p-sales__header {
    margin-bottom: 32px;
  }

  .p-sales__accordion {
    gap: 36px;
  }

  .p-sales__year-title {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .p-sales__card-header {
    padding: 14px 18px;
  }

  .p-sales__card-label {
    font-size: 14px;
  }

  .p-sales__table th {
    padding: 10px 14px;
    font-size: 12px;
  }

  .p-sales__table td {
    padding: 10px 14px;
    font-size: 13px;
  }

  /* Works */
  .p-works {
    padding: 60px 0 80px;
  }

  .p-works__carousel {
    height: 240px;
  }

  .p-works__slide {
    width: min(220px, 55vw);
  }

  .p-works__info {
    padding: 24px 16px 0;
  }

  .p-works__info-title {
    font-size: 16px;
  }

  .p-works__progress {
    gap: 12px;
    margin-top: 24px;
  }

  .p-works__progress-bar {
    width: 120px;
  }

  /* Clients */
  .p-clients {
    padding: 80px 0;
  }

  .p-clients__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .p-clients__item {
    padding: 20px 12px;
    font-size: 12px;
  }

  /* Company */
  .p-company {
    padding: 60px 0 80px;
  }

  .p-company__layout {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 24px;
  }

  .p-company__header {
    order: -1;
  }

  .p-company__title {
    font-size: 36px;
  }

  .p-company__table-wrap {
    padding: 20px;
  }

  .p-company__table th {
    width: 100px;
    padding-right: 16px;
    font-size: 12px;
  }

  .p-company__table td {
    font-size: 13px;
  }

  .p-company__layout--philosophy {
    margin-top: 60px;
  }

  /* Contact */
  .p-contact {
    padding: 60px 0;
  }

  .p-contact__inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .p-contact__title {
    font-size: 28px;
  }

  .p-contact__button {
    padding: 20px 36px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }

  .p-contact__tel a {
    font-size: 22px;
  }

  /* News */
  .c-news-list__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
  }

  .c-news-list__head {
    width: 100%;
    flex-direction: row;
    align-items: center;
    border-right: none;
    padding-right: 0;
    border-bottom: none;
    gap: 8px;
  }

  .c-news-list__body {
    padding-left: 0;
  }

  .p-home-news__blog-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Message: SP layout */
  .p-home-message {
    padding: 0;
  }

  .p-home-message__sp-vision {
    display: block;
    text-align: center;
    padding: 60px 20px 24px;
    background: var(--color-white);
  }

  .p-home-message__sp-vision-en {
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-blue);
    letter-spacing: 0.02em;
    line-height: 1.2;
  }

  .p-home-message__sp-vision-ja {
    display: block;
    font-size: 13px;
    color: var(--color-blue);
    letter-spacing: 0.08em;
    margin-top: 8px;
    opacity: 0.7;
  }

  .p-home-message__inner {
    padding: 32px 20px 40px;
  }

  .p-home-message__texts p {
    font-size: 15px;
  }

  /* SP card slider */
  .p-home-message__sp-cards {
    display: block;
    padding: 0 0 60px;
    background: var(--color-offwhite);
    position: relative;
  }

  .p-home-message__sp-slider {
    display: flex;
    gap: 16px;
    padding: 32px 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .p-home-message__sp-slider::-webkit-scrollbar {
    display: none;
  }

  .p-home-message__sp-card {
    flex-shrink: 0;
    width: 85vw;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: center;
  }

  .p-home-message__sp-card-head {
    text-align: center;
    padding: 28px 20px 20px;
  }

  .p-home-message__sp-card-num {
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-blue);
    letter-spacing: 0.06em;
  }

  .p-home-message__sp-card-en {
    font-family: var(--font-en);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-blue);
    letter-spacing: 0.02em;
    margin-top: 4px;
  }

  .p-home-message__sp-card-ja {
    font-size: 14px;
    color: var(--color-text);
    margin-top: 4px;
    letter-spacing: 0.06em;
  }

  .p-home-message__sp-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
  }

  .p-home-message__sp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .p-home-message__sp-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-main);
    text-align: center;
    padding: 20px 20px 28px;
    letter-spacing: 0.04em;
    line-height: 1.6;
  }

  /* Hide vision + cube on SP */
  .p-home-vision {
    display: none;
  }

  .p-service-show {
    display: none;
  }

  /* Hide pagetop on mobile */
  .c-pagetop {
    display: none !important;
  }

  /* Footer */
  .g-footer {
    padding: 60px 0 32px;
  }

  .g-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 16px;
  }

  .g-footer__nav {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .g-footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 32px 16px 0;
  }

  .g-footer__policy {
    flex-wrap: wrap;
    justify-content: center;
  }
}
