@charset "utf-8";
/* レイアウトのためのCSS */
body{
    overflow-x: hidden;
    background:#f5f7fa; /* 明るい黄色から柔らかいオフホワイトに変更 */
    font-family: 'Noto Sans JP', 'Kosugi Maru', sans-serif;
    color: #333;
    font-size:1rem;
    line-height:1.85;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%; 
    word-wrap: break-word;
    letter-spacing: 0.05em; /* 少し読みやすく調整 */
}

body.appear{
    background:#f5f7fa;
}

ul{
    margin:0;
    padding: 0;
    list-style: none;
}

a{
    color: #333;
    text-decoration: none;
    outline: none;
    transition: all 0.3s ease; /* リンクのホバー効果をスムーズに */
}

a:hover {
    color: #1A3A7D; /* ホバー時の色を濃い青に */
}

img{
    width:100%;
    height: auto;
}

*{
    box-sizing: border-box
}

/* font-family */
.header-utility li:last-child a,
.school-info li dl,
.header-area dl,
#news article time,
#page-top span,
h2 span{
    font-family: 'Lato', sans-serif;
}

/* area */
.inner{
    width:100%;
    margin:0 auto;
    padding:70px;
}

@media screen and (max-width:940px) {
.inner{
    padding:70px 30px;
}
}

/* heading */
h2{
    text-align: center;
    margin: 0 0 50px 0;
    font-size: 1.1vw;
    line-height: 1.5;
    font-weight: 700;
    color: #333;
}

h2 span{
    font-size: 3.5vw;
    text-transform: uppercase;
    display: block;
    color: #1A3A7D; /* 濃い青に変更 */
    margin-bottom: 8px;
}

@media screen and (max-width:1130px) {
h2{
    font-size: 0.9rem;
}

h2 span{
    font-size: 2.5rem;
}
}

@media screen and (max-width:768px) {
h2{
    font-size: 0.8rem;
}

h2 span{
    font-size: 2rem;
}
}

/* header */
#header{
    height: 100vh;
    position: relative;
    background: rgba(255, 255, 255, 0.9); /* 背景に少し透明感 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* 薄いシャドウを追加 */
}

#header h1 img,
#header h1 canvas{
    width:100px;
    position: relative;
    left:1.8em;
}

#header h1{
    font-size: 2.7vw;
    color:#555; /* より暗いグレーに調整 */
    line-height: 1.5;
    margin: 0 0 50px 0;
    letter-spacing: 0.1em;
}

#header h1 span{
    color: #1A3A7D; /* 濃い青に変更 */
    display: block;
}

.header-area{
    position: relative;
    z-index:2;
    top:30px;
    left:50px;
    animation-delay: .5s;
}

@media screen and (max-width:1200px) {
#header h1 img,
#header h1 canvas{
    width:80px;
}
    
#header h1{
    font-size:2rem;
    }    
}

@media screen and (max-width:940px) {
#header{
    height: 90vh;
}
    
.header-area{
    top:0;
    left:0;
}
#header h1{
    text-align: center;
    width: 150px;
    background: #f5f7fa;
    border-radius: 0 0 10px 10px;
    padding: 10px 0 10px 0;
    margin: 0 auto;
    font-size: 1.3rem;
    border-bottom: 7px solid #1A3A7D;
}

#header h1 img,
#header h1 canvas{
    width:60px;
    left:inherit;
    }
}

@media screen and (max-width:450px) {
#header h1 {
    width: 138px;
    font-size: 1.2rem;
}
  
#header h1 img {
    width: 46px;
}    
}

.header-area .lead{
    position: relative;
    font-size: 2vw;
    margin: 0 0 50px 0;
    font-weight: bold;
}

@media screen and (max-width:1130px) {
.header-area .lead{
    font-size: 1.5em;
}    
}

@media screen and (max-width:940px) {
.header-area .lead{
    font-size: 1.3em;
    padding: 28vh 0 0 7vw;
}  
}

@media screen and (max-width:450px) {
.header-area .lead {
    font-size: 1.1em;
    padding: 32vh 0 0 7vw;
    }
}

.header-area .lead::after{
    content:'';
    position: absolute;
    top:0;
    left:-50px;
    width:10px;
    height: 100%;
    background: #1A3A7D; /* 濃い青に変更 */
}

@media screen and (max-width:940px) {
.header-area .lead::after{
    display: none;
    }
}

.header-area .bg-white{
    background:#f5f7fa;
    padding: 5px;
    border-radius: 4px; /* 角を少し丸く */
}

.header-area .border-yellow {
    background: linear-gradient(transparent 60%, #FFC107 60%); /* アクセント色を変更 */
}

.header-area .address{
    font-size: 1.2vw;
    margin: 0 0 20px 0;
}

.header-area dt,
.header-area dd{
    display: inline-block;
    font-size: 1.1vw;
}

@media screen and (max-width:1300px) {
.header-area .address{
    font-size: 1.2em;
    }
.header-area dt,
.header-area dd{
    font-size:1em;
    }
}

@media screen and (max-width:940px) {
.header-area .address,
.header-area dl{
    display: none;
}
}

.header-utility{
    position: absolute;
    z-index: 2;
    top:0;
    right:80px;
    background: #1A3A7D; /* 濃い青に変更 */
    font-weight: bold;
    display: flex;
    border-radius:0 0 10px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 薄いシャドウを追加 */
}

.header-utility li{
    position: relative;
}

.header-utility li:first-child::after{
    content: '';
    position: absolute;
    right: 0;
    top: 20px;
    background: #fff; /* 区切り線を白に */
    width: 1px;
    height: 30px;
    transform: rotate(23deg);
}

.header-utility li a{
    display: block;
    padding: 20px 20px 20px 50px;
    transition: all 0.3s;
    color: #fff; /* テキストを白に */
}

.header-utility li .pcnone{
    display: none;
}

.header-utility li a:hover{
    color: rgba(255, 255, 255, 0.8); /* ホバー時も白っぽく */
    background-color: rgba(255, 255, 255, 0.1); /* 背景を少し明るく */
}

.header-utility li:first-child a{
    background:url("../img/ico_book.svg") no-repeat 20px center;
    background-size:20px 20px;
}

@media screen and (max-width:940px) {
.header-utility{
    position: fixed;
    z-index: 3;
    top:inherit;
    right:inherit;
    bottom:0;
    width: 100%;
    border-radius: 0;
}
    
.header-utility li{
    width:50%;
    text-align: center;
    } 
.header-utility li a{
    padding: 15px 15px 15px 40px;
    }
.header-utility li:first-child a,
.header-utility li:last-child a{
    background-position:35px center;
}
}

@media screen and (max-width:560px) {
.header-utility li:first-child a,
.header-utility li:last-child a{
    background-position:20px center;
}
    
.header-utility li .spnone{
    display: none;
}

.header-utility li .pcnone{
    display: block;
}
}

.badge{
    position: absolute;
    z-index: 2;
    right:30px;
    bottom:70px;
    background:url(../img/badge.svg) no-repeat center;
    background-size: cover;
    width:180px;
    height: 180px;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-duration: 3s;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)); /* シャドウを追加 */
}

.badge-inner{
    position: absolute;
    z-index: 3;
    right:30px;
    bottom:70px;
    width:180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff; /* 黄色から白に変更 */
    font-weight: bold;
    transition: all .3s;
}

.badge-inner:hover{
    bottom:75px;
    color: #fff; /* ホバー時も白を維持 */
}

@media screen and (max-width:940px) {
    .badge,
   .badge-inner{
     width:145px;
     height: 145px;
    font-size:0.9rem;
    }
}

@media screen and (max-width:450px) {
.badge, .badge-inner {
    width: 118px;
    height: 118px;
    font-size: 0.7rem;
    bottom: 85px;
    right: 0;
}
    
.badge-inner:hover{
     bottom:90px;  
}
}

/* gnavi */
#g-nav ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: rgba(255, 255, 255, 0.95); /* 背景を白っぽく */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* シャドウを追加 */
    border-radius: 8px;
}

#g-nav.panelactive ul li{
    position: relative;
    width:30%;
    text-align: left;
    white-space: nowrap;
}

@media screen and (max-width:960px) {
#g-nav.panelactive ul li{
    width:48%;
    }
}

@media screen and (max-width:580px) {
#g-nav.panelactive ul li{
    width:100%;
    }
}

#g-nav li a{
    padding: 15px 20px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

#g-nav li a:hover {
    background-color: rgba(26, 58, 125, 0.1); /* ホバー時の背景色 */
    color: #1A3A7D; /* ホバー時のテキスト色 */
}

#g-nav.panelactive ul li::before{
    content:'';
    width:5px;
    height: 5px;
    background: #1A3A7D; /* 濃い青に変更 */
    position: absolute;
    left:-10px;
    top:43%;
    border-radius: 50%; /* マーカーを丸く */
}

/* slider */
.slider{
    position: absolute;
    top:30px;
    right:30px;
    width:80%;
    border:7px solid #1A3A7D; /* 濃い青に変更 */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); /* シャドウを追加 */
}

@media screen and (max-width:1130px) {
.slider{
    width:70%;
    }
}

@media screen and (max-width:940px) {
.slider{
    width: 94%;
    right: 2%;
}
}

.slider-item{
    border-radius:20px;
}

/* concept */
#concept{
    background: url("../img/flag_01.png") no-repeat left top,url("../img/flag_02.png") no-repeat right top;
    background-size:250px auto;
    padding: 40px 0; /* 余白を追加 */
}

@media screen and (max-width:1300px) {
#concept{
    background-size:200px auto;
}    
}

@media screen and (max-width:768px) {
#concept{
    background-size:150px auto;
}    
}

@media screen and (max-width:400px) {
#concept{
    background-size:130px auto;
}    
}

#concept h2 span{
    color: #1A3A7D; /* 濃い青に変更 */
}

#concept .concept-area{
    position: relative;
    padding: 80px 0;
}

#concept .concept-img{
    width:30%;
    margin: 0 auto;
    animation-delay: .4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* シャドウを追加 */
}

#concept .concept-area img{
    border-radius: 50%; 
}

#concept .concept-area ul{
    animation-delay: .5s;
}

#concept .concept-area ul li{
    position: absolute;
    font-size: 1.7vw;
    background-color: rgba(255, 255, 255, 0.9); /* 背景を少し白く */
    padding: 10px 15px; /* パディングを追加 */
    border-radius: 8px; /* 角を丸く */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); /* 薄いシャドウを追加 */
}

#concept .concept-area ul li::after{
    content:'';
    position: absolute;
    width:40px;
    height: 2px;
    bottom: -10px;
    right:10px;
    background: #1A3A7D; /* 濃い青に変更 */
}

#concept .concept-area ul li:nth-child(n+4)::after{
    left:10px;
}
    
#concept .concept-area ul li:nth-child(1){
    top: 12%;
    left: 17%;
    transform: rotate(15deg);
    animation-delay: .1s;
}

#concept .concept-area ul li:nth-child(2){
    top: 37%;
    left: 10%;
    transform: rotate(10deg);
    animation-delay: .3s;
}

#concept .concept-area ul li:nth-child(3){
    top: 65%;
    left: 12%;
    transform: rotate(-15deg);
    animation-delay: .5s;
}

#concept .concept-area ul li:nth-child(4){
    top: 12%;
    right: 17%;
    transform: rotate(-15deg);
    animation-delay: .7s;
}

#concept .concept-area ul li:nth-child(5){
    top: 34%;
    right: 10%;
    transform: rotate(-10deg);
    animation-delay: 1.1s;
}

#concept .concept-area ul li:nth-child(6){
    top: 61%;
    right: 12%;
    transform: rotate(15deg);
    animation-delay: 1.3s;
}

@media screen and (max-width:700px) {
#concept .concept-area{
    padding: 0;
}
    
    #concept .concept-img{
        width:50%;
        margin:0 auto 30px auto;
    }
    
#concept .concept-area ul li{
     position: relative;
    font-size: 1rem;
    top:inherit!important;
    left: inherit!important;
    right:inherit!important;
    transform: none!important;
    text-align: center;
    margin: 0 0 20px 0; /* マージンを増加 */
    padding: 15px; /* パディングを増加 */
}
    
#concept .concept-area ul li:after{
    display: none!important;
}
}

.concept-btn{
    text-align:center;
    padding: 50px 0 0 0;
}

/* news */
#news{
    position: relative;
    padding: 50px 0 100px 0;
    margin: 0 0 100px 0;
}

@media screen and (max-width:840px) {
#news{
    margin:0;
    padding: 50px 0;
    }
}

#news:after{
    position: absolute;
    z-index: -1;
    content:'';
    top:10px;
    left:-30%;
    width:150%;
    height: 680px;
    background: #1A3A7D; /* 濃い青に変更 */
    transform: rotate(-5deg);
}

#news .news-area{
    background:#fff;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* シャドウを調整 */
    width:70%;
    margin: 0 auto;
    border-radius:10px;
}

#news h2{
    color: #fff;    
}

#news li a{
    transition: all 0.3s;
}

#news li a:hover{
    color: #1A3A7D; /* 濃い青に変更 */
}

#news article{
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 20px 0;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #eee; /* 境界線を薄く */
}

#news article time{
    padding: 0 2em 0 0;
    color: #666;
    font-size: 0.8rem;
}

#news article h3{
    font-size: 1rem;
}

@media screen and (max-width:840px) {
#news .news-area{
    width:90%;
}
    
#news article time,
#news article h3{
    width:100%;
}    
}

#news .icon-01,
#news .icon-01 canvas{
    position: absolute;
    bottom:-50px;
    right:50px;
    width: 100px;
}

#news .icon-02,
#news .icon-02 canvas{
    position: absolute;
    top:-60px;
    right:88px;
    width:80px;
}

#news .icon-03,
#news .icon-03 canvas{
    position: absolute;
    bottom:-130px;
    left:80px;
    width: 200px;
}

#news .icon-04,
#news .icon-04 canvas{
    position: absolute;
    top:10px;
    left:50px;
    width: 100px;
}

@media screen and (max-width:700px) {
#news .icon-01,
#news .icon-01 canvas{
    width:80px;
    bottom: inherit;
    top: -623px;
}

#news .icon-02,
#news .icon-02 canvas{
    width:60px;
    right: 89px;
    top: -406px;
}
    
#news .icon-03,
#news .icon-03 canvas{
    width:180px;
    left:10px;
    bottom: inherit;
    top: -22px;
} 

#news .icon-04,
#news .icon-04 canvas{
    width:80px;
    top: -516px;
}
}

@media screen and (max-width:500px) {
 #news .icon-01,
#news .icon-01 canvas{
    width:60px;
    right: 10px;
}

#news .icon-02,
#news .icon-02 canvas{
    width:45px;
    right: 10px;
    top: -489px;
}
    
#news .icon-03,
#news .icon-03 canvas{
    width:140px;
    left: 0;
} 

#news .icon-04,
#news .icon-04 canvas{
    width: 60px;
    left: 10px;
    top: -516px;
}   
}

/* course */
#course{
    position:relative;
    margin: 0 0 100px 0;
    padding: 40px 0; /* 余白を追加 */
}

@media screen and (max-width:840px) {
#course{
    margin:0;
}
}

#course:after {
    position: absolute;
    z-index: -1;
    content: '';
    top: 280px;
    left: -30%;
    width: 150%;
    height: 400px;
    background: #f0f0f0; /* より柔らかい色に */
    transform: rotate(5deg);
}

.course-list{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.course-list section{
    width:28%;
    background: #fff;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* シャドウを調整 */
    margin:0 0 50px 0;
    padding:20px 20px 50px 20px;
    border-radius: 12px; /* 角をより丸く */
    transition: all 0.3s ease; /* ホバーエフェクトのための移行 */
}

.course-list section:hover {
    transform: translateY(-5px); /* ホバー時に少し浮き上がる */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); /* ホバー時にシャドウを強く */
}

.course-list section:nth-child(2){
     animation-delay: 0.2s;   
}
.course-list section:nth-child(3){
     animation-delay: 0.4s;   
}

@media screen and (max-width:840px) {
.course-list section{
    width:46%;
}
}

@media screen and (max-width:545px) {
.course-list section{
    width:100%;
}
.course-list section:nth-child(2),
.course-list section:nth-child(3){
     animation-delay: 0s;   
}
}

.course-list section .bg-yellow{
    background: #FFC107; /* 黄色を変更 */
    display: inline-block;
    position: absolute;
    left: -5px;
    top: -5px;
    z-index: 2;
    padding: 6px 12px; /* パディングを増加 */
    font-size:0.9rem;
    border-radius: 6px; /* 角を丸く */
    color: #333; /* テキスト色を調整 */
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 薄いシャドウを追加 */
}

.course-list section .course-img{
    padding-top:70%;
    background-size:cover!important;
    border-radius: 8px; /* 画像の角を丸く */
    margin-bottom: 20px; /* 下に余白を追加 */
}

.course-list section:nth-of-type(1) .course-img{
    background:url("../img/course_01.jpg") no-repeat center;
    background-size: cover;
}

.course-list section:nth-of-type(2) .course-img{
     background:url("../img/course_02.jpg") no-repeat center;
    background-size: cover;
}

.course-list section:nth-of-type(3) .course-img{
     background:url("../img/course_03.jpg") no-repeat center;
    background-size: cover;
}
.course-list section:nth-of-type(4) .course-img{
     background:url("../img/course_04.jpg") no-repeat center;
    background-size: cover;
}

.course-list section h3{
    font-size: 1.3rem;
    text-align: center;
    border-bottom: 3px double #1A3A7D; /* ボーダーを調整 */
    margin: 20px 0 15px 0; /* マージンを調整 */
    padding: 0 0 15px 0;
    color: #1A3A7D; /* 濃い青に変更 */
}

@media screen and (max-width:1090px) {
.course-list section h3{
    font-size: 1rem;
}    
}

/* school */
#school{
    position:relative;
    margin: 0 0 100px 0;
    padding: 40px 0; /* 余白を追加 */
}

@media screen and (max-width:840px) {
#school{
    margin:0;
}
}

#school:after {
    position: absolute;
    z-index: -1;
    content: '';
    top: 280px;
    left: -30%;
    width: 150%;
    height: 400px;
    background: #f0f0f0;
    transform: rotate(5deg);
}

.school-list{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.school-list section{
    width:28%;
    background: #fff;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* シャドウを調整 */
    margin:0 0 50px 0;
    padding:20px 20px 50px 20px;
    border-radius: 12px; /* 角をより丸く */
    transition: all 0.3s ease; /* ホバーエフェクトのための移行 */
}

.school-list section:hover {
    transform: translateY(-5px); /* ホバー時に少し浮き上がる */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); /* ホバー時にシャドウを強く */
}

.school-list section:nth-child(2){
     animation-delay: 0.2s;   
}
.school-list section:nth-child(3){
     animation-delay: 0.4s;   
}

@media screen and (max-width:840px) {
.school-list section{
    width:46%;
}
}

@media screen and (max-width:545px) {
.school-list section{
    width:100%;
}
.school-list section:nth-child(2),
.school-list section:nth-child(3){
     animation-delay: 0s;   
}
}

.school-list section .bg-yellow{
    background: #FFC107; /* 黄色を変更 */
    display: inline-block;
    position: absolute;
    left: -5px;
    top: -5px;
    z-index: 2;
    padding: 6px 12px; /* パディングを増加 */
    font-size:0.9rem;
    border-radius: 6px; /* 角を丸く */
    color: #333; /* テキスト色を調整 */
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 薄いシャドウを追加 */
}

.school-list section .school-img{
    padding-top:70%;
    background-size:cover!important;
    border-radius: 8px; /* 画像の角を丸く */
    margin-bottom: 20px; /* 下に余白を追加 */
}

.school-list section:nth-of-type(1) .school-img{
    background:url("../img/school_01.jpg") no-repeat center;
    background-size: cover;
}

.school-list section:nth-of-type(2) .school-img{
     background:url("../img/school_02.jpg") no-repeat center;
    background-size: cover;
}

.school-list section:nth-of-type(3) .school-img{
     background:url("../img/school_03.jpg") no-repeat center;
    background-size: cover;
}
.school-list section:nth-of-type(4) .school-img{
     background:url("../img/school_04.jpg") no-repeat center;
    background-size: cover;
}

.school-list section h3{
    font-size: 1.3rem;
    text-align: center;
    border-bottom: 3px double #1A3A7D; /* ボーダーを調整 */
    margin: 20px 0 15px 0; /* マージンを調整 */
    padding: 0 0 15px 0;
    color: #1A3A7D; /* 濃い青に変更 */
}

@media screen and (max-width:1090px) {
.school-list section h3{
    font-size: 1rem;
}    
}

/* teacher */
#teacher{
    position:relative;
    margin: 0 0 100px 0;
    padding: 40px 0; /* 余白を追加 */
}

@media screen and (max-width:840px) {
#teacher{
    margin:0;
}
}

#teacher:after {
    position: absolute;
    z-index: -1;
    content: '';
    top: 280px;
    left: -30%;
    width: 150%;
    height: 400px;
    background: #f0f0f0;
    transform: rotate(5deg);
}

.teacher-list{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.teacher-list section{
    width:28%;
    background: #fff;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* シャドウを調整 */
    margin:0 0 50px 0;
    padding:20px 20px 50px 20px;
    border-radius: 12px; /* 角をより丸く */
    transition: all 0.3s ease; /* ホバーエフェクトのための移行 */
}

.teacher-list section:hover {
    transform: translateY(-5px); /* ホバー時に少し浮き上がる */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); /* ホバー時にシャドウを強く */
}

.teacher-list section:nth-child(2){
     animation-delay: 0.2s;   
}
.teacher-list section:nth-child(3){
     animation-delay: 0.4s;   
}

@media screen and (max-width:840px) {
.teacher-list section{
    width:46%;
}
}

@media screen and (max-width:545px) {
.teacher-list section{
    width:100%;
}
.teacher-list section:nth-child(2),
.teacher-list section:nth-child(3){
     animation-delay: 0s;   
}
}

.teacher-list section .bg-yellow{
    background: #FFC107; /* 黄色を変更 */
    display: inline-block;
    position: absolute;
    left: -5px;
    top: -5px;
    z-index: 2;
    padding: 6px 12px; /* パディングを増加 */
    font-size:0.9rem;
    border-radius: 6px; /* 角を丸く */
    color: #333; /* テキスト色を調整 */
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 薄いシャドウを追加 */
}

.teacher-list section .teacher-img{
    padding-top:70%;
    background-size:cover!important;
    border-radius: 8px; /* 画像の角を丸く */
    margin-bottom: 20px; /* 下に余白を追加 */
}

.teacher-list section h3{
    font-size: 1.3rem;
    text-align: center;
    border-bottom: 3px double #1A3A7D; /* ボーダーを調整 */
    margin: 20px 0 15px 0; /* マージンを調整 */
    padding: 0 0 15px 0;
    color: #1A3A7D; /* 濃い青に変更 */
}

@media screen and (max-width:1090px) {
.teacher-list section h3{
    font-size: 1rem;
}    
}

/* gallery */
.img-gallery{
    background:url("../img/border.png") repeat-x top left,url("../img/border.png") repeat-x bottom left;
    background-size: 50px 16px;
    padding:50px 0;
    margin: 0 0 100px 0;
}

.img-gallery img{
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* シャドウを追加 */
    transition: all 0.3s ease; /* ホバーエフェクトのための移行 */
}

.img-gallery img:hover {
    transform: scale(1.02); /* ホバー時に少し拡大 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* ホバー時にシャドウを強く */
}

/* contact */
#contact{
    background:url("../img/bg_footer.jpg") no-repeat center;
    background-size: cover;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 30px;
    position: relative; /* 擬似要素のために */
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 125, 0.7); /* オーバーレイを追加 */
    z-index: 1;
}

#contact > * {
    position: relative;
    z-index: 2; /* コンテンツをオーバーレイの上に */
}

#contact h2{
    font-size: 2rem;  
    position: relative;
    margin: 0 0 50px 0;
    color: #fff; /* テキストを白に */
}

#contact .contact-detail br{
    display: none;
}

@media screen and (max-width:1090px) {
#contact h2{
    font-size:1.5rem;  
}  
}
@media screen and (max-width:600px) {
#contact .contact-detail h2 br{
    display: block;
}
}

#contact h2::after{
    content: "";
    background:#fff;
    width:15%;
    height: 5px;
    position: absolute;
    left:40%;
    bottom: -20px;
}

#contact p{
    text-align: center;
    margin: 0 0 50px 0;
}

@media screen and (max-width:400px) {
#contact .contact-detail h2{
    font-size: 1.3rem;
}
#contact .contact-detail p br{
    display: block;
}
}
    
#contact ul{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#contact ul li{
    padding: 0 20px 20px 0;
}

/* 問い合わせフォームの改善 */
.contact-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    max-width: 600px;
    margin: 60px auto;
    color: #333;
}

.contact-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    color: #1A3A7D;
}

.contact-description {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333333;
}

.form-group .required {
    color: #f44336;
    margin-left: 5px;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1A3A7D;
    box-shadow: 0 0 0 3px rgba(26, 58, 125, 0.1);
    outline: none;
    background-color: #ffffff;
}

.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.radio-group label {
    font-weight: normal;
    color: #555555;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
    background-color: #1A3A7D;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
    background-color: #152f62;
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* footer */
#footer{
    background: linear-gradient(to right, #1A3A7D, #284e9e); /* グラデーションに変更 */
    color: #fff;
    padding-top: 40px; /* 上部パディングを追加 */
}

#footer a{
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

#footer a:hover{
    color: #fff;
    text-decoration: none; /* 下線なし */
}

.footer-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.school-info{
    width:30%;
}

.school-info span{
    display: block;
    font-size:1.7rem;
    font-weight: bold;
    line-height: 1.5;
}

.school-info dt.footer-title,
.school-info li:first-of-type{
    margin: 0 0 10px 0;
}

.school-info li dt{
    margin:0 10px 0 0;
}

.school-info li dt,
.school-info li dd{
    display: inline-block;
}

.footer-sitemap{
    width:65%;
}

.footer-sitemap ul{
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 50px 0;
    font-size: 0.9rem;
}

.footer-sitemap li{
    padding: 10px 20px;
}

.footer-sitemap li a{
    position: relative;
    padding: 0 10px;
}

.footer-sitemap li a:before{
    position: absolute;
    top:40%;
    left:-10px;
    content: '';
    width: 7px;
    height:7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

small{
    display: block;
    text-align: right;
    padding: 20px 0; /* パディングを追加 */
    font-size: 0.8rem; /* フォントサイズ調整 */
    opacity: 0.7; /* 少し透明に */
}

@media screen and (max-width:1090px) {
    .footer-area{
        align-items: flex-start;
    }
.school-info{
    width:40%;
}
.footer-sitemap{
    width:56%;
}
}

@media screen and (max-width:940px) {
    small{
        text-align: center;
    }
    #page-top{
    position: relative;
    text-align: center;
    right: inherit;
    bottom: inherit;
    margin: 50px auto 30px auto;
    width: 80px;
    animation: none!important;
    transform:none!important;
    opacity: 1;
    }
}

@media screen and (max-width:768px) {
.school-info,
.footer-sitemap{
    width:100%;
}
    
.school-info{
    text-align: center;
    margin:0 0 70px 0;
    padding: 0 0 70px 0;
    border-bottom:1px solid rgba(255,255,255,0.2);
}
    .school-info span{
        font-size:1.3rem;
    }    
}

@media screen and (max-width: 768px) {
    #splash-logo img {
        width: 100%;
        height: auto;
    }
}

/* 校舎・講師・コース紹介ページの追加スタイル */
.iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px; /* 角を丸く */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* シャドウを追加 */
    margin: 20px 0; /* マージンを追加 */
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px; /* 角を丸く */
}

/* コース紹介ページのグループボックス */
.group-box {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.group-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.group-box h3 {
    color: #1A3A7D;
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #1A3A7D;
    padding-bottom: 10px;
}

.group-box dl dt {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.group-box dl dd {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

/* 入塾までの流れページ */
.section h2 {
    color: #1A3A7D;
    font-size: 1.5rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1A3A7D;
}

.section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ホームタイトル */
.home-title {
    text-align: center;
    margin-bottom: 40px;
}

.home-title .en {
    display: block;
    font-size: 2.2rem;
    color: #1A3A7D;
    margin-bottom: 10px;
    font-weight: bold;
}

.home-title .ja {
    font-size: 1.1rem;
    color: #555;
}

/* 先生画像 */
.teacher-list section img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* スプラッシュ画面のカラー変更 */
#splash {
    background: #1A3A7D !important; /* 濃い青に変更 */
}

.splashbg {
    border-color: #1A3A7D !important; /* 濃い青に変更 */
}

.circle-bg {
    background: #1A3A7D !important; /* 濃い青に変更 */
}