@charset 'utf-8';

*{margin: 0;padding: 0;line-height: 1;box-sizing: border-box; font-size: 16px;}
body {
font-family: "Noto Sans JP", serif;
font-weight: 400;
font-style: normal;
/*   ここまでフォントファミリー  各OSに適したフォントを用意しておく*/
color: #555;
/* サイト全体の文字色を定義しておく */
letter-spacing: 0.05em;
/* サイト全体の文字間を定義しておく */

}
li {
list-style-type: none;
/*   liの装飾を削除する 　ul:list-style: none;　でも同じこと */
}
a {
text-decoration: none;
/*   aタグの初期設定。aタグはでデフォルトで持っている下線を消しておく */
}

img{
max-width: 100%;
/* 親要素以上に大きくならない */
vertical-align: bottom;
/* imgは、文字と同等扱いなので、必ず下部に余白（デセンダー）が出来てしまうのを防ぐ。他の防ぐ方法としてインライン要素をブロック要素に変える方法もあり */
}
/* reset and initial */

.container{
    position: absolute;
    max-width: 800px;
    /* height: 500px; */
    inset:0;
    margin: auto;
    background-color: #fff;
    padding: 50px;
    z-index: 1;
    overflow: scroll;
    font-family: "Roboto", serif;
}
#bg{
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100vh;
    display: none;
}

h1{
    line-height: 25px;
    text-align: center;
    font-size: 25px;
    margin-bottom: 20px;

}

h2{
    font-size: 20px;
    line-height: 22px;
    padding-left: 5px;
    border-left: 4px solid #333;
    width: 90%;
    margin: 20px auto 0;
}



.content p.photo{
    text-align: center;
    padding: 20px 40px;
}

.content p.txt{
    line-height: 1.7;
    padding: 0 40px 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.content dl{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap:20px 0;
    padding: 20px 40px;
    font-size: 14px;
}

.content dt{
    width: 30%;
}
.content dd{
    width: 70%;
    font-family: "Cormorant Garamond", serif;
    font-weight: bold;
    font-size: 16px;
}


.content p.link{
    width: 70%;
    margin: 50px auto 20px;
    height: 60px;
}

.content p.link a{
    display: block;
    line-height: 60px;
    text-align: center;
    background-color: #444;
    color: #fff;
    border-radius: 10px;
    box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0.4);
    
}

.content p.link a:hover{
    background-color: #ddd;
    color: #444;
    transform: translate(6px,6px);
    box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, 0);

}

.text_area{
    width: 90%;
    margin: 20px auto 0;
    line-height: 1.6rem;
}

.text_area ul li{
    text-decoration: dashed;
    margin-bottom: 20px;
}

.text_area li h4{
    margin-bottom: 20px;
}
.text_area li p{
    padding-left: 20px;
    line-height: 1.6rem;
    margin: 4px;
}



@media (max-width:768px){
    .container{
        padding: 20px;
    }

    .content p.photo {
        padding: 20px;
    }

    .content p.txt{
        padding: 20px;
    }

    .content dl{
        padding: 20px;
    }
    
    .content p.link{
        width: auto;
        margin-bottom: 200px;
    }

    .content p.link a{
        display: block;
        line-height: 45px;
        text-align: center;
        background-color: #444;
        color: #fff;
        border-radius: 10px;
        
        }

}
