@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

#page-top {
    position: fixed;
    bottom: 5%;
    right: 3%;
    width: 7%;
    height: 7vw;
    border: 1px solid silver;
    border-radius: 50%;
    background-color: #fff;
    z-index: 10000;
}

#page-top a {
    display: block;
    line-height: 6;
}
#page-top a img {
 width: 100%;
 margin-bottom: 50%;
}
#page-top a:hover {
    width: 100%;
    height: 7vw;
    border-radius: 50%;
    color: #111;
    background-color: sandybrown;
}



h1 {
    width: 15%;
}

h1 img {
    display: block;
    width: 100%;
    height: 10vw;
}
.top{
    display: flex;
}
.global_menu {
  display: none;
}


nav.NavMenu {
	position: fixed; /*表示位置を固定*/
	z-index: 2; /*重ね順を変更*/
	top: 0; /*表示位置を指定*/
	left: 0; /*表示位置を指定*/
	width: 100%; /*全幅表示*/
	transform: translateY(-100%); /*ナビを上に隠す上から出したい場合は、transform: translateYを使う。*/
	transition: all 0.6s; /*アニメーションの時間を指定*/
  background-color: #fff;
  
}
.nav-h3 {
  font-size: 2.5vw;
  text-align: center;
  color: #404040;
  font-family: "Noto Sans JP", sans-serif;
	border-bottom: 1.5px dotted silver;
}
.nav-h3::before {
  content: "▼";
  margin-right: 2%;
}

nav.NavMenu ul {
	list-style-type: none;
	background-color: greenyellow; /*背景をグレーにする*/
  z-index: 100;
}

nav.NavMenu ul li {
	width: 100%;
  font-size: 2vw;
  color: #404040;
  font-family: "Noto Sans JP", sans-serif;
	border-bottom: 1.5px dotted silver;
  
}

nav.NavMenu ul li:last-child {
	border-bottom: none; /*最後のメニュー項目のみ下線を消す*/
}

nav.NavMenu ul li a {
	display: block; /*クリックできる領域を広げる*/
	text-align: center; /*テキストを中央揃え*/
	text-decoration: none;
	line-height: 3;
	color: #000;
	font-size: 1.1em;
}

/*トグルボタンが押されたときに付与するクラス*/
nav.NavMenu.active {
	transform: translateY(0%);/*上から出したい場合は、transform: translateYを使う。*/
}

/*トグルボタンのスタイルを指定*/
.Toggle {
	position: fixed;/* bodyに対しての絶対位置指定 */
	right: 13px;
	top: 12px;
	width: 42px;
	height: 42px;
	cursor: pointer;/*divだけどカーソルが変わるようにしている*/
	z-index: 3;/*ボタンを一番上にしている(押せなくなるから)*/
}

.Toggle span {
	display: block;
	position: absolute;
	left: 6px;
	width: 30px;
	border-bottom: solid 2px green;
	transition: .35s ease-in-out;/*変化の速度を指定*/
}

.Toggle span:nth-child(1) {
	top: 9px;
}

.Toggle span:nth-child(2) {
	top: 18px;
}

.Toggle span:nth-child(3) {
	top: 27px;
}

/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
	top: 18px;
	left: 6px;
	transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
	top: 18px;
	transform: rotate(45deg);
}

/*もしもの時*/
.if {
  width: 65%;
  margin-top: 1%;
  margin-right: 2%;
  padding: 1% 0% 1% 0%;
  margin-left: auto;
  display: flex;
  border: 2px solid salmon;
  border-radius: 5px;
}
.komaru {
  width: 30%;
  font-size: 1vw;
  text-align: center;
  margin-top: 1%;
  color: darkred;
  font-family: "Noto Sans JP", sans-serif;
}
.if ul {
  width: 100%;
  display: flex;
  list-style-type: none;
}
.if ul li {
  width: 100%;
  margin-left: 3%;
}
.if ul li a {
  text-decoration: none;
}
.if ul li a img {
  width: 25%;
}
.if ul li a span {
  font-size: 0.9vw;
  font-weight: 700;
  color: darkred;
  font-family: "Noto Sans JP", sans-serif;
}
.if ul li:hover {
  background-color: coral;
  border-radius: 5px;
}




/*メイン画像切り替わり*/
.position-box1 {
  position: relative;
}

.slide {
  position: relative;
  overflow: hidden;
               /* 画像のサイズに合わせて変更ください */
  width: 90%;
  height: 45vw;
  padding: 0% 5% 5% 5%;
  background : rgba(173, 255, 47, 0.5);
}
 
 /*=== 画像の設定 ======================================= */
.slide img {
  display    : block;
  position   : absolute;
                      /* 画像のサイズを表示エリアに合せる */
  width      : inherit;
  height     : inherit;
  opacity    : 0;
  animation  : slideAnime 15s ease infinite;
}
 
 /*=== スライドのアニメーションを段差で開始する ========= */
.slide img:nth-of-type(1) { animation-delay: 0s }
.slide img:nth-of-type(2) { animation-delay: 5s }
.slide img:nth-of-type(3) { animation-delay: 10s }
.slide img:nth-of-type(4) { animation-delay: 15s }
.slide img:nth-of-type(5) { animation-delay: 20s }
 
 /*=== スライドのアニメーション ========================= */
@keyframes slideAnime{
    0% { opacity: 0 }
  10% { opacity: 1 }
  50% { opacity: 1 }
  90% { opacity: 0 }
 100% { opacity: 0 }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotate {
  width: 45%;
  animation: rotate 12s infinite linear;
  position: absolute;
  top: 60%;
  left: -10%;
}

#animation {
  margin-left: 30%;
  font-size: 2vw;
  font-weight: bold;
  color:#404040;
  white-space: pre-wrap;
  font-family: "Noto Sans JP", sans-serif;
  }
  
  .fadeInDown {
   -webkit-animation-fill-mode:both;
   -ms-animation-fill-mode:both;
   animation-fill-mode:both;
   -webkit-animation-duration:1s;
   -ms-animation-duration:1s;
   animation-duration:1s;
   -webkit-animation-name: fadeInDown;
   animation-name: fadeInDown;
   visibility: visible !important;
  }
  @-webkit-keyframes fadeInDown {
   0% { opacity: 0; -webkit-transform: translateY(-20px); }
   100% { opacity: 1; -webkit-transform: translateY(0); }
  }
  @keyframes fadeInDown {
   0% { opacity: 0; -webkit-transform: translateY(-20px); -ms-transform: translateY(-20px); transform: translateY(-20px); }
   100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
  }

  /*お知らせ部分*/
.notice {
  width: 100%;
  position: relative;
  background-image: url(../images/bcimg.png);
  background-repeat: repeat-x;
  background-size: 40%;
  background-position: center bottom;
}
.jamp{
  width: 10%;
  position: absolute;
  top: 70%;
  left: 80%;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.5s;
}
  
  .keyframe7 {
    animation-name: jump;
    animation-duration: .6s;
  }
  
  @keyframes jump{
    0%   { transform:translate(0%, 30%) rotateX(50deg); }
    100% { transform:translate(0%, 0%); }
  }

.notice h2 {
  font-size: 2vw;
  margin-top: 10%;
  text-align: center;
  color: #404040;
  font-family: "Noto Sans JP", sans-serif;
}
.notice-all {
  width: 96%;
  padding: 2%;
  display: flex;
  margin-bottom: 7%;
  position: relative;
}
.notice-all img {
  display: block;
  width: 10%;
  position: absolute;
  left: 58%;
  top: 50%;
  z-index: 10;
}
.notice-all ul {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  list-style-type: none;
  background-color: rgba(255, 255, 255, 0.9);
}
.notice-all ul li {
  text-align: left;
  font-size: 1.2vw;
  line-height: 3;
  border-top: 2px solid darkgray;
  font-family: "Noto Sans JP", sans-serif;
}
.notice-all ul li:nth-of-type(7) {
  border-bottom: 2px solid darkgray;
}
.notice-all ul li a {
  color:green;
}

/*恵庭市について*/

.all-flex1 {
  display: flex;
 
}

.section2 {
  width: 40%;
  height: 30vw;
  margin-left: auto;
  padding: 2%;
  border-left: 2px solid rgb(203, 252, 117);
  border-top: 2px solid rgb(203, 252, 117);
  border-bottom: 2px solid rgb(203, 252, 117);
  border-radius: 5px;
}

.section2 h2 img {
  display: block;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5%;
}

.flex1 {
  display: flex;
}
.flex1 a img {
  width: 90%;
  transition: all 0.3s;
}
.flex1 a img:hover {
  opacity: 0.5;
}


.section3 {
  width: 40%;
  height: 30vw;
  margin-right: auto;
  padding: 2%;
  border: 2px solid rgb(203, 252, 117);
  border-radius: 5px;

}

.section3 h2 img {
  display: block;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.population {
  width: 70%;
  margin-left: 15%;
  margin-top: 10%;
  background-color:#fff;
}

.flex2 {
  display: flex;
  padding: 2%;
}
.flex2 a img {
  width: 100%;
  padding: 6%;
  transition: all 0.3s;
}
.flex2 a img:hover {
  opacity: 0.5;
}

.m-box {
  margin-left: 20%;
}

.flex3 {
  display: flex;
  padding: 2%;
}
.flex3 a img {
  width: 100%;
  padding: 6%;
  transition: all 0.3s;
}
.flex3 a img:hover {
  opacity: 0.5;
}

/*ライフイベント*/
.life-section {
  width:90%;
  border-radius: 5px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10%;
}
.life-section h2 {
  font-size: 2vw;
  margin-top: 10%;
  padding: 2%;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  color: #404040;
  background-color:  rgb(203, 252, 117);
  border-radius: 5px;
}
.life-section .in {
  width: 100%;
  background-color: #fff;
}
.life-section .in .list {
  width: 100%;
  list-style-type: none;
}
.life-section .in .list li {
  width: 100%;
  padding: 1% 0%;
  border-right: 1px solid #f4f4f4;
  border-bottom: 1px solid #f4f4
}
.life-section .in .list li a {
  text-align: center;
  font-size: 1vw;
  display: block;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
}
.life-section .in .list li img {
  width: 50%;
  transition: all 0.3s;
}
.life-section .in .list li img:hover {
  opacity: 0.5;
}
.life-section .in .list li .text {
  margin-top: 3%;
  display: block;
  font-weight: bold;
  word-wrap: break-word;
}
.flex4 {
  display: flex;
  justify-content: center;
}
.flex5 {
  display: flex;
  justify-content: center;
}

/*サービス*/
.service-section {
  width:90%;
  border-radius: 5px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5%;
}
.service-section h2 {
  font-size: 2vw;
  padding: 2%;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  color: #404040;
  background-color:  rgb(203, 252, 117);
  border-radius: 5px;
}
.service-section .in {
  width: 100%;
}
.service-section .in .list {
  width: 100%;
  list-style-type: none;
}
.service-section.in .list li {
  width: 100%;
  padding: 1% 0%;
  border-right: 1px solid #f4f4f4;
  border-bottom: 1px solid #f4f4
}
.service-section .in .list li a {
  padding: 5%;
  text-align: center;
  font-size: 1.2vw;
  display: block;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
}
.service-section .in .list li img {
  width: 100%;
  transition: all 0.3s;
}
.service-section .in .list li img:hover {
  opacity: 0.5;
}
.service-section .in .list li .text {
  margin-top: 3%;
  display: block;
  font-weight: bold;
  word-wrap: break-word;
}
.flex6 {
  display: flex;
  justify-content: center;
  justify-content: space-around;
}
.flex7 {
  display: flex;
  justify-content: center;
  justify-content: space-around;
}


.flex8 {
  position: relative;
  display: flex;
  width: 80%;
  margin-left: 10%;
  padding-bottom: 3%;
  border: 3px solid  rgb(203, 252, 117);
  border-radius: 5px;
}
.flex8 .rotate {
  width: 16%;
  position: absolute;
  top: -15%;
  left: 90%;
}
.flex8 h2 {
  text-align: center;
  font-size: 2vw;
  line-height: 2.5;
  font-family: "Noto Sans JP", sans-serif;
  color:  green;
}
.swiper {
  width: 70%;
}
.swiper img {
  width: 100%;
  height: auto;
  transition: all 0.3s;
}
.swiper img:hover {
  opacity: 0.5;
  cursor: point
  er;
}
.section6 {
  width: 40%;
  margin-left: 10%;
  margin-right: 5%;
}
.section7 {
  width: 28%;
  margin-top: 1.2%;
}

/*広告部分*/
.section8 h2 {
  width: 85%;
  padding: 2%;
  margin-top: 5%;
  margin-left: auto;
  margin-right: auto;
  font-size: 2vw;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  color: #404040;
  background-color:  rgb(203, 252, 117);
  border-radius: 5px;
}
.section8 ul{
  width: 90%;
  padding: 5%;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  list-style-type: none;
  background-image: url(../images/bcimg.png);
  background-repeat: repeat-x;
  background-size: 40%;
  background-position: center bottom;
}
.section8 ul li {
  width: 80%;
  margin-left: 2%;
}
.section8 ul li img {
  width: 100%;
}

/*フッター部分*/
.flex9 {
  display: flex;
  width: 80%;
  margin-left: auto;
}
footer {
  width: 100%;
  padding-top: 2%;
  background-color: rgb(198, 246, 143);
}
.address1 {
  width: 100%;
  justify-content: center;
}
footer img {
   display: block;
   width: 50%;
}
address {
  font-size: 1vw;
  font-family: "Noto Sans JP", sans-serif;
}

.font-awsome {
  width: 100%;
  display: flex;
  justify-content: center;
}
  
footer a .fa-brands {
   margin-top: 30%;
   font-size: 3vw;
   letter-spacing: 0.5em;
   text-align: center;
   
}
footer a .fa-instagram {
   background: rgb(255,214,0);
   background: linear-gradient(24deg, rgba(255,214,0,1) 10%, rgba(255,0,105,1) 25%, rgba(255,0,105,1) 20%, rgba(211,0,197,1) 35%, rgba(118,56,250,1) 75%);
   background-clip: text;
   -webkit-text-fill-color: transparent;
}
footer a .fa-youtube {
  background: red;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
footer a .fa-line {
  background: #00B900;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
footer a .fa-square-x-twitter {
  background: #000;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
footer a .fa-square-facebook {
  background: #1877f2;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
footer ul {
   width: 80%;
   padding-bottom: 2%;
   list-style-type: none;
}
footer ul li {
  position: relative;
   width: 100%;
   font-size: 1.2vw;
   text-align: left;
   font-family: "Noto Sans JP", sans-serif;
}
footer ul li a {
  margin-left: 3%;

}
footer ul li a:before {
  content: "";
  position: absolute;
  top: .45em;
  left: 0%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  width: 1.5%;
  height: 0.5vw;
  border-top: 1px solid green;
  border-right: 1px solid green;
}

.copyright {
   width: 100%;
   margin-top: 1%;
   margin-bottom: 1%;
   margin-left: auto;
   margin-right: auto;
}
footer p {
   font-size: 1vw;
   color: #404040;
   text-align: center;

}