/* =========================================================
   山﨑タクシー プライバシーポリシーページ
   トップの yamazaki-taxi.css（変数・ヘッダー・フッター・見出し）を再利用。
   本文の意味は変えず、レイアウトと装飾のみ。
   ========================================================= */

body.yt-wp-privacy #sidebar,
body.yt-wp-privacy .sidebar,
body.yt-wp-privacy .breadcrumb,
body.yt-wp-privacy .article-header .entry-title,
body.yt-wp-privacy .eye-catch,
body.yt-wp-privacy #header,
body.yt-wp-privacy .header,
body.yt-wp-privacy .navi,
body.yt-wp-privacy .mobile-menu-buttons,
body.yt-wp-privacy #footer,
body.yt-wp-privacy #toc,
body.yt-wp-privacy .toc {
  display: none !important;
}

body.yt-wp-privacy #main,
body.yt-wp-privacy .main,
body.yt-wp-privacy .content,
body.yt-wp-privacy .article,
body.yt-wp-privacy .entry-content,
body.yt-wp-privacy #container,
body.yt-wp-privacy .container,
body.yt-wp-privacy #content,
body.yt-wp-privacy .content-in,
body.yt-wp-privacy .wrap {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body.yt-wp-privacy {
  background: #f7f7f5;
}

.ytpp-page {
  overflow-x: hidden;
  max-width: 100%;
  color: var(--yt-text-dark, #1a2332);
  background: #f7f7f5;
  font-family: var(--yt-sans);
  line-height: 1.7;
}

.ytpp-page a {
  color: inherit;
}

/* ---------- Hero ---------- */
.ytpp-hero {
  position: relative;
  min-height: 220px;
  color: #fff;
  background: var(--yt-navy, #0b1220);
  overflow: hidden;
}

.ytpp-hero-bg,
.ytpp-hero-overlay,
.ytpp-hero-inner,
.ytpp-breadcrumb {
  position: relative;
  z-index: 1;
}

.ytpp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ytpp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 48%;
  display: block;
}

.ytpp-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.78) 0%, rgba(5, 8, 15, 0.42) 42%, rgba(5, 8, 15, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.12) 0%, rgba(5, 8, 15, 0.28) 100%);
  pointer-events: none;
}

.ytpp-hero-inner {
  z-index: 2;
  width: min(100% - 40px, var(--yt-max, 1180px));
  margin: 0 auto;
  padding: 56px 0 28px;
}

.ytpp-hero .yt-eyebrow {
  margin: 0 0 10px;
  color: var(--yt-gold-text, #e8d5a3);
}

.ytpp-hero-kicker {
  margin: 0;
  max-width: 14em;
  font-family: var(--yt-serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.ytpp-breadcrumb {
  z-index: 2;
  width: min(100% - 40px, var(--yt-max, 1180px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.ytpp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.ytpp-breadcrumb li:not(:last-child)::after {
  content: ">";
  margin-left: 10px;
  color: var(--yt-gold, #c9a962);
}

.ytpp-breadcrumb a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ytpp-breadcrumb a:hover,
.ytpp-breadcrumb a:focus {
  color: var(--yt-gold-text, #e8d5a3);
}

/* ---------- Body title (common yt-heading) ---------- */
.ytpp-body {
  background: #fff;
  padding: 40px 0 72px;
}

.ytpp-container {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
}

.ytpp-page-title {
  margin: 0 0 36px;
}

.ytpp-page-title h1 {
  font-family: var(--yt-serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--yt-navy, #0b1220);
}

.ytpp-page-title h1::before,
.ytpp-page-title h1::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--yt-gold, #c9a962);
  display: inline-block;
}

/* ---------- Prose from WP content ---------- */
.ytpp-prose {
  color: var(--yt-text-dark, #1a2332);
  font-size: 16px;
  line-height: 1.95;
}

.ytpp-prose > p:first-child {
  margin-top: 0;
}

.ytpp-prose p {
  margin: 0 0 1.15em;
}

.ytpp-prose a {
  color: var(--yt-navy, #0b1220);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ytpp-prose a:hover,
.ytpp-prose a:focus {
  color: var(--yt-gold-dark, #9a7a3c);
}

.ytpp-prose h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 2.1em 0 0.9em;
  padding: 12px 16px;
  background: var(--yt-navy, #0b1220);
  color: #fff;
  font-family: var(--yt-serif);
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.ytpp-prose h2::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--yt-gold, #c9a962), rgba(201, 169, 98, 0));
  min-width: 24px;
}

.ytpp-prose h3 {
  margin: 1.5em 0 0.7em;
  padding-left: 12px;
  border-left: 3px solid var(--yt-gold, #c9a962);
  color: var(--yt-navy, #0b1220);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.ytpp-prose ul,
.ytpp-prose ol {
  margin: 0 0 1.2em;
  padding: 0 0 0 1.2em;
}

.ytpp-prose li {
  margin: 0 0 0.45em;
  padding-left: 0.2em;
  break-inside: avoid;
}

.ytpp-prose ul li::marker {
  color: var(--yt-gold-dark, #9a7a3c);
}

.ytpp-prose ol li::marker {
  color: var(--yt-navy, #0b1220);
  font-weight: 700;
}

/* ---------- Info table ---------- */
.ytpp-table-wrap {
  margin: 0 0 1.4em;
  overflow: visible;
}

.ytpp-info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e4e0d8;
}

.ytpp-info-table th,
.ytpp-info-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e4e0d8;
  font-size: 15px;
  line-height: 1.7;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.ytpp-info-table tr:last-child th,
.ytpp-info-table tr:last-child td {
  border-bottom: none;
}

.ytpp-info-table th {
  width: 34%;
  font-weight: 700;
  color: var(--yt-navy, #0b1220);
  background: #f7f1e4;
  border-right: 1px solid #e4e0d8;
}

.ytpp-info-table td {
  background: #fff;
}

.ytpp-info-table a {
  display: inline-block;
  min-height: 44px;
  padding: 8px 0;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .ytpp-hero {
    min-height: 280px;
  }

  .ytpp-hero-inner {
    padding: 72px 0 36px;
  }

  .ytpp-prose > ul,
  .ytpp-prose > ol {
    columns: 2;
    column-gap: 28px;
  }
}

@media (min-width: 1024px) {
  .ytpp-hero {
    min-height: 340px;
  }

  .ytpp-hero-bg img {
    object-position: 40% 46%;
  }

  .ytpp-hero-inner {
    padding: 88px 0 40px;
  }

  .ytpp-info-table th {
    width: 220px;
    white-space: nowrap;
  }
}

@media (max-width: 899px) {
  .ytpp-hero {
    min-height: 200px;
  }

  .ytpp-hero-bg img {
    object-position: 44% 50%;
  }

  .ytpp-hero-inner {
    padding: 36px 0 18px;
  }

  .ytpp-hero-kicker {
    max-width: none;
  }

  .ytpp-page-title {
    text-align: center;
  }

  .ytpp-page-title h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .ytpp-page-title h1::before {
    display: none;
  }

  .ytpp-page-title h1::after {
    width: 72px;
  }

  .ytpp-prose h2 {
    display: block;
  }

  .ytpp-prose h2::after {
    display: block;
    width: 100%;
    margin-top: 8px;
  }

  .ytpp-info-table,
  .ytpp-info-table tbody,
  .ytpp-info-table tr,
  .ytpp-info-table th,
  .ytpp-info-table td {
    display: block;
    width: 100%;
  }

  .ytpp-info-table th {
    border-right: none;
    border-bottom: none;
    padding-bottom: 4px;
  }

  .ytpp-info-table td {
    padding-top: 0;
  }

  .ytpp-info-table tr {
    border-bottom: 1px solid #e4e0d8;
  }

  .ytpp-info-table tr:last-child {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .ytpp-hero {
    min-height: 180px;
  }

  .ytpp-hero-bg img {
    object-position: 42% 52%;
  }

  .ytpp-container {
    width: min(100% - 28px, 1080px);
  }

  .ytpp-prose {
    font-size: 15px;
  }
}
