﻿@charset "UTF-8";
html {
	font-family:system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", "Segoe UI", "Meiryo", sans-serif;
	color: #2b2925;
}
body {  
  width: 100%;
  background-color: #fbfaef;
  font-size:1rem;
  font-size: 16px;
  line-height:1.8;
}
h1,h2,h3,h4,h5,h6 {
  font-size: 100%;
}

/* nav 
--------------------------------------------------------------------------------*/
body,
html {
  height: 100%;
  padding: 0;
  margin: 0;
}

main {
  z-index: 2;
  position: relative;
  height: 100%;
  background-color: #fbfaef;
  -webkit-transition: transform .7s ease-in-out;
  -moz-transition: transform .7s ease-in-out;
  -ms-transition: transform .7s ease-in-out;
  -o-transition: transform .7s ease-in-out;
  transition: transform .7s ease-in-out;
}

.sidebar {
  height: 100%;
  width: 400px;
  position: fixed;
  top: 0;
  z-index: 1;
  right: 0;
  background-color: #f5da0f;
}

.bar {
  display: block;
  height: 5px;
  width: 50px;
  background-color: #2b2925;
  margin: 10px auto;
}

.button {
  cursor: pointer;
  display: inline-block;
  width: auto;
  margin: 0 auto;
  -webkit-transition: all .7s ease;
  -moz-transition: all .7s ease;
  -ms-transition: all .7s ease;
  -o-transition: all .7s ease;
  transition: all .7s ease;
}

.nav-right {
  position: fixed;
  right: 40px;
  top: 20px;
}

.nav-right.visible-xs {
  z-index: 3;
}

.hidden-xs {
  display: none;
}

.middle {
  margin: 0 auto;
}

.bar {
  -webkit-transition: all .7s ease;
  -moz-transition: all .7s ease;
  -ms-transition: all .7s ease;
  -o-transition: all .7s ease;
  transition: all .7s ease;
}

.nav-right.visible-xs .active .bar {
  background-color: #2b2925;
  -webkit-transition: all .7s ease;
  -moz-transition: all .7s ease;
  -ms-transition: all .7s ease;
  -o-transition: all .7s ease;
  transition: all .7s ease;
}

.button.active .top {
  -webkit-transform: translateY(15px) rotateZ(45deg);
  -moz-transform: translateY(15px) rotateZ(45deg);
  -ms-transform: translateY(15px) rotateZ(45deg);
  -o-transform: translateY(15px) rotateZ(45deg);
  transform: translateY(15px) rotateZ(45deg);
}

.button.active .bottom {
  -webkit-transform: translateY(-15px) rotateZ(-45deg);
  -moz-transform: translateY(-15px) rotateZ(-45deg);
  -ms-transform: translateY(-15px) rotateZ(-45deg);
  -o-transform: translateY(-15px) rotateZ(-45deg);
  transform: translateY(-15px) rotateZ(-45deg);
}

.button.active .middle {
  width: 0;
}

.move-to-left {
  -webkit-transform: translateX(-400px);
  -moz-transform: translateX(-400px);
  -ms-transform: translateX(-400px);
  -o-transform: translateX(-400px);
  transform: translateX(-400px);
}

nav {
  padding-top: 30px;
}

.sidebar-list {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  margin-top: 150px;
  text-align: center;
}

.sidebar-item {
  margin: 30px 0;
  opacity: 0;
  -webkit-transform: translateY(-20px);
  -moz-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  -o-transform: translateY(-20px);
  transform: translateY(-20px);
}

.sidebar-item:first-child {
  -webkit-transition: all .7s .2s ease-in-out;
  -moz-transition: all .7s .2s ease-in-out;
  -ms-transition: all .7s .2s ease-in-out;
  -o-transition: all .7s .2s ease-in-out;
  transition: all .7s .2s ease-in-out;
}

.sidebar-item:nth-child(2) {
  -webkit-transition: all .7s .4s ease-in-out;
  -moz-transition: all .7s .4s ease-in-out;
  -ms-transition: all .7s .4s ease-in-out;
  -o-transition: all .7s .4s ease-in-out;
  transition: all .7s .4s ease-in-out;
}

.sidebar-item:nth-child(3) {
  -webkit-transition: all .7s .6s ease-in-out;
  -moz-transition: all .7s .6s ease-in-out;
  -ms-transition: all .7s .6s ease-in-out;
  -o-transition: all .7s .6s ease-in-out;
  transition: all .7s .6s ease-in-out;
}

.sidebar-item:last-child {
  -webkit-transition: all .7s .8s ease-in-out;
  -moz-transition: all .7s .8s ease-in-out;
  -ms-transition: all .7s .8s ease-in-out;
  -o-transition: all .7s .8s ease-in-out;
  transition: all .7s .6s ease-in-out;
}

.sidebar-item.active {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
  transform: translateY(0px);
}

.sidebar-anchor {
  color: #2b2925;
  text-decoration: none;
  font-size: 1.8em;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 7px;
}

.sidebar-anchor:before {
  content: "";
  width: 0;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #2b2925;
  -webkit-transition: all .7s ease-in-out;
  -moz-transition: all .7s ease-in-out;
  -ms-transition: all .7s ease-in-out;
  -o-transition: all .7s ease-in-out;
  transition: all .7s ease-in-out;
}

.sidebar-anchor:hover:before {
  width: 100%;
}

.ua {
  position: absolute;
  bottom: 20px;
  left: 30px;
}

.fa {
  font-size: 1.4em;
  color: #f5da0f;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

.ua:hover .fa {
  color: #FFF;
  -webkit-transform: scale(1.3);
  -moz-transform: scale(1.3);
  -ms-transform: scale(1.3);
  -o-transform: scale(1.3);
  transform: scale(1.3);
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

@media (min-width: 480px) {
  .nav-list {
    display: block;
  }
}

@media (min-width: 768px) {
  .nav-right {
    position: absolute;
  }
  .hidden-xs {
    display: block;
  }
  .visible-xs {
    display: none;
  }
}

/* 共通
--------------------------------------------------------------------------------*/
#contents {
	background-color: #fbfaef;
}
h2 img{
	margin: 0 auto;
	width: 65%;
}
p {
	padding: 8%;
	letter-spacing: 1.2px;
}
ul {
	padding: 0;	
}
ul li {
	list-style: none;
}


/* top
--------------------------------------------------------------------------------*/
header {
	width: 65%;
	margin: 20% auto 0;
}
header span img {
	width: 80%;	
	margin: 0 auto;
	padding: 20% 18% 8% 0;
}
.banner {
	width: 100%;
	height: 0;
}
.banner img {
	width: 60%;
	margin: 0 auto;
}


/* lesson
--------------------------------------------------------------------------------*/
#sec1 {
	width: 100%;
	padding-top: 30%;
}
h3 img{
	margin: 20% auto 2%;
	width: 45%;
}
.lesson_class img {
	margin: 0 auto;
	width: 55%;
}


/* time&price
--------------------------------------------------------------------------------*/
#sec2 {
	width: 100%;
	padding-top: 20%;
}
table {
	margin: 20% auto 0;
	width:350px;
	height:200px;
	border-collapse:collapse;
	border:solid 2px #dfdfdf;
	text-align:center;
}
th {
	border:solid 2px #dfdfdf;
	background-color:#efefef;
	padding:3px;
}
td {
	border:solid 2px #dfdfdf;
	background-color:#fbfaef;
	padding:3px;
}
small {
	width: 350px;
	font-size: 13px;
	font-size:0.8rem;
	display: flex;
	margin: 2% auto;
}
small span {

}
h4 {
	height:10px;
	margin-top:5px;
	font-weight:lighter;
	margin-left: 0px;
}
#content3 p {
	height:35px;
	margin-left: 15px;
}


/* profile
--------------------------------------------------------------------------------*/
#sec3 {
	width: 100%;
	padding-top: 20%;
}
.prof_photo {
	margin: 20% auto 0;
}
.prof_photo img {
	width: 80%;
	margin: 0 auto;
}
#sec3 h3 {
	font-size: 24px;
	font-size: 1.5rem;
	letter-spacing: 1.4px;
	text-align: center;
	margin: 8% 0 0;
}

.contact_button img {
	width: 80%;
	margin: 0 auto;
	padding: 10% 0 20%;
}

.sns {
	width: 100%;
	margin: 0 auto 3%;
}

.sns img {
	width: 50px;
	margin: 0 auto;
}

/* copyright
--------------------------------------------------------------------------------*/
footer {
	font-size: 13px;
	font-size:0.8rem;
	color: #9498A1;
	text-align: center;
	padding-bottom: 5%;
}

/* contact
--------------------------------------------------------------------------------*/
#contact {
	width: 100%;
	padding-top: 30%;
}
.frame {
	width: 85%;
	margin: 20% auto 10%;
}
.frame small {
	width: 100%;
	display: block;
}
.frame img {
	display: inline-block;
	margin-right: 5px;
}
.frame dl {
	width: 100%;
}
.frame dt {
	width: 100%;
	text-align: left;
}
.frame dd {
	margin: 0 0 3%;
	border: solid 2px #dfdfdf;
	display: inline-block;
	width: 100%;
}
.select {
	border: none;
}
input[type="text"] {
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
}
input {
	width: 100%;
	border: none;
	padding: 5px 10px;
}
button,
input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
}
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
	width: 100%;
    appearance: none;
    resize: none;
    padding: 5px 10px;
    border: 0;
    outline: none;
}
.frame .textarea {
	border: none;
}
.form_submit {
	width: 250px;
	margin: 0 auto 10%;
}
.form_submit .form_button {
	width: 250px!important;
	background-color: #f5da0f!important;
	padding: 10px 20px!important;
	border-radius: 50px!important;
}
.form_submit .form_revise {
	width: 150px;
	margin: 10% auto;
	border-radius: 50px;
	background-color: #eee;
	display: block;
	font-size: 13px;
	font-size: 0.8125rem ;
}
select {
    padding: 0 5px 5px;
}


/* labelにポイントしたとき、マウスカーソルを変える */
label { cursor: pointer; }

/* 必須項目エラーメッセージ */
div.error {
    background-color: #fcc;
    padding: 6px;
}

/* confirm */
.confirm {
	width: 85%;
	margin: 0 auto;
}
.confirm h3 {
	font-size: 20px;
	font-size: 1.25rem;
	margin-bottom: 3%;
}
.confirm p {
	padding: 3% 0;
	font-weight: 600;
}

/* thanks */
.transmit {
	width: 85%;
	margin: 0 auto;
}
.transmit h3 {
	font-size: 20px;
	font-size: 1.25rem;
	margin-bottom: 3%;
}
.transmit p {
	padding: 3% 0 20%;
}
.top_button {
	margin: 0 auto 10%;
	text-align: center;
	display: block;
	width: 150px;
	background-color: #f5da0f;
	padding: 10px 20px;
	border-radius: 50px;
}
.top_button a {
	color: #2b2925;
	text-decoration: none;
}

/* link
--------------------------------------------------------------------------------*/
a {
    text-decoration: none;
}
a:hover {
	opacity: 0.8;
}

/* tablet_pc
--------------------------------------------------------------------------------*/
@media screen and (min-width: 560px) {
	header {
      width: 370px;
      margin: 10% auto 0;
	}
    header span img {
        width: 280px;
        margin: 0 auto;
        padding: 20% 18% 8% 0;
    }
	p {
        font-size: 1.25rem;
        font-size: 20px;
        line-height: 1.8;
        width:750px;
        margin: 0 auto;
        padding: 6%;
        letter-spacing: 1.2px;
	}
	.banner {
      width: 100%;
      height: 0;
    }
	.banner img {
	  width: 300px;
	}
	h2 img {
      margin: 0 auto;
      width: 370px;
	}
	h3 img {
      margin: 10% auto 2%;
      width: 250px;
	}
	#sec1 {
      padding-top: 14%;
	}
	#sec2 {
      padding-top: 6%;
	}
	#sec3 {
      padding-top: 6%;
	}
	.lesson_class img {
	  margin: 0 auto;
	  width: 280px;
	}
    table {
        margin: 10% auto 0;
        width: 600px;
        height: 300px;
		font-size: 1.25rem;
    	font-size: 20px;
    }
    small {
        width: 600px;
    }
    .prof_photo {
        margin: 10% auto 0;
    }
    .prof_photo img {
        width: 400px;
        margin: 0 auto;
    }
    #sec3 h3 {
        margin: 5% 0 0;
    }
    .contact_button img {
        width: 300px;
        margin: 0 auto;
        padding: 3% 0 18%;
    }
	#contact {
        width: 700px;
		margin: 0 auto;
        padding-top: 10%;
    }
	
}

























