@charset "UTF-8";

html {
    font-size: 100%;
}
body{
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
    color: #432;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}

.logo {
    width: 100px;
    margin-top: 14px;
}
#toggle{
  display: none;
}
.main-nav {
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style: none;
}
.main-nav li {
    margin-left: 36px;
}
.main-nav a {
    color: #432;
}
.main-nav a:hover {
    color: #0bd;
}
.page-header {
    display: flex;
    justify-content: space-between;
}
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}
#header{
  background-image: url("images/header.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.news-contents {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}
article {
    width: 66%;
}
aside {
    width: 32%;
}

.Favicon_2_round{
  width: 300px;
  height: 300px;
  padding-top: 4px;
  margin-bottom: 20px;
}
#saying {
    border: 2px solid #da4033;
    border-radius: 4px;
    margin: 2em 0;
    padding: 2em;
    position: relative;
}
#saying::before {
    background-color: #fff;
    color: #da4033;
    content: "Hello!";
    font-weight: bold;
    left: 1em;
    padding: 0 .5em;
    position: absolute;
    top: -1em;
}
.main-title {
    padding: 0 8px 8px;
    border-bottom: 2px #349D1C solid;
    font-weight: normal;
}
  .sub-title {
    padding: 0 8px 8px;
    border-bottom: 2px #6CE610 solid;
    font-weight: normal;
  }
  .sub_title{
      margin-bottom: 60px;
      list-style: none;
  }
  .sub_title li {
      border-bottom: 1px #ddd solid;
  }
  .sub_title a {
      color: #432;
      padding: 10px;
      display: block;
  }
  .sub_title a:hover {
      color: #0bd;
  }
article p {
 font-size: 1.5rem;
}
footer {
    background-image: url("images/header_3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 26px 0;
}
footer p {
    color: #000000;
    font-size: 0.875rem;
}
footer a {
    color: #000;
}
footer a:hover {
    color: #0bd;
}
#check_me ul {
  position: relative;
}
#check_me ul li {
  display: list-item;
  padding: 0.5em;
  list-style-type: none!important;
  line-height: 1.5;
}

#check_me ul li:before {
  font-family: "Font Awesome 5 Free";
  color: skyblue;/*アイコン色*/
}
#check_me .Twitter ul i:before {
	font-family: "Font Awesome 5 Brands";
	content: '\f099';
	padding: 0.2em 0.2em 0 0;
  color: skyblue;/*アイコン色*/
}
#check_me .Youtube ul i:before {
	font-family: "Font Awesome 5 Brands";
	content: '\f167';
	padding: 0.2em 0.2em 0 0;
  color: skyblue;/*アイコン色*/
}
.box{
    padding: 0.5em 1em;
    margin: 2em 0;
    background: -webkit-repeating-linear-gradient(-45deg, #fff, #fff 6px,#EEFFFF 6px, #EEFFFF 14px);
    background: repeating-linear-gradient(-45deg, #fff, #fff 6px,#EEFFFF 6px, #EEFFFF 14px);
    border: solid 3px #95ccff;
    border-radius: 8px;
}
.box p {
    margin: 0;
    padding: 0;
}
aside li{
  background-image: url(images/menu.jpg);
  font-weight: bold;
}
aside li h3 {
    position: relative;
    padding: 0.5em 0.7em;
    margin: 2em 0;
    background: #e6f4ff;
    color: #000;
    font-weight: bold;
}
aside li h3:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 30px;
    border: 15px solid transparent;
    border-top: 15px solid #e6f4ff;
    width: 0;
    height: 0;
}
aside li h3 p {
    margin: 0;
    padding: 0;
}
aside li a{
  display: block;
}
@media (max-width: 600px) {
  #header{
    background-image: url("images/header_2.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .main-nav {
    font-size: 0.8rem;
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    background-color: rgba(255,255,255,0.8);
}
.main-nav li {
    margin: 0 20px;
}
.news-contents {
  flex-direction: column;
    }
.page-header{
  align-items: center;
}
.main-nav{
    display: none;
  }
.main-nav li{
    width: 100%;
  }
  #toggle{
    display: block;
    position: relative;
    width: 100%;
    background-image: url("images/menu.jpg");
    color: #000;
  }
  #toggle a{
    display: block;
    position: relative;
    padding: 15px 0 15px;
    border-bottom: 1px solid #444;
    text-align: center;
    text-decoration: none;
  }
  #toggle:before{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;  width: 20px;
    height: 20px;
    margin-top: -10px;
  }
  #toggle a:before, #toggle a:after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 4px;
  }
  #toggle a:before{
    margin-top: -6px;
  }
  #toggle a:after{
    margin-top: 2px;
  }
article {
        width: 100%;
    }
aside {
        width: 100%;
    }
    .Favicon_2_round{
      width: 200px;
      height: 200px;
      padding-top: 6%;
      margin-bottom: 0px;
    }
  article p{
    font-size: 1rem;
  }
  }
