/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Apr 27 2026 | 12:26:02 */
/* =========================================
   ■ ご依頼の流れページ 全体設定
========================================= */
.nagata-flow-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  color: #333;
  font-size: 1.25rem; /* ベースを1.25remに */
  line-height: 1.8;
  letter-spacing: 0.05em;
}

/* --- 導入部（タイトルとリード文） --- */
.nagata-flow-intro {
  text-align: center;
  margin-bottom: 60px;
}
.flow-main-title {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #3a3a3a !important;
  margin-bottom: 30px !important;
  position: relative;
  padding-bottom: 20px !important;
  border: none !important;
  background: none !important;
}
.flow-main-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: #b28b3f; 
}
.flow-lead {
  font-size: 1.25rem;
  color: #555;
  margin-top: 20px;
}

/* =========================================
   ■ 上部：サマリー（連続する矢印デザイン）
========================================= */
.nagata-flow-summary {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  margin-bottom: 80px;
  gap: 1px;
}

/* 矢印ブロックの共通デザイン */
.summary-step {
  flex: 1; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 25px 10px;
  color: #fff;
  background-color: #a07830; 
  clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%);
}

.summary-step:nth-child(even) {
  background-color: #c9a84c; 
}

.summary-step:first-child {
  clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
  padding-left: 20px;
}

/* ★追加：フロー図がリンクになった際のデザイン調整 */
a.summary-step {
  text-decoration: none !important;
  color: #fff !important;
  transition: opacity 0.3s ease;
}
a.summary-step:hover {
  opacity: 0.85; /* マウスを乗せると少し明るくなる */
}

/* 中のテキストデザイン */
.summary-num {
  font-size: 1.5rem; 
  font-weight: bold;
  margin-bottom: 5px;
  letter-spacing: 0.1em;
  /* ★明朝体（サイト全体と同じ）に統一 */
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
}
.summary-text {
  font-size: 1.25rem; 
  font-weight: bold;
  line-height: 1.4;
}

/* =========================================
   ■ 下部：詳細説明ブロック
========================================= */
.nagata-flow-details {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* 横線を消し、▼を配置するための余白を設定 */
.flow-detail-item {
  position: relative;
  border-bottom: none !important; /* 横線を削除 */
  padding-bottom: 50px; /* ▼を配置するスペース */
  scroll-margin-top: 120px; /* ★追加：リンクで飛んだ時にヘッダーに隠れないようにする */
}
.flow-detail-item:last-child {
  padding-bottom: 0;
}

/* 下向き三角 ▼ のみ（最後のステップ以外に表示） */
.flow-detail-item:not(:last-child)::after {
  content: "▼";
  position: absolute;
  bottom: 15px; /* 余白の中央付近に配置 */
  left: 50%;
  transform: translateX(-50%);
  color: #8c602e; /* ブラウン */
  font-size: 24px; 
  line-height: 1;
}

.flow-detail-head {
  display: flex !important;
  align-items: center !important; 
  margin-bottom: 30px !important;
}

.detail-step-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #c9a84c, #a07830) !important; 
  color: #fff !important;
  font-size: 14px !important;
  font-weight: bold !important;
  /* ★こちらも明朝体に統一 */
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
  padding: 6px 16px !important;
  border-radius: 20px !important;
  /* 上下のマージンを強制リセットしてズレを防ぐ */
  margin: 0 20px 0 0 !important; 
  letter-spacing: 0.1em !important;
  line-height: 1 !important; 
  height: fit-content !important;
}

.detail-title {
  font-size: 24px !important;
  font-weight: bold !important;
  color: #3a3a3a !important;
  /* ★テーマが勝手につける余白と行間を完全にゼロ化 */
  margin: 0 !important;
  padding: 0 !important; 
  border: none !important;
  background: none !important;
  line-height: 1 !important; 
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
}
.detail-title::before,
.detail-title::after {
  display: none !important;
}

.flow-detail-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}
.detail-text {
  flex: 1; 
}
.detail-text p {
  font-size: 1.25rem; 
  margin-bottom: 1.5em;
  text-align: justify;
}
.detail-text p:last-child {
  margin-bottom: 0;
}
.detail-img {
  width: 35%; 
  flex-shrink: 0;
}
.detail-img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* =========================================
   ■ スマートフォン対応（768px以下）
========================================= */
@media screen and (max-width: 768px) {
  .flow-main-title {
    font-size: 22px !important;
  }
  .flow-lead {
    font-size: 1rem;
    text-align: left;
  }
  
  .nagata-flow-summary {
    flex-direction: column;
    gap: 1px; 
  }
  
  .summary-step {
    width: 100%;
    padding: 30px 10px;
    clip-path: polygon(0% 0%, 50% 15%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
  }
  
  .summary-step:first-child {
    clip-path: polygon(0% 0%, 100% 0%, 100% 85%, 50% 100%, 0% 85%);
    padding-top: 20px;
  }
  
  .summary-num {
    font-size: 15px; 
  }
  .summary-text {
    font-size: 18px; 
  }

  .flow-detail-head {
    /* ★スマホ時はバッジが上、文字が下に並ぶように調整 */
    flex-direction: column;
    align-items: flex-start !important;
    gap: 15px;
  }
  .detail-title {
    font-size: 20px !important;
  }
  .flow-detail-body {
    flex-direction: column-reverse; 
    gap: 20px;
  }
  .detail-img {
    width: 100%;
  }
  .detail-text p {
    font-size: 1rem; 
  }
}
