@charset "utf-8";

body{
    margin: 0;
}


/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

header{
background: midnightblue;
}

/*メニューバー*/
#logo{
display:inline;
width:3em;
}

.menubar {
  list-style: none;
  overflow: hidden;
    display: block;
}

.menubar li {
  width: 14%;
  text-align: center;
  background-color: midnightblue;
  float: left;
  height: 50px;
  line-height: 50px;
  margin-right: 2px;
  color: white
}

.menubar li a {
display: block;
text-decoration: none;
color: #fff;
}

.menubar li:hover{
background-color: #002b99;
transition: 1s;
}

.honbun{
    max-width: 50em;
    display:inline;
}

.bunsho{
    max-width: 45em;
	text-align: left;
}

h1 {
  /*線の種類（二重線）太さ 色*/
  border-bottom: double 5px #434da2;
    max-width: 30em
}

h2 {
  border-bottom: solid 3px #cce4ff;
  position: relative;
}

h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #5472cd;
  bottom: -3px;
  width: 20%;
}

h3 {
  padding: 0.25em 0.5em;/*上下 左右の余白*/
  color: #494949;/*文字色*/
  background: transparent;/*背景透明に*/
  border-left: solid 5px #7db4e6;/*左線*/
  margin-bottom: 4px
}

body {
	color: #222222;
	margin: 0px;
	padding: 0px;
	font: 20px
	YuGothic,
	'Yu Gothic', 
	sans-serif;
	font-weight: 500;
}

main{
text-align: center;
}

.sad{
    font: 100px
}

.kyocho{
    font-weight: 700;
    background: linear-gradient(transparent 60%, #a0d8ef 60%);
}

.gazou{
    max-width: 40em;
    text-align: center;
}

.url{
    font-size: 13
}

.modoru{
    font-size:1.3em;
    letter-spacing: 7px;
    display: inline-block;
    padding: 0.2em 0.8em 0.2em 1.1em;
    text-decoration: none;
    color: #26499d;
    border: solid 2px #26499d;
    border-radius: 5px;
    transition: .1s;
    margin:15px;
}

.modoru:hover {
    background: #26499d;
    color: #ffffff;
}

.text-button {
  display: block;
  cursor: pointer;
  width: 160px;
  text-align: center;
  border: 1px solid #232323;
}



/*これ以降スマホ*/
@media screen and (max-width:750px){

header {
  padding:1em;
  background: midnightblue;
}

#nav-drawer {
position: relative;
}


/*アイコンのスペース*/
#nav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 6px;
    background: #fff;
    display: block;
    content: '';
    cursor: pointer;
}
#nav-open span:before {
    bottom: -8px;
}
#nav-open span:after {
    bottom: -16px;
}

/*閉じる用の薄黒カバー*/
#nav-close {
    display: none;/*はじめは隠しておく*/
    position: fixed;
    z-index: 99;
    top: 0;/*全体に広がるように*/
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
}

/*中身*/
#nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;/*最前面に*/
    width: 70%;/*右側に隙間を作る*/
    height: 100%;
    background: #fff;/*背景色*/
    transition: .3s ease-in-out;/*滑らかに表示*/
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);/*左に隠しておく*/
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
    display: block;/*カバーを表示*/
    opacity: .5;
}

#nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);/*中身を表示*/
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
}
    
.menubar li {
  width: 80%;
  margin: 3px
    }