@charset "UTF-8";

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

body {
    font-family: "Oswald", "Noto Sans JP", sans-serif;
    /*   ここまでフォントファミリー  googlefontからの英文と、日本語を設定  */
    color: #333;
    /* サイト全体の文字色を定義しておく */
}

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

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

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

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

.container {
    max-width: 1024px;
    /* 最大値、1024px それ以下可変　max-width使用 */
    margin: 0 auto;
    /* ブロック要素の中央揃い　m0ｰa */
    padding: 80px 20px 100px;

}
.access .container {
    /* .accessの中の.containerだけ幅を設定せず、幅ほぼ目一杯見せたいなどの場合の例外を作る際の設定 */
     max-width: none;
    /* 幅の指定の無効（初期化） */
    padding: 80px 10px 100px;

}

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


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


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


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


header{
    background-image: url(../img/hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center ;
    height: calc(100vh - 70px); 
    /* 背景画像のヒーローヘッダーの設定 */
    /* PC表示の際、navの高さの領域を引いた高さに設定 */
    position: relative;
    /*  header .logoの位置を、header領域の四隅から自由に配置するため */

}

header h1{
    position: absolute;
    /* width: 300px; */
    padding: 20px 40px;
    background-color: rgba(255, 255, 255, 0.6);
    /* 背景色、#fffの透明度、0.4程度 */
    top: 50%;
    left: 40px;
    /* top、leftからの距離は適宜 */
}

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

nav{
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    /* ブラウザのトップで、navが、positionのfixedに変換する →　sticky */
    background-color: #222;
}

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

nav ul a{
    display: block;
    line-height: 70px;
    padding: 0 60px;
    color: #fff;
    font-weight: 400;
    transition: .3s;
    /* hoverの時のtransition設定 */
} 

nav ul a:hover{
    color: #444;   
    background-color: #eee;    
    /* 適宜設定 */
}



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

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

main h3{
    font-size: 22px;
    border-left: 4px solid #444;
    padding:4px 6px;
    margin-bottom: 10px;
    background-color: #eee;

}


/*-----------------------------------------
    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-size: cover;
    background-position: center;
    z-index: -1;
    /* 擬似要素に、全画面表示の背景画像の設定と、1つ下の階層に表示させるためのz-index:-1設定 */
 }

 .message p{

    text-align: center;
    line-height: 2;
    margin-bottom: 15px;
    font-weight: 400;
}

.message p:last-of-type{
    margin-bottom: 100px;
/* .messageのpたぐの最後のpタグだけpaddingの設定を変える場合の設定 */
}

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

.message ul li{
    width: 31%;
    /* 幅、31%設定 */
}   

/*-----------------------------------------
    voice - setting   
-----------------------------------------*/

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


.voice ul{
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.voice li{
    width:28%;
    /* 幅、28%*/
} 

.voice li img{
    border-radius: 50%;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.voice .photo{
    margin-bottom: 10px;
    aspect-ratio: 1/1;
}

.voice .text{
    line-height: 1.8;
    padding: 0 10px;
}

.voice a{
    display: block;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    padding: 20px 0;
    background-color: #222;
    color: #fff;
    border-radius: 20px;
    transition: 0.3s;
}

.voice a:hover{
    color: #222;   
    background-color: #eee;  
    border: 1px solid #000;
}
/*-----------------------------------------
    access - setting   
-----------------------------------------*/

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


.access iframe{
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
    /* 適宜 */
}

.access p{
    padding: 10px 0;
    text-align: center;
    font-weight:400;
    /* 適宜 */
}    


/*-----------------------------------------
    news - setting   
-----------------------------------------*/

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


.news dl{
    display: flex;
    /* dt dd  横並び */
    justify-content: space-between;
    /* 両端揃い */
    align-items: center;
    /* dtの高さをline-heightで縦中央揃いに設定、ddもそれに合わせて、縦配置設定 */
    flex-wrap: wrap;
    /* 折り返し設定 */
    gap: 25px 0;
    margin-bottom: 20px;
    /* 送信ボタンとの余白を作るため */
}
.news dl dt{
    width: 20%;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    background-color: #222;
}

.news dl dd{
    width: 80%;
    padding-left: 20px;
    line-height: 1.6;
}





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

footer{
    background-color: #222;
}

footer .footer_logo{
    padding: 70px 0;
    text-align: right;
    font-size: 14px;
    color: #fff;
}


@media (width<768px){


/*-----------------------------------------
    hamburger-button - setting   
-----------------------------------------*/
.burger{
    position: fixed;
    top: 20px;
    right: 10px;
    width: 50px;
    height: 40px;
    border: 1px solid #999;
    cursor: pointer;
    background-color: #fff;
    z-index: 1;
}

.burger span{
    position: absolute;
    width: 80%;
    height: 4px;
    background-color:#333;
    inset: 0;
    margin: auto;
    /* inset:0 margin:autoで水平・垂直中央 */

}

.burger span:nth-of-type(1){
    top: -40%;
    transition: 0.2s 0.1s;
}
.burger span:nth-of-type(2){
    transition: 0.2s 0.1s;
}

.burger span:nth-of-type(3){
    top: 40%;
    transition: 0.2s 0.2s;
}
/* 19行 〜 52行までがハンバーガーボタン遅延の基本形 */

/* small setting */
.burger.small span:nth-of-type(1){
    top: 0;
    width: 50%;
}
.burger.small span:nth-of-type(2){
    width: 50%;
}
.burger.small span:nth-of-type(3){
    top: 0;
    width: 50%;
}

/*-----------------------------------------
    header - responsive - setting   
-----------------------------------------*/
header{
    background-position: right -100px top 80px ;
    /* 使っている画像に合わせて調整 */
    height:100vh; 
    /* 背景画像のヒーローヘッダーの設定 */
    /* スマホの場合、navが隠れているので、高さ100vhに設定 */
}



header h1{
    position: static;
    width: 100%;
    padding: 20px 0;
    background-color: #fff;
    text-align: center;
    /* レスポンシブ対応原則 */
    /* position:static → positionの無効、または初期化 */
    /* width:100% or auto → widthの無効、または初期化 */
    /* あとは微調整 */
}

/*-----------------------------------------
    nav - responsive - setting   
-----------------------------------------*/
nav{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%;
    transition: 0.3s;
    /* left:100% で枠外に出して表示させさせない */
    background-color: rgba(34, 34, 34, 0.8);
    /* スマホの場合に背景色を少し透明に */
}

nav.drawer{
    left: 0;
}

nav  ul{
    display: block;
    /* flexでの横並び解除*/
    padding-top: 80px;
    /* バーガーボタンより下にメニューが出たほうが良いので */

}
nav ul a{
    line-height: 100px;
    padding: 0 ;
    /* pcの時のpadding設定を無効 */
    text-align: center;

    /* hoverの時のtransition設定 */
} 


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

.message p{
    text-align: left;
}

.message ul{
    display: block;
    /* レスポンシブ対応原則 */    
    /* display:flex → display:block フレックスボックスの無効、 */
}

.message ul li{
    width: 100%;
    /* width:100% or auto → widthの無効、または初期化 */
    margin-bottom: 60px;
   /* 微調整 */
}  

/*-----------------------------------------
    voice - responsive - setting   
-----------------------------------------*/
.voice ul{
    display: block;
    /* レスポンシブ対応原則 */    
    /* display:flex → display:block フレックスボックスの無効、 */    
}

.voice li{
    width:100%;
    /* width:100% or auto → widthの無効、または初期化 */    
    margin-bottom: 60px;
    /* 微調整 */
}

/*-----------------------------------------
    news - responsive - setting   
-----------------------------------------*/
.news dl{
    display: block;
    /* レスポンシブ対応原則 */    
    /* display:flex → display:block フレックスボックスの無効、 */       
}
.news dl dt{
    width: 100%;
    /* width:100% or auto → widthの無効、または初期化 */       
    margin-bottom: 10px;
    /* 微調整 */    
}

.news dl dd{
    width: 100%;
    /* width:100% or auto → widthの無効、または初期化 */      
    margin-bottom: 30px;
    /* 微調整 */      

}

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

footer .footer_logo{
    text-align: center; 
    /* 微調整 */   
}


}
/* media end */