@charset "UTF-8";

/* 全て共通 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

html {
  font-size: 100%;
  text-align: center;
  margin: auto;
  zoom:0.8;
}

/* g-nav */

.page-header {
  display: flex;
  font-size: 120%;
  justify-content: space-between;

  margin: 50px 20px 0px;
}

#g-nav {
  padding-right: 5%;
}

.logo {
  display: flex;
  width: 400px;
  margin: -70px 20px 20px;

}

.main-nav {
  display: flex;
  font-size: 100%;
  text-transform: uppercase;
  margin-top: 50%;
  list-style: none;
}

header h1{
	padding: 60px 25px;
	color: #000000;
	background: #FFFFFF;
	font-size: 1em;
}

h2 {
  font-size: 1.5rem;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  text-transform: uppercase;
  font-weight: normal;
  padding-bottom: 5%;
}

#navi li {
	float:left;
	width:200px;
	text-align:center;
	list-style-type:none;
}

ul ul{
	display:none;
	position:relative;
	width:150px;
  right:0px;
}

li li{
	float:none;
	border-top:0px solid #FFFFFF;
}

#navi li a{
  font-size: 100%;
  text-align: center;
	display:block;
	padding:10px 0px;
	color:#000000;
	background:#FFFFFF;
	border-right:0px solid;
	text-decoration:none;
}

#navi li a:hover{
	color:#FFFFFF;
	background:#000000;
}

#g-nav > li:last-child > a, nav li:last-child li a{
	border-right:none;
}

/* bodyタグ */
body {
  text-align: center; /* 全ての要素を真ん中に */
  padding: 0px; /* 上下の空白を指定 */
}

p{
	margin-bottom:50px;
	line-height:2em;
	color:#394C4A;
  font-size: 1.5em;
}

/* h4タグ */
h4 {
  font-size: 3em;
  padding: 30px 0;
}

/* h5タグ */
h5 {
  font-size: 2em;
  background-color: #F89174; /* 背景色を指定 */
  color: #ffffff; /* フォントカラーを指定 */
  width: 600px; /* 横幅を指定 */
  padding: 5px 0; /* 上下の空白を指定 */
  margin: 20px auto; /* 上下の空白と真ん中に寄せる指定 */
}

/* h6タグ */
h6 {
  font-size: 1.5em;
  background-color: #a9a9a9; /* 枠線を指定 */
  width: 600px;
  padding: 5px 0;
  margin: 20px auto;

}

/* h7タグ */

h7 {
  font-size: 1.5em;
  background-color: #a9a9a9; /* 枠線を指定 */
  width: 100px;
  padding: 5px 15%;
  margin: 20px ;
  margin-left: 5%;

}


/* pタグ */
p {
 font-size: 140%; /* フォントサイズを指定 */
}

/* ulタグの指定 */

.table ul {
  border: 3px solid #F5F5F5;
  width: 600px;
  padding: 10px 0;
  margin: 20px auto;
  padding-left: 30%;


}

ul.table li {
  list-style: none; /* リストの表示方法を指定 */
  padding: 5px 0;
  text-align: center;
  font-size: 140%;
}

.nisa {
  padding: 5px;
  margin-left: 40%;
  margin-right: 40%;
  margin-bottom: 10px;
  border: 3px solid #a6a6a6;
}


/* 過去記事 */
.blog {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  background-image: url("../images/ブログ用9.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0% 10% 10% 10%;
  padding: 5% 0% 5% 0%;
}

.kizi_1 {
  background:rgba(255,255,255,0.7);
  padding: 5% 0%;
}

.kizi_1 p {
  font-size: 150%;
  text-align: left;
  display: flex;
  margin-left: 25%;
  margin-top: 5%;

}

.kizi_1 a {
  font-size: 120%;
  text-align: left;
  margin-left: 10%;
  display: block;
  color: #000;
  text-decoration: none;

}

.kizi_1 a:hover {
  color:#fff;
}

article {
    width: 70%;
}

aside {
  width: 30%;
  background:rgba(169,169,169,0.7);
  padding-top: 3%;
  padding-left: 4.5%;


}

.submenu {
    font-size: 150%;
    color: #000;
    background-color: #a9a9a9; /* 枠線を指定 */
    width: 400px;
    padding: 5px 0;
    margin-left: -10%;

}

.sub-menu {
  margin-bottom: 0px;
  list-style: none;
}

.sub-menu a {
  text-align: left;
  font-size: 140%;
  color: #000;
  padding: 10px;
  margin-left: 10%;
  margin-top: 4%;
  display: block;
  text-decoration: none;
}
.sub-menu a:hover {
    color: #fff;
}

/* ブログコード */

.red {
  color: #8b0000;
}

.bule {
  color: #87ceeb;
}

.big {
  font-size: 150%;
}

.bold {
  font-weight: bold;
}

.background_or {
  background-color: #ffe666;
}


/* フッター
------------------------------- */
footer {
  background: #E0F2F7;
  text-align: center;
  padding: 70px 0;
}

.footer_p {
  color: #000;
  font-size: 100%;
  margin-top: 2%;
}

.footer_button {
  font-size: 120%;
  text-decoration: none;
  display: block;
  text-align: left;
  margin-left: 45%;
  margin-right: 44%;
  margin-bottom: 0.5%;
  color: #000;

}

.footer_button:hover {
  background: #80796c;
  opacity: 0.5;
  transition: .5s;
}





/* タブレット　
------------------------------ */

@media screen and (max-width: 1200px) {

html {
  font-size: 100%;
  text-align: center;
  margin: auto;
}

body{
  font-family: 'Zen Kaku Gothic Antique', sans-serif,"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  color: #000;
}

.page-header {
  display: flex;
  font-size: 100%;
  justify-content: space-between;
  margin: 50px 10px 10px;
}

.logo {
  text-align: center;
  display: block;
  width: 400px;
  margin-top: 10%;
  margin-left:1%;
}

.main-nav {
  display: flex;
  font-size: 120%;
  text-transform: uppercase;
  margin-top: 50%;
  list-style: none;
}

  header h1{
  	padding: 60px 25px;
  	color: #000000;
  	background: #FFFFFF;
  	font-size: 1em;
  }

  h2 {
    font-size: 1.5rem;
    font-family: 'Zen Kaku Gothic Antique', sans-serif, 'Philosopher', serif;
    text-transform: uppercase;
    font-weight: normal;
    padding-bottom: 0%;
  }


  #g-nav {
    position: fixed;
    z-index: 999;
    top: 0;
    right: -120%;
    width: 100%;
    height: 120vh;
    background: #fff;
    transition: all 0.6s;
    opacity: 1;
  }

  #g-nav.panelactive{
      right: 0;
  }

  #g-nav ul ul{
    display: none;
  }

  #g-nav li li{
  	display: none;
  }

  #g-nav ul {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 55%;
    transform: translate(-50%,-50%);
  }

  #g-nav li {
    list-style: none;
    text-align: center;
  }

  #g-nav li a {
    font-size: 120%;
    color: #000;
    background-color: #fff;
    text-decoration: none;
    padding-right: 1px;
    padding-left: 1%;
    padding-top: 10%;
    padding-bottom: 10%;
    display: block;
    text-transform: uppercase;
    font-weight: normal;
  }

  .openbtn {
    display: block;
    position: fixed;
    z-index: 9999;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height:50px;
    background-color: gray;
  }

  .openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  	background-color: #666;
  	width: 45%;
  }

  .openbtn span:nth-of-type(1) {
  	top:15px;
  }

  .openbtn span:nth-of-type(2) {
  	top:23px;
  }

  .openbtn span:nth-of-type(3) {
  	top:31px;
  }

  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .openbtn.active span:nth-of-type(2) {
  	opacity: 0;
  }

  .openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }

  html {
      zoom:0.8;
  }
  p{
  	margin-bottom:50px;
  	line-height:2em;
  	color:#394C4A;
    font-size: 1.5em;
  }


  /* bodyタグ */
  body {
    text-align: center; /* 全ての要素を真ん中に */
    padding: 0px; /* 上下の空白を指定 */
  }

  p{
  	margin-bottom:50px;
  	line-height:2em;
  	color:#394C4A;
    font-size: 1.5em;
  }

  /* h4タグ */
  h4 {
    font-size: 3em;
    padding: 30px 0;
  }

  /* h5タグ */
  h5 {
    font-size: 2em;
    background-color: #F89174; /* 背景色を指定 */
    color: #ffffff; /* フォントカラーを指定 */
    width: 600px; /* 横幅を指定 */
    padding: 5px 0; /* 上下の空白を指定 */
    margin: 20px auto; /* 上下の空白と真ん中に寄せる指定 */
  }

  /* h6タグ */
  h6 {
    font-size: 1.5em;
    background-color: #a9a9a9; /* 枠線を指定 */
    width: 600px;
    padding: 5px 0;
    margin: 20px auto;

  }

  /* h7タグ */

  h7 {
    font-size: 1.5em;
    background-color: #a9a9a9; /* 枠線を指定 */
    width: 600px;
    padding: 5px 15%;
    margin: 20px auto;
    margin-left: 10%;

  }


  /* pタグ */
  p {
   font-size: 140%; /* フォントサイズを指定 */
  }

  /* ulタグの指定 */

  .table ul {
    border: 3px solid #F5F5F5;
    width: 600px;
    padding: 10px 0;
    margin: 20px auto;
    padding-left: 30%;


  }

  ul.table li {
    list-style: none; /* リストの表示方法を指定 */
    padding: 5px 0;
    text-align: center;
    font-size: 140%;
  }

  .nisa {
    padding: 5px;
    margin-left: 40%;
    margin-right: 40%;
    margin-bottom: 10px;
    border: 3px solid #a6a6a6;
  }


  /* 過去記事 */
  .blog {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    background-image: url("../images/ブログ用9.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0% 0% 0% 0%;
    padding: 5% 0% 5% 0%;
  }

  .kizi_1 {
    background:rgba(255,255,255,0.7);
    padding: 5% 0%;
  }

  .kizi_1 p {
    font-size: 150%;
    text-align: left;
    display: flex;
    margin-left: 25%;
    margin-top: 5%;

  }

  .kizi_1 a {
    font-size: 120%;
    text-align: left;
    margin-left: 10%;
    display: block;
    color: #000;
    text-decoration: none;

  }

  .kizi_1 a:hover {
    color:#000;
  	background:#a9a9a9;;
  }

  article {
      width: 60%;
  }

  aside {
    width: 40%;
    background:rgba(169,169,169,0.7);
    background-color: #696969;
    padding: 4.5%;


  }

  .submenu {
      font-size: 150%;
      color: #000;
      background-color: #a9a9a9; /* 枠線を指定 */
      width: 400px;
      padding: 5px 0;
      margin-left: -10%;

  }

  .sub-menu {
    margin-bottom: 0px;
    list-style: none;
  }

  .sub-menu a {
    text-align: left;
    font-size: 140%;
    color: #000;
    padding: 5px;
    display: block;
    text-decoration: none;
  }
  .sub-menu a:hover {
      color: #fff;
  }






/* タブレット footer */

footer p {
  color: #000;
  font-size: 100%;
}

footer {
  background: #E0F2F7;
  text-align: center;
  padding: 70px 0;
}

.footer_button {
  font-size: 120%;
  text-decoration: none;
  display: block;
  text-align: left;
  margin-left: 40%;
  margin-right: 35%;
  margin-bottom: 0.5%;
  color: #000;
}

.footer_button:hover {
  background: #80796c;
  opacity: 0.5;
  transition: .5s;
}

}


/* モバイル
------------------------------ */

@media (max-width: 540px) {

html {
  zoom:0.7;
}

html {
  font-size: 100%;
  text-align: center;
  margin: auto;
}

body{
font-family: 'Zen Kaku Gothic Antique', sans-serif, "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  color: #000;
}

.page-header {
  display:block;
  margin: 50px 10px 10px;
}

.logo {
  text-align: center;
  display: block;
  width: 380px;
  margin-top: 10%;
  margin-left:0%;
}

p{
  margin-bottom:50px;
  line-height:2em;
  color:#394C4A;
  font-size: 2rem;
}

#g-nav {
  position: fixed;
  z-index: 999;
  top: 0;
  right: -120%;
  width: 100%;
  height: 120vh;
  background: #fff;
  transition: all 0.6s;
  opacity: 1;
}

#g-nav.panelactive{
    right: 0;
}

#g-nav ul ul{
  display: none;
}

#g-nav li li{
	display: none;
}

#g-nav ul {
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 55%;
  transform: translate(-50%,-50%);
}

#g-nav li {
  list-style: none;
  text-align: center;
}

#g-nav li a {
  font-size: 120%;
  color: #000;
  background-color: #fff;
  text-decoration: none;
  padding-right: 1px;
  padding-left: 1%;
  padding-top: 10%;
  padding-bottom: 10%;
  display: block;
  text-transform: uppercase;
  font-weight: normal;
}

.openbtn {
  display: block;
  position: fixed;
  z-index: 9999;
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height:50px;
  background-color: gray;
}

.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
	background-color: #666;
	width: 45%;
}

.openbtn span:nth-of-type(1) {
	top:15px;
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

/* 全て共通 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

html {
  font-size: 100%;
  text-align: center;
  margin: auto;
  zoom:0.8;
}

/* bodyタグ */
body {
  text-align: center; /* 全ての要素を真ん中に */
  padding: 0px; /* 上下の空白を指定 */
}

p{
	margin-bottom:50px;
	line-height:2em;
	color:#394C4A;
  font-size: 1.5em;
}

header h1{
  padding: 60px 0px;
  color: #000000;
  background: #FFFFFF;
  font-size: 1em;
}

/* h4タグ */
h4 {
  font-size: 3em;
  padding: 30px 0;
}

/* h5タグ */
h5 {
  font-size: 2em;
  background-color: #F89174; /* 背景色を指定 */
  color: #ffffff; /* フォントカラーを指定 */
  width: 600px; /* 横幅を指定 */
  padding: 5px 0; /* 上下の空白を指定 */
  margin: 20px auto; /* 上下の空白と真ん中に寄せる指定 */
}

/* h6タグ */
h6 {
  font-size: 1.5em;
  background-color: #a9a9a9; /* 枠線を指定 */
  width: 600px;
  padding: 5px 0;
  margin: 20px auto;

}

/* h7タグ */

h7 {
  font-size: 120%;
  background-color: #a9a9a9; /* 枠線を指定 */
  width: 400px;
  padding: 5px 15%;
  margin: 10px auto;
  margin-left: 0%;


}


/* pタグ */
p {
 font-size: 140%; /* フォントサイズを指定 */
}

/* ulタグの指定 */

.table ul {
  border: 3px solid #F5F5F5;
  width: 600px;
  padding: 10px 0;
  margin: 20px auto;
  padding-left: 30%;


}

ul.table li {
  list-style: none; /* リストの表示方法を指定 */
  padding: 5px 0;
  text-align: center;
  font-size: 140%;
}

.nisa {
  padding: 5px;
  margin-left: 40%;
  margin-right: 40%;
  margin-bottom: 10px;
  border: 3px solid #a6a6a6;
}


/* 過去記事 */
.blog {
  display: block;
  justify-content: center;
  margin-bottom: 50px;
  background-image: url("../images/ブログ用9.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0% 1.5% 0% 0%;
  padding: 0% 0% 0% 0%;
}

.kizi_1 {
  background:rgba(255,255,255,0.7);
  padding: 15% 0%;
}

.kizi_1 p {
  font-size: 120%;
  text-align: left;
  display: block;
  margin-left: 5%;
  margin-top: 5%;

}

.kizi_1 a {
  font-size: 140%;
  text-align: left;
  margin-left: 0%;
  display: block;
  color: #000;
  text-decoration: none;

}

.kizi_1 a:hover {
  color:#000;
	background:#a9a9a9;;
}

article,
    aside {
        width: 100%;
    }
    aside {
        margin-top: 0px;
        padding-top: 10%;
    }

    aside {
      background:rgba(169,169,169,0.7);
      padding-left: 5%;
    }

.submenu p {
    font-size: 150%;
    color: #000;
    background-color: #a9a9a9; /* 枠線を指定 */
    width: 400px;
    padding: 5px 0;
    margin: 10%;

}

.sub-menu {
  margin-bottom: 0px;
  list-style: none;
  margin-top: 5%;

}

.sub-menu li {
      padding: 20px 0;
}
.sub-menu a {
  text-align: left;
  font-size: 140%;
  color: #000;
  padding: 10px;
  display: block;
  text-decoration: none;

}
.sub-menu a:hover {
    color: #fff;
}



/* モバイル フッター */

footer {
  background: #E0F2F7;
  text-align: center;
  padding: 70px 0;
  margin-right: 0%;

}

.footer_p {
  color: #000;
  font-size: 100%;
  margin-top: 2%;
}

.footer_button {
  font-size: 160%;
  text-decoration: none;
  display: block;
  text-align: left;
  margin-left: 20%;
  margin-right: 10%;
  margin-bottom: 5%;
  color: #000;

}

.footer_button:hover {
  background: #80796c;
  opacity: 0.5;
  transition: .5s;
}

}
