
/* 鉄道図鑑の最新投稿 */
.p-new-train {
  position: relative;
  width: calc(100% - 40px);
  max-width: 870px;
  margin: 0px auto 150px;
}
.p-new-train__flex {
  display: flex;
  justify-content: center;
  align-items: center;
}
.p-new-train__image {
  margin-right: 20px;
  margin-bottom: 50px;
}
.p-new-train__image a {
  /* 位置調整 */
  position: relative;
  
}
.p-new-train__label{
  width: 100px;
  height: 40px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  line-height: 40px;
  background-color: #FF0005;
  color: white;
  letter-spacing: 2px;
  /* 位置調整 */
  position: absolute;
  top: 33px;
  right: 33px;
}

@media screen and (max-width: 1100px) {
  .p-new-train {
    width: calc(100% - 40px);
  }
}
@media screen and (max-width: 920px) {
  .p-new-train__image {
    margin-right: 00px;
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 600px) {
  .p-new-train {
    width: calc(100%);
    margin: 0 auto 50px;
  }
  .p-new-train__image {
    margin-left: 0%;
  }
  .p-new-train__greeting {
    font-size: 16px;
    line-height: 24px;
  }
  .p-new-train__text {
    margin-top: 10px;
    font-size: 15px;
    line-height: 34px;
  }
  .p-new-train__name {
    margin-top: 20px;
    font-size: 15px;
  }
  .p-new-train__label{
    width: 80px;
    height: 32px;
    font-size: 14px;
    line-height: 32px;
    background-color: #FF0005;
    color: white;
    /* 位置調整 */
    position: absolute;
    top: 20px;
    right: 20px;
  }
}

/* ようこその部分 */
.p-aisatsu {
  position: relative;
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0px auto 100px;
}
.p-aisatsu__flex {
  display: flex;
  justify-content: center;
  align-items: center;
}
.p-aisatsu__inner {
  margin-left: 80px;
}
.p-aisatsu__greeting {
  color: #151515;
  font-size: 17px;
  font-weight: bold;
  line-height:24px;
  text-align: center;
}
.p-aisatsu__text {
  margin-top: 40px;
  color: #151515;
  font-size: 17px;
  line-height: 50px;
}
.p-aisatsu__name {
  margin-top: 31px;
  margin-bottom: 20px;
  color: #151515;
  font-size: 17px;
  text-align: right;
}

@media screen and (max-width: 1100px) {
  .p-aisatsu {
    width: calc(100% - 40px);
  }
}
@media screen and (max-width: 920px) {
  .p-aisatsu__inner {
    margin-left: 6%;
  }
  .p-aisatsu__greeting {
    color: #151515;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
  }
  .p-aisatsu__text {
    margin-top: 40px;
    color: #151515;
    font-size: 17px;
    line-height: 25px;
  }
  .p-aisatsu__name {
    margin-top: 31px;
    color: #151515;
    font-size: 17px;
    text-align: right;
  }
}
@media screen and (max-width: 600px) {
  .p-aisatsu {
    width: calc(100% - 22px);
    margin: 0 auto 50px;
  }
  .p-aisatsu__inner {
    margin-left: 3%;
  }
  .p-aisatsu__greeting {
    font-size: 16px;
    line-height: 24px;
  }
  .p-aisatsu__text {
    margin-top: 10px;
    font-size: 15px;
    line-height: 34px;
  }
  .p-aisatsu__name {
    margin-top: 20px;
    font-size: 15px;
  }
}

/* topページのボタン */
.c-top-button {
  position: relative;
  width: 303px;
  height: 59px;
  margin: 0 auto;
  border: dotted 1px #151515;
  border-radius: 0 0 26px 0;
  background-color: #F0D950;
}
.c-top-button span {
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: #0047DE;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.c-top-button:hover {
  opacity: 0.7;
}
@media screen and (max-width: 600px) {
  .c-top-button {
    width: 213px;
    height: 41px;
  }
  .c-top-button span {
    font-size: 15px;
  }
}

/* タイトル */
.c-top-title.--horizon {
  text-align: center;
  writing-mode: horizontal-tb;
  margin-bottom: 20px;
}


/* character */
.p-aisatsu__character {
  width: 112px;
  height: 282px;
  position: absolute;
  bottom: 50%;
  right: 20%;
  transform: translate(50%, 50%);
}
@media screen and (max-width: 920px) {
  .p-aisatsu__character {
    margin: 20px auto;
    position: relative;
    bottom: 00%;
    right: 0%;
    transform: translate(0%, 0%);
  }
}
@media screen and (max-width: 600px) {
  .p-aisatsu__character {
    width: 62px;
    height: 156px;
  }
}

/* 更新情報 */
.p-information {
  margin: 100px auto;
  padding: 0 20px;
}
.p-information__inner {
  margin-bottom: 50px;
}
/* 更新情報一覧 */
.p-information__content {
  width: calc(100% - 80px);
  max-width: 1020px;
  margin: 0px auto;
  padding: 20px;
  background-color: #181818;
}
.p-information__lists {
  padding: 14px 0 0 0;
  background-color: #352A2A;
}
.p-information__list:not(:last-child) {
  margin-bottom: 15px;
  border-bottom: solid 4px #D9D9D9;
}
/* ナンバーやラベル */
.p-information__list__flex {
  display: flex;
  align-items: center;
  justify-content: left;
  margin-bottom: 8px;
  margin-left: 14px;
}
.p-information__list__top {
  display: flex;
  align-items: center;
  justify-content: left;
}
.p-information__number {
  width: 100px;
  height: 35px;
  line-height: 35px;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  background-color: #4FE95E;
  border-radius: 10px;
}
.p-information__label {
  width: 140px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
  background-color: #4F6EE9;
  margin-left: 20px;
}
.p-information__label.--detail {
  display: inline-block;
}
.p-information__date {
  color: #fff;
  text-align: left;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 16px;
}
.p-information__list__bottom {
  display: flex;
  align-items: center;
  justify-content: left;
  margin-left: 20px;
}
.p-information__title {
  color: #fff;
  text-align: left;
  font-size: 22px;
  font-weight: bold;
  margin-left: 20px;
}
.p-information__list__text {
  color: #fff;
  text-align: left;
  font-size: 16px;
  overflow-x: hidden;
  white-space: nowrap;
  padding-bottom: 8px;
  margin-left: 14px;
    animation: slide 10s linear infinite; /* アニメーションを定義 */
}
@media screen and (max-width: 920px) {
  /* 更新情報 */
  .p-information {
    margin: 50px auto;
  }
  .p-news.page-content {
    margin: 100px auto;
  }
  .p-information__inner {
    display: block;
    margin-bottom: 20px;
  }
  /* 更新情報一覧 */
  .p-information__lists {
    padding: 12px 0 0 0;
  }
  .p-information__list:not(:last-child) {
    border-bottom: solid 3px#D9D9D9;
  }
  /* ナンバーやラベル */
  .p-information__list__flex {
    display: block;
    align-items: center;
    justify-content: left;
    margin-bottom: 10px;
    margin-left: 12px;
  }
  .p-information__list__top {
    margin-bottom: 10px;
  }
  .p-information__date {
    margin-left: 10px;
  }
  .p-information__label{
    margin-left: 0;
  }
  .p-information__label.--detail {
    margin-left: 20px;
  }
  .p-information__list__bottom {
    margin-left: 0px;
  }
  .p-information__title {
    margin-left: 10px;
  }
  /* pc-on */
  .p-information__label.pc-on,
  .p-information__date.pc-on {
    display: none;
  }
  /* sp-on */
  .p-information__label.sp-on {
    display: block;
  }
  .p-information__date.sp-on {
    display: block;
  }
}
@media screen and (max-width: 600px) {
  /* 更新情報 */
  .p-information {
    margin: 50px auto;
  }
  .p-information__inner {
    display: block;
    margin-bottom: 20px;
  }
  .p-information__content.archive {
    width: calc(100% - 40px);
    max-width: 1000px;
  }
  /* 更新情報一覧 */
  .p-information__lists {
    padding: 10px 0 0 0;
  }
  .p-information__list:not(:last-child) {
    margin-bottom: 8px;
    border-bottom: solid 2px #D9D9D9;
  }
  /* ナンバーやラベル */
  .p-information__list__flex {
    display: block;
    align-items: center;
    justify-content: left;
    margin-bottom: 8px;
    margin-left: 10px;
  }
  .p-information__list__top {
    margin-bottom: 8px;
  }
  .p-information__number {
    width: 70px;
    height: 25px;
    line-height: 25px;
    font-size: 13px;
  }
  .p-information__label {
    width: 90px;
    height: 25px;
    line-height: 25px;
    font-size: 13px;
    margin-left: 0;
  }
  .p-information__label.--detail {
    display: inline-block;
    margin-left: 10px;
  }
  .p-information__date {
    font-size: 13px;
    margin-left: 10px;
  }
  .p-information__title {
    font-size: 15px;
    margin-left: 10px;
    width: calc(100% - 100px);
  }
  .p-information__list__text {
    font-size: 13px;
    padding-bottom: 8px;
    margin-left: 10px;
    animation: slide 8s linear infinite; /* アニメーションを定義 */
  }
}

/* 今日のおすすめ */
.p-recommend {
  margin: 100px auto;
}
.p-recommend__text {
  margin-bottom: 20px;
  color: #151515;
  text-align: center;
  font-size: 20px;
  line-height: 24px;
  padding: 0 20px;
}
.p-recommend__lists {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.p-recommend__list {
  width: 25%;
}
@media screen and (max-width: 920px) {
  .p-recommend {
    margin: 80px auto;
  }
  .p-recommend__list {
    width: calc(100% / 3);
  }
}
@media screen and (max-width: 600px) {
  .p-recommend__text {
    font-size: 14px;
    line-height: 21px;
  }
  .p-recommend__list {
    width: 50%;
  }
}

/* ラベル別の色分け */
.p-information__label.fv {
  background-color: #4F6EE9;
}
.p-information__label.dict {
  background-color: #F54D50;
}
.p-information__label.column {
  background-color: #D4B85B;
}
.p-information__label.other {
  background-color: #00BC90;
}