@charset "utf-8";

/**********リセット**********/
*{
padding: 0;
margin: 0;
}

body{
  font-family: sans-serif;
  line-height: 1;
}

ul{
  list-style: none;
}

a{
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/**********リセット終了**********/

/**********共通*************/
.container{
  width: 960px;
  display: flex;
  margin: 0 auto;
  justify-content: space-between;
}

.wrap{
padding: 50px 0 70px 0;
}

/**********共通終了*************/


header {
  background:#39c;
  display: flex;
  padding: 20px 0;
  color: #fff;
}

header .container{
align-items: flex-end;
}

h1{
  background: url(../img/logo.png) no-repeat left center/30px auto;
  padding-left:33px;
  font-size: 30px;
  text-shadow: #000 2px 2px 2px;
}


nav ul{
  display: flex;
  gap:10px;
  color: #fff;
}
nav a:hover{
  color: #ff0;
  text-decoration: underline;
}


.key{
  background: url(../img/whale1.jpg) no-repeat center/cover;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  padding: 100px 0;
  line-height: 1.6;
  text-shadow: #000 2px 5px 2px;
}

/*******メイン ********/
main section{
  overflow: hidden;
}

main section+section{
  margin-top: 20px;
}

main img{
  float: left;
  margin-right: 10px;
}

.icon{
  padding: 0 10px;
  color:#ff0;
}

main h2{
  background: #39c;
  color: #fff;
  padding: 10px 0;
  margin-bottom: 20px;
}

main{
width: calc(100%*(610/960));
}

main p+p{
  margin-top: 10px;
}

main .more{
  background: #f50;
  color: #fff;
  float:right;
  padding: 5px 8px 5px 0;
  border-radius: 5px;
}

/*******メイン終了 ********/


/******サブ *********/
.sub_bar{
  width: calc(100%*(300/960));
}

section p{
  line-height: 1.5;
}

.sub_bar section+section {
  margin-top: 30px;
}

.sub_bar h2{
color: #39c;
border-left: 24px solid #39c;
padding-left: 6px;
margin-bottom: 15px;
}

.sub_bar ul{
border-bottom: 1px solid rgb(144, 144, 144);
}


.sub_bar li{
  line-height: 40px;
  border-top: 1px solid rgb(144, 144, 144);
}

.sub_bar ul a{
padding-left: 30px;
}

.sub_bar ul a:hover{
  background: #cef url(../img/logo.png) no-repeat left 5px center/20px auto;
  display: block;
}

dt{
  padding-left: 30px;
  font-weight: bold;
  color: #a00;
  margin-bottom: 5px;
}

dd{
  padding-left: 30px;
  text-decoration: underline;
  line-height: 1.5;
  margin-bottom: 20px;
}

/******サブ終了 *********/

/******フッター *********/
footer{
  background: #39c;
  text-align: center;
  padding: 20px 0;
  color: #fff;
}
/******フッター終了 *********/