@charset "utf-8";

html {
  font-size: 100%;
}

body {
  color: #333;
  font-size: 1rem;

  font-family: 'Noto Sans JP', sans-serif;
}

img {
  max-width: 100%;
  width: 100%;
}

ul li {
  list-style: none;
  line-height: 1.8;
}

.container {
  max-width: 1080px;
  margin: o auto;
  padding: 0 4%;
}

.sec-title {
  font-size: 1.5rem;
  color: #7c6e04;
  margin-bottom: 64px;
  margin-top: 48px;
  text-align: center;
}

a {
  text-decoration: none;
  display: block;
}

/* header */
#header {
  height: calc(100vh - 61px);
  width: 100%;
  background-image: url(../img/青空木.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  position: relative;
}

.site-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  line-height: 1;
  width: 330px;
  margin: 0 auto;
  position: absolute;
  top: 35%;
  right: 0;
  left: 0;
}

.site-title span {
  display: block;
  text-align: center;
}

.site-title .sub {
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-align: center;
  color: rgb(143, 143, 31);

}

.site-title .main {
  font-size: 1.8rem;
  color: #ca32b5;
  text-shadow: 1px 1px 1px rgb(131, 106, 229);
  text-align: center;

}

@media screen and (min-width:520px) {

  .site-title {
    width: 500px;
    position: absolute;
    top: 35%;
    right: 20%;
  }

  .site-title span {
    display: block;
    text-align: center;
  }

  .site-title .sub {
    font-size: 1.8rem;
    margin-bottom: 36px;
  }

  .site-title .main {
    font-size: 2.6rem;
  }

  .sec-title {
    font-size: 1.9rem;
  }
}

/* nav-area */
#top-nav {
  background-color: rgb(201, 241, 241);
}

nav h3 {
  color: rgb(123, 123, 14);
}



/* greeting */
#greeting {
  margin-bottom: 80px;
}
#greeting .announcement {
  width: 97%;
  background-color: #d8e9f0;
  border: 2px solid rgb(150, 223, 40);
  margin: 20px auto 20px;
  padding:16px;
  border-radius: 16px;
}

#greeting .announcement h4{
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  color:#2b3f17;  
}

#greeting .announcement h4 i{
color:rgb(230, 199, 121);
padding:8px;
}

#greeting .announcement p{
font-size: 12px;
text-align: left;
}

#greeting .announcement p.date{
text-align: end;
font-size: 12px;
}

#greeting img.icon {
  width: 120px;
  border-radius: 16px;
  /* box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; */
  float: left;
  margin: 0 1rem 1.5rem;
}

#greeting p {
  font-size: 1.1rem;
  text-indent: 1rem;
  text-align: justify;
  text-justify: inter-ideograph;
}

#greeting p+p {
  margin-top: 1.3rem;
}

.gold {
  color: #e8382b;
  font-size: 1.3rem;
}

#greeting .teacher {
  text-align: right;
  font-size: 1.08rem;
}

#greeting .name {
  padding-left: 1rem;
  font-size: 1.08rem;
  color: #618e34;
  margin-left: 0;
}

@media screen and (min-width:520px) {
  #greeting img.icon {
    width: 150px;
  }
  #greeting .announcement {
  width: 75%;
  background-color: #d8e9f0;
  border: 2px solid greenyellow;
  margin: 20px auto 20px;
  padding:16px;
  
}
 #greeting .announcement h4{
  font-size: 18px;  
}
#greeting .announcement p{
font-size: 14px;
text-align: center;
}

#greeting .announcement p.date{
text-align: end;
font-size: 14px;
}

 #greeting p {
    font-size: 1.2rem; 
  }

  #greeting .teacher {
    /* text-align: right; */
    font-size: 1.2rem;
  }

  #greeting .name {
    /* padding-left: 1rem; */
    font-size: 1.2rem;
    color: #618e34;
    margin-left: 0;
  }
}

/* swiper */
#swiper {
  margin-bottom: 60px;
}

.swiper-wrapper,
.swiper-slide { 
  height: 80vh;
}

.swiper-slide>img {
  /* スライドのサイズを調整、中身のテキスト配置調整、背景色 */
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.swiper-slide .position {
  object-position: right;
}

/* course-desc */
#course-desc {
  padding: 20px 0;
  background-color: #ffdbed;
}

#course-desc .flex-item {
  margin-bottom: 100px;
}

.md-wrapper {
  display: none;
}

#course-desc .item {
  width: 100%;
}

#course-desc .item img {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
}

#course-desc .bna {
  width: 55%;
  margin: 0 auto 20px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

#course-desc .cos-title {
  color: #ac610a;
  margin: 32px 0;
  text-align: center;
  font-size: 22px;
}

#course-desc h4 {
  color: #e8382b;
  text-align: center;
  line-height: 1.7;
  font-size: 1.2rem;
}

#course-desc .reverce {
  flex-direction: row-reverse;
}

.text2 {
  font-size: 1.5rem;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: red;
}

.bd {
  font-size: 1.5rem;
  background: linear-gradient(transparent 60%, yellow 30%);
}

#course-desc .text {
  line-height: 1.8rem;
  font-size: 1rem;
  margin-bottom: 30px;
  text-indent: 1rem;
  text-align: justify;
}

.merit {
  margin-left: -1rem;
  color: rgb(198, 37, 37);
}

.info {
  width: fit-content;
  height: auto;
  margin: 30px auto;
  border: 4px solid rgb(152, 185, 152);
  border-radius: 8px;
  padding: 16px;
}

#course-desc .lesson {
  color: #724007;
}

.lessen tr th,td {
  padding: 4px 0;
  border-bottom: 1px solid #ac610a;
}

.table th,td {
  text-align: center;
  vertical-align: middle;
 
}
 th {
  color: #d83473;
}
.cos-title2 {
  color: #ac610a;
  margin: 32px 0;
  text-align: center;
  font-size: 24px;
}

.mark {
  background: linear-gradient(transparent 60%, yellow 30%);
}

@media screen and (min-width:768px) {
  a.lessen {
    display: none;
  }

  a.md-wrapper {
    background-color: rgb(201, 241, 241);
    display: block;
    padding: 8px 0;
  }

  #course-desc {
    display: none;
  }

  .md-wrapper {
    display: block;
    background-color: #ffdbed;
    padding: 20px 0;
  }

  .flex-item-md {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
  }

  .item2 {
    width: 50%;
  }

  .item-md2 {
    width: 46%;
  }

  .item img {
    width: 100%;
  }

  .cos-title,
  .cos-title2 {
    font-size: 24px;
    color: #ac610a;
    margin: 0 0 32px;
    text-align: center;
  }

  .item,
  .item-text {
    width: 48%;
  }

  .bna {
    width: 55%;
    margin: 0 auto 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  }


  .description h4 {
    color: #e8382b;
    text-align: center;
    line-height: 1.7;
    font-size: 1.2rem;
  }

  .bd {
    background: linear-gradient(transparent 60%, yellow 30%);
    font-size: 1.5rem;
    text-align: center;

  }

  .bna img {
    width: 100%;
  }

  .flex-item2 ul {
    color: rgb(198, 37, 37);
  }

  .text2-md {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    margin-bottom: 40px;
  }

  .flex-item2 {
    width: 60%;
  }

  .text {
    padding: 0 2rem;
  }

  .info {
    font-size: .8rem;
  }

  .item2-md {
    width: 48%;
  }

  .item-md2 img {
    width: 95%;
    object-fit: cover;
  }

@media screen and (min-width:1028px) {
  a.lessen {
    display: block;
  }

  a.md-wrapper {
    display: none;
  }

  .md-wrapper {
    display: none;
  }

  #course-desc {
    display: block;
  }

  #course-desc .cos-title {
    color: #ac610a;
    margin-top: 0;
    margin-bottom: 32px;
    text-align: center;
    font-size: 28px;
  }

  #course-desc .cos-title2 {
    font-size: 28px;
    margin-top: 0;
  }

  #course-desc .flex-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
  }

  #course-desc .item {
    width: 46%;
  }

  .bd {
    background: linear-gradient(transparent 60%, yellow 40%);
    font-size: 1.5rem;
  }

  .text {
    line-height: 1rem;
    font-size: 1rem;
    margin-bottom: 30px;
    text-align: center;
    padding: 0;
  }

  .info {
    font-size: .8rem;
  }

}

/* 月謝 */

.table {
  border: #90884b;
  color: #6e6204;
}

}

@media screen and (max-width:768px) {
  .table span {
    display: block;
  }
}

/* norm */
#norm {
  margin-bottom: 80px;
}

#norm p {
  font-size: 1.1rem;
  text-align: center;
  padding-bottom: 16px;
}

.flex-area ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
}

.flex-area ul li {
  width: 49%;
  margin-bottom: 20px;
}

.flex-area ul li img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  object-fit: cover;
  object-position: top;
}
.flex-area ul li img.position2{
  object-position: left ;
}

@media screen and (min-width:768px) {
  .flex-area ul li {
    width: 32%;
    margin-bottom: 20px;
  }

  .flex-area ul li img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: top;
  }
}

/* work */
#work {
  margin-bottom: 80px;
}

#work p {
  text-align: center;
  font-size: 1.2rem;
}

#work p span {
  letter-spacing: .2rem;
}

/* adress */
#adress {
  margin-bottom: 80px;
  font-size: 1.1rem;
}

.gmap iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
}

.gmap,
.adress {
  width: 100%;
}

.adress ul {
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}

.accsess-img {
  width: 70%;
  margin: 0 auto;
}

@media screen and (min-width:768px) {
  .flex-wrapper {
    display: flex;
    justify-content: space-between;
  }

  .gmap,
  .adress {
    width: 49%;
  }
}

/* Q&A */
#QA {
  height: auto;
  padding-top: 10px;
  padding-bottom: 50px;
  background-color: rgb(201, 241, 241);
}

#QA p {
  margin: 0;
}

#QA i {
  padding: 0 8px;
}

.fq {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.accordion-btn {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
}

.accordion-btn p {
  width: calc(100% - 30px);
}

.accordion-content p {
  background-color: #f8e6e6;
  margin: 0;
  padding: 20px;
  border-radius: 10px;
  border-bottom: 1px solid rgb(201, 241, 241);

}

span.open {
  width: 20px;
  height: 20px;
  background-image: url(../img/icon-p.png);
  background-size: contain;
}

span.close {
  width: 20px;
  height: 20px;
  background-image: url(../img/icon-m.png);
  background-size: contain;
}

.fq i {
  color: red;
}

/* コンタクト欄 */
#contact {
  margin-bottom: 80px;
}

#contact .sec-title {
  margin-bottom: 48px;
}

.md-text,
.pc-text {
  display: none;
}

.free {
  color: #ca32b5;
  font-size: 22px;
  margin-bottom: 2rem;
}

.green {
  background-color: #06C755;
  font-weight: normal;
  border: 1px solid #06C755;
  border-radius: 5px;
  padding: 4px 12px;
  color: #fff;
}
.green2 {
  background-color: #06C755;
  font-weight: normal;
  border: 1px solid #06C755;
  border-radius: 5px;
 font-size: 12px;
 padding:2px 4px;
  color: #fff;
}

.red {
  color: #fff;
  font-weight: normal;
  border-radius: 5px;
  padding: 4px 12px;
  background-color: crimson;
  border: 1px solid crimson;
}
.red2 {
  color: #fff;
  font-weight: normal;
  border-radius: 5px;
  font-size: 14px;
  padding:2px 4px;
  background-color: crimson;
  border: 1px solid crimson;
}

.flame img {
  width: 100%;
  max-width: 100%;
}

.trial,
.push {
  font-size: 20px;

}

.push {
  margin-bottom: 30px;
}

.line-btn,
.tel-btn {
  margin-bottom: 20px;
}

.line-btn img {
  width: 150px;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.5);
}

.btn-danger {
  padding: 8px;
  width: 150px;
  height: 47px;
  font-size: 0.8rem;
}

button {
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.5);
}

.flame {
  position: relative;
}

.contact-sp-text {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;

}

.name {
  margin-left: 5rem;
  font-size: 1rem;
}

.welcome {
  color: #ca32b5;
  font-size: 1.2rem;
}


@media screen and (min-width:768px) {
  .md-text {
    display: block;
  }

  .free {
    font-size: 30px;
  }

  .sp-text {
    display: none;
  }

  .flame {
    position: relative;
  }

  .contact-md-text {
    position: absolute;
    top: 25%;
    left: 0;
    right: 0;
  }

  .line-btn img {
    width: 180px;
  }

  .btn-danger {
    padding: 12px 16px;
    width: 180px;
    font-size: 1rem;
  }

  .name {
    font-size: 1.2rem;
  }

  .welcome {
    font-size: 1.2rem;
  }
}

@media screen and (min-width:1025px) {

  .sp-text,
  .md-text {
    display: none;
  }

  .pc-text {
    display: block;
  }

  .pc-text {
    position: relative;
  }

  .contact-pc-text {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
  }

  .name {
    font-size: 1.2rem;
  }

  .welcome {
    font-size: 1.3rem;
  }
}

/* footer */
.copyright {
  text-align: center;
  background-color: burlywood;
  margin: 0;
}