@charset "UTF-8";

* , *::before , *::after {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

html {
   font-size: 100%;
}

body {
    width: 100%;
    margin: 0 auto;
    font-family: "ヒラギノ丸ゴ Pro W4","Hiragino maru Gothic Pro",sans-serif;
	  color: #000;
	  background-color:#fff
}

a {
  text-decoration: none;
}

img {
  pointer-events: none;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

@media screen and (max-width: 1100px){
  main{
        margin: 0 5%;
    }
  }

@media screen and (max-width: 768px){
  main{
        margin: 0 2.5%;
    }
  }

/*新header*/
#header {
  position: fixed;
  height: 30px;
  width:100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background:rgba(19, 27, 74, 0.5);
  color:#fff;
  padding: 20px;
}

#header a:hover {
  color: #0bd;
}

nav ul{
  list-style: none;
  display: flex;
  justify-content: center;
}

nav ul li a{
  display: block;
  text-decoration: none;
  color: #fff;
  padding:10px 12px;
  transition:all 0.3s;
  font-size: 0.8rem;
}

/*ヘッダー上動作*/
#header.UpMove{
  position: fixed;
  width:100%;
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 0;
  transform: translateY(-100px);
  }
}

/*ヘッダー下動作*/
#header.DownMove{
  position: fixed;
  width:100%;
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 0;
  transform: translateY(-100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}


/*ハンバーガ押下後メニュ表示*/
.ham_nav {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(-100%);
  background-color: #fff;
  opacity: 0.95;
  z-index: 5;
  transition: all 0.6s;
}

.nav_menu {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
}

.nav_item p {
  color: #193278;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 18px;
  margin-bottom: 8px;
}

.nav_item {
  color: #080808;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 1em;
  margin-bottom: 0.5em;
}

.nav_item:last-child {
  margin-bottom: 0;
} 


/*ハンバーガ*/ 
.header_ham {
  width: 25px;
}

.ham{
  background-color: transparent;
  border-color: transparent;
  z-index: 6;
  position: fixed;
  top: 10px;
  right: 10px;
  display: none;
}


/*ハンバーガアイコン*/
.ham span{
  width: 100%;
  height: 2px;
  background-color: #aaa;
  position: relative;
  transition: ease .4s;
  display: block;
}

.ham span:nth-child(1){
  top: 0;
}

.ham span:nth-child(2){
  margin: 8px 0;
}

.ham span:nth-child(3){
  top: 0;
}


/*ハンバーガ変化用*/
.ham_nav.active{
  transform: translateX(0);
  position: fixed;
}

.ham.active span:nth-child(1){
  top: 5px;
  transform: rotate(45deg);
}

.ham.active span:nth-child(2){
  opacity: 0;
}

.ham.active span:nth-child(3){
  top: -15px;
  transform: rotate(-45deg);
}

/*ハンバーガレスポンシブ*/
@media screen and (max-width: 768px){
.ham{
      display: block;
  }
}


/*Newメイン画像スライドショー*/
.top {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.top_image {
  background-position: center 75%;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: slider-1 24s linear infinite;
}


.top_image:nth-child(1) {
  background-image: url("../img/230129-mappu.jpg");
  animation-delay: -2s;
}

.top_image:nth-child(2) {
  background-image: url("../img/231004-sapporoeki.jpg");
  animation-delay: 6s;
}

.top_image:nth-child(3) {
  background-image: url("../img/220930-261-kitafunaoka-yukei.jpg");
  animation-delay: 14s;
}

@keyframes slider-1 {
  /* 非表示状態からフェードインを開始する */
  0% {
    opacity: 0;
    transform: scale(1); /* ズームのための指定 */
  }
  /* フェードインを完了し完全表示する */
  4.16% {
    opacity: 1;
  }
  /* ここまで完全表示を維持したらフェードアウトを開始する */
  33.33% {
    opacity: 1;
  }
  /* フェードアウトを完了し非表示にする */
  41.66% {
    opacity: 0;
    transform: scale(1.2); /* ズームのための指定 */
  }
  100% {
    opacity: 0;
  }
}

/*メインタイトル*/
.main-title  {
  position: absolute;
  top: 11%;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  color: #fff;
  display:  inline-block;
  font-size: 1.75rem;
}

.main-title h1 {
  border-bottom: solid #fff 1px;
}

.main-title p {
  margin-left: 5%;
}

/*topロゴ*/
.top_logo {
  position: fixed;
  top: 5px;
  left: 5px;
  z-index: 6;
  display: none;
}

.top_logo a {
  display: block;
}


/*メインキャプションフェードイン*/
.top_caption_01,
.top_caption_02,
.top_caption_03 {
  position: absolute;
  top: 95%;
  left: 85%;
  width: 14.5%;
  height: 100%;
  overflow: hidden;
}

.top_caption_01 p {
  color: #fff;
  animation: fadein 6s linear;
  opacity: 0;
  animation-delay: -1s;
}

.top_caption_02 p {
  color: #fff;
  animation: fadein 6s linear;
  opacity: 0;
  animation-delay: 7s;
}

.top_caption_03 p {
  color: #fff;
  animation: fadein 6s linear;
  opacity: 0;
  animation-delay: 15s;
}

@keyframes fadein {
  0% {
    opacity: 0;
   }

  50% {
    opacity: 1;
   }

  100% {
  opacity: 0;
 }
}


/*ヘッダーレスポンシブ（ノートPC小）*/
@media screen and (max-width:1400px){
  nav ul li a{
    font-size: 0.7rem;
    padding: 10px;
  }
}

/*ヘッダーレスポンシブ（タブレット）*/
@media screen and (max-width:1280px){
.main-title {
    text-align: center;
  }

nav ul li a{
    font-size: 0.60rem;
    padding: 10px 2.5px;
  }

.main-title h1 {
    margin: 0;
    font-size: 11px;
  }

#header {
  width: 100%;
  padding: 1px;
  }

.main-title p {
  margin-left: 0%;
  font-size: 11px;
}
}


/*ヘッダーレスポンシブ（モバイル）*/
@media screen and (max-width:768px){
#header {
  display: none;
}

.top {
    max-height: 41vh;
  }
  
.main-title {
    text-align: center;
    font-size: 11px;
  }


.top_caption_01,
.top_caption_02,
.top_caption_03 {
    display: none;
}
  
}


/*本文*/
.news-contents {
  display: flex;
  margin: 2em auto;
}


/*article*/
article {
  width: 80%; /*2列表示の設定*/
}

/*サイトの説明文章*/
.explain {
  margin: 1.25em 5em;
  line-height: 2.3; /*行間やや広めに*/
}

.explain p {
  text-indent: 1em; /*行頭インデント*/
}


/*新着情報*/
#area_02 {
  margin: 0 1.75em;
}

.new-h2 {
  border-top: 1px solid #e7e7e7;
  padding-top: 1em;
}

.new-h2.first {
  border-top: none;
  padding-top: 0;
}

.news {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  margin-bottom: 2em;
  padding-bottom: 5px;
  flex-wrap: wrap;
}

.new-photo img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover; 
}

#area_02 p {
  padding: 0 1em;
}

.news_top {
  width: 100%;
}

.news_top p {
  display: flex;
}

.news_top img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover; 
}

.new-photo {
  width: calc((100% - 10px)/3);
  margin-left: 5px;
  margin-top: 5px;
}

.new-photo a {
  display: block;
}

.new-photo p {
  display: flex;
}

.news_top a {
  display: block;
}

.new-photo:nth-child(3n+1) {
  margin-left: 0;
}

/*北海道駅のニュースコーナー*/
#area_03 {
  margin: 0 1.75em;
}

.news_topic {
  display: flex;
  justify-content: space-between;
  padding: 1em 0;
  border-bottom: 0.5px solid #eee;
}

.news_topic:last-child {
  border-bottom: none;
}

.news_date {
  width:10%;
}

.news_setsumei {
  width: 60%;
}

.news_setsumei p {
  padding: 0 1em;
}

.news_image {
  width: 20%;
  text-align: center;
}

.news_image img {
  max-width: 150px;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.news_link {
  width: 10%;
  text-align: center;
  margin-top: 11.5px;
}

.news_link a {
  display: inline-block;
  text-align: center;
}

/*リンクへ飛ぶ矢印*/
.arrow {
  position: relative;
  padding-left: 30px;
}

.arrow::before {
  content: "";
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 3px;
  width: 23px;
  height: 23px;
  border-radius: 30%;
  background: #4682b4;
}

.arrow::after {
  content: "";
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 8px;
  width: 10px;
  height: 10px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
}

/*ダウンロードロゴ*/
.dli-box-in {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  position: relative;
  width: 1.15em;
  height: 1.15em;
}

.dli-box-in::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.46em;
  border: 0.1em solid currentColor;
  border-top: 0;
  border-radius: 0 0 0.15em 0.15em;
  box-sizing: border-box;
}

.dli-box-in > span {
  position: relative;
  width: 0.1em;
  height: 0.625em;
  background: currentColor;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.353em;
  margin: auto;
}

.dli-box-in > span::before {
  content: '';
  width: 0.40625em;
  height: 0.40625em;
  border: 0.1em solid currentColor;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
  transform-origin: bottom left;
  position: absolute;
  left: 50%;
  bottom: -0.05em;
  box-sizing: border-box;
}


/*aside*/
aside {
  width: 20%; /*2列表示の設定*/
}

.aside_top {
  border-bottom: 3px solid #6fa9ff;
  padding-bottom: 10px;
}

ul {
  list-style: none;
}

.aside_menu li {
  border-bottom: 1px #ddd solid;
}

.aside_menu a {
  color: #432;
  padding: 10px;
  display: block;
}

.aside_menu a:hover {
  color: #0bd;
}


/*サイト内検索*/
.kensaku {
  padding-top: 2em;
}

.gsc-control-cse.gsc-control-cse-ja {
  padding-top: 30px;
}

.toiawase {
  padding-top: 2em;
  padding-bottom: 2em;
}

/*mailマーク*/
.mail {
  display: inline-block;
  vertical-align: middle;
  color: #000;
  line-height: 1;
  position: relative;
  width: 1.06667em;
  height: 0.8em;
  border: 0.05em solid currentColor;
  border-radius: 0.1em;
  box-sizing: content-box;
  overflow: hidden;
}

.mail::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 0.75425em;
  height: 0.75425em;
  border: 0.05em solid currentColor;
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 0 0 0 0.1em;
  box-sizing: content-box;
  transform: translate(-50%, -50%) rotate(-45deg) skew(10deg, 10deg);
}

.ad a {
  display: block;
}


/*topへ戻る動くボタン*/
#pagetop {
  width: 35px;
  height: 35px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #3fefee;
  opacity: 0.6;
  border-radius: 5px;
  
}
#pagetop a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;

}
#pagetop a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f062';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 5px;
  left: 7px;
}

i.fas.fa-arrow-up::before {
  display: none;
}

td#gs_tti50.gsid_a {
  width:100%;
}

/*写真をスライドイン*/
@keyframes flow-up {
  0% {
      opacity: 0;
      transform: translateY(50px);
  }

  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

.flow_up.active {
  animation: flow-up .5s forwards;
}

@keyframes slide-right {
  0% {
      opacity: 0;
      transform: translateX(100%);
  }

  100% {
      opacity: 1;
      transform: translateX(0);
  }
}

.slide_right.active {
  animation: slide-right .5s forwards;
}



/*本文レスポンシブ*/

@media screen and (max-width:1280px){
#area_02 {
    margin: 0;
  }

.news-contents {
   display: flex;
  flex-direction: column;
  }

article {
  width: 100%;
}

aside {
  display: none;
  }
}

@media screen and (max-width:768px){
  .new-photo {
    margin-left: 0;
  }

  .explain {
    display: none;
  }
  
  .new {
    grid-template-columns: 1fr;
    text-align: center;
    border-top: 1px solid #e7e7e7;
    padding: 0; 
  }
  
  .new-photo {
    width: 100%;
  }

  .flow_up.active {
    animation: none;
  }
  
  .big-box {
    grid-column: auto;
    grid-row: auto;
  }
  
  .big-box img {
    height: auto;
  }
  
  ul.new {
    padding-bottom: 2em;
  }

  #area_03 {
    display: none;
  }

  .aside_menu {
    display: none;
  }
}




/*footer*/
.footer-menu {
  color: #808080;
  background: #e5e5e5;
  padding: 5px;
  text-align: center;
 }

.footer-menu a {
  color: #808080;
  text-decoration: none;
 }

.footer-menu a:hover {
  color: #0bd;
 }

.footer-menu .footer-text {
  margin: 0;
  padding: 0;
  font-size: 0.75rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
 }

.footer-menu .footer-text li {
  margin: 0;
  padding: 0 15px;
  border-left: 1px #808080 solid;
 }
 
.footer-menu .footer-text li:first-child {
  border: none;
 }

.footer-copy {
  background-color: #000;
  padding: 5.0px;
 }

.footer-copy p {
  color: #fff;
  font-size: 0.875rem;
  text-align: center;
 }


/*フッターレスポンシブ*/
@media screen and (max-width:768px){
.footer-menu {
  display: none;
}

}