:root {
  --font-body: 'Noto Sans JP', system-ui, sans-serif;
  --font-accent: 'Montserrat', sans-serif;
  --color-bg: #f5f5f0;
  --color-surface: #ffffff;
  --color-muted: #6b7280;
  --color-text: #1a1a1a;
  --color-accent: #3498db;
  --color-accent-strong: #2980b9;
  --color-highlight: #e74c3c;
  --color-border: #e5e5e0;
  --radius-small: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background: #fafaf8;
  line-height: 1.7;
  letter-spacing: 0.015em;
}

li {
  color: #1a1a1a;
}

h1, h2, h3, h4, h5, h6, p {
  color: #1a1a1a;
}

.hero h1,
.hero p,
.hero .hero-eyebrow,
.hero .hero-lead {
  color: #ffffff !important;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--color-accent-strong);
}

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

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 1.8rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f5f5f0;
  border-bottom: 2px solid var(--color-accent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
  color: #1a1a1a;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
}

.brand-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-name {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.brand-tagline {
  font-size: 0.85rem;
  font-weight: 300;
  color: #4a4a4a;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  color: #1a1a1a;
  font-weight: 400;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s ease;
}
.primary-nav.active a {
  color: #FFF;
}

.primary-nav a:hover {
  color: var(--color-highlight);
}

/* Underline removed as per user request */

.header-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #1a1a1a;
  font-weight: 600;
}

.header-contact .label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1a1a1a;
  padding: 0.2rem 0.65rem;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  text-transform: uppercase;
  background: #ffffff;
  color: #1a1a1a;
}

.contact-number {
  color: #1a1a1a;
  font-size: 1rem;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 30;
  background: transparent;
  border: none;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #1a1a1a;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  position: relative;
  color: #ffffff;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.2);
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255, 255, 255, 0.5);
  color: rgba(15, 23, 42, 0.9);
  border-color: rgba(15, 23, 42, 0.4);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-prev {
  left: 2rem;
}

.hero-next {
  right: 2rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.15);
  z-index: 1;
}

.hero-content {
  position: relative;
  padding: 6rem 0 5rem;
  max-width: 720px;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
  text-transform: uppercase;
  line-height: 1.6;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.25;
  margin: 1.5rem 0 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.hero-lead {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 2.5rem;
  max-width: 640px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-strong);
  border-color: var(--color-accent-strong);
  color: #ffffff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: #1a1a1a;
  border-color: #ffffff;
}

/* Page Content */
.page-content {
  padding: 4rem 0;
  min-height: 60vh;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-eyebrow {
  font-family: var(--font-accent);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 1rem;
  font-weight: 800;
  color: #1a1a1a;
}

.page-lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

.card {
  background: var(--color-surface);
  padding: 2.4rem 2rem;
  border: 2px solid var(--color-border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card p:not(.card-kicker):not(.card-tagline) {
  flex-grow: 1;
}

.card .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
}

.card-kicker {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.card h2,
.card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.5rem;
  color: #1a1a1a;
}

.card-tagline {
  font-weight: 600;
  color: var(--color-accent-strong);
  margin-bottom: 0.8rem;
}

/* Footer */
.site-footer {
  background: #f5f5f0;
  color: #1a1a1a;
  padding: 2.8rem 0 2rem;
  margin-top: 4rem;
  border-top: 2px solid var(--color-accent);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand p {
  margin: 0;
  font-weight: 400;
  color: #1a1a1a;
}

.footer-contact p {
  margin: 0.2rem 0;
  color: #1a1a1a;
}

.footer-contact a {
  color: #1a1a1a;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-copy {
  width: 100%;
  text-align: center;
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  color: #4a4a4a;
}

/* Responsive */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    padding: 0.8rem 0;
    gap: 1rem;
  }
  
  .brand {
    width: 100%;
    justify-content: center;
  }
  
  .brand-logo {
    width: 50px;
    height: 50px;
  }
  
  .brand-name {
    font-size: 1rem;
  }
  
  .brand-tagline {
    font-size: 0.75rem;
  }
  
  .primary-nav {
    width: 100%;
  }
  
  .primary-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    font-size: 0.85rem;
  }
  
  .header-contact {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
  }
  
  .hero {
    min-height: 72vh;
  }
  
  .hero-content {
    padding: 4rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero-lead {
    font-size: 1.1rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 0.95rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
  }
  
  .header-inner {
    padding: 0.8rem 0;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .brand {
    gap: 0.5rem;
    width: auto;
  }
  
  .brand-logo {
    width: 40px;
    height: 40px;
  }
  
  .brand-name {
    font-size: 0.9rem;
  }
  
  .brand-tagline {
    font-size: 0.7rem;
  }
  
  .hamburger {
    display: flex;
  }
  
  .primary-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 25;
  }
  
  .primary-nav.active {
    transform: translateX(0);
  }
  
  .primary-nav ul {
    flex-direction: column;
    gap: 2rem;
    font-size: 1.2rem;
    text-align: center;
  }
  
  .primary-nav a {
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
  }
  
  .primary-nav a::after {
    display: none;
  }
  
  .header-contact {
    display: none;
  }
  
  .hero {
    min-height: 62vh;
    margin-top: 60px;
  }
  
  .hero-prev,
  .hero-next {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .hero-prev {
    left: 0.8rem;
  }
  
  .hero-next {
    right: 0.8rem;
  }
  
  .hero-content {
    padding: 2.5rem 0 2rem;
  }
  
  .hero-eyebrow {
    font-size: 0.7rem;
    padding: 0.5rem 0.8rem;
    letter-spacing: 0.03em;
    line-height: 1.5;
  }
  
  .hero h1 {
    font-size: 1.3rem;
    margin: 1rem 0 0.8rem;
    line-height: 1.4;
  }
  
  .hero-lead {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }
  
  .btn {
    padding: 0.75rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .page-content {
    padding: 2rem 0;
  }
  
  .page-header {
    margin-bottom: 2rem;
  }
  
  .page-eyebrow {
    font-size: 0.75rem;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .page-lead {
    font-size: 1rem;
  }
  
  .card-grid {
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.5rem 1.2rem;
  }
  
  .card h2 {
    font-size: 1.3rem;
  }
  
  .card-kicker {
    font-size: 0.75rem;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .footer-brand {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-brand img {
    width: 40px;
    height: 40px;
  }
  
  .footer-contact {
    width: 100%;
  }
  
  .footer-copy {
    font-size: 0.8rem;
    margin: 1rem 0 0;
  }
}

/* ページトップに戻るボタン */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  font-size: 1.5rem;
  backdrop-filter: blur(8px);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: rgba(255, 255, 255, 0.5);
  color: rgba(15, 23, 42, 0.9);
  border-color: rgba(15, 23, 42, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 640px) {
  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}
/* Cache bust v36 */
/* Updated slideshow v37 */
