body{
    position:  relative;        /* 子要素の起点を指定 */
    background-attachment: fixed;
    min-height: 100vh;
    height: auto;
    width:100vw; /*ページ全体の幅は100%と指定する*/
    /* clip-path: inset(0 0); クリッピング */
    overflow-x:hidden; /* ページはみ出たら見せない */
    font-family: 'Hiragino Mincho ProN','ヒラギノ明朝 ProN','Hiragino Mincho Pro','ヒラギノ明朝 Pro',serif;
    z-index: 1;
    background-color:#ffffff; 
    margin: 0;
    font-size: 25px;
}
.pasokon{
    position: absolute;
    top: 0;
    left: 0;
}
.main{
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 20px 0;
}
.flex_box{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}
.top_text{
    margin: 10px;
    text-align: center;
}
.popup{
    width: 100%;
    position: relative;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
}
.text{
    color: rgb(0, 0, 0);
    font-size: 26px;
    transition: .5s;
}
.text_hover{
    color: blue;
    font-size: 30px;
}
.pic_box{
    height: 30vh;
    position: relative;
}
.pic_slide{
    display: flex;
    align-items: center;
    top: 0;
    width: 100%;
    height: 100%;
}
.slide_in{
    position: absolute;
    animation: slide_show_in 30s linear forwards;
}
.slide_out{
    position: absolute;
    animation: slide_show_out 30s linear forwards;
}
@keyframes slide_show_in {
    0%{
        left:100%;
    }
    100%{
        left:0%;
    }
}
@keyframes slide_show_out {
    0%{
        left:0%;
    }
    100%{
        left: -100%;
    }
}
img{
    width: 20%;
    max-height: 100%;
}
.close{
    font-size: 32px;
}
.back{
    font-size: 32px;
    width: 30%;
    text-align: center;
    border: 1px solid;
    margin: 5px auto;
    transition: 0.5s;
    background-color: white;
    color: black;
    cursor: pointer;
}
.back:hover{
    background-color: black;
    color: white;
}
.more_dis_in{
    display: flex;
    background-color: white;
    width: 94%;
    flex-wrap: wrap;
    padding: 3%;
}.more_dis_out{
    background-color: white;
    width: 94%;
}
.kokoni_title{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.pic_many{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.pic_many img{
    width: 100%;
    animation: pic_in_anime 1.5s ease-in-out forwards;
    cursor: pointer;
}
@keyframes pic_in_anime {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.tate{
    display: flex;
    flex-direction: column;
}
.detail_box{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    height: 90%;
    padding: 10px;
    background: rgb(255, 255, 255);
    z-index: 990;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.img_div{
    width: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.detail_box img{
    width: 40%;
    margin-left: 25%;
}
.close_btn{
    position: absolute;
    top: 0; right: 0;
    margin-right: 16px;
    font-size: 64px;
    cursor: pointer;
}
.test{
    display: flex;
    flex-direction: column;
    color: black;
    justify-content: center;
}
.one_of_pic{
    width: 20%;
    height: auto;
    position: relative;
}
.where_from{
    position: absolute;
    top: 0;right: 0;width: 90%;
    font-size: 16px;
    background-color: rgba(0, 0, 0,0.5);
    color: white;
}.title{
    font-size: 32px;
    margin: 5px;
}.content{
    padding: 5px 1rem;
}
.link_modoki{
    color: blue;
    cursor: pointer;
}
.link_modoki:hover{
    color: purple;
}
@media screen and (max-width: 1300px){  
    .text{
        font-size: 20px;
    }.text_hover{
        font-size: 24px;
    }.close_btn{
        font-size: 48px;
    }.where_from{
        font-size: 12px;
    }
}
@media screen and (max-width: 600px){
    /* スマホの時 */
    body{
        position:  relative;        /* 子要素の起点を指定 */
        background-attachment: fixed;
        min-height: 100vh;
        margin: auto;
        width:100%; /*ページ全体の幅は100%と指定する*/
        clip-path: inset(0 0); /* クリッピング */
        overflow-x:hidden; /* ページはみ出たら見せない */
        font-family: 'Hiragino Mincho ProN','ヒラギノ明朝 ProN','Hiragino Mincho Pro','ヒラギノ明朝 Pro',serif;
        z-index: 1;
        background-color:#e2df92; 
        margin: 0;
        font-size: 5px;
    }
    .main_title{
        font-size: 19px;
        margin: 0;
    }
    .main_mini_title{
        font-size: 17px;
        white-space: pre;
    }
    .problem_title{
        color: #4448d7;
        font-size: 24px;
    }
    .open{
        width: 100%;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        transform: scale(0.5);
    }
    .exp_img{
        width: 25%;
        height: auto;
        position: absolute;
        left: 2%;
    }
    .exp_phone{
        height: 70vh;
    }
    .exp_text{
        margin-top: 20px;/*追加*/
        width: 60%;
        
        font-size: 15px;
        line-height: 1.8rem;
        text-align: left;
    }
    .top_text{
        margin-top: 200px;/*追加*/
        width: 60%;
        height: 80vh;/*追加*/
        font-size: 12px;
        line-height: 1.8rem;
        text-align: left;
    }
    .link_page{
        width: 150px;
        height: auto;
        border: 1px #333 solid;
        display: flex;
        justify-content: center;
        padding: 1rem;
        transition: 0.5s;
        font-size: 14px;
        color: black;
        text-decoration: none;
        margin: 20px;
    }
    .dis_1{
        width: 100%;
        height: 75vh;
        position: relative;
        overflow: hidden;
    }
    .dis_2{/*変更・追加*/
        display: none;
    }
    .scroll_bar{
        display: none;
    }
    div{
        font-size: 15px;
    }
    .link_page{
        width: 150px;
        height: auto;
        border: 1px #333 solid;
        display: flex;
        justify-content: center;
        padding: 1rem;
        transition: 0.5s;
        font-size: 14px;
        color: black;
        text-decoration: none;
        margin: 20px;
    }
    footer{
        display: none;
    }
}

.item_none{
    display: none;
}
