/* Twin Pedal - Main Stylesheet */
:root {
  --black: #0a0a0a;
  --dark: #141414;
  --card-bg: #111111;
  --orange: #ff5500;
  --orange-bright: #ff7a33;
  --purple: #9333ea;
  --teal: #0d9488;
  --red: #cc2200;
  --white: #ffffff;
  --gray: #666666;
  --light-gray: #aaaaaa;
  --border: #1f1f1f;
  --gradient: linear-gradient(135deg, #ff5500 0%, #9333ea 100%);
  --radius: 16px;
  --radius-pill: 60px;
  --punk: 'Anton', 'Impact', sans-serif;
  --body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

/* ========================
   Header
   ======================== */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--black);
  border-bottom: 3px solid var(--orange);
  padding: 0 40px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo a { display: flex; align-items: center; }

.logo-img {
  height: 80px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 96px;
  width: auto;
  display: block;
  margin-bottom: 16px;
}

/* fallback: text logo */
.header-logo .logo-text {
  font-family: var(--punk);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
}

.header-logo .logo-text span { color: var(--orange); }

nav { display: flex; align-items: center; gap: 8px; }

nav a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.2s;
}

nav a:hover, nav a.active { color: var(--orange); }

.nav-contact-btn {
  background: var(--orange) !important;
  color: var(--black) !important;
  font-weight: 700;
  border-radius: var(--radius-pill) !important;
}
.nav-contact-btn:hover {
  background: var(--orange-bright) !important;
  color: var(--black) !important;
  transform: scale(1.04);
}

.page-wrapper { padding-top: 96px; }

/* ========================
   Hero — PUNK ENERGY
   ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-bottom: 3px solid var(--border);
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center top;
}

/* テキストエリア（左）を暗くするグラデーションオーバーレイ */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.35) 0%,
    rgba(10, 10, 10, 0.35) 44%,
    rgba(10, 10, 10, 0.18) 70%,
    rgba(10, 10, 10, 0.05) 100%
  );
  z-index: 0;
}

/* 右側の斜め暗色パネル */
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: -5%;
  width: 55%;
  height: 100%;
  background: rgba(20, 20, 20, 0.35);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 48px;
  max-width: 900px;
}

.hero-tag {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--punk);
  font-size: clamp(4rem, 11vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero h1 .accent { color: var(--orange); }
.hero h1 .stroke {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.hero-sub {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 48px;
  line-height: 1.8;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-deco {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-deco-item {
  padding: 20px 32px;
  border-bottom: 1px solid #222;
  text-align: center;
}

.hero-deco-num {
  font-family: var(--punk);
  font-size: 2.5rem;
  color: var(--orange);
  line-height: 1;
  display: block;
}

.hero-deco-label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-top: 4px;
}

/* ========================
   Buttons
   ======================== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s;
  cursor: pointer;
  border-radius: var(--radius-pill);
}

.btn-primary {
  background: var(--orange);
  color: var(--black);
  border: 2px solid var(--orange);
}
.btn-primary:hover {
  background: var(--orange-bright);
  border-color: var(--orange-bright);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

/* ========================
   Section
   ======================== */
.section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header { margin-bottom: 56px; }

.section-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gradient);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--punk);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--white);
}

.section-footer { text-align: center; margin-top: 48px; }

/* ========================
   Services
   ======================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--dark);
  padding: 40px 36px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-num {
  font-family: var(--punk);
  font-size: 5rem;
  color: rgba(255,85,0,0.12);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.service-card p {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.8;
}

/* ========================
   Works Grid — photo-first
   ======================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.work-card {
  background: var(--dark);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange);
}

.work-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--punk);
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.work-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  pointer-events: none;
}

.work-thumb.video   { background: linear-gradient(135deg, #1a0a00 0%, #ff5500 100%); }
.work-thumb.music   { background: linear-gradient(135deg, #0f001a 0%, #9333ea 100%); }
.work-thumb.sns     { background: linear-gradient(135deg, #001a15 0%, #0d9488 100%); }
.work-thumb.photo   { background: linear-gradient(135deg, #1a1000 0%, #f59e0b 100%); }

.work-info { padding: 20px 24px; }

.work-category {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}

.work-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.work-info p { font-size: 0.8rem; color: var(--gray); }

/* ========================
   News
   ======================== */
.news-list {
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--orange);
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  transition: opacity 0.2s;
}
.news-item:hover { opacity: 0.7; }

.news-date {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gray);
  min-width: 95px;
}

.news-category {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--black);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.news-title { font-size: 0.88rem; color: var(--light-gray); flex: 1; }

/* ========================
   CTA
   ======================== */
.cta-section {
  background: var(--gradient);
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.cta-section::before {
  content: 'CONTACT';
  position: absolute;
  font-family: var(--punk);
  font-size: 18vw;
  color: rgba(0,0,0,0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--punk);
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1;
  position: relative;
}

.cta-section p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 40px;
  position: relative;
}

.cta-section .btn-outline {
  border-color: var(--white);
  color: var(--white);
  position: relative;
}

.cta-section .btn-outline:hover {
  background: var(--white);
  color: var(--orange);
}

/* ========================
   Page Hero Inner
   ======================== */
.page-hero {
  padding: 100px 48px 60px;
  border-bottom: 3px solid var(--orange);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 80px;
  height: 6px;
  background: var(--purple);
}

.page-hero-inner { max-width: 1200px; margin: 0 auto; }

.page-hero-tag {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.page-hero h1 {
  font-family: var(--punk);
  font-size: clamp(3rem, 8vw, 7.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 0.92;
  color: var(--white);
}

/* ========================
   About
   ======================== */
.about-intro {
  font-size: 1rem;
  color: var(--light-gray);
  line-height: 2;
  margin-bottom: 64px;
  max-width: 680px;
  padding: 24px 28px;
  border-left: 4px solid var(--orange);
  background: var(--dark);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 3px solid var(--orange);
}

.about-table tr { border-bottom: 1px solid var(--border); }

.about-table th, .about-table td {
  padding: 18px 0;
  text-align: left;
  vertical-align: top;
}

.about-table th {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  width: 160px;
  padding-top: 20px;
}

.about-table td { font-size: 0.9rem; color: var(--light-gray); line-height: 1.9; }

.service-list { list-style: none; border-top: 3px solid var(--orange); }

.service-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  align-items: start;
  transition: all 0.2s;
}
.service-list li:hover { opacity: 0.7; padding-left: 8px; }

.service-list li .num {
  font-family: var(--punk);
  font-size: 2rem;
  color: var(--orange);
  line-height: 1;
  padding-top: 2px;
}

/* ========================
   Works Page
   ======================== */
.works-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 22px;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--gray);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--body);
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(255,85,0,0.06);
}

.works-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

/* ========================
   News Full
   ======================== */
.news-full-list {
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--orange);
}

.news-full-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.15s;
}
.news-full-item:hover { opacity: 0.7; }

.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.news-meta .news-date { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--gray); border: none; padding: 0; border-radius: 0; }

.news-meta .news-category {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--black);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.news-full-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.02em; }
.news-full-body { color: var(--gray); font-size: 0.88rem; line-height: 1.9; }

/* ========================
   Contact
   ======================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--punk);
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.contact-info p { color: var(--gray); font-size: 0.88rem; line-height: 1.9; margin-bottom: 32px; }

.contact-detail { border-top: 3px solid var(--orange); }

.contact-detail-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.contact-detail-item .label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 2px;
}

.form-note { font-size: 0.82rem; color: var(--gray); margin-bottom: 24px; line-height: 1.8; }

.form-group { margin-bottom: 24px; }

.form-group label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 10px;
}
.form-group label .required { color: var(--orange); margin-left: 4px; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--dark);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.92rem;
  font-family: var(--body);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--orange); }
.form-group textarea { height: 150px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #333; }
.form-group select option { background: var(--black); }

.form-submit { text-align: right; }

.form-submit button {
  font-family: var(--punk);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px 56px;
  cursor: pointer;
  transition: all 0.2s;
}
.form-submit button:hover { opacity: 0.85; transform: translateY(-2px); }

/* ========================
   Footer
   ======================== */
footer {
  background: var(--black);
  border-top: 3px solid var(--orange);
  padding: 80px 48px 40px;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-logo-text {
  font-family: var(--punk);
  font-size: 2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-logo-text span { color: var(--orange); }

.footer-tagline { font-size: 0.82rem; color: var(--white); line-height: 2; }

.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: start; }

.footer-nav-group h4 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.footer-nav-group ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-nav-group ul li a { font-size: 0.85rem; color: var(--white); transition: color 0.15s; }
.footer-nav-group ul li a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.72rem; color: var(--white); letter-spacing: 0.08em; }

/* ========================
   Responsive
   ======================== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .hero-deco { display: none; }
}
/* ========================
   Hamburger Menu
   ======================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 200;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  header { padding: 0 20px; }

  .hamburger { display: flex; }

  header nav {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  header nav.open { display: flex; }

  header nav a {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    padding: 12px 24px;
    color: var(--white);
  }

  header nav .nav-contact-btn {
    margin-top: 8px;
    padding: 14px 36px !important;
    font-size: 1rem !important;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 0 24px; }
  .section { padding: 70px 24px; }
  .page-hero { padding: 88px 24px 48px; }
  .cta-section { padding: 70px 24px; }
  footer { padding: 60px 24px 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .works-grid { grid-template-columns: 1fr; }
  .works-full-grid { grid-template-columns: 1fr; }
}
