/* ===== リセット ===== */
.subpage-layout, .subpage-layout * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.subpage-layout {
  font-family: 'Open Sans', 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fff;
  min-height: 100vh;
}

/* ===== ナビバー共通 ===== */
.tsuruta-navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
}

body.admin-bar .tsuruta-navbar {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .tsuruta-navbar {
    top: 46px;
  }
}

.navbar-inner {
  display: flex;
  align-items: center;
  padding: 0 32px;
  height: 72px;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.navbar-logo {
  flex-shrink: 0;
}

.navbar-logo img {
  width: 80px;
  height: auto;
  display: block;
}

.navbar-menu {
  display: flex;
  list-style: none;
  flex: 1;
  min-width: 0;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.navbar-menu::-webkit-scrollbar { display: none; }

.navbar-menu li {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
}

.navbar-menu li + li::before {
  content: '';
  display: block;
  width: 1px;
  height: 14px;
  background: #ccc;
  flex-shrink: 0;
}

.navbar-menu li a {
  display: block;
  padding: 8px clamp(6px, 0.6vw, 11px);
  font-size: clamp(13px, 0.82vw, 15px);
  color: #444;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
  color: #f05020;
}

.navbar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.navbar-tel,
.navbar-mail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 2px solid #f05020;
  border-radius: 6px;
  color: #f05020;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.navbar-tel:hover,
.navbar-mail:hover {
  background: #f05020;
  color: #fff;
}

/* ===== ホームページ：デスクトップでナビロゴを非表示 ===== */
@media (min-width: 901px) {
  .tsuruta-main .navbar-logo {
    display: none;
  }
}

@media (max-width: 1280px) and (min-width: 1181px) {
  .navbar-inner {
    padding: 0 24px;
    gap: 12px;
  }

  .navbar-logo img {
    width: 70px;
  }

  .navbar-menu li a {
    padding: 8px 7px;
    font-size: 13px;
  }
}

/* ===== ハンバーガーボタン ===== */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: 2px solid #f05020;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  color: #f05020;
  transition: background 0.2s, color 0.2s;
}

.navbar-hamburger:hover {
  background: #f05020;
}

.navbar-hamburger:hover span {
  background: #fff;
}

.navbar-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #f05020;
  border-radius: 2px;
  transition: all 0.25s;
}

.navbar-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.navbar-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== ドロワーメニュー ===== */
.navbar-drawer {
  display: none;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 199;
}

.navbar-drawer.open {
  display: block;
}

.navbar-drawer-menu {
  list-style: none;
  padding: 8px 0 16px;
}

.navbar-drawer-menu li a {
  display: block;
  padding: 14px 24px;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: background 0.2s, color 0.2s;
}

.navbar-drawer-menu li a:hover,
.navbar-drawer-menu li a.active {
  color: #f05020;
  background: #fff8f7;
}

/* ===== モバイル：ナビロゴ非表示（モバイルヘッダーがある） ===== */
@media (max-width: 900px) {
  .navbar-inner {
    justify-content: center;
    padding: 0 16px;
    height: 52px;
  }
}

@media (max-width: 1180px) {
  .navbar-logo { display: none; }
  .navbar-inner { justify-content: center; }
  .navbar-menu { display: none; }
  .navbar-hamburger { display: flex; }
  .navbar-actions { margin-left: 0; }
}

/* ===== サブページ共通レイアウト ===== */
.sub-hero {
  padding: 64px 0 56px;
  border-bottom: 1px solid #eee;
}

.sub-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 64px;
}

.sub-hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.sub-hero-label {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #aaa;
  margin-bottom: 16px;
}

.sub-hero-badge {
  display: inline-block;
  background: #f05020;
  color: #fff;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.sub-hero-title {
  font-family: 'Lato', 'Noto Sans JP', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.sub-hero-desc {
  font-size: 15px;
  line-height: 2;
  color: #555;
}

.sub-hero-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ===== CTA バー ===== */
.sub-cta-bar {
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.sub-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: stretch;
}

.sub-cta-divider {
  background: #ddd;
  margin: 16px 0;
}

.sub-cta-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 32px;
  text-decoration: none;
  color: #333;
  transition: background 0.2s;
}

.sub-cta-item:hover { background: #f0f0f0; }

.sub-cta-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f05020;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.sub-cta-label {
  font-size: 13px;
  color: #888;
  margin-bottom: 2px;
}

.sub-cta-value {
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.sub-cta-arrow {
  margin-left: auto;
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 14px;
}

/* ===== アコーディオン・セクション ===== */
details.sub-section {
  border-bottom: 1px solid #f0f0f0;
}

details.sub-section > summary {
  list-style: none;
  cursor: pointer;
  padding: 36px 0 28px;
  position: relative;
  user-select: none;
}

details.sub-section > summary::-webkit-details-marker { display: none; }

details.sub-section > summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 44px;
  font-size: 26px;
  font-weight: 300;
  color: #bbb;
  line-height: 1;
  transition: opacity 0.2s;
}

details[open].sub-section > summary::after {
  content: '−';
}

details.sub-section > summary .sub-section-title {
  margin-bottom: 0;
}

.sub-section-content {
  padding-bottom: 52px;
}

.sub-section-label {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #aaa;
  margin-bottom: 8px;
}

.sub-section-title {
  font-family: 'Lato', 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #222;
}

.sub-section-desc {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 32px;
}

.sub-section-note {
  font-size: 14px;
  color: #666;
  line-height: 1.9;
  margin-top: 24px;
}

.alert-notice {
  background: #fff8f7;
  border-left: 3px solid #f05020;
  padding: 16px 24px;
  font-size: 14px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 8px;
}

/* ===== アイコンリスト（全リスト共通） ===== */
.icon-list {
  list-style: none;
  border-top: 1px solid #eee;
  max-width: 760px;
}

.icon-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  row-gap: 5px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  color: #333;
  line-height: 1.75;
}

.icon-badge {
  grid-column: 1;
  grid-row: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f05020;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  align-self: start;
  margin-top: 1px;
}

.icon-list li strong {
  grid-column: 2;
  grid-row: 1;
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

.icon-list li .icon-desc {
  grid-column: 2;
  grid-row: 2;
  font-size: 14px;
  font-weight: 400;
  color: #666;
  line-height: 1.75;
}

/* ===== 手続きの流れ ===== */
.flow-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
  padding-bottom: 32px;
}

.flow-item:last-child { padding-bottom: 0; }

.flow-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: #eee;
}

.flow-step {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f05020;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.flow-content-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 14px;
  color: #222;
}

.flow-content-desc {
  font-size: 14px;
  line-height: 1.85;
  color: #666;
}

/* ===== 必要書類（icon-listを流用） ===== */
.doc-list {
  list-style: none;
  border-top: 1px solid #eee;
  max-width: 760px;
}
.doc-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}
.doc-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f05020;
  flex-shrink: 0;
}

/* ===== 費用 ===== */
.fee-desc {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 40px;
}

.fee-list {
  list-style: none;
  border-top: 1px solid #eee;
}

.fee-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 8px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.fee-list-icon {
  width: 40px;
  height: 40px;
  background: #f05020;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  background: #fafafa;
}

.faq-q-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f05020;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-a {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.9;
  color: #555;
}

.faq-a-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== フッターCTA ===== */
.sub-footer-cta {
  background: #f8f8f8;
  padding: 80px 0;
  text-align: center;
}

.sub-footer-cta .sub-section-title {
  margin-bottom: 12px;
}

.sub-footer-cta p {
  font-size: 15px;
  color: #666;
  margin-bottom: 32px;
}

.sub-footer-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f05020;
  color: #fff;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.btn-tel:hover { opacity: 0.85; }

.btn-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #333;
  color: #333;
  padding: 14px 32px;
  font-size: 15px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.btn-mail:hover { background: #333; color: #fff; }

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .sub-inner { padding: 0 24px; }
  .sub-hero { padding: 40px 0 36px; }
  .sub-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .sub-hero-title { font-size: 24px; }
  .sub-cta-inner { grid-template-columns: 1fr; }
  .sub-cta-divider { display: none; }
  .icon-list { max-width: 100%; }
  .doc-list { max-width: 100%; }
  details.sub-section > summary { padding: 24px 0 20px; }
  .sub-section { padding: 52px 0; }
}

/* ===== プライバシーポリシー ===== */
.privacy-body {
  padding: 60px 0 80px;
}
.privacy-intro {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 40px;
}
.privacy-section {
  margin-bottom: 40px;
}
.privacy-section h2 {
  font-size: 17px;
  font-weight: 600;
  color: #333;
  border-left: 3px solid #f05020;
  padding-left: 12px;
  margin-bottom: 14px;
}
.privacy-section p,
.privacy-section ul {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}
.privacy-section ul {
  padding-left: 1.4em;
  margin-top: 8px;
}
.privacy-section ul li { margin-bottom: 4px; }
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}
.privacy-table th,
.privacy-table td {
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: top;
}
.privacy-table th {
  background: #f5f5f5;
  font-weight: 600;
  color: #333;
  width: 140px;
  white-space: nowrap;
}
.privacy-section a { color: #f05020; }
.privacy-date {
  font-size: 13px;
  color: #999;
  margin-top: 40px;
}
@media (max-width: 640px) {
  .privacy-table th { width: auto; }
}

/* ===== コンタクトフォーム（サブページ） ===== */
.subpage-layout .section-contact {
  padding: 64px 0 80px;
  background: #f9f7f4;
}
.subpage-layout .contact-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.subpage-layout .contact-heading { margin-bottom: 14px; }
.subpage-layout .contact-lead    { margin-bottom: 28px; }
.subpage-layout .contact-method-row  { margin-bottom: 20px; }
.subpage-layout .contact-method-box  { padding: 12px 18px; }
.subpage-layout .contact-tel-label   { margin-bottom: 4px; }
.subpage-layout .contact-tel-number  { margin-bottom: 4px; }
.subpage-layout .contact-divider     { margin: 0 0 20px; }
.subpage-layout .contact-mail-title  { margin-bottom: 4px; }
.subpage-layout .contact-form        { margin-top: 16px; }
.subpage-layout .form-group          { margin-bottom: 14px; }
.subpage-layout .form-group label    { margin-bottom: 6px; }
.subpage-layout .form-check          { margin-top: 8px; }
.subpage-layout .form-submit         { margin-top: 20px; margin-bottom: 20px; }

/* ===== フッター（サブページ） ===== */
.subpage-layout .tsuruta-footer { padding: 56px 0 28px; }
.subpage-layout .footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}
.subpage-layout .footer-top  { margin-bottom: 40px; }
.subpage-layout .footer-name { margin-bottom: 8px; }
.subpage-layout .footer-copy { padding-top: 20px; }

@media (max-width: 640px) {
  .subpage-layout .section-contact { padding: 60px 0; }
  .subpage-layout .footer-top {
    flex-direction: column;
    gap: 28px;
  }
  .subpage-layout .footer-nav { justify-content: flex-start; }
}

