@charset "UTF-8";

/*-----------------------------------------
    custom property
-----------------------------------------*/
:root {
    --color-blue: #262931;
    --color-blue-tr: #26293100;
    --color-blue-tr1: color-mix(in srgb, var(--color-blue), var(--color-blue-tr) 30%);
    --color-blue-tr2: color-mix(in srgb, var(--color-blue), var(--color-blue-tr) 60%);
    --color-blue-tr3: color-mix(in srgb, var(--color-blue), var(--color-blue-tr) 90%);

    --color-gray: #e7e6eb;
    --color-gray-tr: #e7e6eb00;
    --color-gray-tr1: color-mix(in srgb, var(--color-gray), var(--color-gray-tr) 30%);
    --color-gray-tr2: color-mix(in srgb, var(--color-gray), var(--color-gray-tr) 50%);
    --color-gray-tr3: color-mix(in srgb, var(--color-gray), var(--color-gray-tr) 90%);
    
    --color-gold: #d4c580;
    --color-gold-tr: #997f0900;
    --color-gold-tr1: color-mix(in srgb, var(--color-gold), var(--color-gold-tr) 40%);
    --color-gold-tr2: color-mix(in srgb, var(--color-gold), var(--color-gold-tr) 60%);
    --color-gold-tr3: color-mix(in srgb, var(--color-gold), var(--color-gold-tr) 90%);

}

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

body {
    /* font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif; */
    font-family: 'Prata', Arial,'Shippori Mincho', serif;
    /*   ここまでフォントファミリー  各OSに適したフォントを用意しておく*/
    background-color: var(--color-blue);
    color: var(--color-gray);
    /* サイト全体の文字色を定義しておく */

}

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


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

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

button, input {
    border: 0;
    background-color: transparent;
}

/*-----------------------------------------
    common-setting   
-----------------------------------------*/

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 80px 0 100px;
}
section > .container > h2 {
    position: relative;
    margin: 1em 0;
    text-transform: capitalize;
    letter-spacing: 0.03em;
    font-family: 'Prata', serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--color-gold);
}
section > .container > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    margin-inline: auto;
    width: 2em;
    height: 1px;
    background-color: var(--color-gold);
}


/*-----------------------------------------
    burger - setting   
-----------------------------------------*/
/* ハンバーガーボタンの細かな設定は、各自お任せします */
#burger{
    position: fixed;
    z-index: 3;
    width: 60px;
    height: 50px;
    background-color: transparent;
    right: 5%;
    top: 20px;
    transition: .3s;
    cursor: pointer;
    /* position 固定、および固定位置、幅・高さ・背景色等の設定 */
}

#burger span{
    position: absolute;
    width: 70%;
    height: 3px;
    background-color: var(--color-gold);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    transition: .3s;
    /* 親要素(#burger)からの、absoluteでの位置（水平・垂直中央）設定、および幅・高さ・背景色・CSSアニメーションの時間設定 */
}

#burger span:nth-child(1){
    top: -35%;
    /* spanの1番目の縦中央からのマイナス位置設定 */
}

#burger span:nth-child(3){
    top: 35%;
    /* spanの３番目の縦中央からのプラス位置設定 */
}

#burger.active span:nth-child(1){
    top: 0;
    transform: rotate(140deg);
    /* #burgerに.activeが設定された場合、その1番目のspanの位置や、回転（rotate）の設定*/
}

#burger.active span:nth-child(2){
    opacity: 0;
    /* #burgerに.activeが設定された場合、その2番目のspanのの設定*/
}

#burger.active span:nth-child(3){
    top: 0;
    transform: rotate(-140deg);
    /* #burgerに.activeが設定された場合、その3番目のspanの位置や、回転（rotate）の設定*/
}


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

header{
    background-image: url(../img/hero_2.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    height: 100vh;
    position: relative;
    /* ヒーローヘッダー表示のために、高さ100vhの設定、および背景画像の全画面の表示の設定と、子要素.logoの自由な位置に配置するための親要素のrelative宣言 */
}

header .logo {
    position: absolute;
    top: 50%;
    left: 0;
/* 親要素(header)基準に自由に位置配置(absolute)する設定 */
}

header .logo h1{
    padding: 52px 40px 56px;
    text-align: center;
    letter-spacing: 0.03em;
    font-size: 36px;
    font-weight: 400;
    color: var(--color-gold);
    background-color: var(--color-blue-tr1);
    /* 文字装飾に関しては、適宜設定 */
}

header .logo h1 span{
    display: block;
    margin-bottom: 6px;
    font-size: 20px;
    /* 文字装飾に関しては、適宜設定 */
}


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

nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-gray);
    z-index: 2;
    padding-top: 100px;     
    display: none;
    /* navを、position 固定で全画面表示のための設定。＊幅・高さ100%、位置、top・left：0、背景色適宜 */
}



nav ul a{
    display: block;
    padding-block: 12px;

    line-height: 70px;
    text-align: center;
    letter-spacing: 0.04em;
    font-size: 1.5em;
    color: var(--color-blue-tr1);
    transition: .4s;
    /* 文字装飾に関しては、適宜設定 */ 
}

nav ul a:hover{
    background-color: var(--color-gold-tr1);
    color: var(--color-blue);
    /* ホバー時の文字装飾に関しては、適宜設定 */ 
}


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

.message{
    margin-bottom: 500px;
    /* 次のブロックの下側の余白設定することで背景画像がその間から見える設定 */
    background-color: var(--color-blue);
    /* 背景画像が見えないように背景色の設定 */
}

.message::before{
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url(../img/parallax_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
    /* 擬似要素に、全画面表示の背景画像の設定と、1つ下の階層に表示させるためのz-index:-1設定 */
}

.message h2{
    font-size: 40px;
    padding: 20px 0 30px;
    text-align: center;
    /* 文字装飾に関しては、適宜設定 */ 
}

.message p{
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0 60px; 

    line-height: 1.7;
    text-align: center;
    font-size: 16px;
    /* 文字装飾に関しては、適宜設定 */ 
}

.message ul{
    display: flex;
    justify-content: space-between;
    /* 子要素の横並び、全幅使用の均等配置設定 */
    margin: 0 40px;
}

.message ul li{
    width: 31%;
    margin: 0;
    /* 枠線付の3カラム設定 */
    position: relative;
    z-index: 1;
}

.message ul li img {
    width: 100%;
}

.message ul li::after {
    content: '';

    position: absolute;
    top: 6px;
    left: 6px;
    z-index: -1;

    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gray-tr2);
}


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

.date{
    background-color: var(--color-blue);
    /* 背景画像が見えないように背景色の設定 */
}

.date h2{
    font-size: 40px;
    padding: 20px 0 30px;
    text-align: center;
    /* 文字装飾に関しては、適宜設定 message h2と同じ設定 */ 
}

.date .date_item{
    display: flex;
    margin: 0 40px;
    padding: 30px 0;
    /* 子要素の横並び設定 */
}

.date_item .photo{
    width: 55%;
    /* 横配置子要素の幅指定 */
} 

.date_item .text{
    width: 45%;
    position: relative;
    z-index: 1;
    /* 横配置子要素の幅指定 */
}

.date_item .text p{
    position: relative;
    z-index: 1;

    margin-top: 100px;
    margin-left: -80px;
    padding: 50px 36px;

    text-align: center;
    line-height: 1.7;
    letter-spacing: 0.05em;
    font-size: 36px;
    font-weight: 400;
    background-color: var(--color-gold-tr1);
    color: var(--color-gray);
    
}

.date_item .text p::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: -1;

    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gray-tr1);
}

.date_item .text p span{
    font-size: 26px;
    padding: 0 10px;
    /* 文字装飾適宜 */
}


/*-----------------------------------------
access - setting   
-----------------------------------------*/
.access{
    background-color: var(--color-blue);
    /* 背景画像が見えないように背景色の設定 */
}

.access h2{
    font-size: 40px;
    padding: 20px 0 30px;
    text-align: center;
    /* 文字装飾に関しては、適宜設定 message h2と同じ設定 */ 
}

.access iframe{
    position: relative;
    width: 100%;
    height: 300px;
    /* iframeの埋め込み 幅100％、高さ適宜 */
    filter: 
        grayscale(100%);
    transition: filter 250ms 0ms linear;
}

.access iframe:hover {
    filter: none;
}

.access p{
    padding: 30px 0;
    text-align: center;
    line-height: 1.8;
    font-size: 16px;
}

/*-----------------------------------------
    Q and A - setting   
-----------------------------------------*/

.qaa{
    background-color: var(--color-blue);
    /* 背景画像が見えないように背景色の設定 */    
}

.qaa h2{
    text-transform: initial;
    font-size: 40px;
    padding: 20px 0 30px;    
    text-align: center;
    /* 文字装飾に関しては、適宜設定 message h2と同じ設定 */ 
}

.qaa dl{
    /* 幅の最大値、800px、以下可変 */
    max-width: 800px;
    /* ブロック幅指定の中央配置 */
    margin: 0 auto;
}

.qaa dt{
    /* 文字装飾適宜 */
    position: relative;
    margin-bottom: 10px;
    padding: 20px 0 18px 15px;

    letter-spacing: 0.05em;
    font-size: 20px;
    color:var(--color-gray);
    border: 1px solid var(--color-gray-tr2);

    cursor: pointer;
    transition: .3s;
}

.qaa dt.active{
    background-color: var(--color-gold-tr1);
    /* .activeが追加された際の背景色 */
}

.qaa dt::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    left: 90%;

    width: 16px;
    height: 1.5px;
    background-color: var(--color-gray);
}
.qaa dt::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    left: 90%;

    width: 16px;
    height: 1.5px;
    background-color: var(--color-gray);

    transform: rotate(90deg);
    transition: .3s;
}
.qaa dt.active::after {
    width: 0;
    opacity: 0;
}


.qaa dd{
    /* デザイン、適宜　最初は非表示 */
    margin-bottom: 40px;
    padding: 0 15px;
    line-height: 1.7;
    letter-spacing: 0.03em;
    font-family: 'Shippori Mincho', serif;
    font-size: 18px;
    display: none;
}



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

footer{
    background-color: var(--color-gold);
    color: var(--color-blue);
}

footer p{
    padding: 50px 0;
    text-align: center;
    font-size: 14px;
}


/*-----------------------------------------
    modal - setting
-----------------------------------------*/
#modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;

    width: 100%;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #0008;
    visibility: hidden;
    opacity: 0;

    transition: all .5s 0s linear;
}

#modal.active {
    visibility: visible;
    opacity: 1;
}

#modal .modal-text {
    position: relative;
    width: 60%;
    padding: 80px 60px;

    background-color: #eee;
    user-select: none;
}

#modal .modal-text p {
    text-align: left;
    line-height: 1.8em;
    font-family: sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    color: var(--color-blue);
}

#modal .modal-text p:nth-of-type(2) {
    position: relative;
    text-align: center;
    line-height: 2.5em;
    font-size: 1.6em;
    font-weight: 700;
    color: var(--color-blue);
}

#modal .modal-text p:nth-of-type(2)::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    transform: translateY(85%);

    width: 11em;
    height: 12px;
    background-color: var(--color-gold-tr1);
}

#modal .modal-text .close {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(-50%) translateY(50%);
    width: 40px;
    height: 40px;
}

#modal .modal-text .close span {
    position: absolute;
    inset: 0;
    margin: auto;


    width: 80%;
    height: 2px;
    border-radius: 2px;
    background-color: var(--color-blue);
}
#modal .modal-text .close span:first-of-type {
    transform: rotate(45deg);
}
#modal .modal-text .close span:last-of-type {
    transform: rotate(-45deg);
}


/*-----------------------------------------
    RESPONSIVE (SP: under 768px)
-----------------------------------------*/

@media (max-width: 768px) {

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

    .container {
        padding: 10px 20px 20px;
    }

    section > .container > h2 {
        font-size: 28px;
    }


    /*-----------------------------------------
        nav - setting   
    -----------------------------------------*/
    
    #burger {
        width: 44px;
        height: 40px;
    }
    
    #burger span {
        height: 2px;
    }
    #burger.active span:nth-child(1) {
        transform: rotate(135deg);
    }
    #burger.active span:nth-child(3) {
        transform: rotate(-135deg);
    }


    /*-----------------------------------------
        header - setting   
    -----------------------------------------*/
    header{
        height: 60vh;
        position: static;
    }
        
    header .logo {
        position: static;
    }
    
    header .logo h1{
        height: 15vh;
        text-align: center;
        font-size: 22px;
        padding: 20px 0 30px;
    }

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


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

    nav ul a {
        padding-block: 8px;
        font-size: 1.2em;
    }

    
    /*-----------------------------------------
    message - setting   
    -----------------------------------------*/
    
    .message{
        margin-bottom: 360px;
    }

    .message::after {
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center top;
    }

    .message p {
        font-size: 13px;
    }
    
    .message ul{
        display: block;
    }
    
    .message ul li{
        width: auto;
        margin-bottom: 60px;
    }
    
    .message p br.pc {
        display: none;
    }

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

    .date .date_item{
        flex-flow: column-reverse nowrap;
    }

    .date_item .photo{
        width: auto;
        margin: 60px 0 0;
    } 

    .date_item .text{
        width: auto;
        position: static;
        z-index: auto;
    }

    .date_item .text p{
        margin: 0;
        padding: 40px 16px;

        line-height: 1.4;
        text-align: center;
        font-size: 26px;
    }


    /*-----------------------------------------
        access - setting   
    -----------------------------------------*/
    .access p{
        font-size: 13px;
    }

    /*-----------------------------------------
        qaa - setting   
    -----------------------------------------*/
    .qaa dt {
        font-size: 16px;
    }

    .qaa dd {
        font-size: 13px;
        letter-spacing: 0.06em;
    }
    
    /*-----------------------------------------
        footer - setting   
    -----------------------------------------*/

    footer p{
        font-size: 12px;
        line-height: 1.5em;
    }
}