.hedo-kasou{
    background: #fff;
    padding:50px 0px;
    max-width: 1200px;
    margin:0 auto;
}

.hedo-kasou img{
    max-width: 30vw;
}

.body-1100{
    max-width: 1100px;
    background: #e2e2e3;
    margin:0 auto;
    padding:50px;
}
.body-11002{
    max-width: 1200px;
    margin:0 auto;
    padding:0;
}

.body-11002 img{
    max-width: 100%;
    margin:0 auto;
    padding:0;
}
.body-11002 .tateno-kj{
    max-width: 900px;
    margin:90px auto 20px auto;
    padding:0;
}

.body-11002 .tateno-kj2{
    max-width: 900px;
    margin:20px auto 90px auto;
    padding:0;
}


.gyararimmk{
    margin:30px 0 50px 15px;
}

.gyararimmk img {
    max-width: 277px;
}

.navbar {
    background-color: #2d2661;
    padding: 10px 0;
    text-align: center;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-list li {
    color: white;
    font-size: 14px;
}
.nav-list li a{
    color: white;
    text-decoration-line:none;
}


.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 20px;
}

.image-item {
    position: relative;
    text-align: left;
    font-size:12px;
}

.image-item img {
    width: 100%;
    height: 200px; /* 固定の高さに設定して、縦長や横長の写真を同じ大きさに表示 */
    object-fit: cover; /* 画像をフィットさせる */
    cursor: pointer;
}

#myModal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: visibility 0s, opacity 0.5s linear; /* フェードイン効果を追加 */
}

#myModal .modal-content {
    position: relative;
    width: 80%;
    max-width: 700px;
    background-color: #fff;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#myModal .modal-image {
    max-width: 100%;
    max-height: 80vh;
}

#myModal .caption {
    color: #333;
    text-align: center;
    padding: 10px 0;
}

#myModal .close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #333;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

#myModal .prev, #myModal .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

#myModal .next {
    right: 0;
    border-radius: 3px 0 0 3px;
    background: #ccc;
}

#myModal .prev {
    left: 0;
    border-radius: 3px 0 0 3px;
    background: #ccc;
}


.body-cont1100{
    max-width: 1100px;
    margin:0 auto;
    padding:0 50px;
}

.gurando-komento{
    margin:0 auto;
    text-align: center;
}

.gurando-komento img{
    max-width: 35vw;
}

.gurando-guro{
	display: flex;
	justify-content: center;
	align-items: center;
    gap: 30px;
}
.gurando-guro .itm img{
    max-height: 60px;
}
.gurando-guro .itm2 img{
    max-height: 75px;
}

.tateno-kjkk{
    margin:50px 0;
}
.naka-kkk {
    text-align: center;
    margin: 45px 0;
}
.naka-kkk p {
    text-align: center;
    font-size: 120%;
    letter-spacing: 0.3rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
}


@media screen and (max-width: 1200px) {
    .gurando-guro {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 92%;
        margin:0 auto;
    }

    .gurando-guro .itm img{
        max-height: 33px;
    }
    .gurando-guro .itm2 img{
        max-height: 52px;
    }
    .tateno-kj {
        margin: 105px 15px 20px 15px;
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    .gurando-komento img {
        max-width: 85vw;
    }
    .gurando-guro .itm{
        display: flex;
        justify-content: center;
        align-items: center;;
    }
    .gurando-guro .itm2{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .body-11002 .tateno-kj {
        margin: 90px 15px 20px 15px;
        padding: 0;
    }
    .body-11002 .tateno-kj2 {
        margin: 20px 15px 20px 15px;
        padding: 0;
    }
.image-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
}
.body-1100 {
    max-width: 1100px;
    background: #e2e2e3;
    margin: 0 auto;
    padding: 50px 10px;
}
.hedo-kasou img {
    max-width: 60vw;
}
.gyararimmk img {
    max-width: 180px;
}
.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px 10px;
}
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.hedo-kasou {
    background: #fff;
    padding: 20px 10px;
    max-width: 1200px;
    margin: 0 auto;
}
.gyararimmk {
    margin: 30px 0 20px 15px;
}
}
@media screen and (max-width: 440px) {
    .naka-kkk p {
        text-align: center;
        font-size: 3.2vw;
    }
    }
@media screen and (min-width: 400px) {
    .yajirusi p{
        font-size:16px;   
    }
}

@media screen and (max-width: 400px) {
    .tateno-kj {
        margin: 75px 15px 20px 15px;
        padding: 0;
    }
    .yajirusi p{
        font-size:14px;   
    }
    .gurando-guro .itm img{
        max-height: 28px;
    }
    .gurando-guro .itm2 img{
        max-height: 42px;
    }
}