@charset "UTF-8";
#time-line {
  --AsahikawaColor: #e60012;/* 旭川市RED*/
  --AsahikawaColorRGB: rgb(230, 0, 18);
}
/*adeac_style.cssを解除*/
a:hover{
  /*opacity: 0.8;*/
  opacity: 1;
  transition: .5s;
  color:#23527C;
  text-decoration: none;
}
ul, li, ol {
  list-style: none;
  margin:0 ;
  padding:0 ;
  margin-left:0;
}
a {
  outline:none;
  text-decoration: none;
}

@media (min-width : 768px){
  .for-pc { display:inline; }
  .for-sp { display:none ;}}

  @media (max-width : 767.99px){
    .for-pc { display:none ; }
    .for-sp { display: inline ;}
  }
/*-----------------------
 intro,contents入口
 -----------------------*/
[class^="list-design"] > .contents-wrap{
  justify-content: space-between;
 }

 .list-design4.column3 .item{
  overflow: hidden;
 /* width: calc(100% / 3 - 1rem);*/
 width: calc(100% / 3 - 10em);
  padding-bottom:2em;
}

.list-design4 .item > a {
  padding: 1rem 1.5rem;
  font-size: 1.0rem;
  line-height:1.75;
  text-decoration: underline;
  padding-top:2em;
}

.list-design4 .item h4{
  display: block;
  padding: 1rem 1.5rem ;
  font-size:1.5rem;
  line-height:1.5;
  transition: .3s ease;
}

.list-design4 .item > h4 a{
  display:block;
}

.list-design4 .item img:hover{
  transform: scale(1.07);
}

.list-design4 .item > h4:hover{
  background:var(--accentColor);
}

.list-design4 .item > h4:hover a{
  color:#fff;
}

.list-design4 .item img.ob-top{
  object-position:0 50%;
}

/*-----------------------
年表
 -----------------------*/
.intro-container {
  padding-bottom:3rem;
}

#time-line .container {
  padding:0 4em;
  margin:0 auto;
}

.container #time-chevron {
  width:100%;
  padding:0 1rem;
  position: sticky !important;
  top:-5px;
  background: rgba(255,255,255,.7);
  z-index:99999;
}

#nenpyo p {
  line-height:2.0;
}

/*-----------------------
 和暦のタイムライン
 -----------------------*/
  ul#wareki.contents-wrap, #time-chevron-sp .contents-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width:100%;
  margin:1rem auto;
}

ul#wareki li, #time-chevron-sp .contents-wrap li {
  width: calc(100% / 7 - 12px);
 /* min-width:7em;*/
  min-width:auto;
  /*background: #b6b6b6;*/
  margin:2px 2px 0 0;
  line-height:2.2;
  text-align: center;
}

ul#wareki li a, #time-chevron-sp .contents-wrap li a {
  color:#303030;
  text-align: center;
}

@media (min-width: 768px) and (max-width: 1024px) {
ul#wareki li {
  min-width:auto;
  padding:.5% 0 .2% 0;
}
ul#wareki li a {
  line-height: 1.5;
  padding:0;
  margin:0;
}
}

/*和暦の分割を変更して西暦に対する位置を調整する*/
#time-chevron .contents-wrap li.edo {
  width:11%;
}
#time-chevron .contents-wrap li.meiji {
  width:24%;
}

#time-chevron .contents-wrap li.taisho {
  width:9%;
}

#time-chevron .contents-wrap li.senzen {
  width:10%;
}

#time-chevron .contents-wrap li.sengo {
  width:24%;
}

#time-chevron .contents-wrap li.heisei {
  width:10%;
}

#time-chevron .contents-wrap li.reiwa {
  width:10%;
}

/*#time-chevron .contents-wrap li {
  border:solid 1px skyblue;
}*/

/*-------------------------
西暦のタイムライン
--------------------------*/

ul.time-chevron {
  padding: 0 50px 0 0;
  list-style: none;
 /* overflow: hidden;*/
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  width:100%;
  margin-top:.5em;
  font-size: .9rem;
}

ul.time-chevron li {
  display: block;
  white-space: nowrap;
  width:calc(100% / 7 );
}
.time-chevron li:first-of-type a, .time-chevron li:first-of-type .a {
  padding-left: 35px;
  border-left: 1px solid #fff;
}

.time-chevron li.active a, .time-chevron li.active .a {
  color: #ddd;
}
#time-chevron .time-chevron li .a {
  cursor: default;
}

.time-chevron a, .time-chevron .a {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
 /* padding: 0 15px 0 60px;*/
  /*padding: 0 15px 0 45px;*/
  /*padding-left:3em;*/
  padding-left:2.5em;
  width:100%;
  display: inline-block;
  position: relative;
  line-height: 80px;
  text-decoration: none;
  color: #fff;
  background: var(--AsahikawaColor);
}

.time-chevron a:hover {
  color: var(--AsahikawaColor);
  background: #ffd8db;
  z-index: 99;
}

.time-chevron li.active a::after, .time-chevron li.active .a::after {
  background: #ffd8db;
}
.time-chevron li:nth-of-type(1) {
  z-index: 77;
}
.time-chevron li:nth-of-type(2) {
  z-index: 76;
}
.time-chevron li:nth-of-type(3) {
  z-index: 75;
}
.time-chevron li:nth-of-type(4) {
  z-index: 74;
}
.time-chevron li:nth-of-type(5) {
  z-index: 73;
}
.time-chevron li:nth-of-type(6) {
  z-index: 72;
}
.time-chevron li:nth-of-type(7) {
  z-index: 71;
}
.time-chevron a:hover::after {
  background: #ffd8db;
}

.time-chevron a::before, .time-chevron a::after, .time-chevron .a::before, .time-chevron .a::after {
  content: '';
  display: block;
  height: calc(100% + 2px);
  width: 120px;
  position: absolute;
  top: -1px;
  right: -119px;
  -webkit-clip-path: polygon(0 0, 0% 100%, 30px 50%);
          clip-path: polygon(0 0, 0% 100%, 30px 50%);
}
.time-chevron a::before, .time-chevron .a::before {
  /*right: -119px;*/
  right: -118px;
  background: inherit;
  z-index: 70;
}
/*>ライン*/
.time-chevron a::after, .time-chevron .a::after {
  right: -120px;
  background: #fff;
}

.time-chevron a:hover::after, .time-chevron .a:hover::after {
  background: #ffd8db;
  z-index: 99;
  opacity: 1;
}

@media (max-width: 767.99px) {
  #time-chevron-sp {
    position:static;
    display: block;
  }

 /* ul#wareki-sp.contents-wrap, */
  ul#seireki-sp.contents-wrap {
    width:100%;
    padding:0 .5rem;
    margin-top:0;
  }
  /*ul#wareki-sp.contents-wrap li, */
  ul#seireki-sp.contents-wrap li{
    display: flex;
    flex-direction: column;
    width: calc(100% / 7 - 2px);
    min-width:6em;
    margin:2px 2px 0 0;
    text-align: center;
  }

  /*ul#wareki-sp.contents-wrap li a {
    background: #b6b6b6;
    padding:2.5% 2%;
  }*/
  ul#seireki-sp.contents-wrap li a {
    background: var(--AsahikawaColor);
    color:#fff;
    padding:2.5% 2%;
      padding:0 !important;
  font-size:.9em;
  margin:0;
  width:auto;
  }
}

/*@media (max-width: 767.99px) {
#time-chevron-sp .contents-wrap#seireki-sp li {
width: calc(100% / 4 - 6rem);
max-width: calc(100% / 4 - 6rem);
 min-width:auto;
  padding:0;
}

}*/

/*spで和暦非表示*/
@media (max-width: 767.99px) {
  ul#wareki-sp.contents-wrap li{
    display:none;
  }
}
/*===== Vertical Timeline =====*/

.container#nenpyo {
  padding:0 1em;
}
.gakushu-timeline {
  position: relative;
 /* max-width: 920px;*/
/* max-width:1100px;*/
  width: 100%;
  margin: 1rem auto;
  top:100px;/*anchorスクロール分調整*/
  padding-bottom:200px;/*top150pxで下げた分footerとの重なりを避ける*/
}

@media (max-width: 767.99px) {
  .gakushu-timeline {
      top: 0;
      padding-bottom:0;/*ずらした分戻す*/
  }
}

/*縦ライン角が見えないように調整*/
.gakushu-timeline .timeline-start {
  top:-10px;
}

/*中央縦ライン*/
.gakushu-timeline .conference-center-line {
  position: absolute;
  width:6px;
  height:100%;
  /*top:25px;*/
  top:0;
  left: 50%;
  margin:0;
  padding:0;
 /* margin-left: 9px;縦ボーダーの左右位置調整*/
  background:  var(--AsahikawaColor);
  z-index: 1;
}

@media (max-width: 1023.99px) {
 /* .gakushu-timeline .conference-center-line.line-red {
   /* margin-left: 9px;縦ボーダーの左右位置調整*/
  /* left:30px;*/
 /* left:35px;
  }*/
    .gakushu-timeline .conference-center-line {
  left:35px;
  left:50%;
  }
}

@media (max-width: 767.99px) {
  .gakushu-timeline .conference-center-line,
   .gakushu-timeline .conference-center-line.line-red {
    margin-left: 0;
    left:30px;
    left:0px;
  }
}

.gakushu-timeline .gakushu-timeline-content {
  padding-top: 67px;
  padding-bottom: 67px;
}

.gakushu-timeline .gakushu-timeline-content.red {
  padding-top:0;
}
.timeline-article {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding:1.5% 0;
}

/*idページ内リンクのずれを解消*/
.anchor {
/*  padding-top: 100px;
  margin-top: -100px;*/
    padding-top: 120px;
  margin-top: -120px;
}

.timeline-article .content-left-container,
.timeline-article .content-right-container {
  max-width: 46%;
  width: 100%;
  height:100%;
  margin:0;
  padding:0;
}

.content-left-container {
  vertical-align: top;

}

.timeline-article .timeline-author {
  display: block;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #242424;
  text-align: right;
}
.timeline-article .content-left,
.timeline-article .content-right {
  position: relative;
  width: auto;
  top:50%;
}


.timeline-article p {
  margin: 1em 0 0 60px;
  padding: 0;
  color: #242424;
  font-size:1.0em;
  line-height:1.5;
 /* position: relative;*/
 display: block;
}

.timeline-article p.era {
  font-size:1.4em;
  color:var(--AsahikawaColor);
  text-align: right;
}

@media  (max-width: 767.99px) {
  .timeline-article p {
  margin: 1em;
  }
  .timeline-article h4, .timeline-article p.era {
    text-align: left;
  }
}

.timeline-article ul li {
   color: #242424;
  font-size:1.0em;
  line-height:1.2;
  border-bottom:dotted 1px #ccc;
  padding:.5em 2em .5em 7em;
  text-indent: -7em;
  padding-left: 7em;
}

/*年分インデントあける*/
.timeline-article ul li.pl {
  text-indent: 0em;
  padding-left:7em;
}
/*年無しpadding:0*/
.timeline-article ul li.pl-0 {
text-indent: 0em;
  padding-left: 0em;
}

/*タイトルを上下中央にする*/
.timeline-article h4 {
  /*margin-top:20%;*/
  font-size:1.2em;
  margin-top:0;
}

/*タイトルを上に調整*/
.timeline-article h4.top {
  margin-top:0%;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .timeline-article h4 {
    font-size:1.1em;
  }
}

@media (max-width: 767.99px) {
  .timeline-article h4 {
    font-size:1.1em;
    margin-top:5%;
    margin-bottom:0;
    padding:0;
   /* padding-left:1.0em;*/
   text-align: left;
  }
}

.timeline-article p img {
  width:70%;
  height:auto;
  /*aspect-ratio: 5 / 3;*/
  aspect-ratio: 6 / 4;
  object-fit: cover;
  object-position: center;
  border: 1px solid #ddd;
}

/*2024部分のスペース用透明画像の高さ調整*/
.timeline-article p img.transparent {
  width:100%;
  height:auto;
  aspect-ratio: 5 / 2;
}


.timeline-article .content-left-container {
  float: left;
  text-align:right;
}

.timeline-article .content-right-container {
  float: right;
  height:100%;
}

@media (min-width: 768px) and (max-width: 1280px) {
.timeline-article .content-left-container {
  float: left;
  text-align:right;
  width:100%;
}

.timeline-article .content-right-container {
  float: right;
  height:100%;
}
}

.timeline-article p img.position-top {
  object-position: top;
}

/*赤丸*/
.timeline-article .circle {
  position: absolute;
  top:calc ( 6% + 100px) ;/*.anchor分調整*/
  left: 50%;
 width:30px;
 height:30px;
margin-left:-12px;/*縦ラインとの調整*/
  border-radius: 100%;
  background: var(--AsahikawaColor);
  z-index: 9;
}

.border-none {
  border:none !important;
}

.timeline-article.bg-red {
  background: var(--AsahikawaColor);
  color:#fff !important;
}

span.color-red {
  color:var(--AsahikawaColor);
  margin-top:0;
}

.font-l {
  font-size:2.0em;
}

.timeline-article span.small {
  font-size:90%;
  font-weight:normal;
}

.bg-light-gray {
  background: #dbe5eb !important;
  color:#262626 !important;
}

.time-line-box {
  width:100%;
  position: relative;
  padding-bottom:0;
}

.mt-0 {
margin-top:0;
}

/*===== Resonsive Vertical Timeline =====*/
@media (max-width: 767.99px) {
  .container {
    padding:0;
  }
  .gakushu-timeline {
    width: 100%;
    display: inline-block;
    text-align: left;
    margin:0 auto 0 0 ;
    padding:0;
   /* margin: 0 auto;*/
  }

  .time-line-box {
    width:98%;
    margin:0 auto;
  }

  .timeline-article {
    overflow: visible;
    margin: 0;
    padding:0;
  }

  .gakushu-timeline p.nen {
    width:auto;
    text-align: left;
  }

  .timeline-article .circle {
    margin-left: 0;
    top:0;
    /*left: -10px;*/
    left:-12px;
  }
  .timeline-article .content-left-container,
  .timeline-article .content-right-container {
    max-width: 100%;
    width: 100%;
    float: none;
    /*min-height: 100px;
    /*margin-left:65px;/*タイムライン分*/
    margin-left:25px;/*タイムライン分*/
  }


  .timeline-article .content-left-container p,
  .timeline-article .content-right-container p {
    left:0;
    text-align: left;
  }

  /*画像部分*/
  .timeline-article .content-left,
  .timeline-article .content-right {
   /* padding: 10px 25px;*/
    padding: 5px 0;
    min-height: 65px;
  }
}


@media (min-width: 768px) and (max-width: 1023.99px) {
  .timeline-article .content-left-container .content-left {
    width:100%;
    text-align: right;
    margin:0;
    padding-left:0;
  }

  /*floatにより隙間発生のため調整*/
  .timeline-article .content-left-container .content-left h4 {
    width:100%;
    margin-left:0;
    padding-right:1rem;
  }

  .timeline-article .content-left-container .content-right {
    left:0;
    padding: 5px 0;
    min-height: 65px;
  }
}

@media only screen and (max-width: 575px) {
  .timeline-article p {
    margin: 0;
    padding-top:12px;
  }
  .timeline-article p span.article-number {
    display: none;
  }
}
/*===========Article追加の時は注意！============*/
/*昭和38年と令和8年のArticleをflexで囲んでsp画面で上下逆転!*/
@media (max-width: 767.999px) {
.reverse-wrap {
  display: flex;
  flex-direction: column-reverse;
}

.reverse-wrap:last-child {
  padding-bottom:60px;/*"timeline-end"分ライン延長*/
}

}
@media (min-width: 768px) {
  .reverse-wrap {
    display: block;
  }
}

/*-------------------------
list-design6追加（adeac_style.cssが古いため）
--------------------------*/

/* list-design6
---------------------------------------------- */
.list-design6 .item{
  display:block;
  width:100%;
  max-width:1280px;
  margin:1rem auto;
  text-align:center;
}
.list-design6 .item img{
  width:auto;
  max-width:100%;
}

.list-design6.outer-left .item{
  margin-left:0;
  text-align:left;
}
/*コピーここまで*/
#population.list-design6 .contents-wrap {
  display: block;
}
#population iframe {
  border:none;
}

#population a {
  display: block;
  text-align: right;
  padding-right:1em;
  text-decoration: underline;
}