@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{
    /* 背景画像のヒーローヘッダーの設定 */
    /* 表示されるwindowの高さを100% → 100vhで設定　いわゆるヒーローヘッダーの設定 */
    height: 100vh;
    position: relative;
    /*  header .logoの位置を、header領域の四隅から自由に配置するため */
    background-color: #fff;
}
 .bxSlider li  {
    
    height: 100vh;
}
 .bxSlider li img{
    object-fit: cover;
    object-position: center 80%;
    width: 100%;
    height: 100%;
}

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内フォントの中央揃い設定 */
    z-index: 40;
    
}
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;
    /* 上下の余白適宜 */
    letter-spacing: .1em;
    /* 文字装飾適宜設定 */    
    transition: 0.3s;
    /* hoverの時のtransition設定 */
    color: #000;
    /* 文字の色適宜 */
} 

nav ul a:hover{
    background-color: #6a7072;
    color: #fff;   
    font-weight: bold;
    /* 適宜設定 */
}



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

main h2{
    font-size: 40px;
    /* フォントサイズ、40px前後で設定 */
    padding: 30px 0 40px;
    /* 上下の内側余白、30px 40px設定 */
    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(../img/bg_img.jpg);
    background-position: center;
    background-size: cover;
    z-index: -1;
    /* 擬似要素に、全画面表示の背景画像の設定と、1つ下の階層に表示させるためのz-index:-1設定 */
 }

.message p{
    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: 3/2;
    /* 設定された幅に対して比率を設定 */
}
.message ul li img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    /* タテ・ヨコ型の画像かかわらずカバーしてくれる */
}  

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

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


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

.date_item .photo{
    width: 55%;
    /* 幅、55%*/

} 
.date_item .photo p{
    aspect-ratio: 5/4;
    /* 設定された幅に対して比率を設定 */
}

.date_item .photo p img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    /* タテ・ヨコ型の画像かかわらずカバーしてくれる */
}

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

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

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

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

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

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


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

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

    /* 適宜 */
}    


/*-----------------------------------------
    F and Q - setting   
-----------------------------------------*/

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

.faq dl dt{
    padding: 20px;
    color: #000;
    font-weight: 400;
    background-color: rgba(120, 128, 133, 0.3);
    margin-bottom: 10px;
    line-height: 1.4;
    /* スマホの時、複数行になった時の対処 */
    cursor: pointer;
    transition: 0.3s;
}

.faq dl dt.changeColor{
    background-color: #333;
    color: #fff;
}
/* changeColorのクラスを追加された際の設定 */

.faq dl dd{
    padding: 5px 20px;
    line-height: 1.6;
    margin-bottom: 50px;
    display: none;
}


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

footer{
    background-color: #6a7072;
}

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


@media (width<=768px){


/*-----------------------------------------
    burger - responsive - setting   
-----------------------------------------*/

.burger{
    position: fixed;/* pof */
    top: 20px;/* t20 */
    right: 10px; /* r10 */
    width: 60px;/* w60 */
    height: 50px;/* h50 */
    border: 1px solid #000;/* bd */
    background-color: #fff;/* bgc */
    z-index: 100;/* z100 */
    /* 後にburgerより下でposition設定する要素がでるので最初から100ほどにしておく */
}

.burger span{
    position: absolute;/* poa */
    width: 80%;/* w80p */
    height: 4px;/* h4 */
    background-color: #333;/* bgc#333 */
    /* 3つのspanタテ・ヨコ中央 */
    inset: 0;
    margin: auto;
    transition: 0.2s;
}

.burger span:nth-child(1){
    top: -40%;/* t-40p */
}

.burger span:nth-child(3){
    top: 40%;/* t40p */
}

.burger.active span:nth-child(1){
    top:0;/* t0 */
    transform: rotate(45deg);
}

.burger.active span:nth-child(2){
    transform: rotate(45deg);
}

.burger.active span:nth-child(3){
    top:0;/* t0 */
    transform: rotate(-45deg);
}

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

 html{
    scroll-behavior: auto;
    /* スマホの場合、スムーズスクロールを無効にする ->  scroll-behavior: auto */
 }
    

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

 .bxSlider li img {
        object-position: 70% 80%;
    }

    header .logo{
        top: auto;
        left: 0;
        bottom: 0;
        width: 100%;
        padding: 30px 0 36px;
        text-align: center;
    /* paddingの設定 */
    }

    header .logo h1{
        font-size: 26px;
    }

    header .logo h1 span{
        font-size: 22px;
    }

/*-----------------------------------------
    nav - responsive - setting   
-----------------------------------------*/
    nav{
  
        width: 100%;/* w100p pc設定ですでに書かれているので省略可 */
        height: 100%;/* h100p */
        top: 0;/* t0  pc設定ですでに書かれているので省略可 */
        left: 100%;/* l100p */
        /* body基準で、x座標・y差表 0、0 w100p h100p で全体を覆う */
        /* ただし、x座標だけ100%にして枠外にだしておく */
        transition-duration: 0.3s;
        /* アニメーションの時間設定 */
        padding-top: 100px;
        /* レイアウトの微調整 -> pt100 */

        background-color:rgba(0, 0, 0, 0.6);
        /* 背景色設定変更 → 少し透明に */
    }

    nav.drawer{
        left: 0;/* l0 */
        /* navにdrawerクラスがついたときにx座標ga
        0に戻る */
    }

    nav ul{
        display: block;
        /* フレックスボックスの無効 */
    }

    nav ul a{
        padding: 0;
        /* aタグのブロックボックス、左右の余白、paddingで0で無効、上下の余白、line-heightで60px設定はそのまま */
        color: #fff;
        /* フォントカラー変更 */
        text-align: center;
        /* テキスト中央揃い */
    } 

/*-----------------------------------------
    message - responsive - setting   
-----------------------------------------*/    
    .message p{
        text-align: left;
    }

    .message p br.pc{
        display: none;
    }

    .message ul{
        display: block;
    }

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

    
}
/* media end */
