a:visited{color:#3e7af7}

/* 担当者名を非表示*/
span.agent_name {
  font-size: 0;
}

span.agent_name::after {
  content:"ReiWorQサポート担当";
  font-size: 13px;
}

.mycontent {
background: #FFFFFF;
  z-index:0;
}

.Header__header a:link,
.Header__header a:visited {
  color:#FFF;
}

.Header__titleSearchBox {
  background: #FFF;
  color: #000;
  padding: 0;
}

.Header__logotxt,
.Header__welcomeTitle,
.Header__welcomeDescription {
  color: #000;
}

.WidgetsContainer__lftWd{
  background: #FFF;
  padding: 20px 30px;
  border-radius: 5px;
  text-align:center;
}

.welcome_message h2 {
  color: #3b82f6;
  font-size: 180%;
  margin:  0;
  padding: 0;
}

.welcome_message .description {
  font-size: 150%;
  margin-bottom: 20px;
}

.CustomWidgets__widgetTitle {
    text-align: left;
}

.CustomWidgets__widgetTitle + div div{
    text-align: left;
}

/* マストヘッド */
/* カードコンテナのラッパー */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap; /* 画面幅が狭い場合に折り返す */
    gap: 25px; /* カード間のスペース */
    justify-content: center; /* カードが折り返した際の中央揃え */
    max-width: 1200px; /* 全体の最大幅 */
    width: 100%;
}

/* 個々のカードのスタイル */
.product-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    flex: 1; /* Flexアイテムとして均等に幅を占める */
    min-width: 250px; /* カードの最小幅 */
    max-width: 380px; /* カードの最大幅 */
    box-sizing: border-box;
    overflow: hidden; /* 角丸に合わせて内容をクリップ */
    display: flex;
    flex-direction: column; /* 内容を縦に並べる */
}

/* カード上部のヘッダースタイル */
.card-header {
    padding: 25px 20px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ヘッダーのアイコン */
.card-header .icon {
    font-size: 3.5rem; /* アイコンのサイズ */
    margin-bottom: 10px;
}

/* ヘッダーのタイトル */
.card-header .title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* ヘッダーのサブタイトル */
.card-header .subtitle {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

/* カード本文のスタイル */
.card-body {
    padding: 25px 30px;
    text-align: left; /* 本文のテキストは左揃え */
    flex-grow: 1; /* 残りのスペースを埋める */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 説明とボタンを上下に配置 */
}

/* 説明文のスタイル */
.card-body .description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px; /* ボタンとの間に余白 */
}

/* ボタンのスタイル */
.card-button {
    display: flex; /* Flexboxを使用 */
    justify-content: center; /* テキストと矢印を中央に配置 */
    align-items: center; /* 垂直方向の中央揃え */
    width: 100%; /* 親要素の幅いっぱいに広がる */
    background-color: #007bff; /* デフォルトのボタン色 */
    color: #ffffff;
    padding: 12px 25px; /* 内側の余白を調整 */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap; /* テキストの折り返しを防ぐ */
    box-sizing: border-box; /* パディングを幅に含める */
}

.card-button:hover,
.card-button:visited{
    background-color: #0056b3; /* ホバー時の背景色 */
    color:#FFFFFF;
    transform: translateY(-2px);
}

/* ボタン内のアイコンのスタイル */
.card-button .fas {
    margin-left: 8px; /* テキストと矢印の間に余白を調整 */
    font-size: 0.9rem; /* 矢印のサイズを調整 */
}


/* 各カードの背景色とボタン色の設定 */
/* RoboTANGO */
.product-card.robotango .card-header {
    background-color: #ef4444; /* 赤系 */
}
.product-card.robotango .card-button {
    background-color: #007bff; /* 青系 */
}
/* JENKA */
.product-card.jenka .card-header {
    background-color: #10b981; /* 緑系 */
}
.product-card.jenka .card-button {
    background-color: #007bff; /* 青系 */
}
/* DXsuite */
.product-card.dxsuite .card-header {
    background-color: #1a1a1a; /* 黒系 */
}
.product-card.dxsuite .card-button {
    background-color: #007bff; /* 青系 */
}

/* RECERQA Scan */
.product-card.recerqascan .card-header {
    background-color: #1a1a1a; /* 黒系 */
}
.product-card.recerqascan .card-button {
    background-color: #007bff; /* 青系 */
}

/* サポート担当用のログインを非表示 */
.Signin__agentlogin {
display:none;
}

/* プロフィールで非常時 */
#field_phone,
#field_mobile{
display:none;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
    .cards-wrapper {
        flex-direction: column; /* 縦並びにする */
        align-items: center; /* 中央揃え */
    }
    .product-card {
        max-width: 450px; /* 縦並びになった時の最大幅 */
        width: 100%; /* 親要素の幅いっぱいに */
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px 10px;
    }
    .product-card {
        min-width: unset; /* 最小幅をリセット */
    }
    .card-header .icon {
        font-size: 3rem;
    }
    .card-header .title {
        font-size: 1.6rem;
    }
    .card-body {
        padding: 20px;
    }
    .card-body .description {
        font-size: 0.9rem;
    }
    .card-button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    .card-button .fas {
        margin-left: 8px; /* 矢印とテキストの間に余白 */
        font-size: 0.8rem; /* 矢印のサイズを調整 */
    }
}
