/*
Theme Name: oginosato NEWsite
Theme URI: http://www.oginosato.jp/
Author: 仰木の里学区まちづくり協議会
Author URI: 仰木の里学区まちづくり協議会
Description: 仰木の里学区まちづくり協議会公式ホームページ/サイバータウン
Version: 0.99
*/

@charset "utf-8";

/*
.m-plus-rounded-1c-thin {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 100,300,400,500,700,800,900;
  font-style: normal;
}

.shippori-mincho-regular {
  font-family: "Shippori Mincho", serif;
  font-weight: 400,500,600,700,800
  font-style: normal;
}
*/


html {
  font-size: 16px;
}

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 300;
  font-style: normal;
}

h1 {text-shadow: 0 0 10px rgba(0,0,0,1)!important;}

h2 {}

h3 {}

h4 {}

h5 {}

p {}

dl {}

dt {}

dd {}

ul {
  list-style: none;
}

li {
  list-style: none;
}

a { text-decoration: none;}
a:link{ color: #000;}
a:visited {color: #000;}
a:hover { color: darkgreen;}
a:active {}


a.button {
  border-radius: 20px !important;
  border: none !important;
  background-color: green !important;
  color: #fff !important;
  padding: 0.25rem 0.5rem !important;
  text-decoration: none !important;
}

a.button:hover {
  background: black !important;
  color: #fff;
}

a.button2 {
  border-radius: 5px !important;
  border: none !important;
  background-color: white !important;
  color: forestgreen !important;
  padding: 0.25rem 0.5rem !important;
  text-decoration: none !important;
}

a.button2:hover {
  background: black !important;
  color: #fff;
}

a.button3 {
  border-radius: 5px !important;
  border: #000 !important;
  background-color: #000 !important;
  color: #fff !important;
  padding: 0.25rem 0.5rem !important;
  text-decoration: none !important;
}

a.button3:hover {
  background: #666 !important;
  color: #000;
}

/*navigation*/

.bg-ogi-green {
  background-color: #a7ce40;
}

#sub_navi {}

#sub_1_navi {
  /*  background-image: url(img/bg-green.png);
  background-repeat: repeat-x;*/
  background-color: #a7ce40;
  height: 3rem;
  font-weight: 600;
  padding-top: 0rem;
}

#sub_2_navi {
  background-color: #f9ecf3;
  height: 3rem;
}

#sub_1_navi img {
  width: 300px;
  height: auto;
}

#sub_2_navi input[type=text] {
  width: 200px;
}

#sub_3_navi {
  background-color: #f9ecf3;
  height: 2rem;
}





nav {
  margin-top: -3rem;
  background: rgba(255, 255, 255, 0);
  font-weight: 600;
  font-size: 0.85rem;
}

.nav-item {}

/*inner waku*/
.inner {
  width: 150px;
  background: #fff;
  border: 5px solid #f9ecf3;
}

footer {
  background-color: #a7ce40;
  background-repeat: repeat;
  padding: 2rem 0 1rem 0;
}

footer a {}

footer a:link {
  color: #fff;
  text-decoration: none;
}

footer a:visited {
  color: #fff;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

footer a:active {}




/*ticker*/
/*------------------------------------------news*/
/*--telop news---------------------*/
#telop_news ul {
  margin-left: 0 !important;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 1rem !important;
}

#telop_news ul li {
  font-size: 1.25rem;
}

.horizontalFlowing {
  padding: 15px 0;
  align-items: center;
  overflow: hidden;
  background: #f9ecf3;
  margin-top: -1rem;
}

.horizontalFlowing_content.-right-to-left {
  display: flex;
  padding-left: 100%;
  white-space: nowrap;
  animation-name: flows-from-right-to-left;
  animation-duration: 20s;
  /* アニメーションのスピード */
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-delay: 0s;
  animation-fill-mode: both;
}

@keyframes flows-from-right-to-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-150%);
  }
}

.horizontalFlowing:hover .horizontalFlowing_content.-right-to-left {
  animation-play-state: paused;
}



/* ticker category*/
/*------------------------------------------news*/
#news2{ 
width:100%;
overflow: hidden;}

@keyframes ticker {
  0% {
    transform: translate(0, 0);
    visibility: visible;
  }
  100% {
    transform: translate(-100%, 0);
  }
}
.ticker-wrap {
  /*position: fixed;
  bottom: 0;*/
  width: 100%;
  overflow: hidden;
  height: 2rem;
  background-color: rgba(251, 220, 220, 0.25);
  padding: 0.5rem 0;
  padding-left: 100%;
  box-sizing: content-box;
}

.ticker-wrap .ticker {
  display: inline-block;
  height: 2rem;
  line-height: 2rem;
  white-space: nowrap;
  padding-right: 100%;
  box-sizing: content-box;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-name: ticker;
  animation-duration: 20s;
  font-weight: 700!important;
}
.ticker-wrap .ticker__item {
  display: inline-block;
  padding: 0 2rem;
  font-size: 1rem;
  color: rgb(0, 0, 0);
}
 
.ticker-wrap:hover .ticker{
  animation-play-state: paused;
}





#news {}

#news li {
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

#news h2, #machi h2 {
  border-bottom: 5px solid #a7ce40;
  margin-bottom: 1.5rem;
}

#news .h-100, #machi .h-100 {
  border: 5px solid #a7ce40;
  border-radius: 1rem;
}






#event {}

#event li {
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

#event h2 {
  border-bottom: 5px solid #a7ce40;
  margin-bottom: 1.5rem;
}

#event .h-100 {
  border: 5px solid #a7ce40;
  border-radius: 1rem;
}

#community {}

#community li {
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

#community h2,
#club h2 {
  border-bottom: 5px solid #a7ce40;
  margin-bottom: 1.5rem;
}

#community .h-100,
#club .h-100 {
  border: 5px solid #a7ce40;
  border-radius: 1rem;
}


body.page .slider_outer {
  background-image: url(img/header-bk7.jpg);
  background-size: cover;
  background-position: right bottom;
  height: 300px;
  padding-top: 3rem;
}

body.category .slider_outer {
  background-image: url(img/header-bk3.jpg);
  background-size: cover;
  background-position: right bottom;
  height: 300px;
  padding-top: 3rem;
}

body.category .naka_waku li:nth-child(2n) {
  background-color: #f0efef;
}


body.single .slider_outer {
  background-image: url(img/header-bk10.jpg);
  background-size: cover;
  background-position: right bottom;
  height: 300px;
  padding-top: 3rem;
}

body.search .slider_outer {
  background-image: url(img/header-bk12.jpg);
  background-size: cover;
  background-position: right bottom;
  height: 300px;
  padding-top: 3rem;
}

body.error404 .slider_outer {
  background-image: url(img/header-bk12.jpg);
  background-size: cover;
  background-position: right bottom;
  height: 300px;
  padding-top: 3rem;
}

.button_right {
  text-align: end;
}

.sp_rogo img {
  width: 256px;
  height: auto;
}

.kinen_waku,
.category_waku {
  border: 5px solid #a7ce40;
  border-radius: 1rem;
  padding: 1rem;
}

.category_waku a:link {
  color: #000;
}

.category_waku a:visited {
  color: #000;
}

.category_waku a:hover {
  color: blue;
}

.category_waku a:active {}

.cat-item-2,
.cat-item-3,
.cat-item-46,
.cat-item-53 {
  border: 5px solid #a7ce40;
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 3rem;
}

li.cat-item{font-size: 1.5rem; font-weight: 600;}
ul.children li.cat-item{font-size: 1rem; font-weight: 100;}

ul.children li.cat-item::before{
  content:'●' ;
}


/*カテゴリー一覧から消す-----自治会*/
.page-id-637 li.cat-item.cat-item-1,
.page-id-637 li.cat-item.cat-item-3,
.page-id-637 li.cat-item.cat-item-42,
.page-id-637 li.cat-item.cat-item-46,
.page-id-637 li.cat-item.cat-item-53
{display: none;}

.page-id-637 li.cat-item.cat-item-52{
  margin-bottom: 1rem;
}

/*カテゴリー一覧から消す-----構成組織*/
.page-id-639 li.cat-item.cat-item-1,
.page-id-639 li.cat-item.cat-item-2,
.page-id-639 li.cat-item.cat-item-42,
.page-id-639 li.cat-item.cat-item-46,
.page-id-639 li.cat-item.cat-item-53
{display: none;}


.wsp-pages-list{margin-bottom: 2rem;}

.page-id-627 .wsp-container li a::before{content:'●' ;}
.page-id-627 .wsp-container h2.wsp-posts-title,
.page-id-627 .wsp-container h2.wsp-pages-title
{display:none;}

.wsp-posts-list{ margin-bottom: 1rem;}
.wsp-category-title{margin-top: 1rem;}



br.disp{display:none;}
/*------------Responsive design 設定/調整----------------------------*/
@media screen and (max-width: 960px) {
  * {}

}

@media screen and (max-width: 768px) {
  * {}
	br.disp{display:block;}
	h1#n2-ss-2item1,
	h1#n2-ss-2item2,
	h1#n2-ss-2item3,
	h1#n2-ss-2item4,
	h1#n2-ss-2item5{
		line-height:1.0!important;
		margin:2rem 0 4rem 0!important;}
}

@media screen and (max-width: 666px) {
  * {}
  }

@media screen and (max-width: 576px) {
  * {}
}

@media screen and (max-width: 375px) {
  * {}
}
