@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');



/*-----------------------
header
-----------------------*/
header .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background:linear-gradient(to bottom, #06156E 0%, #06156ecc 25%, #06156e8c 50%, #06156e5e 65%, #06156e3d 75%, #06156e1c 86%, transparent 100%);
    }
header .navbar .inner {
      width: 90%;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-sizing: border-box;
      height: 160px;
    }
/* ロゴ */
header .logo {
      /*flex-grow: 1;*/
        width: 176px;
    }
header .hamburger {
      display: none;
    }
/* メニュー */
header .menu {
      display: flex;
      gap: 40px;
      align-items: center;
      font-size: 18px;
    }
header .menu a {
      text-decoration: none;
      color: #fff;
      position: relative;
      padding-bottom: 5px;
    }
/* ホバー時のライン（下から右に） */
header .menu a::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 4px;
      background-color: white;
      transition: width 0.3s ease;
    }
header .menu a:hover::after {
      width: 100%;
    }
/* ドロップダウン */
header .dropdown {
      position: relative;
    }
header .dropdown-menu {
      position: absolute;
      top: 40px;
      left: 0;
      background: white;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      width: 250px;
      opacity: 0;
      transform: translateY(-10px);
      visibility: hidden;
      transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
      padding: 15px;
      box-sizing: border-box;
    

    }
header li:nth-child(6) .dropdown-menu{
    left:auto;
    right: 0;
}
header .dropdown:hover .dropdown-menu {
      opacity: 1;
      transform: translateY(0);
      visibility: visible;
    }
header .dropdown-menu a {
      display: block;
      padding: 5px 5px;
      color: #0E2788;
      border-bottom: 1px solid #0E2788;
   transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
    }
header .dropdown-menu a::after {
      height: 0;
    }
header .dropdown-menu a:last-child {
      border-bottom: none;
    }
header .dropdown-menu a:hover{
    opacity: 1;
    border-color: #0e2788 !important;
}

/* 疑似要素でグラデーション背景を作る */
header .dropdown-menu a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(220deg, #020A5F 0%, #1F51C4 75%);
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: -1;
  mix-blend-mode: multiply; /* ここがポイント */
}

/* ホバー時にグラデーション背景を表示 */
header .dropdown-menu a:hover {
  color: white;
  border-color: white;
}

header .dropdown-menu a:hover::after {
  opacity: 1;
}



/* 言語選択（右上に配置） */
header #language {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    font-family: var(--sub-font);
    width: 76px;
    }
header #language li {
    list-style: none;
    display: flex;
    width:50%;
    }
header #language a {
      text-decoration: none;
      font-size: 18px;
      padding: 5px 8px;
    }
header #language #ja a {
      color: var(--white);
      background: var(--blue-gradient-btn);
    }
header #language #en a {
      color: var(--black);
      background: #fff;
    }
@media (max-width: 1280px) { 
header .menu {
    gap: 15px;
    font-size: 16px;
    }

}
@media (max-width: 1024px) { 
header .navbar .inner {
    width: 94%;
    }

header .menu {
    font-size: 16px;
    }
header .logo {
    width: 140px;
    }
} 
@media (max-width: 768px) {
/* ハンバーガーメニュー */
header .hamburger {
      display: none;
      width: 44px;
      height: 14px;
      position: relative;
      cursor: pointer;
      justify-content: space-between;
    }
header .hamburger .line {
      content: "";
      position: absolute;
      width: 100%;
      height: 1px;
      background: #fff;
      transition: 0.3s ease-in-out;
    }
header .hamburger .line:nth-child(1) {
      top: 0;
    }
header .hamburger .line:nth-child(2) {
      bottom: 0;
    }
/* バツ（アクティブ時） */
header .hamburger.active .line:nth-child(1) {
      transform: rotate(45deg);
      top: 6px;
    }
header .hamburger.active .line:nth-child(2) {
      transform: rotate(-45deg);
      bottom: 7px;
    }
    
    
header .navbar .inner {
    height: 100px;
    width: 90%; 
    }
header .menu {
    display: none;
    gap: 0;
    }
header .hamburger {
    display: block;
    position: absolute;
    right: 17px;

    }
header .navbar.active {
    background: linear-gradient(180deg, rgb(22 41 155) 0%, rgb(111 124 202) 38%, rgb(255 255 255) 100%) !important;
    }
header .logo {
     margin-top: -10px;
}
/* ハンバーガーメニュー開いたときのフルスクリーンナビ */
header .menu.active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 3% 10%;
  box-sizing: border-box;
  align-items: flex-start;
  overflow-y: auto; /* メニュー内のスクロールを有効にする */
}

/* スクロール禁止をハンバーガーメニューに適用 */
header .menu.active.no-scroll {
    overflow-y: scroll;
    padding-bottom: 130px;
}
/* メニュー項目の高さを調整してスクロールを有効にする */
header .menu {
  max-height: 100vh;  /* 最大高さを設定 */
}
header ul.menu li{
    width: 100%;
}
header .navbar a.mainmenu{
    width: 100%;
    border-bottom: 1px solid #0e278852;
    margin-bottom: 15px;
    padding-bottom: 5px;
}
header .menu a {
    display: block;
    padding: 0 0 0 0;
    font-size: 18px;
    color: var(--blue);       
}
/* ドロップダウンメニューを最初から表示 */
header .dropdown-menu {
    position: static;
    
    transform: translateY(0);
    visibility: visible;
    background: transparent;
    box-shadow: none;
    width: auto;
    padding: 0;
    padding-bottom: 20px;
    }
header .dropdown-menu a {
    padding: 2px 0px 2px 10px;
    border-bottom: none;

    }
header .dropdown-menu a:after{
    content: normal;
    }
header #language {
    display: none;
    }
header .dropdown-menu a:hover {
    color: var(--blue);
    opacity: 0.6;
    }
.dropdown-menu {
  display: none;
}
.dropdown-menu.open {
  display: block;
}
}  

 
    
/*20250425追加----------------------*/
@media (max-width: 768px) {
  header .mainmenu {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  header .mainmenu .toggle {
    font-size: 20px;
    margin-left: auto;
    padding-left: 10px;
  }

  header .dropdown-menu {
    display: none; /* 最初は非表示 */
      

  }

  header .dropdown-menu.open {
    display: block; /* 開いたら表示 */
    opacity: 1;

  }
    
    
}

@media (min-width: 769px) {
  .mainmenu .toggle {
    display: none;
  }
    
        

}
/*--------------------------------*/



@media (max-width: 599px) {
header .logo h1 a img{
    width:130px;
    }
header .navbar .inner {
    height: 130px;
    }
header .menu.active {
    top: 130px;
    }
header .logo {
    margin-top: -30px;
    }
header .hamburger {
    margin-top: -40px;
    }
}
    
  





/*-----------------------
footer
-----------------------*/
footer{
    background: #F5F6FA;
    }  

footer .inner {
    max-width: 1280px;
    width: 90%;
    margin: 0 auto;
    box-sizing: border-box;
    font-size: 14px;
    }
footer .footer_top{
    display: flex;  
    justify-content: space-between;
    padding:70px 0;
    }
footer .footer_top .menu_block{
    display: flex;
    max-width: 700px;
    width: 60%;
    justify-content: space-between;
    }
footer .footer_top .block .title{
    font-size: 16px;
    margin-bottom: 15px;
    }
footer .footer_top .block ul{  
    border-left: 1px solid var(--black);
    padding: 4px 0 4px 8px
    }
footer .block ul li{
    line-height: 1.8em;
    }       
footer .block ul li a{
    
    }
footer .footer_top .block_outer .block:nth-child(2){
    margin-top:20px;
    }
footer .footer_top .info_block{
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 440px;
    width: 38%;
    }
footer .footer_top .info_block .logo{
    margin: 0 auto;
    }
footer .footer_top .info_block .info{
    
    }
footer .footer_top .info_block .contact{
    background: linear-gradient(270deg, #020A5F 10%, #1F51C4 52%);
    }
footer .footer_top .info_block .contact a{
    color:#fff;
    display: block;
    padding:30px 0;
    text-align: center;
    font-size: 16px;
    box-sizing: border-box;
    }
footer .footer_bottom{
    display: flex;
    justify-content: space-between;
    padding: 5px 0 50px;
    border-top: 1px solid var(--black);
    }
footer .footer_bottom .policy{
    font-weight: 400;
    }
footer .footer_bottom .copy{
    font-family: var(--sub-font);
    }
@media (max-width: 1024px) { 
footer .footer_top {
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
footer .footer_top .menu_block {
    width: 100%;
}
footer .footer_top .info_block {
    width: 100%;
    text-align: center;
        margin: 0 auto;
}
}  
@media (max-width: 768px) {
footer .inner {
    
    }
footer .footer_top{
    }
footer .footer_top .info_block {
    
    }
footer .footer_bottom {

}
}  
@media (max-width: 599px) {
footer .inner {
    width: 90%;
    font-size: 11px;
}
footer .footer_top {
    padding: 40px 0;
}
footer .footer_top .menu_block {
    display: none;
    }
footer .footer_bottom {
    flex-direction: column;
    align-items: center;
    padding: 25px 0 50px;
}
footer .footer_top .info_block .logo {
    width: 160px;
}
footer .footer_top .info_block .contact {
    width: 290px;
    margin: 0 auto;
}
footer .footer_top .info_block .contact a {
    padding: 15px 0;
}
}








