@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: 73%;
}
aside {
    width: 20%;
}
.oshigatoutoi{
  width: 1200px;
  height: 400px;
  padding-top: 4px;
}
.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 a{
  color: #432;
}
article a:hover{
    color: #0bd;
}
article h5{
 background-image: url("images/resent_upload.jpg");
 background-position: center;
 background-size: cover;
}
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;
}

.swiper-container {
  padding-top: 10px;
  padding-bottom: 10px;
  background-image: url("images/resent_upload.jpg");
  background-size: cover;
}

.s-three-wrap {
  position: relative;
  margin: 10px;
}

.s-three-wrap img {
  display: block;
  margin: 0 auto;
  width: 300px;
  height: 300pX;
  object-fit: contain;
  opacity: 0.5;
}


.s-three-sub,
.s-three-button {
  position: absolute;
  width: 100%;
  left: 0;
  text-align: center;
  color: #000;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0 -1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
  font-family: 'Philosppher' serif;
  text-transform: uppercase;
  font-weight: normal;
}
#s-three-text {
  top: 0%;
  position: absolute;
  width: 100%;
  left: 0;
  text-align: center;
  color: #000;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0 -1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
  font-family: 'Philosppher' serif;
  text-transform: uppercase;
  font-weight: normal;
}
.swiper-slide .s-three-wrap #s-three-text p {
  color: #000;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0 -1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
  font-family: 'Philosppher' serif;
  text-transform: uppercase;
  font-weight: normal;
  line-height: 1;
  font-size: 3rem;
}

.s-three-sub {
  top: 40%;
}

.s-three-button {
  top: 90%;
  left: calc( 50% - 75px );
  display: block;
  width: 150px;
  padding: 5px 10px;
  box-sizing: border-box;
  background-image: url("images/sub_background.png");
  background-size: cover;
  color: black;
  text-align: center;
  text-decoration: none;
  transition: all .25s ease;
}
.s-three-button:hover {
  background: white;
  color: #1b1b1b;
}
.swiper-slide-active .s-three-button {
  animation: slideFromRightBtn 1.5s ease 0s 1 normal;
}

.p-twitter-box{
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    margin:2rem auto;
    max-width:360px;
    width:100%;
}
.p-twitter-box .p-twitter-title{
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0 2em 0;
    font-size: 12px;
}
.p-twitter-box .twitter-tweet{
    margin:0 !important;
}
.p-twitter-box p{
    display:none;
}
.p-twitter-box .p-twitter-green{
      background: #349D1C;
}
.box {
    width: 360px;               /* 幅指定 */
    display:  inline-block;     /* インラインブロック要素にする */
    vertical-align:  top;
    margin-bottom: 10px;         /* 要素同士の隙間調整 */
    margin: auto;
    padding: 10px;              /* 余白指定 */
    box-sizing: border-box;     /* 崩れ防止 */
}
dl.qa {
 overflow: hidden;
 _zoom: 1;
}

dl.qa dd,
dl.qa dt {
 text-indent: -2.6em;
 padding: 0 20px 0px 50px;
}

dl.qa dt {
 margin: 20px 20px 0 0;
}

dl.qa dd:first-letter,
dl.qa dt:first-letter {
 font-size: 1.6em;
 font-weight: bold;
 margin-right: 10px;
 padding: 5px;
}

dl.qa dd {
 margin: 10px 0 -1px 0;
 padding-bottom: 20px;
 border-bottom: solid 1px #aaa;
}

dl.qa dt:first-letter {
 color: #3498db;
}

dl.qa dd:first-letter {
 color: #ff6767;
}
.blackboard-box{
  background: #104300;
  margin: 1em 0;
  padding: 1em 1em 0 1em;
  border: 8px solid #a60;
  box-shadow: 2px 2px 4px #999, 2px 2px 2px #020 inset;
}

.blackboard-box p{
  margin: 0;
  padding: 0;
  color: #fff;
  text-shadow: 0px 0px 2px #fff;
}

.chalk1{
  display: block;
  margin-top: 10px;
  margin-left: 90%;
  border: solid 3px #fff;
  width: 15px;
  border-radius: 3px 2px 0 2px;
}

.chalk2{
  display: block;
  margin-top: -6px;
  margin-left: calc(90% - 30px);
  border: solid 3px #ff69b4;
  width: 20px;
  border-radius: 3px 2px 0 2px;
}

@keyframes slideFromRightBtn {
  0%, 65% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
.sub_title strong{
  background:linear-gradient(transparent 75%, #99FF99 75%);
  font-weight:bold;
}

@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%;
    }
    .oshigatoutoi{
      width: 600px;
      height: 200px;
      padding-top: 3px;
      margin-bottom: 1px;
    }
    .main-title {
        padding: 0 4px 4px;
        border-bottom: 2px #349D1C solid;
        font-weight: normal;
    }
      .sub-title {
        padding: 0 4px 4px;
        border-bottom: 2px #6CE610 solid;
        font-weight: normal;
      }
      .sub_title{
          margin-bottom: 30px;
          list-style: none;
      }
}

.swiper-slide .s-three-wrap #s-three-text p {
  line-height: 1;
  font-size: 1.5rem;
}

.s-three-sub {
  top: 70%;
}
