@charset "utf-8";



/*
Base style
*/

body{
    font-family: "Noto Sans JP","Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}


label, input, textarea, select, button { /*カーソルが指マークになります*/
    cursor: pointer;
}

button{
    border: 0;/*元々ついていたボタンの光沢を消す*/
}


/*gridというコンポーネントを作りたいと思います
※コードを書くうえでひとまとまりの部品のことを『コンポーネント』と呼ぶことがある。*/
/*
grid
*/
.grid{
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.grid-item{
    list-style: none;
}
/*「>」は小要素にするという意味*/
.grid-col-2 >.grid-item{
    width: 50%;
}
.grid-col-3 >.grid-item{
    width: 33.3%;
}
.grid-col-4 >.grid-item{
    width: 25%;
}

@media screen and (max-width: 768px) {
/*スマホやタブレットの場合横並びにしなくてもいいのでdisplay: block;をする*/
    .grid{
        display: block;
    }
    .grid-col-2 >.grid-item,
    .grid-col-3 >.grid-item,
    .grid-col-4 >.grid-item{
        width: 100%;
        margin: 20px 0;
    }
}


/*
section
*/
.section{
    padding: 30px 15px;
}

.section.section-secounday{
    background: #efefef;
}

.section-headline{
    text-align: center;/*中央よせ*/
    font-size: 40px;
    font-weight: bold;/*太字にする*/
    margin: 0 0 40px;/*「ショートハンド」top,right,bottomをこの一行で指定できるやり方*/
}


.section-button{
    margin: 40px 0 0;
    text-align: center;
}
@media screen and (max-width: 768px){
    .section{
        padding: 50px 10px;
    }
    .section-headline{
        font-size: 25px;
        margin: 0 0 20px;
    }
    .section-button{
        margin: 40px 0 0;
    }
}

/*
header
*/
.header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;/*左右にだけ15px*/
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
}
.header-logo{
    margin: 0;
}
.header-logo > a {
    margin: 10px 0;
    display: block;
    color: transparent;/*ロゴの背景を透明にする*/
}


/*.header-nav{}*/
.header-navlist{
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*.header-navitem{}*/
.header-navitem > a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid transparent;/*ここでnav下の線を作っておくがtransparentで線の色を透明にしておく*/
    transition: border-color .25s;
}
.header-navitem > a:hover{
    border-bottom: 2px solid #333;/*カーソルを持っていくと下に線が入るようにするコード*/
}
@media screen and (max-width: 768px){
    .header{
        font-size: 10px;
    }
    .header-logo > a > img {
    
        height: 45px;
        width: 50px;
    }

}
/*
hero
*/
.hero{
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;/*いらない部分をカット*/
}
.hero > strong{
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);/*このコードを入れることによって上で指定した50％ずらしたものを戻してあげることによって真ん中にすることができる*/
    padding-left: 50px;
    line-height: 5rem;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    color: #fff;
    display: block;
    width: 100%;
}
.hero > video {
    position: absolute;
    z-index: 1;
    width: auto;
    height: 105%;
/*どちらも100%にしてしまうと元動画の大きさが足りていないとき横に変に隙間ができて白い余白が入って
しまうことがあるので横幅は縦に通じるようにautoにし高さはあえて大きめに設定して100%よりも大きい
105％にしてあげる*/ 
       
}
.hero-particles {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
}
@media screen and (max-width: 768px) {
    .hero > strong{
        font-size: 17px;
        text-align: center;
        padding: 0;
        line-height: 4rem;
    }
}

/*
about
*/
.about{
    margin: 0;
    padding-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    line-height: 2rem;
}

.about-image2{
    border-radius: 50%;
    overflow: hidden;
}
.about-caption{
    padding-left: 40px;/*画像と文字の間を開ける*/
}

/*.about-description{}*/
@media screen and (max-width: 768px) {
    .about{
        display: block;
    }
    .about-image{
        max-width: 100%;
        height: 260px;
        margin-bottom: 10px;
    }
    .about-image2{
        margin-left: 40px;
        width: 300px;
        height: 400px;
    }

    .about-headline{
        font-size: 20px;
        text-align: center;
    }
    .about-description{
        margin-top: 30px;
        margin-right: 40px;
    }
}

.comment{
    background: #ffe7d1;
    margin-bottom: 50px;
}


/*
feature
*/
.feature{
    text-align: center;
    padding: 0 15px;
}
.feature-headline{
    font-weight: bold;
    margin: 0 0 20px;
}
.feature-img{
    margin: 0 0 20px;
}
.feature-description{
    margin: 0;
    text-align: left;/*text-align(一部分だけを右寄せや左寄せなどをしたいときに使う）*/
}

/*
card
*/
.card{
    padding: 0 10px;
}
.card-link{
    display: block;/*htmlで箱要素になっているのでblockを入れる*/
    color: #333;/*リンクの文字色は勝手に青色に変換されるのでここで色を変えることもできる*/
    text-decoration: none;/*リンク下に入るアンダーラインを消す*/
    position: relative;
    transition: background-color .25s;/*プロパティが変化するまでの時間を設定*/
}

.card-link:hover{
    background-color: #eee;
}



.card-imge{
    width: 100%;/*横幅はいっぱいに広げてあげたいので100%*/
    height: auto;/*高さの比率は守って欲しいときに使う*/
}
.card-info{
    padding: 5px 10px;
}
/*.card-time{}*/
.card-headline{
    margin: 10px 0;
}
.card-description{
    margin: 0;
    font-size: 14px;
    line-height: 2rem;
}



@media screen and (max-width: 768px){
    .card-headline{
        font-size: 23px;
    }
    .card-info{
        padding: 30px 0 30px 0;
    }
}

/*
avator
*/
.avator{
    display: flex;
    flex-direction: row-reverse;/*順番を反転させる（画像やテキストの順番を反転させることができる）*/
    align-items: center;
    justify-content: start;/*右に寄ってしまっているものを左に寄せる*/
    padding: 10px;
}
.avator-name{
    font-weight: bold;
    padding-left: 15px;/*画像と名前の間を開ける*/
}
.avator-image{
    margin: 0;
}

/*
button
*/
.button{
    display: inline-block;
    color: #fff;
    font-weight: bold;
    background-color: #a68260;
    text-align: center;
    padding: 15px 60px;/*inline要素だからこそpaddingを上下に与えることができる*/
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 5px 5px 0 #bbb;/*影*/
    transition: box-shadow.25s;
}

.button:hover{
    box-shadow: 0 0 0 #bbb;
}

.button.button-submission{
    background: #92d3ca;
}


/*
.select, .input, .radio, .textarea
*/

.select{
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    min-width: 500px;
}
.input{
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    min-width: 500px;
}
.radio{
    margin: 0 10px;
}
.textarea{
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    min-width: 500px;
    min-height: 100px;
}
@media screen and (max-width: 768px){
    .select,
    .input,
    .textarea{
        min-width: auto;/*上のselect,input,textareaにかかっているmin-width: 500px;がスマホ、タブレットにはいらないのでautoで特に儲けないという設定にする*/
        width: 100%;/*横幅が小さすぎると見た目が良くないのでwidth: 100%;で綺麗にしてあげる*/
    }
}





/*
footer
*/
footer{
    background-color: #8d6c4d;
    color: #fff;
}
/*.footer-map{
    margin: 0;
    padding: 40px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}*/
.footer-map > iframe {
    width: 60%;
}
.footer-mapinfo {
    padding: 25px 0 25px 0;
    line-height: 2rem;

}
.footer-maplogo{
    font-size: 20px;
    text-align: center;

}

.footer-maplogo > h5 {
    margin: 0;
    padding-bottom: 10px;
}



.footer-mapaddress{
    font-style: normal;/*アドレススタイルで書くと文字スタイルが斜めになってしまうのでフォントスタイルノーマルで直してあげる*/
    text-align: center;
    font-size: 13px;
}
.footer-mapaddress > a{
    color: #fff;
    /*text-decoration: none; GooglMap下のアンダーラインを消したい場合は入れる*/
    padding-left: 8px;
}
.footer-line{
    border-color: #967354;
}
.footer-copy{
    display: block;/*スモールタグがインライン要素なのでディスプレイブロックをして横幅をいっぱいにしてあげてからからテキストアラインセンターをしてあげる*/
    text-align: center;
    padding: 10px;
}
@media screen and (max-width: 768px){
    /*.footer-map{
        padding: 15px;
        display: block;
    }*/
    .footer-map > iframe {
        width: 100%;
        height: 200px;
    }
    .footer-mapinfo {
        width: 100%;
        text-align: center;
    }
}