/* =====================================
   IRIE LIFE - Common Styles
   ===================================== */

/* ── COMMON STYLES — IRIE LIFE ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@300;400;500;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --teal:       #3a9a96;
  --teal-dark:  #2a7a76;
  --teal-light: #5bbfbb;
  --teal-pale:  #e8f5f5;
  --white:      #ffffff;
  --off-white:  #f7f8f8;
  --gray-100:   #f0f2f2;
  --gray-200:   #e0e4e4;
  --gray-400:   #9aabab;
  --gray-500:   #6a8080;
  --gray-700:   #2e3e3e;
  --black:      #0e1616;
}

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

html { scroll-behavior: smooth; }

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

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  padding: 20px 64px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
  transition: padding 0.4s, box-shadow 0.4s;
}

nav.scrolled {
  padding: 16px 64px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

nav.dark-nav {
  background: rgba(14,22,22,0.97);
  padding: 18px 64px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  margin-right: auto;
}

.nav-logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  /* 元画像の黒をそのまま使用 */
}

.nav-logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-top: 4px;
}

nav.dark-nav .nav-logo-main { color: var(--white); }

nav.dark-nav .nav-logo-sub  { color: rgba(255,255,255,0.4); }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--gray-700);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a:hover { color: var(--teal); }

nav.dark-nav .nav-links a { color: rgba(255,255,255,0.7); }

nav.dark-nav .nav-links a:hover { color: var(--teal-light); }





/* ── SECTION LABEL ── */
.sec-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--teal);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.sec-label::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--teal);
}

.sec-label.light { color: rgba(91,191,187,0.9); }

.sec-label.light::before { background: rgba(91,191,187,0.9); }

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.d1 { transition-delay: 0.1s; }

.d2 { transition-delay: 0.2s; }

.d3 { transition-delay: 0.3s; }

.d4 { transition-delay: 0.4s; }

/* ── FOOTER ── */
.site-footer {
  background: var(--black);
  padding: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo-wrap .footer-logo-main {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.14em;
  color: var(--white);
  line-height: 1;
}

.footer-logo-wrap .footer-logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-nav-list a {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer-nav-list a:hover { color: var(--teal-light); }

.footer-contact-wrap {
  text-align: right;
}

.footer-contact-wrap a {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--teal-light);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
  transition: color 0.3s;
}

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

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

.footer-address {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.3);
}

.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
}

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

.hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--gray-700);
  transition: background 0.3s;
}

nav.scrolled .hamburger span { background: var(--gray-700); }
nav:not(.scrolled) .hamburger span { background: var(--gray-700); }
/* ======================================
   MOBILE NAVIGATION & FOOTER
   ====================================== */

@media (max-width: 768px) {

  /* ── NAV ── */
  #navbar {
    padding: 16px 20px;
  }

  .nav-logo-img {
    height: 40px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* ── MOBILE MENU OVERLAY ── */
  .mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.97);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

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

  .mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mobile-menu-close span {
    display: block;
    width: 24px; height: 1px;
    background: var(--gray-700);
  }

  .mobile-menu-close span:first-child {
    transform: rotate(45deg) translate(1px, 1px);
  }

  .mobile-menu-close span:last-child {
    transform: rotate(-45deg) translate(1px, -1px);
  }

  .mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
  }

  .mobile-menu ul li a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-700);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.2s;
  }

  .mobile-menu ul li:first-child a {
    border-top: 1px solid var(--gray-100);
  }

  .mobile-menu ul li a:hover,
  .mobile-menu ul li a.active {
    color: var(--teal);
  }

  /* ── FOOTER ── */
  .site-footer {
    padding: 48px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-nav-list {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .footer-contact-wrap {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}
