@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;
}


/*背景画像*/
.page-header {
  background-image: url("../img/230514-ikutoraeki (1).jpg"); /* 背景画像指定 */
  background-size: cover;
  background-position: center 80%;
  min-height: 41vh;
}

.main-title  {
  color: #000;
  display:  inline-block;
}

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


/*ナビゲーションボタン*/
.main-nav {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.75rem;
  justify-content: center;
  padding-top: 10px;
  list-style: none;
}

.main-nav a {
  color: #000000;
}

.main-nav a:hover {
  color: #0bd;
}

.main-title {
  padding: 20px;
}

nav ul li a {
  padding: 0 1em;
}

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

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

/*パンくずリスト*/
.bread ul {
  margin:  0 0.625em;
  padding: 0.625em;
  font-size: 0.95em;
  list-style: none;
  overflow: hidden;
  display: flex;
  list-style: none;
}

.bread li a {
  padding: 5px;
  text-decoration: none;
}

.bread li a:hover {
  color: #0bd;
}

.bread li:after {
  content: '\003e'; /* 「>」を要素間の区切り文字として表示 */
  margin-left: 5px; /* 区切り文字と要素の間隔を調整 */
  margin-right:5px; /* 区切り文字と要素の間隔を調整 */
  color: #888888; /* 区切り文字の文字色 */
 }

.bread li:last-child:after {
  content: '';
}

.bread img {
  width: 13px;
}


/*article*/
article {
  width: 80%; /*横並び2列の設定*/
}

/*各駅の目次限定*/
.container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-right: 50px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,td {
  border: solid 1px;
  padding: 5px;
  font-size: 0.85em;
}

th {
  background-color: darkgrey;
}

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

.c-01 {
  width: 40%; /*駅名の幅*/
}

.c-02 {
  width: 18%; /*存廃の幅*/
}

.c-03 {
  width: 42%; /*備考欄の幅*/
}

.haishi {
  color: red; /*廃止の赤文字*/
}


/*TOPの写真*/
.top-photo {
  text-align: center;
  margin-bottom: 3.125em;
  margin-right: 2.5em;
  margin-left: 2.5em;
  }

.top-photo img {
  width: 100%;
}

.setsumei {
  text-align: left;
  margin: 1em 10% 0 10%;
  display: block;
  text-indent: 1em;
}

.shutten {
  text-align: right;
  margin: 0 15% 1em 10%;
  display: block; 
}

.outline {
  text-align: center;
  margin: 1.25em 0;
}

/*いろいろな角度からの写真*/
.archive {  /*写真左側の通常表示*/
  display: flex;
  align-items: center;
  padding: 1.25em;
  border-top: 1px solid #e7e7e7;
}

.archive-reverse {  /*写真右側のバランス表示*/
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  padding: 1.25em;
  border-top: 1px solid #e7e7e7;
}

.archive-photo {
  position: relative;
  transition: .3s;
  width: 50%;
  margin: 0 1.25em;
  flex-shrink: 0;
}

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

.archive-photo.tate img {
  display: block;
  aspect-ratio: 2/3;
  object-fit: cover;
  width: calc(200%/3);
}

.archive-body {
  flex-grow: 1;
  width: calc(50%-1.25em);
}

.archive-title {
   font-weight: bold;
   padding-left: 1em;
   padding-right: 1.25em;
}

.archive-text {
  margin-top: 1em;
  padding-left: 2em;
  padding-right: 1.25em;
}


/*その他もろもろの写真*/
.other {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25em;
  padding: 2.5em;
  border-top: 1px solid #e7e7e7;
}

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

.other-photo {
  text-align: center;
}


/*googleマップ*/
.map {
  max-width: 600px;
  margin: auto;
  aspect-ratio: 16/9;
  text-align: center;
}

.map iframe {
  width: 100%;
  height: 100%;
  padding: 1em 0;
}

/*次の駅*/
.next {
  text-align: center;
  margin-top: 1em;
}

.small {
  font-size: 0.75rem;
}

/*aside*/
aside {
  width: 20%; /*横並び2列の設定*/
  margin-top: 1em;
}

.aside-top {
  border-bottom: 3px solid #6fa9ff;
  padding-bottom: 0.625em;
}

ul {
  list-style: none;
}

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

.line-menu a {
  color: #432;
  padding: 0.625em;
  display: block;
}

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

.ad {
  margin-top: 1em;
}

/*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;
}


 /*footer*/
 .footer-menu {
  color: #808080;
  background: #e5e5e5;
  padding: 0.3125em;
  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.75em;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
 }

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

.footer-copy {
  background-color: #000;
  padding: 0.3125em;
 }

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


/*レスポンシブ対応*/
@media (max-width: 768px) {
  .main-contents {
    display: flex;
    flex-direction: column;
    margin: 0.3125em;
  }
  
article {
  width: 100%;
}
 
aside {
  width: 100%;
  text-align: center;
}


/*TOPの写真mobile*/
.top-photo {
  margin: 0;
}

.main-nav {
  display: none;
}

.setsumei,.shutten {
  display: none;
}

/*パンくずリスト*/
.bread ul {
  margin:  0;
}

/*各駅の目次mobile*/
.container {
  display: flex;
  flex-direction: column;
  margin-right: 0;
  margin-bottom: 3.125em;
}

/*もろもろの写真mobile*/
.archive,.archive-reverse {
  display: flex;
  flex-direction: column;
  text-align: center;
  border-top: 1px solid #e7e7e7;
  padding: 0;
}

.top-photo {
  margin-left: 0;
  margin-right: 0;
}

.archive-photo {
  width: 100%;
}

.archive-title  {
  display:  none;
}

.archive-text {
  margin-top: 0;
  margin-bottom: 1em;
}

/*その他の写真mobile*/
.other {
  grid-template-columns: 1fr;
  text-align: center;
  border-top: 1px solid #e7e7e7;
  padding: 0; 
}

.other-photo {
  width: 100%;
}

/*次駅へのいざないmobile*/  
.next {
  margin-bottom: 3.125em;
}

/*google-map-mobile*/
.map {
  margin-top: 3.125em;
  margin-bottom: 3.125em;
}

/*footermobile*/ 
.footer-menu {
  display: none;
}


}
  