@charset "UTF-8";
/* ----関数設定---- */
/* ----------------------------------------------------------------------
ヘッダー #top-head  
---------------------------------------------------------------------- */

/* =============================================
   NAVBAR
   ============================================= */
#top-head .navbar {
  background: var(--white);
  border-bottom: 2px solid var(--green);
  top: 0;
  z-index: 200;
  position:fixed;
  left:0;
  width:100%;
}
#top-head .navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
  z-index: 400;
}
#top-head .logo {
  font-family: var(--serif-jp);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--green);
  letter-spacing: 0.03em;
  white-space: nowrap;
	line-height: 1.5;
}
#top-head .logo-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 3px 20px;
  text-align: center;
	color: #fff;
  background: var(--green);
  letter-spacing: 0.12em;
}
#top-head .nav-links { display: flex; gap: 34px; list-style: none; }
#top-head .nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
#top-head .nav-links a:hover { color: var(--green); }
#top-head .nav-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--green);
  text-decoration: none;
}
#top-head .nav-tel .tel-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: currentColor;
}
#top-head .nav-tel .tel-number {
	font-family:var(--sans-en);
	font-weight:700;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--green);
}
#top-head .nav-tel:hover { opacity: 0.78; }
#top-head .nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 320;
}
#top-head .nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--green);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* ×印に変化 */
#top-head .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#top-head .nav-hamburger.open span:nth-child(2) { opacity: 0; }
#top-head .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニューパネル */
#top-head .mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  z-index: 100;
  padding: 0 0 30px;
  transform: translateX(100%);
  transition: transform 0.32s ease;
  overflow-y: auto;
    margin: 82px 0;
}
#top-head .mobile-menu.open { transform: translateX(0); z-index:20;}
#top-head .mobile-menu a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 12px 30px;
  border-bottom: 1px solid var(--border-lt);
  letter-spacing: 0.03em;
}
#top-head .mobile-menu a:hover { color: var(--green); background: var(--green-wash2); }
#top-head .mobile-menu .mm-tel {
  margin: 24px 30px 0;
  padding: 5px;
  text-align: center;
  font-family: var(--sans-en);
	font-weight:700;
  font-size: 1.4rem;
  color: #fff;
  border: 2px solid var(--green);
  border-radius: 4px;
  background: var(--green);
}
/* オーバーレイ（背景） */
#top-head .mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,30,26,0.45);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#top-head .mobile-menu-overlay.open { opacity: 0; }

/* =============================================
   RESPONSIVE — ヘッダー切替（〜1400px）
   ============================================= */
@media (max-width: 1400px) {
#top-head .nav-links,#top-head .nav-tel { display: none; }
#top-head .nav-hamburger { display: flex; }
#top-head .mobile-menu { display: block; }
#top-head .mobile-menu-overlay { display: block; pointer-events: none; }
#top-head .mobile-menu-overlay.open { pointer-events: auto; }
}

/* =============================================
   RESPONSIVE — タブレット（〜1024px）
   ============================================= */
@media (max-width: 1024px) {
#top-head .s-inner { padding: 64px 40px; }
#top-head .navbar-inner { padding: 0 40px; }
#top-head .hero-left { width: 72%; padding: 64px 40px; }
#top-head .reason-grid { grid-template-columns: repeat(2, 1fr); }
#top-head .use-grid { grid-template-columns: repeat(3, 1fr); }
#top-head .flow-grid { grid-template-columns: repeat(3, 1fr); }
#top-head .flow-item:nth-child(3n) { border-right: none; }
#top-head .flow-item:nth-child(-n+3) { border-bottom: 1px solid var(--border); }
#top-head .flow-arr { display: none; }
#top-head .case-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   RESPONSIVE — スマートフォン（〜767px）
   ============================================= */
@media (max-width: 767px) {
  html { font-size: 15px; }
  body { padding-bottom: 72px; }

#top-head .s-inner { padding: 48px 20px; }
#top-head .s-inner.tight { padding: 40px 20px; }
#top-head .navbar-inner { padding: 0 20px; height: 68px; }
#top-head .logo { font-size: 1.3125rem; }
	#top-head .logo-sub{font-size: 0.8rem;padding: 2px 10px;}
#top-head .mobile-menu{width:70%;}

  /* セクションヘッダー */
  .sec-head { margin-bottom: 36px; }
#top-head .t-h2 { font-size: 1.5625rem; }
#top-head .t-body { font-size: 1.0625rem; }
	#top-head .navbar-inner { padding: 0 20px; }
	#top-head .mobile-menu{margin: 70px 0;}

}