@charset "UTF-8";


*{
    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;
    /*   ここまでフォントファミリー  各OSに適したフォントを用意しておく*/
    color: #444;
    /* サイト全体の文字色を定義しておく */
}



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


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

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

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

.container {
    max-width: 1024px;
    margin: 0 auto;
}

/*PCの情報コンテンツの最大幅の設定 ------ 各パーツでこのCSSを再利用（マルチクラス）、または流用*/


/*-----------------------------------------
    burger - setting   
-----------------------------------------*/
#burger{
    position: fixed;
    z-index: 1;
    width: 50px;
    height: 45px;
    background-color: rgb(3, 87, 52);
    right: 5%;
    top: 20px;
    transition: .4s;
}

#burger span{
    border-top: 1px solid #fff;
    position: absolute;
    width: 70%;
    margin-left: 15%;
    top: 50%;
    transition: .4s;
}

#burger span:nth-child(1){
    top: 25%;
}

#burger span:nth-child(3){
    top: 75%;
}

#burger.active{
    background-color: #f00;
}

#burger.active span:nth-child(1){
    top: 55%;
}

#burger.active span:nth-child(2){
    opacity: 0;
}

#burger.active span:nth-child(3){
    top: 45%;
}

@media (min-width:768px){
    /* #burger{
        display: none;
    } */

}








/*-----------------------------------------
    header - setting   
-----------------------------------------*/
header{
    background: url(../img/hiro.jpg) no-repeat center/cover;
    height: 100vh;
    position: relative;
}


header .logo {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

header .logo h1{
    text-align: center;
    font-size: 20px;
    padding: 30px 0 40px;
    background-color: rgba(255, 255, 255, 0.7);
    font-family: 'Josefin Slab', serif;
}

header .logo h1 span{
    display: block;
    font-size: 16px;
    margin-bottom: 3px;
}

@media (min-width:768px){
    header{
        background: url(../img/hiro.jpg) no-repeat center/cover;
        /* height: calc(100vh - 60px); */
        height:100vh;
        position: relative;
        border: 3px solid #fff;
    }
    /* 現在表示されているブラウザの高さ100％から、60ピクセル(現時点でのnavの高さ)引いた高さを表示 */

    
    header .logo {
        position: absolute;
        width: 450px;
        top: 50%;
        left: 20px;
        
    }
    header .logo h1{
        text-align: center;
        font-size: 30px;
        padding: 52px 0 65px;
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 55%;
        font-family: 'Josefin Slab', serif;
    }
    
    header .logo h1 span{
        display: block;
        font-size: 20px;
        margin-bottom: 6px;
    }
    
}

/*-----------------------------------------
    nav - setting   
-----------------------------------------*/
nav{
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgb(3, 87, 52);
    /* opacity: 0;
    transition: .4s; */
    /* margin-bottom: 20px; */
}

/* nav.nav_active{
    opacity: 1;
} */
/* ブラウザのトップで、navが、positionのfixedに変換する →　sticky */

.nav_inner{
    padding-top: 50px;
    /* height: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center; */
}
/* flexboxでの、高さ指定のたて中央の配置と、よこの右揃いの配置 */



/* .nav_inner ul{
    display: flex;
} */

.nav_inner ul a{
    display: block;
    /* padding: 0 30px; */
    text-align: center;
    line-height: 60px;
    color: #fff;
    font-weight: bold;
    /* transition: .4s; */
    letter-spacing: .1em;
    font-family: 'Josefin Slab', serif;
}

/* .nav_inner ul a:hover{
    background-color: #444;
    color: #fff;   
} */

@media (min-width:768px){
    /* nav{
        position: sticky;
        top: 0;
        left: 0;
        width: auto;
        height: auto;
        background-color: rgba(204, 204, 204, 0.5);
        margin-bottom: 20px;
        opacity: 1 !important;
    } */
    /* ブラウザのトップで、navが、positionのfixedに変換する →　sticky */
    
    /* .nav_inner{
        height: 60px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    } */
    /* flexboxでの、高さ指定のたて中央の配置と、よこの右揃いの配置 */
    
    
    
    /* .nav_inner ul{
        display: flex;
    } */
    
    /* .nav_inner ul a{ */
        /* display: block;
        padding: 0 40px;
        line-height: 60px; 
        color: #444;*/
        /* font-weight: bold; */
        /* transition: .4s; */
        /* letter-spacing: .1em;
        font-family: 'Josefin Slab', serif; */
    }
    
    /* .nav_inner ul a:hover{
        background-color: #444;
        color: #fff;   
    } */
    



/* } */


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

.main.container{
    margin: 0 auto 50px;
    padding: 0 40px;
}

@media (min-width:768px){
    .main.container{
        margin: 0 auto 70px;
        padding: 0; 
    }
}


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



.message{
    margin-bottom: 40px;
    /* 次のブロックの下側の余白設定 */

}

.message h2{
    font-family: 'Josefin Slab', serif;
    font-size: 25px;
    padding: 40px 0 25px;
    text-align: center;
}

/* ---------- h2装飾 ------------ */

.message p{
    /* width: 90%; */
    /* margin: 0 auto; */
    padding: 15px 10px;
    line-height: 1.8;
    text-align: left;
    font-family: "Sawarabi Mincho"; 
}

.message ul li{
    /* width: 31%; */
    padding: 7px;
    border: 1px solid #aaa;
    margin-bottom: 30px;
}


@media (min-width:768px){
    .message{
        padding: 60px 0;
        /* 内部リンクでの位置指定より少し余白を多めに設定 */
        margin-bottom: 40px;
        /* 次のブロックの下側の余白設定 */
    
    }
    
    .message h2{
        /* font-family: 'Josefin Slab', serif; */
        font-size: 40px;
        padding: 20px 0 30px;
        /* text-align: center; */
    }
    
    .message p{
        width: 600px;
        margin: 0 auto;
        padding: 30px 0;
        /* line-height: 1.8; */
        text-align: center;
        /* font-family: "Sawarabi Mincho";  */
    }
    
    .message ul{
        display: flex;
        justify-content: space-between;
    }
    
    .message ul li{
        width: 31%;
        margin-bottom: 0;
        /* padding: 7px;
        border: 1px solid #aaa; */
    }   
}

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

.date{
    margin-bottom: 40px;
    /* 次のブロックの下側の余白設定 */

}

.date h2{
    font-family: 'Josefin Slab', serif;
    font-size: 25px;
    padding: 40px 0 25px;
    text-align: center;
}

.date_item .text p{
    font-family: 'Josefin Slab', serif;
    font-size: 25px;
    padding: 30px 40px;
    background-color: rgba(255, 255, 255, 0.5);
    /* margin-top: 100px; */
    /* margin-left: -80px; */
    text-align:center;
    line-height: 1.7;
}

.date_item .text p span{
    font-size: 18px;
    padding: 0 10px;
}

@media (min-width:768px){
    .date{
        padding: 60px 0;
        /* 内部リンクでの位置指定より少し余白を多めに設定 */
        margin-bottom: 40px;
        /* 次のブロックの下側の余白設定 */
    
    }
    
    .date h2{
        /* font-family: 'Josefin Slab', serif; */
        font-size: 40px;
        padding: 20px 0 30px;
        /* text-align: center; */
    }
    
    .date .date_item{
        display: flex;
        padding: 30px 0;
    }
    
    .date_item .photo{
        width: 55%;
    } 
    
    .date_item .text{
        width: 45%;
    }
    
    .date_item .text p{
        font-family: 'Josefin Slab', serif;
        font-size: 40px;
        padding: 50px 40px;
        background-color: rgba(255, 255, 255, 0.5);
        margin-top: 100px;
        margin-left: -80px;
        text-align-last: left;
        line-height: 1.7;
    }
    
    .date_item .text p span{
        font-size: 26px;
        padding: 0 10px;
    }
    



}

/*-----------------------------------------
    access - setting   
-----------------------------------------*/
.access{
    margin-bottom: 40px;
    /* 次のブロックの下側の余白設定 */

}

.access h2{
    font-family: 'Josefin Slab', serif;
    font-size: 25px;
    padding: 40px 0 25px;
    text-align: center;
}

.access iframe{
    width: 100%;
    height: 30vh;
}

.access p{
    padding: 30px 0;
    line-height: 1.8;
    text-align: center;
    font-family: "Sawarabi Mincho"; 
}

@media (min-width:768px){
    .access{
        padding: 60px 0;
        /* 内部リンクでの位置指定より少し余白を多めに設定 */
        margin-bottom: 40px;
        /* 次のブロックの下側の余白設定 */
    
    }
    
    .access h2{
        /* font-family: 'Josefin Slab', serif; */
        font-size: 40px;
        padding: 20px 0 30px;
        /* text-align: center; */
    }
    
    .access iframe{
        width: 100%;
        height: 300px;
    }
    
    .access p{
        padding: 30px 0;
        line-height: 1.8;
        /* text-align: center;
        font-family: "Sawarabi Mincho";  */
    }    
}

/*-----------------------------------------
    form - setting   
-----------------------------------------*/
.form{

    margin-bottom: 40px;
    /* 次のブロックの下側の余白設定 */
    font-family: "Sawarabi Mincho"; 
    
}

.form h2{
    font-family: 'Josefin Slab', serif;
    font-size: 25px;
    padding: 40px 0 25px;
    text-align: center;
}

.form form{
    padding: 30px 0;
}

form dl dt{
    width: auto;
    margin-bottom: 10px;
    padding: 6px 0;
}

form dl dd{
    width: auto;
    margin-bottom: 25px;
}

form dd label{
    padding-right:20px;
    font-size: 20px;
}

form dd input[type="radio"]{
    margin-right: 7px;
    width: 18px;
    height: 18px;
    vertical-align: -1px;
}

form dd input[type="text"],form dd input[type="email"]{
    padding: 7px 9px;
    width: 100%;
    border: 1px solid #999;
    font-family: "Sawarabi Mincho"; 
}
form dd textarea{
    padding: 7px 9px;
    width: 100%;
    line-height: 1.7;
    border: 1px solid #999;
    font-family: "Sawarabi Mincho"; 
}

form p{
    text-align: center;
}

form p input[type="submit"]{
    padding: 20px 30px;
    background-color: #444;
    color: #fff;
    border: 1px solid #999;
}

form p input[type="submit"]:hover{
    background-color: #ddd;
    color: #444;
}

@media (min-width:768px){
    .form{
        padding: 60px 0;
        /* 内部リンクでの位置指定より少し余白を多めに設定 */
        margin-bottom: 40px;
        /* 次のブロックの下側の余白設定 */
        
    }
    
    .form h2{
        font-size: 40px;
        padding: 20px 0 30px;

    }
    
    .form form{
        width: 800px;
        margin: 0 auto;
        padding: 30px 0;
    }
    
    form dl{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        
    }
    form dl dt{
        width: 20%;
        margin-bottom: 25px;
        padding: 6px 0;
    }

    form dl dt:last-of-type{
        align-self: start;
    }
    
    form dl dd{
        width: 80%;
        margin-bottom: 25px;
    }
    
    form dd label{
        padding-right: 30px;
        font-size: 20px;
    }
    
    form dd input[type="radio"]{
        margin-right: 7px;
        width: 18px;
        height: 18px;
        vertical-align: -1px;
    }
    
    form dd input[type="text"],form dd input[type="email"]{
        padding: 9px 12px;
        width: 80%;
        border: 1px solid #999;
        font-family: "Sawarabi Mincho"; 
    }
    form dd textarea{
        padding: 7px 9px;
        width: 100%;
        font-family: "Sawarabi Mincho"; 
    }
    
    form p{
        text-align: right;
    }
    
    form p input[type="submit"]{
        padding: 20px 30px;
        background-color: #444;
        color: #fff;
        cursor: pointer;
        border: 1px solid #999;
    }
    
    form p input[type="submit"]:hover{
        background-color: #ddd;
        color: #444;
    }
    
}

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

footer{
    background-color: #ddd;
}

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



/*-----------------------------------------
    thanks.html #bg and .content - setting   
-----------------------------------------*/

#bg{
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100vh;
    display: none;
}

.content{
    max-width: 800px;
    height: 500px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background-color: #fff;
}

.content h1{
    margin: 150px 0 50px;
    text-align: center;
    font-size: 30px;
    font-family: "Sawarabi Mincho"; 
}

.content p a{
    display: block;
    max-width: 400px;
    margin: 0 auto;
    background-color: #444;
    color: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 3px;
}