/* ===============================
   Base / Reset
   =============================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "Segoe UI", Roboto, sans-serif;
  color: #222;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body {
  padding-top: 81px;
}

a {
  color: #0a2a4a;
  text-decoration: none;
}

a:hover {
  color: #0077cc;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===============================
   Layout utilities
   =============================== */
.container {
  padding: 40px 0;
}

.card {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(10, 42, 74, 0.03);
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.meta {
  color: #6b7b8b;
  font-size: 13px;
}

.section-block {
  padding: 60px 0;
}

.bg-section {
  background: #f7f9fb;
  padding: 60px 0 70px;
}

.bg-section>.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===============================
   About page non-hero sections
   =============================== */
.about-page main>section:not(.hero) {
  padding: 60px 0 70px;
}

.about-page main>section:not(.hero) h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #0a2a4a;
  line-height: 1.6;
  margin-bottom: 35px;
}

.about-page .profile-container,
.about-page .policy-container,
.about-page .access-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .about-page main>section:not(.hero) {
    padding: 60px 0;
  }

  .about-page main>section:not(.hero) h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }
}

/* ===============================
   Home (index) non-hero sections
   =============================== */
.home-page main>section:not(.hero) {
  background: #f7f9fb;
  padding: 60px 0 70px;
}

.home-page main>section:not(.hero)>.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.home-page main>section:not(.hero) h2,
.home-page .advice-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #0a2a4a;
  line-height: 1.6;
  margin-bottom: 35px;
}

@media (max-width: 768px) {
  .home-page main>section:not(.hero) {
    padding: 60px 0;
  }

  .home-page main>section:not(.hero) h2,
  .home-page .advice-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }
}

/* ===============================
   Header / Navigation
   =============================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 4px solid #0a2a4a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  z-index: 9999;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 65px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: #1a2e44;
  font-weight: 600;
  font-size: 0.95rem;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
  }

  .main-nav a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    color: #0a2a4a;
  }

  .menu-toggle.open svg path:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    transition: transform 0.3s ease;
  }

  .menu-toggle.open svg path:nth-child(2) {
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .menu-toggle.open svg path:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    transition: transform 0.3s ease;
  }

  .logo img {
    height: 55px;
  }
}

/* ===============================
   Hero (shared styles + variants)
   =============================== */
.hero,
.hero-about,
.hero-service {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-position: center center;
  background-size: cover;
  filter: brightness(1.1) contrast(1.05);
  overflow: hidden;
}

/* 背景クロスフェード用レイヤー */
.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  transition: opacity 1s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-bg.active {
  opacity: 1;
}

.hero {
  height: 70vh;
  background: url("../images/hero.jpg") center/cover no-repeat;
}

.hero-about {
  height: 55vh;
  background: url("../images/hero-about.png") center/cover no-repeat;
}

.hero-service {
  height: 50vh;
  background: url("../images/hero-service.png") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 25, 60, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
  white-space: pre-line;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-content h1 {
  margin-bottom: 28px;
  font-size: 2.3rem;
  line-height: 1.5;
  color: #f5f7fa;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

.hero-content p {
  margin-bottom: 32px;
  font-size: 1.1rem;
  color: #f5f7fa;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.9s;
}

.hero-btn {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 1.5s;
  background: #f7b500;
  color: #f5f7fa;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 6px;
  display: inline-block;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.hero-btn:hover {
  background: #ffcf3f;
  transform: translateY(-2px);
}

.hero-about h1 {
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.hero-about p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-service h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.hero-service p {
  font-size: 1.1rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-fixed-height {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero.section-fixed-height,
.hero-about.section-fixed-height,
.hero-service.section-fixed-height {
  height: 600px !important;
  min-height: 600px !important;
}

@media (max-width: 768px) {
  .hero {
    height: 55vh;
  }

  .hero-about {
    height: 45vh;
  }

  .hero-service {
    height: 45vh;
  }

  .hero-content h1 {
    font-size: 1.8rem !important;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-fixed-height {
    min-height: auto;
    padding: 60px 0;
  }

  .hero.section-fixed-height,
  .hero-about.section-fixed-height,
  .hero-service.section-fixed-height {
    height: auto !important;
    min-height: 420px !important;
  }
}

/* ===============================
   Buttons / Forms
   =============================== */
form {
  margin-top: 20px;
}

.form-row {
  margin-bottom: 16px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 15px;
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button,
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  background: #0a2a4a;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover,
.btn:hover {
  background: #0077cc;
}

.btn.secondary {
  background: #f7f7f7;
  color: #0a2a4a;
  border: 1px solid #d5dce5;
}

/* ===============================
   Profile (About) Section
   =============================== */
.profile-section {
  background: url("../images/about-bg.png") center/cover no-repeat;
  padding: 80px 0;
  color: #0a2a4a;
}

.profile-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.profile-container>h2 {
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.profile-text {
  flex: 1;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
  line-height: 1.7;
}

.profile-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  border-left: 5px solid #0a2a4a;
  padding-left: 10px;
}

.profile-text ul {
  list-style: none;
  font-size: 1.1rem;
  line-height: 1.9;
}

.profile-text ul li {
  margin-bottom: 12px;
}

.profile-text strong {
  color: #0a2a4a;
}

.affiliation {
  margin-top: 20px;
  font-weight: 600;
  color: #0a2a4a;
  line-height: 1.8;
}

.profile-note {
  margin-top: 15px;
  background: rgba(250, 250, 250, 0.8);
  padding: 15px 20px;
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.9;
}

.profile-image {
  flex: 1;
  text-align: center;
}

.profile-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .profile-container {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .profile-text {
    text-align: center;
  }

  .profile-text h2 {
    border-left: none;
    border-bottom: 3px solid #0a2a4a;
    padding-bottom: 8px;
    display: inline-block;
  }
}

/* ===============================
   Policy Section
   =============================== */
.policy-section {
  background: linear-gradient(180deg, #f9fbfd 0%, #ffffff 100%);
  padding: 80px 0;
  color: #0a2a4a;
}

.policy-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

.policy-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #0a2a4a;
  margin: 10px auto 0;
  border-radius: 2px;
}

.policy-section ul {
  list-style: none;
  line-height: 1.9;
  font-size: 1.1rem;
}

.policy-section strong {
  color: #0a2a4a;
  font-weight: 700;
  margin-right: 5px;
}

.policy-section.bg-office {
  position: relative;
  background: url("../images/policy-bg.png") center/cover no-repeat;
  padding: 80px 0;
  color: #0a2a4a;
}

.policy-section.bg-office::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(1px);
}

.policy-section.bg-office .policy-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.policy-section.bg-office h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: #0a2a4a;
  letter-spacing: 2px;
  margin-bottom: 40px;
  display: inline-block;
  padding: 12px 0;
}

.policy-card {
  background: #ffffff;
  border: 1px solid #e6e9ee;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  margin: 0 auto;
  max-width: 1100px;
  width: 100%;
}

.policy-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  text-align: left;
}

.policy-card li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  text-align: left;
}

.policy-card li strong {
  white-space: nowrap;
  min-width: 6em;
}

.policy-section.bg-office h2::after {
  content: none !important;
}

@media (max-width: 768px) {
  .policy-section {
    padding: 60px 0;
  }

  .policy-section h2 {
    font-size: 1.6rem;
  }

  .policy-section li {
    font-size: 1rem;
  }

  .policy-section.bg-office {
    padding: 60px 0;
    background-position: center top;
  }

  .policy-section.bg-office li {
    font-size: 1rem;
  }
}

/* ===============================
   Access Section
   =============================== */
.access-section {
  background-color: #f7f9fb;
  padding: 60px 0;
}

.access-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.access-map iframe {
  width: 500px;
  max-width: 100%;
  height: 450px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.access-info {
  flex: 1;
  min-width: 280px;
}

.access-info h2 {
  font-size: 2rem;
  color: #0a2a4a;
  margin-bottom: 20px;
}

.access-info p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .access-container {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .access-map iframe {
    width: 100%;
    height: 300px;
  }
}

/* ===============================
   Trouble / Advice / Home About
   =============================== */
.trouble-section,
.advice-section,
.home-about-section {
  background: #f7f9fb;
  padding: 60px 0 70px;
}

.trouble-section>.wrap>h2,
.advice-title,
.home-about-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #0a2a4a;
  line-height: 1.6;
  margin-bottom: 35px;
}

.trouble-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.trouble-text {
  flex: 2;
}

.trouble-card {
  background: #ffffff;
  border: 1px solid #e6e9ee;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  padding: 28px;
}

.trouble-text ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.trouble-text ul li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 8px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.trouble-text ul li::before {
  content: "□";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: #777;
  font-size: 1rem;
}

.trouble-note {
  margin-top: 16px;
  font-weight: 700;
  color: #a12626;
  font-size: 1.02rem;
}

.trouble-badge {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.trouble-badge-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: #27a64a;
  color: #f5f7fa !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border: 4px solid #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
  transform: scale(1.2);
  transform-origin: center center;
  margin-top: 25px;
}

.trouble-badge-circle p {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.7;
}

.advice-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 50px;
}

.advice-columns {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.advice-left,
.advice-right {
  flex: 1;
  background: #ffffff;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  line-height: 1.8;
  font-size: 0.97rem;
}

.advice-left h3,
.advice-right h3 {
  font-size: 1.2rem;
  font-weight: 800;
  padding-left: 10px;
  border-left: 6px solid #0a2a4a;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #0a2a4a;
}

.advice-left p,
.advice-right p {
  margin-bottom: 20px;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.9;
}

.advice-left p:last-child,
.advice-right p:last-child {
  margin-bottom: 0;
}

.advice-left p .lead,
.advice-right p .lead {
  font-weight: 700;
  font-size: 1.15rem;
  color: #5a3b10;
  line-height: 1.8;
  display: inline-block;
}

.home-about-section .card {
  max-width: 100% !important;
  width: 100%;
  text-align: center;
  padding: 30px 20px;
  border: 1px solid #dfe5eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.home-about-section .card p {
  font-size: 0.98rem;
  line-height: 1.9;
  text-align: left !important;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .trouble-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .trouble-badge {
    order: -1;
    margin-bottom: 20px;
  }

  .trouble-badge-circle {
    width: 220px;
    height: 220px;
  }

  .trouble-section>.wrap>h2,
  .advice-title,
  .home-about-section h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .advice-columns {
    flex-direction: column;
  }
}

/* ===============================
   Service Summary
   =============================== */
.service-summary-section {
  background: #f7f9fb;
  padding: 60px 0 70px;
}

.service-summary-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-summary-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #0a2a4a;
  margin-bottom: 40px;
  line-height: 1.6;
}

.service-summary-section .service-box {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0 0 28px;
  margin-bottom: 28px;
  box-shadow: none;
}

.service-summary-section .service-box h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0a2a4a;
  border-left: 6px solid #0a2a4a;
  padding-left: 12px;
  margin-bottom: 15px;
}

.service-summary-section .service-box ul {
  margin-left: 0;
  padding-left: 1.2rem;
  line-height: 1.8;
  font-size: 0.98rem;
}

@media (max-width: 768px) {
  .service-summary-section h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .service-summary-section .service-box {
    padding: 0 0 22px;
  }

  .service-summary-section .service-box h3 {
    font-size: 1.1rem;
  }
}

/* ===============================
   Flow (ご依頼から業務開始まで)
   =============================== */
.flow-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.flow-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #0a2a4a;
}

.flow-steps {
  --flow-gap: 18px;
  display: flex;
  justify-content: space-between;
  gap: var(--flow-gap);
  flex-wrap: wrap;
}

.flow-step-box {
  position: relative;
  flex: 1;
  min-width: 220px;
  background: linear-gradient(135deg, #f7a842 0%, #f08c2a 60%, #e67620 100%);
  border-radius: 12px;
  padding: 18px 18px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #fff;
  overflow: visible;
  opacity: 0;
  transform: translateY(20px);
  animation: flowFadeUp 0.8s ease forwards;
}

.flow-step-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.flow-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: #e67620;
  font-weight: 800;
  margin-right: 8px;
  font-size: 0.95rem;
}

.flow-step-box h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
}

.flow-step-box p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #fffbe9;
  margin-top: 6px;
}

.flow-step-box::after {
  content: "▶";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(0, -50%);
  width: var(--flow-gap);
  text-align: center;
  font-size: 18px;
  color: #c85a08;
  pointer-events: none;
}

.flow-step-box:last-child::after {
  content: "";
}

.flow-caption {
  margin-top: 35px;
  background: #ffffff;
  border-radius: 10px;
  padding: 18px 20px 18px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #e4e4e4;
}

.flow-caption-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.flow-caption-header p {
  font-weight: 700;
  color: #444;
  font-size: 0.98rem;
}

.yayoi-logo img {
  max-height: 30px;
  width: auto;
  display: block;
}

.flow-caption ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.flow-caption ul li {
  margin-bottom: 4px;
  padding-left: 1.1em;
  text-indent: -1.1em;
}

.flow-caption ul li::before {
  content: "・";
  color: #0a2a4a;
}

@keyframes flowFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flow-step-box:nth-child(1) {
  animation-delay: 0.1s;
}

.flow-step-box:nth-child(2) {
  animation-delay: 0.25s;
}

.flow-step-box:nth-child(3) {
  animation-delay: 0.4s;
}

.flow-step-box:nth-child(4) {
  animation-delay: 0.55s;
}

@media (max-width: 768px) {
  .flow-steps {
    flex-direction: column;
  }

  .flow-step-box {
    padding-right: 18px;
  }

  .flow-step-box::after {
    left: 50%;
    top: auto;
    bottom: calc(var(--flow-gap) / -2);
    transform: translate(-50%, 50%) rotate(90deg);
  }

  .flow-step-box:last-child::after {
    content: "";
  }

  .flow-caption-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===============================
   Service Card (一覧)
   =============================== */
.service-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.service-card h2 {
  font-size: 1.5rem;
  color: #0a2a4a;
  border-left: 5px solid #0a2a4a;
  padding-left: 10px;
  margin-top: 30px;
  margin-bottom: 15px;
}

.service-card ul {
  margin-left: 0;
  padding-left: 1.2rem;
  line-height: 1.8;
}

/* ===============================
   Footer
   =============================== */
.site-footer {
  background: #a4c0c9;
  color: #333;
  padding: 20px 0 !important;
  min-height: 80px !important;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
