/* ==========================================================
   共通設定
========================================================== */
body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #222;
  background: #faf7f0;
  margin: 0;
  padding: 0;
}

h1,h2,h3,h4,h5,h6 {
  font-family: "Noto Serif JP", serif;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ==========================================================
   フロントページ全体
========================================================== */
.front-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.front-section {
  margin: 60px 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  padding-left: 12px;
  margin-bottom: 25px;
}

.front-hero {
  margin-bottom: 60px;
}

/* ==========================================================
   ヒーロースライダー
========================================================== */
.hero-slider {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 30px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #faf7f0;
  border-radius: 12px;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ← containからcoverに変更 */
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  border-radius: 0; /* ← 12pxを0に変更（コンテナで角丸にするので不要） */
}

.hero-slider img.active {
  opacity: 1;
}

.hero-copy {
  position: static;
  transform: none;
  text-align: center;
  color: #222;
  text-shadow: none;
  max-width: 80%;
  margin: 20px auto 0 auto;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.hero-text {
  font-size: 1.1rem;
  font-weight: 500;
}

.hero-copy::before {
  display: none;
}

/* ==========================================================
   グリッドカード（統一版）
========================================================== */
.post-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.post-card {
  background: #fcfaf5;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-grid .post-card {
  border-left: 4px solid #999;
}

.station-grid .post-card {
  border-left: 4px solid #90caf9;
}

.bus-grid .post-card {
  border-left: 4px solid #81c784;
}

.ticket-grid .post-card {
  border-left: 4px solid #c5a880;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.post-card a {
  display: block;
}

.post-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f2f2f2;
}

.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  padding: 16px 18px 18px;
}

.post-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.55;
}

.post-meta {
  font-size: 0.85rem;
  color: #666;
}

.post-card,
.news-card,
.card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

/* もっと見るリンク統一 */
.more-link-wrap {
  text-align: left;
  margin-top: 30px;
}

.more-link-wrap .more-link {
  display: inline-block;
  padding: 12px 24px;
  background-color: #555;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s;
  min-width: 150px;
  text-align: center;
}

.more-link-wrap .more-link:hover {
  background-color: #333;
}

/* ==========================================================
   ヘッダー
========================================================== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  background: #faf7f0;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  z-index: 1000;
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #222;
}

.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  display: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.header-menu li a {
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  transition: color 0.2s;
}

.header-menu li a:hover {
  color: #007acc;
}

.header-sns {
  display: flex;
  list-style: none;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.header-sns li a {
  font-size: 1rem;
  color: #222;
  transition: color 0.2s;
}

.header-sns li a:hover {
  color: #007acc;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #222;
}

.header-nav.active {
  display: block;
  position: absolute;
  top: 60px;
  right: 20px;
  background: #faf7f0;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mobile-sns {
  display: none;
  list-style: none;
  gap: 10px;
  margin-top: 10px;
  padding: 0;
}

.mobile-sns li a {
  font-size: 1rem;
  color: #222;
}

.mobile-sns li a:hover {
  color: #007acc;
}

/* ==========================================================
   フッター
========================================================== */
.site-footer {
  background-color: #ede6d9;
  color: #333;
  padding: 40px 20px;
  font-size: 0.95rem;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-about {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  text-align: center;
}

.footer-concept {
  line-height: 1.6;
  color: #555;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 50px;
}

.footer-menu li a {
  color: #7a5e3c;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-menu li a:hover {
  color: #b1915f;
}

.footer-copy {
  text-align: center;
  margin-top: 10px;
  color: #7a6a5a;
  font-size: 0.9rem;
}

/* ==========================================================
   自己紹介ページ
========================================================== */
.about-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #222;
}

.page-title {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  border-bottom: 3px solid #ccc;
  padding-bottom: 12px;
}

.about-profile {
  display: flex;
  gap: 25px;
  margin-bottom: 50px;
  align-items: flex-start;
}

.about-image {
  width: 200px;
  border-radius: 12px;
  object-fit: cover;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 15px;
}

.about-section {
  margin-bottom: 40px;
}

.about-section h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  border-left: 6px solid #ccc;
  padding-left: 12px;
}

.about-section p {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #444;
}

.about-section ul {
  list-style: disc inside;
  padding-left: 0;
  color: #444;
}

.about-section ul li {
  margin-bottom: 8px;
}

/* ==========================================================
   お問い合わせページ
========================================================== */
.contact-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.7;
  color: #222;
}

.contact-page .page-title {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 3px solid #ccc;
  padding-bottom: 12px;
}

.contact-form-wrapper {
  background: #fafafa;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper textarea,
.contact-form-wrapper select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Noto Sans JP", sans-serif;
  transition: border 0.2s;
  box-sizing: border-box;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus,
.contact-form-wrapper select:focus {
  border-color: #999;
  outline: none;
}

.contact-form-wrapper textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form-wrapper input[type="submit"] {
  background: #eee;
  color: #222;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 1rem;
}

.contact-form-wrapper input[type="submit"]:hover {
  background: #ddd;
}

.contact-form-wrapper .wpcf7-not-valid-tip,
.contact-form-wrapper .wpcf7-validation-errors,
.contact-form-wrapper .wpcf7-mail-sent-ok {
  color: #c33;
  margin-bottom: 12px;
  display: block;
  font-size: 0.9rem;
}

.contact-form-wrapper .wpcf7-mail-sent-ok {
  color: #28a745;
}

/* ==========================================================
   404ページ
========================================================== */
.notfound {
  max-width: 700px;
  margin: 80px auto;
  padding: 20px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  color: #222;
}

.notfound-title {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.notfound-text {
  font-size: 1rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.notfound-image {
  margin-bottom: 30px;
}

.notfound-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin: 0 auto;
}

.notfound-back .back-home {
  display: inline-block;
  background: #eee;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
  text-decoration: none;
  color: #222;
  min-width: 150px;
}

.notfound-back .back-home:hover {
  background: #ddd;
}

/* ==========================================================
   一覧ページ共通
========================================================== */
.page-main {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  font-family: "Noto Sans JP", sans-serif;
  color: #222;
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 20px;
  color: #666;
}

.breadcrumb a {
  color: #666;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-header {
  margin-bottom: 30px;
}

.page-title {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 700;
  border-left: 6px solid #ccc;
  padding-left: 12px;
}

.no-post {
  text-align: center;
  font-size: 1rem;
  color: #666;
  padding: 30px 0;
}

/* ==========================================================
   ニュース一覧
========================================================== */
.news-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.news-card {
  background: #fcfaf5;
  border: 1px solid #e8e4dc;
  border-left: 4px solid #999;
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.news-date {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 8px;
}

.news-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.news-title a {
  color: #222;
}

.news-title a:hover {
  color: #007acc;
}

/* ==========================================================
   駅・バス停・きっぷ一覧
========================================================== */
.card-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fcfaf5;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f2f2f2;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.9rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 10px 15px 5px 15px;
}

.card-date {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin: 0 15px 12px 15px;
}

body.post-type-archive-station .card {
  border-left: 4px solid #90caf9;
}

body.post-type-archive-station .page-title {
  border-color: #90caf9;
}

body.post-type-archive-busstop .card {
  border-left: 4px solid #81c784;
}

body.post-type-archive-busstop .page-title {
  border-color: #81c784;
}

body.post-type-archive-ticket .card {
  border-left: 4px solid #c5a880;
}

body.post-type-archive-ticket .page-title {
  border-color: #c5a880;
}

body.post-type-archive-news .page-title,
body.post-type-archive-station .page-title,
body.post-type-archive-busstop .page-title,
body.post-type-archive-ticket .page-title {
  border-left: none;
}

/* ==========================================================
   ページネーション
========================================================== */
.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #eee;
  color: #222;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  font-size: 1rem;
}

.pagination .page-numbers.current {
  background: #007acc;
  color: #fff;
}

.pagination .page-numbers:hover {
  background: #ddd;
}

/* ==========================================================
   ニュース個別ページ
========================================================== */
.single-news {
  background: #f9f7f1;
  border-radius: 12px;
  padding: 20px 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news-header {
  margin-bottom: 20px;
}

.single-news .news-title {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.single-news .news-date {
  font-size: 0.9rem;
  color: #666;
}

.news-content {
  line-height: 1.8;
  font-size: 1rem;
  color: #333;
}

.news-content img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
  border-radius: 8px;
}

.news-footer {
  margin-top: 30px;
}

/* ==========================================================
   駅・バス停個別ページ
========================================================== */
.station-single,
.bus-single,
.ticket-single {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  font-family: "Noto Sans JP", sans-serif;
  color: #222;
}

.station-title,
.bus-title,
.single-title {
  font-family: "Noto Serif JP", serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-left: 6px solid #90caf9;
  padding-left: 12px;
}

.bus-title {
  border-color: #81c784;
}

.single-title {
  border-color: #c5a880;
}

.station-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 25px;
}

.station-gallery .station-photo {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
}

.bus-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 25px;
}

.bus-photo {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
}

.station-info-box,
.bus-info-box {
  background: #f5f5f5;
  border-left: 6px solid #90caf9;
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 25px;
}

.bus-info-box {
  border-color: #81c784;
}

.station-info,
.bus-info {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 6px;
}

.bus-memo {
  margin-bottom: 25px;
}

.station-memo {
  margin-bottom: 25px;
}

.memo-head {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  border-left: 4px solid #e0e0e0;
  padding-left: 10px;
}

.memo-text {
  font-size: 1rem;
  line-height: 1.6;
  background: #fff8e1;
  padding: 10px 12px;
  border-radius: 6px;
}

.map {
  width: 100%;
  height: 400px;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.station-navigation,
.bus-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 10px;
}

.station-navigation a,
.bus-navigation a {
  background: #eee;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: #222;
  text-decoration: none;
  transition: background 0.2s;
}

.station-navigation a:hover,
.bus-navigation a:hover {
  background: #ddd;
}

.bus-single .bus-navigation {
  display: none;
}

/* ==========================================================
   きっぷ個別ページ
========================================================== */
.single-thumb img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.single-meta .meta-item {
  background: #f0f0f0;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.single-content {
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 30px;
}

/* ==========================================================
   戻るリンク統一
========================================================== */
.back-link,
.back-link-station,
.back-link-bus,
.back-link-ticket {
  margin-bottom: 40px;
}

.back-link a,
.back-link-station a,
.back-link-bus a,
.back-link-ticket a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eee;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: #222;
  text-decoration: none;
  transition: background 0.2s;
  min-width: 150px;
  text-align: center;
}

.back-link a:hover,
.back-link-station a:hover,
.back-link-bus a:hover,
.back-link-ticket a:hover {
  background: #ddd;
}

/* ==========================================================
   共通カードデザイン
========================================================== */
.archive-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fcfaf5;
  border: 1px solid #e8e4dc;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.archive-card .card-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f2f2f2;
}

.archive-card .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-card .card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 12px 16px 4px;
  line-height: 1.5;
}

.archive-card .card-date {
  margin: 0 16px 14px;
  font-size: 0.85rem;
  color: #666;
}

/* ==========================================================
   シングルページ用画像統一
========================================================== */
.station-gallery .station-photo,
.bus-gallery .bus-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: inherit;
  display: block;
}

.single-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: inherit;
  display: block;
}

.map {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  background: inherit;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.station-gallery,
.bus-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.station-gallery .station-photo,
.bus-gallery .bus-photo {
  margin: 0 auto;
}

/* ==========================================================
   本文・リスト統一
========================================================== */
body,
.single-news,
.station-single,
.bus-single,
.ticket-single,
.archive-card,
.news-card,
.card,
.post-card {
  font-family: "Noto Sans JP", sans-serif;
  color: #222;
  line-height: 1.7;
  font-size: 1rem;
}

ol {
  list-style: decimal;
  counter-reset: list-counter;
  padding-left: 1.5em;
  margin-bottom: 1em;
  color: #444;
}

ol li {
  margin-bottom: 0.8em;
  line-height: 1.6;
  font-size: 1rem;
}

ol li::marker {
  font-size: 1rem;
  font-weight: 600;
  color: #444;
}

/* ==========================================================
   全画像角丸統一
========================================================== */
/* ==========================================================
   角丸：画像そのもの
========================================================== */
.post-thumb img,
.card-thumb img,
.archive-card .card-thumb img,
.news-card img,
.station-photo,
.bus-photo,
.single-thumb img,
.notfound-image img,
.contact-form-wrapper img,
.hero-slider img {
  border-radius: 12px;
  display: block;
}


/* ==========================================================
   角丸：ラッパー（overflow管理）
========================================================== */
.post-thumb,
.card-thumb,
.single-thumb,
.station-gallery,
.bus-gallery,
.hero-slider,
.about-image {
  overflow: hidden;
}


/* ==========================================================
   single-nav 戻るボタン統一
========================================================== */

.single-nav {
  margin-top: 40px;
}

.single-nav .back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 24px;
  min-width: 160px;

  background: #eee;
  color: #222;

  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;

  transition: background 0.2s ease,
              transform 0.2s ease;
}

.single-nav .back-link:hover {
  background: #ddd;
  transform: translateY(-1px);
}

/* シングルページ：アイキャッチ画像を確実に角丸 */
.single-thumb {
  border-radius: 12px;
  overflow: hidden;
}

.single-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0; /* ← img側は不要 */
}
