@charset "utf-8";
/* CSS Document */

#header{
   width: min(100%,1700px);
   height: 90px;
  padding: 0;
}
  
#header nav{
/*   width: min(70%,983px);*/
  aspect-ratio: 983 / 89;
  top:0;
  padding: 0;
}

.logo{
  padding: 15px 0 24px 0;
  top: 0;
}

#BoatsSubNavi{
  top:95px;
}
  
.pcOnly{
    display: block;
}  
  
.sf-menu > li > a{
  font-size:24px;
  padding: 25px 20px 17px 19px;
}
  
.sf-menu li a span{
  font-size: 12px;
}  
  
.container01{
  width: 1700px;
}
  
.container01 li a span{
  font-size: 13px;
}  
  
.container01 ul{
  display: flex;
}

.container01 li {
  display: inline-block;
  width: calc(100%/6);
}  
  
.container01 li a {
    display: flex;
    justify-content: center;
    flex-direction: column;
}  
  
.container01 a img{
   width: 124px;
   display: inline-block;
   margin: auto;
}

/*スマホメニュー*/
#overlay-button {
  position: absolute;
  right: .5em;
  top: 5px;
  padding: 26px 11px;
  z-index: 5;
  cursor: pointer;
  user-select: none;
  display: none;
}
#overlay-button span {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: white;
  position: relative;
  display: block;
  transition: all .2s ease-in-out;
}
#overlay-button span:before {
  top: -10px;
  visibility: visible;
}
#overlay-button span:after {
  top: 10px;
}
#overlay-button span:before, #overlay-button span:after {
  height: 4px;
  width: 35px;
  border-radius: 2px;
  background-color: white;
  position: absolute;
  content: "";
  transition: all .2s ease-in-out;
}
#overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
  background: #fff;
}

input[type=checkbox] {
  display: none; 
  
}

input[type=checkbox]:checked ~ #overlay {
  visibility: visible;
}

input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
  background: transparent;
  
  
}
input[type=checkbox]:checked ~ #overlay-button span:before {
  transform: rotate(45deg) translate(7px, 7px);

}
input[type=checkbox]:checked ~ #overlay-button span:after {
  transform: rotate(-45deg) translate(7px, -7px);


}

#overlay {
  height: 100vh;
  width: 100vw;
  background: #202020;
  z-index: 2;
  visibility: hidden;
  position: fixed;
  overflow: scroll;
}
#overlay.active {
}
#overlay > ul {
  display: flex;
/*  justify-content: center;*/
  align-items: center;
  flex-direction: column;
  text-align: center;
  height: max(950px,100vh);
}
#overlay > ul  > li {
  padding: 1em 0;
}
#overlay  > ul  > li  > a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5em;
}

  
/*アコーディオン*/
.toggle {
	display: none;
}
.Label {		/*タイトル*/
	padding: 1em;
	display: inline-block;
  margin: auto;
  border-bottom: 4px solid #313030;
}
.Label::before{		/*タイトル横の矢印*/
	content:"";
	width: 10px;
	height: 10px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	-webkit-transform: rotate(45deg);
	position: absolute;
	top:calc( 50% - 3px );
	right: -70px;
	transform: rotate(135deg);
}
.Label,
.content {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
/*	transition: all 0.3s;*/
}
.content {		/*本文*/
	height: 0;
	margin-bottom:10px;
	padding:0 20px;
	overflow: hidden;
  transition: all 0.3s;
}
.toggle:checked + .Label + .content {	/*開閉時*/
	height: auto;
	padding:20px 0;
	transition: all 0s;
  background: white;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.toggle:checked + .Label::before {
	transform: rotate(-45deg) !important;
}  
  
.toggle:checked + .Label + .content > div{
  width: calc(100%/2 - 1px);
  margin: 15px 0;
}
  
.toggle:checked + .Label + .content > div:nth-of-type(odd){
  border-right: 1px solid #E0DFDF;
} 
  
.toggle:checked + .Label + .content > div > a > span{
  color: black;
  text-shadow: none;
}  

.active{
  overflow: hidden;
}


@media screen and (max-width:1200px){
  .sf-menu > li > a{
  font-size:15px;
  }
  
  .sf-menu li a span{
  font-size: 10px;
  } 
  
}

@media screen and (max-width:899px){
  
  #header{
    height: auto;
    padding: 0px 0px 15px 0px;
  }
  
  .logo{
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
    left: 20px;
    width: 75%;
  }
  
  img[alt="Phoenix Bass Boats"]{
    width: min(100%,296px);
  }
  
  .pcOnly{
    display: none;
  }
  
  .sf-menu > li{
  border-left: none; 
  }
  
  .sf-menu li a{
    transition: 0s;
    font-size: 1.5em;
    color: white;
    font-family: 'News Cycle', sans-serif;
    font-weight: 700;
  }  
  
  #overlay-button {
  display: block;
  } 
  
}









