/*
Theme Name: PD-I Corporate
Theme URI: https://pd-i.net/
Author: Plus Design Inc.
Author URI: https://pd-i.net/
Description: プラスデザイン株式会社 公式コーポレートサイト
Version: 2.0.0
License: Private
Text Domain: pd-i
*/

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

:root {
  --white:    #FFFFFF;
  --gray-50:  #FAFAF8;
  --gray-100: #F4F4F2;
  --gray-200: #E8E8E5;
  --gray-400: #AAAAAA;
  --gray-600: #666660;
  --gray-800: #333330;
  --black:    #111110;
  --border:   #E2E2DE;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 40px; }

/* ─── HEADER ─── */
#site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 24px 0;
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 0;
  border-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.site-logo img { height: 26px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--gray-600); transition: color 0.2s; }
.site-nav a:hover { color: var(--black); }
.nav-cta {
  font-size: 12px !important; font-weight: 600 !important; color: var(--white) !important;
  background: var(--black); padding: 9px 22px; border-radius: 2px; letter-spacing: 0.08em;
}
.nav-cta:hover { background: var(--gray-800) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--black); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero-left {
  padding: 160px 60px 100px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-kicker {
  font-size: 11px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 36px;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; animation: fadeUp 0.9s ease forwards 0.2s;
}
.hero-kicker::before { content: ''; width: 32px; height: 1px; background: var(--gray-400); }
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 3.2vw, 50px);
  font-weight: 300; line-height: 1.55; letter-spacing: 0.02em;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.9s ease forwards 0.4s;
}
.hero-title strong { font-weight: 700; display: block; font-size: clamp(32px, 3.8vw, 58px); letter-spacing: -0.01em; line-height: 1.3; }
.hero-desc {
  font-size: 14px; color: var(--gray-600); line-height: 2;
  max-width: 440px; margin-bottom: 52px;
  opacity: 0; animation: fadeUp 0.9s ease forwards 0.6s;
}
.hero-mission-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  color: var(--gray-800); border: 1px solid var(--border);
  padding: 8px 16px; margin-bottom: 40px;
  opacity: 0; animation: fadeUp 0.9s ease forwards 0.5s;
}
.hero-actions {
  display: flex; gap: 16px;
  opacity: 0; animation: fadeUp 0.9s ease forwards 0.8s;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--black); color: var(--white);
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  padding: 14px 28px; border-radius: 2px; transition: background 0.2s;
}
.btn-primary:hover { background: var(--gray-800); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gray-600); font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  padding: 14px 28px; border: 1px solid var(--border); border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--black); color: var(--black); }
.hero-right {
  background: var(--gray-100); height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-icon-wrap {
  position: relative; z-index: 1;
  opacity: 0; animation: scaleIn 1s ease forwards 0.5s;
}
.hero-icon-wrap img { width: clamp(200px, 26vw, 360px); height: auto; border-radius: 50%; }
.hero-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  border: 1px solid var(--gray-200); border-radius: 50%; pointer-events: none;
}
.hero-ring-1 { width: 460px; height: 460px; }
.hero-ring-2 { width: 560px; height: 560px; opacity: 0.6; }
.hero-ring-3 { width: 660px; height: 660px; opacity: 0.3; }
.hero-tagline {
  position: absolute; bottom: 40px; right: 40px;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gray-400); writing-mode: vertical-rl;
}

@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes scaleIn { from{opacity:0;transform:scale(0.9)} to{opacity:1;transform:scale(1)} }

/* ─── SECTION COMMON ─── */
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gray-400); display: block; margin-bottom: 16px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 300; line-height: 1.35; letter-spacing: -0.01em;
}
.section-title strong { font-weight: 700; }

/* ─── MISSION ─── */
#mission { padding: 120px 0; border-bottom: 1px solid var(--border); }
.mission-top {
  display: grid; grid-template-columns: 1fr 2fr; gap: 80px;
  align-items: start; margin-bottom: 80px;
}
.mission-statement {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(18px, 2vw, 26px); font-weight: 300;
  line-height: 1.8; color: var(--gray-800);
}
.mission-statement strong { font-weight: 700; color: var(--black); }
.mission-mvp { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.mvp-card { background: var(--white); padding: 36px 32px; }
.mvp-label { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gray-400); margin-bottom: 14px; }
.mvp-title { font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 600; line-height: 1.5; margin-bottom: 12px; }
.mvp-desc { font-size: 13px; color: var(--gray-600); line-height: 1.8; }

/* ─── BUSINESS ─── */
#business { padding: 120px 0; border-bottom: 1px solid var(--border); background: var(--gray-50); }
.business-header { margin-bottom: 64px; }
.business-header p { font-size: 14px; color: var(--gray-600); margin-top: 12px; max-width: 500px; }
.business-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.business-card { background: var(--white); padding: 48px 40px; transition: background 0.3s; position: relative; }
.business-card:hover { background: var(--gray-50); }
.card-number { font-size: 11px; font-weight: 500; letter-spacing: 3px; color: var(--gray-400); margin-bottom: 32px; }
.card-icon { font-size: 28px; margin-bottom: 24px; }
.card-title { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 400; line-height: 1.4; margin-bottom: 16px; }
.card-mission-link { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: var(--gray-400); margin-bottom: 12px; text-transform: uppercase; }
.card-desc { font-size: 13px; color: var(--gray-600); line-height: 1.9; margin-bottom: 28px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 11px; font-weight: 500; color: var(--gray-600); border: 1px solid var(--border); border-radius: 1px; padding: 4px 12px; }
.card-arrow {
  position: absolute; bottom: 32px; right: 32px;
  width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s, border-color 0.2s;
}
.business-card:hover .card-arrow { background: var(--black); border-color: var(--black); }
.business-card:hover .card-arrow svg path { stroke: var(--white); }

/* ─── ABOUT ─── */
#about { padding: 120px 0; border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 100px; align-items: start; }
.about-left .section-title { margin-bottom: 28px; }
.about-left p { font-size: 14px; color: var(--gray-600); line-height: 2; margin-bottom: 16px; }
.company-table { margin-top: 48px; width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table tr:first-child { border-top: 1px solid var(--border); }
.company-table td { padding: 14px 0; font-size: 13px; vertical-align: top; }
.company-table .label { color: var(--gray-400); width: 90px; font-weight: 500; }
.timeline-header { margin-bottom: 40px; }
.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--border); }
.timeline-item { padding-left: 32px; padding-bottom: 40px; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -4px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--white); border: 2px solid var(--black); }
.timeline-year { font-size: 11px; font-weight: 600; letter-spacing: 3px; color: var(--gray-400); margin-bottom: 6px; }
.timeline-event { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.timeline-detail { font-size: 13px; color: var(--gray-600); line-height: 1.8; }

/* ─── VISION ─── */
#vision {
  padding: 120px 0; border-bottom: 1px solid var(--border);
  background: var(--black); color: var(--white);
}
.vision-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.vision-left .section-label { color: var(--gray-400); }
.vision-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 3.5vw, 52px); font-weight: 300;
  line-height: 1.5; margin-top: 16px; color: var(--white);
}
.vision-title strong { font-weight: 700; display: block; }
.vision-right p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 2; }

/* ─── CONTACT ─── */
#contact { padding: 120px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-right p { font-size: 14px; color: var(--gray-600); line-height: 2; margin-bottom: 40px; }

/* ─── FOOTER ─── */
#site-footer { background: var(--gray-100); border-top: 1px solid var(--border); padding: 60px 0 40px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 80px; margin-bottom: 48px; }
.footer-logo img { height: 20px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: 12px; color: var(--gray-400); line-height: 1.8; }
.footer-links { display: flex; gap: 60px; justify-content: flex-end; }
.footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gray-400); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--gray-600); transition: color 0.2s; }
.footer-col a:hover { color: var(--black); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--gray-400); }

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  #hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 140px 40px 80px; }
  .mission-top { grid-template-columns: 1fr; gap: 40px; }
  .mission-mvp { grid-template-columns: 1fr; }
  .business-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .vision-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { justify-content: flex-start; gap: 32px; flex-wrap: wrap; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
}
