/* ヘッダー部分 */
.header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #f5f7f9;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
  width: 100%;
  max-width: none;
  margin: 40px 0 10px 20px;
  /* 上40px, 左20pxに余白 */
  font-size: 14px;
  color: #666;
  text-align: left;
  padding-left: 0;
  /* paddingをなくす */
}

.hero-request {
  background-image: url("image/topimage_client.png");
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  padding: 0 40px;
}

.hero-text-area {
  max-width: 800px;
  padding: 40px 50px 92px 225px;
  border-radius: 12px;
}

.hero-text-area h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 25px;
  letter-spacing: 0.08em;
}

.sub-copy {
  text-align: center;
}

.sub-copy p {
  font-size: 29px;
  line-height: 1.6;
  margin: 0;
}

.sub-copy .highlight {
  color: #ffea00;
  font-weight: bold;
  font-size: 29px;
}

.tags-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 25px;
  margin-top: 30px;
}

.tags-grid span {
  background: #fff;
  color: #007bff;
  font-weight: bold;
  padding: 12px 0;
  border-radius: 999px;
  text-align: center;
  font-size: 22px;
}



body {
  margin: 0px;
}

.logo {
  margin: 0 0 0 125px;
  width: 300px;
  height: 60px;
}

.menu-area {
  display: flex;
  gap: 10px;
  margin-left: auto;
  /* これで右に寄せる */
}

.menu {
  border: 1px solid #005bac;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 20px;
  font-weight: bold;
  user-select: none;
  color: #000;
  pointer-events: none;
  /* クリック禁止 */
  background: #fff;
}

/* 電話番号部分 */
.contact {
  margin: 0 20px 0 20px;
  text-align: center;
  padding: 10px 0 0 0;
}

.phone {
  font-size: 23px;
  font-weight: bold;
  color: #000;
  /* 黒に変更 */
  display: block;
  text-decoration: none;
}

.time {
  font-size: 9px;
  color: #333;
}

.login-btn,
.logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border: 2px solid #005bac;
  color: #005bac;
  font-weight: bold;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
  background: #fff;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 0 #003b7a;
}

/* ホバー時の共通効果 */
.login-btn:hover,
.logout-btn:hover {
  background-color: #005bac;
  color: #fff;
  box-shadow: 0 2px 0 #003b7a;
}

.login-btn:hover .login-icon {
  content: url("image/login_hover.png");
  /* 白色アイコンに切り替え */
}

.logout-btn:hover .logout-icon {
  content: url("image/logout_hover.png");
  /* 白色アイコンに切り替え */
}

.login-icon,
.logout-icon {
  width: 16px;
  height: 16px;
}

/* トップ画像を中央揃え */
.topimage {
  display: block;
  margin: 30px auto;
  /* 上下30px、左右中央 */
  max-width: 90%;
  /* レスポンシブ対応 */
  height: auto;
}

/* トップテキスト */
/* 全体の中央揃え */
.text-section {
  text-align: center;
  margin: 40px 20px;
}

/* 上段のオレンジテキスト */
.text-section .main-text {
  color: #f08100;
  /* オレンジ色 */
  font-size: 24px;
  font-weight: bold;
  line-height: 1.6;
}

/* 下段の青背景＋白文字 */
.text-section .sub-text {

  display: inline-block;
  padding: 15px 20px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 18px;
}

/* 下向き三角形 */
.down-arrow {
  width: 0;
  height: 0;
  margin: 10px auto 10px auto;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 25px solid #f08c2f;
  /* オレンジ色 */
  position: relative;
}

/* 影の調整 */
.down-arrow::after {
  content: "";
  position: absolute;
  top: -19px;
  /* 影のズレを微調整 */
  left: -40px;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 25px solid #a0522d;
  /* ブラウンの影 */
  z-index: -1;
}

/* お見積りボタンを中央揃え */
.estimate-btn {
  display: block;
  width: fit-content;
  margin: 10px auto 40px auto;
  /* 三角形との間隔を確保 */
  padding: 12px 100px;
  background-color: #f08c2f;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  text-align: center;
  transition: background-color 0.3s;
}

/* ホバー時の色変化 */
.estimate-btn:hover {
  background-color: #d96e00;
}

.estimate-btn:hover {
  background-color: #d96e00;
  /* ホバー時に濃いオレンジ */
}

/* 理由セクション */
.reasons {
  text-align: center;
  padding: 50px 20px;
  background-color: #f5f8fa;
}

.reasons h2 {
  font-size: 24px;
  margin-bottom: 30px;
  position: relative;
}

.reasons h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #005bac;
  margin: 10px auto 0;
  border-radius: 2px;
}

.reason-cards {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
}

.reason-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 300px;
  text-align: center;
  margin: 0 15px;
  /* 左右に15pxのスペース */
}

.reason-title {
  background: #1f5fae;
  color: #fff;
  font-size: 14px;
  padding: 4px 12px;
  display: inline-block;
  border-radius: 3px;
  font-weight: bold;
  margin-bottom: 10px;
}

.reason-card h3 {
  font-size: 20px;
  margin: 0 0 16px;
  color: #222;
  font-weight: bold;
}


.reason-card img {
  display: block;
  margin: 0 auto 20px;
  width: 180px;
}

.separator {
  display: block;
  margin: 0 auto 12px;
  width: 300px !important;
}

.reason-card p {
  font-size: 14px;
  color: #333;
  line-height: 1.7;
}

/* お悩みセクション */
.trouble-section {
  text-align: center;
  padding: 50px 20px;
}

.trouble-section .highlight {
  color: #f08c2f;
}

.trouble-section h2 {
  font-size: 40px;
  margin-bottom: 30px;
  position: relative;
}

.trouble-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #f08c2f;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* リストボックス */
.trouble-list {
  background: #fff4eb;
  border: 2px solid #f08c2f;
  border-radius: 10px;
  padding: 30px 40px;
  list-style: none;
  max-width: 800px;
  margin: 0px auto 0 auto;
}

.trouble-list li {
  font-size: 23px;
  text-align: left;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  border-bottom: 1px dotted #f08c2f;
}

.trouble-list li:last-child {
  border-bottom: none;
}

.trouble-list li::before {
  content: "✔";
  color: #f08c2f;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* お悩みセクション用の下三角 */
.trouble-down-arrow {
  width: 0;
  height: 0;
  margin: 10px auto 10px auto;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 25px solid #f08c2f;
  /* オレンジ三角 */
  position: relative;
}

.trouble-down-arrow::after {
  content: "";
  position: absolute;
  top: -19px;
  left: -40px;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 25px solid #a0522d;
  /* 影の色 */
  z-index: -1;
}

/* アンサーBOX */

.answer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}


/* 画像サイズ調整 */
.lightbulb-icon {
  width: 30px;
  height: auto;
  margin: 0;
  /* 下マージンをリセット */
}

.answer-box {
  margin: 0px auto 0 auto;
  background: #f8fbff;
  border: 2px solid #4a90e2;
  padding: 20px;
  border-radius: 5px;
  max-width: 900px;
  text-align: center;
}

.lightbulb-icon {
  width: 40px;
  margin-bottom: 10px;
}

.answer-box p {
  font-size: 24px;
  margin: 5px 0;
}

.answer-box .note {
  font-size: 24px;
  color: #d9534f;
}


/* 相見積もりセクション全体 */
.comparison-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #fff;
}

/* タイトル */
.comparison-title {
  color: #f08100;
  font-size: 30px;
  font-weight: bold;
}

.comparison-subtitle {
  color: #4a90e2;
  font-size: 20px;
}

/* 理由リスト */
.comparison-reason-list {
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.comparison-reason-item {
  margin-bottom: 20px;
}

.comparison-reason-title {
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 5px;
}

/* 下向き矢印 */
.comparison-arrow-down {
  font-size: 37px;
  color: #f08100;
  margin: 20px 0;
}

/* 専門業者が見つかる */
.comparison-find-specialist {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 25px;
}

/* 通常時のボタン */
.comparison-consult-btn {
  display: inline-block;
  background-color: #f08c2f;
  color: #fff;
  padding: 15px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
  border: 2px solid transparent;
  /* 枠線を初期化 */
  transition: all 0.3s;
}

/* 小さい説明テキスト */
.comparison-small-text {
  font-size: 12px;
}

/* ホバー時のデザイン変更 */
.comparison-consult-btn:hover {
  background-color: #fff;
  /* 背景を白に */
  color: #f08c2f;
  /* 文字をオレンジに */
  border: 2px solid #f08c2f;
  /* オレンジの枠線 */
  box-shadow: none;
  /* 影を消す */
}


/* 30秒で完了 */
.comparison-quick-consult {
  margin-top: 10px;
  font-size: 20px;
  font-weight: bold;
}

/* 電話番号 */
.comparison-phone-number {
  font-size: 28px;
  color: #005bac;
  font-weight: bold;
  margin: 10px 0;
}

.comparison-phone-time {
  color: #005bac;
  font-size: 14px;
}

/* 最後の注意書き */
.comparison-note {
  font-weight: bold;
  margin-top: 20px;
  font-size: 20px;
}

/* コンテンツメニュー全体 */
.content-menu {
  display: flex;
  justify-content: center;
  background: #fdf8f3;
  padding: 20px 0;
  gap: 20px;
  flex-wrap: wrap;
}

/* 各リンクの基本 */
.content-item {
  text-decoration: none;
  color: #333;
  text-align: center;
  width: 120px;
}

/* 四角のボタン風ボックス */
.content-box {
  border: 2px solid #f08c2f;
  border-radius: 10px;
  padding: 15px 10px;
  background: #fff;
  transition: box-shadow 0.3s, transform 0.3s;
}

/* ホバー時に立体感 */
.content-box:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

/* アイコン画像 */
.content-box img {
  width: 50px;
  height: 50px;
  background-color: #f08c2f;
  border-radius: 50%;
  padding: 8px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

/* メニュー文字 */
.content-box p {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
}

/* 下向き三角 */
.arrow-down {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #f08c2f;
  margin: 8px auto 0;
}

/* サービスセクション全体 */
.service-section {
  padding: 50px 20px;
  background: #fff;
  text-align: center;
}

/* セクションヘッダー */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #005bac;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-header img {
  width: 40px;
  height: auto;
}

.section-header h2 {
  font-size: 24px;
  color: #333;
}

/* 説明文 */
.service-intro {
  font-size: 18px;
  color: #585858;
  margin-bottom: 40px;
}

/* サービスポイント全体 */
.service-point {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  max-width: 850px;
  margin: 40px auto;
  padding: 20px;
  flex-wrap: wrap;
  /* スマホ対応 */
}

/* 左側テキストエリア */
.point-left {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

/* 番号デザイン */
.point-number {
  background: #005bac;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* タイトル */
.point-left h3 {
  font-size: 18px;
  margin: 0px;
  color: #333;
}

/* 説明文 */
.point-left p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* 右側画像エリア */
.point-right {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.point-right img {
  max-width: 93%;
  height: auto;
  border-radius: 5px;
}

.note {
  font-size: 12px;
  color: #d9534f;
}

/* サマリーボックス */
.service-summary {
  background: #fde5d2;
  color: #333;
  padding: 20px;
  margin-top: 40px;
  border-radius: 5px;
  font-size: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 良い業者の探し方セクション */
.good-company-section {
  padding: 50px 20px;
  text-align: center;
}

.good-company-section h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.good-company-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #005bac;
  margin: 10px auto 0;
  border-radius: 2px;
}

.good-company-section .subtitle {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.good-company-section .intro {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* 各ポイント */
.good-point {
  margin-bottom: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.good-point h3 {
  font-size: 20px;
  color: #333;
  border-bottom: 2px solid #005bac;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.good-point h3 span {
  font-weight: bold;
}

.good-list {
  list-style: none;
  padding: 0;
}

.good-list li {
  display: flex;
  align-items: center;
  background: #f0f4f8;
  /* 薄い青背景 */
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 3px;
  font-size: 16px;
  color: #333;
}

.good-list li span {
  display: inline-block;
  color: #005bac;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 3px;
  margin-right: 10px;
  min-width: 30px;
  text-align: center;
  font-size: 29px;
}

/* 注意書き */
.good-point .note {
  font-size: 14px;
  color: #d9534f;
  margin-top: 10px;
  line-height: 1.6;
  text-align: center;
}

/* サマリー */
.good-summary {
  background: #fde5d2;
  padding: 20px;
  border-radius: 5px;
  font-size: 16px;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 見積もりサイトの使い方セクション */
.howto-section {
  padding: 50px 20px;
  text-align: center;
  background: #fff;
}

.howto-subtitle {
  font-size: 18px;
  color: #333;
  margin-bottom: 5px;
}

.howto-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.howto-title::after,
.usefulinformation::after,
.membercompanies::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #005bac;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* フローボックス全体 */
.howto-flow {
  max-width: 800px;
  margin: 30px auto 0 auto;
  text-align: left;
}

/* 各ステップ */
.howto-step {
  display: flex;
  align-items: center;
  background: #f0f4f8;
  margin-bottom: 15px;
}

/* 番号デザイン */
.step-number {
  background: #005bac;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  width: 40px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
}

/* コンテンツ部分 */
.step-content h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #005bac;
}

.step-content p {
  font-size: 17px;
  color: #333;
}

/* フッター全体 */
.site-footer {
  background-color: #2364a8;
  color: #fff;
  font-size: 14px;
}

/* 上部3カラム */
.footer-top {
  display: flex;
  justify-content: space-around;
  padding: 30px 20px;
  flex-wrap: wrap;
}

.footer-column {
  min-width: 200px;
}

.footer-column h4 {
  font-size: 14px;
  margin-bottom: 10px;
  border-bottom: 1px dotted #fff;
  padding-bottom: 5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

/* WIKIボタン */
.wiki-button {
  display: inline-block;
  background: #fff;
  color: #2364a8;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
}

/* 下部 */
.footer-bottom {
  background: #fff;
  color: #333;
  text-align: center;
  padding: 15px 10px;
  position: relative;
}

.footer-logo {
  width: 250px;
  margin-bottom: 10px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.footer-links li a {
  color: #333;
  text-decoration: none;
  font-size: 13px;
}

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

.footer-copy {
  font-size: 12px;
  margin-bottom: 10px;
}

/* トップに戻るボタン */
.back-to-top {
  position: absolute;
  right: 20px;
  top: 15px;
  border: 1px solid #333;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

.user-menu-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin: 0 125px 0 0;
}

.user-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.user-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 30px;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 100;
  min-width: 160px;
  border-radius: 6px;
  font-size: 14px;
}

.user-dropdown a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

.user-dropdown a:last-child {
  border-bottom: none;
}

.user-dropdown a:hover {
  background-color: #f5f5f5;
}

.user-menu-wrapper:hover .user-dropdown {
  display: block;
}

.dropdown-icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
  margin: 30px auto;
  gap: 20px;
}

.partner-item {
  flex: 0 1 calc(50% - 20px);
  /* 2列用 */
  background-color: #f9f9f9;
  padding: 12px 20px;
  font-size: 18px;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

/* スマホ対応 */
.mobile-menu {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background: #f5f7f9;
  width: 100%;
  height: 100vh;
  padding: 30px;
  box-sizing: border-box;
  text-align: center;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  display: block;
  transform: translateX(0);
}

.mobile-menu .consult-btn {
  background: #e67e22;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 30px;
  margin: 10px 0;
  display: inline-block;
  text-decoration: none;
}

.mobile-menu .login-link {
  background: #005bac;
  border: 2px solid #005bac;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
}

.hamburger-wrapper {
  right: 20px;
  top: 20px;
  z-index: 1001;
}

.hamburger,
.hamburger-close {
  display: none;
}

.hamburger,
.hamburger-close {
  position: absolute;
  right: 20px;
  top: 16px;
  z-index: 1001;
}

/* お役立ち情報セクション */
#useful-info {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.usefulinformation {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.usefulinformation::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #005bac;
  margin: 10px auto 0;
  border-radius: 2px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.article-card {
  background: #fff;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.card-image {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
}


.card-title {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: 0;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tocolumns,
.tocompanylist {
  display: block;
  width: fit-content;
  background-color: #005bac;
  color: #fff;
  padding: 15px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
  margin: 15px auto 15px auto;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.tocolumns:hover,
.tocompanylist:hover {
  background-color: #fff;
  color: #005bac;
  border: solid 2px #005bac;
  box-shadow: none
}

/* 最近の案件セクション */
.recent-projects-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 20px;
  margin: 40px 0;
}

.recent-projects-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.recent-projects-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.company-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.recent-projects-list {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.project-item {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  font-size: 16px;
}

.project-item:last-child {
  border-bottom: none;
}

.project-area {
  font-weight: bold;
  min-width: 80px;
}

.project-type {
  font-weight: bold;
  min-width: 60px;
}

.project-status {
  font-weight: bold;
  min-width: 80px;
  color: #003b7a;
}

/* 「…」のスタイル */
.more-indicator {
  border-bottom: none !important;
  justify-content: center !important;
}

.more-text {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  text-align: center;
}

/* スマホ用CSS */
@media (max-width: 768px) {
  .recent-projects-section {
    padding: 10px 15px;
    margin: 30px 0;
  }

  .recent-projects-title {
    font-size: 22px;
    flex-direction: column;
    gap: 10px;
  }

  .company-logo {
    height: 30px;
  }

  .recent-projects-list {
    padding: 15px;
    margin: 0 10px;
  }

  .project-area,
  .project-type,
  .project-status,
  .project-date {
    min-width: auto;
  }

  .project-date {
    text-align: left;
  }

  /* モバイル用「…」のスタイル */
  .more-indicator {
    padding: 10px 0 !important;
  }

  .more-text {
    font-size: 20px;
  }
}



@media (max-width: 767px) {
  body {
    font-family: "Helvetica Neue", "Helvetica", "Arial", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Meiryo", sans-serif;
  }

  .header {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .hamburger {
    display: block;
  }

  .hamburger.open {
    display: none;
  }

  .hamburger-close {
    display: none;
  }

  .hamburger-close.open {
    display: block;
  }

  .menu-area,
  .contact,
  .user-menu-wrapper,
  .login-btn {
    display: none;
  }

  /* モバイルメニュー内のナビゲーションリスト */
  .mobile-nav {
    list-style: none;
    /* 黒ポチ消す */
    padding: 0;
    margin: 20px 0;
    text-align: center;
  }

  .mobile-nav li {
    margin: 15px 0;
  }

  .mobile-nav li a {
    text-decoration: none;
    color: #005bac;
    /* ブランドカラーに合わせる */
    font-size: 18px;
    font-weight: bold;
    transition: color 0.2s;
  }

  .mobile-nav li a:hover {
    color: #e67e22;
    /* ホバー時にアクセント色 */
  }

  .breadcrumb {
    width: auto;
  }

  .hero-request {
    background-image: url("image/topimage_client_mobile.png");
    padding: 0;
  }

  .hero-text-area h1 {
    font-size: 40px;
    margin: 32px 0 14px 74px;
  }

  .sub-copy p {
    font-size: 20px;
  }

  .sub-copy .highlight {
    font-size: 20px;
  }

  .tags-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 10px;
    margin: 28px 10px 130px 167px;
  }

  .tags-grid span {

    padding: 6px 0;
    font-size: 14px;
  }

  .logo {
    margin: 0;
    width: 200px;
    height: 40px;
  }

  .mobile-logo {
    margin: 0;
    width: 200px;
    height: 40px;
  }

  .hero-text-area {
    padding: 0;
  }

  .hamburger_icon {
    height: 33px;
  }

  .close-icon {
    height: 40px;
  }

  .lead-text {
    font-weight: bold;
    margin: 20px 0 0 0;
    font-size: 13px;
  }

  .phone-number {

    font-size: 28px;
    font-weight: bold;
    color: #005bac;
    margin: 30px 0 0 0;
  }

  .support-time {
    margin: 0;
    color: #005bac;
  }

  .text-section .main-text {
    font-size: 22px;
  }

  .text-section .sub-text {
    padding: 0px 20px;
  }

  .estimate-btn {
    padding: 12px 40px;
  }

  .reasons h2 {
    font-size: 20px;
    margin-bottom: 0px;
  }

  .reason-cards {
    display: block;
    padding: 40px 0px;
  }

  .reason-card {
    padding: 20px;
    width: 295px;
    text-align: center;
    margin: 0 auto 18px auto;
  }

  .trouble-section h2 {
    font-size: 21px;
  }

  .trouble-list li,
  .answer-box p,
  .answer-box .note,
  .comparison-subtitle {
    font-size: 16px;
  }

  .comparison-title {
    font-size: 22px;
  }

  .comparison-reason-list {
    text-align: center;
  }

  .comparison-reason-title {
    font-size: 18px;
  }

  .comparison-reason-title p {
    font-size: 15px;
  }

  .comparison-arrow-down {
    font-size: 25px;
  }

  .comparison-consult-btn {
    padding: 12px 17px;
  }

  .comparison-note {
    font-size: 16px;
  }

  .content-item {
    width: 60px;
  }

  .content-box {
    padding: 0px;
    height: 132px;
  }

  .content-menu {
    gap: 10px
  }

  .content-box img {
    width: 40px;
    height: 40px;
    margin: 10px 0 0 0;
  }

  .content-box p {
    font-size: 12px;
  }

  .service-intro {
    margin: 0;
  }

  .service-point {
    margin: 0;
  }

  .service-summary {

    font-size: 18px;
  }

  .good-point h3 {
    font-size: 18px;
  }

  .howto-section {
    padding: 0px 20px;
  }

  .step-number {
    width: 70px;
  }

  .step-content h3 {
    margin: 0;
  }

  .step-content p {
    font-size: 15px;
    margin: 10px 0 0 0;
  }

  .footer-column {
    width: 300px;
  }

  .partner-grid {
    display: block;
  }

  .partner-item {
    margin: 0 0 10px 0;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }
}