@charset "UTF-8";

/* ==========================================================================
   Reset & Base Styles (Luxury Edition)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

.resize-animation-stopper * {
  animation: none !important;
  transition: none !important;
}

:root {
  /* Soft Luxury Silk Palette - 2026 Premium Standard */
  --c-silk-white: #faf9f6;
  --c-silk-ivory: #f2f0e9;
  --c-gold-rose: #d4a373;
  --c-gold-subtle: #e9edc9;
  --c-charcoal-soft: #2d2d2d;
  --c-text-main: #1a1a1a;
  --c-text-muted: #666666;
  --c-accent: #bc6c25;

  /* Sophisticated Aurora Gradient */
  --g-aurora:
    radial-gradient(at 0% 0%, rgba(212, 163, 115, 0.08) 0%, transparent 50%),
    radial-gradient(at 100% 0%, rgba(233, 237, 201, 0.05) 0%, transparent 50%),
    radial-gradient(at 100% 100%, rgba(188, 108, 37, 0.05) 0%, transparent 50%),
    #faf9f6;

  /* Refined Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: blur(16px);

  /* Premium Shadows */
  --s-premium: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
  --s-btn: 0 4px 15px rgba(188, 108, 37, 0.2);

  /* Fonts */
  --f-main: 'Noto Sans JP', sans-serif;
  --f-eng: 'Montserrat', sans-serif;

  /* Gradients */
  --g-btn: linear-gradient(135deg, var(--c-accent), var(--c-gold-rose));
}

body {
  font-family: var(--f-main);
  background: var(--c-silk-white);
  background-image: var(--g-aurora);
  background-attachment: fixed;
  color: var(--c-text-main);
  line-height: 1.8;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Texture Layer */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
  z-index: 1000;
}

main {
  position: relative;
  z-index: 1;
}

.content {
  max-width: 920px;
  width: 95%;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: .3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons - 2025-2026 Premium Kinetic */
.btn {
  display: block;
  width: fit-content;
  min-width: 240px;
  max-width: 90%;
  padding: 20px 44px;
  background: var(--g-btn);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(188, 108, 37, 0.3);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.08em;
  border: none;
  transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  margin: 60px auto 0;
  text-transform: uppercase;
}

.btn:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(188, 108, 37, 0.4);
  filter: brightness(1.08);
}

/* Shimmer streak on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: 0s;
}

.btn:hover::before {
  left: 160%;
  transition: 0.6s ease;
}

.btn::after {
  display: none;
}

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

@media (max-width: 767px) {
  section {
    padding: 60px 0;
  }
}

h2 {
  font-family: var(--f-main);
  color: var(--c-accent);
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2::before,
h2::after {
  content: "✦";
  color: var(--c-gold-rose);
  font-size: 0.9rem;
  vertical-align: middle;
  margin: 0 10px;
  opacity: 0.5;
}

/* Glass Card */
.glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--s-card);
  border-radius: 20px;
}

/* Glass Card */
.glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--s-card);
  border-radius: 20px;
}

/* Safety Section / Grid Utilities */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 0;
}

.safety-item {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
}

.safety-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.safety-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(188, 108, 37, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.safety-icon i {
  font-size: 1.4rem;
  color: var(--c-accent);
}

.safety-item h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-charcoal-soft);
  margin: 0 0 8px;
  text-align: center;
}

.safety-item p {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin: 0;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  height: 60px;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* Fixed height */
}


header .content {
  display: flex;
  align-items: center;
  padding: 0 10px;
  max-width: 1000px;
  margin: 0 auto;
  height: 100%;
}

header .content>#logo {
  margin-right: auto;
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Logo Text Fix */
.logo-text {
  font-weight: 800;
  color: #111;
  font-size: 1rem;
  letter-spacing: 0.05em;
  display: inline-block;
  line-height: 1;
  margin-left: 10px;
  /* Ensure space from icon */
}

/* Mobile Nav - Hidden by default */
#sys-nav {
  position: fixed;
  top: 60px;
  /* Below header */
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transform: translateX(100%);
  /* Slide out */
  transition: transform 0.3s ease;
  z-index: 998;
}

#sys-nav.active {
  transform: translateX(0);
  /* Slide in */
}

#sys-nav a {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

#sys-nav a.nav-current {
  color: var(--c-accent);
}

/* Hamburger Button */
#sys-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 999;
}

#sys-menu-btn span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--c-charcoal-soft);
  border-radius: 3px;
  transition: 0.3s;
}

/* Hamburger Animation */
#sys-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#sys-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

#sys-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Utilities */
.content {
  max-width: 920px;
  width: 95%;
  margin: 0 auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: #1a1714;
  border-top: 1px solid rgba(212, 163, 115, 0.15);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0;
  font-size: 0.88rem;
}

footer .content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

footer ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 10px;
  justify-items: center;
  text-align: center;
}

footer a {
  transition: 0.3s;
}

footer a:hover {
  color: var(--c-gold-rose);
}

footer .icon-x {
  vertical-align: middle;
  margin-right: 3px;
}

#copyright {
  text-align: center;
  font-size: 0.72rem;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

/* Page Top Button */
#pagetop {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  z-index: 990;
  transition: 0.3s;
}

#pagetop:hover {
  background: var(--c-accent);
}

/* Mobile Fixed Bottom Nav */
#mobileFootNav {
  position: fixed;
  bottom: 10px;
  left: 10px;
  right: 10px;
  width: 95%;
  height: 36px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.ftNavBtn {
  width: 50%;
  height: 100%;
}

.menuButton {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

.menuButton span {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

/* Specific Button Styles */
.ftNavBtn:nth-child(1) .menuButton {
  background: #06c755e0;
  /* LINE Green */
  color: #fff;
}

.ftNavBtn:nth-child(2) .menuButton {
  background: #ffffffe3;
  color: #333;
}

/* Desktop Adjustments: Reset Navigation */
@media (min-width: 768px) {
  footer {
    padding-bottom: 40px;
    /* Reset padding */
  }

  footer .content {
    text-align: center;
  }

  footer ul {
    display: flex;
    gap: 30px;
    justify-content: center;
  }

  #mobileFootNav {
    display: none;
    /* Hide on PC */
  }

  #pagetop {
    bottom: 30px;
  }

  #sys-menu-btn {
    display: none;
    /* Hide hamburger */
  }

  #sys-nav {
    position: static;
    height: auto;
    width: auto;
    background: none;
    display: flex;
    flex-direction: row;
    transform: none;
    /* Reset toggle */
    gap: 20px;
  }

  #sys-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #555;
    position: relative;
    padding-bottom: 5px;
    display: inline-block;
  }

  #sys-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--c-accent), var(--c-gold-rose));
    transition: width 0.3s ease-out;
  }

  #sys-nav a:hover {
    color: var(--c-accent);
  }

  #sys-nav a:hover::after {
    width: 100%;
  }

  .safety-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}