body {
  max-width: 768px;
  margin-right: auto;
  margin-left: auto;
}

h1.headline {
  color: green;
  margin-left: 2%;
}
span {
    font-size: 20px;
} 

.SNSLINK {
  position: relative;
  left: 80%;
  max-width: 100%;
}

.SNSLINK img {
  border-radius: 5px 5px 5px 5px;
}

.SNSLINK a:hover {
  text-decoration: none;
}

.SNSLINK a:hover img {
  opacity: 0.6;
  filter: modal(opacity=60);
  -ms-filter: "modal(opacity=60)";
}

ul.dtmenu {
  margin: 1% 0 8%;
  padding: 0;
  text-align: center;
}
ul.dtmenu li{
  width: 130px;
  display: inline-block;
  list-style-type: none;
  position: relative;
  max-width: 100%;
}
ul.dtmenu li a{
   color: black;
   line-height: 30px;
   text-align: center;
   text-decoration: none;
   font-weight: bold;
   display: block; 
}
ul.dtmenu li a:hover{
  background-color: #ADFF2F;
  color: white;
}
ul.ddmenu li a:hover {
  background-color: #ADFF2F;
  color: white;
}
ul.ddmenu {
  margin: 0px;
  padding: 0px;
  display: none;
  position: absolute;
}
ul.ddmenu li{
  width: 130px;
  height: 20px; 
  background-color: #F5F5F5;
  font-size: 80%;
  font-weight: bolder;
}
ul.ddmenu li a{
  line-height: 20px;
  text-align: center;
  padding-left: 5px;
  font-weight: normal;
}

h2 {
  margin-left: 2%;
}

hr.menuline {
  border-top: 3px double #bbb;
}

article {
  font-family: serif;
  font-weight: bolder;
}

.slideshow {
  background-color: #ffff;
  position: relative;
  width: 640px;
  height: 400px;
  margin: 0 auto;
  max-width: 100%;
}

.slideshow img {
  display: inline-block;
  margin: auto;
  max-width: 100%;
}

.copyright {
  position: relative;
  left: 70%;
}

.scrollTop {
  background-color: #eee;
  font-weight: bolder;
  font-size: small;
  bottom: 10px;
  padding: 4px;
  position: fixed;
  right: 22%;
  overflow: hidden;
}

.scrollTop a {
  text-decoration: none;
}



/* 表示領域が768px以下の場合 */
@media screen and (max-width: 768px) {
  h1 {
    position: relative;
    left: auto;
    margin-left: 2%;
  }  
  h2{
    position: relative;     
    text-align: center;
    }

  .SNSLINK  {
   position: relative;
   left: auto;
   margin-left: 2%;
   top: 20px;
   z-index: 3;
  }

  .SNSLINK img {
    width: 58px;
    height: 26px;
  }

   ul.ddmenu li{
   width: 100%;
   height: 50px;
   z-index: 4;
   background-color: #555;
   position: relative;
   text-align: center;
  }
   ul.ddmenu li a{
   padding-left: 5px;
   font-size: larger;
   font-weight: bolder;
  }

 /*　ハンバーガーボタン */
  .hamburger {
  display : block;
  position: fixed;
  z-index : 3;
  right: 35px;
  top  : 60px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;

 } 

 .hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #555;
  -webkit-transition: 0.5s all;
  -moz-transition   : 0.5s all;
  transition        : 0.5s all;
 }
 .hamburger span:nth-child(1) {
  top: 10px;
 }
 .hamburger span:nth-child(2) {
  top: 20px;
 }
 .hamburger span:nth-child(3) {
  top: 30px;
 }

 /* ナビ開いてる時のボタン */

 .hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  width: 24px;
  background : #fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
 }
 .hamburger.active span:nth-child(2) {
  left: 60%;
  opacity: 0;
  -webkit-animation: active-btn17-bar02 .8s forwards;
  animation: active-hamburger-bar02 .8s forwards;
 }
 @-webkit-keyframes active-hamburger-bar02 {
  100% {
    height: 0;
   }
 }
 @keyframes active-hamburger-bar02 {
  100% {
    height: 0;
   }
 }
 .hamburger.active span:nth-child(3) {
  top: 16px;
  width: 24px;
  background : #fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
 }

 .hamburger::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  content: '';
  width: 52px;
  height: 52px;
  margin: -32px 0 0 -32px; 
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0);
  transition: all .75s;
 }
 .hamburger.active::after {
  border: 2px solid #fff;
 }

 nav.globalMenuSp {
  position: fixed;
  z-index : 2;
  top  : 0;
  left : 0;
  color: #fff;
  background: rgba(0,0,0,0.7);
  text-align: center;
  width: 100%;
  opacity: 0;
  transition: opacity .6s ease, visibility .6s ease;
 }

 nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
 }

 nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: .4s all;
 }
 nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
 }
 nav.globalMenuSp ul li:hover {
  background :#ddd;
 }

 nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
 }

 /* このクラスを、jQueryで付与・削除する */
 nav.globalMenuSp.active {
 opacity: 100;

 }

 /*文字フォント調整 */
 article.profile{
  font-size: 60%;
 }
 article.news {
   font-size: 60%;
 }
 .scrollTop {
   position: relative;
   right: auto;
 }

 footer{
   position: relative;
   left: auto;
   margin-left: 2%;
   overflow: hidden;
 }
 .copyright{
   position: relative;
   left: auto;
   overflow: hidden;
 }
 .scrollTop{
  background-color: transparent;
  text-align: right;
  margin-right: 2%;
 } 
}