/* =========================
 ヘッダー全体
========================= */

.site-header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  min-height: 86px;
  position: sticky;
  top: 0;
  z-index: 1100;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo img {
  height: 40px;
  width: auto;
  position: relative;
}
	
.logo,
.nav-right {
  width: 160px;
  height: 86px;
  display: flex;
  align-items: center;
}

.global-nav {
  position: static;
  display: flex;
  justify-content: center;
  flex: 1;
}

.global-nav a {
  pointer-events: auto;
}

.nav-center {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-center a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  padding-bottom: 6px;
}

.nav-center a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #0073aa;
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

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

.nav-center a:hover,
.nav-center a.is-active {
  color: #0073aa;
}

.nav-center a:hover .svg-logo,
.nav-center a.is-active .svg-logo {
  filter: brightness(0) saturate(100%) invert(32%)
          sepia(87%) saturate(1800%) hue-rotate(190deg);
}

.nav-right {
  list-style: none;
  margin: 0;
  padding: 0;
}

.svg-logo {
  height: 24px; 
  width: auto;
  display: block;
}

.contact a {
  background: #0073aa;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
}
	
.nav-center li {
   position: static;
}
	
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #ddd;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  padding: 24px 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  box-sizing: border-box;
}

.dropdown.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);}
	
.dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.dropdown a:hover {
  color: #0073aa;
  text-decoration: underline;
}
	
.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, 235px);
  gap: 24px;
  justify-content: center;
}
	
.news-list li {
  box-sizing: border-box;
  margin-bottom: 24px;
}

.news-list a {
  display: block;
  text-decoration: none;
  color: #333;
}

.news-list img {
  width: 100%;
  height: 125px;
  object-fit: cover;
}

.news-title {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
}
	
.news-date {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.news-list a:hover .news-title {
  color: #0073aa;
}

.news-archive-btn {
  margin-top: 16px;
  text-align: center;
}

.news-archive-btn a {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  color: #1a73e8;
  border: 2px solid #1a73e8;
  font-weight: bold;
  font-size: 14px;
  border-radius: 6px;
  width: 90%;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.news-archive-btn a:hover {
  opacity: 0.85;
}
	
.guide-list {
  display: grid;
  grid-template-columns: repeat(3, 200px);
  gap: 12px;
  padding: 15px 0px;
  justify-content: center;
  margin: 0 auto;
}

.guide-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: #333;
}

.guide-list img {
  width: auto;
  height: 74px;
  max-width: 100%;
  object-fit: contain;
}

.guide-list li.main {
  aspect-ratio: 1 / 1;
  grid-row: span 2;
}
	
.guide-list li.main img {
  height: 200px;
}

.guide-title {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
}

.product-menu-cols {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center; 
}

.product-menu-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.product-menu-head {
  width: 100%;
  font-weight: 700;
  color: #0087f8;
  font-size: 14px;
  text-align: center; 
padding-bottom:10px
}
	
.product-menu-items {
	display: flex;
	gap: 16px;
	justify-content: center;
	width: 100%;
}

.product-menu-item {
	flex: 1 1 220px;
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	min-width: 120px;
	max-width: 220px;
}

.product-menu-item img {
	width: 100%;
	height: auto;
	object-fit: contain;
	max-width: 200px;
}
	
.news-list a:hover img,
.guide-list a:hover img,
.product-menu-items a:hover img {
  opacity: 0.85;
}

  .dropdown-close-wrap {
    display: block;
    padding: 16px 0 8px;
    text-align: center;
  }

  .dropdown-close {
    appearance: none;
    border: none;
    background: #f0f4f8;
    color: #0073aa;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 999px;
  }

  .dropdown-close:active {
    background: #e0ebf5;
  }

@media (max-width: 820px) {

  .site-header {
    min-height: auto;
  }

  .header-inner {
    overflow: visible;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .logo {
    position: absolute;
    left: 0;
    top: 0;
  }
	
 .logo img {
    height: 32px;
  }
	
  .logo,
  .nav-right {
    height: 56px;
  }

  .header-inner > .logo,
  .header-inner > .nav-right {
    padding: 0 16px;
  }

  .header-inner > .logo {
    justify-content: flex-start;
  }

  .nav-right {
    justify-content: flex-end;
    position: absolute;
    right: 0;
    top: 0;
  }

  .global-nav {
    position: static;
    width: 100%;
    margin-top: 56px;
    border-top: 1px solid #ddd;
  }

  .nav-center {
    left: 0;
    transform: none;
    justify-content: space-around;
    width: 100%;
    padding: 10px 8px;
    gap: 0;
  }
	
.nav-center a {
  padding-bottom: 0px;
}
	
  .nav-center a {
    font-size: 12px;
    gap: 4px;
  }

  .svg-logo {
    height: 20px;
  }
	
.news-list {
  display: flex;
  flex-direction: column;
}

.news-list li {
    flex: none;
    width: 100%;
    margin: 0;
}

.news-list li a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 6px;
}

.news-list li a img {
    width: 100%;
    max-width: 200px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.news-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-date {
  font-size: 12px;
  color: #888;
}
	
.news-archive-btn a {
  padding-bottom: 6px;
}

  .dropdown {
    max-height: calc(100dvh - 112px - env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-left: 16px;
    padding-right: 16px;
  }

}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  z-index: 900;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
	
@media (max-width: 767px) {
.guide-list {
  grid-template-columns: 1fr;
}

.guide-list li.main {
  grid-row: auto;
  aspect-ratio: auto;
}
	
.guide-list li a {
  padding-bottom: 6px;
}
	
  .product-menu-cols {
    gap: 24px;
    align-items: stretch;
  }

  .product-menu-col {
    flex-direction: column;
    align-items: stretch;
  }

  .product-menu-items {
    flex-direction: column;
    gap: 16px;
    overflow-x: visible;
  }

  .product-menu-item {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .product-menu-item img {
    width: 200px;
  }

  .product-menu-head {
    text-align: center;
    font-size: 16px;
  }

}

body.is-menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.is-menu-open {
  overflow: visible;
}