@charset "UTF-8";
/* CSS Document */

* {
	margin: 0;
    border: 0;
    padding: 0;
	font-family: "libre_baskervilleregular", "Yu Mincho", "游明朝", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	color: #4D4D4D;
}

/* top logo */
.image-container {
    position: relative;
	z-index: 1;/* 子要素の配置基準 */
  }

.image-container img {
	width: 117px;
	height: 30px;
	margin: auto;
	display: block;
	margin-top: 20px;
  }
 /* 線（直線）のスタイル */
 .line {
    position: absolute;
    background-color: #8F9293; /* 線の色 */
    height: 1px;           /* 線の太さ（横線の高さ） */
    width: 100%;           /* 線の長さ */
    top: 50%;              /* 画像の上からの位置 */
    left: 0;
    transform: translateY(-50%); /* 中央に調整 */
	z-index: 1;
  }


/*header*/
ul {
    list-style-type: none;
}

#headerList {
    width: 480px;
    margin: 30px auto;
}

#headerList li {
    cursor: pointer;
    font-size: 9pt;
	margin: 0 30px;
	float: left
}

a{
	text-decoration: none
}

.textSelected {
    color: rgb(129, 168, 54);
}

/* sidebar */
#sidebar {
    position: fixed;
    bottom: 120px;
    left: -70px;
    font-size: 9pt;
    height: 20px;
	transform: rotate(270deg);
}

#sidebar li {
	float: left;
	margin: 0 13px;
}

	
#sidebar a {
    cursor: pointer;
}

@media(max-width:834px) {
	#nav-drawer {
	  position: relative;
	  z-index: 2;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  display: inline;
  width: 30px;
  height: 22px;
  vertical-align: middle;
}

/*ハンバーガーの形をCSSで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;/*線の太さ*/
  width: 25px;/*長さ*/
  border-radius: 3px;
  background: #8F9293;
  display: flex;
  content: '';
  cursor: pointer;
  z-index: 2;
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}

/*閉じる用の薄黒箇所*/
#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*メニューの中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 40%;
  max-width: 330px;/*最大幅（お好みで調整を）*/
  height: 100%;
  background: #fff;
  transition: .3s ease-in-out;
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
  list-style-type: none;
}

	li{
		margin-left: 20px;
		margin-top: 5px;
	}
	
/*チェックがついたら表示させる*/
#nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

.header-logo-menu{
 display: flex;
 display: -moz-flex;
 display: -o-flex;
 display: -webkit-flex;
 display: -ms-flex;
 flex-direction: row;
 -moz-flex-direction: row;
 -o-flex-direction: row;
 -webkit-flex-direction: row;
 -ms-flex-direction: row;
 margin-top: 5.5px;
 margin-left: 10px;
 position: absolute;
 z-index: 3;
}
}

@media screen and (min-width:834px) {
   #nav-drawer {
     display:none;
   }
 }

/* main */
#mainContentsContainer {
    margin: 0 auto;
    max-width: 1160px;
    min-height: 100%;
	padding-bottom: 50px;
}

#leftMargin {
    width: 70px;
    height: 50px;
    min-height: 100%;
}

#rightMargin {
    width: 70px;
    height: 50px;
    min-height: 100%;
}

/* show up objects */
.showUpObject {
	opacity: 0;
	transform: translate(0,5%);
    transition: all 1.0s;
}

.showUpObject.screened {
	transform: translate(0, 0);
	opacity: 1;
}

/* picture */
#pictures {
    width: 86%;
    max-width: 1020px;
	text-align: center;
	margin: 0 auto;
}

.picture {
    width:32%;
	margin-bottom: 10px;
}

.beforePicture {
    display: block;
}

.picture .graySheet {
    width: 100%;
    height: 100%;
    background-color: #444;
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
	transition: opacity .5s;
}

.caption {
    width: 100%;
    height: 20px;
    color: #fff;
    position: absolute;
    font-size: 9pt;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    text-align: center;
    line-height: 20px;
}

.picture .graySheet:hover{
  opacity: 0.8;
}

.picture img{
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
	box-sizing: border-box;
}

/* レスポンシブル要素 */
@media(max-width:834px) {
    .picture {
        width: 48.5%;
		margin-bottom: 10px;
    }
	
	#leftMargin {
		display: none;
	}
	
	#rightMargin {
		display: none;
	}
	
	#pictures {
		width: 97%;
		margin: 0 auto;
	}
	
	#sidebar {
		display: none;
	}
	
	#headerList {
		display: none;
	}
	
	.topArrow {
		cursor: pointer;
		width: 58px;
		height: 38px;
		background: url("../img/topArrow.png");
		position: fixed;
		bottom: 35px;
		right: 30px;
	}
	
	#topMargin {
		width: 70px;
        height: 30px;
        min-height: 100%;
	}
}

/* top arrow */
@media(min-width:834px) {
 .topArrow {
    cursor: pointer;
    width: 58px;
    height: 38px;
    background: url("../img/topArrow.png");
    position: fixed;
	bottom: 50px;
    right: 60px;
	}
}

html {
    scroll-behavior: smooth;
}

/* footer */
#copyright {
  width: 100%;
  text-align: right;
  font-size: 8pt;
  position: absolute;
}

#copyright div{
	margin-right: 3%;
	margin-bottom: 9px;
}
