/*
Theme Name: AXIS Theme
Theme URI: https://axis-inc.jp
Author: AXIS Inc.
Description: 株式会社AXIS コーポレートサイト用カスタムテーマ
Version: 1.0.0
License: Private
Text Domain: axis-theme
*/

/* ============================================
   AXIS Theme — Core Styles
   ============================================ */

:root {
  --black:   #0a0a0a;
  --dark:    #141414;
  --card:    #1a1a1a;
  --gold:    #C8A96E;
  --gold2:   #E8C97E;
  --white:   #ffffff;
  --gray:    #888888;
  --subtle:  #333333;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Header / Nav ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,169,110,0.12);
  transition: all 0.3s;
}

.site-logo {
  font-family: 'Georgia', serif;
  font-size: 20px;
  letter-spacing: 4px;
  color: var(--white);
}
.site-logo span { color: var(--gold); }

.site-nav { display: flex; gap: 36px; list-style: none; }
.site-nav a {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
  transition: color 0.3s;
}
.site-nav a:hover { color: var(--gold); }

.nav-contact {
  border: 1px solid var(--gold);
  padding: 8px 20px;
  color: var(--gold) !important;
  font-size: 10px !important;
  letter-spacing: 3px;
  transition: background 0.3s, color 0.3s !important;
}
.nav-contact:hover {
  background: var(--gold) !important;
  color: var(--black) !important;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 55%, rgba(200,169,110,0.06) 0%, transparent 55%);
  pointer-events: none;
}

/* background AXIS text */
.hero::after {
  content: 'AXIS';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Georgia', serif;
  font-size: clamp(180px, 22vw, 340px);
  font-weight: bold;
  color: rgba(255,255,255,0.025);
  letter-spacing: -10px;
  pointer-events: none;
  user-select: none;
}

/* geometric circle decoration */
.hero-circle {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
}
.hero-circle svg { width: 100%; height: 100%; }

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

.hero-label {
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-label::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-tagline-jp {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Georgia', serif;
  font-size: clamp(36px, 5vw, 70px);
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1.6;
  color: var(--white);
}

.hero-tagline-en {
  font-family: 'Georgia', serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-top: 16px;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 28px 0;
  position: relative;
}
.hero-divider::before {
  content: '';
  position: absolute;
  left: 0;
  top: -2.5px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.hero-sub {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gray);
}

.hero-cta {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--gold);
  padding: 16px 40px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.hero-cta:hover { background: var(--gold); color: var(--black); }

.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--subtle);
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Section Common ── */
.section { padding: 120px 0; }
.section-dark { background: var(--dark); }

.section-header { margin-bottom: 64px; }
.section-label {
  display: block;
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Noto Serif JP', 'Georgia', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.3;
}
.section-title-en {
  display: block;
  font-family: 'Georgia', serif;
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--gray);
  margin-top: 8px;
}
.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-top: 24px;
  position: relative;
}
.gold-line::before {
  content: '';
  position: absolute;
  left: 0; top: -2.5px;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--subtle);
}

.service-card {
  background: var(--dark);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.service-card:hover { background: #1e1e1e; }

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 90%, rgba(200,169,110,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.service-card * { position: relative; z-index: 1; }

.service-num {
  font-family: 'Georgia', serif;
  font-size: 56px;
  color: rgba(200,169,110,0.07);
  font-weight: bold;
  line-height: 1;
  position: absolute;
  top: 24px;
  right: 32px;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(200,169,110,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}
.service-icon-wrap svg { width: 28px; height: 28px; }

.service-title-en {
  font-family: 'Georgia', serif;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.service-title-jp {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 24px;
}
.service-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 20px;
  opacity: 0.5;
}
.service-desc {
  font-size: 13px;
  line-height: 2;
  color: var(--gray);
}
.service-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(200,169,110,0.3);
  padding-bottom: 4px;
  transition: border-color 0.3s;
}
.service-link:hover { border-color: var(--gold); }

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-photo-wrap {
  position: relative;
}
.about-photo-wrap img {
  width: 100%;
  filter: grayscale(15%) contrast(1.05);
}
.about-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid rgba(200,169,110,0.2);
  z-index: -1;
}

.ceo-name {
  font-family: 'Georgia', serif;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 4px;
  margin-top: 8px;
  margin-bottom: 4px;
}
.ceo-role {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
}
.about-text {
  font-size: 14px;
  line-height: 2.2;
  color: #aaa;
  margin-top: 32px;
}

.company-info {
  margin-top: 48px;
  border-top: 1px solid var(--subtle);
  padding-top: 32px;
}
.company-info table { width: 100%; border-collapse: collapse; }
.company-info td {
  padding: 12px 0;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}
.company-info td:first-child {
  width: 120px;
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 10px;
}
.company-info td:last-child { color: #aaa; }

/* ── News ── */
.news-list { list-style: none; }
.news-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--subtle);
  transition: opacity 0.3s;
}
.news-item:first-child { border-top: 1px solid var(--subtle); }
.news-item:hover { opacity: 0.65; }

.news-date {
  font-family: 'Georgia', serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
}
.news-title {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}
.news-arrow {
  color: var(--gold);
  font-size: 18px;
  opacity: 0.5;
}

/* ── Contact ── */
.contact-section {
  background: var(--black);
  text-align: center;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: 'CONTACT';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Georgia', serif;
  font-size: clamp(80px, 14vw, 200px);
  font-weight: bold;
  color: rgba(255,255,255,0.018);
  letter-spacing: 20px;
  white-space: nowrap;
  pointer-events: none;
}

.contact-lead {
  font-family: 'Noto Serif JP', 'Georgia', serif;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.5;
  position: relative;
}
.contact-lead-en {
  font-family: 'Georgia', serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  margin-top: 12px;
  position: relative;
}

.contact-info {
  margin-top: 48px;
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 2px;
  position: relative;
}
.contact-info a:hover { color: var(--gold); }

.contact-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 18px 60px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  position: relative;
}
.contact-btn:hover { background: var(--gold); color: var(--black); }

/* ── Footer ── */
.site-footer {
  background: #060606;
  border-top: 1px solid rgba(200,169,110,0.08);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Georgia', serif;
  font-size: 16px;
  letter-spacing: 4px;
}
.footer-logo span { color: var(--gold); }

.footer-nav { display: flex; gap: 28px; list-style: none; }
.footer-nav a { font-size: 10px; letter-spacing: 2px; color: var(--subtle); transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold); }

.footer-copy {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--subtle);
}

/* ── MVV ── */
.mvv-section { background: var(--black); }

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--subtle);
  margin-top: 16px;
}

.mvv-card {
  background: var(--dark);
  padding: 56px 44px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.mvv-card:hover { background: #1c1c1c; }
.mvv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(200,169,110,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.mvv-card * { position: relative; z-index: 1; }

.mvv-label {
  font-family: 'Georgia', serif;
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.mvv-title {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'Georgia', serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.mvv-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  margin-bottom: 24px;
}

.mvv-desc {
  font-size: 13px;
  line-height: 2.1;
  color: var(--gray);
}
.mvv-desc strong { color: #ccc; font-weight: 500; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .site-header { padding: 16px 20px; }
  .site-nav { display: none; }
  .hero-tagline-jp { font-size: clamp(28px, 7vw, 48px); }
  .hero-circle { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .site-footer { flex-direction: column; gap: 20px; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}

/* ── Mobile (≤600px) ── */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section-title { font-size: clamp(24px, 6vw, 36px); }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 20px; }
  .mvv-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .hero-section { min-height: 100svh; }
  .hero-tagline-jp { font-size: clamp(32px, 9vw, 52px); letter-spacing: 0.05em; }

  /* page-video / page-restaurant inline grid overrides */
  .sp-grid-1col { grid-template-columns: 1fr !important; gap: 40px !important; }
  .sp-grid-3to1 { grid-template-columns: 1fr !important; gap: 0 !important; }
  .sp-featured { grid-template-columns: 1fr !important; min-height: auto !important; }

  /* sp-featured 内パネルのパディング削減 */
  .sp-featured > div[style*="padding:80px 60px"] { padding: 40px 24px !important; }
  .sp-featured > div[style*="padding:80px"] { padding: 40px 24px !important; }

  /* Worksカードのモバイル内側余白調整 */
  .sp-grid-3to1 a[style*="padding:36px"] { padding: 24px 20px !important; }
}
