@charset "utf-8";
/*====================================
  ギャラリー
=====================================*/

/*=================================
  レイアウト
==================================*/
#pagetitle {
  background: url("../images/gallery/pagetitle-bg.jpg") center top no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
}

/*=========================
  gallery
=========================*/
.gallery {
  margin: 5px 0;
}
.gallery li {
  display: inline-block;
  vertical-align:top;
  margin-bottom: 5px;
}

.container {
  max-width: 1010px;
}

.container h1 {
    text-align: center;
    border-bottom: 2px solid #200800;
    letter-spacing: 5px;
    padding-bottom: 15px;
    padding-top: 25px;
    color: #200800;
    margin-bottom: 20px;
    line-height: 1;
    font-size: 2.6rem;
}
.container h2 {
  text-align: left;
  font-size: 1.4rem;
  padding: 10px 18px;
  color: white;
  background: #200800;
  letter-spacing: 2px;
  margin: 10px 0;
  line-height: 1;
  clear: both;
}

.container p {
  text-align: left;
  margin: 15px 0;
  padding-left: 15px;
}

.container ul {
  margin-bottom: 20px;
}

.headline02 a {
	color: white;
	text-decoration: none;
}	


.link {
  width: 100%;
  height: 30px;
  color: #200800;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  display: block;
  background: #FFF;
  padding: 7px 10px;
  border: 1px solid #200800;
  border-radius: 25px;
  line-height: 15px;
}

.link:hover {
  color: white;
  background: #200800;
}

#History a {
	color: #200800;
	text-decoration: none;
}

#History ul,
#History ol {
  padding: 10px;
 	position: relative;
}

#History ul li,
#History ol li {
  color: #200800;
  border-left: solid 6px #3f312b;	/*左側の線*/
  background: #eee;								/*背景色*/
  margin-bottom: 3px;							/*下のバーとの余白*/
  line-height: 1.5;
  padding: 0.5em;
  font-size: 1.1em;
  list-style-type: none!important;/*ポチ消す*/
}
#History ul li:hover {
	background: #dcdcdc;
}

/*アコーディオン開閉表示*/
.acdn_tab {
	position: relative;
	margin-bottom: 1px;
	margin-left: 10px;
	width: 98%;
	color: #FFF;
	overflow: hidden;
}
.acdn_tab input {
	position: absolute;
	opacity: 0;
	z-index: -1;
}
/*表示ラベル*/
.acdn_tab label {
	position: relative;
	display: block;
	padding-left:10px;
	font-weight: bold;					/*太字*/
	line-height: 2.5;
	cursor: pointer;
	background-color: #3f312b;	/*背景色*/
	border-radius: 8px; 				/*角を丸める*/
}
/*内容*/
.acdn_con {
	color: #000;
	max-height: 0;
	overflow: hidden;
	transition: max-height .50s;
}
.acdn_con a{
	text-decoration:none;
}
/* クリック時に開く */
input:checked ~ .acdn_con {
	max-height: 100%;
}
/* ラベルに「+」アイコン */
.acdn_tab label::after {
	position: absolute;
	right: 0;
	top: 0;
	display: block;
	width: 3em;
	height: 3em;
	line-height: 2.5;
	text-align: center;
	transition: all .50s;
}
/* 「+」アイコンのアクション*/
.acdn_tab input[type=checkbox] + label::after {
	content: "+";
}
.acdn_tab input[type=checkbox]:checked + label::after {
	transform: rotate(300deg); /*回転させる*/
}

/*=================================
  Colorbox
==================================*/
#colorbox,
#cboxWrapper {
	height: auto !important;
	overflow: visible;
}
#cboxWrapper > div:nth-child(2) {
	display: flex;
}
#cboxContent,
#cboxMiddleLeft,
#cboxMiddleRight {
	height: auto !important;
}
#cboxLoadedContent {
	margin-bottom: 8px;
}
#cboxTitle {
	position: static;
	padding-bottom: 30px;
  padding-left: 10%;
  width: 85%;
}

/* 前へボタン */
#cboxPrevious {
  position: absolute;
  bottom: 6px;
  left: 0px;
  background: url("../images/home/prev.png") center no-repeat;
  width: 25px;
  height: 25px;
  background-size: 15px;
}
#cboxPrevious:hover {
}
 
/* 次へボタン */
#cboxNext {
  position: absolute;
  bottom: 6px;
  left: 30px;
  background: url("../images/home/next.png") center no-repeat;
  width: 25px;
  height: 25px;
  background-size: 15px;
}
#cboxNext:hover {
}

/* 閉じるボタン */
#cboxClose {
  background: url("../images/home/tooltips-close.png") center no-repeat;
  width: 40px;
  height: 40px;
  background-size: 15px;
}
#cboxClose:hover {
  background-position: center;
}

#cboxLoadingOverlay {
  width: 32px;
  height: 32px;
  top: 50%;
  left: 50%;
  margin-left: -16px;
  margin-top: -16px;
}

.bx-wrapper img {
  height: 500px;
  object-fit: cover;
  margin: 0 auto;
}
@media (max-width: 768px) {
	.bx-wrapper img {
  	height: 300px;
  	object-fit: cover;
  	margin: 0 auto;
	}
}

.bx-viewport .bxslider li {
  display: block!important;
}

.bx-wrapper .bx-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(80, 80, 80, 0.75); 
  width: 100%;
}
 
.bx-wrapper .bx-caption span {
  color: #fff;
  font-family: Arial;
  display: block;
  font-size: .85em;
  padding: 10px;
  text-align: center;
}

.mname {
	display: inline-block;
	width: 198px;  
	background: #eee;
	text-align: center;
	padding: 7px;
}
@media (max-width: 768px) {
 	.mname {
		width:120px;
		font-size: 0.8em;
	} 
}

.box01{
    padding: 8px 19px;
    margin: 2em 0;
    color: #200800;
    background: white;
    border-top: solid 5px #200800;
    border-bottom: solid 5px #200800;   
}
.box01 p {
    margin: 0; 
    padding: 0;
    font-size: 1.2em;
    line-height: 1.5em
}
.gallery li {
	margin-bottom: 5px;
}

/*==================================================================
  PC用スタイル ↓
===================================================================*/
@media (min-width: 769px) {
	.gallery img {
	
		width: 198px;
		height: 150px;
	}
  .gallery img:hover {
		opacity: .5;
  }
  
  #about {
    max-width: 1040px;
    padding: 0 15px;
    margin: 0 auto;
  }
  #about .com {
    font-size: 1.4rem;
    letter-spacing: 2px;
    text-align: left;
  }

  #about .project {
    width: 100%;
    background-color: #eeeeee;
    padding: 40px;
    margin-bottom: 40px;
    margin-top: 20px;
  }

  #about .project li {
    width: 435px;
    margin-right: 30px;
    float: left;
  }

  #about .project li:nth-child(2n) {
    margin-right: 0;
  }

  #about .project li h4 {
    font-size: 1.8rem;
    color: #200800;
    padding-bottom: 10px;
    border-bottom: 3px double #200800;
    margin-bottom: 15px;
    letter-spacing: 3px;
    margin-top: 15px;
  }

  #about .project li .com {
    width: 190px;
    float: left;
    font-size: 1.2rem;
    line-height: 2rem;
    letter-spacing: 1px;
  }

  #about .project li .thum {
    width: 200px;
    float: right;
  }

  #about .project li .thum img {
    max-width: 100%;
    height: auto;
  }
  #about .project {
    text-align: center;
  }
  #about .project {
    padding: 35px;
  }
  #about .project li {
    display: inline-block;
    width: 420px;
    width: 48%;
  }
  #about .project li .com {
    width: 230px;
    margin-top: 0;
  }

}

/*==================================================================
  スマートフォン用スタイル ↓
===================================================================*/
@media (max-width: 1023px) {

	#gallery .container {
    padding: 0 15px;
  }

  #about{
    padding: 15px 15px 40px 15px!important;
    margin: 0 auto;
  }

  #about .com {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
  }

  #about .project{
    width: 100%;
    background-color: #eeeeee;
    padding: 20px 20px 30px 20px;
    margin-bottom: 30px;
  }
  #about .project li{
    width: 100%;
    margin-bottom: 20px;
  }
  #about .project li:last-child{
    margin-bottom: 0;
  }
  
  #about .project li h4{
    font-size: 1.6rem;
    color: #200800;
    padding-bottom: 10px;
    border-bottom: 3px double #200800;
    margin-bottom: 15px;
    letter-spacing: 3px;
  }

  #about .project li .com{
    width: 66%;
    float: left;
    font-size: 1.2rem;
    line-height: 2rem;
    letter-spacing: 1px;
  }

  #about .project li .thum{
    width: 33%;
    float: right;
  }

  #about .project li .thum img {
  	width: 100%;
    max-width: 100%;
    height: auto;
  }
  
  #about .project li .link {
    max-width: 200px;
  }
}
/*==================================================================
  スマートフォン用スタイル ↓
===================================================================*/

@media (max-width: 768px) {

 	.gallery img {
		width:120px;
		height: 100px;
	}

 	#about{
    padding: 15px 15px 40px 15px!important;
    margin: 0 auto;
  }

  #about > .com{
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }

  #about .project{
    width: 100%;
    background-color: #eeeeee;
    padding: 20px 20px 30px 20px;
    margin-bottom: 30px;
  }

  #about .project li{
    width: 100%;
    margin-bottom: 20px;
  }

  #about .project li:last-child{
    margin-bottom: 0;
  }
  
  #about .project li h4{
    font-size: 1.6rem;
    color: #200800;
    padding-bottom: 10px;
    border-bottom: 3px double #200800;
    margin-bottom: 15px;
    letter-spacing: 3px;
  }

  #about .project li .com{
    width: 49%;
    float: left;
    font-size: 1.2rem;
    line-height: 2rem;
    letter-spacing: 1px;
  }

  #about .project li .thum{
    width: 49%;
    float: right;
  }

  #about .project li .thum img{
    width: 100%;
    height: auto;
  }

}

