@charset "UTF-8";
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　■COMMON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#footer {
  margin-top: 157px;
}

@media only screen and (max-width: 768px) {
  #footer {
    margin-top: 60px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　■メイン
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#mainImg {
  background-image: url(../images/history/mainimg.jpg);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　■read
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#read {
  padding-top: 108px;
  margin-bottom: 64px;
}

#read h3 {
  text-align: center;
  margin-bottom: -15px;
}

#read h3 img {
  width: 222px;
  height: auto;
}

#read .michi {
  position: relative;
  max-width: 971px;
  background: url(../images/history/mitchi.png) no-repeat right center;
  background-size: 281px auto;
  text-align: center;
  padding: 80px 97px;
  margin: auto;
}

#read p {
  font-size: 2.0rem;
  line-height: 1.8;
}

@media only screen and (max-width: 768px) {
  #read {
    padding-top: 50px;
    margin-bottom: 0;
  }
  #read h3 {
    margin-bottom: 0;
  }
  #read h3 img {
    width: 120px;
  }
  #read .michi {
    min-height: 230px;
    background-position: right -20px bottom -20px;
    background-size: auto 230px;
    padding: 40px 15px;
  }
  #read .michi:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
    background: rgba(255, 255, 255, 0.5);
  }
  #read p {
    position: relative;
    font-size: 1.7rem;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　■historySlide
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#historySlide {
  overflow: hidden;
  position: relative;
  background: #f7fcfe;
  padding: 75px 30px 175px;
  margin-bottom: 127px;
}

#historySlide:before, #historySlide:after {
  content: '';
  height: 220px;
  position: absolute;
  left: -50%;
  right: -50%;
  border-radius: 100%;
  background: #67c5f0;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.16);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.16);
}

#historySlide:before {
  top: 0;
  height: 270px;
  border-radius: 0 0 100% 100%;
}

#historySlide:after {
  top: auto;
  bottom: 0;
  border-radius: 100% 100% 0 0;
}

#historySlide h3 {
  position: relative;
  text-align: center;
  margin-bottom: 72px;
}

#historySlide h3 span {
  color: white;
  font-size: 3.6rem;
  border-bottom: 3px solid white;
  padding-bottom: 4px;
}

@media only screen and (max-width: 768px) {
  #historySlide {
    padding: 20px 0 0px;
    margin-bottom: 65px;
  }
  #historySlide:before, #historySlide:after {
    height: 120px;
    left: -25%;
    right: -25%;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.8);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.8);
  }
  #historySlide h3 {
    margin-bottom: 20px;
  }
  #historySlide h3 span {
    font-size: 2.4rem;
    border-width: 2px;
  }
}

/* スライド */
#historySlide .stage {
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 15;
  max-width: 1000px;
  min-height: 512px;
  background: white;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.16);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.16);
  margin: auto;
}

#historySlide .stage .slick-slider li {
  outline: none;
}

#historySlide .stage .slick-prev, #historySlide .stage .slick-next {
  top: calc(100% + 43px);
  bottom: auto;
  z-index: 999;
  width: 108px;
  height: 43px;
  background: center top no-repeat;
  background-size: auto 43px;
  -webkit-transform: none;
  transform: none;
  margin: auto 27.5px;
}

#historySlide .stage .slick-prev:before, #historySlide .stage .slick-next:before {
  display: none;
}

#historySlide .stage .slick-prev {
  left: auto;
  right: 50%;
  background-image: url(../images/history/prev.png);
}

#historySlide .stage .slick-next {
  left: 50%;
  right: auto;
  background-image: url(../images/history/next.png);
}

@media only screen and (max-width: 768px) {
  #historySlide .stage {
    height: 512px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.8);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.8);
  }
  #historySlide .stage .slick-prev, #historySlide .stage .slick-next {
    display: none;
  }
}

/* メインスライド */
#historySlide .stage .slide {
  min-height: 512px;
  padding: 70px 150px;
}

#historySlide .stage .slide .slide_item.slick-active .box {
  opacity: 1.0;
  -webkit-transition: all 0.8s linear;
  transition: all 0.8s linear;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

#historySlide .stage .slide .slide_item {
  padding: 0 0 0;
}

#historySlide .stage .slide .slide_item .box {
  opacity: 0;
  -webkit-transition: all 0.0s linear;
  transition: all 0.0s linear;
  -webkit-transform: translateX(20px);
  transform: translateX(20px);
  text-align: center;
}

#historySlide .stage .slide .slide_item .box .title {
  line-height: 1.0;
  margin-bottom: 80px;
}

#historySlide .stage .slide .slide_item .box .title .number {
  display: block;
  color: #00a0e7;
  font-size: 8.0rem;
  line-height: 1.0;
  margin-bottom: -5px;
}

#historySlide .stage .slide .slide_item .box .title .sub_number {
  color: #5c5c5c;
  font-size: 1.5rem;
}

#historySlide .stage .slide .slide_item .box .text {
  font-size: 1.8rem;
}

@media only screen and (max-width: 768px) {
  #historySlide .stage {
    height: auto;
    max-width: inherit;
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  #historySlide .stage .slide {
    padding: 0px 0;
  }
  #historySlide .stage .slide .slick-track {
    width: auto !important;
    -webkit-transform: none !important;
    transform: none !important;
    padding-top: 5px;
  }
  #historySlide .stage .slide .slick-list {
    -webkit-transition: none !important;
    transition: none !important;
    -webkit-transform: none !important;
    transform: none !important;
  }
  #historySlide .stage .slide .slide_item {
    opacity: 1.0;
    float: none;
    width: auto !important;
    background: white;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.16);
    padding: 20px 15px;
    margin: 0 15px 30px;
    -webkit-transition: none !important;
    transition: none !important;
    -webkit-transform: none !important;
    transform: none !important;
  }
  #historySlide .stage .slide .slide_item.slick-cloned {
    display: none !important;
  }
  #historySlide .stage .slide .slide_item .box {
    opacity: 1;
    -webkit-transition: none !important;
    transition: none !important;
    -webkit-transform: none !important;
    transform: none !important;
  }
  #historySlide .stage .slide .slide_item .box .title {
    margin-bottom: 20px;
  }
  #historySlide .stage .slide .slide_item .box .title .number {
    font-size: 4.0rem;
    margin-bottom: -5px;
  }
  #historySlide .stage .slide .slide_item .box .title .sub_number {
    font-size: 1.1rem;
  }
  #historySlide .stage .slide .slide_item .box .text {
    font-size: 1.5rem;
    line-height: 1.6;
  }
}

/* 年号 */
#historySlide .stage .slideNav {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 12px;
}

#historySlide .stage .slideNav:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  height: 1px;
  background: #f4b5d0;
  margin: auto;
}

#historySlide .stage .slideNav .slick-track:before, #historySlide .stage .slideNav .slick-track:after {
  display: none;
}

#historySlide .stage .slideNav .slide_item {
  cursor: pointer;
  position: relative;
  z-index: 10;
  padding: 0 2px;
  margin: 0 -2px;
}

#historySlide .stage .slideNav .slide_item:before, #historySlide .stage .slideNav .slide_item:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  border-radius: 100%;
  margin: auto;
}

#historySlide .stage .slideNav .slide_item:before {
  z-index: 5;
  width: 8px;
  height: 8px;
  background: #c6c6c6;
}

#historySlide .stage .slideNav .slide_item:after {
  opacity: 0;
  z-index: 1;
  width: 12px;
  height: 12px;
  background: white;
  border: 1px solid #e9669e;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#historySlide .stage .slideNav .slide_item .title {
  line-height: 1.0;
}

#historySlide .stage .slideNav .slide_item .title .number {
  width: auto !important;
  color: #c6c6c6;
  font-size: 1.2rem;
  line-height: 0;
}

#historySlide .stage .slideNav .slide_item:nth-of-type(2n+1) {
  padding-bottom: 35px;
}

#historySlide .stage .slideNav .slide_item:nth-of-type(2n+2) {
  padding-top: 35px;
}

#historySlide .stage .slideNav .slide_item.slick-current:before {
  background: #e9669e;
}

#historySlide .stage .slideNav .slide_item.slick-current:after {
  opacity: 1.0;
}

#historySlide .stage .slideNav .slide_item.slick-current .title .number {
  color: #e9669e;
}

@media only screen and (max-width: 768px) {
  #historySlide .stage .slideNav {
    display: none;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　■hoyu
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#hoyu h3 {
  position: relative;
  text-align: center;
  margin-bottom: 66px;
}

#hoyu h3 span {
  font-size: 3.6rem;
  border-bottom: 3px solid #57bfee;
  padding-bottom: 4px;
}

#hoyu .hd_p {
  max-width: 971px;
  font-size: 2.0rem;
  line-height: 1.8;
  text-align: center;
  padding: 0 90px;
  margin: auto auto 88px;
}

#hoyu .bus {
  padding: 0 calc((100% - 1195px) / 2);
}

#hoyu .bus ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#hoyu .bus ul li {
  max-width: 381px;
}

#hoyu .bus ul li .img img {
  width: 100%;
  height: auto;
}

#hoyu .bus ul li .detail {
  background-repeat: no-repeat;
  background-position: left 46px;
  background-size: auto 105px;
}

#hoyu .bus ul li .detail .have {
  display: block;
  width: 95px;
  background-color: #00a3e8;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: white;
  font-size: 1.6rem;
  line-height: 1.0;
  text-align: center;
  padding: 7px 0 6px;
  margin: 30px auto 0;
}

#hoyu .bus ul li .detail .have .num {
  font-size: 3.6rem;
  padding: 0 2px;
}

#hoyu .bus ul li .detail .ttl {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
  padding: 18px 0 10px;
}

#hoyu .bus ul li .detail .txt {
  font-size: 1.6rem;
  line-height: 1.9;
  padding: 0 20px;
}

#hoyu .bus ul li.micro .detail {
  background-image: url(../images/history/bus01_txt.png);
}

#hoyu .bus ul li.middle .detail {
  background-image: url(../images/history/bus02_txt.png);
}

#hoyu .bus ul li.large .detail {
  background-image: url(../images/history/bus03_txt.png);
}

@media only screen and (max-width: 768px) {
  #hoyu h3 {
    margin-bottom: 33px;
  }
  #hoyu h3 span {
    font-size: 2.4rem;
    border-width: 2px;
    padding-bottom: 4px;
  }
  #hoyu .hd_p {
    font-size: 1.5rem;
    text-align: left;
    padding: 0 15px;
    margin-bottom: 40px;
  }
  #hoyu .bus {
    padding: 0 15px;
  }
  #hoyu .bus ul {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  #hoyu .bus ul li {
    max-width: inherit;
    margin-bottom: 30px;
  }
  #hoyu .bus ul li .img {
    max-width: 70%;
    margin: 0 auto;
  }
  #hoyu .bus ul li .detail {
    background-position: left 40px;
    background-size: auto 80px;
  }
  #hoyu .bus ul li .detail .have {
    width: 75px;
    font-size: 1.6rem;
    margin: 15px auto 0;
  }
  #hoyu .bus ul li .detail .have .num {
    font-size: 2.4rem;
    padding: 0 2px;
  }
  #hoyu .bus ul li .detail .ttl {
    font-size: 2.0rem;
    padding: 10px 0 5px;
  }
  #hoyu .bus ul li .detail .txt {
    font-size: 1.5rem;
    line-height: 1.6;
    padding: 0 10px;
  }
}
