 /* メイン */
        main {
            padding: 20px;
            max-width: 800px;
            margin: 20px auto 80px;
            background-color: white;
            box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
        }

        h1 {
            font-size: 2rem;
            padding-bottom: 10px;
            border-bottom: 3px solid #87cefa;
            margin-bottom: 10px;
            color: #1D2088;
        }

        .intro-text {
            font-size: 1rem;
            color: #444;
            margin-top: 0;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        /* 全体リンク */
        .company-link {
            text-decoration: none;
            color: inherit;
            display: block;
            transition: transform 0.3s, box-shadow 0.3s;
        }

            .company-link:hover .company {
                transform: translateY(-5px);
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            }

        /* カード全体 (高さ固定) */
        .company {
            display: flex;
            flex-direction: row;
            gap: 20px;
            background-color: white;
            border: 2px solid #87cefa;
            border-radius: 8px;
            padding: 16px;
            margin: 40px 0;
            box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            box-sizing: border-box;
            min-height: 230px;
            height: auto;
        }

        /* 左：写真部分 */
        .company-images {
            flex: 1.5;
            max-width: 50%;
            min-width: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .company-images img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                border-radius: 4px;
                display: block;
            }

        /* 右：ロゴ＋テキスト */
        .company-info {
            flex: 2;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .company-logo img {
            max-width: 200px;
            height: auto;
            object-fit: contain;
            display: block;
            margin-bottom: 0px;
        }

        .company-description {
            font-size: 1rem;
            color: #555;
            line-height: 1.5;
        }

        .copyright {
            margin-left: auto;
        }

        /* スマホ画面用 */
@media (max-width: 768px) {
  .company-info {
    flex: 1;                /* 幅を取りすぎないように調整 */
    flex-direction: column; /* 縦並びにする */
    align-items: center;    /* 中央寄せ */
    text-align: center;     /* テキストも中央寄せ */
  }

  .company-logo img {
    max-width: 120px; /* ロゴを小さめに */
    margin-bottom: 10px;
  }

  .company-description {
    font-size: 0.9rem; /* 少し小さめにして収まりよく */
    line-height: 1.4;
  }

  .copyright {
    margin-left: 0;   /* 自動右寄せを解除 */
    margin-top: 10px; /* 下に余白をつける */
  }
}