/* スマートフォン */
@media screen 
    and (max-width: 736px) {
      /*共通*/
      h2{
        font-size: 24px;
      }
      h3{
        font-size: 20px;
      }
      p{
        font-size: 14px;
      }
      ul{
        margin: 0px;
        padding: 0px;
      }
		.wp-pagenavi span{
			font-size:10px;
		}
		.page{
			font-size:10px;
		}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
	opacity: 1;
	z-index:999;
	display: block;
	/*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
    /*ナビの位置と形状*/
	top:0;
    right: 0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background-image: url(../img/back2.png);
    /*動き*/
	transition: all 0.3s;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    display: none;
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:40%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
    display: block;
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
    padding-bottom: 20px;
}

#g-nav li a{
	color: black;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:20px;
	right: 20px;
	cursor: pointer;
    width: 50px;
    height:50px;
    display: block;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: black;
  	width: 60%;
  }

.openbtn span:nth-of-type(1) {
	top:10px;	
}

.openbtn span:nth-of-type(2) {
	top:20px;
}

.openbtn span:nth-of-type(3) {
	top:30px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
.res{
    width: 350px;
    padding-left: 20px;
}
		
      /*ヘッダー*/
      header{
        height: 80px;
        display: block;
        padding: 0px 120px;
      }
      header img{
        width: 150px;
        height: 50px;
      }
      .logon{
        margin-top: 18px;
      }
      .one{
        display: none;
      }
      .topview img{
        width: 100%;
        height: 250px;
      }
      /*スケジュール*/
      .schedule{
        padding-top: 60px;
      }
      .schedule p{
        font-size: 12px;
      }
      .calendar{
        margin-top: 20px;
      }
      .topca{
        width: 360px;
        margin: 0 auto;
      }
      .topca td{
        padding: 0px 5px;
      }
      th, td {
        font-size: 12px;
      }
      /*釣果*/
      .new{
        margin-top: 100px;
      }
      .blur h2{
        width: 200px;
        font-size: 20px;
        height: 85px;
        padding: 30px 0px;
      }
      .new p{
        width: 130px;
        height: 45px;
        font-size: 12px;
        padding: 10px 5px;
        margin: 40px 30px 0px 0px;
      }
      .fish{
        margin: 30px 30px 0px 30px;
        grid-template-columns:145px 145px;
        gap: 40px ;
      }
      .seika img{
        width: 145px;
        height: 145px;
        margin-bottom: 5px;
      }
      .tokasns{
        margin: 30px 0px;
      }
      .tokasns h3{
        text-align: center;
        font-size: 21px;
        margin-bottom: 10px;
        letter-spacing: 2px;
      }
      .btn{
        height: 70px;
        width: 355px;
      }
      .big{
        padding: 18px 90px;
        top: 0px;
        right: 0px;
        font-size: 20px;
        margin: 0 auto;
      }
		.seikaturi{
			width:340px;
			margin-left:25px;
		}
		.seikatotal p{
			font-size:17px;
		}
		.seikatotal img{
			width:100%;
		}
      /*捌き屋*/
      .oto{
        display: block;
        margin: 20px 20px 180px 20px;
      }
      .oto p{
        letter-spacing: 2px;
        line-height: 30px;
        margin-top: 0px;
      }
      .otoimg{
        display: flex;
        margin-top: -50px;
      }
      .otoimg img{
        width: 145px;
        height: 200px;
        margin-right: 60px;
      }
      .up{
        top: 0px;
      }
		.upone{
			margin-left: 45px; 
			margin-top: -50px;
		}
      .small{
        margin-left: 0px;
        font-size: 14px;
        padding: 20px 48px;
        position: relative;
        top: 250px;
      }
      /*船長挨拶*/
      .chao{
        margin: 0px 20px;
        padding-bottom: 70px;
      }
      .chao p{
        line-height: 30px;
        font-size: 12px;
        letter-spacing: 2px;
      }
      .chao img{
        display: none;
      }
      .topship{
        display: flex;
        justify-content: space-between;
      }
      .topship h2{
        margin-top: 40px;
      }
      .topship img{
        display: block;
        width: 150px;
        height: 150px;
        margin-right: 20px;
      }
      /*フッター*/
      footer{
        padding-top: 60px;
      }
		ul{
			justify-content:center;
			flex-wrap:wrap;
			margin-bottom:20px;
		}
		footer li{
			margin:10px;
			font-size:18px;
		}
		 .fotmenu{
        display: flex;
        flex-direction: column-reverse;
        margin: 0px;
      }
      .fotmenu p{
        font-size: 14px;
        text-align: left;
        padding: 20px 10px 20px 50px;
      }
      .two{
        margin: 20px 95px;
      }
      .phone{
        margin: 0 auto;
      }
      .phone img{
        width: 55px;
        height: 55px;
      }
      .phone h3{
        font-size: 24px;
      }
      /*注意事項*/
      .main{
        padding: 50px 0px;
      }
      .attention h3{
        font-size: 20px;
        margin: 30px 0px 10px 20px;
      }
      .attention p{
        font-size: 10px;
        letter-spacing: 0px;
        line-height: 30px;
        margin: 0px 0px 0px 20px;
      }
      .attention img{
        width: 200px;
        height: 200px;
      }
      .pc{
        display: none;
      }
      .sp{
        display: block;
      }
      /*釣り船紹介*/
      .grade{
        display: block;
        padding: 30px 0px 80px 0px;
        text-align: center;
      }
      .grade img{
        width: 340px;
        height: 270px;
        margin-bottom: 20px;
      }
      .topgrade{
        width: 340px;
        margin: 0 auto;
      }
      .interior{
        margin: 0px 25px 60px 20px;
      }
      .interior h3{
        font-size: 24px;
      }
      .interiorimg{
        display: grid;
        grid-template-columns: 150px 150px;
        gap: 40px;
        margin-top: 20px;
      }
      .interiorset img{
        width: 150px;
        height: 120px;
      }
      .interiorset p{
        font-size: 12px;
      }
      .person{
        width: 340px;
        height: 260px;
        margin: 20px 25px ;
      }
      .person p{
        font-size: 16px;
      }
      .personreft{
        text-align: center;
        padding-right: 0px;
        margin-top: 20px;
      }
      /*最新の釣果詳細*/
      /*料金*/
      .turi img{
        display: none;
      }
      .priceless{
        margin: 25px;
      }
      .toprice{
        width: 340px;
      }
      .toprice td{
        font-size: 10px;
      }
      .toprice th{
        padding: 0px 10px;
      }
      .toprice td{
        padding: 0px 5px;
      }
      /*アクセス*/
      .map{
        margin: 30px 25px;
      }
      iframe{
        width: 340px;
        height: 260px;
      }
      .map p{
        margin-top: 10px;
        font-size: 12px;
      }
    }