.header {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 9999;
}

.header {
  font-family: 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'YuGothic', '游ゴシック', 'メイリオ', Meiryo, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

.header * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.navbar a {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  text-decoration: none;
  color: inherit;
  font-size: 1rem;
}

.n-container {
    width: 100%;
    margin: 0 auto;
}
  
@media screen and (max-width: 768px) {
    .n-container {
        width: 100%;
    }
}
  

@media screen and (max-width: 768px) {
    .header {
      position: fixed;
      width: 100%;
      background-color: #fff;
      z-index: 100;
      top: 0;
      left: 0;
    }
}

.n_header {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .n_header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      height: 50px;
      border-bottom: solid 1px #A68E6C;
    }
}
  
.n_header .logo {
    text-align: center;
    width: 95%;
    margin: 0 auto;
    border-bottom: solid 1px #A68E6C;
    padding-top: 12px;
    padding-bottom: 3px;
    font-size: 12px;
    line-height: 140%;
}

.n_header .logo img {
  width: 15%;
  min-width: 250px;
}

@media screen and (max-width: 768px) {
    .n_header .logo {
      display: flex;
      align-items: center;
      width: fit-content;
      height: 50px;
      text-align: left;
      border-bottom: none;
      padding: 4px 0 0;
      margin: 0;
    }
    .n_header .logo a{
      display: block;
    }
    .n_header .logo img {
      /* margin-top: -2px; */
      margin-left: 2.5%;
      width: 45%;
      max-width: 200px;
    }
}
  


.n_header .navbar {
    text-align: center;
    list-style: none;
    margin-left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
            justify-content: space-evenly;
}

@media screen and (max-width: 768px) {
    .n_header .navbar {
        display: none;
    }
}

.n_header .navbar li {
    display: block;
    float: left;
    height: 40px;
    margin: 14px 10px 0px 10px;
    font-weight: 700;
    flex-grow: 1;
}

.n_header .navbar li .btn1 {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 12px;
    transition: all .5s ease-out;
}

.n_header .navbar li .animation:after {
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #C1A13A;
  animation: nav-hover-animation .25s ease-out forwards;
}

.n_header .navbar li .btn1:hover {
    opacity: 1;
}

@keyframes nav-hover-animation {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}


.n_header .navbar li .current {
    display: block;
    width: 100%;
    padding-bottom: 12px;
    color: #C1A13A;
    border-bottom: solid 2px #C1A13A;
}
  

/*ハンバーガーメニュー*/
.global-nav {
  position: fixed;
  z-index: 1000;
  right: -100%;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  -webkit-transition: all .6s;
  transition: all .6s;
  overflow-y: auto;
  /* メニューが多くなったらスクロールできるように */
  color: cornsilk;
  font-style: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-weight: 300;
  font-size: 16px;
}

.global-nav-header {
  display: flex;
  justify-content: space-between;
}

.global-nav-header .logo {
  border: none;
}

.global-nav-search {
  background-color: #F5F5F5;
  margin: 0 auto;
  padding: 5%;
}

.global-nav-search .search-box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.global-nav-search .search-box #searchForm {
  width: calc(100% - 102px);
  font-size: 12px;
  padding-left: 12px;
  border-radius: 2px;
  border:solid 2px gray;
  background-color: #FFFFFF;
  height: 36px;
}

.global-nav-search .search-box .btnsearch {
  width: 90px;
  margin-left: 12px;
  padding: 0;
  border: 1px solid #e9b500;
  border-radius: 2px;
  background: #ffce27;
  font-size: 14px;
  color: #333333;
  font-weight: normal;
}

.global-nav-search a {
  color: #333333 !important;
  font-size: 12px;
}

.global-nav-search-options {
  background-color: #F5F5F5;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.global-nav-search-options li {
  width: 50%;
  padding: 5%;
  border: solid 1px #fff;
margin-bottom: 0;
}

.global-nav-search-options__item__link {
  color: #333333 !important;
  font-weight: 700;
}

.global-nav .global-nav__list {
  width: 95%;
  margin: 0 auto;
}

.global-nav .global-nav__list .global-nav__item {
  width: 100%;
  margin-bottom: 1px;
  clear: both;
}

.global-nav .global-nav__list .global-nav__item .global-nav__item__link {
  background-color: #000133;
  width: 100%;
  height: 54px;
  display: block;
  font-weight: bold;
  color: #FFF !important;
  padding: 16px 20px;
  font-size: 16px;
}

.global-nav .global-nav__list .global-nav__item .gnav__menu__item__children-link {
  width: 100%;
  background-color: #F5F5F5;
  padding: 20px;
  float: left;
}

.global-nav .global-nav__list .global-nav__item .gnav__menu__item__children-link li {
  width: 40%;
  float: left;
}

.global-nav .global-nav__list .global-nav__item .gnav__menu__item__children-link .long {
  width: 60% !important;
}

.global-nav .global-nav__list .global-nav__item .gnav__menu__item__children-link a {
  color: #333333 !important;
  font-size: 12px;
}

.global-nav .global-nav__banner-links {
  width: 95%;
  margin: 1rem auto 6rem;
  clear: both;
}

.global-nav .global-nav__banner-links img {
  width: 100%;
}

.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all .6s;
  transition: all .6s;
  cursor: pointer;
}

.hamburger {
  display: none;
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
    position: relative;
    top: -5px;
    width: 40px;
    /* クリックしやすいようにちゃんと幅を指定する */
    height: 40px;
    /* クリックしやすいようにちゃんと高さを指定する */
    cursor: pointer;
    margin-right: 2.5%;
    z-index: 300;
  }
  .hamburger .hamburger__line {
    position: absolute;
    width: 32px;
    height: 2px;
    background-color: #111;
    -webkit-transition: all .6s;
    transition: all .6s;
  }
  .hamburger .hamburger__line--1 {
    top: 10px;
  }
  .hamburger .hamburger__line--2 {
    top: 20px;
  }
  .hamburger .hamburger__line--3 {
    top: 30px;
  }
  .hamburger .hamburger_txt {
    font-size: 10px;
    position: absolute;
    left: -1px;
    top: 33px;
  }
}

.hamburger2 {
  display: none;
}

@media screen and (max-width: 768px) {
  .hamburger2 {
    display: block;
    position: absolute;
    right: 0;
    top: 10px;
    width: 40px;
    /* クリックしやすいようにちゃんと幅を指定する */
    height: 40px;
    /* クリックしやすいようにちゃんと高さを指定する */
    cursor: pointer;
    z-index: 300;
  }
  .hamburger2 .hamburger__line {
    position: absolute;
    width: 32px;
    height: 2px;
    background-color: #fff;
    -webkit-transition: all .6s;
    transition: all .6s;
  }
  .hamburger2 .hamburger__line--4 {
    background-color: #333333;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    top: 14px;
  }
  .hamburger2 .hamburger__line--5 {
    background-color: #333333;
    width: 0;
    left: 50%;
  }
  .hamburger2 .hamburger__line--6 {
    background-color: #333333;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    top: 14px;
  }
  .hamburger2 .hamburger_txt {
    font-size: 10px;
    position: absolute;
    left: -1px;
    top: 25px;
    color: #333333 !important;
  }

  .btnsearch2 {
    display: block;
    width: 100%;
    height: 69px;
    line-height: 69px;
    font-size: 14px;
    border: none;
    border-radius: 3px;
    background: #ffce27;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    margin: 0 auto;
    cursor: pointer;
    color: black !important;
  }

  .btnsearch2 {
    -webkit-transition: 1.5s;
    transition: 1.5s;
  }
  
  .btnsearch2:hover {
    opacity: .7;
  }

  .btn_zone {
    margin-bottom: 12px;
  }
  
}

/* 表示された時用のCSS */
.nav-open .global-nav {
  right: 0;
}

.nav-open .black-bg {
  opacity: .8;
  visibility: visible;
}

.nav-open .hamburger__line--1 {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  top: 25px;
}

.nav-open .hamburger__line--2 {
  width: 0;
  left: 50%;
}

.nav-open .hamburger__line--3 {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  top: 25px;
}

.nav-open #pagetop {
  display: none !important;
}

/* ここまで */
/* ナビゲーション */

.n_header .logo .todaysnumber {
  position: absolute;
  top: 13px;
  right: 45px;
  font-size: 0.8rem;
  text-align: right;
}

.n_header .logo .todaysnumber .allnumber {
  font-size: 16px;
  font-weight: 700;
  color: #A28F71;
  margin: 0;
}

.n_header .logo .todaysnumber .voicecount {
  font-size: 16px;
  font-weight: 700;
  color: #A28F71;
  margin: 0;
}

.n_header .logo .todaysnumber b {
  display: block;
}

.topicpath {
  width: 100%;
  /* height: 40px; */
  background: #F3F5F7;
  margin: 0 auto 30px;
}

.topicpath ol {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1010px;
  height: 100%;
  font-size: 12px;
  padding: 0 16px;
  margin: 0 auto;
}

.topicpath ol li {
  font-weight: bold;
  margin: 0;
}

.topicpath ol li + li {
  margin-left: 10px;
}

.topicpath ol li + li:before {
  position: relative;
  top: -1.5px;
  /* content: ">"; */
  margin-right: 10px;
}

.topicpath ol li a {
  color: #433E81;
  font-weight: normal;
  text-decoration: none;
}

.topicpath ol li a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .n_header .logo .todaysnumber {
    display: none;
  }
  .topicpath {
    display: none;
  }
}

.n_header .header_tel {
  position: absolute;
  top: 21px;
  right: 180px;
  padding-bottom: 9px;
  margin: 0 auto;
}

.n_header.top .header_tel {
  right: calc(2.5% + 3px);
}

.header_tel {
  width: fit-content;
  white-space: nowrap;
}

.header_tel p,
.header_tel a p {
  font-weight: bold;
  padding: 0 !important;
}

.header_tel p i.fa-solid.fa-phone,
.header_tel a p i.fa-solid.fa-phone {
  position: relative;
  top: -1px;
  font-size: 18px;
  margin-right: 1px;
}

.header_tel p span{
  font-size: 20px;
}

@media (min-width: 768px) and (max-width: 1050px) {
  .n_header:not(.top) .logo{
    padding-right: 365px;
  }
  .n_header:not(.top) .logo a{
    display: block;
    text-align: right;
    margin: 0 0 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .n_header .header_tel{
    top: 12px;
    right: 70px;
    margin: 0;
  }
  .n_header .header_tel p span,
  .n_header .header_tel a p span{
    display: none;
  }
  .n_header .header_tel p i.fa-solid.fa-phone,
  .n_header .header_tel a p i.fa-solid.fa-phone,
  .n_header.top .header_tel p i.fa-solid.fa-phone,
  .n_header.top .header_tel a p i.fa-solid.fa-phone {
    font-size: 28px;
  }
  .n_header.top .header_tel{
    right: 68px;
  }
  .main_visual {
    margin-top: 50px;
  }
  #wrapper {
    padding-top: 50px;
  }
}

@media (min-width: 769px) {
  .header_tel a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}