@charset "utf-8";

body {
  color: #828071;
  background-color: #f0efed;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}
.inner {
  max-width: 960px;
  margin: 0 auto;
}
#wrapper {
  max-width: 1920px;
  min-width: 1200px;
}
h2 {
  text-align: center;
}
a {
  text-decoration: none;
  color:#828071;
  transition: .3s;
}
a:hover {
  opacity: 0.5;
}
li {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}
.link02 a {
  color: #fff;
}
.link02 .mail::before {
  content: '\f0e0 ';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-left: 3px;
}
input, textarea {
  border: 1px solid #aaaa;
  border-radius: 4px;
  padding: 4px;
  width: 80%;
}
input::placeholder {
  color: #ccc;
}
button, select{
  border: 1px solid #aaaa;
  background-color: #ccc;
  border-radius: 4px;
  padding: 4px 10px;
}
input[type="checkbox"],input[type="radio"] {
  width: auto;
}
.ptop {
  position: fixed;
  bottom: 5%;
  right: 3%;
  background-color: rgb(255,255,255);
  padding: 1% 1.3%;
  border-radius: 50%;
  color: #efa26f;
  font-weight: bold;
}
.ptop a {
  color: #999;
  display: block;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 45px;
  transition: 1s all linear;
}
.ptop a:hover {
  color: #999;
}
/* *****************************************************************************
	Common
***************************************************************************** */
header {
  background-color: #e4dbd2;
  padding: 1% 0;
  position: relative;
  position: sticky; top: 0;
	z-index: 2;
}
header h1 {
  text-align: center;
}
header a {
  font-weight: 600;
}
header ul {
  display: flex;
  justify-content: center;
  gap: 0 8%;
}
header .home {
  margin-top: -5px;
}
header .bloginsta {
  text-align: center;
  /* border: 1px solid red; */
}
header .home i {
  font-size: 25px;
}
header .blog i {
  font-size: 23px;
  margin-top: -1px;
}
header .insta i {
  font-size: 27px;
  margin-top: -3px;
  padding-left: 3px;
}
header ul li span {
  display: flex;
  font-size: 10px;
  justify-content: center;
}
header .link02 {
  font-size: 18px;
  background-color: #C8AE8B;
  display: inline;
  position: absolute;
  top: 0%;
  right: 0%;
  padding: 1% 2%;
}
header .link02 a {
  color: #fff;
}
/*ハンバーガーメニュー*/

header ul.sp {
  padding-top: 4rem;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  background: rgba(228,219,210,0.95);
  pointer-events: none;
  opacity: 0; /*通常時はここで消してる*/
  transition: opacity 0.2s linear;
}
header ul.sp.is-active {
  pointer-events: auto;
  opacity: 1;
}
/* 通常時のスタイルに書く内容ここまで */

main .inner {
  padding: 4% 0;
}
main .inner h2 {
  display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	letter-spacing: 4px;
  padding-bottom: 2%;
}
main .inner h2 span {
  font-size: 11px;
}
footer {
  background-color: #e4dbd2;
  position: relative;
}
footer a {
  font-weight: bold;
}
footer .info {
  display: flex;
  padding-bottom: 1%;
  margin-left: 13%;
  align-items: center;
}
footer .info img {
  padding-right: 30px;
}
footer .info-box01 {
  font-size: 18px;
}
footer .info-box01 dt {
  text-decoration: underline;
}
footer .info-box01 dd {
  padding-left: 10px;
}
footer .info-box01 dd span {
  font-size: 20px;
}
footer .info-box01 p {
  font-size: 20px;
  text-align: center;
  margin-top: 7%;
  margin-bottom: 1%;
}
footer .info-box02 p {
  position: absolute;
  bottom: 45%;
  right: 17%;
}
footer .info-box02 .link02 {
  font-size: 18px;
  display: inline;
  background-color: #c5a882;
  padding: 1% 2%;
  position: absolute;
  bottom: 50%;
  right: 18%;
}
footer .link03 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
footer .link03 a {
  font-weight: 300;
  color: #918e7c;
}
footer .home i {
  font-size: 19px;
}
footer .bloginsta2 {
  display: flex;
}
footer .insta i {
  font-size: 20px;
  margin: 2px 0 0 30px;
}
footer .link03 li:not(:last-child)::after {
  content: "|";
  margin-left: 30px;
}
footer small {
  display: block;
  text-align: right;
  font-style: italic;
  padding:13px 20px;
}
  

/**************************************************************************** index **********************************/

main .topimg {
  position: relative;
}
main .topimg a {
  font-weight: 900;
}
main .topimg .topimg-text01 {
  font-size: 20px;
  position: absolute;
  top: 6%;
  right: 3%;
  padding: 60px;
  background: url(../images/cloud.png) no-repeat center center;
  background-size: contain;
  text-align: center;
}
main .topimg .topimg-text02 {
  font-size: 40px;
  font-weight: 500;
  box-shadow: 0 0 5px #fff;
  background-color: rgb(252,250,242,0.8);
  position: absolute;
  bottom: 40%;
  left: 6%;
  padding: 0 10px;
}
main .topimg .topimg-text03 {
  font-size: 40px;
  font-weight: 500;
  box-shadow: 0 0 5px #fff;
  background-color: rgb(252,250,242,0.8);
  position: absolute;
  bottom: 26%;
  left: 6%;
  padding: 0 10px;
}
main .aboutimg-box {
  overflow: hidden;
}
main .aboutimg-student {
  float: right;
  border-radius: 60px;
  margin: 1% 8% 0 4%;
  padding: 10px 10px;
  border: dashed 3px #E1DFD2;;
}
main .aboutimg-text01 {
  display: block;
  padding: 3% 0 0 8%;
  font-size: 18px;
}
main .aboutimg-box span {
  font-weight: bold;
  display: block;
  margin: 20px 0;
}
main .aboutimg-text02 {
  display: block;
  margin: 4% 20%;
}
main .aboutimg-box a {
  font-size: 18px;
  padding: 7px 20px;
  background-color: #DEE6E8;
  border: 1px solid #dddcd6;
  border-radius: 30px;
  font-weight: bold;
}
/*slick setting*/
/* main .slick-prev:before,
main .slick-next:before {
    color: #000;
} */
main .lessonimg h2 {
  margin-bottom: 3%;
}
main .lessonimg ul {
  display: flex;
  gap: 30px;
}
main .lessonimg li {
  text-align: center;
  font-weight: 500;

}
main .lessonimg li img {
  border-radius: 48%;
  display: block;
}
main .lessonimg li p {
  font-size: 20px;
  background: url(../images/ribbon.png) no-repeat center center;
  padding: 40px;
}
main .access {
  background-color: #e4dbd2;
}
main .access .address {
  text-align: center;
  padding-top: 2%;
}
main .access .address2 {
  text-align: center;
  padding-top: 2%;
}
main .map iframe{
  width: 100%;
  height: 100%;
}
main .map {
  aspect-ratio: 4 / 3;
  width: 65%;
  margin: 0 auto;
}
main .blogimg  h2{
  margin-bottom: 30px;
}
main .blogimg dl {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  gap: 10px 0;
}

main .blogimg dt {
  width: 20%;
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 5px 5px 0 0;
  /* border: 1px solid red; */
}
main .blogimg dd {
  width: 80%;
  font-size: 18px;
  background-color: #fff;
}
main .blogimg li {
  padding: 7px 0 0 20px;
}

/*********************************************************************** about **************************************/

main .about-topimg {
  position: relative;
}
main .about-topimg .abouttopimg-text01 {
  text-align: center;
  position: absolute;
  top: 15%;
  right: 3%;
}
main  .abouttopimg-text01 span {
  padding: 3px;
  background:rgba(0, 0, 0, 0) linear-gradient(transparent 20%, #fdeda5 0%) repeat scroll 0 0;
}
main .about-topimg a {
  color: #666;
  font-weight: 500;
  font-size: 18px;
}
main .about-topimg .about-tittle {
  background: url(../images/frame.png) no-repeat center center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
  display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	letter-spacing: 4px;
	font-size: 24px;
	font-weight: bold;
}
main .about-topimg .about-tittle span {
  font-size: 10px;
}
main .message .msg {
  width: 90%;
  margin: 0 auto;
  background-image: url(../images/scratch.png);
  background-repeat: repeat;
  padding: 5% 0;
  border: 3px double #ddd;
}
main .message p {
  margin:1% 0 1% 8%;
  display: inline-block;
  line-height: 1.7;
}
main .message p span {
  font-weight: bold;
  color:#828071;  
}
main .teacher-info {
  background-color: #e4dbd2;
  padding-bottom: 20%;
}
main .teacherinfo-box {
  position: relative;
  padding-bottom: 10%;
}
main .teacher-info img {
  position: absolute;
  top: 48%;
  left: 22%;
  z-index: 1;
  border-radius: 5px;
  /* border: 1px solid #75aaa6; */
}
main .teacherinfo-text {
  width: 380px;
  aspect-ratio: 5 / 3;
  position: absolute;
  top: 88%;
  left: 40%;
  background-color: rgba(218, 198, 174,0.8  );
  padding: 4% 3%;
}
main .teacherinfo-text ul {
  margin-left: 5%;
  /* border: 1px solid red; */
}
main .teacherinfo-text li:first-child {
  /* border: 1px solid blue; */
  font-size: 21px;
  font-weight: 500;
  border-left: 10px solid rgba(253, 253, 253, 0.5);
  padding-left: 5px;
}
main .teacherinfo-text li:last-child {
  padding-left: 3px;
}
main .teacherinfo-text p {
  margin-top: 8%;
  /* border: 1px solid red; */
}

main .room-info p {
  padding: 2% 0;
  width: 78%;
  margin: 0 auto;
}
main .swiper {
	width: 80%;
	margin: 0 auto;
}
main .swiper-wrapper {
  text-align: center;
}
:root {
  --swiper-navigation-color: #828071;
  --swiper-pagination-color: #ffffff;
  --swiper-pagination-bullet-size: 12px;
  --swiper-pagination-bullet-width: 12px;
  --swiper-pagination-bullet-height: 12px;
}



/*********************************************************************** voice **************************************/

main .about-topimg {
  position: relative;
}
main .about-topimg .abouttopimg-text01 {
  text-align: center;
  position: absolute;
  top: 15%;
  right: 3%;
}
main  .abouttopimg-text01 span {
  padding: 3px;
  background:rgba(0, 0, 0, 0) linear-gradient(transparent 20%, #fdeda5 0%) repeat scroll 0 0;
}
main .about-topimg a {
  color: #666;
  font-weight: 500;
  font-size: 18px;
}
main .about-topimg .about-tittle {
  background: url(../images/frame.png) no-repeat center center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
  display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	letter-spacing: 4px;
	font-size: 24px;
	font-weight: bold;
}
main .about-topimg .about-tittle span {
  font-size: 10px;
}
main .voice-student .voice {
  width: 90%;
  margin: 10px auto;
  background-image: url(../images/scratch.png);
  background-repeat: repeat;
  padding: 5% 0;
  border: 3px double #ddd;
}
main .voice-student p {
  margin:1% 2%;
  display: inline-block;
  line-height: 1.7;
}
main .voice-student p span {
  font-weight: bold;
  color:#828071;  
}
main .voice-parent {
  background-color: #e4dbd2;
}
main .voice-parent .voice {
  width: 90%;
  margin: 0 auto;
  background-image: url(../images/scratch.png);
  background-repeat: repeat;
  padding: 5% 0;
  border: 3px double #ddd;
}
main .voice-parent p {
  margin:1% 0 1% 8%;
  display: inline-block;
  line-height: 1.7;
}
main .voice-parent p span {
  font-weight: bold;
  color:#828071;  
}

/********************************************************************************************** lesson ***************/
main .other {
  background-color: #e4dbd2;
}
main .lesson-topimg {
  position: relative;
}
main .lessontopimg-text01 {
  text-align: center;
  position: absolute;
  top: 15%;
  right: 3%;
}
main  .lessontopimg-text01 span {
  padding: 3px;
  background:rgba(0, 0, 0, 0) linear-gradient(transparent 20%, #fdeda5 0%) repeat scroll 0 0;
}
main .lesson-topimg a {
  color: #666;
  font-weight: 500;
  font-size: 18px;
}
main .lesson-tittle {
  background: url(../images/frame.png) no-repeat center center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
  display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	letter-spacing: 4px;
	font-size: 24px;
	font-weight: bold;
}
main .lesson-tittle span {
  font-size: 10px;
}
main .basic {
  overflow: hidden;
}
main .basic h2 {
  font-size: 21px;
}
main .basic img {
  float: left;
  border-radius: 40%;
  margin: 1% 8% 0 4%;
  padding: 10px 10px;
  border: dashed 3px #E1DFD2;;
}
main .basic-box {
  padding: 4% 5% 0 0;
}
main .basic-box p {
  padding: 5px 0;
}
main .basic span {
  font-weight: bold;
}
main .other .inner {
  overflow: hidden;
}
main .other h2 {
  font-size: 21px;
}
main .other img {
  float: right;
  border-radius: 40%;
  margin: 1% 3% 0 4%;
  padding: 10px 10px;
  border: dashed 3px #f0efed;
}
main .other-box {
  padding: 4% 0 0 8%;
}
main .other-box p {
  padding: 5px 0;
}
main .other-box span {
  font-weight: bold;
}
main .resche {
  overflow: hidden;
}
main .resche h2 {
  font-size: 21px;
}
main .resche img {
  float: left;
  border-radius: 40%;
  margin: 1% 8% 0 4%;
  padding: 10px 10px;
  border: dashed 3px #E1DFD2;
}
main .resche-box {
  padding: 6% 5% 0 0;
}
main .resche-box p {
  padding: 5px 0;
}
main .resche span {
  font-weight: bold;
}

/************************************************************************************ contact ************************/
main .contactbox {
  background-color: #e4dbd2;
  border-radius: 30px;
}
main .contact-topimg {
  position: relative;
}
main .contact-topimg .contact-tittle {
  background: url(../images/frame02.png) no-repeat center center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
  display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	letter-spacing: 4px;
	font-size: 23px;
	font-weight: bold;
}
main .contact-tittle span {
  font-size: 10px;
}
main .contact {
  margin: 6%;
}
main form {
  padding: 20px 0 10px 50px;
}
main .contactbox p {
  font-size: 19px;
  padding: 5px 0;
  margin-left: 15px;
}
main .contactbox .plus {
  font-size: 17px;
  padding: 40px 0 30px 0;
}
main .contactbox label {
  font-size: 18px;
}
main .contactbox span {
  background: rgb(233, 105, 105);
  border-radius: 4px;
  color: #fff;
  font-size: 0.875rem;
  padding: 0 2px;
}
main .contactbox .plus2 {
  background-color: transparent;
  color: #828071;
  font-size: 16px;
}
main .contactbox .optional {
  background-color: #75aaa6;
}
main form .button {
  text-align: center;
  margin: 3% 10% 0 3%;
}
main form button {
  font-size: 20px;
  background-color: rgb(221,222,224);
  padding: 18px 23px;
}
main .hosoku p {
  font-size: 18px;
  text-align: center;
}

/* ************************************************** responsive *****************************************************************************************************/

@media screen and (min-width: 1920px){
  footer .info {
    margin-left: 23%;
  }
  footer .info-box02 .link02 {
    right: 27%;
  }
}
@media screen and ( max-width:1919px){
  footer .info {
    margin-left: 23%;
  }
  footer .info-box02 .link02 {
    right: 25%;
  }
}
@media screen and (max-width: 1770px){
  footer .info {
    margin-left: 15%;
  }
  footer .info-box01 {
    margin-left: 6%;
  }
  footer .info-box02 .link02 {
    right: 18%;
  }
}
@media screen and (max-width: 1540px){
  footer .info-box01 {
    margin-left: 3%;
  }
} 
@media screen and (max-width: 1500px){
  footer .info-box01 {
    margin-left: 1%;
  }
}
@media screen and (max-width: 1370px){
  footer .info-box01 {
    margin-left: -2%;
  }
}
@media screen and (max-width: 1350px){
  footer .info {
    margin-left: 10%;
  }
  footer .info-box01 {
    margin-left: 3%;
  }
  footer .info-box02 .link02 {
    right: 14%;
  }
/************************************************************************************************ index ********/
  main .topimg .topimg-text02 {
    font-size: 35px;
  }
  main .topimg .topimg-text03 {
    font-size: 35px;
  }
}
@media screen and (max-width: 1300px){
  footer .info-box01 {
    margin-left: 2%;
  }
}
@media screen and (max-width: 1240px){
  footer .info-box01 {
    margin-left: 1%;
  }
}
@media screen and (max-width: 1200px){
  footer .info-box01 {
    margin-left: 0;
  }
  footer .info-box02 .link02 {
    right: 12%;
  }
}
@media screen and (max-width: 640px){
  header .link01 a{
  font-size: 20px;
  }
  h2 {
    font-size: 25px;
  }
  .slick img {
    height: 50vw;
  }
  main .lessonimg li p {
    font-size: 18px;
    font-weight: 600;
  }
}
/*********************************************************************************************** designchange **/
@media screen and (max-width: 519px){
  #wrapper {
    min-width: auto;
  }
  header {
    padding-top: 1% 0 0 0 ;
  }
  h1 {
    width: 60%;
    margin-left: 3%;
  }
  header ul.pc {
    display: none;
  }
  header .link02 {
    display: none;
  }
  header ul.sp {
    gap: 25px 0;
  }
  /*ハンバーガーメニュー*/
  :root {
    --hamburger-menu-padding: 13px;
    --hamburger-menu-border-px: 4px; /* 線の太さ */
  }
  .hamburger-menu {
    display: inline-block;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
    width: 60px;
    height: 50px;
  }
  .hamburger-menu-line {
    position: absolute;
    transition: 0.3s; /* アニメーション秒数 */
    width: calc(100% - var(--hamburger-menu-padding) * 2);
    height: var(--hamburger-menu-border-px);
    background-color:rgba(255,255,255,0.95); /* 線の色 */
  }
  .line-top {
    top: var(--hamburger-menu-padding);
    left: var(--hamburger-menu-padding);
  }
  .line-middle {
    top: calc(50% - var(--hamburger-menu-border-px)/2);
    left: var(--hamburger-menu-padding);
  }
  .line-bottom {
    bottom: var(--hamburger-menu-padding);
    left: var(--hamburger-menu-padding);
  }
  .hamburger-menu-active > .line-top {
    top: calc(50% - var(--hamburger-menu-border-px)/2);
    transform: rotate(45deg);
  }
  .hamburger-menu-active > .line-middle {
    width: 0;
    height: 0;
    left: var(--hamburger-menu-padding);
  }
  .hamburger-menu-active > .line-bottom {
    top: calc(50% - var(--hamburger-menu-border-px)/2);
    transform: rotate(-45deg);
  }
/* メディアクエリのスタイルに書く内容　ここまで */
  footer .info {
    padding: 2% 0;
    margin: 0 0 0 0;
    align-items: center;
    gap: 0 0;
  }
  footer .info .logobox {
    width: 35%;
  }
  footer .info img {
    padding-right: 0;
    margin: 0 0 0 0;
  }
  footer .info-box01 {
    width: 65%;
    font-size: 14px;
    margin: 0 0 0 0;
    padding-right: 7%;
  }
  footer .info-box01 dd span {
    font-size: 16px;
  }
  footer .info-box01 p {
    font-size: 17px;
    text-align: left;
  }
  footer .info-box02 .link02 {
    font-size: 14px;
    padding: 1% 2%;
    bottom: auto;
    top: 0%;
    right: 0%;
  }
  footer .link03 {
    gap: 5px;
  }
  footer .link03 a {
    font-size: 14px;
  }
  footer .home i {
    font-size: 16px;
  }
  footer .insta i {
    font-size: 18px;
    margin: 3px 0 0 5px;
  }
  footer .link03 li:not(:last-child)::after {
    margin-left: 5px;
  }
  footer small {
    font-size: 10px;
  }
  h2 {
    font-size: 18px;
  }
  .ptop {
    border-radius: 50%;
    font-weight: bold;
    width: 80px;
    padding-top: 15px;
    height: 80px;
  }
  .ptop a {
    font-size: 30px;
  }
/************************ index(519) ***********************************************/
/*
 main .topimg {
  width: 100vh;
  aspect-ratio: 12 /5;
} */
main .topimg .topimg-text01 {
    font-size: 14px;
    padding: 25px;
    top: 6%;
    right: 1%;
  }
  main .topimg .topimg-text02 {
    font-size: 18px;
    bottom: 40%;
  }
  main .topimg .topimg-text03 {
    font-size: 18px;
    bottom: 25%;
  }
  main .aboutimg-box figure {
    text-align: center;
  }
  main .aboutimg-student {
    float: none;
    width: 74%;
    margin: 0 0;
  }
  main .aboutimg-text01 { 
    font-size: 15px;
    padding: 3% 8%;
  }
  main .aboutimg-box span {
    margin: 10px 0;
  } 
  main .aboutimg-text02 {
    display: block;
    margin: 2% 0;
    text-align: center;
  }
  main .lessonimg ul {
    display: block;
    text-align: center;
  }
  main .lessonimg li img {
    margin: 0 auto;
  }
  main .lessonimg li p {
    font-size: 16px;
    padding: 30px;
  }
  main .map {
    aspect-ratio: 1 / 1;
    width: 80%;
    margin: 0 auto;
  }
  main .access {
    font-size: 15px;
  }
  main .access .address2 {
  text-align: left;
  margin-left: 8%;
  width: 84%;
  }
  main .blogimg  h2{
    margin-bottom: 15px;
  }
  main .blogimg dl {
    width: 90%;
    margin: 0 auto;
  }
  main .blogimg dt {
    width: 30%;
  }
  main .blogimg dd {
    width: 70%;
    font-size: 15px;
  }

/* ****************************************access*********************************/

/************************ about(519) ***********************************************/
  main .about-topimg .abouttopimg-text01 {
  padding: 3px 10px;
  border-radius: 20px;
  top: 8%;
  right: 2%;
  }
  main .abouttopimg-text01 a {
    font-size: 14px;
  }
  main .about-topimg .about-tittle {
    font-size: 19px;
    background-size: 33%;
    letter-spacing: 2px;
  }
  /* main .about-topimg .about-tittle span {
    font-size: 4px;
  } */
  main .message {
    padding-bottom: 10%;
  }
  main .message h2 {
  font-size: 16px;
  }
  main .message .msg {
    font-size: 15px;
  }
  main .message p {
    margin:2% 8% 2% 8%;
    line-height: 1.5;
  }
  main .teacher-info {
    padding-bottom: 55%;
  }
  main .teacher-info img {
    position: absolute;
    top: 65%;
    left: 12%;
    width: 30%;
  }
  main .teacherinfo-text {
    width: 50%;
    top: 120%;
    left: 38%;
    padding: 4% 4%;
  }
  main .teacherinfo-text li:first-child {
    font-size: 18px;
    padding-left: 5px;
  }
  main .teacherinfo-text li:last-child {
    font-size: 15px;
  }
  main .teacherinfo-text p {
    margin-top: 5%;
    font-size: 15px;
  }
  main .room-info p {
    font-size: 15px;
  }
/*************************************************************************************************lesson(519) *******/
  /* main .topimg {
    width: 100vh;
    aspect-ratio: 12 /5;
  } */
  main .lessontopimg-text01 {
  padding: 3px 10px;
  border-radius: 20px;
  top: 8%;
  right: 2%;
  }
  main .lesson-topimg  a {
    font-size: 14px;
  }
  main .lesson-tittle {
    font-size: 19px;
    background-size: 33%;
    letter-spacing: 2px;
  }
  /* main .lesson-tittle span {
    font-size: 4px;
  } */
  main .basic h2 {
    font-size: 18px;
  }
  main .basic figure {
    text-align: center;
  }
  main .basic img {
    float: none;
    width: 70%;
    margin: 0 0;
  }
  main .basic-box {
    padding: 3% 10%;
  }
  main .basic-box p {
    margin: 10px 0;
    padding: 0 0;
    font-size: 15px;
  }
  main .other h2 {
    font-size: 18px;
  }
  main .other figure {
    text-align: center;
  }
  main .other img {
    float: none;
    width: 70%;
    margin: 0 0;
  }
  main .other-box {
    padding: 3% 10%;
  }
  main .other-box p {
    margin: 10px 0;
    padding: 0 0;
    font-size: 15px;
  }
  main .resche h2 {
    font-size: 18px;
  }
  main .resche figure {
    text-align: center;
  }
  main .resche img {
    float: none;
    width: 70%;
    margin: 0 0;
  }
  main .resche-box {
    padding: 3% 10%;
  }
  main .resche-box p {
    margin: 10px 0;
    padding: 0 0;
    font-size: 15px;
  }
/***********************************************************************************************contact(519) *******/
  main .contact-topimg .contact-tittle {
    font-size: 18px;
    background-size: 73%;
    letter-spacing: 2px;
  }
  /* main .contact-topimg .contact-tittle span {
    font-size: 4px;
  } */
  main .contact {
    margin: 6%;
  }
  main form {
    padding: 0 0 0 0;
  }
  main .contactbox {
    border-radius: 20px;
  }
  main .contactbox p {
    font-size: 16px;
    padding: 2px 0;
    margin: 0 30px;
  }
  main .contactbox .plus {
    font-size: 14px;
    padding: 20px 0 5px 0;
  }
  main .contactbox label {
    font-size: 15px;
  }
  main .contactbox span {
    font-size: 12px;
  }
  main .contactbox .plus2 {
    font-size: 14px;
  }
  main form .button {
    margin: 3% 0;
  }
  main form button {
    font-size: 15px;
    padding: 10px 15px;
  }
  main .hosoku p {
    font-size: 15px;
  }
}

@media screen and (max-width: 465px){
/**************************************************************************************************about(465) *******/
  main .about-topimg .abouttopimg-text01 {
  padding: 2px 8px;
  top: 8%;
  right: 1%;
  }
  main .abouttopimg-text01 a {
    font-size: 12px;
  }
  main .about-topimg .about-tittle {
    font-size: 16px;
    background-size: 28%;
  }
  /* main .about-topimg .about-tittle span {
    font-size: 4px;
  } */
  main .message h2 {
  font-size: 15px;
  }
  main .message .msg {
    font-size: 14px;
  }
  main .teacher-info h2 {
    font-size: 17px;
    }
  main .teacher-info {
    padding-bottom: 58%;
  }
  main .teacherinfo-text {
    width: 50%;
    top: 110%;
    left: 38%;
  }
  main .teacherinfo-text li:first-child {
    font-size: 17px;
  }
  main .teacherinfo-text li:last-child {
    font-size: 14px;
  }
  main .teacherinfo-text p {
    font-size: 14px;
  }
  main .room-info h2 {
    font-size: 17px;
    }
  main .room-info p {
    font-size: 14px;
  }
  /***********************************************************************************************lesson(465) *******/
  main .lessontopimg-text01 {
    padding: 2px 8px;
    top: 8%;
    right: 1%;
  }
  main .lesson-topimg a {
      font-size: 12px;
  }
  main .lesson-tittle {
    font-size: 16px;
    background-size: 30%;
  }
  /* main .lesson-tittle span {
      font-size: 4px;
  } */
  main .basic h2 {
    font-size: 17px;
  }
  main .basic img {
    width: 65%;
  }
  main .basic-box p {
    font-size: 14px;
  }
  main .other h2 {
    font-size: 17px;
  }
  main .other img {
    width: 65%;
  }
  main .other-box p {
    font-size: 14px;
  }
  main .resche h2 {
    font-size: 17px;
  }
  main .resche img {
    width: 65%;
  }
  main .resche-box p {
    font-size: 14px;
  }
/***********************************************************************************************contact(465) *******/
  main .contact-topimg .contact-tittle {
    font-size: 14px;
    background-size: 73%;
  }
  /* main .contact-topimg .contact-tittle span {
    font-size: 4px;
  } */
  main .contact {
    margin: 7%;
  }
  main .contact h2 {
    font-size: 17px;
  }
  main .contactbox {
    border-radius: 15px;
  }
  main .contactbox p {
    font-size: 15px;
  }
  main .contactbox label {
    font-size: 14px;
  }
  main .contactbox span {
    font-size: 10px;
  }
  main .contactbox .plus2 {
    font-size: 13px;
  }
  main form button {
    font-size: 14px;
    padding: 8px 13px;
  }
}
@media screen and (max-width: 420px){
  footer .info {
    padding: 3% 0;
  }
  footer .info-box01 {
    font-size: 12px;
  }
  footer .info-box01 dd span {
    font-size: 14px;
  }
  footer .info-box02 .link02 {
    font-size: 12px;
  }
  footer .link03 a {
    font-size: 12px;
  }
  footer .link03 i {
    font-size: 15px;
  }
  h2 {
    font-size: 17px;
  }
  /* .ptop {
    padding: 2% 1.5%;
    border-radius: 50%;
    font-weight: bold;
  }
  .ptop a {
    font-size: 30px;
  } */
  /********************** index *******************************************/
  main .topimg .topimg-text01 {
    font-size: 10px;
    padding: 20px;
  }
  main .topimg .topimg-text02 {
    font-size: 17px;
    padding: 0 5px;
  }
  main .topimg .topimg-text03 {
    font-size: 17px;
    padding: 0 3px;
  }
  main .aboutimg-text01 { 
    font-size: 14px;
  }
  main .aboutimg-text02 a {
    font-size: 15px;
  }
  main .lessonimg li img {
    width: 85%;
  }
  main .lessonimg li {
    /* border: 1px solid red; */
    margin: 10px 0;
  }
  main .blogimg dd {
    width: 70%;
    font-size: 14px;
  }
/************************************************************************************************** about ******/
main .teacher-info {
  padding-bottom: 65%;
  }
  main .teacherinfo-text li:last-child {
    font-size: 13px;
  }
}

@media screen and (max-width: 375px){
  header {
    padding: 0 ;
  }
  h1 {
    width: 55%;
    margin-left: 3%;
  }
  :root {
    --hamburger-menu-border-px: 3px; /* 線の太さ */
  }
  footer .info-box01 {
    font-size: 12px;
    margin: 0 0;
  }
  footer .info-box01 p {
    font-size: 15px;
  }
  footer .info-box02 .link02 {
    font-size: 12px;
  }
  footer .link03 {
    gap: 3px;
  }
  footer .link03 a {
    font-size: 10px;
  }
  footer .link03 li:not(:last-child)::after {
    margin-left: 3px;
  }
  footer small {
    font-size: 9px;
  }
  .ptop {
    width: 50px;
    padding-top: 10px;
    height: 50px;
    font-size: 10px;
    text-align: center;
  }
  .ptop a {
    font-size: 20px;
  }
  .ptop span {
    display: none;
  }
  
  h2 {
    font-size: 16px;
  }
  h2 span {
    display: none;
  }
  header ul.sp a {
    font-size: 13px;
  }
  /********************** index *******************************************/
  main .topimg .topimg-text02 {
    font-size: 16px;
  }
  main .topimg .topimg-text03 {
    font-size: 16px;
  }
  main .aboutimg-student {
    width: 70%;
  }
  main .aboutimg-text01 { 
    font-size: 14px;
  }
  main .aboutimg-text02 a {
    font-size: 14px;
  }
  main .lessonimg li p {
    font-size: 14px;
}
  main .lessonimg li img {
    width: 80%;
  }
/********************** about *******************************************/
  main .about-topimg .abouttopimg-text01 {
  padding: 0 5px;
  }
  main .about-topimg .abouttopimg-text01 a {
    font-size: 11px;
  }
  main .about-topimg .about-tittle {
    font-size: 16px;
    background-size: 32%;
  }
  main .about-topimg .about-tittle span {
    /* font-size: 4px; */
    display: none;
  }
  main .message p {
    margin:1% 5% 1% 5%;
  }
  main .teacher-info {
    padding-bottom: 68%;
  }
  main .teacherinfo-text {
    top: 95%;
    padding: 3% 4%;
  }
  main .teacherinfo-text p {
    margin-top: 5%;
    font-size: 12px;
  }
  main .room-info p {
    padding: 1% 0 5% 0;
  }
/********************** lesson *******************************************/
  main .lessontopimg-text01 {
  padding: 0 5px;
  }
  main .lesson-topimg a {
    font-size: 11px;
  }
  main .lesson-tittle {
    font-size: 15px;
    background-size: 35%;
  }
  main .lesson-tittle span {
    /* font-size: 4px; */
    display: none;
  }
/********************** contact(375) *******************************************/
  main .contact-topimg .contact-tittle {
    font-size: 13px;
    letter-spacing: 0;
    background-size: 73%;
  }
  main .contact-tittle span {
    /* font-size: 4px; */
    display: none;
  }
  main .contact h2 {
    font-size: 15px;;
  }
  main .contactbox p {
    font-size: 14px;
  }
  main .contactbox .plus {
    font-size: 13px;
    padding: 17px 0 5px 0;
  }
  main .contactbox label {
    font-size: 13px;
  }
  main .contactbox span {
    font-size: 8px;
  }
  main .contactbox .plus2 {
    font-size: 12px;
  }
  main form .button {
    margin: 2% 0;
  }
  main form button {
    font-size: 12px;
    padding: 7px 11px;
  }
  main .hosoku p {
    font-size: 14px;
  }
}
@media screen and (max-width: 355px){
  main .about-topimg .abouttopimg-text01 {
  padding: 0 2;
  border-radius: 5;
  top: 75%;
  font-size: 10px;
  }
  main .about-topimg  a {
    color: #828071;
    font-weight: normal;
  }
  main .lessontopimg-text01 {
    padding: 0 2;
    border-radius: 5;
    top: 75%;
    font-size: 10px;
  }
  main .lesson-topimg  a {
    color: #828071;
    font-weight: normal;
  }
}