@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css2?family=New+Tegomin&display=swap);
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap");

/* ==============================
   グローバル
   ============================== */

:root {
  --main-color: #db7863;
  --sub-color: #8c8531;
  --accent: #8a8645;
  --label-bg: #efe7c6;
  --panel-bg: #ffffff;
  --text: #6b652f;
  --border-w: 1px;
  --gap: 8px;
  --cap-w: 14px;
  --header-pct: 31.03448276%;
  --body-pct: 68.96551724%;
  --coupler-w: 14px;
  --coupler-h: 32%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 100px;
  overflow-x: hidden;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #f5f0d0;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
a {
   word-wrap:break-word;
}
.container {
  max-width: 1440px;
  margin: 150px auto;
  background-color: #f5f0d0;
  border-radius: 10px;
  color: #000;
  padding: 80px 20px;
  height: auto;
}
.inner {
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  align-items: center;
}
.sp {
	display: none;
}

@media screen and (max-width: 768px) {
	.sp {
		display: block;
	}
}
@media only screen and (min-width: 481px) and (max-width: 768px) {
  .container {
    margin: 100px auto;
  }
}

@media only screen and (max-width: 576px) {
  .container {
    margin: 50px auto;
  }
}

/* ==============================
   ヘッダー
   ============================== */
body.home, body.blog, body.wp-singular, body.error404, body.page-id-28, body.page-id-30, body.page-id-32, body.archive, body.columns-template-default {
  background-image: url(../img/firstview.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
  background-attachment: fixed;
}

header {
  top: 0;
  position: fixed;
  display: flex;
  width: 100%;
  height: 100px;
  background-color: var(--main-color);
  align-items: center;
  padding: 0 50px;
  box-shadow: 0px 4px 10px 0px #db7863;
  z-index: 9999;
}

.logo {
  margin-right: auto;
  padding-right: 50px;
  z-index: 10000;
}

.menu-item {
  list-style: none;
  display: inline-block;
  padding-left: 20px;
  font-size: 1.25rem;
  font-weight: bold;
}

.search-form {
  display: flex;
  align-items: center;
  width: 296px;
  height: 40px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.search-form input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 12px;
  font-size: 14px;
  height: 100%;
  color: #333;
}

.search-form input[type="search"]::placeholder {
  color: #aaa;
}

.search-form .search-btn {
  width: 40px;
  height: 100%;
  border: none;
  background: #f2bc9c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-form .search-btn img {
  width: 20px;
  height: 20px;
}

#menu-btn {
  display: none;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  width: 40px;
  height: 30px;
  margin-left: auto;
  cursor: pointer;
  z-index: 1001;
}

.menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 100px;
  background: #f6f0cc;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 1280px) {
  .nav ul {
    display: block;
  }
  .menu-item {
    display: flex;
    padding: 0;
    justify-content: center;
  }
  .menu-item a {
    display: block;
    padding: 1.2rem;
    text-align: center;
    color: #fff;
  }
  .search-form {
    margin: 1rem auto;
    width: 90%;
  }
  .menu-btn {
    display: flex;
  }
  .menu-content {
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
    max-width: 420px;
    height: 100%;
    background: var(--main-color);
    transition: right 0.3s ease;
    padding-top: 100px;
    z-index: 1000;
  }
  #menu-btn:checked ~ .menu-content {
    right: 0;
  }
  #menu-btn:checked + .menu-btn span:nth-of-type(1) {
    transform: rotate(45deg) translateY(18px);
    background: #ffbf61;
  }
  #menu-btn:checked + .menu-btn span:nth-of-type(2) {
    opacity: 0;
  }
  #menu-btn:checked + .menu-btn span:nth-of-type(3) {
    transform: rotate(-45deg) translateY(-18px);
    background: #ffbf61;
  }
}

@media only screen and (max-width: 576px) {
  header {
    padding: 0 15px;
  }
}

/* ==============================
   ファーストビュー
   ============================== */

.background {
  position: relative;
  width: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.fv-copy {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  font-size: 80px;
  font-family: "New Tegomin", serif;
  font-weight: normal;
  line-height: 1.7;
}

.catchcopy {
  font-size: 2.25rem;
  color: #000;
  line-height: 2;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 768px) {
  .fv-copy {
    font-size: 70px;
  }
}

@media only screen and (max-width: 576px) {
  .lead-text {
    background-color: #f5f0d0;
    border-radius: 10px;
    padding: 20px;
  }
  .catchcopy {
    font-size: 1rem;
  }
  main {
    padding: 0 10px;
  }
  .fv-copy {
    left: 5%;
    font-size: 48px;
    line-height: 1.6;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    text-orientation: upright;
    line-height: 1;
    transform: translateY(-33%);
  }
  .line1 {
    display: block;
    transform: translateY(-33%);
  }
}

/* ==============================
   サーチエリア
   ============================== */

.search-container {
  max-width: 1280px;
  background-color: #f2bc9c;
  min-height: 1050px;
}

.h2-header {
  font-size: 3rem;
  font-family: "メイリオ", "Meiryo", "ＭＳ ゴシック",
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  font-weight: bold;
  margin-bottom: 100px;
}

.search-h2, .search-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.search-h2 .icon, .search-header .icon {
  width: 60px;
  height: 60px;
}

.search-header {
  font-size: 1.5rem;
  margin-bottom: 70px;
}

.neumorphic-search {
  display: flex;
  align-items: center;
  background: #ebebeb;
  border-radius: 63px;
  padding: 10px 30px;
  width: 710px;
  height: 127px;
  box-shadow: 10px 10px 20px #b8b8b8;
  position: relative;
  transition: all 0.3s ease-in-out;
  margin: 0 auto 100px auto;
}

.neumorphic-search button {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.neumorphic-search button img {
  width: 40px;
  height: 40px;
  opacity: 0.6;
}

.neumorphic-search input {
  border: none !important;
  outline: none !important;
  background: transparent;
  flex: 1;
  min-width: 0;
  font-size: 24px;
  color: #666;
  padding-left: 20px;
  box-shadow: none !important;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 0 auto;
}

.category-buttons .btn {
  display: inline-block;
  line-height: 70px;
  text-align: center;
  border-radius: 6px;
  font-size: 2.25rem;
  letter-spacing: -0.1rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  width: 200px;
  height: 80px;
}

.btn.jr { background: #378640; }
.btn.metro { background: #00a3d9; }
.btn.seibu { background: #2b78c6; }
.btn.tokyu { background: #e83416; }
.btn.keio { background: #c8006b; }
.btn.others { background: #06559d; }

.h2-header::after {
  content: "";
  display: block;
  width: min(600px, 80vw);
  height: 5px;
  margin: 20px auto 0;
  border-radius: 9999px;
  background: linear-gradient(
    to bottom,
    #464218 0 1px,
    #6d6726 1px 2px,
    #8c8531 2px 3px,
    #a39d59 3px 4px,
    #bdb988 4px 5px
  );
}

@media screen and (max-width: 768px) {
  .neumorphic-search {
    width: 85%;
    height: 100px;
  }
	.h2-header {
  margin-bottom: 40px;
}
}
@media only screen and (max-width: 576px) {
  .neumorphic-search {
    height: 80px;
  }
}

/* ==============================
   ニュース
   ============================== */

.card-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1210px;
  margin-inline: auto;
  padding: 0 1rem;
}

.l-wrapper {
  margin: 1rem auto;
  width: 100%;
  max-width: 350px;
  height: auto;
}

.card {
  background-color: #fff;
  color: var(--main-color);
  text-decoration: none;
  border-radius: 10px;
  height: 100%;
}

.card__header {
  display: flex;
  flex-wrap: wrap;
}

.card__title {
  padding: 26px 26px 20px 26px;
  font-size: 1.25rem;
  order: 1;
  margin-bottom: 0.6rem;
  font-weight: bold;
  margin: 0 auto;
}

.card__image {
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.card__body {
  padding: 0 26px;
}

.card__text {
  font-size: 1.125rem;
  font-weight: normal;
}

.card__text2 {
  text-align: left;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: normal;
}

.card__footer {
  padding: 26px;
}

.button {
  position: relative;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.3s ease-in-out;
  text-align: center;
}

.button a {
  text-decoration: none;
}

.button.-compact {
  padding: 0.5rem 6rem;
  border-radius: 100px;
  text-decoration: none;
  color: #8c8531;
  border: #8c8531 1px solid;
}

.arrow {
  position: absolute;
  display: inline-block;
  margin-left: 4em;
  top: 6px;
}

.arrow::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-top: 2px solid #8c8531;
  border-right: 2px solid #8c8531;
}

.arrow.-right::before {
  transform: rotate(45deg);
}

@media only screen and (min-width: 769px) and (max-width: 1280px) {
  .button.-compact {
    padding: 0.5rem 4rem;
  }
  .arrow {
    margin-left: 2em;
  }
}

@media screen and (max-width: 768px) {
  .card-inner {
    grid-template-columns: repeat(1, 1fr);
    justify-content: center;
  }
}

/* ==============================
   コラム
   ============================== */

.column-card {
  color: var(--main-color);
}

.column-card__image {
  width: 100%;
  border-radius: 10px;
}

.column-card__title {
  padding: 26px;
  font-size: 1.25rem;
  order: 1;
  margin-bottom: 0.6rem;
  font-weight: bold;
  margin: 0 auto;
}

@media screen and (max-width: 576px) {
  .column-card__title {
    padding: 16px;
    font-size: 1rem;
  }
}

/* ==============================
   フッター
   ============================== */

footer {
  background: var(--main-color);
  padding: 40px 20px;
  color: #f5e9c8;
  font-family: "メイリオ", "Meiryo", "ＭＳ ゴシック",
    "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  font-weight: bold;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
  margin-bottom: 40px;
  align-items: center;
}

.footer-nav,
.footer-center,
.footer-sns {
  width: auto;
  max-width: none;
  text-align: left;
}

.footer-nav-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-sns {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-sns a img {
  height: 32px;
  width: auto;
  display: block;
}

.search-form {
  display: flex;
  align-items: center;
  width: 296px;
  height: 40px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  margin: 20px auto 0 auto;
}

.search-form input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 12px;
  font-size: 14px;
  height: 100%;
  color: #333;
}

.search-form input[type="search"]::placeholder {
  color: #aaa;
}

.search-form .search-btn {
  width: 40px;
  height: 100%;
  border: none;
  background: #f8b392;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-form .search-btn img {
  width: 20px;
  height: 20px;
}

.terms-nav {
  justify-content: center;
  display: flex;
  color: #fff;
  font-size: 1rem;
  font-weight: normal;
  margin-top: 30px;
}

.terms-nav li {
  flex-grow: 1;
  text-align: center;
}

.terms-nav li + li {
  border-left: 1px solid #fff;
}

.footer-logo img {
  margin: 30px 0 63px 0;
}

.copyright {
  font-weight: normal;
  font-size: 0.9rem;
  color: #ddd;
  text-align: center;
  max-width: 1200px;
  width: 100%;
}

@media screen and (max-width: 1000px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .footer-logo img {
    margin: 30px 0 0 0;
  }
  .footer-nav,
  .footer-center,
  .footer-sns {
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
  .footer-sns {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .search-form {
    order: 1;
    margin: 0 0 20px 0;
  }
  .f-nav {
    order: 2;
    width: 100%;
  }
  .footer-nav {
    order: 3;
  }
  .footer-logo {
    order: 4;
  }
  .footer-sns {
    order: 5;
  }
  .copyright {
    margin-top: 20px;
    font-weight: normal;
    font-size: 0.7rem;
    color: #ddd;
  }
}
@media screen and (max-width: 576px) {
  .terms-nav {
    font-size: 0.85rem;
  }
}

/* ==============================
   利用規約
   ============================== */

.Inner-Headline {
  font-weight: bold;
  font-size: 32px;
}
@media screen and (max-width: 576px) {
  .Inner-Headline {
    font-size: 24px;
  }
}
.Inner-Text {
  letter-spacing: 0.05em;
  line-height: 1.8;
  font-size: 15px;
}
.Inner-Text.first {
  margin-top: 36px;
}
.Inner-Box {
  margin-top: 16px;
}
.Inner-Box-Headline {
  font-weight: bold;
  font-size: 28px;
}
@media screen and (max-width: 576px) {
  .Inner-Box-Headline {
    font-size: 20px;
  }
}
.Inner-Box-List {
  margin: 20px 0 0 40px;
}
.Inner-Box-List-Item {
  margin-top: 10px;
  letter-spacing: 0.05em;
  line-height: 1.8;
  list-style-type: decimal;
}
.Inner-Box-List-Item-Ol {
  margin: 20px 0 0 40px;
}
.Inner-Box-List-Item-Ol-Item {
  margin-top: 10px;
  letter-spacing: 0.05em;
  line-height: 1.8;
  list-style-type: decimal;
}
.Inner-Box-List-Item-Link {
  text-decoration: underline;
  display: inline-block;
  color: red;
}
.Inner-Box-Contact {
  margin-top: 36px;
}
.Inner-Box-Contact-Text {
  letter-spacing: 0.05em;
  line-height: 1.8;
  font-size: 15px;
}
.Inner-Box-Contact-Text:nth-child(2) {
  margin-top: 16px;
}
.Inner-Box-Item {
  letter-spacing: 0.05em;
  line-height: 1.8;
  font-size: 15px;
}
@media screen and (max-width: 576px) {
  .Inner-Box-Item {
    letter-spacing: inherit;
    font-size: 14px;
  }
}

/* ==============================
   アバウト
   ============================== */

body.page-id-26 {
  background-image: url(../img/about-firstview.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.about-text {
  text-align: left;
  font-size: 1.5rem;
  margin: 0 auto;
  max-width: 1000px;
  line-height: 1.6;
}

.aboutus-copy {
  font-size: 2rem;
  color: var(--main-color);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  margin: 36px auto;
}

/* ==============================
   サービス
   ============================== */

.service-copy {
  font-size: 2rem;
  color: #f5f0d0;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  margin-bottom: 36px;
}

.bg-maincolor {
  background-color: var(--main-color);
}

.service-text {
  color: #fff;
  margin-top: 36px;
}

/* ==============================
   カンパニー
   ============================== */

.company-table {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  color: var(--main-color);
}

.company-table tr {
  border-bottom: 1px solid #8c8531;
}

.company-table th,
.company-table td {
  padding: 24px 0;
  border: none;
}

.company-table td {
  text-align: left;
}

.company-table th {
  width: 30%;
}

@media only screen and (max-width: 576px) {
  .company-table th,
  .company-table td {
    width: 100%;
    display: block;
  }

  .company-table th {
    width: 100%;
  }

  .company-table td {
    padding-top: 0;
  }
}

/* ==============================
   パンくずリスト
   ============================== */

  .breadcrumb {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.breadcrumb li {
  display: inline;
  list-style: none;
  font-size: 14px;
}

.breadcrumb li:after {
  content: '>';
  padding: 0 0.2em;
  color: #676767;
}

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

.breadcrumb li a {
  text-decoration: none;
  color: #676767;
}

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

/* ==============================
   記事
   ============================== */

/* =========================================
   記事内の見出しデザイン (h2~h6)
   ========================================= */

   .entry-content h2 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    margin-top: 60px;
    margin-bottom: 30px;
    
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.entry-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 80px;
    height: 3px;
    background-color: #eebbcb;
}

.entry-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.4;
    
    padding-left: 15px;
    border-left: 6px solid #d45d55;
    
    margin-top: 40px;
    margin-bottom: 20px;
}

.entry-content h4 {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.4;
    
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 10px;
}

.entry-content h6 {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
    .entry-content h2 { font-size: 1.5rem; }
    .entry-content h3 { font-size: 1.3rem; }
    .entry-content h4 { font-size: 1.2rem; }
    .entry-content h5 { font-size: 1.1rem; }
}

/* =========================================
   「この記事でわかること」ボックス内のタイトル修正
   ========================================= */

/* =========================================
   目次プラグイン (Easy Table of Contents) のデザイン
   ========================================= */

#ez-toc-container {
    background-color: #ffffff;
    border: 2px solid #eebbcb;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    width: 100%;
}

.ez-toc-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #444;
    text-align: center;
    margin-bottom: 15px;
    border-bottom: 2px dashed #eebbcb;
    padding-bottom: 10px;
    display: block;
}

.ez-toc-list a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.ez-toc-list a:hover {
    color: #d45d55;
    background-color: #fff0f0;
    transform: translateX(5px);
}

.ez-toc-list li::before {
    color: #d45d55 !important;
    font-weight: bold;
}

.entry-content p {
  line-height: 1.9; 
  margin-bottom: 2em; 
  font-size: 1rem; 
}

.post-labels {
  margin: 10px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-label {
  display: inline-block;
  background: var(--main-color);
  color: #f5f0d0 !important;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 14px;
  text-decoration: none;
}


.container-column {
  max-width: 1200px;
  margin: 150px auto;
  background-color: #f5f0d0;
  border-radius: 5px;
  color: #000;
  padding: 80px 100px;
  height: auto;
}

.page-column {
  text-align: left;
}

.column-header {
  font-size: 2rem;
  padding: 20px 0 40px 0;
  line-height: 1.3;
}

.article-thumbnail {
  margin: 0 auto 2rem;
  max-width: 800px;
  width: 100%;
}

.article-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.text-column {
  font-size: 1rem;
  line-height: 1.5;
}

/* =========================================
   記事のポイントBOX（この記事でわかること）
   ※h2タグ廃止・divタグ版
   ========================================= */

.article-points {
  margin: 3em 0;
  border: 2px solid #000;
  border-radius: 2px;
  padding: 1.5em 1.5em;
  position: relative;
}

.article-points .article-points__title {
  position: absolute;
  top: -14px;
  left: 1em;
  
  background: #f5f0d0;
  
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0 10px;
  color: #333;
  margin: 0;
  display: flex;
  align-items: center;
}

.article-points .article-points__title::before {
  content: "✔";
  margin-right: 0.5em;
  color: #333;
  font-weight: normal;
}

.article-points ul {
  margin: 5px 0 0 0;
  padding-left: 1.2em;
  list-style-type: disc;
}

.article-points li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

.article-points li:last-child {
  margin-bottom: 0;
}

.article-section-header {
  font-size: 1.6rem;
  font-weight: 600;
  color: #228B22;
  border-bottom: 3px solid #228B22;
  padding-bottom: 0.3em;
  margin: 1.5em 0 0.8em;
}

.article-h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  border-left: 4px solid #228B22;
  padding-left: 0.6em;
  margin: 1.2em 0 0.6em;
}

.article-h5 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #555;
  margin: 0.8em 0 0.4em;
  padding-left: 1.2em;
  position: relative;
}

.article-h5::before {
  content: "▶";
  color: #228B22;
  position: absolute;
  left: 0;
}

.article-image {
  margin: 0 auto 2rem;
  max-width: 600px;
  width: 100%;
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.accessible-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.1rem;
}

.accessible-table th,
.accessible-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: center;
}

.accessible-table th {
  background-color: var(--main-color);
  color: #f5f0d0;
}

.accessible-table td.yes {
  background-color: #e0f7e9;
  color: #0a8747;
  font-weight: bold;
}

.accessible-table td.no {
  background-color: #fdeaea;
  color: #c62828;
  font-weight: bold;
}

.accessible-table tr:hover {
  background-color: #f9f9f9;
}

.caption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 8px;
}

/* =========================================
   スペック一覧表のデザイン（統一版）
   ========================================= */

.spec-table .col-label {
    width: 25%;
    font-weight: bold;
}

.spec-table .col-status {
    width: 15%;
    text-align: center;
    font-weight: bold;
}

.spec-table .col-note {
    width: 60%;
}

@media only screen and (max-width: 600px) {
    .spec-table .col-label { width: 30%; }
    .spec-table .col-status { width: 20%; }
    .spec-table .col-note { width: 50%; }
    
    .spec-table th, 
    .spec-table td {
        font-size: 0.85rem;
        padding: 8px 5px;
    }
}

/* =========================================
   スライドショー修正版（スマホのズレ防止・最強版）
   ========================================= */

.slider {
  position: relative;
  max-width: 600px;
  width: 100%;
  margin: 20px auto;
  overflow: hidden;
  padding: 0;
}

.slides {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.prev { left: 10px; }
.next { right: 10px; }

.indicators {
  text-align: center;
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.dot {
  height: 12px;
  width: 12px;
  background-color: #bbb;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
}
.dot.active {
  background-color: #333;
}

.text-column a:link {
 color: #0000EE;
 text-decoration: underline;
}

.text-column a:visited {
 color: #551A8B;
 text-decoration: underline;
}

.text-column a:active {
 color: #FF0000;
 text-decoration: underline;
}

.train-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.train {
  display: flex;
  gap: var(--gap);
  padding-left: calc(var(--cap-w));
  padding-right: calc(var(--cap-w));
  align-items: stretch;
  -webkit-overflow-scrolling: touch;
  background: transparent;
}

.car {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 135 / 145;
  background: var(--panel-bg);
  box-sizing: border-box;
  overflow: visible;
  z-index: 1;
  border: var(--border-w) solid var(--accent);
  height: 120px;
  width: auto;
}

.car__header {
  height: var(--header-pct);
  background: var(--label-bg);
  border-bottom: var(--border-w) solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-weight: 600;
  font-size: clamp(10px, 1.3vw, 14px);
  z-index: 6;
}
.car__header a { color: inherit; text-decoration:none; }

.car__body {
  position: relative;
  height: var(--body-pct);
  padding: 6%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}

.car__icons {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.car__icons img {
  width: 50%;
  height: auto;
  object-fit: contain;
}

.car__icons.count-2 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}

.car__icons.count-3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.car__icons.count-3 img:nth-child(1) { grid-area: 1 / 1; }
.car__icons.count-3 img:nth-child(2) { grid-area: 1 / 2; }
.car__icons.count-3 img:nth-child(3) { place-self: center; }

.car__icons.count-4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.car:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(100% + var(--gap) / 1 - (var(--coupler-w) / 2));
  top: 50%;
  width: var(--coupler-w);
  height: var(--coupler-h);
  background: var(--accent);
  transform: translateY(-50%);
  z-index: 20;
  border-radius: 0;
}

.car:first-child::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--cap-w));
  top: 0;
  width: var(--cap-w);
  height: 100%;
  background: var(--accent);
  border-top-left-radius: 9999px;

  z-index: 4;
}

.car:last-child::after {
  content: "";
  position: absolute;
  right: calc(-1 * var(--cap-w));
  top: 0;
  width: var(--cap-w);
  height: 100%;
  background: var(--accent);
  border-top-right-radius: 9999px;
  z-index: 4;
}

/* =========================================
   電車編成：進行方向矢印＆アクセシビリティ
   ========================================= */

.train-direction {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
  font-size: 0.95rem;
}
.train-direction.text-left {
  text-align: left;
}
.train-direction.text-right {
  text-align: right;
}
.dir-visual {
  background-color: #f0f0f0;
  padding: 5px 12px;
  border-radius: 4px;
  display: inline-block;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}


@media only screen and (max-width: 1200px) {
  .container-column {
    padding: 80px 30px;
  }
}

@media only screen and (max-width: 768px) {
  .container-column {
    padding: 80px 15px;
  }
  .column-header {
    font-size: 1.7rem;
  }
}

/* ==============================
   記事プロフィールカード
   ============================== */

  :root{
    --bg-cream: #F6F0D6;
    --panel-coral: #D97363;
    --accent-olive:#9AA03E;
    --card-radius:18px;
    --max-width:1200px;
    --icon-size:250px;
    --social-size:50px;
    --gutter:40px;
  }

  .profile-card {
    width: min(100%, var(--max-width));
    background: transparent;
    border-radius: var(--card-radius);
    overflow:hidden;
    display:flex;
    margin-bottom: 1em;
  }

  .left {
    width: 40%;
    min-width:320px;
    background: var(--panel-coral);
    padding: clamp(28px, 4vw, 60px);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:20px;
    position:relative;
  }

  .right {
    width: 60%;
    background: var(--bg-cream);
    padding: clamp(36px, 4.5vw, 80px);
    display:flex;
    align-items:flex-start;
    justify-content:flex-start;
    border: black 1px solid;
    border-radius: 0 18px 18px 0;
    overflow: hidden;
  }

  .logo-wrap img{
    width: var(--icon-size);
    height: var(--icon-size);
    object-fit:cover;
    border-radius:50%;
    display:block;
  }

  .org-name{
    margin-top:10px;
    text-align:center;
    color: #fff;
    font-weight:700;
    font-size:1rem;
    line-height:1.5;
    letter-spacing:0.02em;
  }
  .org-role{
    color: #fff;
    font-weight:700;
    margin-top:6px;
    font-size:1.05rem;
  }

  .socials{
    display:flex;
    gap:14px;
    margin-top:18px;
    flex-wrap:wrap;
    justify-content:center;
  }

  .socials img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
  }

  .bio {
    max-width:900px;
    color:#0f0f0f;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height:1.95;
    letter-spacing:0.02em;
  }

  .bio p{ margin:0 0 0.9em 0}
  .bio p:first-child{ font-weight:700; margin-bottom:0.6em }
  .profile-card { border-radius: 18px;}

  @media (max-width:900px){
    :root{
      --icon-size:180px;
      --social-size:42px;
      --gutter:22px;
    }
    .left{ padding:22px }
    .right{ padding:20px }
  }

  @media (max-width:640px){
    .profile-card{
      flex-direction:column;
      gap:0;
      border-radius: 12px;
      overflow:hidden;
    }
    .left, .right{
      width:100%;
    }
    :root{
      --icon-size:140px;
      --social-size:36px;
    }
    .left{
      align-items:center;
      padding:20px;
    }
    .right{
      padding:18px;
      border-radius: 0 0 18px 18px;
    }
  }

  @media (max-width:380px){
    :root{
      --icon-size:120px;
      --social-size:32px;
    }
    .bio{ font-size:14px; line-height:1.8 }
  }

  /* =========================================
   記事内のリンク（aタグ）を「リンクっぽく」する
   ========================================= */

.entry-content p a,
.entry-content li a {
    color: #0066cc;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s;
}

.entry-content p a:hover,
.entry-content li a:hover {
    color: #d45d55;
    text-decoration: none;
    cursor: pointer;
}

/* =========================================
   ⑪ 星5段階評価表（PC・スマホ対応）
   ========================================= */

.star-wrap {
  text-align: center;
  margin: 2em 0;
}

.star-table {
  width: 100%;
  margin: 0 auto;
  table-layout: fixed;
}

.star-table .col-eval-name {
  width: 40%;
  font-weight: bold;
  vertical-align: middle;
  text-align: left;
}

.star-table .col-eval-star {
  width: 60%;
  vertical-align: middle;
  text-align: left;
}

.star-flex-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.star-rating-box {
  position: relative;
  display: inline-block;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: #e0e0e0;
  line-height: 1;
}
.star-rating-box .star-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #ffb700;
}
.score-text {
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
}

.star-table tbody tr:hover,
.star-table tbody tr:hover td,
.star-table tbody tr:hover th {
  background-color: inherit !important; 
}

@media screen and (max-width: 768px) {
  .star-table .col-eval-name,
  .star-table .col-eval-star {
      display: block;
      width: 100% !important;
      box-sizing: border-box;
  }
  .star-table .col-eval-name {
      border-bottom: none;
  }
  .star-rating-box {
      font-size: 1.3rem;
  }
}

.post-meta {
  margin-bottom: 20px;
}

/* =========================================
   修正2：駅の基本データ表の内容（右側）を左揃えに
   ========================================= */
.station-basic-table tbody td.row-value {
    text-align: left;
}

/* =========================================
   ⑭ よくある質問（Q&A）のデザイン
   ========================================= */
   .faq-wrap {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
}

.faq-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid #ebdce0;
    background: transparent;
}
.faq-item:first-child {
    padding-top: 0;
}
.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 12px;
}

.faq-icon-q {
    color: #eebbcb;
    font-size: 1.4rem;
    font-family: Arial, sans-serif;
    font-weight: bold;
}
.faq-text {
    line-height: 1.5;
}

.faq-a {
    margin: 0;
    padding-left: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-a-summary {
    font-size: 1.05rem;
    color: #333;
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-left: -26px;
}

.faq-icon-a {
    color: #999;
    font-size: 1.4rem;
    font-family: Arial, sans-serif;
    font-weight: bold;
}

.faq-a-detail {
    margin: 0;
    line-height: 1.7;
    color: #444;
}

.faq-note-box {
    margin: 5px 0 0 0;
    background-color: rgba(238, 187, 203, 0.15);
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    font-size: 0.95em;
    line-height: 1.6;
    color: #444;
}
.faq-note-box strong {
    color: #333;
    margin-right: 5px;
}

@media screen and (max-width: 768px) {
    .faq-q {
        font-size: 1.05rem;
    }
    .faq-a-summary {
        font-size: 1rem;
    }
    .faq-note-box {
        padding: 12px 15px;
    }
}

/* =========================================
   記事内のブロックエディタ画像（写真）の装飾
   ========================================= */

.entry-content .wp-block-image {
  width: 100%;
  margin: 2.5em auto;
  text-align: center;
}

.entry-content .wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.entry-content .wp-block-image figcaption {
  text-align: center;
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

/* =========================================
   記事内スライドショーの大きさ調整（通常の写真と統一！）
   ========================================= */
.entry-content .slider {
  margin: 2em auto;
  width: 100%;
  max-width: 100%;
}

.entry-content .slider .slide img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.entry-content .slider .slides {
  margin: 0;
  padding: 0;
  list-style: none;
}
.entry-content .slider .slide {
  margin: 0;
  padding: 0;
}

/* =========================================
   テーブル内の記号カラー設定（△を追加！）
   ========================================= */

.accessible-table td.triangle {
  color: #f57c00;
  font-weight: bold;
}

/* =========================================
   ⑭ Q&A 補足ボックス内の複数行対応
   ========================================= */

.faq-note-line {
  margin-bottom: 8px;
}

.faq-note-line:last-child {
  margin-bottom: 0;
}

/* ==============================
   コンタクトフォーム
   ============================== */

.contact-section {
  max-width: 1100px;
  margin: 100px auto 150px auto;
  padding: 0 20px;
}

.contact-card {
  display: flex;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-left {
  width: 35%;
  min-width: 250px;
  background: var(--main-color);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.contact-title {
  color: #f5f0d0;
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin: 0;
}

.contact-icon img {
  width: 100px;
  height: auto;
}

.contact-caption {
  color: #f5f0d0;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
}

.contact-right {
  width: 65%;
  background: #f5f0d0;
  padding: 50px 60px;
}

.contact-right .wpcf7 {
  width: 100%;
}

.contact-right .wpcf7-form p {
  margin-bottom: 0;
}

.contact-right .wpcf7-form label {
  display: block;
  font-size: 1rem;
  color: #666;
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-right .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 25px;
}

.contact-right .wpcf7-form input[type="text"],
.contact-right .wpcf7-form input[type="email"],
.contact-right .wpcf7-form input[type="tel"],
.contact-right .wpcf7-form textarea {
  width: 100%;
  padding: 12px 0;
  font-size: 1rem;
  border: none;
  border-bottom: 2px solid #c9b88a;
  background: transparent;
  color: #333;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-right .wpcf7-form input[type="text"]:focus,
.contact-right .wpcf7-form input[type="email"]:focus,
.contact-right .wpcf7-form input[type="tel"]:focus,
.contact-right .wpcf7-form textarea:focus {
  border-bottom-color: var(--main-color);
}

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

.contact-right .wpcf7-form input[type="submit"] {
  display: block;
  width: 200px;
  margin: 30px auto 0 auto;
  padding: 15px 40px;
  background: var(--main-color);
  color: #f5f0d0;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-right .wpcf7-form input[type="submit"]:hover {
  background: #c4685a;
  transform: translateY(-2px);
}

.contact-right .wpcf7-not-valid-tip {
  color: #c62828;
  font-size: 0.85rem;
  margin-top: 5px;
}

.contact-right .wpcf7-response-output {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
}

@media screen and (max-width: 900px) {
  .contact-section {
    margin: 80px auto 100px auto;
  }
  
  .contact-left {
    padding: 40px 30px;
  }
  
  .contact-right {
    padding: 40px 30px;
  }
  
  .contact-title {
    font-size: 2rem;
  }
  
  .contact-icon img {
    width: 80px;
  }
}

@media screen and (max-width: 768px) {
  .contact-card {
    flex-direction: column;
  }
  
  .contact-left,
  .contact-right {
    width: 100%;
  }
  
  .contact-left {
    padding: 40px 20px;
    gap: 20px;
  }
  
  .contact-right {
    padding: 30px 20px;
  }
  
  .contact-title {
    font-size: 1.8rem;
  }
  
  .contact-icon img {
    width: 70px;
  }
  
  .contact-caption {
    font-size: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .contact-section {
    margin: 50px auto 80px auto;
  }
  
  .contact-right .wpcf7-form input[type="submit"] {
    width: 100%;
  }
}

#contact-section {
  scroll-margin-top: 120px;
}