@charset "uft-8";

*{
    margin: 0;
    padding: 0;
    line-height: 1;
    box-sizing: border-box;
}
li{
    list-style: none;
}
img{
    vertical-align: bottom;
}
/* html */
body{
    background-color: #016f78;
}
/* header */
.header{
    background: url(../img/hero.webp) no-repeat center/cover;
    height: 100vh;
/* vh：見てる端末の高さを数値してして表示　100vhだと100％になる（端末によって高さを変えてくれる） */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 90px;
}
.title{
    background-color: rgba(30, 30, 30, 0.25);
    text-align: center;
    padding: 40px 60px;
    color: #fff;
}
h1{
    margin-bottom: 10px;
    font-size: 36px;
    font-weight: 700;
}
.title p{
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
}
/* main */
.container{
    /* border: 1px solid #000; */
    width: 940px;
    margin: 0 auto 60px;
    text-align: center;
}

h2{
    width: 500px;
    text-align: center;
    font-size: 26px;
    font-weight: 500;
    margin:0 auto 20px;
    padding: 5px;
    color: #fff;
    background-color: rgba(30, 30, 30, 0.2);
    box-shadow: 0px 0px 20px -5px #02989a;
    border-radius: 5px;
}
.container img{
    margin-bottom: 30px;
    align-items: center;
    border-radius: 5px;
    box-shadow: 0px 0px 20px -5px #e2f7fc; border-radius: 5px;
}
.container ul{
    display: flex;
    justify-content: center;
    gap: 32px;
}
.container li{
    width: 50%;
    /* リストの箱のサイズを統一させる */
    background-color: #02989a;
    padding: 20px;
    box-shadow: 4px 4px 0 #3fb3b5;
}
.container li div{
    margin: 0 auto;
}
h3{
    font: size 24px;
    margin-bottom: 20px;
    padding: 6px 24px;
    background-color: #005b5c;
    color: #fff;
}
.container li p{
    font-size: 16px;
    line-height: 1.4;
    text-align: justify;
    color: #fff;
}
/* footer */
.footer{
    background-color: #016f78;
    color: #fff;
}
.footer{
    text-align: center;
    background-color: #004c45;
    padding: 60px 0;
}

@media (max-width:500px){
    h1{
        font-size: 24px;
    }
    .title p{
        font-size: 14px;
    }
    .main{
        padding: 0 30px;
    }
    .container{
        width: 100%;
    }
    .container ul{
    display: block;
    }
    .container li{
        width: 100%;
    }
}
/* 500px以下のモニタサイズの時、表示サイズを変える */
/* @mediaは一番下にまとめて書くのが一般的だけど、変更したい場所ごとに複数書いてもいい（後で変更するときは全部変えなくちゃいけないので若干不便） */

/* imgタグを使わないで画像を入れる（入れたい画像のサイズがバラバラの時便利）
index.htmlであらかじめクラスを指定しておく
.main_photo{
    height: 120px;
}
.pic01{
    background: url(〇〇) no-repeat center/cover
}
.pic02{
    background: url(□□) no-repeat center/cover
} */