@charset "UTF-8";
/* 基本 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* border: red solid 1px; */
}
body{
    margin:0;
    color: #222;
    font-family: 'Montserrat','Noto Serif JP',sans-serif;
}
a{
    text-decoration: none;
    color: inherit;
    padding: 2px;
}
a:hover{
    filter: brightness(90%) contrast(120%);
    background: #9e9e9e80;
    color: white;
    
}
h1,h2,h3,h4,h5,h6,p{
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 2em;
    font-weight: 300;
}
h4{
    color: #8cab80;
    font-weight: bold;
}
p{
    line-height: 1.8;
}
img{
    max-width: 100%;
    height: auto;
}
li{
    list-style: none;
}
.space{
    height: 80px;
}
/* teacher.html li */
@media(max-width:767px){
    .card-list-column-teacher{
        margin-top:16%;
    }
}

/* teacher.html end*/


/* school.html */
.recommend-container{
    margin: 2em 0;
}
/* school.html end */

.wrapper{
    margin-bottom: 5em;
}
.circle {
    width: 100px;
    height: 100px;
    color: #222;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #222; 
    border-radius: 50%;
    clip-path: inset(0 0 10% 0); 
    font-family: 'Noto Serif JP',sans-serif;
}
.underline-animation {
    position: relative;
    display: inline-block;
    margin-bottom: 1em;
}
.btn-flat-border {
    text-decoration: none;
    color: #67c5ff;
    border: solid 2px #67c5ff55;
    border-radius: 5px;
    transition: .4s;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    
    margin-top: auto;
    padding: .9em 2em;
    background-color: #fff;
    font-size: 1em;
}
.btn-flat-border:hover {
    background: #67c5ff;
    color: white;
}
html {
    scroll-behavior: smooth;
}
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #ffffff8a;
    border: solid 1px #686868;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #222;
    border-right: 3px solid #222;
    transform: translateY(20%) rotate(-45deg);
}

/* 下線 */
.underline-animation::after {
    content: '';
    position: absolute;
    left: -50vw;
    bottom: -5px;
    width: 100vw;
    height: 1px;
    background-color: #222;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s ease-out;
    z-index: -1;
}
@media(max-width:767px){
    .underline-animation::after {
        left: -30vw;
        width: 100vw;
    }
}
/* アニメーション発火で線が伸びる */
.underline-animation.animate::after {
    transform: scaleX(1);
}

/* 横幅と左右の余白 */
.w-container{
    width: min(85%,1166px);
    margin: auto;
}

/* 各ページの背景色 */
.index {
    background-image: linear-gradient(#f0ca3e, #ffffff 50%, #b4dac1);
}
.school{
    background-image: linear-gradient(#a3d6d2, #ffffff 50%, #b4dac1);
}
.tono{
    background-image: linear-gradient(#8cab80, #ffffff 50%, #b4dac1);
}
.special{
    background-image: linear-gradient(#f78f66, #ffffff 50%, #b4dac1);
}

/* ヘッダー */
.header{
    height: 80px;
}
.header-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.site-title a{
    font-size: xx-large;
}
.site-title-p{
    font-size: small;
    display: flex;
    align-items: flex-end;
    padding-left: 10px;
}
@media(min-width:768px){
    .site-title-row{
        display: flex;
        flex-direction: row;
    }
}
/* ナビゲーションボタン */
.navbtn{
    padding: 0;
    outline: none;
    border: none;
    background: transparent;
    color: #aaa;
    cursor: pointer;
    font-size: 30px;
}
.open .navbtn{
    z-index: 110;
    color: #fff;
}
.navbtn .fa-bars{
    display: revert;
}
.open .navbtn .fa-bars{
    display: none;
}
.navbtn .fa-times{
    display: none;
}
.open .navbtn .fa-times{
    display: revert;
}
@media(min-width:768px){
    .navbtn{
        display: none;
    }
}
/* ナビゲーションメニューモバイル */
@media(max-width:767px){
    .nav{
        position: fixed;
        inset: 0 -100% 0 100%;
        z-index: 100;
        background-color: #4e483ae6;
        transition: transform 0.3s;
    }
    .open .nav{
        transform: translate(-100%,0);
    }
    .open body{
        overflow: hidden;
    }
    .nav ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 40px;
        color: #fff;
    }
}

/* ナビゲーションメニュー：PC */
@media(min-width:768px){
    .nav ul{
        display: flex;
        gap: 30px;
        color: #707070;
    }
    .nav li{
        display: flex;
        justify-content: center;
    }
}

/* ヒーロー */
/* .hero{
    background-image: url(img/);
    background-position: ;
    background-size: cover;
} */
.hero-container{
    display: grid;
    justify-items: center;
    align-items: center;
    height: 100%;
}
.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
}
.youtube iframe {
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: block;
}
.hero h1{
    margin-bottom: 42px;
    font-size: clamp(48px,5vw,68px);
    min-height: 0vw;
    font-weight: 200;
    line-height: 1.3;
    text-align: center;
}
.hero p{
    margin-bottom: 72px;
    font-weight: 200;
}

/* テキスト */
.text-container h1{
    margin-top: 10px;
    margin-bottom: 10px;
}
.text-container h2{
    /* margin-left: 1em; */
    margin-bottom: 10px;
    font-weight: bold;
}
.kappa{
    display: grid;
    justify-items: center;
}

/* カード */
.card{

}
.card-item {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    
}
.card-list-index{
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 10px;
}
.card-content{
    text-align: left;
}

.card-list {
    overflow: hidden;
    text-align: center;
    margin-bottom: 12px;
}
.card-list p{
    text-align: left;
}
.card-list h2{
    margin: 2em;
}
.card-name{
    text-align: center;
    font-weight: 500;
}

@media (min-width: 768px) {
    .card{
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .card-name{
        text-align: left;
    }
    .card-name-special{
        text-align: left;
        font-weight: bold;
    }
    .card-item-index{
        flex-direction: row;
        justify-content: space-between;
    }
    .card-list-index{
        display: flex;
        flex-direction: column;
        /* justify-content: center; */
    }
}
.card-list-column{
    display: flex;
}
.card-list-column-tono{
    display: flex;
    flex-direction: column;
}
.card-list-column-tono div{
    margin-top: 16px;
}
.card-btn {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}
.card-img{
    display: flex;
    justify-content: center;
    /* flex-basis: 300px; */
    align-items: center;
    
}
.card-img img{
    height: auto;
    justify-content: center;
}
.card-img-circle img{
    height: 200px;
    justify-content: center;
    align-items: center;
}
.card-title{
    margin: 10px 0;
    text-align: left;
}
.card-img-special img {
  width: 200px;            /* 任意のサイズ */
  height: 200px;           /* 縦横同じにする */
  border-radius: 50%;      /* 丸くする */
  border: 8px solid #8cab80;  /* 枠線の太さと色 */
  object-fit: cover;       /* 画像のトリミング */
}
/* special.html */
/* special.html end */

/* PC向けスタイル（768px以上） */
@media (min-width: 768px) {
    .card-item-column {
        flex-direction: column;
        justify-content: start;
    }
    .card-list-column {
        flex-direction: column;
        align-items: start;
    }
    .card-list-column>div{
        width: 100%;
    }
    .card-img {
        width: 300px;
        height: 200px;
    }
    .card-item-special-ul{
        display: flex;
        flex-direction: row;
    }
    .card-item-special{
        display: flex;
        flex-wrap: wrap;
    }
    .card-list-special{
        width: 50%;
        padding: 2em;
    }
}

/* カード講師紹介設定 */
.card-list-column-teacher{
    display: flex;
    gap: 16px;
    align-items: center;
    flex-direction: column;
}
.card-img-teacher{
    width: 60%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.card-img-teacher img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.balloon2-left div{
    display: flex;
    justify-content: center;
}
@media (min-width: 768px) {
    .card-item-column {
        flex-direction: row;
        justify-content: space-between;
    }
    .card-list-column-teacher {
        flex-direction: row;
        align-items: center;
    }

    .card-img-teacher {
        width: 200px;
        height: 200px;
    }
    .card-item-column-teacher {
    flex-direction: column;
    justify-content: space-between;
    }

    /* フキダシの設定 */
    .balloon2-left {
        position: relative;
        display: inline-block;
        margin: 1.5em 0 1.5em 15px;
        padding: 7px 20px;
        min-width: 120px;
        max-width: 100%;
        color: #222;
        font-size: 16px;
        background: #FFF;
        border: solid 1px #fff;
        box-sizing: border-box;
        border-radius: 15px;
        align-items: start;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .balloon2-left:before {
        content: "";
        position: absolute;
        top: 50%;
        left: -25px;
        margin-top: -12px;
        border: 12px solid transparent;
        border-right: 12px solid #FFF;
        z-index: 2;
    }
    .balloon2-left p {
        margin: 0;
        padding: 0;
    }
}
/* カード講師紹介ここまで */

.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: auto;
}
.carousel__container {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}
.carousel__slide {
    flex: 0 0 100%;
    padding: 10px;
    box-sizing: border-box;
}
.card {
    background: ;
    padding: 20px;
    text-align: center;
    border: 1px solid #fff;
    border-radius: 15px;
}
.card-img img {
    max-width: 100%;
}
.carousel__button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.1);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
}
.carousel__button.prev {
    left: 10px;
}
.carousel__button.next {
    right: 10px;
}
.carousel__indicators {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 4em;
}
.carousel__indicators button {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    margin: 5px;
    border: none;
    cursor: pointer;
}
.carousel__indicators button.active {
    background: #333;
}
/* 3枚表示対応 (PC用) */
@media (min-width: 768px) {
    .carousel__slide {
        flex: 0 0 33.3333%;
    }
}
.heading-14 {
    display: inline-block;
    position: relative;
    padding: .5em 1.4em .5em 1em;
    background-color: #a9ceec;
    color: #333333;
}
.heading-14::before {
    position: absolute;
    bottom: -1px;
    right: 9px;
    z-index: -1;
    transform: rotate(5deg);
    width: 70%;
    height: 50%;
    background-color: #d0d0d0;
    content: "";
    filter: blur(4px);
}
/* アクセス */
.access-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

/* モバイル（767px以下）で縦並び */
@media (max-width: 767px) {
    .access-container {
        flex-direction: column;
    }
    .access-container > div {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 767px) {
    .map {
        position: relative;
        padding-bottom: 56.25%; /* アスペクト比16:9 */
        height: 0;
        overflow: hidden;
        max-width: 100%;
    }
    .map iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
}
.kikakuhuukei img{
    width: 200px;
    height: auto;
}
.brandlogo{
    display: flex;
    flex-direction: column;
    
}
.brandlogo img{
    width: auto;
    height: 40px;
    
}
.brandlogo div{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 10px 0;
}
.brandlogo p{
    padding-left: 10px;
}
.card-list > .link{
    display: flex;
    justify-content: start
}
/* フッター */
.footer{
    margin-top: 8em;
}
.footer-container{
    text-align: center;
}
.footer-site{
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 3em;
}
.footer-site a{
    display: flex;
    align-items: center;
    font-size: 80px;
}
.footer-img{
    transform: scale(-1, 1);
}
.footer-sns li{
    margin-bottom: 2em;
}
.sr-only{
    
}
.footer-menu li{
    margin-bottom: 2em;
    display: flex;
    justify-content: center;
}
.footer-copy{
    margin-bottom: 5em;
    display: flex;
    justify-content: center;
}

/* 河童の画像サイズ */
.kappa-img{
    width: 125px;
    height: 126px;
}
/* 河童 */
.kappa{
    margin-top: 5em;
    margin-bottom: 2em;
}