@charset "UTF-8";

*{
    margin: 0 ;
    padding: 0;
    box-sizing: border-box;
    /* 幅を指定した要素（タグ）にborder、paddingを設定した際に要素が広がってしまうことを防ぐため */
}

body {
    /* font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; */
    /*   上記は  各OSに適したフォントファミリー */
    /* 今回は、google fontのみ使用 */
    font-family: "Parisienne","Noto Serif JP",serif;
    /* font-weight: 400; */
    color: #222;
    /* サイト全体の文字色を定義しておく */
    line-height: 1;
    /* 文字行間のリセット */
}

ul {
    list-style: none;
    /*   liの装飾を削除する  */
}

a {
    text-decoration: none;
    /*   aタグの初期設定。aタグはでデフォルトで持っている下線を消しておく */
}

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

/*-----------------------------------------
    pc max-setting   
-----------------------------------------*/

.container {
    max-width: 1024px;
    /* 最大値、1024px それ以下可変　max-width使用 */
    margin: 0 auto;
    /* ブロック要素の中央揃い　m0ｰa */
    padding: 80px 15px 100px;
    /* 各sectionに、上80px　左右15px　下100px程度に設定 */
}




/*-----------------------------------------
    html - smooth scroll setting   
-----------------------------------------*/

html {
    scroll-behavior: smooth;
    /* PC表示の際、 cssの、scroll-behavior: smoothを設定 */
}

/*-----------------------------------------
    header - setting   
-----------------------------------------*/

header{
    background-image: url(../img2/hrader.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center ;
    /* 背景画像のヒーローヘッダーの設定 */
    height: 100vh;
    /* 表示されるwindowの高さを100% → 100vhで設定　いわゆるヒーローヘッダーの設定 */
    position: relative;
    /*  header .logoの位置を、header領域の四隅から自由に配置するため */

}

header .logo {
    position: absolute;
    /* headerの四隅からの自由な配置*/
    padding: 40px 60px 48px;
    /* paddingの設定 */
    background-color: rgba(255, 255, 255, 0.8);
    /* 背景色、#fffの透明度、0.8程度 */
    top: 30%;
    left: 40px;
    /* top、leftからの距離は適宜 */
    text-align: center;
    /* .logo内フォントの中央揃い設定 */
    
}
header .logo h1{

    font-size: 32px;
    font-weight: normal;
    /* フォントサイズ20px以上で適当 */
}

header .logo h1 span{
    display: block;
    /* spanのブロック設定 */
    font-size: 16px;
    margin-bottom: 6px;
    /* フォントサイズと、下側の文字との余白適宜設定 */
}

/*-----------------------------------------
    nav - setting   
-----------------------------------------*/

nav{
    position: fixed;
    top: 0;
    left: 0;
    /* 画面のtop:0 → y座標0 left:0 ｘ座標0 で設定  */
    width: 100%;
    /* positionを使うと親からの継承ができなくなるので、自身で幅設定。今回はwidth: 100% ; */
    background-color:rgba(255, 255, 255, 0.6);
    /* 背景色設定 → 少し透明に*/

}

nav ul{
    display: flex;
    /* liを横並びさせる display:flex */
    justify-content: center;
    /* flexでの横並び・横配置を中央寄せの設定 */
}


nav ul a{
    display: block;
    padding: 0 60px;
    line-height: 60px;
    /* aタグのブロックボックス、左右の余白、paddingで60px、上下の余白、line-heightで60px設定 */
    letter-spacing: .1em;
    /* 文字装飾適宜設定 */    
    transition: 0.3s;
    /* hoverの時のtransition設定 */
    color: #000;
    /* 文字の色適宜 */
} 

nav ul a:hover{
    background-color: #06aacb;
    color: #fff;   
    /* 適宜設定 */
}



/*-----------------------------------------
    main - setting   
-----------------------------------------*/

main h2{
    font-size: 40px;
    /* フォントサイズ、40px前後で設定 */
    padding: 20px 0 30px;
    /* 上下の内側余白、20px 30px設定 */
    text-align: center;
    font-weight: normal;
    /* 文字装飾適宜 */
}


/*-----------------------------------------
    message - setting   
-----------------------------------------*/


 .message{
    /* 教科書では各sectionごと背景色を変える設定 */
    background-color: #fff;
    /* .message::beforeの背景画像を表示させるための次のブロックへの余白 */
    margin-bottom: 400px;
} 
 .message::before{
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img2/bg_img.jpg);
    background-position: center;
    background-size: cover;
    z-index: -1;
    /* 擬似要素に、全画面表示の背景画像の設定と、1つ下の階層に表示させるためのz-index:-1設定 */
 }

.message p{
    max-width: 800px;
    /* 幅の最大値、800px設定　あまり横に長い文章は読みにくいので、短めの幅設定 */
    margin: 0 auto;
    /* 水平中央 */
    padding: 20px 0;
    /* 上下の内側余白、30px設定 */
    font-family: '"Noto Serif JP"',serif;
    /* bodyでfont-familyが設定されているが、文章中の英文字が、影響を受けるのであえて設定 */
    line-height: 2;
    /* 標準的な行間設定 → lh1.5 〜 lh2 の間 */
    text-align: center;
}
.message p:last-of-type{
    padding: 20px 0 80px;
/* .messageのpタグの最後のpタグだけpaddingの設定を変える場合の設定 */
}

.message ul{
    display: flex;
    justify-content: space-between;
    /* 横並び、両端揃い設定 */
}

.message ul li{
    width: 31%;
    /* 幅、31%設定 */
    aspect-ratio: 4/3;

}

.message ul li img{
        object-fit: cover;
        width: 100%;
        height: 100%;
}

/*-----------------------------------------
    date - setting   
-----------------------------------------*/

.date{
    /* 教科書では各sectionごと背景色を変える設定 */
    background-color: #ffffffdb;
}


.date .date_item{
    display: flex;
    /* 横並び設定 */
    padding: 30px 0;
    /* 余白上限、30px設定 */
}

.date_item .photo{
    width: 55%;
    /* 幅、55%*/
    aspect-ratio: 4/3;
} 

.deta_item .photo img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.date_item .text{
    width: 45%;
    /* 幅、45%*/
}

.date_item .text p{
    font-size: 32px;
    /* フォントサイズ、32pxほど */

    padding: 50px 30px;
    /* 上下左右の余白、50px、40pxほど */
    background-color: rgba(255, 206, 249, 0.8);
    /* 透明の背景色の設定 */
    margin-top: 300px;
    /* 外上側余白、100pxほど */
    margin-left: -80px;
    /* 左側の外側余白を、−80pxほどに設定し、左側のブロックに重ねる */
}

.date_item .text p span{
    font-size: 26px;
    /* フォントサイズ、26pxほど */
    padding: 0 10px;
    /* 余白左右、10pxほど */
}

.date_item .text p span .sp{
display: none;
}

/*-----------------------------------------
    access - setting   
-----------------------------------------*/

.access{
    /* 教科書では各sectionごと背景色を変える設定 */
    background-color: #fff;
}


.access iframe{
    width: 100%;
    padding: 30px 0;
    height: 400px;
    /* 適宜 */
    filter: grayscale(0.3);
}

.access p{
    padding: 10px 0;
    text-align: center;
    font-weight: 500;

    /* 適宜 */
}    



/*-----------------------------------------
    footer - setting   
-----------------------------------------*/

footer{
   background-color: #ffe6ff;
}

footer p{
    font-family: "Noto Serif JP",serif;
    /* 文章中の半角英数が英語のgoogle fonts の影響を受けないように */
    padding: 100px 0;
    text-align: center;
    font-size: 14px;
}

@media(width<768px){
header .logo {
    padding: 20px 30px 28px;
    /* paddingの設定 */
    background-color: rgba(255, 255, 255, 0.8);
    /* 背景色、#fffの透明度、0.8程度 */
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    
}
header .logo h1{
    font-size: 22px;
}
header .logo h1 span{

    font-size: 14px;

}
nav{

    background-color:rgba(255, 255, 255, 0.8);
   

}

nav ul a{

    padding: 0 10px;

} 

.message p{

    text-align: left;
}

.message p .pc{
    display: none;
}

.message ul{
    display: block;
}

.message ul li{
    margin-bottom: 40px;
    width: 100%;
} 

.date_item .text{
width: 50%;

}


.date_item .text p{
    margin-top: 150px;
    padding-left: 50px;

}

.date_item .text p span .sp{
display: block;
}

.date_item .photo{
display: block;
width: 100%;

}

}/* media end */
