body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #fff;
  color: #333;
  margin: 0;
  padding: 0;
}

.trouble-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 30px;  
}

.trouble-section h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #FFFFFF;  
}

.trouble-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: #FFFFFF;  /*f9f9fb*/
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  border-bottom: 2px dotted #163f59;
  color: #163f59;
  margin-bottom: 10px;
}

.card p {
  font-size: 1.45rem;
  line-height: 1.6;
  color: #555;
}

/* ==== Categories Section ==== */
.categories-section{
  margin: 0 auto;
  margin-top: 55px; 
}

.categories-section h2 {
  text-align: center;
  font-size: 3.0rem;
  font-weight: 800;
  margin: 0 auto 36px;
  color: #163f59;　
}

/* ==== CatseStudy Section ==== */
.casestudy-section{
  margin: 0 auto;
  margin-top: 35px; 
}

.casestudy-section h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 auto 36px;
  color: #163f59;　
}

/* ==== Reasons Section ==== */
.reasons-section {
  padding: 30px 20px;
}

.reasons-section h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 auto 36px;
  color: #163f59;　
}

.reasons-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); /* 2列中心、狭い時は1列 */
  gap: 22px;
}

.reason-card {
  background: #fff;
  border: 1px solid #e6ecf2;   /* 薄い枠線 */
  border-radius: 14px;
  padding: 24px 26px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04); /* 控えめな影 */
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease;
}

.reason-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
}

.reason-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
  justify-content: left;
  gap: 8px; /* ← アイコンと文字の間隔 */
}

.reason-card p {
  font-size: 1.25rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

/* モバイル微調整 */
@media (max-width: 420px) {
  .reasons-grid { grid-template-columns: 1fr; }
  .reason-card { padding: 20px; }
}

/* ==== Services Section ==== */
.services-section {
/* background: #f5f8fc;              /* 前セクションと統一感のある淡色背景 */
  padding: 30px 20px;
}

.services-section h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 auto 36px;
  color: #163f59;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); /* デスクトップで2列、狭い場合は1列 */
  gap: 22px;
}

.service-card {
  background: #fff;
  border: 2px solid #163f59;   /*e6ecf2*/
  border-radius: 14px;
  padding: 22px 26px 26px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .04);
  transition: transform .18s ease, box-shadow .18s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 24, 40, .08);
}

/* ロゴを上部に余白を持って配置 */
.card-header {
  margin-bottom: 10px;
}

.logo {
  height: 40px;                     /* 差し替えやすい基準高さ */
  width: auto;
  object-fit: contain;
  display: block;
}

/* ブランドによって高さを微調整したい場合 */
/* .logo-zaika { height: 54px; }       /* 例：ZAIKAだけ少し大きめ */

.service-name {
  margin: 6px 0 10px;
  font-size: 1.56rem;
  font-weight: 700;
  color: #163f59;
}

.service-desc {
  margin: 0;
  font-size: 1.16rem;
  color: #475569;
  line-height: 1.8;
}

.services-section .card-header {
  border-bottom: 2px dotted #163f59;  /* 点線を追加 */
  padding-bottom: 12px;               /* 線とロゴの間の余白 */
  margin-bottom: 16px;                /* 線の下の余白（本文との距離） */
  text-align: center;                 /* ロゴを中央に */
}

/* モバイル最適化 */
@media (max-width: 460px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 18px; }
  .logo { height: 36px; }
}

/* ==== セクション見出しのアンダーバー ==== */
section h2 {
  position: relative;
  display: inline-block;     /* 中央下線を作るため */  
  padding-bottom: 10px;
  text-align: center;       /* ← これを追加！ */
  left: 50%;
  transform: translateX(-50%);
}

section h2::after {
  content: "";
  position: absolute; 
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;              /* アンダーバーの長さ */
  height: 2px;              /* 太さ */
  background-color: #18b2c1; /* 水色（画像に近い色） */
  border-radius: 2px;
}

/* ==== 問い合わせ&資料請求ボタン ==== */

.cta-section {
  text-align: center;      /* 全体を中央寄せ */
  margin: 10px 0;          /* 上下の余白（必要に応じて調整） */
}

.cta-buttons {
  display: inline-flex;    /* 横並び */
  gap: 40px;               /* ボタンの間隔 */
  flex-wrap: wrap;         /* スマホで折り返し */
  justify-content: center;
}

.cta-buttons img {
  height: 48px;            /* ボタン画像の高さ（画像に合わせて調整） */
  width: auto;
  display: block;
}

.cta-section-top {
  text-align: center;      /* 全体を中央寄せ */
  margin: 30px 0;          /* 上下の余白（必要に応じて調整） */
}

/* ==== ヘッダー ==== */
.p-header a {
  color: #163f59;
  font-weight: 600;
}

/* ==== 導入事例ボタン ==== */
.c-btn--min-half a {
  border-radius: 24px;
  background-color: #163f59;  
}

/* ==== デフォルトカラーの変更 ==== */

.c-heading--bdr-btm{
  border-bottom: 2px dashed #163f59;
}

/* 
.p-article-has-number__circle{
  background: #163f59;
}

.p-article-has-number__ribbon{
  background: #163f59;
}


.c-border{
  border:3px solid #163f59;
}
*/