
body {
    font-family: YuGothic,'Yu Gothic','Yu Gothic UI','ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
    color: #333;
    position: relative;
    margin: 0;
}
header {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
}
main {
    padding-top: 74px;
    background-image: var(--bg-img);
    overflow-x: hidden;
}
.header {
    width: 100%;
    height: 74px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    position: relative;
    z-index: 2;
}
.h-menu {
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    background: #629cf4cc;
    position: absolute;
    right: 0;
    transition: .3s;
    z-index: 1;
}
.h-menu.active {
    transform: translateY(0);
}
.h-menu a {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    padding: 10px 25px;
}
.h-menu a.nest-1 {
    padding: 10px 0 10px 32px;
    background: #3744ed8a;
}
.h-menu .line {
    width: 100%;
    height: 2px;
    background-color: #fff;
    opacity: .5;
}
.h-menu > .menu-caption {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    padding: 5px 25px;
    user-select: none;
    background: #3744ed8a;
}


.montserrat {
    font-family: 'Montserrat', sans-serif;
}
.futi {
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF, 0-1px 0 #FFF, -1px 0 0 #FFF, 1px 0 0 #FFF;
}
.w-wrapper {
    max-width: 700px;
    margin: auto;
}


.logo {
    padding: 0 25px;
    box-sizing: border-box;
}
.logo>img {
    height: 46px;
    width: 46px;
}

.header h1 >a ,
h3 {
    font-size: 22px;
    font-weight: bold;
    color: #1B4F9D;
    text-decoration: none;
    z-index: 2;
}
.header h1 {
    line-height: .9;
    text-align: center;
}
.header h1 >a {
    font-size: 22px;
}

.slick-dots li {
    width: 12px;
    height: 12px;
}
.slick-dots li button:before {
    color: transparent;
    border: 2px solid #1B4F9D;
    border-radius: 100%;
    font-size: 12px;
    line-height: 14px;
    position: absolute;
    width: 10px;
    height: 10px;
}
.slick-dots li.slick-active button:before {
    opacity: 1;
    border: none;
    color: #1B4F9D;
}
ul.slick-dots {
    background: #fff;
}

.fv {
    height: 88vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.info {
    background-image: var(--bg-img);
    padding: 40px 25px ;
}

.info h3 {
    font-size: 4vw;
    text-align: center;
}

.student {
    max-width: 770px;
    padding: 40px 0;
    margin: auto;
    position: relative;
}
.info-header {
    margin: 0 -50px;
    z-index: 1;
}
.info-center {
    width: 80%;
    position: absolute;
    right: 0;
    left: 0;
    top: 14%;
    margin: auto;
    z-index: 2;
}
.info-left>img {
    width: 100%;
}
.info-left {
    position: absolute;
    width: 30%;
    top: 34%;
    left: -2%;
}
.info-right>img {
    width: 100%;
}
.info-right {
    position: absolute;
    top: 34%;
    right: -2%;
    width: 30%;
    z-index: 3;
}
.info-bottom {
    width: 44%;
    padding-top: 65%;
    margin: auto;
}
.info-bottom>img {
    width: 100%;
}

.info-description > h4 {
    border-bottom: 1px solid #707070;
    margin-bottom: 10px;
    font-size: 22px;
}
.info-description > p {
    font-size: 16px;
    font-weight: bold;
}

.introduction {
    padding: 0 25px 30px;
}
.introduction > .title {
    margin: 0 -25px;
    background-color: #1B4F9D;
}
.introduction > .title >h3 {
    color: #fff;
    padding: 10px;
    font-size: 26px;
    text-align: center;
}

.news {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    /* margin: 40px 0; */
    /* border-bottom: 1px solid #707070; */
}
.news .date {
    font-size: 16px;
}
.news .text {
    font-size: 18px;
    white-space: pre-line;
}

.introduction .buttons {
    display: flex;
    gap: 4px;
    margin-top: 80px;
}
.introduction .buttons .button {
    width: 100%;
}

.introduction .view {
    margin: 0 -25px;
}
.introduction .view >img{
    width: 100%;
}
.introduction .view >.tetsubou {
    width: 60%;
    margin: -7% auto 0;
}

._taiken {
    position: absolute;
    top: 500px;
}

/* Accordion */

.sankaku {
    background-color: #333333;
    width: 14px;
    height: 12px;
	clip-path: polygon(0 0, 100% 0%, 50% 100%);
    transition: .5s;
    transform: rotate(0);
}
.sankaku.open {
    transform: rotate(-180deg);
}

.accordion {
    display: flex;
    flex-direction: column;
}
.accordion >.title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 10px 4px;
    border-bottom: 1px solid #333;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}
.ac-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 12px 0;
}

.news-accordion {
    background-color: #ffffffa1;
    padding: 4px;
    border-radius: 4px;
    margin-bottom: 4px;
}
.news-accordion .title {
    border: none;
}
.news-title {
    width: 100%;
    display: flex;
    flex-direction: column;
}
.news-title > span {
    font-size: 14px;
    font-weight: bold;
}

.tgc-table {
    border: 2px solid #1B4F9D;
    background: #fff;
    border-collapse: collapse;
}
.tgc-table caption {
    background: #1B4F9D;
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    padding: 4px;
    caption-side:top;
}
.tgc-table th, .tgc-table td {
    border: 1px solid #000;
    font-size: 16px;
    padding: 4px;
    font-weight: bold;
}
.tgc-table.center td {
    text-align: center;
}
.tgc-table td.price {
    text-align: end;
    word-break: keep-all;
}
.thead .sat {
    color: #1B4F9D;
}
.thead .sun {
    color: #ff0000;
}
th.day {
    width: 50px;
    text-align: center;
}

.class-description {
    position: relative;
    background-color: #ffffffa1;
    border-radius: 8px;
    padding: 4px;
}

.list {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.list > .buttons {
    margin: 0;
}
.list .tgc-table tr:not(:first-child) td:not(:first-child){
    text-align: center;
}

/* 2024 令和6年度お知らせ表示用 */
.special-news {
    background: rgba(255,255,255,.5);
    padding: 8px;
    border-radius: 8px;
    border: 4px dashed #FA3;
}
.special-news>div {
    display: flex;
    flex-direction: column;
}
.special-news > .tanki {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    text-align: center;
}

.kome {
    font-size: 12px;
    word-break: break-all;
}

/* Button */
.button {
    width: 100%;
    display: block;
    padding: 6px;
    background: linear-gradient(#1b4f9d 0%, #5f9bf4 100%);
    text-decoration: none;
}
.button>span {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(#5f9bf4 0%, #1b4f9d 100%);
    width: 100%;
    text-align: center;
    color: #fff;
    height: 120px;
    font-size: 26px;
    font-weight: bold;
}
.button:hover {
    background: linear-gradient(#5f9bf4 0%, #1b4f9d 100%);
}
.button:hover span {
    background: linear-gradient(#1b4f9d 0%, #5f9bf4 100%);
}

/* Instagram */
.instagram {
    padding: 30px 0;
}

.instagram > .instagram-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}
.instagram > .instagram-images > a {
    width: calc(33.33% - 4px);
    aspect-ratio: 1;
    transition: transform .2s;
    overflow: hidden;
}
.instagram > .instagram-images > a:hover {
    transform: scale(1.05);
}
.instagram > .instagram-images > a > img,
.instagram > .instagram-images > a > video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.instagram > .title > h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 20px 0;
    background-color: #ffffffa1;
    border-radius: 4px;
}
.instagram > .title > h3 > .instagram-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 32px;
}
.instagram > .title > h3 > .instagram-logo img {
    width: 32px;
    height: 32px;
}
.instagram > .title > h3 strong {
    background : linear-gradient(72.44deg, #ff7a00 11.92%, #ff0169 51.56%, #d300c5 85.69%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}







footer {
    background-color: #333;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 25px;

}
footer ul {
    padding: 0 0 30px;
}
footer li {
    line-height: 1;
    padding: 10px 0;
    font-size: 20px;
}
footer a {
    color: #fff;
    text-decoration: none;
}

small {
    color: #fff;
    text-align: center;
}
.result-wrapper {
    max-width: 700px;
    margin:auto auto 60px;
}
.result-wrapper > .view {
    width: 100%;
    margin: auto;
}
.result-box {
    background-color: rgba(255,255,255,.7);
    margin: 0 auto;
    padding: 20px;
    max-width: 700px;
}

.pdf {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 12px;
    padding: 15px 0;
    gap: 8px;
}

.a-pdf {
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    color: #336ABC;
}

.a-pdf:visited {
    color: #800000;
}

.back {
    display: flex;
    justify-content: center;
}
.back>a {
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    margin-top: 40px;
    color: #336ABC;
}


/* access */
.access-box {
    background-color: rgba(255,255,255,.7);
    margin: 20px auto 0;
    padding: 20px;
    max-width: 700px;
}
.access-box>h4 {
    margin: 20px 0 20px;
    font-size: 20px;
}
.access-box>p {
    font-size: 18px;
    line-height: 2;
}

.map {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    margin: auto;
}
.map > iframe {
    width: 100%;
}
.form {
    padding: 20px 0;
}

/* ハンバーガーアイコンのスタイル */
.hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    width: 74px;
    height: 74px;
    position: relative;
    cursor: pointer;
    background-color: #1B4F9D;
    box-sizing: border-box;
}
  
  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
    position: absolute;
}
  
  .hamburger span:nth-child(1) {
    top: 24px;
  }
  
  .hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  
  .hamburger span:nth-child(3) {
    bottom: 24px;
  }
  
  /* ハンバーガーアイコンが × に変わるスタイル */
  .hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
   
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }


  @media screen and (min-width:770px) {
    .info h3 {
        font-size: 32px;
    }

  }
