@charset "utf-8";
/* CSS Document */
body {
font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
}
.h1{
font-weight: normal;
font-size: 1.5rem;
line-height: 2rem;
margin: 0;
}
.h3{
border-left: 5px solid #226383;
padding-left: 1rem;
line-height: 2rem;
font-size: 1.5rem;
color: #696969;
margin: 0;}
.wrap{
width: 100%;
max-width: 1000px;
margin: 0 auto;
}
.inner{
width: 90%;
margin: 0 auto;
}
.head{
width: 100%;
margin: 0 auto;
text-align: right;
}
header{
width: 100%;
position: relative;
background-image: url("../img/margaret.jpg");
background-size:cover;
background-position: top 50px left 0px;
background-repeat: no-repeat;
height: 600px;
}
header h2{
position: absolute;
background:rgba(255,255,255,0.80);
color: #226383; 
top: 50%;
left: 0;
padding: 50px 1rem;
line-height: 3rem;
text-align: center;
}
.head,
footer{
padding: 1rem 0;
background: #226383;
color: #fff;
}
footer{
width: 100%;
height: 100px;
}
#news{
background: #FFF;
}
.news{
width: 90%;
padding: 50px 0;
margin: 0 auto;
}
.btn_flex{
width: 90%;
margin: 50px auto;
}
.btn_item{
display: inline-block;
box-sizing: border-box;
line-height: 45px;
text-align: center;
width: 350px;
height: 45px;
color: #fff;
background: #226383;
border-radius: 25px;
}
.btn_item2{
display: inline-block;
box-sizing: border-box;
line-height: 45px;
text-align: center;
width: 350px;
height: 90px;
color: #fff;
background: #226383;
border-radius: 25px;
}
.btn_item:first-of-type{
margin-bottom: 50px;
}
.btn_item2:first-of-type{
margin-bottom: 50px;
}
.btn_item:hover{
opacity: 0.5;
}
.btn_item2:hover{
opacity: 0.5;
}
.box{
width: 90%;
padding: 50px 0;
margin: 0 auto;
}
.link{
text-decoration: none;
color: white;
}
#news dl{
line-height: 3rem;
margin: 0;
border-bottom: 2px dotted #696969;
}
#news dl:first-of-type{
margin-top: 25px;
border-top: 2px dotted #696969;
}#news dl dt,
#news dl dd{
color: #696969;
}
#news dl dt{
width: 200px;
display: inline-block;
}
#news dl dd{
display: inline-block;
}
@media (min-width: 501px) {
header{
background-size:cover;
}
.btn_flex{
display: flex;
justify-content: space-between;
gap: 5px;
}
}
@media (max-width: 500px) {
.h1{
text-align: center;
}
header{
background-size: contain;
height: 300px;
}
header h2{
font-size: 1rem!important;
top: 100px;
padding: 1rem;
line-height: 2rem;
}
.btn_flex{
display: block;
}
}