
/*
Theme Name: saorimotojima 0.1
Description: saorimotojima 0.1
*/

/*------------------------------------------------------------------------------------------------------------------
  saorimotojima
------------------------------------------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------------------------------------------
font-family       : 'Quicksand', sans-serif;
------------------------------------------------------------------------------------------------------------------*/

/*------------------------------------------------------------------------------------------------------------------
　共通 gnavi【PC】
------------------------------------------------------------------------------------------------------------------*/

#sidebar {
  position          : fixed;
  height            : calc(100vh - 80px);
  width             : calc(20% - 80px);
  padding           : 40px;
}
#logo {
  margin-top        : 6px;
}
.gnavi {
  position          : absolute;
  bottom            : 60px;
}
.gnavi li {
  font-family       : 'Quicksand', sans-serif;
  font-weight       : 700;
  font-size         : 20px;
  letter-spacing    : 2px;
  line-height       : 50px;
  color             : #333333;
}
.sns_container {
  display           : flex;
  justify-content   : space-between;
  margin            : 20px 0 0 2px;
}
.sns {
  position          : relative;
  height            : 25px;
  width             : 25px;
}
.sns img {
  position          : absolute;
  top               : 50%;
  left              : 50%;
  width             : 25px;
  -ms-transform     : translate(-50%, -50%);
  -webkit-transform : translate(-50%, -50%);
  transform         : translate(-50%, -50%);
}
.gnavi-sp {
  display           : none;
}
#pagetopbox	{
	position          : fixed ;
	right             : 40px ;
  bottom            : 30px ;
  height            : 30px;
  width             : 30px;
  cursor            : pointer;
}
#pagetopbox	img{
  width             : 100%;
}

.news {
  width             : 80%;
  margin-left       : 20%;
  padding-top       : 40px;
}
.section-name {
  height            : 130px;
  font-family       : 'Quicksand', sans-serif;
  font-weight       : 700;
  font-size         : 24px;
  letter-spacing    : 5px;
  color             : #333333;
}
.news-container {
  display           : flex;
  margin-bottom     : 30px;
}
.news-c1 {
  width             : 240px;
}
.news-c2 {
  width             : 60%;
}
.news-year {
  display           : flex;
  justify-content   : flex-start;
  margin-bottom     : 50px;
}
.news-year li {
  margin-right      : 60px;
  font-family       : 'Quicksand', sans-serif;
  font-weight       : 700;
  font-size         : 18px;
  letter-spacing    : 1px;
  color             : #333333;
}
.news-date {
  display           : inline-block;
  width             : 120px;
  font-family       : 'Quicksand', sans-serif;
  font-weight       : 500;
  font-size         : 16px;
  letter-spacing    : 1px;
  color             : #333333;
}
.news-category {
  display           : inline;
  padding           : 0 5px;
  font-family       : 'Quicksand', sans-serif;
  font-weight       : 700;
  font-size         : 14px;
  letter-spacing    : 1px;
  color             : #333333;
  border            : 2px solid #333333;
}
.news-title {
  display           : inline;
  font-family       : 'Noto Sans JP', sans-serif;
  font-weight       : 400;
  font-size         : 14px;
  letter-spacing    : 1px;
  color             : #333333;
}
.news-image {
  display           : block;
  width             : 200px;
  margin-top        : 10px;
}

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

#sidebar {
  position          : relative;
  height            : auto;
  width             : calc(50% - 80px);
  padding           : 20px;
}
#logo {
  margin-top        : 10px;
}
#logo img {
  height            : 160px;
}
.gnavi {
  display           : none;
}
.gnavi-trigger {
  position          : absolute;
  top               : 20px;
  right             : 20px;
  height            : 25px;
  width             : 25px;
}
.gnavi-trigger span {
  display           : block;
  position          : absolute;
  width             : 100%;
  border-bottom     : solid 3px #000000;
}
.gnavi-trigger span:nth-child(1) {top:0; width: 99%;}
.gnavi-trigger span:nth-child(2) {top:7px; width: 66%;}
.gnavi-trigger span:nth-child(3) {top:14px; width: 33%;}
.gnavi-trigger {display:block}

.gnavi-trigger-close {
  position          : absolute;
  top               : 80px;
  right             : 20px;
  height            : 25px;
  width             : 25px;
  z-index           : 9999;
}
.gnavi-trigger-close span {
  display           : block;
  position          : absolute;
  width             : 100%;
  border-bottom     : solid 3px #000000;
}
.gnavi-trigger-close span:nth-child(1) {
  top:0;

  -webkit-transform: translateY(11px) rotate(-45deg);
	transform: translateY(11px) rotate(-45deg);
}
.gnavi-trigger-close span:nth-child(2) {
  top:22px;

  -webkit-transform: translateY(-11px) rotate(45deg);
	transform: translateY(-11px) rotate(45deg);
}

.gnavi-sp {
  display           : block;
  position          : fixed;
  bottom            : -100vh;
  height            : 100vh;
  width             : 100vw;
  background        : #fff;
  z-index           : 9998;
}
.gnavi-sp-menu {
  text-align        : center;
  margin            : 120px auto;
}
.gnavi-sp li {
  font-family       : 'Quicksand', sans-serif;
  font-weight       : 700;
  font-size         : 24px;
  letter-spacing    : 2px;
  line-height       : 60px;
  color             : #333333;
}
.sns_container {
  display           : flex;
  justify-content   : space-around;
  position          : relative;
  width             : 180px;
  margin            : 30px auto 30px auto;
}
.sns {
  position          : relative;
  height            : 35px;
  width             : 35px;
}
.sns img {
  position          : absolute;
  top               : 50%;
  left              : 50%;
  width             : 35px;
  -ms-transform     : translate(-50%, -50%);
  -webkit-transform : translate(-50%, -50%);
  transform         : translate(-50%, -50%);
}


.gnavi-sp.open-nav {
  bottom            : 0;
  transition        : all .5s;
}



.news {
  width             : calc(100% - 40px);
  margin-left       : 0;
  padding           : 20px 20px 0 20px;
}
.section-name {
  position          : absolute;
  top               : 160px;
  right             : 20px;
  height            : auto;
  font-size         : 20px;
}
.news-year {
  display           : flex;
  justify-content   : flex-end;
}
.news-year li {
  margin-right      : 0;
  margin-left       : 30px;
}
.news-container {
  display           : block;
  margin-bottom     : 50px;
}
.news-c1 {
  display           : flex;
  justify-content   : space-between;
  width             : 100%;
}
.news-c2 {
  width             : 100%;
  margin-top        : 5px;
}
.news-date {
  font-size         : 14px;
}
.news-image {
  margin            : 10px auto;
}

}

/*---------------------------------------------------------------------------------------------------------------------------
Style Reset
---------------------------------------------------------------------------------------------------------------------------*/

/* -- html -- */
* {
  margin:0;
  padding:0;
} 
html {
  overflow-y:auto;
  color:#555;
}

ol, ul {
  list-style:none;
}

/* -- link -- */
a {
  text-decoration:none;
  color: #333333;
}
a:hover {
  text-decoration:none;
  color: #CAD4FF;
}
a p:hover {
  text-decoration:none;
  color: #CAD4FF;
}
span:hover {
  text-decoration:none;
  color: #CAD4FF;
}
a img:hover {
	opacity: 0.5 ;
}