/*
Theme Name: Taka Fukami
Template: twentytwentyone
Version: 1.0.0
*/

/* =========================================================
   Taka Fukami Official Site
   Base Style
========================================================= */

:root {
  --bg-1: #08122c;
  --bg-2: #0b1d4a;
  --bg-3: #10275d;

  --text: #e5e7eb;
  --sub: #a0a7b0;
  --white: #ffffff;

  --line: rgba(255,255,255,0.14);
  --line-soft: rgba(255,255,255,0.08);

  --accent: #1c3fa3;
  --accent-soft: rgba(28,63,163,0.45);

  --panel: rgba(255,255,255,0.03);
  --panel-2: rgba(255,255,255,0.06);

  --max: 1180px;
}

/* =========================================================
   Reset / Base
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 35%),
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 30%),
    linear-gradient(180deg, var(--bg-2) 0%, #0a1738 45%, var(--bg-1) 100%);
  background-color: #0a1738;
  line-height: 1.8;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.04), transparent 36%);
  opacity: 0.7;
  z-index: -1;
}

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

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

button {
  font-family: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

/* Twenty Twenty-One override */
.site,
.site-main,
.entry-content,
.entry-header,
.singular .entry-header,
.site-content,
#page {
  background: transparent !important;
}

.entry-content,
.entry-content > * {
  max-width: none !important;
}

.site-main {
  padding: 0 !important;
}

.entry-title,
.page-title {
  display: none;
}

/* =========================================================
   Common
========================================================= */

.taka-container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.taka-section {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.taka-section-title {
  margin: 0 0 18px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.taka-muted {
  color: var(--sub);
}

.taka-btn {
  display: inline-block;
  min-width: 120px;
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  transition: 0.25s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.taka-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.36);
  color: var(--white);
}

/* =========================================================
   Header
========================================================= */

.taka-header {
  padding: 22px 0 0;
  border-bottom: 1px solid var(--line-soft);
}

.taka-header-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}

.taka-logo {
  display: inline-block;
  width: 320px;
  max-width: 80%;
}

.taka-logo img,
.taka-logo svg {
  width: 100%;
  height: auto;
}

.taka-sns-top {
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  gap: 12px;
  transform: translateY(-50%);
}

.taka-sns-top a,
.taka-sns-bottom a {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  opacity: 0.9;
  transition: 0.25s ease;
}

.taka-sns-top a:hover,
.taka-sns-bottom a:hover {
  opacity: 1;
  background: rgba(255,255,255,0.1);
}

.taka-nav-wrap {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.taka-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
  min-height: 56px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.taka-nav a {
  position: relative;
  color: var(--white);
  opacity: 0.88;
  transition: 0.25s ease;
}

.taka-nav a:hover,
.taka-nav a.is-active {
  opacity: 1;
}

.taka-nav a:hover::after,
.taka-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-soft);
}

/* =========================================================
   Mobile Toggle
========================================================= */

.taka-nav-toggle {
  display: none;
  position: absolute;
  left: 0;
  top: 50%;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  cursor: pointer;
  transform: translateY(-50%);
}

.taka-nav-toggle span {
  position: absolute;
  left: 9px;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.25s ease;
}

.taka-nav-toggle span:nth-child(1) {
  top: 11px;
}

.taka-nav-toggle span:nth-child(2) {
  top: 17px;
}

.taka-nav-toggle span:nth-child(3) {
  top: 23px;
}

.taka-nav-toggle.is-open span:nth-child(1) {
  top: 17px;
  transform: rotate(45deg);
}

.taka-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.taka-nav-toggle.is-open span:nth-child(3) {
  top: 17px;
  transform: rotate(-45deg);
}

/* =========================================================
   Hero
========================================================= */

.taka-hero {
  padding: 40px 0 16px;
}

.taka-hero-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: stretch;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(90deg, rgba(6,14,34,0.92) 0%, rgba(6,14,34,0.78) 26%, rgba(6,14,34,0.18) 52%, rgba(6,14,34,0) 66%),
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 62%);
}

.taka-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 28px 34px;
}

.taka-hero-title {
  margin: 0 0 10px;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}

.taka-hero-subtitle {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 500;
  color: #f1f1f1;
  letter-spacing: 0.02em;
}

.taka-hero-text {
  max-width: 250px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.8;
  color: #f0f0f0;
}

.taka-hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 24px 28px 24px 0;
}

.taka-hero-visual img {
  width: 78%;
  max-width: 700px;
  margin-left: auto;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,0.34));
}

/* =========================================================
   Latest
========================================================= */

.taka-latest-list {
  display: grid;
  gap: 5px;
}

.taka-latest-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #f1f1f1;
}

.taka-latest-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #d8d8d8;
}

/* =========================================================
   Works
========================================================= */

.taka-works-tabs {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.taka-works-tabs::-webkit-scrollbar {
  display: none;
}

.taka-works-tabs a {
  position: relative;
  padding: 9px 18px 10px;
  border-right: 1px solid rgba(255,255,255,0.16);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
  color: var(--sub);
  transition: 0.25s ease;
}

.taka-works-tabs a:first-child {
  border-left: 0;
}

.taka-works-tabs a:hover,
.taka-works-tabs a.is-active {
  color: var(--white);
  background: rgba(28,63,163,0.35);
}

.taka-works-tabs a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-soft);
}

.taka-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.taka-work-card {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.025);
  transition: 0.25s ease;
}

.taka-work-card:hover {
  opacity: 0.95;
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.taka-work-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: 0.35s ease;
}

.taka-work-card:hover img {
  transform: scale(1.025);
}

.taka-works-slider {
  display: none;
  margin-top: 18px;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.taka-works-slider::-webkit-scrollbar {
  display: none;
}

.taka-work-slide {
  min-width: 82%;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.025);
}

.taka-work-slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* =========================================================
   Contact
========================================================= */

.taka-contact-box {
  max-width: 460px;
  margin: 0 auto;
  padding: 18px 0 8px;
  text-align: center;
}

.taka-contact-text {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 10px;
  color: #f0f0f0;
  font-size: 15px;
}

.taka-contact-text::after {
  content: "";
  display: block;
  width: 100%;
  max-width: 360px;
  height: 1px;
  margin: 10px auto 0;
  background: rgba(255,255,255,0.18);
}

/* =========================================================
   Affiliated
========================================================= */

.taka-affiliated {
  margin-top: 24px;
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.055);
}

.taka-affiliated-label {
  margin: 0 0 10px;
  color: #f0f0f0;
  font-size: 15px;
  line-height: 1.5;
}

.taka-affiliated-logo {
  display: inline-block;
  max-width: 320px;
}

.taka-affiliated-logo img {
  width: 100%;
}

/* =========================================================
   Footer
========================================================= */

.taka-footer {
  padding: 24px 0 70px;
}

.taka-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #f0f0f0;
  font-size: 14px;
}

.taka-footer-copy {
  margin: 0;
}

.taka-sns-bottom {
  display: flex;
  gap: 12px;
}

/* =========================================================
   Responsive
========================================================= */

@media screen and (max-width: 980px) {
  .taka-nav {
    gap: 34px;
  }

  .taka-hero-inner {
    grid-template-columns: 300px 1fr;
  }

  .taka-hero-visual img {
    width: 86%;
  }

  .taka-works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .taka-container {
    width: min(var(--max), calc(100% - 28px));
  }

  .taka-header {
    padding-top: 16px;
  }

  .taka-header-top {
    min-height: 52px;
  }

  .taka-logo {
    width: 220px;
    max-width: 72%;
  }

  .taka-sns-top {
    right: 0;
    gap: 8px;
  }

  .taka-sns-top a,
  .taka-sns-bottom a {
    width: 24px;
    height: 24px;
  }

  .taka-nav-toggle {
    display: block;
  }

  .taka-nav-wrap {
    margin-top: 14px;
  }

  .taka-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    min-height: auto;
    padding: 10px 0;
  }

  .taka-nav.is-open {
    display: flex;
  }

  .taka-nav a {
    width: 100%;
    padding: 12px 4px;
  }

  .taka-nav a:hover::after,
  .taka-nav a.is-active::after {
    display: none;
  }

  .taka-hero {
    padding-top: 18px;
  }

  .taka-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(6,14,34,0.88) 0%, rgba(6,14,34,0.62) 55%, rgba(6,14,34,0.22) 100%);
  }

  .taka-hero-copy {
    order: 1;
    padding: 28px 18px 18px;
  }

  .taka-hero-title {
    font-size: 28px;
  }

  .taka-hero-subtitle {
    font-size: 14px;
  }

  .taka-hero-text {
    max-width: none;
    margin-bottom: 14px;
    font-size: 13px;
  }

  .taka-hero-visual {
    order: 2;
    justify-content: center;
    padding: 0 18px 18px;
  }

  .taka-hero-visual img {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .taka-section {
    padding: 34px 0;
  }

  .taka-section-title {
    margin-bottom: 14px;
    font-size: 15px;
  }

  .taka-latest-list li {
    font-size: 14px;
  }

  .taka-works-tabs a {
    padding: 9px 14px 10px;
    font-size: 12px;
  }

  .taka-works-grid {
    display: none;
  }

  .taka-works-slider {
    display: flex;
  }

  .taka-contact-text {
    font-size: 14px;
  }

  .taka-affiliated {
    padding: 24px 0;
  }

  .taka-affiliated-logo {
    max-width: 260px;
  }

  .taka-footer {
    padding-bottom: 40px;
  }

  .taka-footer-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    text-align: center;
  }
}