/* ========================================
   和酒貿易合同会社 - Company Website
   Style Sheet
   ======================================== */

/* --- Variables --- */
:root {
  --primary: #0072BC;
  --primary-dark: #005a96;
  --primary-light: #e8f4fb;
  --dark: #1a1a2e;
  --text: #333333;
  --text-light: #666666;
  --bg: #ffffff;
  --bg-gray: #f7f9fc;
  --border: #e0e8f0;
  --shadow: 0 4px 24px rgba(0, 114, 188, 0.10);
  --shadow-hover: 0 8px 32px rgba(0, 114, 188, 0.18);
  --radius: 10px;
  --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
}

/* Outfit for English/numbers */
.hero-label, .section-label, .service-num, .exhibition-date, .news-date,
.btn-primary, .btn-outline, .btn-contact-header, .btn-white, .btn-white-outline,
.nav-links a, .footer-col h4 {
  font-family: 'Outfit', 'Zen Kaku Gothic New', sans-serif;
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   Header
   ======================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: 72px;
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-links .lang-switch {
  font-size: 13px;
  color: var(--text-light);
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all var(--transition);
}

.nav-links .lang-switch:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.nav-links .lang-switch::after { display: none; }

.btn-contact-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--primary);
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-contact-header:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mobile-nav .btn-contact-header {
  margin-top: 8px;
  text-align: center;
  justify-content: center;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.hero-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(52px, 6.5vw, 80px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.hero-title em {
  font-style: normal;
  color: var(--primary);
}

.hero-desc {
  font-size: 17px;
  line-height: 2.0;
  color: var(--text-light);
  margin-bottom: 48px;
  max-width: 460px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 114, 188, 0.3);
}

.btn-primary .arrow {
  transition: transform var(--transition);
}
.btn-primary:hover .arrow { transform: translateX(4px); }

.hero-visual {
  position: relative;
  aspect-ratio: 3 / 4;
  max-height: calc(100vh - 120px);
  border-radius: 16px;
  overflow: hidden;
  background: var(--primary-light);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: rotate(-2deg) scale(1.05);
  transform-origin: center center;
}

/* ========================================
   Section Common
   ======================================== */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-gray);
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--primary);
  display: block;
}

.section-title {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-light);
  line-height: 2.0;
  max-width: 560px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

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

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.service-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.service-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 2.0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition);
}

.service-link:hover { gap: 10px; }

/* ========================================
   Exhibitions
   ======================================== */
.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.exhibition-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.exhibition-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
}

.exhibition-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, #0056a0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.exhibition-thumb::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.exhibition-thumb::after {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.exhibition-flag {
  font-size: 36px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.exhibition-country {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  letter-spacing: 0.05em;
}

.exhibition-body {
  padding: 24px;
}

.exhibition-date {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.exhibition-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 10px;
}

.exhibition-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-light);
}

.exhibitions-footer {
  text-align: center;
}

/* ========================================
   News
   ======================================== */
.news-list {
  margin-bottom: 40px;
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.news-item:first-child { border-top: 1px solid var(--border); }

.news-item a {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.news-item:hover { background: var(--primary-light); padding: 24px 16px; margin: 0 -16px; }

.news-date {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
  min-width: 96px;
  padding-top: 2px;
}

.news-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--primary);
  white-space: nowrap;
  min-width: 72px;
  text-align: center;
}

.news-title {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
}

.news-footer {
  text-align: right;
}

/* ========================================
   CTA
   ======================================== */
.cta-section {
  background: var(--primary);
  padding: 96px 0;
  text-align: center;
  color: #fff;
}

.cta-section .section-label {
  color: rgba(255,255,255,0.7);
}

.cta-section .section-label::before {
  background: rgba(255,255,255,0.5);
}

.cta-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta-desc {
  font-size: 17px;
  opacity: 0.85;
  margin-bottom: 48px;
  line-height: 2.0;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: #fff;
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: all var(--transition);
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-white-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.btn-white-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-logo img {
  height: 36px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
  opacity: 0.9;
}

.footer-logo p {
  font-size: 13px;
  line-height: 1.9;
  opacity: 0.7;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 13px;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer-col ul a:hover { opacity: 1; }

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

.footer-bottom p {
  font-size: 12px;
  opacity: 0.5;
}

.footer-lang a {
  font-size: 12px;
  opacity: 0.6;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  transition: all var(--transition);
}

.footer-lang a:hover {
  opacity: 1;
  border-color: rgba(255,255,255,0.5);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .exhibitions-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 24px;
  }

  .hero-visual { aspect-ratio: 3 / 4; max-height: 420px; order: -1; }
  .hero-desc { max-width: 100%; }
}

@media (max-width: 640px) {
  .nav-links, .btn-contact-header { display: none; }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .exhibitions-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .section { padding: 64px 0; }
  .news-item a { flex-direction: column; gap: 8px; }
  .news-date { min-width: auto; }
  .footer-bottom { justify-content: center; text-align: center; }
}
