@charset "UTF-8";

h2.heading-photo {
    font-family: "Lora", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    text-align: center;
    letter-spacing: 0.15em;
    margin-top: 100px;
    margin-bottom: 20px;
    color: #2D9830;
}

p.under-head {
    font-size: 14px;
    text-align: center;
    margin-bottom: 40px;
}

/* モバイル表示でのモーダルの上端が見切れていたのを調整 */
.modal-content {
    margin-top: 400px;
}

/* グレースケールフィルターを削除 */
.filter {
    filter: none;
}
/* モーダル内の画像のアスペクト比を16:9に修正 */
.modal-content img {
    width: 450px;
    aspect-ratio: 16 / 9;
  }

/* 説明を入れる写真たち */
ul.photo-col2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-col2 li {
    margin-bottom: 20px;
}

div.col2{
    display: inline-block;
}

.modal-btn img {
    width: 400px;
    aspect-ratio: 16 / 9;
    /* margin-right: 20px; */
  }

h3 {
    font-family: "Lora", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    text-align: center;
    letter-spacing: 0.15em;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #2D9830;
}

p.comment {
    font-size: 16px;
}

/* 説明を入れない写真たち */
ul.photo-col3{
    display: flex;
    flex-direction: column;
    align-items: center;
}

div.col3{
    /* display: inline-block; */
    margin-top: 30px;
    margin-bottom: 20px;
}

img.normal-photo{
    width: 250px;
    height: auto;
}

@media(min-width: 768px) {
    ul.photo-col2 {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    ul.photo-col3 {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .photo-contents:last-child{
        margin-right: 0px;
    }

    .modal-body {
        flex-direction: column;
    }
    .photo-ul {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }
    /* モバイル用に上の余白を開けていたのでPC用に戻す */
    .modal-content {
        margin-top: 100px;
    }
    /* コメントだけ左寄せ */
    h3.comment-head {
        text-align: left;
    }

    img.normal-photo{
        margin-top: 100px;
        
    }
    img.normal-photo:hover {
        transform: scale(1.3);
    }
    
    div.col2 {
        margin-top: 50px;
    }
}

/* .twentytwenty-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.twentytwenty-container img {
    display: block;
    max-width: 100%;
    height: auto;
  } */

  .twentytwenty-container {
    width: 400px;
    }
    @media  (min-width: 768px){
        .twentytwenty-container {
        width: 600px;
        height: 400px;
        margin-left: 170px;
        }
        div.comment-container {
            width: 800px;
        }

    }