@charset "UTF-8";
#mainImage {
  position: relative;
  height: 56vw;
  z-index: 0;
}
#mainImage::before, #mainImage::after {
    position: absolute;
    width: 100%;
    content: "";
    height: 36.5vw;
    left: 0;
    z-index: 1;
}
#mainImage::before {
    background: linear-gradient(90deg, #62deb5 0%, #63cde0 100%);
    top: 38vw;
    clip-path: polygon(0 52%, 100% 52%, 100% 100%);
}
#mainImage::after {
    background: #d3fc32;
    top: 38vw;
    clip-path: polygon(0 48%, 100% 0, 100% 52%, 0 100%);
}

#mainImage .mv {
  background-image: url(../img/lesson/mv.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 100%;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}
.hero-contents {
  top: 0;
  left: 0;
  color: #fff;
  text-align: left;
  margin: 0 auto;
  width: 60vw;
  max-width: 864px;
  padding: 17.3vw 0 0;
  font-weight: 700;
}

.hero-contents .hero-copy {
  margin-bottom: 0rem;
  position: relative;
  z-index: 1;
  text-align: center;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.35));
}

.hero-contents .en {
  font-style: italic;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.15));
  text-align: center;
}
.hero-contents h1 {
  font-size: clamp(3rem, 10.2vw,11rem);
  line-height: 0.9;
  letter-spacing: 1px;
}
.hero-contents h5 {
  font-size: clamp(1.1rem, 1.64vw, 2rem);
  font-weight: 900;
  margin: 0.5vw 0 1vw;
}

@media only screen and (max-width: 640px) {
  .sp-flex{
    flex-direction: row;
  }
  #mainImage {
    height: 90vw;
  }
  /* #mainImage::before, #mainImage::after{
    top: 95vw;
  } */
  #mainImage::before {
    top: 87vw;
    height: 59vw;
    clip-path: polygon(0 0, 100% 25%, 100% 100%, 0 70%);
  }
  #mainImage::after {
    height: 64vw;
    clip-path: polygon(0 28%, 100% 0, 100% 73%, 0 100%);
    top: 69vw;
  }
  #mainImage .mv {
    height: 90vw;
    background-image: url(../img/lesson/mv_sp.jpg);
    background-position: top;
  }
  .hero-contents{
    margin: 0 8vw;
    padding: 30vw 0 0;
    width: 84vw;
  }
  .hero-copy{
    margin-left: 1.2vw;
  }
  .hero-contents h1{
    font-size: 14vw;
    line-height: 1;
  }  
  .hero-contents h2 {
    letter-spacing: -0.1vw;
    font-size: 7vw;
  }
  .hero-copy::after{
    width: 100%;
    top: 4vw;
    left: -4vw;
  }
  .hero-contents h5 {
    margin: 2vw 0;
    font-size: 2.8vw;
  }
}

section .section-content {
  margin-top: -8vw;
  margin-bottom: -18vw;
  padding-bottom: 32vw;
}

.section-content > * {
    width: 100%;
  }

/* .map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 66%;
  margin-bottom: 3vw;
}
 
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} */

/* p {
  font-size: clamp(1rem,1vw,1.5rem);
  text-align: left;
} */
/* .map + p {
  margin-bottom: 3vw;
} */

/* .section-content.row {
  background: #fff;
  padding: 5vw 7vw;
  margin-top: -9vw;
  font-size: clamp(1rem,1vw,1.5rem);
  text-align: left;
} */
.section-content h3 {
    font-weight: 900;
    text-align: center;
    width: 100%;
    padding: 1.6vw 0;
    margin: 4vw 0;
}

.section-content h3.txt-center {
    font-size: 2.7vw;
    line-height: 1.4;
    margin-bottom: 1.5vw;
}

.block {
    width: 100%;
    margin: 4.5vw 0 6vw;
    position: relative;
    border: clamp(0.3rem, 0.7vw, 1.0rem) solid #007e44;
    color: #007e44;
}
table.block{
  margin: 0.5vw 0 1vw;
  table-layout: fixed;
  width: 100%;
  background: #fff;
}
table.block thead {
  background: #fffbc6;
  border-bottom: clamp(0.3rem,0.7vw,1.0rem) solid;
  line-height: 2;
}
table.block tr > * {
  border: solid clamp(0.1rem,0.28vw,0.4rem);
  vertical-align: middle;
}
table.block th {
  font-size: clamp(1rem, 2.1vw, 3rem);
  font-weight: 900;
}
th.w10 {
  width: 17%;
}
table.block td {
  width: 30%;
  line-height: 1.8;
}
table.block .price {
  font-size: clamp(1rem, 3.1vw, 4.4rem);
  font-weight: 900;
}
table.block .price small {
  padding-right: 0.4vw;
}
table.block sub{
  font-size: 57%;
  bottom: 0;
}
.flex.col-3, table.col-3 {
  margin-top: 0;
  margin-bottom: 2vw;
}
.flex.col-3 > * {
  border: 2px solid;
}
.flex.col-3 .flex-box {
  width: 34%;
}
.flex.col-3 .flex-box h5 {
  font-weight: 900;
  border-bottom: 1rem solid;
  padding: 0.5vw;
  margin-top: -0.2vw;
  background: #fffbc6;
}
.flex.col-3 .flex-box h5 sub{
  font-size: 63%;
}
table.block.col-3 .price {
  /* padding: 2vw; */
  font-size: clamp(2.8rem, 4.9vw, 7rem);
  height: clamp(4rem, 8vw, 11.5rem);
  margin: 0;
}
table.block.col-3 .price:has(.ask){
  font-size: clamp(1rem, 2.1vw, 3rem);
}
table.block .ask{
  font-family: YakuHanJP, "Noto Sans JP", Helvetica, Arial, sans-serif;
  font-weight: 900;
  }

.instructor .flex img{
  width: 180px;
}
section.lesson .instructor .flex {
    justify-content: flex-start;
    gap: 4rem;
}
section.lesson .flex.col-2 .instructor {
    width: calc(50% - 3rem);
    margin-bottom: 4rem;
}

section.lesson .instructor .flex {
    justify-content: flex-start;
    gap: 4rem;
}

.instructor p.grn {
    color: #007e44;
    font-weight: 700;
    font-size: 2.0rem;
}
.instructor .name{
  text-align: left;
}
.instructor .name p.grn {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 0;
}
.instructor .name p.grn small {
    font-size: 70%;
}
.instructor .name small.en {
    font-style: italic;
    font-size: 90%;
}

.instructor p.grn.line:after {
    content: "";
    display: inline-block;
    background: #007e44;
    height: 3px;
    z-index: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin-top: 0rem;
}

p.grn.line {
    margin-inline: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 2rem;
    font-weight: 900;
}

section.lesson .flex.col-2 .instructor .flex {
    margin: 1rem auto 4rem;
}

.flex .note {
    font-size: clamp(0.8rem, 1.0vw, 1.4rem);
    text-align: left;
    font-weight: 700;
    padding: 0;
    width: 100%;
    text-indent: -1vw;
    padding-left: 1vw;
}
p:has(.more) {
    margin: 4rem auto 7rem;
}


@media only screen and (max-width: 640px) {
  .section-content.row{
    width: 95%;
    margin-top: 0;
    padding: 0 0 30vw;
    font-size: 2.4vw;
  }
  .section-content h3{
    margin: 7vw 0;
  }
  .lesson .section-content .flex:has(.instructor){
    margin-bottom: 16vw;
  }
  .section-content h3.txt-center{
    font-size: 6.4vw;
  }
  p{
    font-size: 4vw;
  }
  .section-content p{
    line-height: 1.47;
  }
  .lesson h3 + p {
    width: 87%;
    margin: 4vw auto 13vw;
    line-height: 1.47;
  }
  .lesson .flex.col-2 {
    width: 88%;
    margin: 0 auto;
  }
  section.lesson .flex.col-2 .instructor {
    width: 100%;
    margin-bottom: 6vw;
  }
  section.lesson .flex.col-2 .instructor .flex {
    margin: 8vw auto 7vw;
    gap: 6vw;
  }
  .instructor .flex img{
    width: 100px;
  }
  .instructor .name p.grn{
    font-size: 5.4vw;
  }
  .instructor .name small.en{
    font-size: 115%;
  }
  .instructor p.grn{
    font-size: 4vw;
  }
  p.grn.line{
    gap: 4vw;
  }
  .instructor p.grn.line:after{
    height: 0.5vw;
  }

  table.block{ margin-bottom: 4vw;}
  table.block thead{ border-width: 1.2vw; }
  table.block tr > *{ border-width: 0.8vw; }
  table.block th{ font-size: 4.6vw; line-height: 1.2; padding: 2vw 0 3vw;}
  table.block th:has(sub){
    line-height: 8vw;
    position: relative;
    padding-bottom: 5vw;    
  }
  table.block td {
    line-height: 1.4;
  }
  table.block sub{display: block;}
  table.block tbody th {
    font-size: 3.3vw;
  }
  table.block .price{
    font-size: 6vw;
  }
  .flex .note{
    font-size: 3.2vw;
    line-height: 1.6;
    text-indent: -3vw;
    padding-left: 3vw;
  }
  .g-cal{
    height: 80vw;
  }
}

section::before,
section::after {
  position: absolute;
  width: 100%;
  content: "";
  bottom: 0;
}
section::before {
  background: #d3fc32;
  height: 51vw;
  clip-path: polygon(0 35%, 100% 0, 100% 80%, 0 100%);
  z-index: 0;
  left: 0;
}
section::after {
  background: linear-gradient(#63e0af, #63cde0);
  height: 73vw;
  clip-path: polygon(0 0, 100% 24%, 100% 100%, 0 100%);
  z-index: -1;
  right: 0;
}



section .section-content{
  z-index: 1;
}
section .section-content.flex,
section .section-content > .flex{
  align-items: flex-start;
  flex-wrap: wrap;
}
.section-content .flex > .flex-box {
  width: 50%;
  z-index: 2;
}
.section-content .flex .flex-box .hero-copy {
  position: relative;
  z-index: 1;
  top: 0;
  left: 0;
  text-align: left;
  margin: 4vw 0 0 -3.5vw;
  padding: 0;
  font-weight: 700;
  justify-content: flex-start;
}
.section-content .flex .flex-box .hero-copy h1 {
  transform: rotate(-10deg);
  transform-origin: left;
  font-style: italic;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.15));
  font-size: clamp(5.5rem, 7.7vw, 11rem);
  line-height: 0.85;
  letter-spacing: 0;
}
.section-content .flex .flex-box .hero-copy h1:last-child {
  left: 2.8vw;
  position: relative;
}

.section-content .flex .flex-box .hero-copy::after {
  content: '';
  width: 104%;
  height: 16vw;
  position: absolute;
  top: 0;
  bottom: -3.6rem;
  left: 0;
  z-index: -1;
}
.section-content .flex .flex-box.text-content {
  margin: -3vw 0 0 0vw;
  width: 50%;
  text-align: left;
  z-index: 1;
}
.flex-box.text-content h5,
.flex-box .text-content h5 {
  font-size: clamp(1.0rem, 2.0vw, 2.9rem);
  font-weight: 900;
  margin: 1.2vw -2vw 1.5vw 0;
}

.flex-box p {
  font-size: clamp(0.9rem, 1.05vw, 1.5rem);
  line-height: 2;
  font-weight: 700;
  padding-bottom: 2.5vw;
  margin-bottom: 0;
}
#wrapper .note a {
  color: #0072ff;
  text-decoration: underline;
  text-underline-offset: 0.5em;
}
@media only screen and (max-width: 640px) {
  .section-content .flex > .flex-box {
    width: 100%;
  }
  .section-content .flex .flex-box .hero-copy {
    margin: 2vw 0 0 2vw;
  }
  .section-content .flex .flex-box .hero-copy h1{
    font-size: 14.7vw;
  }
  .section-content .flex .flex-box .hero-copy h1:last-child{
    left: 5vw;
  }
  .section-content .flex .flex-box .hero-copy::after {
    width: 100%;
    height: 31vw;
    bottom: 0;
    top: -1vw;
  }
  .section-content .flex .flex-box.text-content {
    width: 90%;
    margin: -14vw auto 0;
    position: relative;
  }
  .flex-box h5 {
    line-height: 1.6;
    margin-bottom: 3vw;
    text-align: center;
    font-size: 6.4vw;
  }
  .flex-box p {
    line-height: 1.8;
    padding-bottom: 6vw;
    font-size: 3.2vw;
  }
}

