@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --color-bg: #fafafa;
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-accent: #2d3436;
  --color-border: #e0e0e0;
  --color-white: #ffffff;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --max-width: 1200px;
  --spacing-unit: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

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

/* ===== Layout ===== */
.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 4);
}

/* ===== Header ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  height: 28px;
  width: auto;
}

nav ul {
  display: flex;
  gap: calc(var(--spacing-unit) * 5);
  list-style: none;
}

nav a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  margin-right: -10px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  nav.active {
    opacity: 1;
    visibility: visible;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing-unit) * 4);
  }
  
  nav a {
    font-size: 18px;
  }
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 72px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 50%;
  right: -20%;
  transform: translateY(-50%);
  width: 70vw;
  max-width: 800px;
  opacity: 0.06;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: calc(var(--spacing-unit) * 8) 0;
}

.hero-logo {
  width: 180px;
  margin: 0 auto calc(var(--spacing-unit) * 6);
  animation: fadeInUp 0.8s ease-out;
}

.hero-tagline {
  font-size: 18px;
  font-weight: 400;
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: var(--color-text);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Section ===== */
section {
  padding: calc(var(--spacing-unit) * 12) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: calc(var(--spacing-unit) * 5);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

.section-content {
  max-width: 680px;
}

.section-content p {
  margin-bottom: calc(var(--spacing-unit) * 3);
  color: var(--color-text);
}

.section-content p:last-child {
  margin-bottom: 0;
}

/* ===== Button ===== */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
  border: 1px solid var(--color-text);
  margin-top: calc(var(--spacing-unit) * 5);
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--color-text);
  color: var(--color-white);
  opacity: 1;
}

/* ===== News ===== */
.news-list {
  list-style: none;
}

.news-item {
  padding: calc(var(--spacing-unit) * 3) 0;
  border-bottom: 1px solid var(--color-border);
}

.news-item:first-child {
  padding-top: 0;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing-unit) * 2);
  margin-bottom: calc(var(--spacing-unit) * 1);
}

.news-date {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--color-text-muted);
}

.news-category {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  background: var(--color-text);
  color: var(--color-white);
}

.news-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.news-title a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===== Contact ===== */
.contact-section {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.contact-content {
  max-width: 680px;
}

.contact-email {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: calc(var(--spacing-unit) * 4);
  display: inline-block;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 4px;
}

.contact-email:hover {
  opacity: 0.7;
}

/* ===== Footer ===== */
footer {
  padding: calc(var(--spacing-unit) * 8) 0;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: calc(var(--spacing-unit) * 4);
}

.footer-nav ul {
  display: flex;
  gap: calc(var(--spacing-unit) * 4);
  list-style: none;
}

.footer-nav a {
  font-size: 12px;
  color: var(--color-text-muted);
}

.copyright {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ===== About Page ===== */
.page-header {
  padding-top: calc(72px + var(--spacing-unit) * 12);
  padding-bottom: calc(var(--spacing-unit) * 8);
}

.page-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-info {
  margin-top: calc(var(--spacing-unit) * 8);
}

.info-table {
  width: 100%;
  max-width: 600px;
}

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

.info-table th,
.info-table td {
  padding: calc(var(--spacing-unit) * 2.5) 0;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  font-weight: 500;
  width: 140px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.info-table td {
  font-size: 14px;
}

/* ===== News Page ===== */
.news-list-page .news-item {
  padding: calc(var(--spacing-unit) * 4) 0;
}

.news-excerpt {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: calc(var(--spacing-unit) * 1);
  line-height: 1.7;
}

/* ===== Privacy Policy ===== */
.privacy-content h2 {
  font-size: 16px;
  font-weight: 500;
  margin-top: calc(var(--spacing-unit) * 6);
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  margin-bottom: calc(var(--spacing-unit) * 2);
  font-size: 14px;
  color: var(--color-text);
}

.privacy-content ul {
  margin-left: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.privacy-content li {
  font-size: 14px;
  margin-bottom: calc(var(--spacing-unit) * 1);
}

/* ===== Utilities ===== */
.text-center {
  text-align: center;
}

.mt-8 {
  margin-top: calc(var(--spacing-unit) * 8);
}
