@charset 'utf-8';
/* トップページ専用 */

/* ============================= 色設定CSS ============================= */

/* 背景色 */
div.back_blue {
  background-color: #aee1be;
}

/* 続きボタン */
p.top_more a:link,
p.top_more a:visited {
  border: 1px solid #0f8539;
}
p.top_more a:active,
p.top_more a:hover {
  background-color: #0f8539;
  color: #fff;
}

/* ニュース、新着 */
p.new_info_cate_title {
  background-color: #0f8539;
  color: #fff;
}

/* 議員リスト */
ul.giin_list li h3.ura_title {
  background-color: #a8e8bf;
  color: #fff;
}

/* 声 */
div.widetitle::after {
  background-color: rgba(0, 0, 0, 0.5);
}
div.widetitle h2,
div.widetitle p {
  color: #fff;
}
ul.voice_list li a {
  border: 2px solid #ccc;
}
ul.voice_list li a p {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
}

@media only screen and (min-width: 600px) {
  /* タブレット */

  /* movie */
  ul.movie_list li {
    width: 32%;
    padding: 0 0.25em 1em 0.25em;
  }
}

@media only screen and (min-width: 1025px) {
  /* PC */
}

/* ============================= 個別CSS ============================= */

/* RSS */
.wp-block-rss__item{
  background-color: white;
  margin-bottom: 10px;
  border-radius: 10px;
  padding: 10px;
}

/* イントロ */


/* 続きボタン */
p.top_more {
  text-align: center;
  margin: 2em 0 0 0;
}
p.top_more a {
  display: inline-block;
  padding: 0.25em 2.25em;
}

/* 背景色 */
div.back_blue {
  padding: 5vh 0;
  margin: 0 0 5vh 0;
}

/* ニュース、新着 */
ul.new_info {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 2em 0 0 0;
}
ul.new_info li {
  box-sizing: border-box;
  padding: 0 0.25em;
  margin: 0 0 0.75em 0;
  width: 50%;
}
div.new_info_ph {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  width: 100%;
  margin: 0 0 0.25em 0;
}
div.new_info_ph img {
  object-fit: cover;
  object-position: center center;
  height: 100%;
  width: 100%;
}


.top_kiji{
  font-size: 90%;
  display: -webkit-box;
  -webkit-line-clamp: 2;         /* 2行で切る */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 4em;                   /* 高さを固定（行の高さ×行数） */
  line-height: 1.85em;            /* 行の高さ：1.5 × 2 = 3em */
}

ul.new_info li p.new_info_cate_title {
  font-size: 100%;
  padding: 0.25em 0 0.35em 0;
}
/* 議員リスト */
ul.giin_list {
  display: flex;
  justify-content: space-around;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 2em 0 0 0;
}
ul.giin_list li {
  box-sizing: border-box;
  padding: 0 0.25em;
  margin: 0 0 1em 0;
  width: 50%;
  cursor: pointer;
}
ul.giin_list li img {
  margin: auto;
}
ul.giin_list li h3 {
  font-size: 150%;
  padding: 0.5em 0;
}
ul.giin_list li h3.ura_title {
  font-size: 125%;
  padding: 0.25em 1em;
  margin: 0 0 0.5em 0;
}
ul.giin_list li div.ura_txt {
  font-size: 90%;
  margin: 0.75em 0 0 0;
}
ul.giin_list li div.ura_txt dl dt {
  margin: 0.75em 0 0 0;
  font-weight: 500;
}
ul.giin_list li div.ura_txt dl dt:first-child {
  margin: 0;
}
ul.giin_list li.giin div.omote {
  display: block;
}
ul.giin_list li.giin.change div.omote {
  display: none;
}
ul.giin_list li.giin div.ura {
  display: none;
}
ul.giin_list li.giin.change div.ura {
  display: block;
}

/* 声 */
div.widetitle {
  padding: 5em 0;
  position: relative;
  margin: 0 0 1em 0;
  z-index: 1;
  width: 100%;
}
div.widetitle::before,
div.widetitle::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
div.widetitle::before {
  background-image: url("../img/topmain.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: -2;
}
div.widetitle::after {
  z-index: -1;
}
div.widetitle h2 {
  font-size: 170%;
  font-weight: 500;
  margin: 0 0 0.25em 0;
}
div.widetitle p {
  font-size: 120%;
  font-weight: 500;
}
div.voice_read {
  padding: 1.5em 0;
}
div.voice_read p {
  font-size: 110%;
  line-height: 2;
}
ul.voice_list {
  padding: 0 0 1em 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}
ul.voice_list li {
  box-sizing: border-box;
  width: 50%;
  padding: 0 0.25em;
  margin: 0 0 1em 0;
}
ul.voice_list li a {
  aspect-ratio: 1/1;
  display: block;
  border-radius: 50%;
  box-sizing: border-box;
  overflow: hidden;
  height: auto;
  width: auto;
  position: relative;
  z-index: 1;
}
ul.voice_list li a div.voice_bk img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
}
ul.voice_list li a div.voice_facade img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
}
ul.voice_list li a p {
  font-size: 150%;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: auto;
  width: 80%;
  text-align: center;
}
ul.voice_list li a:link div.voice_bk img,
ul.voice_list li a:link p,
ul.voice_list li a:visited div.voice_bk img,
ul.voice_list li a:visited p {
  opacity: 0;
  transition: 0.3s;
}
ul.voice_list li a:active div.voice_bk img,
ul.voice_list li a:active p,
ul.voice_list li a:hover div.voice_bk img,
ul.voice_list li a:hover p {
  opacity: 1;
  transition: 0.3s;
}
ul.voice_list li a:link div.voice_facade img,
ul.voice_list li a:visited div.voice_facade img {
  transition: 0.3s;
  opacity: 1;
}
ul.voice_list li a:active div.voice_facade img,
ul.voice_list li a:hover div.voice_facade img {
  transition: 0.3s;
  opacity: 0;
}

/* マップ */
.map_kodaira {
	margin-top:5vh;
  position: relative;
}

.map_hosoya {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 50%;
  height: 50%;
}

.map_suzuki {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 50%;
  height: 50%;
}

.map_miwa {
    position: absolute;
    top: 0%;
    left: 50%;
    width: 50%;
    height: 100%;
}

@media only screen and (min-width: 600px) {
  /* タブレット */

  /* ニュース、新着 */
  ul.new_info li {
    padding: 0 0.5em;
    margin: 0 0 1em 0;
  }
  p.new_info_cate_title {
    padding: 0.5em 0 0.65em 0;
  }

  /* 議員リスト */
  ul.giin_list li {
    box-sizing: border-box;
    padding: 0 0.75em;
    width: 33%;
  }
}

@media only screen and (min-width: 1025px) {
  /* PC */



	
  /* ニュース、新着 */
  ul.new_info li {
    width: 25%;
  }

  /* 声 */
  div.widetitle h2 {
    font-size: 250%;
  }
  div.widetitle p {
    font-size: 150%;
  }
  ul.voice_list li {
    width: 30%;
    padding: 0 0.5em;
  }

  /* movie */
  ul.movie_list {
    justify-content: flex-start;
  }
  ul.movie_list li {
    width: 33%;
  }
}
