/* bodyの背景色 */
.line-bg {
  background: url(../img/index/line.png) no-repeat center;
}
@media only screen and (max-width: 1200px) {
  .line-bg {
    background-size: 300%;
    background-position: 30% 100%;
  }
}
:root {
  --primary: #7b1314;
}
/* 绿背景 */
.back-ground {
  background-image: repeating-linear-gradient(
    51deg,
    transparent,
    transparent 6px,
    #e3f5ef 4px,
    #e3f5ef 7px
  );
  background-color: #e5f3e5;
}
/* 斜线背景 */
.l-wrapper {
  background-size: auto auto;
  background-image: repeating-linear-gradient(
    51deg,
    transparent,
    transparent 6px,
    #e3f5ef 4px,
    #e3f5ef 7px
  );
}
/* header 背景 */
.header-bg {
  height: 960px;
  background: url(../img/index/slider04.jpg) no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 100px;
}
/* slick */
.main-slider {
  width: 970px;
  height: 350px;
}
.slick-prev {
  left: -10%;
}
.slick-next {
  right: -10%;
}
.slick-prev,
.slick-next {
  width: 25px;
}
.slick-dots {
  position: absolute;
}
.slick-dots li button:before {
  color: #fff;
}
@media only screen and (max-width: 1200px) {
  .header-bg {
    height: calc(100vh - 75.2px);
  }
  .main-slider {
    width: 80%;
    height: initial;
  }
  .slick-prev,
  .slick-next {
    width: 20px;
  }
}
/* watari-town */
.watari-r {
  position: relative;
}
.watari-town {
  position: absolute;
  top: 15%;
  left: 22%;
  z-index: 500;
}
.watari-town img:first-child {
  width: 75%;
}
.watari-town img:last-child {
  width: 70%;
}

/* MOVIEの所 */
.index-movie {
  display: flex;
  justify-content: space-between;
  margin-bottom: 85px;
}
.movie-top {
  text-align: center;
  margin-bottom: 30px;
}
.elementor-video-iframe {
  width: 100%;
  height: 100%;
}
.movie-l,
.movie-r {
  width: 560px;
}
@media only screen and (max-width: 1200px) {
  .index-movie {
    margin-bottom: 40px;
    flex-direction: column;
  }
  .movie-l {
    position: relative;
	  width: 100%;
	  padding-top: 56.25%;
    margin-bottom: 30px;
  }
  .movie-l iframe {
    position: absolute;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
  }
  .index-movie img {
    width: 100%;
  }
  .movie-r {
    width: 100%;
  }
}


/* 标题栏部分 */
.caption-p-2 {
  display: inline-block;
  background-color: #fff;
  padding: 0 10px;
  position: relative;
}
.caption-p hr {
  position: absolute;
  width: 100%;
  background: #cff3ee;
  height: 3px;
  border: none;
}

/* pickup,movieのsliderを修正 */
ul li div {
  margin: auto 3%;
}

/* banner */
.banners-relation {
  padding-bottom: 70px;
}
.banners-bg-div {
  width: 100%;
  margin-top: 40px;
}
.relation-p {
  padding-top: 30px;
  text-align: center;
}
.relation-p-2 {
  display: inline-block;
  background-color: #fff;
  padding: 0 10px;
}
.banners {
  display: flex;
  flex-wrap: wrap;
  width: 1160px;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}
.banners li {
  height: 60px;
  background-color: #e6e6e6;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  margin-right: 8px;
}
.banners li:nth-child(1){
  margin-left: 0;
}
.banners li:nth-child(6){
  margin-right: 0;
}
.banners li:nth-child(7){
  margin-left: 0;
}
.banners li:last-child{
  margin-right: 0;
}
.banners li:nth-child(n + 7) {
  margin-top: 15px;
}
.banners li a {
  display: block;
}
.banners li a img {
  max-width: 100%;
  max-height: 60px;
}
@media only screen and (max-width: 1200px) {
  .banners-relation {
    padding-bottom: 50px;
  }
  .banners-bg-div {
    margin-top: 10px;
  }
  .banners {
    width: initial;
    padding-top: 15px;
    justify-content: space-evenly;
  }
  .banners li {
    width: calc(45% - 10px);
   margin: 10px 0 10px 0;
  }
/*
  .banners li:nth-child(n + 9) {
    display: none;
  }
*/
}

/* その他 */
.index-clear {
  clear: both;
}
/* search */
.container-search {
  margin-bottom: 80px;
  padding-top: 70px;
}
.container-search .purpose-main ul li a p {
  font-weight: bold;
}
.index-purpose {
  width: 100%;
  padding: 30px 55px 0;
  border-radius: 7px;
  background-color: #d1f1ee;
}
.index-purpose img,
.index-w img {
  padding-bottom: 8px;
}
.purpose-main {
  margin-top: 20px;
}
.purpose-top img {
  padding-bottom: 6px;
  margin-right: 5px;
}
.purpose-top p,
.w-top p {
  display: inline-block;
}
.purpose-main ul {
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
}
@media only screen and (max-width: 1200px) {
  .purpose-main ul {
    display: block;
    padding-bottom: 20px;
  }
  .container-search {
    margin-bottom: 50px;
    padding-top: 40px;
  }
}
.purpose-text {
  padding: 0px 15% 30px;
}
.index-hr {
  height: 2px;
  background-color: #0099ad;
  border: none;
}
.hr {
  background-color: #f89491;
}
.purpose-main ul li,
.w-main ul li {
  display: inline-block;
  text-align: center;
}
.index-w {
  width: 100%;
  padding: 30px 55px 0;
  border-radius: 7px;
  margin-top: 20px;
  background-color: #fcdfde;
}
@media only screen and (max-width: 1200px) {
  .purpose-main ul li,
  .w-main ul li {
    width: calc(50% - 3px);
    margin-bottom: 20px;
  }
  .purpose-text {
    padding: 0;
  }
  .index-purpose,
  .index-w {
    padding: 30px 20px 0;
  }
}

/* information */
.container-information {
  padding-top: 50px;
  background: url(../img/index/information.jpg) no-repeat center center;
  background-size: cover;
}
.infor-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 20px;
}
.information-main {
  display: flex;
  justify-content: space-between;
  padding-bottom: 80px;
}
@media only screen and (max-width: 1200px) {
  .container-information {
    padding-top: 30px;
    background-position-x: initial;
    background-position-y: initial;
  }
  .information-main {
    flex-direction: column;
    padding-bottom: 20px;
  }
}
/* 今日新闻板块 */
.information-l {
  background-color: #fff;
  width: 560px;
  border-radius: 10px;
}

.information-p {
  display: inline-block;
  margin-left: 30px;
}
.information-list {
  width: 150px;
  height: 35px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  background-color: #73b973;
  border-radius: 5px 0 0 5px;
}
@media only screen and (max-width: 1200px) {
  .information-list {
    /* width: 110px; */
  }
}
.information-list p {
  color: #fff;
  margin-left: 15px;
}
.information-list img {
  margin-left: 5px;
}
.information-l ul li {
  padding: 10px 20px;
}
.information-l ul li img {
  padding-right: 8px;
}
.news-left {
  height: 450px;
  overflow: auto;
  margin: 0 30px 50px;
}
@media only screen and (max-width: 1200px) {
  .news-left {
    margin: 0 20px 50px;
    height: 350px;
  }
  .information-l ul li {
    padding: 10px;
  }
  .information-l {
    width: 100%;
    margin-bottom: 30px;
  }
}
/* 奇数番の新着データ */
.news-left ul li:nth-child(odd) {
  background-color: #f5f5f5;
}
/* 新闻内容样式 */
.tier2-news-detail-p2 {
  display: block;
  color: #000000;
  /* text-decoration:underline; */
}
.tier2-news-detail-p2 a {
  text-decoration: underline;
}
.tier2-news-detail-p2 span {
  color: #529f7b;
}
.tier2-news-detail-p2 a:hover {
  color: red;
}
/* Guide */
.container-guide,
.container-movie {
  margin-top: 60px;
}
.guide-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.guide-1 li {
  width: calc(25% - 10px);
}

.guide-1 img {
  width: 100%;
}
@media only screen and (max-width: 1200px) {
  .container-guide,
  .container-movie {
    margin-top: 40px;
  }
  .index-guide {
    margin-top: 25px;
  }
  .guide-1 li {
    width: calc(50% - 10px);
    margin: 5px;
  }
}
/* purpose */
.purpose-ul {
  display: flex;
  justify-content: space-between;
}
@media only screen and (max-width: 1200px) {
  .purpose-ul {
    flex-direction: column;
  }
}
.guide-purpose {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}
.guide-purpose ul li {
  width: calc(20% - 10px);
  height: 100px;
  border: 3px #00ab9d solid;
  background-color: #fff;
  border-radius: 5px;
}
.guide-purpose ul li:last-child {
  margin-right: 0;
}
@media only screen and (max-width: 1200px) {
  .guide-purpose ul li {
    width: 100%;
    height: 55px;
    margin-bottom: 5px;
  }
}
.guide-purpose ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-weight: 700;
}
@media only screen and (max-width: 1200px) {
  .guide-purpose ul li a {
    flex-direction: row;
    justify-content: flex-start;
  }
}
.guide-purpose ul li img {
  margin-bottom: 5px;
}

.guide-btm {
  display: flex;
  align-items: center;
  height: 38px;
  padding-left: 18px;
  color: #fff;
  background-color: #00aa9d;
}
.guide-1 li {
  border-radius: 7px;
  overflow: hidden;
}
@media only screen and (max-width: 1200px) {
  .guide-purpose ul li img {
    height: 30px;
    margin: 10px 30px;
  }
  .guide-btm {
    height: initial;
    padding: 5px 10px;
  }
}
/* facebook */
.container-facebook {
  background: url(../img/index/guide_bk.jpg) no-repeat center center;
  margin-top: 80px;
  padding: 90px 0 80px 0;
}
.container-face {
  display: flex;
  justify-content: space-between;
}
.face-l {
  width: 560px;
  height: 660px;
  position: relative;
  background-color: #ffffff;
  border-radius: 10px;
}
.top_des {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: left;
  padding: 30px 20px 20px 20px;
}
@media only screen and (max-width: 1200px) {
  .container-facebook {
    padding: 50px 0 40px 0;
    margin-top: 45px;
    background-position: initial;
    background-size: cover;
  }
  .container-face {
    display: block;
  }
  .face-l {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    height: auto;
  }
}
/* 頭部の部分 */
.face-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
/* facebook icon */
.Face-icon {
  background: #385b98;
  width: 50px;
  height: 60px;
  margin-right: 20px;
}
.Face-icon a {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.Face-icon a img {
  width: 18px;
}
/* insta icon */
.insta-icon {
  background: #da1e63;
  width: 50px;
  height: 60px;
  margin-right: 20px;
}
.insta-icon a {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.insta-icon a img {
  width: 35px;
}
/* facebook body */
.facebook-body-div {
  overflow: hidden;
  text-align: center;
  margin: 0 20px;
}
/* insta body */
.c-insta {
  background-color: #f6f6f6;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.c-insta img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}
.insta_wt {
  font-size: 3.5rem;
  color: #116fa8;
  text-decoration: underline !important;
}
/* face-bot */
.face-bot {
  display: flex;
  flex-direction: row;
  margin-top: 80px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.face-bot li img {
  width: 570px;
}
.face-bot li:nth-child(n+3){
  margin-top: 25px;
}
@media only screen and (max-width: 1200px) {
  .face-bot li,.face-bot li img {
    width: 100%
  }
  .face-bot li:nth-child(2){
    margin-top: 25px;
  }
}
/* 右側の４つバナー */
.face-r ul li {
  margin-bottom: 24px;
}
.face-r ul li:last-child {
  margin-bottom: 0;
}
.face-r ul li a img {
  width: 100%;
}

/* 人口と世帯数 */
.population-div {
  padding: 70px 0;
  display: flex;
  align-items: flex-end;
}
.population-div::after {
  content: ' ';
  display: block;
  clear: both;
}

.map-sex {
  margin: 40px 0;
}
@media only screen and (max-width: 1200px) {
  .map-sex {
    margin: 20px 0;
  }
}
.population-right-div {
  text-align: left;
  margin-left: 65px;
}

.mb-21 {
  font-weight: 700;
}
.container-dt {
  position: relative;
  padding-left: 20px;
  font-size: 2rem;
  font-weight: 700;
}
.map-pop {
  display: flex;
  flex-direction: column;
}
.map-pop {
  width: 350px;
}
.pop-present {
  display: flex;
  justify-content: space-between;
}
.pop-present dt {
  width: 70px;
}
.pop-present dd {
  width: 50px;
  text-align: right;
}
@media only screen and (max-width: 1200px) {
  .map-pop {
    width: 100%;
  }
}
.p-40 {
  padding-left: 40px;
}
.container-dt::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #73b973;
}
@media only screen and (max-width: 1200px) {
  .population-div {
    flex-direction: column;
    align-items: normal;
    padding: 50px 0;
  }

  .population-right-div {
    margin-left: 0;
  }
  .mb-20 {
    margin: 0;
  }
  .mb-20 + p {
    display: inline-block;
  }
}
.mt-10 {
  margin-top: 10px;
  display: inline-block;
}

/* 230502 mainvis + slider */
/*==================================
MainVisual
==================================*/
.p-mainVisual {
  position: relative;
}
.p-mainVisual_ttl {
  width: 80%;
  max-width: 1080px;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

/* Height-adjustment */
.p-mainVisual {
  height: calc(100% - 80px);
}
.p-mainVisual .slick-slide img {
  height: 70vh;

  width: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 1200px) {
  .p-mainVisual {
    height: calc(100% - 50px);
  }
  .p-mainVisual .slick-slide img {
    height: 80vh;
  }
}

/* slick-adjustment */
.p-mainVisual_fade.slick-dotted.slick-slider {
  margin-bottom: 0;
}
.p-mainVisual_fade .slick-dots {
  z-index: 2;
  position: absolute;
  bottom: 40px;
  right: 6em;
  width: auto;

  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.p-mainVisual_fade .slick-dots li button:before {
  opacity: 0.6;
}
.p-mainVisual_fade .slick-dots li.slick-active button:before {
  opacity: 0.9;
  color: #00aa9d;
}

/* slick-control */
.p-slick_control {
  z-index: 2;
  position: absolute;
  bottom: 40px;
  right: 2em;

  line-height: 1;
  display: flex;
  justify-content: flex-end;
}
.p-slick_control > button {
  background: #00aa9d;
  border-radius: 3px;
  width: calc(1.4em + 4px);
  height: calc(1.4em + 4px);
  padding: 2px;

  position: relative;
}
.p-slick_control > button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
}
.p-slick_control > button.icon-pause::after {
  background: url(/common/images/icon-pause.svg) no-repeat center/cover;
}
.p-slick_control > button.icon-play::after {
  background: url(/common/images/icon-play.svg) no-repeat center/cover;
}

.p-slick_control > *:not(:first-of-type) {
  margin-left: 10px;
}
.p-slick_control > button span {
  font-size: 0;
}

/*==================================
Slider - スライダー
==================================*/
.p-slider {
  padding: 4% 0 2%;
  position: relative;
}

.p-slider_inr {
  position: relative;
}

.p-sliderList_item img {
  display: block;
  width: 100%;
  aspect-ratio: 97 / 35;
  object-fit: cover;
  background: #fff;
}

.p-slider_control {
  z-index: 2;
  position: absolute;
  right: 2em;
  bottom: 0;

  line-height: 1;
  display: flex;
  justify-content: flex-end;
}

.p-slider_control > button {
  background: #00aa9d;
  border-radius: 3px;
  width: calc(1.4em + 4px);
  height: calc(1.4em + 4px);
  padding: 2px;

  position: relative;
}
.p-slider_control > button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
}
.p-slider_control > button.icon-pause::after {
  background: url(/common/images/icon-pause.svg) no-repeat center/cover;
}
.p-slider_control > button.icon-play::after {
  background: url(/common/images/icon-play.svg) no-repeat center/cover;
}

.p-slider_control > *:not(:first-of-type) {
  margin-left: 10px;
}
.p-slider_control > button span {
  font-size: 0;
}

/* slick-adjustment */
.p-sliderList .slick-slide {
  margin-right: 3vw !important;
  margin-left: 3vw !important;
}

.p-sliderList .slick-prev,
.p-sliderList .slick-next {
  z-index: 2;

  width: 5rem;
  height: 5rem;
}
.p-sliderList .slick-prev {
  left: 20%;
}
.p-sliderList .slick-next {
  right: 20%;
}

.p-sliderList .slick-dots {
  z-index: 2;
  position: relative;
  bottom: auto;
  width: auto;
  text-align: right;

  display: flex;
  justify-content: flex-end;
  margin-right: 6em;
  margin-top: 20px;
}
.p-sliderList .slick-dots li button::before {
  color: #ccc;
  opacity: 0.6;
}
.p-sliderList .slick-dots li.slick-active button::before {
  color: #00aa9d;
}
.p-sliderList.slick-dotted.slick-slider {
  margin-bottom: auto;
}

/*==================================
Middle Link_bnr
==================================*/
/* utility */
.u-mt80 {
  margin-top: 80px;
}

@media only screen and (max-width: 767px) {
  .u-mt80 {
    margin-top: 40px;
  }
}

/* banner */
.c-midLink {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.c-midLink > li {
  width: calc(100% / 2 - 20px);
}
.c-midLink > li:nth-of-type(n + 3) {
  margin-top: 40px;
}
.c-midLink > li a {
  display: block;
}
.c-midLink > li a img {
  width: 100%;
}

@media only screen and (max-width: 767px) {
  .c-midLink > li {
    width: 100%;
  }
  .c-midLink > li:nth-of-type(n + 2) {
    margin-top: 20px;
  }
}


/* 230621 広報わたり　追加 */
.container-facebook {
  background: url(../img/index/guide_bk.jpg) no-repeat top center/cover;
}
.i-tag {
  position: absolute;
  right: 20px;
  display: block;
  width: 50px;
  height: 60px;
}
.i-tag__green {
  background: #00a99d;
}
.tag-book::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 35px;
  height: 35px;
  background: url(/common/img/index/icon_book.svg) no-repeat center;
  
  transition: all 0.5s;
  backface-visibility: hidden;
}
.tag-book:hover::before {
  opacity:0.7;
}
.c-public {
  margin-bottom: 60px;
  position: relative;
}
.c-public_inr {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  display: flex;
}
.c-public_img {
  width: calc(100% / 3);
}
.c-public_img figure {
  height: 255px;
  background: #f5f5f5;
  text-align:center;
  margin-left: auto;
  margin-right: auto;
}
.c-public_img figure img {
  width: auto;
  height: 100%;
}
.c-public_det {
  width: calc(100% / 3);
}
.c-publicTtl {
  font-size: 2.5rem;
  font-weight: 700;
}
.c-public_txt {
  margin-top: 40px;
}
.c-public_btn {
  position: absolute;
  right: 0;
  bottom: 30px;
}
.c-public_btn a {
  width: 150px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  background-color: #73b973;
  color: #fff;
  border-radius: 5px 0 0 5px;
  padding: 5px 30px 5px 15px;
  margin-left: auto;
}
.right-arrow {
  position: relative;
}
.right-arrow::before {
  content: "";
  position:absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: url(/common/img/index/info_arrow.png) no-repeat center;
}

@media only screen and (max-width: 1199px) {
  .c-public_inr {
    flex-direction: column;
    padding: 30px 30px 65px 30px;
  }
  .c-public_img {
    margin-top: 30px;
    padding-bottom: 30px;
    width: auto;
  }
  .c-public_img figure {
    width: 100%;
  }
  .c-public_det {
    width: 100%;
    margin-left: auto;
  }
  .c-public_txt {
    margin-top: 30px;
  }
}

/*240617追記 slickキャプション追加*/
.slick-caption {
  position: absolute;
  left: 40px;
  bottom: 60px;
  font-size: 4rem;
  color: #fff;
  filter: drop-shadow(0px 0px 5px #000);
  z-index: 10;
}
@media only screen and (max-width: 767px) {
  .slick-caption {
    left: 20px;
    bottom: 80px;
    font-size: 2.6rem;
  }
}
@media only screen and (min-width: 768px) {
  .sp-only {
    display: none;
  }
}
