body {
    background: #f0f8ff;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #0083B0, #f0f8ff);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #0083B0, #f0f8ff); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
	margin: 0;
}
 
.container {
    width: 90%;
    height: 50px;
    text-align: right;
    vertical-align: middle;
    background-color: darkblue;
    color: aliceblue;
    margin: 5px;    
}
 
.first-sentence {
    font-weight: bold;200
    margin: 5px 0px 0px 20px;
    padding: 0.1em 0.3em;
	border-left: 10px solid yellow;
    background-color: lightyellow;
	box-shadow:0px 1px 1px 0px rgba(0,0,0,0.4);
}

.content_title {
	padding: 0.1em 0.3em;
	border-left: 10px solid #1E88E5;
	border-bottom: 3px solid #B0BEC5;
    margin: 5px 0px 0px 5px;

}

.footer_title {
	padding: 0.1em 0.3em;
	border-left: 10px solid orange;
	border-bottom: 3px solid gray;
    margin: 5px 0px 0px 5px;
}

.mgr-20{
    margin-left : 20px;
}

.mgr-40{
    margin-left : 40px;
}

.mgr-top{
    margin-top : 60px;
}

.link{
    width: 95%;
    max-width: 800px;
    text-align: left;
    background-color: lightcyan;
    box-shadow: 10px 10px 10px 10px rgba(0,0,0,0.4);
    margin: auto;
}

.link li{
       font-size: 1em;
       padding: 10px;
       margin-top: 0px;
       margin-bottom: 0px;
}


.about {

    align-content: center
}

.about img{
    width: 95%;
    max-width: 800px;
    align-content: center
}

/* 以下メニュー表示用(https://lopan.jp/css-animation-drawer/)参照　*/
.contents {
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
#navTgl:checked ~ .contents {
	transform: translateX(250px);
}

/* :::::: toggle button :::::: */
#navTgl {
	display: none;
}
label {
	cursor: pointer;
	position: fixed;
	top: 0;
	left: 0;
}
.open {
	z-index: 2;
	width: 48px;
	height: 48px;
	background: lightSeaGreen;
	transition: background .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.open::before,
.open::after {
	content: "";
}
.open span,
.open::before,
.open::after {
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	left: 30%;
	width: 40%;
	border-bottom: 2px solid white;
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.open::before {
	transform: translateY(-8px);
}
.open::after {
	transform: translateY(8px);
}
.close {
	z-index: 1;
	width: 100%;
	height: 100%;
	pointer-events: none;
	transition: background .6s;
}
#navTgl:checked + .open {
	background: indianRed;
	transform: translateX(250px);
}
#navTgl:checked + .open span {
	transform: scaleX(0);
}
#navTgl:checked + .open::before {
	transform: rotate(45deg);
}
#navTgl:checked + .open::after {
	transform: rotate(-45deg);
}
#navTgl:checked ~ .close {
	pointer-events: auto;
	background: rgba(0,0,0,.3);
}

/* :::::: drawer menu :::::: */
.menu {
	z-index: 1;
	position: fixed;
	overflow: auto;
	top: 0;
	left: 0;
	width: 250px;
	height: 100%;
	margin: 0;
	padding: 10px;
	box-sizing: border-box;
	background: rgba(0,0,0,.6);
	transform: translateX(-100%);
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.menu h2,
.menu a {
	color: white;
}
.menu h2 {
	text-align: center;
}
.menu ul {
	margin: 0;
	padding: 0;
}
.menu li {
	font-size: .8em;
	line-height: 1.4;
}
.menu li:not(:first-child) {
	border-top: 1px solid rgba(255,255,255,.6);
}
.menu a {
	display: block;
	padding: 1em 2em;
	text-decoration: inherit;
	transition: background .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.menu a:hover {
	background: black;
}
#navTgl:checked ~ .menu {
	transform: none;
}

/* :::::: header :::::: */
header {
	box-sizing: border-box;
	text-align: center;
}
header .logo {
	margin: 0;
	color: #553969;
	font-weight: 900;
	line-height: 80px;
	letter-spacing: .1em;
}
header {
	position: relative;
	margin-bottom: 40px;
}



/* :::::: nav :::::: */
header nav {
	max-width: 647px;
	margin: 0 auto;
}
header nav ul {
	display: flex;
	width: 100%;
	margin: 0;
	padding: 0;
	font-size: .8em;
	text-align: center;
	white-space: nowrap;
}
header nav li {
	display: flex;
	flex-basis: 20%;
}
header nav li:not(:first-child) {
	border-left: 1px solid rgba(0,0,0,.1);
}
header nav li a {
	flex-grow: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1em;
	color: white;
	text-decoration: inherit;
	background: lightSeaGreen;
	transition: background .3s;
}
header nav li a:hover {
	background: indianRed;
}

/* :::::: change mechanism :::::: */
header nav {
	overflow: hidden;
	transition: height .6s cubic-bezier(0.215, 0.61, 0.355, 1), opacity .6s;
}
@media screen and (min-width: 768px) {
	.open {
		transform: translateY(-100%);
	}
	header nav {
		height: 3em;
		transition-delay: 0s, .4s;
	}
}
@media screen and (max-width: 767px) {
	header nav {
		height: 0;
		opacity: 0;
		pointer-events: none;
		transition-delay: .4s, 0s;
	}
}

/* 以上メニュー表示用*/


/* 以下コンテンツ表示用(https://ics.media/entry/13117/)参照　*/

main {
  -js-display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 10px;
}

.content img {
  width: 50%;
  margin: 5px;
  float: left
}


main div.content {
  width: calc(33.3% - 10px);
  margin: 5px;
  background-color: #f5f5f5;
  box-shadow: 0 0 3px #aaa;
}


@media (max-width: 900px) {
  main div.content {
    width: calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  main div.content {
    width: calc(100% - 10px);
  }
}

/* 以上コンテンツ表示用*/


/* 以下ページトップボタン用*/
#page_top{
width: 100px;
height: 40px;
position: fixed;
right: 0;
bottom: 10px;
background: #007ab5;
opacity: 0.6;
}
#page_top a{
position: relative;
display: block;
width: 100px;
height: 40px;
text-decoration: none;
}

#page_top a::after{
content: '↑ PAGE TOP';
font-size: 14px;
font-weight: bold;
color: #fff;
position: absolute;
top: 10px;
bottom: 0;
right: 0;
left: 0;
margin: auto;
text-align: center;
}

/* 以上ページトップボタン用*/


#header_line {
width: 100%;
height:80px;
background-color: #f0f8ff;
padding: 0px 0px 0px 0px; /* 上右下左の順に内側の余白指定 */
  
}


footer {
  -js-display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 10px;
}

footer div.footer {
  width: calc(100% - 10px);
  margin: 5px;
  background-color: white;
}

.footer {
  box-shadow: 0 0 3px #aaa;
}

#main_image img {
width : 95%; /* 画像を画面の90%の横幅にする */
    max-width: 800px; /* 最大幅 */
    min-width: 360px; /* 最小幅 */
    height: auto; /* 高さは自動で設定する */
}

#logo  {
    height:80px;
    object-fit: cover;  
}

#main_video video {
    width : 95%; /* 動画を画面の95%の横幅にする */
    max-width: 800px; /* 最大幅 */
    min-width: 360px; /* 最小幅 */
    height: auto; /* 高さは自動で設定する */
    padding: 0px 0px 0px 0px;    /* 上右下左の順に内側の余白指定 */
    margin:  55px 0px 0px 0px;
}