 @charset "utf-8";/*template/earth*/
html {
    background: #e6e9e9;
    background-image: linear-gradient(270deg, rgb(230, 233, 233) 0%, rgb(216, 221, 221) 100%);
    -webkit-font-smoothing: antialiased;
}

body {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.06);
    color: #545454;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.2;
    margin: 0 auto;
    max-width: 100%;
    padding: 0;
    background: #dcdcdc;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    color: #222;
    font-weight: 100;
    line-height: 1.5;
}
    
a,
a:link {
    text-decoration: none;
    color: #3585b7;
}
a:visited {
    color: #6252B7;
}
a:hover {
    text-decoration: none;
    color: #555;
}
.preface {
  width: 80%;
  margin:0 auto; /*<div>要素中央へ*/
}
/*header footer*/
/*g-navi*/
.g-navi {
	display: flex;
  }
.g-navi h1 {
	margin: 10px 0 0 10px;
  }
.g-navi nav {
	margin: 0 0 0 auto;
  }
.g-navi nav ul {
	list-style-type: none;
	margin: 20px 0;
	padding: 0;
	display: flex;
  }
.g-navi nav ul li a,
.g-navi nav ul li a:link,
.g-navi nav ul li a:visited {
	display: block;
	padding: 10px 15px;
	text-decoration: none;
	color: #000;
  }
.g-navi nav ul li a:hover {
	color: #888;
  }
/*header*/
header {
  background-image: url('../img/kaimon.jpg');
  background-size: cover;
  height: 350px;
}
background-size: cover;height: 700px">
/* footer */
footer {
  width: 100%;
  background: #ede6e6;
  padding: 20px;
}
footer ul {
  list-style-type: none;
  margin: 0 5px;
  padding: 0;
  display: 0;/*flex*/
  justify-content: center;/*flex-end*/
}
footer ul li {
  margin: 0 0 0 20px;
}
footer ul li a,
footer ul li a:link,
footer ul li a:visited {
  text-decoration: none;
  font-size: 13px;
  color: #000;
}
footer ul li a:hover {
  color: #000;
}
footer p {
  margin: 0;
  text-align: center;
  color: #000;
} 
/* :::::: TOP navi 横並びglobalmenue::::::*
.top {
    margin: 0 0 0 auto; 
}
.top ul {
   justify-content: center;
    align-items: center;
    list-style: none;
    display: flex;
}
.top ul li a,
.top ul li a:link,
.top ul li a:visited {
    display: block;/**
    padding: 5px 15px;
    text-decoration: none;
    color: #000;
}
.top ul li a:hover {
    color: #888;
}    
/*::::side HBmenue::::*/
#navTgl {
	display: none;
}
label {
	cursor: pointer;
	position: fixed;
	top: 0;
	left: 0;
}
.open {
	z-index: 2;
	width: 48px;
	height: 48px;
	background: #222; /*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);
}
/*赤枠*/     
h1 { 
    border: solid 1px #ff0000;
    width: 0;/*幅60%*/    
    }

 /* :::::: 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;
}
.menu a:hover {
	background: black;
}
#navTgl:checked ~ .menu {
	transform: none;
}   
/*    
.toggle-pc {
    display: block !important;
}
.toggle-sp {
    display: none !important;
}

.contents {
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
#navTgl:checked ~ .contents {
	transform: translateX(250px);
}
.visual {
    height: 410px;
  background-image: url('../title/BlumoonGrad.png') ;
  background-size: cover;
    padding: 50;
    margin: 25;
    color: #cccccc;
}*/

/*main*/
main {
      background-color: #fff;
      margin-left:auto;    /* 左側マージンを自動的に空ける */
      margin-right:auto;   /* 右側マージンを自動的に空ける */
      text-align:left;     /* 中身を左側表示に戻す */
      width: 80%;  /* 幅を決定する */
    }
    
img {
     padding: 1.2em;
     margin: 1.2em
    }

img.img01 {  /*目次枠映像*/
    padding: 0.05em;
    margin: 0.05em;    
    }   

/* :::::: バナー::::::*/             
.BannarEarth {
    width: 100%;
    height: 7em;
    background-image: url('../img/earthAnm.gif');
     background-size: cover;    
    }    
/* :::::: header, footer ::::::*/    

    


/*メインコンテンツサイドバーflex*/
.container {
  width: 95%;
  display: -webkit-flex;
  display: flex;
}
.main {
  display: block;
  width: 70%;
  margin-right: 20px;
}
.sidebar {
  width: 30%;
}
.sidebar__item {
  margin-bottom: 20px;
}
.sidebar__item--fixed {
  position: sticky;
  margin-bottom: 0;
  top: 10px;
  z-index: 1;
}


/* :::::: togglr button ::::::*

#navTgl {
	display: none;
}
label {
	cursor: pointer;
	position: fixed;
	top: 0;
	left: 0;
}
.open {
	z-index: 2;
	width: 48px;
	height: 48px;
	background: #222; /*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;
}
.menu a:hover {
	background: black;
}
#navTgl:checked ~ .menu {
	transform: none;
}

/* :::::: cssgrid :::::: */
.cssgrid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));/*格納箱幅*/
  grid-auto-rows: 1fr;
  grid-gap: 0.8em;
  border: 1px solid #ddd;
  padding: 0.5em;
  margin: 0 0 2em;
}

.cssgrid > div {
  background: #fff;/*#ddd*/
  height: 380px;　　　　　　　/*格納箱高さ*/  
  overflow: auto;
  min-width: 0;
  padding: 0.5em;
  border-radius: 10px; /*角丸*/
  box-shadow: 3px 3px #333;  /*影*/
}


.main-nav, .main {
  display: -webkit-flex;
  display: flex;
}
.main-nav li:first-child {
  margin-right: auto;
}
.main-nav a {
  margin: 10px;
  border-radius: 5px;
  background: ;/*main-navbgcolr #1e90ff*/
  color: #fff;
    display: block;
    padding: 15px;
    text-decoration: none;
}
.main-nav .logo {
  background: ; /*navlogpbackclor#4584b1*/
}
ul {
  list-style: none;
}
/* Main contents */
img {
    margin: 5px;
    padding: 5px;
}
.main section {
  -webkit-flex: 1;
  flex: 1;
    width: 95%;
  margin: 10px;
  border-radius: 0px;
  background: #fff;/*ColmBGcolr*/
  padding: 15px;
}
.main .col-1 {
  -webkit-flex: 1;
  flex: 1;
}

.main .col-2 {
  -webkit-flex: 1;
  flex: 2;
}
.main .col-3 {
  -webkit-flex: 1;
  flex: 3;
}
.main .col-4 {
  -webkit-flex: 1;
  flex: 4;
}
.main h1 {
  color: #696969;文字
  font-size: 1.5rem;
}
.main p {
  margin-top: 10px;
}
/*page丸
.pager {
    overflow: hidden;
  }
  .pager ul {
    list-style: none;
    position: relative;
    left: 50%;
    float: left;
  }
  .pager ul li {
    margin: 0 1px;
    position: relative;
    left: -50%;
    float: left;
  }
  .pager ul li span,
  .pager ul li a {
    display: block;
    font-size: 16px;
    padding: 0.6em 1em;
    border-radius: 3px;
  }
  .pager ul li a {
    background: #EEE;
    color: #000;
    text-decoration: none;
  }
  .pager ul li a:hover {
    background: #333;
    color: #FFF;
  }
*/

/*:pager角:*/
 .pager {
    overflow: hidden;
  }
  .pager ul {
    list-style: none;
    position: relative;
    left: 50%;
    float: left;
  }
  .pager ul li {
    margin: 0 1px;
    position: relative;
    left: -50%;
    float: left;
  }
  .pager ul li span,
  .pager ul li a {
    display: block;
    font-size: 16px;
    padding: 0.6em 1em;
    border-radius: 3px;
  }
  .pager ul li a {
    background: #EEE;
    color: #000;
    text-decoration: none;
  }
  .pager ul li a:hover {
    background: #333;
    color: #FFF;
  }
  <!-- トグルのボタンに使用する -->

@media only screen and (max-width: 800px) {
 /*   .main {
        -webkit-flex-direction: column;
    flex-direction: column;
    }
     img {
        max-width: 100%;
    } */
 .toggle-pc {
    display: none !important;
}
.toggle-sp {
    display: block !important;
}
}
