/* Common */
.ic_sn-news {
  background-image: url(../img/header/ic-subnavi-news.webp);
}
.ic_sn-race {
  background-image: url(../img/header/ic-subnavi-race.webp);
}
.ic_sn-entry {
  background-image: url(../img/header/ic-subnavi-entry.webp);
}
.ic_sn-document {
  background-image: url(../img/header/ic-subnavi-document.webp);
}


/* Style for PCs */
@media screen and (min-width: 1025px) {

  /* Header */
header {
  width:100%;
  height: 160px;
  display: block;
  position: fixed;
  top:0px;
  left:0;
  z-index:18500;
  transition: .4s all;
}
header figure {
width:120px;
height: 100px;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top:20px;
left:50%;
z-index:18600;
transform: translateX(-50%);
    transition: .4s all;
}
header figure img {
  width:100%;
  height: auto;
  display: block;
}

/* Header (Active) */
header.scr_active {
  width:100%;
  height: 70px;
  display: block;
  position: fixed;
  top:0px;
  left:0;
  z-index:18500;
  background-color: var(--color-1st);
  box-shadow:0px 5px 10px rgba(0,0,0,0.3);
}
header.scr_active figure {
width:120px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top:5px;
left:5%;
z-index:18600;
transform: translateX(-50%);
    transition: .4s all;
}
header.scr_active figure img {
  width:auto;
  height: 50px;
  display: block;
}

/* Sub navi */
ul.subnavi {
display: none;
}

/* Footer */
footer {
  width:100%;
  height:auto;
  display: block;
}
.ftbody {
  width:100%;
  max-width:1600px;
  height: auto;
  display: block;
  margin:0 auto;
  padding:50px 5%;
}
.ftbody ul {
  width:100%;
  height:auto;
  display:flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.ftbody ul li {
  font-size:12px;
  font-weight: 500;
  line-height: 1.5em;
  margin:0 1em;
}
.ftbody ul li a {
  color:var(--color-white);
  text-decoration: none;
}
.ftbody ul li a:hover {
  color:var(--color-white);
  text-decoration: underline;
}
.ftbody p.ftcopy {
  text-align: center;
  font-size:10px;
  line-height: 1em;
  margin:0;
  color:var(--color-white);
}


}


/* Style for iPad Pro */
@media screen and (min-width: 769px) and (max-width: 1024px) {

  /* Header */
header {
  width:100%;
  height: 100px;
  display: block;
  position: fixed;
  top:0px;
  left:0;
  z-index:18500;
  transition: .4s all;
}
header figure {
width:120px;
height: 100px;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top:30px;
left:50%;
z-index:18600;
transform: translateX(-50%);
    transition: .4s all;
}
header figure img {
  width:100%;
  height: auto;
  display: block;
}

/* Header (Active) */
header.scr_active {
  width:100%;
  height: 70px;
  display: block;
  position: fixed;
  top:0px;
  left:0;
  z-index:18500;
  background-color: var(--color-1st);
  box-shadow:0px 5px 10px rgba(0,0,0,0.3);
}
header.scr_active figure {
width:120px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top:5px;
left:50%;
z-index:18600;
transform: translateX(-50%);
    transition: .4s all;
}
header.scr_active figure img {
  width:auto;
  height: 50px;
  display: block;
}

/* Sub navi */
ul.subnavi {
display: none;
}

/* Footer */
footer {
  width:100%;
  height:auto;
  display: block;
}
.ftbody {
  width:100%;
  height: auto;
  display: block;
  margin:0 auto;
  padding:50px 5%;
}
.ftbody ul {
  width:100%;
  height:auto;
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.ftbody ul li {
  width:24%;
  height: auto;
  display: block;
  font-size:12px;
  border:1px solid var(--color-555);
  border-radius: 3px;
  overflow: hidden;
  margin:0 0.5% 7px;
}
.ftbody ul li a {
  width:100%;
  height: auto;
  display: block;
  text-align: left;
  line-height: 40px;
  padding-left:8px;
  letter-spacing: 0px;
  color:var(--color-white);
  text-decoration: none;
  background-color: rgba(0,0,0,0.1);
  background-image: url(../img/header/ic-ar_hr_w.webp);
  background-repeat: no-repeat;
  background-position: 96% center;
  background-size: auto 14px;
  border-radius: 5px;
  transition: .4s all;
}
.ftbody ul li a:hover {
  color:var(--color-white);
  text-decoration: none;
  background-color: var(--color-2nd);
}
.ftbody p.ftcopy {
  text-align: center;
  font-size:10px;
  line-height: 1em;
  margin:0;
  color:var(--color-white);
}

}

/* Style for Smartphone */
@media screen and (max-width: 768px) {

/* Header */
header {
  width:100%;
  height: 80px;
  display: block;
  position: fixed;
  top:0px;
  left:0;
  z-index:18500;
  transition: .4s all;
}
header figure {
width:120px;
height: 80px;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top:30px;
left:50%;
z-index:18600;
transform: translateX(-50%);
    transition: .4s all;
}
header figure img {
  width:auto;
  height: 60px;
  display: block;
}

/* Header (Active) */
header.scr_active {
  width:100%;
  height: 60px;
  display: block;
  position: fixed;
  top:0px;
  left:0;
  z-index:18500;
  background-color: var(--color-1st);
  box-shadow:0px 5px 10px rgba(0,0,0,0.3);
}
header.scr_active figure {
width:120px;
height: 60px;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
top:5px;
left:50%;
z-index:18600;
transform: translateX(-50%);
transition: .4s all;
}
header.scr_active figure img {
  width:auto;
  height: 50px;
  display: block;
}

/* Sub navi */
ul.subnavi {
  width:100%;
  height: 70px;
  display: flex;
  background-color: var(--color-1st);
  position: fixed;
  bottom: -100px;
  left:0;
  z-index:17000;
  box-shadow: 0px -5px 10px rgba(0,0,0,0.25);
transition: .4s all;
}
ul.subnavi.scr_active {
  bottom: 0;
}
ul.subnavi li {
  flex:1;
  height: 70px;
  display: block;
  font-size:10px;
  letter-spacing: -0.3px;
  text-align: center;
  margin:0;
  border-right:1px solid var(--color-white);
}
ul.subnavi li a {
  width:100%;
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  line-height: 1em;
  text-decoration: none;
  color: var(--color-white);
  padding:0 0 15px 0;
transition: .4s all;
background-repeat: no-repeat;
background-position: center 0px;
background-size: auto 45px;
}
ul.subnavi li a:hover {
  background-color: var(--color-2nd);
}

/* Footer */
footer {
  width:100%;
  height:auto;
  display: block;
}
.ftbody {
  width:100%;
  max-width:1600px;
  height: auto;
  display: block;
  margin:0 auto;
  padding:20px 5% 100px;
}
.ftbody ul {
  width:100%;
  height:auto;
  display:flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom:30px;
}
.ftbody ul li {
  font-size:14px;
  line-height: 1em;
  margin:0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.ftbody ul li a {
  width:100%;
  height: auto;
  display: block;
  color:var(--color-white);
  text-decoration: none;
  padding:15px;
  background-image: url(../img/header/ic-ar_hr_w.webp);
  background-repeat: no-repeat;
  background-position: 98% center;
  background-size: auto 16px;
  transition: .4s all;
}
.ftbody ul li a:hover {
  color:var(--color-white);
  text-decoration: none;
  background-color: var(--color-333);
}
.ftbody p.ftcopy {
  text-align: center;
  font-size:10px;
  line-height: 1em;
  margin:0;
  color:var(--color-white);
}

}
