@charset "UTF-8";

/* *{
    margin: 0;
    padding: 0;

} */

body,h1,div,nav,ul{
  margin: 0;
  padding: 0;
}

header{
    width: auto;
    height: auto;
    /* margin: 0 auto 40px auto; */
    position: relative;
    background-color: rgb(255, 140, 0);
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

body{
    background-color: #ffe99f;
}

header h1{
    color: rgb(255, 255, 255);
    margin-left: 30px;
    
}

nav{
    margin-right: 30px;
    margin-top: 15px;
    
}

nav ul{
    list-style-type: none;
    overflow: hidden;
    text-align: right;
    
}

nav li{
    float: left;
}

li{
    
    display: inline;
  padding: 0 10px;
  border-right: rgb(255, 255, 255) 1px solid;
}


li:last-child {
    border-right: none;
}


  nav li a{
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 5px;
  }

  /* top */
.sns{
  background-color: #fff;
  background-position: right;
  border-radius: 50px;
  display: flex;
  width: 290px;
  position: absolute;
  right: 5%;
  top: 10%;
  margin: 0 auto;
}
.sns img{
  padding: 0;
}
.sns-icon{
  margin: 10px;
  width: 50px;
  height: 50px;
}
#image3{
  display: flex;
}
.top-icon{
  width: 33%;
}
.top-icon img{
  width: 100%;
}
.sub{
  margin-bottom: 0;
}
.sub-text{
  padding: 0;
  margin-top: 0;
}


  .maru{
    border-radius: 50%;      
  }

  h3{
    text-align: center;
    font-size: 25px;
    font-family: "筑紫B丸ゴシック" ;
    padding-top: 20px;
  }

  .sns{
    background-color: #fff;
    background-position: right;
    padding: 10px;
    position: absolute;
    top: 85px;
    right: 10px;
    border-radius: 50px;
  }

  .sns img{
    padding: 5px;
  }

  .pic-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    padding: 0px 6rem;
    box-sizing: border-box;
    background-color: rgb(254, 254, 254);
}

.pic-background {
    background-image: var(--pic-image-data, none);
    background-size: cover;
    background-position: center;
}





.box {
    position: relative;
    padding: 3.5rem 1rem 1rem;
    background-color: #ffffff;
    outline: 2px solid #FF9300;
    outline-offset: -0.5rem;
}

.box::before {
    position: absolute;
    top: 1rem;
    left: 0;
    width: 100%;
    padding: 0.5rem 0;
    background-color: #FF9300;
    color: white;
    text-align: center;
    content: attr(data-title);
}

.box p {
    color: #333;
    line-height: 1.5;
    margin: 20px 10% 20px 10%;
}

.jyu{
  background-color: #fff;
  background-position: left;
  padding: 10px;
  position: absolute;
  left: 10px;
  border-radius: 50px;
}

.sub{
  color: #FF9300;
  text-align: center;
}

main h1{
  text-align: center;
  background-color: #ffffff;
  width: 400px;
  border-radius:50px;
  margin-left: 520px;
  margin-top: 20px;
  padding: 20px;
}

.wrapper{
padding: 10px;
}

.sensei-img{
  float: left;
  border-radius: 50%;
  object-fit: cover;
  width: 400px;
  height: 400px;
  margin:0 50px 0 50px
}

.wrapper p{
margin:100px 0 100px 100px
}

td{
  background-color: #ffffff;  
  color: #FF9300;
padding: 30px;
font-weight:  bold;
}

th {
  background-color: #FF9300; 
  color: #ffffff;
  padding: 30px;
  font-weight:  bold;
}

table{
  padding: 20px;
  margin-left: 370px;
}

.qe{
  display: flex;
  flex-wrap: wrap;
}
.qe-item{
  width: 45%;
  border: none;
  background-color: #FCFBE5;
}
.qe-img{
  width: 100%;
  margin: 0;
  border-radius: 50px;
  height: 55%;
}
.qe-img img{
  width: 80%;
  border-radius: 50px;
  height: 100%;
  margin-left: 10%;
}
.qe-item:nth-last-child(2n){
  margin-right: 1%;
  margin-left: 3%;
}
.qe-item-1{
  margin-bottom: 1%;
}
.qe-item h4{
  text-align: center;
  background-color: #fff;
  width: 50%;
  margin: 5% auto;
  border-radius: 50px;
}

.waku{
  margin: 0 200px 0 200px;
}

.waku p{
  text-align: center;
}

#CONTACT h3{
  background-color: #fff;
  padding: 0;
  text-align: center;
  width: 50%;
  margin: 5% auto 0;
  border-radius: 50px;
}
#CONTACT p{
  text-align: center;
}
.form-group{
  margin: 0 18%;
}
.form-col input{
  width: 100%;
}
.form-col textarea{
  width: 100%;
}

.staff-gp{
  display: flex;
}

.staff-gp-it{
  width: 50%;
}

.staff-gp-it figure{
  width: 100%;
}

.staff-gp-it figure img{
width: 100%;
}

/* footer */
footer{
  position: relative;
}
.footer-top{
  display: flex;
  margin: 0 18%;
}
.footer-top p{
  width: 50%;
  background-color: #fff;
  border-radius: 50px;
  height: 100%;
  padding: 0 3%;
}
.sns-2{
  position: static;
  margin-top: 5%;
  margin-bottom: 2%;
}

.qe p{
  margin: 5% 5% 5% 5%;
}

#left{
  text-align: left;
}