@charset "utf-8";
/*
  CSS のみのドロップダウンメニュー
  Copyright Rectus Inc, 2019
  https://www.rectus.co.jp/
  Released under the MIT license
 */

.header-logo{
    position: absolute;
  top:10px;
  left: 20px;

}

img.logo{
width:230px;
}

#navi {
    width: 100%;
    background-color: #21244A;
    position: fixed;
  padding: 0 0 0 320px;
    height: 80px;
   z-index: 100;
}

.menu-child a{
  padding: 0 20px;

} 
.header-right{
    position: fixed;
    top: 20px;
    right: 20px;
   z-index: 101;
	text-align: center;
}
main{
    margin-top: 80px;
}


ul.menu{
    height: 80px;
}

.search-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    color: #fff;
}
.header-right span {
    font-size: 11px;
    color: #fff;
    display: block;
    text-align: center;
}

/* チェックボックスを非表示 */
#navi input {
  display: none;
}

/* 上部メニュー */

.menu-parent {
  display: inline-block;
  margin: 0 16px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.1em;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  position: relative;
}
.en-button{
  padding: 6px 10px;
  border: 1px solid #333;
  line-height: 1;
  display: block;
  font-size: 12px;
  position: absolute;
  top:36px;
  right:30px;
}

.menu-parent .pd {
  display: none;
}

#menu-navibtn {
  display: none;
  cursor: pointer;
  cursor: hand;
}


@media screen and (max-width: 1000px) {
#navi {
  padding: 0 ;
  top: 0;
  right: 0;
}
.header-right{
    right:80px;
}


.menu-left img {
  margin-left: 20px;
}
	
/* パソ
  /* スマホの際に V を表示 */
  .menu-parent .pd {
    display: inline-block;
    width: 100%;
  }
  .menu {
    display: none;
  }
  .menu-parent {
    height: auto;
    width: 100%;
    line-height: 50px;
  margin: 0;
    display: block;
    border-bottom: 1px solid #fff;
  }
  .menu-parent:first-child {
    border-top: 1px solid #ccc;
  }
  .menu-parent i {
    margin-left: -40px;
        width: 60px;
        height: 24px;
        display: inline-block;
  }
  /* メニューを移動させないため */
  #menu-navibtn:checked ~ #navi {
    position: fixed;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
    background-color: #21244A;
  }
.menu {
  margin-right: 0;
}
ul.menu {
    height: 50px;
}
}
@media screen and (max-width: 1000px) {


.menu-left {
  margin: 0;
  height: 80px;
}
}

/* ドロップダウンメニュー */
.menu-parent {
  position: relative;
}
.menu-parent .menu-child {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 80px;
  left: -20px;
  box-sizing: border-box;
  background-color: #21244A;
  border: 0;
  text-align: center;

}
/* パソコン用 */
@media screen and (min-width: 1000px) {
  .menu-parent:hover .menu-child {
    visibility: visible;
    opacity: 1;
  }

}
@media screen and (max-width: 1000px) {
.menu-left img {
    margin-left: 0;
}
}
/* スマホ用 */
@media screen and (max-width: 1000px) {
  /* ハンバーガーメニューがクリックされた時 */
  #menu-navibtn:checked ~ * .menu {
    display: block;
    opacity: 1;
    width: 100%;
    margin-top: 0;
  }
  #menu-navibtn:checked ~ * .menu-parent {hover
    max-height: inherit;
    overflow-y: visible;
    border-bottom: 1px solid #ccc;
    text-align: left;
  }
  #menu-navibtn:checked ~ * .menu-child {
    max-height: 0;
    overflow-y: hidden;
    visibility: hidden;
  }
  /* 子メニュー */
  .menu-parent .menu-child {
    position: relative;
    padding: 0;
    opacity: 1;
    top: 0;
    margin-left: auto;
    left: auto;
    width: auto;
    background-color: #0B0D2B;
    border: 0;
  }
  .menu-parent > label:hover {
    cursor: pointer;
    cursor: hand;
  }
  /* 子メニューがクリックされた時 */
  #navi input[type="checkbox"]:checked ~ .menu-child {
    max-height: inherit;
    overflow-y: visible;
    visibility: visible;
  }
  .angletoggle:before {
    content: "\f107";
     color: #fff;
  }
  #navi input[type="checkbox"]:checked ~ * .angletoggle:before {
    content: "\f106";
  }
  .menu-child li:first-child {
  border-top: 1px solid #ccc;
}
}
/* 子メニュー */
.menu-child li {
  font-size: 15px;
  line-height: 50px;
  border-bottom: 1px solid #ccc;
  text-align: left;
}

/* 余分な最後の線を消去 */
.menu-child li:last-child {
  border: none;
}
.menu-child li i {
  margin-right: 3px;
}

#navi a{
  color: #fff;
    text-decoration: none;
    font-weight: 600;
    margin: 0 ;
}
.menu-parent a{
    display: inline-flex;
    align-items: center;
        width: 100%;
        height: 80px;
        margin-bottom: 50px;
}
.menu-child a{
      height: 50px;
}

/* ハンバーガー */
#navi #navibtn {
  display: none;
}
@media screen and (max-width: 1000px) {

  #navi #navibtn {
    display: block;
    position: absolute;
    top: 10px;
    right: 0;
  }
  #navibtn span {
    display: block;
    width: 50px;
    height: 50px;

  }
  #navibtn span span {
    display: block;
    overflow: hidden;
    width: 1px;
    height: 1px;
  }
  #navibtn span span::before,
  #navibtn span span::after,
  #navibtn span::after {
    position: absolute;
    left:13px;
    content:"";
    width: 24px;
    height: 2px;
    background-color: #FFF;
  }
  /* 上の棒 */
  #navibtn span span::before {
    top:14px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::before {
    top:24px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  /* 下の棒 */
  #navibtn span::after {
    bottom:14px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn > span::after {
    bottom:24px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  /* 中の棒 */
  #navibtn span span::after {
    top:24px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::after {
    display: none;
  }
#navi a{
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding-left: 30px;
}
.menu-parent a {
    height: 50px;
}
a.entry{
    position: fixed;
    left: 10px;
    bottom: 10px;
    right: 10px;
    height: 50px;
    line-height: 50px;
    top:initial;
    width: calc(100% - 20px);
    display: inline-block;

}
a.js-button{
   display: inline-block;
   width: 100%;
}
  #navi #navibtn {
    top: 12px;
    right: 10px;
    border-radius: 6px;
  }


}
@media screen and (max-width: 600px) {

#navi {
  height: 60px;
}
main {
    margin-top: 60px;
}
img.logo{
width:180px;
}
.header-logo {
        top: 7px;
        left: 16px;
    }
#navi #navibtn {
        top: 4px;
        right: 4px;
    }
.header-right {
    top: 12px;
    right: 60px;
}

.header-right span {
    margin-top: -6px;
}
.menu-left {
        margin: 0;
        height: 60px;
    }
 }


/* ===== 検索トリガー（ヘッダー右） ===== */
.search-trigger {
  cursor: pointer;
  user-select: none;
  color: #1d1d1d;
}

.search-trigger .search-icon {
  width: 22px;
  height: 22px;
}

/* ===== モーダル共通 ===== */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  display: block;
  cursor: pointer;
}

.search-dialog {
  position: absolute;
  inset: auto 0;
  width: min(640px, 92vw);
  margin: auto;
  top: 50%;
  transform: translateY(-48%) scale(.98);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: transform .18s ease;
  padding: 18px 18px 20px;
}

/* チェックONで表示 */
#search-open:checked~.search-modal {
  opacity: 1;
  pointer-events: auto;
}

#search-open:checked~.search-modal .search-dialog {
  transform: translateY(-50%) scale(1);
}

/* ヘッダ部 */
.search-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.search-dialog-head h2 {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  color: #1d1d1d;
}

.search-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: #333;
  cursor: pointer;
}

.search-close:hover {
  background: #f1f1f1;
}

/* フォーム */
.search-form {
  position: relative;
}

.search-form input[type="search"] {
  width: 100%;
  height: 44px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  padding: 0 44px 0 14px;
  font-size: 15px;
  outline: none;
}

.search-form input[type="search"]:focus {
  border-color: #1D4294;
  box-shadow: 0 0 0 3px rgba(29, 66, 148, .15);
}

.search-form button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  background: #1D4294;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-form button svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

/* ===== SP（～600px） ===== */
@media (max-width:600px) {
  .search-dialog {
    width: 86vw;
    padding: 14px 14px 16px;
    border-radius: 6px;
  }

  .search-dialog-head h2 {
    font-size: 14px;
  }

  .search-form input[type="search"] {
    height: 40px;
    font-size: 14px;
  }

  .search-form button {
    width: 32px;
    height: 32px;
  }
}

/* 参考：フォーカス可視化 */
.search-trigger:focus-visible,
.search-close:focus-visible,
.search-form button:focus-visible {
  outline: 2px solid #1D4294;
  outline-offset: 2px;
}
