header {
background-color: transparent;
display: flex;
justify-content: space-between;
align-items: flex-end;
flex-shrink: 0;
line-height: 1;
position: fixed;
top: 6px;
left: 0;
padding: 0 6px;
width: 100%;
height: 52px;
z-index: 200;
}
@media screen and (min-width: 769px) {
header {
top: 1.5rem;
padding: 0 1.5rem;
height: 80px;
}
}
header .logo {
background-color: #fff;
border-radius: 4px;
padding: 4px;
z-index: 200;
}
header .logo a {
display: inline-block;
line-height: 1;
}
header .logo a img {
width: 46px;
height: auto;
vertical-align: middle;
}
@media screen and (min-width: 769px) {
header .logo a img {
width: 72px;
}
}
header .sp_head {
  display: block;
}
@media screen and (min-width: 769px) {
  header .sp_head {
    display: none;
  }
}
header .sp_head .icon_menu {
  background-color: #fff;
  border-radius: 4px;
  position: absolute;
  right: 6px;
  top: 0;
  text-align: center;
  line-height: 1.15;
  width: 52px;
  height: 52px;
  z-index: 200;
}
@media screen and (max-width: 768px) {
  header .sp_head .icon_menu {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
  }
}
header .sp_head .icon_menu span {
  background: #000;
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 31px;
  height: 2px;
  transition-duration: 0.3s;
}
header .sp_head .icon_menu span:nth-of-type(1) {
  top: 18px;
}
header .sp_head .icon_menu span:nth-of-type(2) {
  top: 25px;
}
header .sp_head .icon_menu span:nth-of-type(3) {
  top: 32px;
}
header .sp_head .icon_menu.navbar_open span:nth-of-type(1) {
  transform: translate(-50%, 6px) rotate(-35deg);
}
header .sp_head .icon_menu.navbar_open span:nth-of-type(2) {
  display: none;
}
header .sp_head .icon_menu.navbar_open span:nth-of-type(3) {
  transform: translate(-50%, -8px) rotate(35deg);
}

.navbar {
border-radius: 4px;
align-items: center;
font-size: 1rem;
width: auto;
height: 100%;
overflow-y: auto;
display: flex;
}
@media screen and (min-width: 769px) {
.navbar {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
}
}
.navbar a {
text-decoration: none;
height: 100%;
}
.navbar_nav {
background-color: #fff;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1rem;
padding: 0 1.5rem;
height: 100%;
}
@media screen and (max-width: 768px) {
.navbar_nav {
opacity: 0;
transition-duration: 0.3s;
display: flex !important;
flex-direction: column;
justify-content: center;
align-items: center;
position: absolute;
top: -6px;
left: 0;
padding-top: 58px;
padding-bottom: 100px;
width: 100%;
height: 100vh;
height: 100dvh;
visibility: hidden;
}
.navbar_nav li {
border-bottom: 1px solid #E41E21;
padding-bottom: 0.5rem;
width: 240px;
}
}
@media screen and (min-width: 769px) {
.navbar_nav {
display: flex;
flex-direction: row;
gap: 1.5rem;
gap: clamp(0.75rem, -0.107rem + 1.79vw, 1.5rem);
}
}
@media screen and (min-width: 1440px) {
.navbar_nav {
gap: 1.5rem;
}
}
.navbar_nav li {
list-style: none;
line-height: 1.5;
height: auto;
}
@media screen and (min-width: 769px) {
.navbar_nav li {
height: 100%;
}
}
.navbar_nav li a {
display: flex;
flex-direction: column;
justify-content: center;
font-size: 1rem;
font-weight: 700;
position: relative;
transition: 0.3s ease-out;
}
@media screen and (min-width: 769px) {
.navbar_nav li a {
font-size: 1.1vw;
}
}
@media screen and (min-width: 1440px) {
.navbar_nav li a {
font-size: 1rem;
}
}
.navbar_nav li a.active, .navbar_nav li a:hover {
color: #E41E21;
}
@media screen and (min-width: 769px) {
.navbar_nav li a.active::after, .navbar_nav li a:hover::after {
opacity: 1;
visibility: visible;
transform: translateX(-50%) scaleX(1);
}
}
.navbar_nav li a::after {
content: "";
position: absolute;
left: 50%;
bottom: 0px;
width: 100%;
height: 4px;
background-color: #E41E21;
opacity: 0;
visibility: hidden;
transform: translateX(-50%) scaleX(0);
transition: 0.3s ease-out;
}
.navbar_nav_title {
font-size: 0.625rem;
letter-spacing: 0;
position: relative;
}
@media screen and (min-width: 769px) {
.navbar_nav_title {
display: none;
}
}
.navbar_nav_title::before {
content: "";
display: inline-block;
margin-top: -2px;
margin-right: 6px;
width: 0.25rem;
height: 0.25rem;
vertical-align: middle;
background: rgb(228, 30, 33);
border-radius: 100%;
}
@media screen and (max-width: 768px) {
.navbar_nav.navbar_open {
padding-top: 52px;
padding-bottom: 0;
opacity: 1;
visibility: visible;
overflow-y: auto;
}
}
.navbar_traffic {
color: #fff;
line-height: 1.5;
height: 100%;
}
@media screen and (max-width: 768px) {
.navbar_traffic {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
font-size: 0.75rem;
margin-right: calc(52px + 0.5rem);
}
}
.navbar_traffic a {
background-color: #30393F;
border: 1px solid transparent;
border-radius: 0 4px 4px 0;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
font-size: 1rem;
font-weight: 700;
position: relative;
padding: 1rem;
transition: 0.3s ease-out;
}
@media screen and (max-width: 768px) {
.navbar_traffic a {
font-size: 0.75rem;
padding: 0.5rem 1rem;
}
}
@media screen and (min-width: 769px) {
.navbar_traffic a {
font-size: 1.1vw;
}
}
@media screen and (min-width: 1440px) {
.navbar_traffic a {
font-size: 1rem;
}
}
.navbar_traffic a::after {
content: "";
background-image: url(../img/common/ico_arrow_c_w.svg);
background-size: contain;
background-repeat: no-repeat;
display: inline-block;
margin-left: 0.75rem;
width: 1.25rem;
height: 1.25rem;
transition: 0.3s ease-out;
}
@media screen and (min-width: 769px) {
.navbar_traffic a::after {
width: 2rem;
height: 2rem;
}
}
.navbar_traffic a:hover {
border: 1px solid #E41E21;
background-color: #fff;
color: #E41E21;
}
.navbar_traffic a:hover::after {
background-image: url(../img/common/ico_arrow_c_r.svg);
filter: none;
}

/* fix */
header{letter-spacing: 0.887px;}
.navbar_nav{
  gap: 16px;
  padding: 0 24px;
}
.navbar_nav li a{
    color: #30393F;
    font-size: 16px !important;
}
.navbar_nav_title{
    font-size: 10px !important;
}
.navbar_traffic a{
    font-size: 12px !important;
    padding: 8px 16px;
}
.navbar_traffic a::after {
  margin-left: 12px;
  width: 20px;
  height: 20px;
}
@media screen and (max-width: 768px) {
    .navbar_nav li {padding-bottom: 8px;}
}
@media screen and (min-width: 769px) {
    header {height: 80px;}
    main{padding-top: 124px;}
    .navbar_nav{
      gap: clamp(0.75rem, -0.107rem + 1.79vw, 24px);
    }
    .navbar_nav li a{
        font-size: 1vw !important;
    }
    .navbar_traffic a{
        font-size: 1vw !important;
        padding: 8px 16px;
    }
    .navbar_traffic a::after {
      width: 32px;
      height: 32px;
    }
}
@media screen and (min-width: 1440px) {
    .navbar_nav li a {
        font-size: 14px !important;
    }
    .navbar_traffic a{
        font-size: 14px !important;
    }
}


 .footer_nav {
  background-image: url(../img/img_foot.jpg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  width: 100%;
  padding: 4rem 0;
  font-size: 0.75rem;
  line-height: 1.3rem;
  color: #fff;
  justify-content: center;
  align-items: center;
  position: relative;
}
@media screen and (min-width: 769px) {
  .footer_nav {
    padding: 90px 0;
  }
}
.footer_nav::before {
  content: "";
  background: #30393f;
  mix-blend-mode: multiply;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.footer_nav a {
  color: #fff;
  text-decoration: none;
}
.footer_nav a:hover {
  text-decoration: underline;
}
.footer_nav_logo {
  margin-bottom: 2.5rem;
}
@media screen and (min-width: 769px) {
  .footer_nav_logo {
    margin-bottom: 0;
  }
}
.footer_inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  justify-content: center;
  align-items: center;
  position: relative;
}
@media screen and (min-width: 769px) {
  .footer_inner {
    flex-direction: row;
    align-items: flex-start;
  }
}
.footer_inner .footer_aboutHakoneEkiden ul,
.footer_inner .footer_linkList ul {
  display: flex;
  width: 70vw;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}
@media screen and (min-width: 769px) {
  .footer_inner .footer_aboutHakoneEkiden ul,
  .footer_inner .footer_linkList ul {
    width: 70%;
  }
}
.footer_inner .footer_aboutHakoneEkiden ul li,
.footer_inner .footer_linkList ul li {
  width: calc(50% - 10px);
  margin-bottom: 1.25rem;
  padding-left: 20px;
  position: relative;
}
@media screen and (min-width: 769px) {
  .footer_inner .footer_aboutHakoneEkiden ul li,
  .footer_inner .footer_linkList ul li {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 768px) {
  .footer_inner .footer_aboutHakoneEkiden ul li:last-child,
  .footer_inner .footer_linkList ul li:last-child {
    margin-bottom: 0;
  }
}
.footer_inner .footer_aboutHakoneEkiden ul li:nth-child(odd),
.footer_inner .footer_linkList ul li:nth-child(odd) {
  margin-right: 10px;
}
.footer_inner .footer_aboutHakoneEkiden ul li::before,
.footer_inner .footer_linkList ul li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 2px;
  background-color: #596165;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.footer_inner .footer_aboutHakoneEkiden ul li a,
.footer_inner .footer_linkList ul li a {
  position: relative;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .footer_inner .footer_linkList ul {
    width: 85vw;
  }
}
.footer_aboutHakoneEkiden {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 150px;
  justify-content: space-between;
  align-items: center;
}
@media screen and (min-width: 769px) {
  .footer_aboutHakoneEkiden {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding-right: 20px;
    width: 42%;
  }
}
.footer_aboutHakoneEkiden .logo-hakone {
  width: 100px;
  height: auto;
}
.footer_linkList {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #596165;
  justify-content: space-between;
  align-items: flex-start;
}
@media screen and (min-width: 769px) {
  .footer_linkList {
    display: flex;
    border-top: none;
    border-left: 2px solid #596165;
    margin-top: 0;
    padding-top: 0;
    padding-left: 20px;
    width: 58%;
    min-height: 150px;
  }
}
.footer_linkList p {
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 2rem;
}
@media screen and (min-width: 769px) {
  .footer_linkList p {
    margin: 0 auto;
    text-align: center;
  }
}
.footer_copyright {
  display: flex;
  width: 100%;
  height: 70px;
  font-size: 1.2rem;
  line-height: 1.3rem;
  color: #a3a3a3;
  background-color: #fff;
  justify-content: center;
  align-items: center;
  padding-top: 0.5rem;
}
.footer_copyright .footer_inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1100px;
  justify-content: center;
  align-items: center;
}
@media screen and (min-width: 769px) {
  .footer_copyright .footer_inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    text-align: center;
  }
}
.footer_copyright .footer_logo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 3rem;
  margin-bottom: 0.5rem;
}
@media screen and (min-width: 769px) {
  .footer_copyright .footer_logo {
    justify-content: flex-start;
    margin-bottom: 0;
  }
}
.footer_copyright .footer_logo .logo_yomiuri {
  width: 110px;
  height: 26px;
}
.footer_copyright .footer_logo .logo_yomiuri svg,
.footer_copyright .footer_logo .logo_yomiuri img {
  width: 110px;
  height: 26px;
  margin-left: 0;
  margin-right: 50px;
}
.footer_copyright .footer_logo .logo_kgrr {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: flex-end;
  font-size: 1.6rem;
  font-weight: normal;
  line-height: 1.6rem;
  color: #a3a3a3;
  width: 100px;
  height: 38px;
}
.footer_copyright .footer_logo .logo_kgrr svg,
.footer_copyright .footer_logo .logo_kgrr img {
  width: 100px;
  height: 38px;
  margin-right: 0;
  fill: #df1b0b;
}
.footer .copyright {
  color: #a3a3a3;
  font-size: 0.75rem;
  text-align: right;
}
.footer .footer_note {
  background-color: #fff;
  padding-top: 0.5rem;
  font-size: 0.675rem;
  color: #a3a3a3;
  text-align: center;
  padding-bottom: 2.5rem;
}

#toppage .footer_note {
  padding-bottom: calc(90px + 0.5rem + 1rem);
}
@media screen and (min-width: 769px) {
  #toppage .footer_note {
    padding-bottom: 2.5rem;
  }
}

/* fix */
.footer_nav {
  font-size: 12px !important;
  .w_100{
        width: 100% !important;
    min-width: 100% !important;
  }
}
.footer_linkList p {
  font-size: 20px !important;
}
.footer .copyright {
    font-size: 12px;
}
.footer .footer_note {
  font-size: 10.8px !important;
}
@media screen and (min-width: 769px) {
  .d_pc_none {
    display: none !important;
  }
}