/*
Theme Name: 群馬芸術文化バックアップセンター
*/

/* CSS Document */

/* --- Reset CSS ---------------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: Verdana, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  line-height: 1.8em;
  -webkit-font-smoothing: antialiased; /* フォントをなめらかにwin */
  -moz-osx-font-smoothing: grayscale; /* フォントをなめらかにmac */
}
header, footer, nav, menu, article, aside, section, details, figcaption, figure{
  display: block;
}
ul, ol {
  list-style: none;
}
table {
  border-collapse: collapse;
}
img {
  vertical-align: bottom;
}
a img {
  border: none;
}
a {
  transition: .2s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
}
a:hover { /*hoverした時の変化*/
  opacity:0.7; /*透過具合を変更したい場合はこの数値を変更*/
}
a[href $='.pdf'] {
	background: url(images/icon_pdf.gif) no-repeat left;
	padding-left: 20px;
	overflow: hidden;
}
a[href $='.doc'] {
	background: url(images/icon_doc.gif) no-repeat left;
	padding-left: 20px;
	overflow: hidden;
}
a[href $='.xls'] {
	background: url(images/icon_xls.gif) no-repeat left;
	padding-left: 20px;
	overflow: hidden;
}
a[href $='.docx'] {
	background: url(images/icon_doc.gif) no-repeat left;
	padding-left: 20px;
	overflow: hidden;
}
a[href $='.xlsx'] {
	background: url(images/icon_xls.gif) no-repeat left;
	padding-left: 20px;
	overflow: hidden;
}
.sp {
  display: none;
}
@media screen and (max-width:999px) {
  img {
    max-width: 100%;
  }
}
@media screen and (max-width:520px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}

.grecaptcha-badge { visibility: hidden; }


/* --- ヘッダー ------------------------------------------------------------------------------------- */
header {
  /* headerを画面上部に固定する */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  align-items: center;
  /* スクロールしても他のコンテンツの下にならないようにする */
  z-index: 100;
  /* 背景色を白にする */
  background: #fff;
  /* headerに余白を作る */
  padding: 20px 20px 20px 20px;
  /* アニメーションの変化時間 */
  transition: 0.5s;
}

/* ロゴのデザイン */
header .logo {
  margin: 0 0 20px 0;
}
@media screen and (max-width:1000px) {
  header {
    padding: 10px;
  }
  header .logo {
    margin: 0;
  }
  header .logo img {
    max-width: 50%;
  }
}

/* 検索ボタン */
#form-serch{
  position: fixed; /* 要素の位置を固定する */
  top: 20px; /* 基準の位置を画面の上に指定する */
  right: 300px; /* 基準の位置を画面の右に指定する */
  width:300px;	
}
#fbox{
  width: 100%;
  border: none;
  height:46px;
  padding:0 15px; 
  position:absolute; 
  left:0;
  top:0; 
  border-radius: 0.5rem;
  outline:0;
  background:#eee;
}
#fbtn{
  height:46px;
  width:46px;	
  position:absolute; 
  left:254px; 
  top:0;
  background:#7fbfff;
  color:#fff;
  border:none;
  border-radius:0 0.5rem 0.5rem 0;
}
#fbtn .fa-search{
  font-size:20px;	
  position:absolute;
  top:30%;
  left:30%;	
}
#fbtn:hover{
  color:#888;
}
#form-serch-sp{
  position: fixed; /* 要素の位置を固定する */
  top: 550px; /* 基準の位置を画面の上に指定する */
  left: 50px; /* 基準の位置を画面の右に指定する */
  width:300px;	
}
@media screen and (max-width:1000px) {
  #form-serch-sp{top:auto;left:300px;bottom:150px;}
  #fbox {background:#fff;}
}
@media screen and (max-width:800px) {
  #form-serch-sp{top:auto;left:180px;bottom:100px;}
}
@media screen and (max-width:600px) {
  #form-serch-sp{top:auto;left:50px;bottom:80px;}
}

/* 問い合わせボタン */
.btn-t-pc {
  position: fixed; /* 要素の位置を固定する */
  top: 20px; /* 基準の位置を画面の上に指定する */
  right: 75px; /* 基準の位置を画面の右に指定する */
  display: inline-block;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  border-radius: 0.5rem;
  color: #fff;
  background-color: #504628;
  padding: 0.5rem 1rem;
}
a.btn-t-pc i.fa {
  margin-right: 1rem;
}
.btn-t-pc2 {
  position: fixed; /* 要素の位置を固定する */
  top: 20px; /* 基準の位置を画面の上に指定する */
  right: 20px; /* 基準の位置を画面の右に指定する */
  display: inline-block;
  cursor: pointer;
}
.btn-t-sp {
  position: fixed; /* 要素の位置を固定する */
  top: 20px; /* 基準の位置を画面の上に指定する */
  right: 70px; /* 基準の位置を画面の右に指定する */
  font-size: 30px;
  cursor: pointer;
  color: #504628;
}
a.btn-t-sp i.fa {
  margin-right: 1rem;
}
.btn-t-sp2 {
  position: fixed; /* 要素の位置を固定する */
  top: 20px; /* 基準の位置を画面の上に指定する */
  right: 110px; /* 基準の位置を画面の右に指定する */
  display: inline-block;
  cursor: pointer;
  width: 34px;
  height: 34px;
}

/* ナビゲーションのリンクを横並びにする */
header ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
header li {
  list-style: none;
}
header li+li {  /* メニューの横に区切り線を付ける */
  border-left: 1px solid #999;
}
.example li+li::before{
  content: "";
  display: block;
  height: 1em;
  border-left: 1px solid #999;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}

/* ナビゲーションのリンクのスタイル調整 */
header li a {
  display: inline-block;
  margin-left: 12px;
  color: #504628;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: 1px;
  padding-right: 10px;
  /* アニメーションの変化時間 */
  transition: 0.5s;
}

/* スクロールして「scroll-navクラス」がついたときのヘッダーデザイン */
/*header.scroll-nav {
  /* 余白を狭くする
  padding: 15px 0; */
  /* 背景を白色透明にする 
  background-color: rgba(255, 255, 255, 0.5);*/
/*}

/* ナビゲーションのレスポンシブ */
#form-serch-sp, header .btn-t-sp, header .spnavi, .btn-t-sp2 {
  display: none;
}
@media screen and (max-width:1000px) {
  #form-serch, header a.btn-t-pc, header .pcnavi, .btn-t-pc2 {
    display: none;
  }
  #form-serch-sp, header .btn-t-sp, header .spnavi, .btn-t-sp2 {
    display: block;
  }
}

/* SPハンバーガーメニュー */
.nav_toggle,
.nav {
  display: none;
}
@media screen and (max-width: 1000px) {
/* ハンバーガーのマーク */
  .nav_toggle {
    position: fixed; /* 要素の位置を固定する */
    top: 10px; /* 基準の位置を画面の上に指定する */
    right: 10px; /* 基準の位置を画面の右に指定する */
    height: 46px;
    width: 46px;
    display: inline-block;
    box-sizing: border-box;
    background-color: #fff;
    border: 2px solid #666;
    border-radius: 4px;
  }
  .nav_toggle div {
    position: absolute;
    left: 7px;
    height: 2px;
    width: 28px;
    background-color: #666;
    border-radius: 2px;
    display: inline-block;
    box-sizing: border-box;
    transition: 0.5s;
  }
  .nav_toggle div:nth-child(1) {
    bottom: 30px;
  }
  .nav_toggle div:nth-child(2) {
    bottom: 20px;
  }
  .nav_toggle div:nth-child(3) {
    bottom: 10px;
  }
  /* クリックされた後のハンバーガーのマーク */
  .nav_toggle.show div:nth-child(1) {
    transform: translateY(9px) rotate(-45deg);
  }
  .nav_toggle.show div:nth-child(2) {
    opacity: 0;
  }
  .nav_toggle.show div:nth-child(3) {
    transform: translateY(-11px) rotate(45deg);
  }
  /* クリックで表示されるメニュー：クリックされる前 */
  .nav {
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
    background-color: #f4f1e9;
    z-index: 1;
  }
  .nav_menu_li {
    margin-bottom: 15px;
    text-align: center;
  }
  .nav_menu_li a {
    color: #000;
    text-decoration: none;
  }
  .nav_menu_li a::before{
    content: "> " ;
  }
  /* クリックで表示されるメニュー：クリックされた後 */
  .nav.show {
    opacity: 0.9;
    visibility: visible;
  }
}




/* --- フッター ------------------------------------------------------------------------------------- */
footer {
  width: 100%;
  padding: 30px 15px;
  font-size: 12px;
  background-color: #332301;
}
footer a {
  color: #fff;
  text-decoration: none;
}
.f-logo {
  width: 1000px;
  margin: 30px auto 0 auto;
}
.f-box {
  width: 1000px;
  margin: 30px auto 0 auto;
  color: #fff;
}
.f-box ul {
  padding: 0 0 0 20px ;
  margin: 0 200px 0 50px ;
  border-left: 1px solid #fff;
  font-size: 15px;
  line-height: 2em;
}
.f-box .f-prof-pc {
  float: right;
}
.f-box .copyright {
  color: #999;
  float: right;
}
.f-box .f-link-pc {
  margin-left: 60px;
}
.f-box .f-link-pc span {
  color: #999;
}
.f-box .f-prof-sp, .f-box .f-link-sp {
  display: none;
}
@media screen and (max-width:1000px) {
  .f-logo, .f-box {
    width: 100%;
    text-align: center;
  }
  .f-box ul {
    padding: 0 ;
    margin: auto ;
    border-left: none;
  }
  .f-box .f-prof-pc, .f-box .f-link-pc {
    display: none;
  }
  .f-box .copyright {
    float: none;
  }
  .f-box .f-prof-sp, .f-box .f-link-sp {
    display: block;
  }
  .f-box .f-link-sp {
    margin: 20px 0;
    height: 50px;
  }
  .f-box .f-link-sp span {
    color: #999;
  }
}

/*ページトップリンク*/
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #fff;
  border: solid 1px #332301;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  opacity: 0;/*普段は隠しておく*/
	visibility: hidden;
}
.pagetop.isActive {
  opacity: 0.5;/*activeが付いたら表示*/
	visibility: visible;
}
.pagetop__arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #332301;
  border-right: 3px solid #332301;
  transform: translateY(20%) rotate(-45deg);
}

/*jQueryとCSSアニメーションを組み合わせてスクロールをしたらふわっと要素を動かす*/
.fadeUpTrigger{
  opacity: 0;
  }
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity: 0;
}
@keyframes fadeUpAnime{
  from {
    opacity: 0;
    transform: translateY(50px);/*動きの大きさ*/
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* btn_white */
.btn_news {
  margin: auto auto auto 750px;
}
.btn_user {
  margin: 15px auto auto auto;
}
.btn_movie {
  margin: 15px auto;
}
.btn_qa {
  margin: 30px auto;
}
.btn_white a{
  background: #fff;
  border: 1px solid #999;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 200px;
  padding: 7px 10px;
  color: #313131;
  font-size: 14px;
  transition: 0.3s ease-in-out;
  box-shadow: 4px 4px 0 #ccc;
  text-decoration: none;
}
.btn_white a:hover {
background-color: #fff;
box-shadow: 0 0 0;
transform: translate(4px, 4px);
}
@media screen and (max-width:1000px) {
  .btn_news {
    max-width: none;
    margin: auto;
  }
}





