/* サステナビリティ追加 */

.mega-menu-container {
  background: #fff;
  padding: 0 20px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 20px 15px;
  /*color: white;*/
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  width: 1024px;
  background: white;
  border-top: 1px solid #e1e5e9;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
}


/*.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-100%) translateY(-20px);
  width: 1024px;
  background: white;
  border-top: 1px solid #e1e5e9;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
}
*/

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-20px);
}

.mega-menu-content {
  display: flex;
  padding: 30px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.mega-menu-section {
  flex: 1;
}

.mega-menu-section h3 {
  color: #333;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.mega-menu-section ul {
  list-style: none;
}

.mega-menu-section li {
  margin: 8px 0;
}

.mega-menu-section a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.mega-menu-section a:hover {
  color: #36b1fd;
}

/*
.inline-block_box {
    display: inline-block;
    padding: 50px;
}


.mega-menu-inner{
    max-width:1200px;
    margin:0 auto;
    padding:50px 0;

    display:grid;
    grid-template-columns:repeat(4,1fr);
}

.mega-menu-section{
    padding:0 28px;
    border-right:1px solid #d9d9d9;
}

.mega-menu-section:last-child{
    border-right:none;
}

.mega-menu-section h3{
    margin:0 0 20px;
    font-size:28px;
    font-weight:500;
    color:#a89a20;
}

.mega-menu-section ul{
    margin:0;
    padding:0;
    list-style:none;
}

.mega-menu-section li{
    margin-bottom:12px;
}

.mega-menu-section a{
    display:flex;
    align-items:flex-start;
    gap:6px;

    text-decoration:none;
    color:#222;

    font-size:14px;
    line-height:1.8;
}

.mega-menu{
    position:fixed;
    top:64px;
    left:0;
    width:100%;

    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.12);

    opacity:0;
    visibility:hidden;
    transition:.25s;

    z-index:1000;
}

.mega-menu.is-open{
    opacity:1;
    visibility:visible;
}
/* メガメニュー本体：headerの外なのでfixedかabsoluteで位置指定 
.mega-menu {
    position: fixed;          /* または absolute（bodyがrelativeなら）
    top: 64px;                /* ヘッダーの高さ 
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 3px solid #1a3a6b;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 199;             /* headerより下、コンテンツより上 
}

.mega-menu {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 3px solid #1a3a6b;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);

    /* 追加 
    display: flex;
    justify-content: center;
    padding: 40px 60px;

    opacity: 0;
    visibility: hidden;
    transition: .25s;
}



/* 中央寄せコンテナ 
.mega-menu-inner{
    max-width: 1200px;
    width: 100%;
    display: flex;
}


.mega-menu-section {
    padding: 0 32px;
    border-right: 1px solid #e5e5e5;
}

.mega-menu-section:first-child {
    padding-left: 0;
}

.mega-menu-section:last-child {
    border-right: none;
    padding-right: 0;
}


.mega-menu-section h3 {
    margin: 0 0 20px;
    padding-bottom: 12px;

    font-size: 18px;
    font-weight: 700;
    color: #1a3a6b;

    border-bottom: 1px solid #d0d0d0;
}


.mega-menu-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-menu-section li {
    margin-bottom: 14px;
}

.mega-menu-section a {
    display: flex;
    align-items: flex-start;
    gap: 8px;

    color: #333;
    font-size: 14px;
    line-height: 1.8;
    text-decoration: none;

    transition: color .2s ease;
}

.mega-menu-section a:hover {
    color: #005bac;
}

.mega-menu-section i {
    margin-top: 6px;
    font-size: 10px;
    color: #005bac;
}
*/