/* ===== Header ===== */
   #content {
        margin-top: 67px;
    }
.header{
  position: fixed;
  z-index: 100;
  top: 0; left: 0;
  width: 100%;
  background:#fff;
   box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.102),
    0 1px 2px -1px rgba(0, 0, 0, 0.102);
}
.header__inner {
        max-width: 1200px;
    margin-inline: auto;
}
.top-menu {
    display: none;
}

.header__nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:calc(.25rem * 6);
  padding:13.5px 20px;
}

.header__logo img{transition: all .3s ease; display:block; height:40px; width:auto; object-fit: contain;}
.header__logo img:hover{
    opacity: 0.8;
}
.gh-drawer__menu{
  list-style:none;
  padding:0;
  display:flex; 
  flex-direction: column;
  align-items: left;
  gap:calc(.25rem * 6);
  margin: 0;
}
.gh-drawer__menu li a{
  font-size:16px; 
  color: #364153; 
  white-space: nowrap;
  font-weight:400; 
  text-decoration:none;
}
.gh-cta,
.header-btn a{
    display: block;
    white-space: nowrap;
    text-align: center;
    background: #fe9a00;
    font-size: 18px;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: .625rem;
    font-weight: 500;
}
.gh-cta:hover,
.header-btn a:hover{
    background: #e17100;
}
.gh-cta__wrap {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #0000001a;

}
/* SPではナビ非表示／PCで表示 */
.header__nav{ display:none; }

/* ===== Drawer icon ===== */
.drawer__icon{
  position: fixed;
  z-index: 103;
  top: 24px; right: 20px;
  width: 16px; height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 0;
  padding: 0;
}
.drawer__icon:focus{
  background: #fff;
}
.drawer__icon--bar{
  width:100%; height:1px; background:#333;
  transition: transform .5s ease, opacity .5s ease;
}

/* 開いている時（×に変形） */
.drawer__icon.js-show .drawer__icon--bar:nth-of-type(1){
  transform: translateY(7.5px) rotate(45deg);
}
.drawer__icon.js-show .drawer__icon--bar:nth-of-type(2){
  opacity: 0;
}
.drawer__icon.js-show .drawer__icon--bar:nth-of-type(3){
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== Drawer ===== */
.drawer{
  position: fixed;
  z-index: 102;
  top: 0; right: 0;
  width: 300px;
  height: 100vh; /* 予備 */
  height: 100svh; /* モバイル用 */
  background:#fff;
  overflow-y: auto;
  transform: translateX(101%);
  transition: transform .5s ease;
}
.drawer.js-show{ transform: translateX(0); }
.drawer__overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  z-index: 101;                 /* ドロワーの一段下 */
  border: 0;
  margin: 0;
  padding: 0;
  transition: opacity .3s ease;
}
body.is-drawer-open button.drawer__overlay:hover,
body.is-drawer-open button.drawer__overlay:focus {
  background-color: transparent !important;
}

/* ドロワーが開いているときにだけ効かせる */
.is-drawer-open .drawer__overlay{
  opacity: 1;
  pointer-events: auto;
}
body.is-drawer-open{ overflow: hidden; }
.drawer__body{
  width:100%;
  padding: 55px calc(.25rem * 6) 40px ;
  display: flex;
    flex-direction: column;
  gap: calc(.25rem * 6);
}
.drawer-top-menu {
}
.drawer-top-menu__link a{
    display: block;
    font-size: 16px;
    color: #e17100;
    padding-block: 2rem;
    border-top: 1px solid #0000001a;
    border-bottom: 1px solid #0000001a;
}
.drawer-top-menu__text{
    color: #6a7282;
    font-size: 12px;
  margin-top: calc(.25rem * 6);

}
.drawer-top-menu__nav {
      list-style:none;
  padding:0;
  display:flex; 
  flex-direction: column;
  align-items: left;
  margin: 0;
  gap:calc(.25rem * 6);
  margin-block: calc(.25rem * 6);

}
.drawer-top-menu__item a{
    font-size:16px; 
    color: #364153; 
    white-space: nowrap;
    font-weight:400; 
    text-decoration:none;
}
/* CTA in drawer */
.gh-cta--drawer{
  display:inline-block;
  padding:6px 30px;
  background:#fff; color:#001A75;
  border-radius:100vmax;
  font-size:20px; font-weight:400; text-decoration:none;
}
@media (min-width: 769px){
    #content {
        margin-top: 125px;
    }
    .top-menu {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-inline: 20px;
    gap: calc(.25rem * 6);
    border-bottom: 1px solid #E6E8EC;
}
.top-menu__link a{
    display: block;
    color: #fe9a00 !important;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: .625rem;
    font-weight: 500;
    border: 1px solid #fe9a00;
    margin-block: 8px;
}
.top-menu__link a:hover{
    background: #fffceb;
    color: #333 !important;
}
.top-menu__nav {
    display: flex;
    align-items: center;
    margin: 0;
    gap:calc(.25rem * 6);
    list-style: none;
}
.top-menu__item a{
    color: #4a5565;
    font-size: 0.875rem;
}
.top-menu__item a:hover{
    color: #fe9a00; 
}
.gh-cta,
.header-btn a{
    font-size: 0.875rem;
}
.gh-drawer__menu{
  list-style:none;
  padding:0;
  display:flex; 
    flex-direction: row;
  align-items: center;
  gap:calc(.25rem * 6);
  margin: 0;
}
.gh-drawer__menu li a{
  font-size:clamp(12px , calc(16 / 1440 * 100vw), 16px); 
  color: #364153; 
  white-space: nowrap;
  font-weight:500; 
  text-decoration:none;

}
.gh-drawer__menu li a:hover{
    color: #fe9a00; 
}
  .header__nav{ display:flex;
    align-items: center;
  gap:calc(.25rem * 6); 
}
  .drawer__icon{ display:none; } /* PCではハンバーガー隠す */
