@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;
  display: block;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/******* リセット記載終了 ******/



/* 共通 */
.container{
  max-width: 960px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
}

.wrap{
  padding: 50px 0;
}

header{
  padding: 20px 0;
}


header h1{
  font-size: 26px;
}

header p {
  padding-top: 5px;
}


.key{
  background: url(../img/header2.jpg) no-repeat left center/cover;
  max-width: 100%;
  height: auto;
  text-align: center;
  font-size: 3.5em;
  padding: 76px;
  font-family: 'Courgette', cursive;
  letter-spacing:0.08em;
  color: #fff;
  text-shadow:
  1px -1px 0 #000,
  1px -1px 0 #000,
  -1px 1px 0 #000,
  1px 1px 0 #000;
}


main {
  width: calc(100% * (600/960));
}

.side_bar{
  width: calc(100% * (300/960));
}


header,footer{
  background: #000;
  color: #fff;
}


aside ul{
  display: flex;
  margin-left: 5px;
  gap: 5px;
}

aside img{
  width: 50px;
}

/* PC用ナビゲーション */
.pcnav{
  background: linear-gradient(#777,#000);
  
}

.pcnav .container{
  background: linear-gradient(#777,#000);
  line-height: 50px;
  display: flex;
  justify-content: space-between;
}

.pcnav li{
text-align: center;  
border-left: 1px solid #fff;
width: 20%;
color: #fff;
}

.pcnav li:last-child{
border-right: 1px solid #fff;
}

.pcnav a:hover{
  background: linear-gradient(#000,#777);
}

/* スマホ用ナビゲーション */
.btn,.spnav{
  display: none;
}


/* メイン */
h2{
  font-size: 28px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

main h2{
  border-bottom: 1px solid #ccc;
  line-height: 1;
}

main img{
  border: 10px solid #0097d8;
  box-sizing: border-box;
}

h2 + p{
  font-size: 14px;
}


time{
  float: right;
  background: #0097d8;
  padding: 20px;
  border-radius: 50%;
  color: #fff;
}

main{
  line-height: 1.7;
}

main p+p{
  padding-top: 10px;
}


/* サイドバー */
.side_bar h2{
    color: #0097d8;
}

.side_bar li{
  line-height: 50px;
  text-indent: 1em;
  border-top: 1px solid #ccc;
}


.side_bar a:hover{
  background: url(../img/listmark.png) no-repeat left;
}

.side_bar section ul{
  border-bottom: 1px solid #ccc;
}

.side_bar section+section {
  margin-top:50px;
}



/* フッター */

footer{
  padding: 30px 0;
}

footer .container{
  display: block;
}

footer .container:first-child p+p{
  padding-top: 5px;
}

/* ==================================== */
/* Media Query                          */
/* ==================================== */

@media screen and (max-width:743px) {

.container {
  padding: 0 20px;
  display: block;
  }

.wrap {
  padding: 20px;
}

.btn {
  display: block;
  width: 50px;
  height: 50px;
  border: 1px solid #fff;
  border-radius: 5px;
  text-align: center;
  font-size: 35px;
  position: absolute;
  top: 5px;
  right: 5px;
  color: #fff;
  overflow: hidden;
}

.btn i {
  display: block;
  line-height: 50px;
}

.close i:first-child{
  display: none;
}

body{
  position: relative;
}

aside {
  position: absolute;
  right: 5px;
  bottom: 5px;
}


header {
  padding-block: 10px;
}

header h1 {
  font-size: 1.6em;
}

header p {
  padding-top: 5px;
  font-size: 0.8em;
}

.pcnav{
  display: none;
}

.spnav{
  position: absolute;
  top: 63px;
  width: 100%;
}

.spnav ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  line-height: 70px;
  text-align: center;  
}

.spnav ul li a {
  display: block;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
}


.key {
  background: url(../img/header2.jpg) no-repeat left center/cover;
  max-width: 100%;
  height: auto;
  text-align: center;
  font-size: 2em;
  padding: 51px;
  font-family: 'Courgette', cursive;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow:
  1px -1px 0 #000,
  1px -1px 0 #000,
  -1px 1px 0 #000,
  1px 1px 0 #000;
}

main,.side_bar {
  width: auto;
}


/* メイン */
h2 {
  font-size: 1.5em;
  padding-top: 20px;
  margin-bottom: 10px;
}

main h2 {
  border-bottom: 1px solid #ccc;
  line-height: 1;
}

main img {
  border: 10px solid #0097d8;
  box-sizing: border-box;
}

h2+p {
  font-size: 14px;
}


time {
  float: right;
  background: #0097d8;
  padding: 20px;
  border-radius: 50%;
  color: #fff;
}

main {
  line-height: 1.7;
}

main p+p {
  padding-top: 10px;
}


/* サイドバー */
.side_bar h2 {
  color: #0097d8;
  font-size: 2em;
  margin-bottom: 0;
}

.side_bar li {
  line-height: 50px;
  text-indent: 1.5em;
  border: 1px solid #ccc;
  padding-left: 10px;
  margin-bottom: 10px;

}

.side_bar li a{
  background: url(../img/listmark.png) no-repeat left;
}


.side_bar section+section {
  margin-top: 20px;
}

aside{
  position: absolute;
  right: 5px;
  bottom: 5px;
}

footer{
padding: 30px 0 65px 0;
}


}