@charset "UTF-8";

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

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

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

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

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

/*-----------------------------------------
    .container - setting   各sectionの内側の共通設定 → 
-----------------------------------------*/

.container {
    max-width: 1024px;
    /* 最大値、1024px それ以下可変 max-width使用 → ma1024 */
    margin: 0 auto;
    /* ブロック要素の中央揃い m0ｰa */
    padding: 80px 15px 100px;
    /* 上80px 左右15px 下100pxの設定 左右の余白はスマホ対応 → p80-15-100  */
    
}
.access .container {
    /* .accessの中の.containerだけ幅を設定せず、幅ほぼ目一杯見せたいなどの場合の例外を作る際の設定 */
    max-width: none;
    /* 幅の指定の無効（初期化）max-width: none; → man */

}

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

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


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


header{
    height: calc(100vh - 50px); 
    /* PC表示の際、navの高さの領域を引いた高さに設定 (100vh - 50px) 引き算の場合必ず半角スペースを入れること *コンピュータがハイフンと間違う */
    position: relative;
    /*  header h1の位置を、header領域の四隅から自由に配置するため position: relative; → por */
    
}

header > img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position:0 30%;
    /* ヒーローヘッダーの設定 header内の直imgだけに有効 header > img */
}

header h1{
    position: absolute;
    /* poa */
    /* absoluteすると幅・高さがなくなるので、中にある画像の幅・高さに依存する */
    padding: 10px;
    /* p10 画像との内側余白設定 */
    background-color: rgba(255, 255, 255, 0.6);
    /* bgc */
    /* 背景色、#fffの透明度、0.4程度 */
    top: 20%;
    left: 40px;
    /* top、leftからの距離は適宜 */
    border: 2px dashed #03841b;
    /* bd そのあと微調整 2px dashed  */
    border-radius: 50%;
    /* h1の中にある画像も円にしているので合わせて */
    /* width: 30%; */
    /* aspect-ratio: 5/4; */
    width: 300px;
}

header h1 img{
    /* object-fit: cover; */
    /* width: 100%; */
    /* height: 100%; */

    border: 2px dashed #03841b;
    /* bd そのあと微調整 2px dashed  */
    border-radius: 50%;

    /* bdrs50p */

}

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

nav{
    position: sticky;
    /* po その後stickyを設定 */
    top: 0;
    left: 0;
    /* t0 l0 */
    /* ブラウザのトップで、navが、positionのfixedに変換する → sticky */
    background-color: #03841b;
    z-index: 100;
    /* 今後positionを使った要素が出てくるので、一つ一つz-indexをあげるのは面倒で最初からz100とすることが多い */
}

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


nav ul a{
    display: block;
    line-height: 50px;
    /* line-heightに単位（px）設定すると、指定された高さの文字中央揃いになる */
    padding: 0 60px;
    /* p0-60 aタグの左右の余白 */
    color: #fff;
    /* c#fff */
    font-weight: 400;
    /* fw400 */
    transition: .3s;
    /* hoverの時のtransition設定 */
} 

nav ul a:hover{
    color: #03841b;   
    background-color: #f5ea53;    
    /* 適宜設定 */
}



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

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

main h2 span{
    display: block;
    /* db */
    font-size: 18px;
    /* fz18 */
    padding: 10px 0;
    /* p10-0 */
}

main h3{
    font-size: 18px;
    border-left: 4px solid #03841b;
    padding:10px 8px;
    margin-bottom: 10px;
    background-color: #f5ea53;

}


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


 .message{
    /* 教科書では各sectionごと背景色を変える設定 */
    background-color: #e0f9b4;
    /* .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タグだけのmargin-bottom設定を変える */
}

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

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

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

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

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


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

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

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

.voice .photo img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.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: #03841b;
    color: #fff;
    border-radius: 20px;
    transition: 0.3s;
}

.voice a:hover{
    color: #03841b;  
    background-color: #f5ea53;  
    border: 1px solid #03841b;
}
/*-----------------------------------------
    access - setting   
-----------------------------------------*/

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


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

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


/*-----------------------------------------
    qaa - setting   
-----------------------------------------*/

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

.qaa dl dt{
    padding: 20px;
    color: #fff;
    background-color: #03841b;
    margin-bottom: 10px;
    /* ddが日表示されたとき次のdtとの下側余白を設定 → mb10 */
    cursor: pointer;
    /* dtがクリックされやすいようにpointer設定 cup → cursor: pointer; */
    transition: .3s;    
}

.qaa dl dd{
    padding: 5px 20px;
    line-height: 1.6;
    margin-bottom: 50px;
    display: none;
    /* jQueryでdtがクリックされたとき表示するので、最初は隠しておく */
}





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

footer{
    background-color: #03841b;
    position: relative;
    width: 100%;
    height: 200px;
}

.footer_container{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset: 0;
    margin: auto;
    padding: 30px 0;
    font-size: 20px;
    color: #fff;
}
.footer_container p{
    padding-right: 10px;
}


.footer_container p img{
    width: 140px;
    height: 140px;
    /* padding-right: 50px; */
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;

}



@media (max-width:768px){

/*-----------------------------------------
    header - responsive - setting   
-----------------------------------------*/
    .burger{
        position: fixed;
        top: 20px;
        right: 10px;
        width: 60px;
        height: 50px;
        border: 1px solid #000;
        z-index: 150;
    }
    .burger span{
        position: absolute;
        width: 80%;
        height: 4px;
        background-color: #000;

        /* 親がpositionの時の子要素縦・横中央 */
        inset: 0;
        margin: auto;
        transition: 0.3s;
    }
    .burger span:nth-child(1){
        top: -40%;
    }
    .burger span:nth-child(3){
        top: 40%;
    }
    .burger.active span:nth-child(1){
        transform: rotate(45deg);
        top: 0;
    }
    .burger.active span:nth-child(2){
        transform: rotate(45deg);
        top: 0;
    }
    .burger.active span:nth-child(3){
        transform: rotate(-45deg);
        top: 0;
    }



header > img{
    object-position: 50% ;
    /* ヒーローヘッダーの設定 header内の直imgだけに有効 header > img */
}

header h1{

    top: 50%;
    left: 50%;
    /* top、leftからの距離は適宜 */
    transform: translateX(-50%);


}


/*-----------------------------------------
    nav - responsive - setting   
-----------------------------------------*/
nav{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%;
    padding-top: 100px;
    transition: 0.3s;
}
nav.drawer{
    left: 0;
}
nav ul{
    display: block;
}

nav ul a{
    /* padding: 0 20px; */
    /* p0-20 aタグの左右の余白 */
    text-align: center;

} 


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

.message ul{
    display: block;

}

.message ul li{
    width: 100%;
    padding: 10px 10px 60px
    
} 

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

.voice ul{
    display: block;
    margin-bottom: 40px;    
}

.voice li{
    width:100%;
    padding: 10px 10px 60px

} 

/*-----------------------------------------
    access - responsive - setting   
-----------------------------------------*/
.access iframe{
    height: 250px;
}

/*-----------------------------------------
    footer - responsive - setting   
-----------------------------------------*/
footer .footer_logo{
    text-align: center;
}

}
/* media end */


