/* ------------------------------------------------------------------
 SP（〜600px）
------------------------------------------------------------------ */
@media only screen and (max-width: 600px) {
html,body,.wrapper {
	width: 100%;
}
#lesson_fee ul{
  gap: 0;
}
#wrapper {
	width: 100%;
	position: relative;
	box-sizing: border-box;
}

header #header_inner{
	max-width: 600px;
}


	
header #header_line img{
	/* width: 60%!important; */
}
.swiper-container {
	/* height: 250px !important; */

}
	
/* top-news */
#top-news p{
	font-size: 1.5rem;
	line-height: 2.4rem;
}
#top-news p span{
	font-size: 2rem;
}

#top-news_02 p{
	font-size: 1.5rem;
	line-height: 2.4rem;
}
#top-news_02 p span{
	font-size: 2rem;
	line-height: 3rem;
}
	
#top-news_03 h3{
	font-size: 3rem;
    line-height: 3rem;
}
#top-news_03 h3 span{
	font-size: 1.5rem;
    line-height: 3rem;
	display: inline-block;
}

#top-news_03 p{
	font-size: 1.5rem;
    line-height: 3.5rem;
}
	
#top-news_03:before {
}
#top-news_03:after {
    font-size: 16px;
    top: 5px;
    left: 5px;
}

#top-news_03 h3.golfw_logo{
	width: 90%;
	margin: 0 auto;
}

#top-news_03 h3.golfw_logo img{
	width: 60%;
}
	
#top-news_03 h4{
    line-height: 2.5rem;
}
	
#top-news_03 h4 span{
	display: block;
	padding: 0 0 0 0;
}
	
	
/* swd */
body #swd h2{
	margin: 10px auto 0 auto;
}
	
#swd .text-aria:before{
	padding-top: calc(90 / 600 * 100%)!important;
}
#swd .text-aria:after{
	padding-top: calc(90 / 600 * 100%)!important;
}

#swd .text-aria{
	width: 90%;
	max-width: 1000px;
	margin: 50px auto;
	text-align: center;
   font-size: 1.5rem;
	font-weight: bold;
	line-height: 3rem;
}
	
#swd .text-aria span{
	display: inline-block;
}
	
/* top-menu-btn */
#top-menu-btn{
	width: 95%;
	max-width: 1000px;
	margin: 0 auto;
}
#top-menu-btn ul{
	display: block;
	width: 100%;
	text-align: center;
}
#top-menu-btn li{
	width: 90%;
	margin: 0 0 0 5%;
	height: auto;
}
	
.sns-btn ul{
	width: 96%;
}
	
.sns-btn li{
	width: 48%;
	margin: 0 0 2% 0;
}
	
.sns-btn li a{
	letter-spacing: 1px;
}
.sns-btn li img{
	text-align: center;
	display: block;
	margin: 10px auto 10px auto;
}
	
	
/* 第二階層 */
body .section-main:before{
	padding-top: calc(90 / 600 * 100%);
	top: -50px;
	margin-bottom: -50px;
}
body .section-main:after{
	padding-top: calc(90 / 600 * 100%);
}

/* profile */
body p#profile-photo{
	width: 100%;
	padding-top: calc(417 / 600 * 100%);
}

/* philosophy */
body #philosophy-main .text-aria{
   font-size: 1.4rem;
	line-height: 3rem;
}
#philosophy-main .text-aria strong{
   font-size: 2.2rem;
}

/* location */
#lesson_fee li{
	display: block;
	width: 100%;
	text-align: center;
	margin: 0 0 20px 0;
}

/* lesson */
p#comment-fukui{
	width: 100%;
	padding-top: calc(400 / 600 * 100%)!important;
	margin: 0 2%;
}

footer h1{
	margin: 0 auto 30px auto;
}

footer #footer_address{
/*    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
	display: flex;
    -webkit-flex-flow: row wrap;
    justify-content: space-between;
	flex-wrap: wrap;
*/}

footer #footer_address p{
	font-size: 1.6rem;
	line-height: 2.5rem;
	text-align: center;
	margin: 0 auto 30px auto;
}

footer p#footer_mail{
	font-size: 3rem;
}

footer span{
	display: inline-block;
}	

}


@media only screen and (max-width: 750px) {

.pc{
	display: none;
}

.sp{
	display: block;
}
}

@media only screen and (max-width: 770px) {
#wrapper {
	width: 100%;
	margin: 100px auto 0 auto;
} 
.cnts #wrapper {
	width: 100%;
	margin: 80px auto 0 auto;
} 

header{
	position: fixed;
	top: 0px;
    left: 0px;
    width: 100%;
    height: auto;
	background-color: #ffffff;
	border-bottom: 1px solid #66543a;
}
	
header h1{
	width: 50%;
	margin: 0 0 0 10px;
}

header h1 a{
	padding-top: calc(59 / 770 * 100%);
}


header #header_inner{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
	display: flex;
    -webkit-flex-flow: row wrap;
	/*justify-content: space-between;*/
	-webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
	flex-wrap: wrap;
	height: 80px;
}

header #header_line{
	width: 35%;
	max-width: 150px;
	margin: 5px 0 0 10px;
}
	
header #header_line img{
	width: 80%;
}

.g-nav {
  position: relative;
}

.g-nav .list {
  display: none;
  position: absolute;
  width: 100%;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
}

.g-nav .list .list-item {
  flex: 1;
}

.g-nav .list .list-item a {
  background: #fff;
  border-bottom: 1px solid #006722;
  border-right: none;
  color: #006722;
  display: block;
  padding: 1.2em 2em;
  text-align: center;
  text-decoration: none;
  font-size: 100%;
}

.g-nav .list .list-item a:hover {
  background: #ccc;
  color: #ffffff;
}

.g-nav .list .list-item:last-child a {
}


.icon-hamburger {
	background: #66543a;
  /* border: 1px solid #ffffff; */
  cursor: pointer;
  width: 50px;
  height: 50px;
  position: absolute;
  display: inline-block;
  margin-right: 0.4em;
  margin-bottom: 0.4em;
  top: 15px;
  right: 10px;
}
.icon-hamburger:after {
	content:"";
	display: block;
	clear: both;
}

.icon-hamburger span {
  display: block;
  height: 4px;
  background: #fff;
  position:absolute;
  width: 80%;
  left: 10%;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}

.icon-hamburger span:nth-child(1){
		top:12px;
	}
.icon-hamburger span:nth-child(2){
		top:23px;
	}
.icon-hamburger span:nth-child(3){
		top:34px;
	} 
	
.open .icon-hamburger span:nth-child(1) {
		top: 23px;
	   -webkit-transform: rotate(135deg);
		-moz-transform: rotate(135deg);
		transform: rotate(135deg);
}
.open .icon-hamburger span:nth-child(2) {
	width: 0;
	left: 50%;
}
.open .icon-hamburger span:nth-child(3) {
		top: 23px;
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	transform: rotate(-135deg);
}	

.swiper-container {
	/* width: 100%;
	height: 400px; */
}

.swiper-slide{ background-size: cover;}

nav{
	width: 100%;
	padding: 0 0;
	margin: 0 auto 0 auto;
	
}


nav ul {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
	display: flex;
    -webkit-flex-flow: row wrap;
    justify-content: space-around;
	flex-wrap: wrap;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px 0 60px 0;
	background-color: #66543a;
}
nav li {
   width: 90%;
   box-sizing: border-box;
   font-weight: bold;
   letter-spacing: 0.5rem;
   position: relative;
   margin: 0 auto;
}

nav li span{
	display: none;
}

nav li#menu_01:after {
	content:"";
	display: block;
	width: 41px;
	height: 30px;
	position: absolute;
	top: -33px;
	right: -37px;
	background: none;
}

nav li:nth-child(-n + 2){
	border: none;
	width: 100%;
	padding: 0 0;
	border-top: 1px solid #ffffff;
	border-bottom: none;
	color: #ffffff;
	margin: 0 0 0 0;
	background-color: transparent;
}

nav li:nth-child(n + 3) {
	width: 100%;
	padding: 0 0;
	border-top: 1px solid #ffffff;
	border-bottom: none;
	color: #ffffff;
	margin: 0 0 0 0;
}

nav li:nth-of-type(2) {
	width: 100% !important;
}
nav li:nth-of-type(3) {
	width: 100% !important;
}

nav li:last-child {
	border-bottom: 1px solid #ffffff;
}

nav li a {
   width: 100%;
	padding: 15px 0;
	display: flex;
	text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	color: #ffffff;
	font-weight: normal;
	font-size: 90%;

}


nav li:nth-child(even) a{
	background: #483b28;
}

/* swd */
#swd h2{
	width: 90%;
	margin: 30px auto 0 auto;
}

	
/* 第二階層 */
.section-main:before{
	padding-top: calc(90 / 770 * 100%);
	top: -50px;
	margin-bottom: -50px;
	z-index: 10;

}
.section-main:after{
	padding-top: calc(90 / 770 * 100%);
	/* top: 10px;
	right: -5px; */
	margin-left:  auto;
}
	
/* profile */
#profile .text-aria{
   font-size: 2rem;
	line-height: 3.5rem;
}

#profile h2{
	width: 100%;
	height: auto;
	max-height: 615px;
	padding-top: calc(410 / 1000 * 100%);
	margin: 0 auto 50px auto;
}

p#profile-photo{
	width: 100%;
	padding-top: calc(417 / 770 * 100%);
	margin: 0 0 20px 0;
}

#profile .text-aria{
	width: 100%;
	display: block;
	margin: 0 2.5% 0 2.5%;

}

.midashi-base{
}
	
.midashi-base p#swing-designer{
   font-size: 1.8rem;
	line-height: 2.4rem;
}

.midashi-base p{
   font-size: 1.4rem;
	line-height: 2rem;
}

.midashi-base h3{
	font-size: 2.6rem;
	letter-spacing: 3px;
}

.midashi-base h3 span{
   font-size: 1.4rem;
	letter-spacing: 0;
}
#profile .text-aria h4{
   font-size: 1.8rem;
}
#profile .text-aria ul{
   font-size: 1.6rem;
	margin: 0 0 30px 0;
}

#profile .text-aria ul li{
	line-height: 3.5rem;
}

#profile .text-aria p.reg-info{
   font-size: 1.4rem;
	text-align: left;
}
#profile .text-aria p.reg-info sup{
   font-size: 0.8rem;
}
	
/* philosophy */
#philosophy-main .text-aria{
	font-size: 1.4rem;
	font-weight: bold;
	line-height: 3.3rem;
	text-align: center;
	padding: 0 15px;
}

#philosophy-main .text-aria p.philosophy-heading {
	font-size: 1.8rem;
}
	
#philosophy-photo li{
	width: 95%;
	margin: 0 auto 30px auto;
}

#philosophy-photo li div h3{
	font-size: 1.8rem;
	}
	
#philosophy-photo li div p{
	font-size: 1.6rem;
	font-weight: bold;
}
/* location */
#location .midashi-base h3{
	font-size: 2rem;
	letter-spacing: 1px;
}
	
#design .midashi-base h3{
	font-size: 2rem;
	letter-spacing: 1px;
}
	
.location-photo li{
	width: 100%;
	margin: 0 auto 10px auto;
}	

/* lesson */
#lesson .midashi-base h3{
	font-size: 2rem;
	letter-spacing: 1px;
}
	
#lesson-info p {
    margin: 30px auto;
    font-size: 1.4rem;
}

.info-photo li{
	width: 95%;
}
	
p#comment-fukui{
	width: 100%;
	padding-top: calc(400 / 770 * 100%);
	margin: 0 2%;
}

#lesson #comment-info{
	width: 100%;
	box-sizing: border-box;
	margin: 30px 2% 0 2%;
	font-size: 1.4rem;
	line-height: 3rem;
	font-weight: bold;
}

#lesson #comment-info p {
	padding: 20px 10px;
	}
	

.pagetop{
	display: none;
}

.pagetop-sp{
	display: block;
	text-indent: -9999px;
	width: 90px;
	height: 90px;
	background: url(../images/common/totop.png) no-repeat left top;	
	margin: 50px auto;
}

.pagetop-sp a{
	display: block;
	width: 90px;
	height: 90px;
}

}

@media only screen and (min-width: 771px) {
.g-nav{
  display: block;
}
}

