@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Meiryo, Helvetica, Arial,sans-serif;
    color: #333;
}
html {
    font-size: 100%;
}
body {
    font-size: 14px;
    text-align: center;
    background: linear-gradient(to left, #FAE5F8, #FEFFF3  50%, #DDF8FD 75%);
}
a {
    color: blue;
}
img {
    width: 100%;
    vertical-align: bottom;
}
li {
    list-style: none;
}
.logo {
    margin-right: 60px;
}
.logo a {
    display: block;
}
.wrapper {
    max-width: 1032px;
    padding: 0 16px;
    margin: 0 auto;
}
.sp_only {
    display: none;
}
.fa-xmark {
    color:#0d5201;
}
.fa-bars {
    color: #fff;
}
.bold {
    font-weight: bold;
}
/* ---------------------ヘッダー--------------------- */
.header_top {
    text-align: right;
    color: #fff;
    background-color: #0d5201;
    padding: 10px 4% 10px 0;
}
.header_top a {
    color: #0d5201;
}
.header_top a:first-child {
    margin-right: 20px;
}
.header_top a > .fa-square-facebook {
    color: #fff;
}
#header button {
    width: 200px;
    height: 50px;
    line-height: 50px;
    background-color: #fff;
    color: #0d5201;
    font-size: 16px;
    display: inline-block;
    text-align: center;
    transition: 0.3s;
}
#header button::before {
    font-family: "Font Awesome 5 Free"; 
    font-weight: 900; 
    content: "\f0e0";
    padding-right: 5px;
}
#header button:hover {
    background-color: #0d5201;
    color: #fff;
    font-weight: bold;
    border: 1px solid #fff;
}
.header_bottom {
    display: flex;
    justify-content: space-between;
}
.header_left {
    display: flex;
    align-items: center;
    align-items: center;
}
.logo a img {
    width: 80%;
    margin-top: 5px;
}
.school_title  h2 {
    font-size: 10px;
}
form {
    display: flex;
    align-items: center;
}
form .search {
    background-color: #d8d8d8;
    padding: 10px;
}
form .submit {
    color: #fff;
    background-color: #0d5201;
    padding: 10px;
}
.school_name {
    font-size: 24px;
} 

/* ---------------------ナビゲーション--------------------- */
nav ul {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #0d5201;
}
nav ul a  {
    width: calc(100%/9);
    padding: 10px 5px;
    background-color: #0d5201;
    text-decoration: none;
}
nav ul a li{
    color: #fff;
}
nav ul a li:hover {
    font-weight: bold;
    transform: scale(1.2);
}
/* ---------------------パンくずリスト--------------------- */
.breadcrumbs {
    text-align: left;
    margin: 20px 25px 20px 16%;
    display: flex;
}
.breadcrumbs > p,
.breadcrumbs > span {
    padding: 0 5px;
}

/*-------------------------- コンテンツ --------------------------*/
.mainvisual {
    padding: 0 10%;
    margin-bottom: 20px;
}
.swiper {
    width: 80%;
}
.swiper-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    filter: blur(2px);
}
.slide-1 {
    position: relative;
    width: 100%;
    height: 100%;
}
.card-1 {
    position: absolute;
    top: 5%;
    background-color: #fb0505;
    color: #fff;
    font-size: 20px;
    padding: 15px;
}
.slide-2 {
    position: relative;
    width: 100%;
    height: 100%;
}
.card-2 {
    position: absolute;
    top: 5%;
    background-color: #4b0145;
    color: #fff;
    font-size: 20px;
    padding: 15px;
}
.slide-3 {
    position: relative;
    width: 100%;
    height: 100%;
}
.card-3 {
    position: absolute;
    top: 5%;
    background-color: #0713f7;
    color: #fff;
    font-size: 20px;
    padding: 15px;
}
.slide-4 {
    position: relative;
    width: 100%;
    height: 100%;
}
.card-4 {
    position: absolute;
    top: 5%;
    background-color: #055902;
    color: #fff;
    font-size: 20px;
    padding: 15px;
}
.swiper .swiper-button-prev, .swiper .swiper-button-next {
    color: #fff;
}
.swiper .swiper-pagination-bullet-active {
    background: #fff;
}
/* ---------------- ようこそ ---------------- */
.welcome > h2 {
    font-size: 24px;
    margin: 15px 0;
}
.welcome > p {
    text-align: left;
    margin: 5px;
}
/* ---------------- 生徒・教員募集 ----------------- */
.boshu > ul {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}
.boshu > ul a {
    text-decoration: none;
    color: #333;
}
.advertise {
    padding: 20px 0;
    position: relative;
}
.advertise::after {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    background-color: #0d5201;
    z-index: -10;
    transition: transform .5s;
    transform-origin: 0 0;
    transition-timing-function: cubic-bezier(0.47, 0, 0.745, 0.715);
}
.student::after {
    content: "新入生募集中";
    transform: scaleY(0);
}
.student:hover::after {
    transform: scaleY(1);
    z-index: 0;
}
.teacher::after {
    content: "教員募集中";
    transform: scaleY(0);
}
.teacher:hover::after {
    transform: scaleY(1);
    z-index: 0;
}
.advertise > h3::after {
    content: "\f08e";
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; 
    position: absolute;
    right: 20px;
}
/* ---------------- 最近のニュース ----------------- */
.news {
    margin: 50px auto;
    text-align: left;
}
.news dl {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #8FB390;
}
.news dt {
    width: 25%;
    font-size: 14px;
    font-weight: normal;
}
.news dd {
    width: 75%;
    font-size: 14px;
    font-weight: normal;
}
.parallax {
    background-image: url("./img/2022/hinamatsuriY2-6.jpg");
    min-height: 300px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* ---------------- イベントの予定 ----------------- */
.event_schedule {
    width: 100%;
    text-align: left;
    margin: 50px auto;
}
.event_schedule ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.event_schedule ul li {
    width: 33%;
    display: flex;
    align-items: center;
    margin: 25px 0;
}
.dates {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}
.month {
    width: 80px;
    height: 40px;
    line-height: 60px;
    color: #fff;
    background-color: #0903a0;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 80px 80px 0 0;
}
.day {
    width: 80px;
    height: 40px;
    line-height: 30px;
    background-color: #d7d5d5;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 0 0 80px 80px;
}
.event h4 {
    text-align: left;
    font-size: 16px;
}
/* ---------------- フッター ----------------- */
footer {
    line-height: normal;
}
.footer_top {
    background-color: #b9e7bb;
    display: flex;
    justify-content: center;
    padding-top: 30px;
}
.footer_left {
    width: 40%;
    text-align: left;
}
.footer_left > h3,
.footer_left > h4 {
    margin: 20px 0 10px;
}
.fa-brands {
    font-size: 26px;
}
.fa-brands:hover {
    cursor: pointer;
}
.footer_right {
    width: 40%;
}
.footer_right iframe {
    width: 90%;
}
.footer_bottom {
    background-color: #fff;
    font-size: 10px;
    padding: 20px;
}

@media only screen and (min-width: 900px) and (max-width: 1149px) {
    .wrapper {
        padding: 0 40px;
    }
    .logo {
        margin-right: 0px;
    }
    #header button {
        width: 180px;
        height: 40px;
        line-height: 40px;
    }
    .inner {
        padding: 0;
    }
    nav ul a {
        padding: 10px 0;
    }
    nav ul a li {
        font-size: 12px;
    }
    .mainvisual {
        padding: 0 10%;
    }
    .swiper {
        width: 82%;
    }
    .card-1,
    .card-2,
    .card-3,
    .card-4 {
        font-size: 20px;
        padding: 10px;
    }
    .boshu > ul {
        flex-direction: column;
    }
    .boshu > ul a {
        width: 70%;
        margin: 10px auto;
    }
    .event_schedule ul li {
        width: 50%;
    }
    .footer_top {
        flex-direction: column;
        padding: 20px 50px;
    }   
    .footer_left {
        width: 80%;
    }
    .footer_right {
        width: 80%;
        margin-top: 20px;
    }
}
@media only screen and (min-width: 600px) and (max-width: 899px) {
    .wrapper {
        padding: 0 30px;
    }
    .school_name {
        font-size: 18px;
    }
    .logo {
        margin-right: 0px;
    }
    nav ul a {
        width: calc(100%/7);
        padding: 10px 2px;
    }
    nav ul a li {
        font-size: 10px;
    }
    .swiper {
        width: 90%;
    }
     .boshu > ul {
        flex-direction: column;
    }
    .boshu > ul a {
        width: 80%;
        margin: 10px auto;
    }
}
@media only screen and (min-width: 480px) and (max-width: 599px) {
    .sp_only {
        display: block;
    }
    .pc_only {
        display: none;
    }
    .logo {
        margin-right: 0;
    }
    .wrapper {
        padding: 0 30px;
    }
    .logo img {
        width: 70%;
    }
    .school_name {
        font-size: 18px;
    }
   .header_top{
        height: 50px;
    }
    #header > a {
        position: relative;
    }
    #header a button {
        position: fixed;
        right: 5px;
        bottom: 5px;
        width: 150px;
        height: 40px;
        line-height: 40px;
        font-size: 12px;
        z-index: 10;
        background-color: #0d5201;
        color: #fff;
    }
    form {
        height: 50px;
        position: absolute;
        left: 2%;
        top: 0;
    }
    form .submit {
        color: #0d5201;
        background-color: #fff;
    } 
    form .submit:hover {
        color: #fff;
        background-color: #0d5201;
        border: 1px solid #fff;
    }   
    nav {
        position: fixed;
        top: 0;
        right: -250px;
        transition: all 0.3s;
        z-index: 10;
    }
    .navigation {
        margin-top: 0;
    }
    nav ul {
        background-color: #0d5201;
        width: 250px;
        flex-direction: column;
        text-align: left;
        padding: 50px 0 20px;
    }
    nav ul li {
        padding-left: 35px;
    }
    nav ul a {
        width: 250px;
        transition: 0.3s;
    }
    nav ul a:hover{
        background-color: #fff;
        font-weight: bold;
    }
    nav ul a:hover li {
        color: #0d5201;
    }
    nav ul a li:hover {
        transform: scale(1);
    }
    .fa-bars {
        color: #fff;
        font-size: 26px;
        position: absolute;
        top: 12px;
        right: 20px;
    }
    .fa-xmark {
        position: absolute;
        top: 5px;
        right: 20px;
        font-size: 26px;
        color: #fff;
        padding: 8px;
    }
    .fa-xmark:hover {
        color: #0d5201;
        background-color: #fff;
    }
    .swiper {
        width: 100%;
    }
    .card-1,
    .card-2,
    .card-3,
    .card-4 {
        font-size: 18px;
        padding: 6px;
    }
    .swiper .swiper-button-prev:after,
    .swiper .swiper-button-next:after {
        font-size: 30px;
        font-weight: bold;
    }
    .welcome > h2 {
        font-size: 20px;
    }
    .boshu > ul {
        flex-direction: column;
    }
    .boshu > ul a {
        width: 85%;
        margin: 10px auto;
    }
    .event_schedule ul li {
        width: 50%;
    }
    .footer_top {
        flex-direction: column;
        padding: 20px 30px;
    }   
    .footer_left {
        width: 100%;
    }
    .footer_right {
        width: 100%;
        margin-top: 20px;
    }
    .footer_bottom {
        text-align: left;
    }
}
@media screen and (max-width: 479px) {
    body {
        font-size: 14px;
    }
    .sp_only {
        display: block;
    }
    .pc_only {
        display: none;
    }
    .wrapper {
        padding: 0 30px;
    }
    .logo {
        margin-right: 0;
    }
    .logo img {
        width: 70%;
    }
    .school_name {
        font-size: 18px;
    }
   .header_top{
        height: 50px;
    }
    #header > a {
        position: relative;
    }
    #header a button {
        position: fixed;
        right: 5px;
        bottom: 5px;
        width: 140px;
        height: 40px;
        line-height: 40px;
        font-size: 12px;
        z-index: 10;
        background-color: #0d5201;
        color: #fff;
    }
    form {
        height: 50px;
        position: absolute;
        left: 2%;
        top: 0;
    }
    form .submit {
        color: #0d5201;
        background-color: #fff;
    } 
    form .submit:hover {
        color: #fff;
        background-color: #0d5201;
        border: 1px solid #fff;
    }   
    nav {
        position: fixed;
        top: 0;
        right: -250px;
        transition: all 0.3s;
        z-index: 10;
    }
    .navigation {
        margin-top: 0;
    }
    nav ul {
        background-color: #0d5201;
        width: 250px;
        flex-direction: column;
        text-align: left;
        padding: 50px 0 25px;
    }
    nav ul li {
        padding-left: 35px;
    }
    nav ul a {
        width: 250px;
        transition: 0.3s;
    }
    nav ul a:hover{
        background-color: #fff;
        font-weight: bold;
    }
    nav ul a:hover li {
        color: #0d5201;
    }
    nav ul a li:hover {
        transform: scale(1);
    }
    .fa-bars {
        color: #fff;
        font-size: 26px;
        position: absolute;
        top: 12px;
        right: 20px;
    }
    .fa-xmark {
        position: absolute;
        top: 5px;
        right: 20px;
        font-size: 26px;
        color: #fff;
        padding: 8px;
    }
    .fa-xmark:hover {
        color: #0d5201;
        background-color: #fff;
    }
    .swiper {
        width: 100%;
    }
    .card-1,
    .card-2,
    .card-3,
    .card-4 {
        font-size: 16px;
        padding: 5px;
    }
    .swiper .swiper-button-prev:after,
    .swiper .swiper-button-next:after {
        font-size: 20px;
        font-weight: bold;
    }
    .welcome > h2 {
        font-size: 18px;
        margin: 25px 0 10px;
    }
    .boshu > ul {
        flex-direction: column;
    }
    .boshu > ul li {
        margin: 20px 0;
    }
    .news dl {
        flex-direction: column;
    }
    .news dt {
        font-weight: bold;
    }
    .news dd {
        width: 100%;
    }
    .event_schedule ul li {
        width: 100%;
        margin: 15px 0;
    }
    .month {
        height: 35px;
        width: 70px;
        line-height: 45px;
        font-size: 12px;
        border-radius: 35px 35px 0 0;
    }
    .day {
        height: 35px;
        width: 70px;
        line-height: 25px;
        font-size: 16px;
        border-radius: 0 0 35px 35px;
    }
    .footer_top {
        flex-direction: column;
        padding: 20px 30px;
    }
    .footer_bottom {
        text-align: left;
        font-size: 9px;
    }
    .footer_left {
        width: 100%;
        margin: 0 auto;
    }
    .footer_right {
        width: 100%;
        margin-top: 20px;
    }
    .footer_right > iframe {
        width: 90%;
    }
} 

.hiring_information,
.about_information,
.enrol_information,
.school_life_information,
.library_information,
.school_song,
.gallery {
    text-align: left;
    margin-bottom: 30px;
}
.hiring_information > h3,
.hiring_information > h4,
.about_information > h3,
.about_information > h4,
.enrol_information > h3,
.enrol_information > h4,
.school_life_information > h3,
.school_life_information > h4,       
.gallery > h3,
.gallery > h4 {
    margin: 10px 0;
}
/* ---------------スクールライフ -----------------*/
.list-style {
    margin-left: 20px;
}
/* ---------------ギャラリー -----------------*/
.gallery_event {
    margin-left: 20px;
}
.gallery_contents {
    margin: 30px auto;
}
.gallery_contents ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.gallery_contents ul li {
    width: 48%;
    margin: 10px 0;
}
.gallery_accordion > ul > li {
    margin: 10px 0;
}
.accordion_top  {
    position: relative;
    padding: 15px;
    caret-color: transparent;
}
.gallery23, .gallery28 {
    background-color: rgb(213, 234, 253);
}
.gallery22, .gallery27 {
    background-color: rgb(240, 226, 240);
}
.gallery21, .gallery26 {
    background-color: rgb(244, 250, 217);
}
.gallery20, .gallery25 {
    background-color: rgb(217, 250, 219);
}
.gallery19, .gallery24 {
    background-color: rgb(255, 222, 230);
}
.fa-chevron-up {
    font-size: 20px;
    color: #333;
    position: absolute;
    top: 40%;
    right: 15px;
    transition: transform 0.3s; /* 回転をアニメーションで滑らかに */
    transform: rotate(180deg);  /* 初期状態で下向き（閉じているとき） */
}
.accordion_bottom {
    display: none;
}
.gallery_contents > p {
    margin-bottom: 20px;
}
.gallery_contents .zero_margin {
    margin: 0;
}
.gallery_contents .underline {
    text-decoration: underline;
}
/* ---------------年間予定 -----------------*/
.yearly_schedule {
    margin: 30px 0;
}
.yearly_schedule img {
    max-width: 800px;
}
/* ---------------教員採用 -----------------*/

.hiring_information h2 {
    padding: 10px;
    background-color: #aa708b;
    color: #fff;
    font-weight: 700;
    margin: 40px 0 10px;
}
.hiring_information >p {
    padding-bottom: 5px;
}
.hiring_information > ul {
    margin: 10px 0;
    padding-left: 20px;
}
.hiring_information > ul > li {
    list-style-type: disc;
}
@media only screen and (min-width: 480px) and (max-width: 599px) {
    .accordion_top > h3 {
        font-size: 14px;
    }
    .fa-chevron-up:before {
        font-size: 16px;
    }
}
@media screen and (max-width: 480px) {
    .school_life_information ul{
        flex-direction: column;
    }
    .school_life_information ul li {
        width: 95%;
        margin: 10px;
    }
    .accordion_top > h3 {
        font-size: 10px;
    }
    .fa-chevron-up:before {
        font-size: 12px;
    }
}



/* campain */
.mask {
    position: absolute;
    top: 0;
    left: 0;


    width: 100%;
    height: 300%;
    background: linear-gradient(#333, transparent);
    z-index: 40;
}
.mask_campain {
    width: 50vw; 
    height: 70vh;
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 5px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mask_container {
    font-size: 1.4rem;
    padding-right: 4%;
    padding-left: 4%;
}
.mask_container i {
    position: absolute;
    top: 4%;
    right: 4%;
    color: #333;
    font-size: 4rem;
}
.mask_contents {
    margin: 50px 0 50px;
}
.mask_contents h3 {
    margin-top: 50px;
}
.red {
    color: red;
}

.enrol_information > dl {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-left: 20px;
}
.enrol_information > dl > dt {
    width: 11%;
    font-weight: bold;
    margin-bottom: 4px;
}
.enrol_information > dl > dd {
    width: 85%;
    margin-bottom: 4px;
}
@media only screen and (min-width: 900px) and (max-width: 1149px) {
    .mask_campain {
        width: 60vw; 
        height: 80vh;
    }
    .mask_container{
        font-size: 1.5rem;
    }
    .mask_container i {
        font-size: 3rem;
    }
}

@media only screen and (min-width: 600px) and (max-width: 899px) {
    .mask_campain {
        width: 80vw;
        height: 60vh;
    }
    .mask_container{
        font-size: 1.5rem;
    }
    .mask_container i {
        font-size: 2rem;
    }
}
@media only screen and (min-width: 480px) and  (max-width: 599px) {
    .mask_campain {
        width: 80vw;
        height: 70vh;
    }
    .mask_container{
        font-size: 1.1rem;
    }
    .mask_container i {
        top: 2%;
        right: 3%;
        font-size: 2rem;
    }
    .mask_contents h3 {
        margin-top: 20px;
    }
}

@media screen and (min-width: 350px) and (max-width: 480px) {
    .mask_campain {
        width: 80vw;
        height: 60vh;
    }
    .mask_container{
        font-size: 1rem;
    }
    .mask_container i {
        top: 2%;
        right: 3%;
        font-size: 2rem;
    }
    .mask_contents h3 {
        margin-top: 20px;
    }
    .enrol_information > dl {
        flex-direction: column;
    }
    .enrol_information > dl > dt,
    .enrol_information > dl >dd {
        width: 100%;
    }
}
@media screen and (max-width: 350px) {
    .mask_campain {
        width: 80vw;
        height: 70vh;
    }
    .mask_container{
        font-size: 0.8rem;
    }
    .mask_container i {
        font-size: 1.5rem;
    }
    .enrol_information > dl {
        flex-direction: column;
    }
    .enrol_information > dl > dt,
    .enrol_information > dl >dd {
        width: 100%;
    }
}

/* 料金表 */
/* iframe {
    width: 100%;
} */
.hidden {
    display: none;
  }
  
  #pdfContainer {
    margin-top: 10px;
    border: 1px solid #ccc;
  }
  .dropdown {
    position: relative;
  }
  button#toggleButton {
      position: absolute;
      right: 50px;
      top: -45px;
      border: 1px solid;
      padding: 10px 20px;
}
@media screen and (max-width: 599px) {
    button#toggleButton {
        right: 0px;
        top: -50px;
        padding: 2px;
    }
}
