/*ベース*/
* {
  box-sizing: border-box;
}

body {
  width: 100%;
  max-height: 10px;
  margin: 0;
  padding: 0;
  font-family: "Times New Roman", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ　Ｐゴシック", "Helvetica Neue", helvetica, Arial, sans-serif;
  background-color: #ffffff;
  background-image: url(../img/gall-0005.jpg);
  background-repeat: no-repeat;
  background-position: 0% 0%;
  background-size: 100% auto;
  top: 0;
}
/*背景画像設定*/

/*header編集部--------------------------------------------------*/
/*imgロゴ設定*/
.img-logo {
  width: 50px;
  height: 50px;
  padding: 0;
  margin: 0;
}
/*ヘッダー基本設定項目*/
header {
  width: 100%;
  padding: 10px 20px 10px 10px;
  background-color: #33333350;
  top: 0;
  display: flex;
  align-items: center;
}
/*TS-PAC文字用*/
.header-title {
  margin: 0;
  padding: 0;
  font-size: 20px;
  color: #ffffff;
}
.top {
  font-size: 20px;
}
.ts-title {
  text-decoration: none;
  color: #ffffff;
}
/*aタグのデザイン変更*/
.top-url, .bottom-url {
  text-decoration: none;
  color: #ffffff;
}
/*リストタグのデザイン変更*/
.top-menu {
  list-style: none;
  display: flex;
  padding: 0 0 0 2%;
}
.footer {
  list-style: none;
  display: flex;
  padding: 0 0 0 2%;
}
.top {
  margin: 0 0 0 0;
  font-size: 20px;
  flex-grow: 1;
  text-align: center;
}
.bottom {
  padding: 0 10px 0 10px;
  margin: 0 0 0 0;
  font-size: 16px;
  text-align: center;
}
li + li:not(.gall-cat):not(.gall-item) {
  border-left: 1px solid #ffffff;

}
/*ナビの配置変更*/
nav {
  margin: 0 0 0 auto;
  text-align: center;
  flex-grow: 0.5;
}
/*main編集部-------------------------------------------------*/
/*imgタイトル用*/
.img-title {
  margin: 0 0;
  padding: 0 0 0 20px;
  font-size: 10vw;
  color: #ffffff;
}
.img-word {
  margin: 0;
  padding: 0 0 20vw 0;
}
/*サブタイトル編集部*/
.sub-title {
  margin: 0 0 0 0;
  padding: 5px 0 0 0;
  font-size: 32px;
  text-align: center;
}
/*NEWS編集部*/
/*sectionブロック設定*/
.news1 {
  margin: auto;
  padding: 10vw 0 0 0;
}
.news2 {
  margin: auto;
  padding: 5vw 0;
}
/*newsリスト設定*/
.news-list {
  list-style: none outside;
  padding: 0;
  margin: 0;
}
/*aタグの色サイズ設定(共有)*/
.news-list .item .news-url {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333333;
  border-bottom: 1px solid #cccccc;
  padding: 20px 20px;
}
/*aタグ初期設定*/
.news-list .item:first-child .news-url {
  border-top: 1px solid #cccccc;
  width: 100%;
}
.news-list .item .date {
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #000000;
  padding: 0 20px 0 0;
}
.news-list .item .category {
  margin: 0;
  min-width: 140px;
  padding: 0 20px 0 0;
}
.news-list .item .category span {
  background: #55826f;
  color: #ffffff;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
}
.news-list .item .news-title {
  margin: 0;
  width: 100%;
}
.news-list .item a:hover .news-title {
  color: #336666;
}
.inner {
width: 80%;
height: auto;
background-color: #ececec;
margin: 0 auto;
padding: 0 0;
}
.news-url {
  text-decoration: none;
  color: #000000;
  width: 100%;
}

/*＝＝＝並び替えボタンのCSS*/
.sort-btn{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding:50px 0 35px 20px;
  margin: 8% 0 0 0;
}

.sort-btn li{
  background: #eee;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
  margin: 0 10px;
}

.sort-btn li.active{/*ボタンに現在地＝activeというクラス名がついたら背景色を変更*/
  background:#cccccc;  
}

/*横幅が480px以下になった際の指定*/
@media only screen and (max-width: 480px) {
.sort-btn{
  justify-content: space-between;
}
  
.sort-btn li{
  width:48%;
  margin:0 0 10px 0;
  text-align:center;
  } 
}

/*＝＝＝Muuriのレイアウトのための調整 */
.grid {
  position: relative;/*並び替えの基準点を指定*/
}

/*各画像の横幅などの設定*/
.item {
  display: block;
  position: absolute;
  width: 33%;/*横並びで3つ表示*/
  z-index: 1;
  list-style: none;
}

/*内側のボックスの高さが崩れないように維持*/
.item-content {
  position: relative;
  width: 100%;
  height: 100%;
}

/*画像の横幅を100%にしてレスポンシブ化*/
.grid img{
  width:100%;
  height:auto;
  vertical-align: bottom;/*画像の下にできる余白を削除*/
}

/*横幅が768px以下になった際の指定*/
@media only screen and (max-width: 768px) {
.item {
  width: 49.5%;/*横並びで2つ表示*/
}
}

/*＝＝＝fancyboxサムネイル背景と画像選択時の枠線の指定*/
.fancybox-thumbs {
    background: transparent!important;
}

.fancybox-thumbs__list a:before {
    border: 6px solid #55826f;
}


/*========= レイアウトのためのCSS ===============*/
ul{
  margin:0;
  padding: 0;
  list-style: none;
}

a{
  color: #333;
}

a:hover,
a:active{
  text-decoration: none;
}



p{
  margin:0 10px 10px 10px;
  word-wrap : break-word;
}

/*footer編集部--------------------------------------------------*/
/*footer基本設定項目*/
footer {
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #55826f;
}
/*footerタイトル用*/
.footer-title {
  margin: 10px;
  padding: 5px 16px;
  font-size: 16px;
  color: #ffffff;
}
.group-name {
  margin: auto;
  padding: 50px 0 0 0;
  font-size: 12px;
  text-align: center;
  color: #ffffff;
}
.copyright {
  margin: auto;
  padding: 0 0 10px 0;
  font-size: 12px;
  text-align: center;
  color: #ffffff;
}