/* ==========================================================================
   funs株式会社 コーポレートサイト
   style.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens
   -------------------------------------------------------------------------- */
:root {
  --color-navy: #0b1f3a;
  --color-navy-deep: #06142a;
  --color-navy-light: #163a63;
  --color-accent: #2f80ed;
  --color-accent-soft: #6fa8ff;
  --color-text: #1a1a1a;
  --color-text-sub: #5c6570;
  --color-line: #dfe3e8;
  --color-bg: #ffffff;
  --color-bg-gray: #f5f7fa;

  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --header-height: 80px;
  --container-width: 1160px;
  --container-padding: 40px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ja);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.06em;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}

ul,
ol {
  list-style: none;
}

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container-width) + var(--container-padding) * 2);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: 140px 0;
}

.section-heading {
  margin-bottom: 72px;
}

.section-en {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 18px;
}

.section-ja {
  font-size: 3.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: var(--color-navy);
}

.section-heading-light .section-en {
  color: var(--color-accent-soft);
}

.section-heading-light .section-ja {
  color: #ffffff;
}

.section-intro {
  font-size: 1.7rem;
  color: var(--color-text-sub);
  margin-top: -32px;
  margin-bottom: 64px;
}

/* --------------------------------------------------------------------------
   Fade-in animation
   -------------------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

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

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  color: #ffffff;
  background: transparent;
  transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}

.site-header.is-scrolled {
  height: 70px;
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 40px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
}

.logo-mark {
  font-family: var(--font-en);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  padding: 6px 0;
  position: relative;
}

.nav-en {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-ja {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-top: 7px;
  opacity: 0.7;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 14px 26px;
  border: 1px solid currentColor;
  border-radius: 2px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

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

.nav-contact:hover {
  background: #ffffff;
  color: var(--color-navy);
}

.site-header.is-scrolled .nav-contact {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
}

.site-header.is-scrolled .nav-contact:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  z-index: 1100;
}

.menu-toggle-bar {
  position: absolute;
  left: 8px;
  width: 28px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease, top 0.4s var(--ease-out);
}

.menu-toggle-bar:nth-child(1) { top: 13px; }
.menu-toggle-bar:nth-child(2) { top: 21px; }
.menu-toggle-bar:nth-child(3) { top: 29px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero (First View)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 55%, var(--color-navy-light) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 75%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: orb-float 14s ease-in-out infinite alternate;
}

.hero-orb-1 {
  width: 620px;
  height: 620px;
  top: -180px;
  right: -140px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.75) 0%, rgba(47, 128, 237, 0) 70%);
}

.hero-orb-2 {
  width: 520px;
  height: 520px;
  bottom: -200px;
  left: -160px;
  background: radial-gradient(circle, rgba(111, 168, 255, 0.5) 0%, rgba(111, 168, 255, 0) 70%);
  animation-delay: -6s;
}

@keyframes orb-float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 40px) scale(1.08); }
}

.hero-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform-origin: left center;
}

.hero-line-1 {
  width: 60vw;
  top: 28%;
  right: -10vw;
  transform: rotate(-18deg);
}

.hero-line-2 {
  width: 50vw;
  bottom: 24%;
  left: -8vw;
  transform: rotate(-18deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px;
}

.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  transition-delay: 0.1s;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  transition-delay: 0.3s;
}

.hero-company-en img{
width:50%;
display:block;
margin:0 auto;
}

.hero-company-ja {
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  margin-top: 22px;
  padding-left: 0.32em;
}

.hero-copy {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  margin-top: 56px;
  position: relative;
  display: inline-block;
  padding-top: 32px;
  transition-delay: 0.5s;
}

.hero-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transform: translateX(-50%);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.hero-scroll-text {
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-scroll-line {
  position: relative;
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  animation: scroll-line 2.2s var(--ease-out) infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* --------------------------------------------------------------------------
   Greeting
   -------------------------------------------------------------------------- */
.greeting-layout {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 80px;
  align-items: start;
}

.greeting-visual {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 5;
}

.greeting-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.greeting-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0) 60%, rgba(11, 31, 58, 0.25) 100%);
}

.greeting-lead {
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  margin-bottom: 40px;
}

.greeting-text p + p {
  margin-top: 1.4em;
}

.greeting-sign {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 48px;
  line-height: 1.8;
}

.greeting-sign-company {
  font-size: 1.4rem;
  color: var(--color-text-sub);
  letter-spacing: 0.1em;
}

.greeting-sign-name {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   Slogan
   -------------------------------------------------------------------------- */
.slogan {
  position: relative;
  padding: 160px 0;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  background: var(--color-navy);
}

.slogan-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}

.slogan-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 20, 42, 0.5), rgba(22, 58, 99, 0.3));
}

.slogan-inner {
  position: relative;
  z-index: 1;
}

.slogan-en {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent-soft);
  margin-bottom: 32px;
}

.slogan-text {
  font-size: 5.2rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
  transition-delay: 0.15s;
}

.slogan-sub {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 28px;
  transition-delay: 0.3s;
}

/* --------------------------------------------------------------------------
   Philosophy (Mission / Vision / Value)
   -------------------------------------------------------------------------- */
.section-philosophy {
  background: var(--color-bg-gray);
}

.philosophy-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  padding: 80px 0;
  border-top: 1px solid var(--color-line);
}

.philosophy-block:last-child {
  border-bottom: 1px solid var(--color-line);
}

.philosophy-label {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.philosophy-num {
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.philosophy-en {
  font-family: var(--font-en);
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-navy);
}

.philosophy-ja {
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  color: var(--color-text-sub);
  margin-top: 14px;
}

.philosophy-statement {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--color-navy);
  margin-bottom: 32px;
}

.philosophy-text {
  max-width: 720px;
}

.philosophy-text p + p {
  margin-top: 1.2em;
}

/* Value list */
.value-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 8px;
}

.value-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--color-line);
}

.value-item:last-child {
  border-bottom: 1px solid var(--color-line);
}

.value-num {
  font-family: var(--font-en);
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  padding-top: 4px;
}

.value-title {
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.value-desc {
  font-size: 1.55rem;
  color: var(--color-text-sub);
}

/* --------------------------------------------------------------------------
   Business
   -------------------------------------------------------------------------- */
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.business-card {
  display: flex;
  flex-direction: column;
}

.business-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  background: var(--color-bg-gray);
}

.business-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.business-card:hover .business-visual img {
  transform: scale(1.05);
}

.business-body {
  padding-top: 24px;
}

.business-num {
  display: block;
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 14px;
}

.business-title {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--color-navy);
}

.business-en {
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  color: var(--color-text-sub);
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Company
   -------------------------------------------------------------------------- */
.section-company {
  background: var(--color-bg-gray);
}

.company-layout {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 72px;
  align-items: start;
}

.company-visual {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3 / 4;
}

.company-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-table {
  border-top: 1px solid var(--color-line);
}

.company-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-line);
}

.company-row dt {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-text-sub);
  padding-top: 2px;
}

.company-row dd {
  font-size: 1.6rem;
  color: var(--color-text);
}

.company-tel:hover {
  color: var(--color-accent);
}

.company-business-list li {
  position: relative;
  padding-left: 18px;
}

.company-business-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 8px;
  height: 1px;
  background: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact {
  position: relative;
  padding: 140px 0;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy) 60%, var(--color-navy-light) 100%);
}

.contact-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, transparent 75%);
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact .section-heading {
  margin-bottom: 40px;
}

.contact-lead {
  font-size: 1.7rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 48px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 420px;
  padding: 26px 36px 26px 44px;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  border-radius: 2px;
  overflow: hidden;
  transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease-out);
}

.btn-primary {
  color: var(--color-navy);
  background: #ffffff;
  border: 1px solid #ffffff;
}

.btn-primary:hover {
  color: #ffffff;
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-arrow {
  position: relative;
  width: 36px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
  transition: width 0.4s var(--ease-out);
}

.btn-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.btn:hover .btn-arrow {
  width: 48px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-navy-deep);
  color: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding-top: 80px;
  padding-bottom: 72px;
}

.footer-logo {
  color: #ffffff;
}

.footer-slogan {
  font-size: 1.4rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 20px;
}

.footer-tel {
  font-family: var(--font-en);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

.footer-tel a:hover {
  color: var(--color-accent-soft);
}

.footer-nav-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px 56px;
}

.footer-nav-list a {
  position: relative;
  display: inline-block;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 16px;
  line-height: 1.6;
}

.footer-nav-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--color-accent-soft);
  transition: width 0.3s ease;
}

.footer-nav-list a:hover {
  color: #ffffff;
}

.footer-nav-list a:hover::before {
  width: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}

.copyright {
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

.page-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.page-top:hover {
  color: #ffffff;
}

.page-top-arrow {
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-top-arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.page-top:hover .page-top-arrow {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

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

  .section {
    padding: 110px 0;
  }

  .nav-list {
    gap: 28px;
  }

  .greeting-layout {
    gap: 48px;
  }

  .greeting-lead {
    font-size: 2.4rem;
  }

  .philosophy-block {
    grid-template-columns: 200px 1fr;
    gap: 40px;
  }

  .philosophy-statement {
    font-size: 2.6rem;
  }

  .business-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-layout {
    gap: 48px;
  }

  .slogan-text {
    font-size: 4.2rem;
  }
}

/* --------------------------------------------------------------------------
   Responsive: Smartphone (<= 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --header-height: 64px;
    --container-padding: 24px;
  }

  body {
    font-size: 1.5rem;
    line-height: 1.9;
    letter-spacing: 0.04em;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }

  .section {
    padding: 80px 0;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-en {
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .section-ja {
    font-size: 2.8rem;
  }

  .section-intro {
    font-size: 1.5rem;
    margin-top: -16px;
    margin-bottom: 40px;
  }

  /* Header */
  .header-inner {
    padding: 0 20px;
  }

  .logo-mark {
    font-size: 2.4rem;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .site-header.is-scrolled {
    height: 64px;
  }

  .menu-toggle {
    display: block;
  }

  .global-nav {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy-deep);
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-out), visibility 0.5s;
    z-index: 1050;
  }

  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

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

  .nav-link {
    transform: translateY(16px);
    opacity: 0;
    transition: transform 0.6s var(--ease-out), opacity 0.6s ease;
  }

  .global-nav.is-open .nav-link {
    transform: translateY(0);
    opacity: 1;
  }

  .global-nav.is-open .nav-list li:nth-child(1) .nav-link { transition-delay: 0.1s; }
  .global-nav.is-open .nav-list li:nth-child(2) .nav-link { transition-delay: 0.16s; }
  .global-nav.is-open .nav-list li:nth-child(3) .nav-link { transition-delay: 0.22s; }
  .global-nav.is-open .nav-list li:nth-child(4) .nav-link { transition-delay: 0.28s; }
  .global-nav.is-open .nav-list li:nth-child(5) .nav-link { transition-delay: 0.34s; }

  .nav-en {
    font-size: 1.8rem;
  }

  .nav-ja {
    font-size: 1.2rem;
    margin-top: 10px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-contact {
    padding: 18px 40px;
    margin-top: 8px;
  }

  .site-header.is-scrolled .nav-contact {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
  }

  .site-header.is-menu-open {
    color: #ffffff;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

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

  .hero-eyebrow {
    font-size: 1rem;
    letter-spacing: 0.22em;
    margin-bottom: 24px;
  }

  .hero-company-en {
    font-size: clamp(6.4rem, 22vw, 9rem);
  }

  .hero-company-ja {
    font-size: 1.8rem;
    margin-top: 18px;
  }

  .hero-copy {
    font-size: 1.6rem;
    letter-spacing: 0.18em;
    margin-top: 40px;
    padding-top: 24px;
  }

  .hero-grid {
    background-size: 48px 48px;
  }

  .hero-orb-1 {
    width: 380px;
    height: 380px;
    top: -120px;
    right: -140px;
  }

  .hero-orb-2 {
    width: 320px;
    height: 320px;
    bottom: -120px;
    left: -140px;
  }

  .hero-scroll {
    bottom: 28px;
  }

  .hero-scroll-line {
    height: 44px;
  }

  /* Greeting */
  .greeting-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .greeting-visual {
    aspect-ratio: 4 / 3;
  }

  .greeting-lead {
    font-size: 2.1rem;
    margin-bottom: 28px;
  }

  .greeting-sign {
    margin-top: 36px;
  }

  .greeting-sign-name {
    font-size: 1.8rem;
  }

  /* Slogan */
  .slogan {
    padding: 110px 0;
  }

  .slogan-en {
    margin-bottom: 24px;
  }

  .slogan-text {
    font-size: 3.2rem;
    letter-spacing: 0.12em;
    line-height: 1.6;
  }

  .slogan-sub {
    font-size: 1.2rem;
    margin-top: 20px;
  }

  /* Philosophy */
  .philosophy-block {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 52px 0;
  }

  .philosophy-en {
    font-size: 2.6rem;
  }

  .philosophy-statement {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .value-item {
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .value-num {
    font-size: 2.2rem;
  }

  .value-title {
    font-size: 1.8rem;
  }

  .value-desc {
    font-size: 1.45rem;
  }

  /* Business */
  .business-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .business-visual {
    aspect-ratio: 16 / 10;
  }

  .business-body {
    padding-top: 18px;
  }

  .business-title {
    font-size: 1.7rem;
  }

  /* Company */
  .company-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .company-visual {
    aspect-ratio: 16 / 10;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }

  .company-row dt {
    font-size: 1.3rem;
  }

  .company-row dd {
    font-size: 1.5rem;
  }

  /* Contact */
  .contact {
    padding: 90px 0;
  }

  .contact .section-heading {
    margin-bottom: 28px;
  }

  .contact-lead {
    font-size: 1.5rem;
    margin-bottom: 36px;
  }

  .btn {
    min-width: 0;
    width: 100%;
    max-width: 400px;
    padding: 22px 24px 22px 28px;
    font-size: 1.45rem;
    letter-spacing: 0.08em;
    gap: 16px;
  }

  .btn-arrow {
    width: 28px;
  }

  .btn:hover .btn-arrow {
    width: 36px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 44px;
    padding-top: 60px;
    padding-bottom: 52px;
  }

  .footer-nav-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
    width: 100%;
  }

  .footer-bottom-inner {
    flex-direction: column-reverse;
    gap: 24px;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .copyright {
    font-size: 1.1rem;
    text-align: center;
  }
}
