@charset "utf-8";
html {
    font-size: 62.5%;
    scroll-padding-top: 90px;
}
body {
    scroll-padding-top: 90px;
    margin: 0 auto;
    padding: 0 auto;
    width: 100%;
    color: #432;
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    text-align: center;
}
li {
    list-style: none;
}
img {
    width: 100%;
    max-width: 900px;
}
p {
    margin: 2% 0
}
header {
    background-color: #fff;
    position: sticky;
    top: 0;
    width: 100%;
    line-height: 1;
    z-index: 10;
}
.ht {
    display: flex;
    justify-content: space-between;
    padding: 1% 10%;
}
.logo a {
    display: flex;
    align-items: center;
}
.logo img {
    width: 15%;
    margin-right: 5px;
}
h1 {
    font-size: 2.6rem;
    font-weight: 700;
    text-align: left;
}
.h-contact {
    display: flex;
    align-items: center;
    font-size: 2rem;
    white-space: nowrap;
}
.h-contact span {
    font-size: 1.8rem;
    padding-left: 1rem;
}
.button {
    color: #009a47;
    background-color: yellow;
    border: 2px solid #009a47;
    border-radius: 10px;
    margin: 0 0 0 15px;
    padding: 15px 20px;
}
[type="checkbox"] {
    display: none;
}

/* ナビゲーションメニュー */
.nav-content {
    background-color: #009a47; /* メニューの背景色 */
    color: #fff; /* メニューテキストの色 */
}
.nav-list {
    display: flex;
    justify-content: center; /* メニューアイテムを中央揃えに */
}
.nav-item {
    background-color: #009a47; /* メニューアイテムの背景色 */
     /* border-left: 1px solid #fff;メニューアイテムの左ボーダー */
    position: relative;
    transition: background-color .3s; /* 背景色の変化をアニメーション化 */
}
/* .nav-item:last-child {
    border-right: 1px solid #fff; 最後のメニューアイテムの右ボーダー
} */
/* メニューアイテムのホバースタイル */
.nav-item:hover .drop-menu-list { 
    transform: scaleY(1); /* ドロップダウンメニューの表示 */
}
.nav-item:hover {
    background-color: #009a47; /* メニューアイテムのホバー時の背景色 */
    transition: background-color .3s; /* 背景色の変化をアニメーション化 */
}
.drop-menu-item:hover {
    opacity: .9; /* ドロップダウンメニューアイテムのホバー時の不透明度 */
    transition: opacity .3s; /* 不透明度の変化をアニメーション化 */
}
.nav-item a {
    align-items: center;
    color: #fff; /* メニューアイテム内のリンクテキストの色 */
    display: flex;
    height: 50px;
    justify-content: center;
    text-decoration: none; /* リンクの下線を非表示 */
    width: 120px;
}
/* ドロップダウンメニュー */
.drop-menu {
    position: relative;
}
.drop-menu-list {
    position: absolute;
    top: 100%;
    transform: scaleY(0); /* ドロップダウンメニューの非表示 */
    transform-origin: center top; /* 変形を適応する基準を設定 */
    transition: transform .3s; /* 表示の変化をアニメーション化 */
    width: max-content;
    z-index: 1;
}
.drop-menu-item {
    background-color: #006b32; /* ドロップダウンメニューの背景色 */
    transition: opacity .3s; /* 不透明度の変化をアニメーション化 */
}
.home-go a {
    display: none;
}
/* ナビゲーションメニュー */

a:hover {
    opacity: 0.6;
    filter: brightness(100%);
}
.logo a:hover {
    opacity: 1;
}
.wrapper {
    max-width: 1300px;
    margin: 0 auto;
}
h2 {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 5%;
}
.schedule-wrap {
    padding: 6%;
    background-image: url(../images/about_bg1.png);
    background-size: cover;
    background-repeat: no-repeat;
}
.about2 {
    padding: 6%;
    background: linear-gradient(#fff, #c5e2c5)
}
.schedule-spring, .schedule-summer, .schedule-fall, .schedule-winter {
    margin-bottom: 4%;
    padding: 4%;
    display: flex;
    justify-content: space-between;
}
.schedule-spring {
    background: linear-gradient(#fff, pink);
}
.schedule-summer {
    background: linear-gradient(#fff, #99d799);
}
.schedule-fall {
    background: linear-gradient(#fff, rgb(222, 173, 127));
}
.schedule-winter {
    background: linear-gradient(#fff, rgb(158, 158, 245));
}
.schedule-text {
    width: 50%;
    text-align: left;
}
.schedule-text table {
    width: 100%;
}
.schedule-text th {
    text-align: center;
    font-size: 3rem;
}
.schedule-text table th, .schedule-text table td {
    vertical-align: middle;
    letter-spacing: .2rem;
    padding: 1rem 0;
}
.schedule-img div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.day {
    display: flex;
    justify-content: space-around;
}
.day table {
    width: 90%;
    table-layout: fixed;
    margin: 0 auto;
}
.day table th, .day table td {
    vertical-align: middle;
    border: 1px solid;
}
.day th {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
}
.day table tbody tr:nth-last-child(odd) {
    background-color: #fff;
}
.day table tbody tr:nth-last-child(even) {
    background-color: #f4f2f0;
}
.kinder th {
    background-color: #009a47;
    color: #fff;
}
.nursery th {
    background-color: rgb(250, 140, 155);
    color: #432;
}
.day td {
    padding: 0 2%;
}
footer {
    background-color: #009a47;
}
footer p {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
    padding: 2% 0;
}
@media (max-width: 920px) {
    .day {
        display: block;
    }
    .kinder {
        margin-bottom: 6%;
    }
}
@media (max-width: 890px) {
    .schedule-spring, .schedule-summer, .schedule-fall, .schedule-winter {
        margin-bottom: 4%;
        padding: 4%;
        display: block;
    }
    .schedule-img {
        padding-top: 4%;
    }
    .schedule-text {
        width: 100%;
    }
}
@media (max-width: 760px) {
    .ht {
        padding: 1% 4%;
        
    }
    h1 {
        font-size: 2rem;
    }
    .h-contact {
        position: absolute;
        top: 15px;
        right: 50px;
    }
    .h-contact span {
        display: none;
    }
    .button {
        color: #443322;
        background-color: transparent;
        border: none;
        margin-left: 9px;
        padding: 5px 10px;
    }
    .nav {
        display: flex;
        justify-content: flex-end;
        position: absolute;
        top: 0;
        right: 0;
    }
    .drop-menu-list { 
        width: 100%;
    }
    .nav-list {
        display: block;
    }
    .nav-item, .nav-item:last-child {
        border: none;
    }
    .nav-item a {
        width: unset;
        height: 40px;
    }
    .drop-menu, .drop-menu-item, .drop-menu-list, .drop-menu-item:hover {
        transition: none;
        position: unset;
        transform: none;
    }
    .drop-menu-item a {
        display: flex;
        justify-content: left;
        margin-left: 55%;
    }
    .arrow::before {
        content: '＞';
    }
    /* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
  }
  
  /* ハンバーガーアイコンの設置スペース */
  .drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;/* 重なり順を一番上にする */
    cursor: pointer;
  }
  
  /* ハンバーガーメニューのアイコン */
  .drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
  }
  
  /* 三本線の一番上の棒の位置調整 */
  .drawer_open span:before {
    bottom: 8px;
  }
  
  /* 三本線の一番下の棒の位置調整 */
  .drawer_open span:after {
    top: 8px;
  }
  
  /* アイコンがクリックされたら真ん中の線を透明にする */
  #drawer_input:checked ~ .drawer_open span {
    background: rgba(255, 255, 255, 0);
  }
  
  /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
  #drawer_input:checked ~ .drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  
  #drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
  }
    
  /* メニューのデザイン*/
  .nav-content {
    width: 100%;
    font-size: 1.3rem;
    position: fixed;
    left: 100%; /* メニューを画面の外に飛ばす */
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.3);
    transition: .5s;
    height: 100%;
    top: 0;
    /* 追加 */
    overscroll-behavior: contain;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: none;
    /* スクロールバー非表示 */
    scrollbar-width: none; 
    -ms-overflow-style: none;
    /* スマホのタッチアクション無効 */
    touch-action: none;
  }
  .nav-content::-webkit-scrollbar {
    display: none;
    }
  /* メニュー黒ポチを消す */
  .nav-list {
    list-style: none;
  }
  /* アイコンがクリックされたらメニューを表示 */
  #drawer_input:checked ~ .nav-content {
    left: 0;/* メニューを画面に入れる */
  }
  .home-go a {
    display: unset;
    background-color: yellow;
    color: #009a47;
    font-size: 2rem;
    align-items: center;
    display: flex;
    height: 50px;
    justify-content: center;
    text-decoration: none;
    }
    .mt {
        display: none;
    }
    h2 {
        font-size: 3rem;
    }
}
@media(max-width: 450px)  {
    h1 {
        font-size: 2.2rem;
    }
    .sub {
        font-size: 1.8rem;
    }
    p {
        font-size: 1.6rem;
    }
    .day {
        display: block;
    }
    .day table {
        margin: 0 auto;
    }
}