* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 10px = 1rem */
}

body {
  font-size: 1.6rem; /* デフォルト 16px */
  line-height: 1.6;
  font-family:
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  color: #000000;
  background-color: #fff;
}

header{
    margin: 10px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.container {
  width: min(100% - 4rem, 120rem); /* 最大1200px・両サイド2rem余白 */
  margin-inline: auto;
}

/* === Typography === */
h1 { font-size: 2.4rem; margin-bottom: 1.6rem; }
h2 { font-size: 2rem;  margin-bottom: 1.2rem; }
h3 { font-size: 1.8rem; margin-bottom: 1rem; }

/* === Links === */
a {
  color: inherit;
  text-decoration: none;
}

/* === Buttons & Forms === */
button,
input[type="submit"] {
  font: inherit;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 0.4rem;
  cursor: pointer;
}

/* === Media === */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === WordPress Block Support === */
.wp-block-image img {
  border-radius: 0.4rem; /* 必要に応じて調整 */
}

.wp-block-button__link {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 0.4rem;
  text-align: center;
}

/* header */

.onlinShopLogoSp{
        display: none;

}

.headerTop{
    display: flex;
    justify-content: space-between;
}

.headerLogo{
    width:90%;
}

.headerLogoSp{
    display: none;
}

.main-nav{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    max-width: 390px;
    min-width: 390px;

    
}

.main-nav li  {
    margin-right: 45px;
    margin-top: 20px;

}   
.main-navSp{
    display: none;
}

.main-nav li a{
    font-family: "Noto Sans JP" , sans-serif;
    color:#9D4F13;
    font-weight: 500;
}

.main-nav li a:hover{
    color:#DD2124;
}



    

.shop-badge{
    display: flex;
    align-items: center;
    justify-content: right;
    margin-top: 5px;
  
}

.badge{
  width: 20%;
}

.onlinShopLogo{
    margin-right: 5%;
}

/* top page */

.firstViewSection{
    margin-top: 5%;

}

.firstViewImg img{
    margin: 0 auto;
}

.concept{
    width:90%;
    margin: 0 auto;
    margin-top: 8% ;
    line-height: 2em;

}

.topConsept{
  color:#9D500D;
}

/* お知らせ */

.news-box {
    width: 90%;
    margin: 0 auto;
    margin-top: 8%;
  display: flex;
  border: 2px solid #b57a46;
  border-radius: 12px;
  padding-bottom: 1.5%;
  background: #fbf9f6;
  font-family: "Noto Sans JP", sans-serif;
}

.news-item {
     width:92%;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  margin-left: 5%;
  margin-top: 2%;
}

.news-label {
   
  color: #DD2124;
  font-weight: 300;
  margin-bottom: 0;
  font-size: 3.2rem;
  margin-left: 1%;
}

.news-date {
  font-weight: 500;
  width:20%;
  
}

.news-title {
  font-weight: 500;
  width:78%;
  
}

/* カレンダ */
.calenderSection{
  margin-top: 8%;
}
.calendar-wrap{
  width:80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  
}

.calendar-wrap div{
  width:45%;
}

.calendar-wrap div a{
  width: 100%;
}


/*ページ移動*/
.course-section{
    margin-top: 8%;
    
}

.course-tittle{
    color:#DD2124;
    font-weight: 500;
    font-size: 3.2rem;
}

.corse-detail{
    color:#817D69;
}
.course-grid {
  width:80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 45px;
  padding: 20px 0;
}

.course-card {
  display: block;
  background: rgba(129, 125, 105, 0.1);
  border-radius: 40px;
  padding: 18px;
  padding-bottom:25px;
  text-decoration: none;
  color: #333;
  transition: all .3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.course-img{
    display: flex;
    justify-content: center;
    flex-direction: column;
    width:100%;
    margin: 0 auto;
    margin-top: 15%;
    background-color: white;

}

.course-card .course-img img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  aspect-ratio: 1/0.85;
  object-fit: contain;
}

.course-card h3 {
  margin-top: 10% ;
  color: #9D4F13; 
  font-size: 1.8rem;
  text-align: center;
}

.course-card p {
  margin-top: 8%;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #000000;
  font-weight: 500;
}

/* お申し込みの流れ */
.flow-section {
  width: 100%;
 margin-top: 8%;
}

.flow-title {
  font-size: 2.0rem;
  margin-bottom: 30px;
  padding-left: 10px;
  padding-right: 10px;
  border-bottom: 4px solid #000;

  display: inline-block;
}

.flow-wrapper {
    display: grid;
  grid-template-columns: 1.1fr 1.8fr 0.8fr 1.1fr;
  gap: 10px;
  width: 90%;
  margin: 0 auto;
  margin-top: 1%;
  align-items: start;
}



.flow-step {
  background: #9D4F13;
  color: #fff;
  font-weight: bold;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 4px;
   display: inline-flex;      
  align-items: center;       
  justify-content: center;  
  margin-bottom: 8px;
  font-size: 2.0rem;
}

.flow-step span {
  display: inline-block;
  font-size: 2.7rem;
  margin-left: 3px;
 
}

.flow-heading {
  font-weight: bold;
  margin-bottom: 10px;
}

.flow-box {
   border: 2px solid #9D4F13;
  border-radius: 8px;
  background: #fff;

  font-size: 1.6rem;
  line-height: 1.6;
  text-align: center;

  padding: 15px;
  min-height: 110px; 
  display: flex;
  justify-content: center;
  align-items: center;
  
}

.jushinSettei{
  width:90%;
  margin: 0 auto;
  margin-top: 3%;
}

.jushinSettei p{
  font-size: 1.6rem;
}

/* お申し込みはこちら */
/* 申込セクション */
.apply-section{
  width: 100%;
  padding: 60px 0 80px;
}

.apply-inner{
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.apply-title{
  font-size: 2.2rem;
  font-weight: 700;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.apply-title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 320px;           /* 下線の長さ（好みで調整） */
  height: 4px;
  background: #000;
  border-radius: 999px;
}

.apply-sub{
  margin-top: 10px;
  color: #cdbfa7;         
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 1.4rem;
}

.apply-row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  margin: 24px 0 40px;
}

.apply-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding:20px;

  background: #9D4F13;
  color: #fff;
  font-size: 2.0rem;
  line-height: 1.35;

  border-radius: 12px;
  text-decoration: none;
}

.apply-cta:hover{
  opacity: .92;
}

.applyDiv{
  text-align: center;
}


.apply-notice{
  width:65%;
  margin-left: 35%;
  text-align: left;
  margin-top: 10%;
}

.apply-notice-title{
  display: inline-block;
  font-size: 2.0rem;
  font-weight: 700;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 18px;
  border-bottom: 4px solid #000;
}


.apply-list{
  text-align: left;
  margin: 0;
  padding-left: 18px;
  font-size: 1.6rem;
  line-height: 1.9;
  margin-top: 2%;

}


/* profile */

/* プロフィール */
.profile-section {
  background: #fbf3e8;
  padding: 40px 0;
}

.profile-inner {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;

  gap: 60px;
  align-items: start;
}

.profile-title {
  color: #e60012;
  font-size: 3.2rem;
  margin-bottom: 30px;
}

.profile-text{
  width:75%;
  margin: 0 auto;
  margin-top: 5%;
  font-family: 'Kiwi Maru', serif;
}

.profile-text p {
  font-size: 1.6rem;
  line-height: 1.9;
  margin-bottom: 20px;
  font-family: 'Kiwi Maru', serif;
}

.profile-cert {
  font-size: 1.4rem !important;
  line-height: 1.8;
  margin-top: 30px;
  font-family: 'Kiwi Maru', serif;
}

.profile-btn {
  display: inline-block;
  margin-top: 3.2rem;
 

  background: #8fb77b;
  color: #e60012;
  font-weight: bold;
  font-size: 1.8rem;

  padding: 18px 40px;
  border-radius: 12px;
  text-decoration: none;
}

.profile-btn:hover {
  opacity: 0.9;
}

.profile-image {
  position:absolute;
  top:0;
  right:10%;
}
.profile-image img {
  width: 80%;
  margin-left:20% ;

  display: block;
}

.blogButton{
  text-align: center;
}

.profile-btn span{
  color:white;
}

/* までな暮らし */
.madena-section {
  padding: 50px 0;
  padding-bottom: 20px;
}


.madena-fence img {
  width: 60%;
  height: auto;
  display: block;
  text-align: left;
}

.madena-fence--top picture{
  margin-bottom: 40px;
  display: flex;
  justify-content: right;
 
}

.madena-fence--bottom {
  margin-top: 60px;
}

.madena-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.madena-text {
  width: 65%;
  margin: 0 auto;
  font-size: 1.6rem;
  line-height: 2.0;
  margin-bottom: 24px;
}

.madena-link {
  display: inline-block;
  margin-top: 10px;

  color: #a45a1a;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
}

.madena-link:hover {
  text-decoration: underline;
}

/* アクセス */
.access-section {
  padding: 20px 0;
}

.access-title {
  color: #e60012;
  font-size: 3.2rem;
  margin-bottom: 40px;
}


.access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width:90%;
  margin: 0 auto;
}


.access-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.access-map {
  position: relative;
  width: 100%;
  padding-top: 56.25%; 
}

.access-map iframe {
  position: absolute;
  inset: 0;
  width: 90%;
  margin: 0 auto;

  height: 130%;
  border: 0;
}


.access-name {
  font-size: 1.6rem;
  margin-bottom: 8px;
  margin-top:15% ;
  margin-left: 5%;
}

.access-text p {
  font-size: 1.6rem;
  margin-left: 5%;
}

/* footer */
.footer {
  margin-top: 3%;
  background: #FEFDF3;
  padding: 40px 10px 10px;
  color: #2f2f2f;
}

.footer-inner {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* 左 */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo img {
  min-width: 80px;
  max-width: 200px;
  height: auto;
  display: block;
}

.footer-instagram img {
  min-width: 15px;
  max-width: 36px;
  margin-left: 20px;
  
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
}


.footer-nav-top {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  gap: 32px;
}


.footer-nav-bottom {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-size: 1.6rem;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  white-space: nowrap;
}




.footer-nav a:hover {
  color: #DD2124;
  
}



.footer-copy {
  text-align: center;
  font-size: 1.3rem;
  margin-top: 40px;
}

/* basic */
.lesson{
  background:#fff;
  padding: 80px 0;
}

.lesson-title{
  text-align:center;
  font-size: 1.8rem;
  font-weight:700;
  margin: 0 0 6%;
  color:#9D500D; 
}

.lesson-body{
  width:80%;
  margin: 0 auto;
}

.lesson-body2{
  width:60%;
  margin: 0 auto;
}

.lesson-row{
  font-size: 1.6rem;
}



.lesson-time{
  white-space: nowrap;
}

.class-info{
  background:#fff;
}


/* 見出し */
.class-info-title{
  font-size: 3.2rem;
  color:#DD2124;
  display: inline-block;
  margin-bottom: 40px;
}

.class-info-line{
  display:block;
  width: 140%;
  height: 4px;
  background:#000;
  margin-top: 6px;
}


.table-scroll{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.schedule-table{
  width:60%;
  border-collapse: collapse;
  min-width: 700px;
  margin: 0 auto;
  border: 2px solid #9D4F13;
}

.schedule-table th,
.schedule-table td{
  border: 1px solid #9D4F13;
  padding: 10px ;
  text-align: center;
  white-space: nowrap;
  font-size: 1.2rem;
}

.schedule-table thead th{
  font-weight: 700;
}

.subHead{
  font-weight: 500;
}

.time-note{
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  margin: 14px;
  font-size: 1.6rem;
  width:80%;
}


.place-note{
  display: flex;
  width: 80%;
  margin: 0 auto;
  text-align: left;
  justify-content: center;
  margin-bottom: 30px;
  margin-top: 30px;
  font-size: 1.6rem;
}

.place-note .small{
  font-size: 1.2rem;
  margin-top: 6px;
  position: relative;
}

.naka-note{
  margin-right: 20px;

}


.place-note .small::before{
  content: "　";
  white-space: nowrap;
}


.class-notes{
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 600px;
}

.class-notes li{
  position: relative;
  padding-left: 18px;
  font-size: 1.2rem;
}

.class-notes li::before{
  content:"●";
  position:absolute;
  left:0;
  color:#9D4F13;
}

.class-notes{
  width:80%;
  margin: 0 auto;
}

.info-block {
  margin-bottom: 4%;
}


.info-title span {
  color: #d32f2f;
  font-weight: bold;
  font-size: 3.2rem;
}

.info-title .line {
  width: 15%;
  height: 3px;
  background: #000;
  margin-top: 8px;
}


.info-content {
  width:70%;
  margin-left: 20%;

  line-height: 1.8;
  font-size: 1.6rem;
}


.info-content .note {
  font-size: 1.6rem;

}

.place {
  position: relative;
}

.place::before {
  content: "大野田教室：";
  margin-right: 0.4em;
}

.place2 {
  position: relative;
  font-size: 1.2rem;
}

.place2::before {
  content: "　　　　　　　　 ";
  margin-right: 0.4em;
}

.lesson-row2{
  margin-top: 3%;
}

.lesson-body3{
  width: 50%;
  margin: 0 auto;
}

.info-content2{
  display: flex;
}


.form-section{
  margin-top: 5%;
}

/* 全体 */
.cf7-wrap {
  width:80%;
  margin: 0 auto;
  margin-top: 2.5%;
  padding: 0 16px;
}

.formTittle{
  display: flex;
  justify-content: center;
}

.cf7-title {
  text-align: left;
  color: #DD2124;
  font-size: 3.2rem;
  margin-bottom: 24px;
  line-height: 1.4;
  font-weight: 500;
}

.explanation{
  display: flex;
  justify-content: center;

}

.cf7-lead{
  margin-top: 2%;
}


.cf7-lead,
.cf7-note {
  margin-left: 7%;
  width:50%;
  text-align: left;
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.required-note {
  color: #d80000;
}


.cf7-field {
  margin-bottom: 60px;
}



.cf7-field label {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 8px;
}


/* input / textarea */
.cf7-field input[type="text"],
.cf7-field input[type="email"],
.cf7-field input[type="tel"],
.cf7-field textarea {
  width: 70%;
  margin-left: 15%;
  padding: 16px 20px;
  border: 1.5px solid #333;
  border-radius: 12px;
  font-size: 1.6rem;
  box-sizing: border-box;
}

.cf7-field textarea {
  min-height: 160px;
  resize: vertical;
  margin-top: 3%;
}


.cf7-radio-note {
  font-size: 1.8rem;
  margin-bottom: 5%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.maru {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 15px;
  padding-right: 10px;

}

.maru::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid #9d4f13;
  border-radius: 50%;
  box-sizing: border-box;
  
  display: block;
}

.wpcf7-checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
}



.wpcf7-list-item label {
  display: flex;
  align-items: center;
  width:60%;
  margin-left: 35%;

}


.wpcf7-checkbox input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #9d4f13;
  border-radius: 50%;
  position: relative;
}

.wpcf7-checkbox input[type="checkbox"]:checked {
  background-color: #9d4f13;
}

.cf7-submit {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 15%;
}

.cf7-submit input[type="submit"] {
  background: #DD2124;
  color: #fff;
  font-size: 1.6rem;
  padding: 12px 36px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
}

.cf7-submit input[type="submit"]:hover {
  opacity: 0.85;
}


.sp-only {
  display: none;
}

.wpcf7-spinner{
  display: none;
}

@media (max-width: 600px) {
  .sp-only {
    display: block;
  }
}







@media screen and (max-width: 1170px) {
  .flow-wrapper {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;  
    column-gap: 55px;
  }

  .flow-box{
    font-size: 1.5rem;
  }

 
}
@media screen and (max-width: 1100px) {
    /* お知らせ */
    .news-item{
        display: block;
    }

    .news-date {
        display: block;
        width:100%;
    }

    .news-title {
        margin-left: 0;
  
    }

    .cf7-lead,
  .cf7-note {
  margin-left: 7%;
  width:60%;
}

   

    

}

@media screen and (max-width: 1040px) {
  .info-content2{
    flex-direction: column;
  
}

.badge{
  width: 25%;
}
}

@media screen and (max-width: 1000px) {
  .time-note{
    width:85%;
  }

  .lesson-row2{
  margin-top: 5%;
}
}

@media screen and (max-width: 900px) {
    /* header */
    .onlinShopLogo{
        display: none;

    }
    .onlinShopLogoSp{
        display: block;

    }

    .main-nav li  {
        margin-right: 40px;
    }

    .main-nav{
        max-width: 375px;
        min-width: 375px;
    }

    .shop-badge{
        margin-top: 0;
    }

    .apply-notice{
      width:75%;
      margin-left: 25%;
    }

    .madena-text {
      width: 75%;
    }

    .lesson-body2{
      width:70%;
    }  

    .cf7-lead,
  .cf7-note {
  margin-left: 10%;
  width:70%;
}
}

.mb870{
  display: none;
}

@media screen and (max-width: 870px) {
  .flow-wrapper {
    grid-template-columns: 1fr;
    row-gap: 24px;
    column-gap: 0;
  }

  .flow-box{
    font-size: 1.6rem;
  }

  .lesson-body3{
  width: 55%;
  margin: 0 auto;
}

  

  
}

.course-grid-sp{
    display: none;
}

@media screen and (max-width: 810px) {
    /* header */
    .headerLogo{
        display: none;
    } 
    .headerLogoSp{
        display: block;
    }   

    .main-nav{
        max-width: 350px;
        min-width: 350px;
    }

    .main-nav li  {
        margin-top: 10px;
        margin-right: 25px;
    }

    /* コース紹介 */
    .course-tittle, .info-title span,.class-info-title, .access-title {
      font-size: 2.2rem;

    }
    .course-grid{
        display: none;
    }
    .course-grid-sp{
        display: block;
    }

.course-grid-sp {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 5%;
    width:80%;
    margin: 0 auto;
    place-items: center;
  }

  .course-img{
    width:85%;
    margin: 0 auto;
  }

  .course-grid-sp .course-card {
    
    display: block;
    background: rgba(129, 125, 105, 0.1);
    border-radius: 32px; 
    padding: 28px 5px;
    max-width: 250px;
    min-width: 250px;
    text-align: center;
    text-decoration: none;
    color: #6A4A29;        
    box-shadow: 0 3px 10px rgba(0,0,0,0.06); 
    transition: .3s ease;
  }

  .course-grid-sp .course-card:hover {
    transform: translateY(-4px);
  }

  .course-grid-sp .course-card img {
    display: block;
  }

  .course-grid-sp .course-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9D4F13;  
    line-height: 1.4;
    margin-top: 8px;
  }

  .calendar-wrap{
    flex-direction: column;

  }

  .calendar-wrap div {
    width:70%;
    margin: 0 auto;
  }

  .calender2{
    padding-top: 10%;
  }

  /* お申し込みの流れ */
  .flow-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .flow-item {
    width: 100%;
  }

  .flow-box {
    padding: 18px;
  }

  .flow-step {
    font-size: 16px;
  }

  .flow-step span {
    font-size: 20px;
  }

  .flow-section {
    margin-top: 20%;
  }

  .flow-section-under{
    margin-top: 10%;
  }

  .profile-text{
    width:90%;
    margin: 0 auto;
  }

  .place-note{
    flex-direction: column;
    text-align: left;
    margin-left: 0;
    width:100%;
  }

  .place-note .small::before{
  content: "";
   visibility: hidden;
  white-space: nowrap;
}

.class-notes{
  width:100%;
  margin-left:0;
}

.place-note{
  font-size: 1.4rem;
}

 .time-note{
  width:95%;
 }

 .lesson-body2{
  width:80%;

 }

 .cf7-lead,
  .cf7-note {
  margin-left: 15%;
  width:80%;
}




 

}

.spSentak{
  display: none;
}

@media screen and (max-width:750px){
  .profile-image img {
  width: 90%;
  margin-left:10% ;
  }

 .footer-nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    text-align: left; 
    gap: 5px;
  }

  .footer-nav li {
    grid-column: auto;
    
  }

  .footer-nav a {
    font-size: 1.4rem;
  }

  .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.footer-instagram img{
  margin-left: 10px;

}

.lesson-body3{
  width: 67%;
  margin: 0 auto;
}

.cf7-field input[type="text"], .cf7-field input[type="email"], .cf7-field input[type="tel"]{
  width:80%;
}

.cf7-field textarea {
  width:85%;
  margin-left: 10%;
}

.wpcf7-spinner{
  display: none;
}

.cf7-field label {
  margin-bottom: 3%;

}

.cf7-radio-note{
  margin-bottom: 8%;
}

.wpcf7-list-item label{
  margin-left: 18%;
  width:100%;

}

.cf7-radio-note{
  font-size: 1.4rem;
}

.sentakDis{
  display: none;
  
}
.cf7-radio-note{
margin-bottom: 0; 
}

.spSentak{
  display: block;
  text-align: center;
  margin-bottom: 5%;
  font-size: 1.4rem;
}



}



@media screen and (max-width: 700px) {
  .apply-list{
    width:90%;
    margin: 0 auto;
  }

  .apply-notice{
    text-align: left;
    margin-left: 0;
    width: 100%;
  }

 

  .flow-title{
    font-size: 1.6rem;
  }

  .apply-notice-title{
    font-size: 1.6rem;
  }

  .apply-cta {
    padding:10px;
  }

  .profile-title, .access-title {
    font-size: 2.2rem;
  }

  .profile-btn {
    margin-top: 1.8rem;
        padding: 10px 20px;
  }

   .madena-section {
    padding: 60px 0;
  }


  .madena-text {
    width:85%;
    line-height: 1.9;
  }
  .cf7-title {
    font-size: 1.6rem;
  }
 
  
}

@media screen and (max-width: 650px) {
    /* header */
    .main-nav{
        display: none;
    }

    .main-navSp{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        width:80%;
        margin: 0 auto;
        margin-top: 2%;
    }
	.main-navSp2{
		justify-content:left;
	}
	
	.main-navSp2 li{
 		 margin-right: 13%;
	}

    .main-navSp li{
        list-style: none;
        margin-top: 5%;

    }

    .main-navSp li a{
    font-family: "Noto Sans JP" , sans-serif;
    color:#9D4F13;
    font-weight: 500;

    
    }

    .main-navSp li a:hover{
        color:#DD2124;

    }


    .firstViewSection{
        margin-top: 8%;

    }

    /* お知らせ */
    .news-box{
        display: block;
        padding-bottom: 2.5%;
    }

    .news-label {
        font-size: 2.5rem;
        width:90%;
        margin: 0 auto;
        margin-top: 2%;
        
    }

    .course-grid-sp .course-card {
        max-width: 190px;
        min-width: 190px;
    }

     .access-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .access-map iframe {
  width: 100%;
  height: 110%;
  border: 0;
}
.access-name{
  margin-top: 5%;
  margin-left: 0;
}
.access-text p{
  margin-left: 0;
}

.lesson{
  padding: 60px 0;
}

.lesson-body3{
  width: 75%;
  margin: 0 auto;
}

.cf7-lead,
  .cf7-note {
    margin: 0 auto;
 
  width:80%;
  }

  .cf7-title {
    font-size: 1.6rem;
    margin-top: 5%;
  }

  .badge {
        width: 40%;
    }

}

@media screen and (max-width:600px){
      .profile-text {
        margin-top: 13%;
      }

      .lesson-body3{
  width: 80%;
  margin: 0 auto;
}



    
.lesson-row2{
  margin-top: 8%;
}

 .cf7-wrap {
    margin-top: 10%;
   }

  .cf7-field input[type="text"], .cf7-field input[type="email"], .cf7-field input[type="tel"],    .cf7-field textarea{
  width:100%;
  margin-left: 0;
      padding: 16px 15px;
  }

  .cf7-field{
    margin-bottom: 45px;

  }

  

  
}

.mb500{
  display: none;
}

@media screen and (max-width: 500px) {
    .main-navSp{
        width:90%;
        font-size: 1.4rem;
    }
    .course-grid-sp {
        width: 95%;
        
    }

    .course-grid-sp .course-card {
        max-width: 150px;
        min-width: 150px;
    }
    .course-grid-sp {
        gap:5%;
    }

    .flow-section{
      margin-top: 25%;
    }

    .flow-section-under {
      margin-top: 10%;
    }

    .calenderSection{
      margin-top: 13%;
    }

    .calendar-wrap{
       width:100%;
    }

    .calendar-wrap div {
    width:90%;
    margin: 0 auto;
  }

  .course-section{
    margin-top: 13%;
  }

  .profile-text {
    width:100%;
    margin-top: 18%;
  }

  .lesson-body{
    width:90%;
  }

  .mb500{
    display: block;
  }

  .apply-section{
    padding-bottom: 40px;
  }

  .info-title .line {
  width: 35%;
  }

  .info-content{
   
    width:90%;
    margin: 0 auto;
    margin-top: 10%;
  }

  .cf7-lead,
  .cf7-note {
    width:90%;
  }

      .cf7-radio-note, .spSentak{
        font-size: 1.3rem;
      }

      .spSentak{
         margin-bottom: 10%;
      }


          .maru {
            padding:3px;
          }
          .maru::before {
    content: "";
    width: 15px;
    height: 15px;
          }

  
}

  


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

  main{
    overflow-x: hidden;
  }
  .mb870{
    display: block;
  }

  
 .footer-logo img{
  max-width: 100px;
 }
 .footer-instagram img {
  max-width: 25px;
 }

 .profile-text {
    width:100%;
    margin-top: 25%;
  }

  .cf7-wrap {
    width:100%;

  }

  .main-navSp2 li{
 		 margin-right: 10%;
	}
  .calendar-wrap {
    width:100%;
   
  }

  .calendar-wrap div {
    width:90%;
    margin: 0 auto;
  }

 
}

@media screen and (max-width:400px){
  .flow-section{
    margin-top: 30%;
  }

  .flow-section-under{
    margin-top: 20%;
  }

  .profile-text {
    width:100%;
    margin-top: 35%;
  }
  .lesson-body{
    width:95%;
  }

  .time-note{
    flex-direction: column;
    text-align: right;
    gap:0;
  }

  .class-info-title {
    margin-bottom: 10px;
  }

  .apply-list {
    width:100%;
  }
  .place2::before {
      content: "";
    }

    .wpcf7-list-item label{
          margin-left: 0;
        }

        .cf7-radio-note{
        font-size: 1.2rem;
      }

          .sentakDis {
            font-size: 1.2rem;
          }

  .main-navSp2 li{
 		 margin-right: 5.5%;
	}

}

@media screen and (max-width: 350px) {
    .main-navSp{
        width:95%;
    }

    .course-grid-sp .course-card {
        max-width: 130px;
        min-width: 130px;
    }

    .footer-nav a {
        font-size: 1.2rem;
    }
    .footer-inner{
      justify-content: left;
      gap:0;
   
    }

        

    
}

@media screen and (max-width: 320px) {
  .footer-inner{
    margin-left: 5px;
  }
}

.backtotop{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;

  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.backtotop.is-show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.backtotop img{
  display: block;
  width: 56px;
  height: 56px;
}
