/*
Theme Name: Wingspan Minimal
Theme URI: https://wingspan.co.jp/
Author: Wingspan
Author URI: https://wingspan.co.jp/
Description: Unique hybrid English-Japanese corporate theme
Version: 1.0
*/

:root {
  --bg: #f7f6f2;
  --text: #111111;
  --muted: #5e5b57;
  --line: rgba(17, 17, 17, 0.12);
  --panel: rgba(255, 255, 255, 0.55);
  --chip: rgba(255, 255, 255, 0.66);
  --accent: #1e1e1e;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.75), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(255,255,255,0.55), transparent 25%),
    linear-gradient(180deg, #f8f7f3 0%, #f2f0ea 100%);
  font-family: "Helvetica Neue", Helvetica, Arial, "Noto Sans JP", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

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

button {
  font: inherit;
}

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

.site-bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  transition: 0.6s ease;
  opacity: 0.55;
}

.site-bg-orb-a {
  width: 420px;
  height: 420px;
  top: 8%;
  left: -90px;
  background: rgba(148, 175, 255, 0.22);
}

.site-bg-orb-b {
  width: 340px;
  height: 340px;
  right: -60px;
  bottom: 8%;
  background: rgba(255, 176, 176, 0.18);
}

body.route-branding .site-bg-orb-a { background: rgba(148, 175, 255, 0.22); }
body.route-branding .site-bg-orb-b { background: rgba(255, 176, 176, 0.18); }

body.route-video .site-bg-orb-a { background: rgba(255, 189, 103, 0.24); }
body.route-video .site-bg-orb-b { background: rgba(255, 126, 126, 0.16); }

body.route-web .site-bg-orb-a { background: rgba(112, 220, 216, 0.22); }
body.route-web .site-bg-orb-b { background: rgba(105, 165, 255, 0.18); }

body.route-system .site-bg-orb-a { background: rgba(156, 255, 170, 0.18); }
body.route-system .site-bg-orb-b { background: rgba(104, 193, 143, 0.18); }

body.route-cg .site-bg-orb-a { background: rgba(201, 142, 255, 0.22); }
body.route-cg .site-bg-orb-b { background: rgba(115, 135, 255, 0.18); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 246, 242, 0.52);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.section {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 110px 24px;
}

.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  width: 100%;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  margin: 0 0 24px;
  font-size: 78px;
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 16px;
}

.hero-object-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.hero-object {
  position: relative;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.18));
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.hero-object-core {
  position: absolute;
  inset: 22%;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.2));
  border: 1px solid rgba(17,17,17,0.08);
}

.hero-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,0.12);
}

.hero-ring-1 {
  inset: 8%;
  animation: spinSlow 20s linear infinite;
}

.hero-ring-2 {
  inset: 18%;
  animation: spinReverse 16s linear infinite;
}

.hero-ring-3 {
  inset: 30%;
  animation: spinSlow 12s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 14px 22px;
  border: 1px solid var(--text);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: 0.3s ease;
  background: transparent;
}

.button:hover {
  background: var(--text);
  color: #ffffff;
  transform: translateY(-2px);
}

.button-ghost {
  border-color: rgba(17,17,17,0.14);
  color: var(--muted);
}

.button-ghost:hover {
  color: #ffffff;
}

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

.block-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  margin-bottom: 34px;
}

.block-label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.block-intro {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
}

.route-selector {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.route-chip {
  appearance: none;
  border: 1px solid rgba(17,17,17,0.1);
  background: var(--chip);
  backdrop-filter: blur(10px);
  color: var(--text);
  padding: 16px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.route-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.route-chip.is-active {
  background: var(--text);
  color: #ffffff;
  border-color: var(--text);
}

.dynamic-panel {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 28px;
  backdrop-filter: blur(14px);
}

.dynamic-title-wrap {
  margin-bottom: 26px;
}

.dynamic-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.dynamic-title {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 0;
}

.dynamic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.dynamic-col {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.dynamic-col-label {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dynamic-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dynamic-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(17,17,17,0.08);
  font-size: 14px;
}

.case-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.case-tag {
  display: inline-flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(17,17,17,0.1);
  background: rgba(255,255,255,0.55);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  backdrop-filter: blur(10px);
}

.approach-statement {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: end;
}

.approach-en {
  margin: 0;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 600;
}

.approach-ja {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.company-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
}

.company-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.company-text {
  max-width: 760px;
  font-size: 15px;
  color: var(--muted);
}

.company-text p {
  margin: 0 0 12px;
}

.contact-link {
  display: inline-block;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 500;
  word-break: break-word;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
}

.site-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}

.footer-right {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.js-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.9s ease;
}

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

/* Contact Form */
.contact-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
}

.contact-form-wrap {
  max-width: 880px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.contact-form-wrap p {
  margin: 0 0 26px;
}

.contact-form-wrap label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input,
.form-textarea,
.contact-form-wrap select,
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap textarea {
  width: 100%;
  display: block;
  padding: 18px 20px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
  color: var(--text);
  font-size: 16px;
  border-radius: 18px;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder,
.contact-form-wrap input::placeholder,
.contact-form-wrap textarea::placeholder {
  color: rgba(17,17,17,0.38);
}

.form-input:focus,
.form-textarea:focus,
.contact-form-wrap select:focus,
.contact-form-wrap input[type="text"]:focus,
.contact-form-wrap input[type="email"]:focus,
.contact-form-wrap textarea:focus {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(17,17,17,0.08);
}

.form-textarea,
.contact-form-wrap textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-wrap select {
  cursor: pointer;
}

.form-submit,
.contact-form-wrap input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 16px 24px;
  border: none;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-submit:hover,
.contact-form-wrap input[type="submit"]:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.wpcf7-spinner {
  display: block;
  margin-top: 14px;
}

.wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 12px;
  color: #b42318;
}

.wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 14px 16px !important;
  border: none !important;
  background: rgba(255,255,255,0.56);
  border-radius: 16px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .hero-title {
    font-size: 62px;
  }

  .hero-grid,
  .approach-statement {
    grid-template-columns: 1fr;
  }

  .hero-object-wrap {
    min-height: 280px;
  }

  .hero-object {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 900px) {
  .block-head,
  .company-grid,
  .dynamic-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .dynamic-title {
    font-size: 34px;
  }

  .approach-en {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section {
    padding: 80px 20px;
  }

  .hero {
    min-height: auto;
  }

  .hero-title {
    font-size: 42px;
    line-height: 1.06;
  }

  .hero-text,
  .block-intro,
  .approach-ja,
  .company-text {
    font-size: 14px;
  }

  .approach-en {
    font-size: 34px;
  }

  .contact-link {
    font-size: 22px;
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form-wrap {
    max-width: 100%;
  }
}
/* オフィシャルロゴ配置 */
.hero-logo {
  width: min(300px, 60%);
  height: auto;
  display: block;
  object-fit: contain;
}

/* タブレット */
@media screen and (max-width: 1024px) {
  .hero-logo {
    width: min(240px, 55%);
  }
}

/* スマホ */
@media screen and (max-width: 767px) {
  .hero-logo {
    width: min(180px, 50vw);
    max-width: 180px;
  }
}

/* 小さめスマホ */
@media screen and (max-width: 480px) {
  .hero-logo {
    width: min(150px, 48vw);
    max-width: 150px;
  }
}
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.08), transparent 22%),
    radial-gradient(circle at 30% 70%, rgba(255,255,255,0.05), transparent 28%);
  pointer-events: none;
  transition: transform 0.8s ease, opacity 0.6s ease;
}

.hero-object-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 420px;
  perspective: 1200px;
}

.hero-logo {
  width: min(280px, 56%);
  max-width: 280px;
  height: auto;
  display: block;
  object-fit: contain;
  transform-style: preserve-3d;
  transition:
    transform 0.18s ease-out,
    filter 0.25s ease,
    opacity 0.5s ease;
  will-change: transform;
}

.hero-logo.is-glow {
  filter: drop-shadow(0 18px 50px rgba(255,255,255,0.18));
}

.case-cloud {
  position: relative;
  min-height: 180px;
}

.case-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.case-tag:hover {
  transform: translateY(-4px) scale(1.04);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
}

.route-chip {
  position: relative;
  overflow: hidden;
}

.route-chip::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.route-chip.is-active::after {
  transform: scaleX(1);
}

.dynamic-panel {
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.dynamic-panel.is-switching {
  transform: translateY(8px);
  opacity: 0.72;
}

.route-theme-branding .dynamic-panel {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}

.route-theme-video .dynamic-panel {
  box-shadow: 0 0 0 1px rgba(255,120,120,0.14);
}

.route-theme-web .dynamic-panel {
  box-shadow: 0 0 0 1px rgba(120,180,255,0.14);
}

.route-theme-system .dynamic-panel {
  box-shadow: 0 0 0 1px rgba(120,255,200,0.14);
}

.route-theme-cg .dynamic-panel {
  box-shadow: 0 0 0 1px rgba(220,160,255,0.14);
}

.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  animation: revealWord 0.5s ease forwards;
}

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

/* スマホ */
@media screen and (max-width: 767px) {
  .hero-object-wrap {
    min-height: auto;
    padding-top: 10px;
  }

  .hero-logo {
    width: min(170px, 48vw);
    max-width: 170px;
  }

  .case-cloud {
    min-height: auto;
  }

  .case-tag {
    position: static !important;
    transform: none !important;
    margin: 6px 6px 0 0;
  }
}

@media screen and (max-width: 480px) {
  .hero-logo {
    width: min(145px, 44vw);
    max-width: 145px;
  }
}