/* fv */
#fv .container {
}


@media(max-width:1300px) {

    #fv .container {
        margin-top: 88px;
    }
    
}

/* theme */
#theme img {
    width: 90%;
    max-width: 1000px;
}

#theme .container {
    padding: 100px 0 100px;
}

@media(max-width:1000px) {
    #theme .container {
    padding: 40px 0 40px;
}
}

/* philosophy */
#philosophy {
    background-color: #F0F9FF;
    position: relative;
        margin: 0 auto;
    max-width: 1500px;
}

#philosophy .container {
    padding: 108px 0 130px;
    text-align: center;
    width: 90%;
    margin: 0 auto;
}

#philosophy h2 {
    font-size: 28px;
    line-height: 170%;
    font-weight: 700;
    margin-bottom: 2.2em;
}

#philosophy h3 {
    font-size: 20px;
    line-height: 170%;
    font-weight: 700;
    text-align: left;
    margin-bottom: 4em;
        width: 70%;
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
}

.school {
    margin-bottom: 2em;
    font-size: 16px;
    line-height: 160%;
    font-weight: 700;
    text-align: left;
    width: 70%;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.school:last-of-type {
    margin-bottom: 0;
}

.school1,
.school2,
.school3 {
    position: absolute;
    height: auto;
}

.school1 {
    left: 0;
    top: 140px;
    width: 192px;
}

.school2 {
    right: 0;
    top: 0;
    width: 202px;
}

.school3 {
    right: 0;
    bottom: 0;
    width: 330px;
}

@media(max-width:1230px) {
.school1 {
    top: 150px;
    width: 142px;
}

.school2 {
    width: 150px;
}

.school3 {
    width: 270px;
}
}

@media(max-width:1130px) {
.school1 {
    top: 40px;
}

.school2 {
    width: 150px;
}

.school3 {
    width: 270px;
}


}

@media(max-width:790px) {
.school1 {
    top: 0;
    width: 120px;
}

.school2 {
    width: 140px;
}

.school3 {
    width: 250px;
}

#philosophy .container {
    padding: 54px 0 110px;
}

#philosophy h2 {
    font-size: 24px;
}

#philosophy h3 {
    font-size: 18px;
}

.school {
    font-size: 14px;
}

#philosophy h3 {
        width: 90%;
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
}

.school {
    width: 90%;
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
}

}

@media(max-width:680px) {
.school1 {
    top: inherit;
    width: 120px;
    bottom: 0;
}

.school2 {
    display: none;
}

.school3 {
    width: 220px;
}

#philosophy h3 {
    margin-bottom: 3em;
}

#philosophy .container {
    padding: 54px 0 100px;
}

#philosophy h2 {
    margin-bottom: 1.8em;
}


}

@media(max-width:440px) {
    .school1 {
    display: none;
}


#philosophy h2 {
    font-size: 22px;
}

#philosophy h3 {
    font-size: 16px;
}

.school {
    font-size: 14px;
}
}

/* score-img-section */
#score-img-section {
    text-align: center;
    background-color: #fff;
}

.score-slider-container {
  padding-bottom: 40px;
  overflow: hidden;
}

.score-slider .slide-item {
  padding: 0 10px;
}

.score-slider img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.score-slider .slide-item {
  width: 240px !important;
  margin-right: 16px;
}

#score-slider-1 {
    margin-bottom: 35px;
}

/* オーバーレイ */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
    object-fit: contain;
    background: #fff;
}

.score-img-section .container {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
}

.carousel__viewport {
    display: none;
}

h2.section-head {
    font-weight: 700;
    text-align: center;
    font-size: 26px;
    line-height: 160%;
    position: relative;
    margin: 0 auto 100px;
    padding-top: 85px;
}

h2.section-head::before {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    content: "";
    width: 55px;
    height: 4px;
    border-bottom: 4px solid #0561A4;
}

.slider-paused {
  animation-play-state: paused !important;
  -webkit-animation-play-state: paused !important;
}

.fancybox__nav .carousel__button.is-next,
.fancybox__nav .carousel__button.is-prev,
.fancybox__container.is-animated[aria-hidden=false] .fancybox__toolbar {
    display: none !important;
}

@media(max-width:800px) {
    h2.section-head {
    font-size: 22px;
    margin-bottom: 60px;
    padding-top: 50px;
}

}

/* blog.php */
#blog-section {
    background-color: #F0F9FF;
}

.blog-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto;
    row-gap: 36px;
    column-gap: 35px;
    justify-content: space-between;
    max-width: 1000px;
    width: 90%
}

.blog-box {
    width: 100%;
    text-align: left;
    margin: 0 auto;
}

.blog-box:hover {
    opacity: 0.5;
}

.single {
    position: relative;
}

.single-img-box {
    width: 100%;
    aspect-ratio: 307/197;
}

.single-img-box .eyecatch {
    object-fit: cover;
    display: block;
    width: 100%;
    height: 100%;
}


.cat-row {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 16px;
    max-width: 1000px;
    width: 90%;
    margin: 60px auto;
}

.cat-row a {
    font-size: 18px;
    background-color: #0561A4;
    color: #fff;
    border: 1px solid #0561A4;
    font-weight: 700;
    padding: 0.1em 0.8em 0.3em 0.8em;
    transition: all .3s;
}

.cat-row a:hover {
    opacity: 0.5;
}

.blog-flex {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 10px;
    margin: 10px auto 9px;
}

.blog-date {
    font-size: 12px;
    font-weight: 700;
}

.blog-cat {
    font-size: 12px;
    font-weight: 700;
    padding: 0.15em 0.6em 0.3em 0.6em;
    color: #fff;
    background-color: #0561A4;
}

.blog-title {
    font-size: 16px;
    font-weight: 700;
    text-align: left;
    line-height: 170%;
}

.cat-row a.current {
    background-color: #fff;
    color: #0561A4;
    pointer-events: none;
}

@media(max-width:1100px) {
    .blog-row {
        justify-content: center;
        grid-template-columns: repeat(2, 1fr);
        margin: 60px auto 0;
        row-gap: 36px;
        column-gap: 20px;
    }

        .blog-box {
        width: 315px;
    }
}

@media(max-width:715px) {
    .blog-row {
        grid-template-columns: repeat(1, 1fr);
        margin: 20px auto ;
        row-gap: 45px;
        font-size: 16px;
    }

    .blog-box {
        width: 280px;
    }

    .cat-row {
        margin: 40px auto 40px;
        gap: 10px;
    }

    .cat-row a {
        font-size: 14px;
    }

    .blog-flex {
        margin: 10px auto 5px;
    }

    .slide-item {
        width: 200px !important;
    }

    .score-slider .slide-item {
  width: 160px !important;
  margin-right: 0;
    }

    #score-slider-1 {
        margin-bottom: 25px;
    }

}

.slick-track,
.slick-list {
    max-height: 250px !important;
}

#fv .fv-slider .slick-arrow,
#fv .fv-slider .slick-dots {
    display: none !important;
}

#fv .fv-slider .slick-list,
#fv .fv-slider .slick-track,
#fv .fv-slider .fv-slider {
    max-height: inherit !important;
}

#fv {
    padding-top: 123px;
}

@media (max-width: 1300px) {
    
#fv {
    padding-top: 90px;
}
}

@media(max-width:715px) {
        #score-slider-1 .slick-track, .slick-list {
        max-height: 157px !important;
    }
}