@charset "utf-8";
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #ffffff; /* 背景色を白に設定 */
}

.container {
    text-align: center;
    padding: 20px;
}

h1 {
	font-family: 'Futura', sans-serif; /* Futuraフォントを適用 */
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

h2 {
	font-family: 'Noto Sans JP', sans-serif; /* Noto Sans JPフォントを適用 */
	 /* 細字（Light）に設定 */
	font-size: 1.2rem;
	margin-top: 0;
	margin-bottom: 2rem;
	line-height: 0.2;
	font-weight: normal;
}

.links {
    display: flex;
    justify-content: space-between; /* リンクボタンが等間隔になるように調整 */
    gap: 60px;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap; /* 小さな画面でリンクが折り返されるのを防ぐ */
    margin-top: 5rem;
}

.link-item {
    text-align: center;
    flex: 1; /* 各リンクアイテムが等しい幅を持つように設定 */
    min-width: 100px; /* 各リンクアイテムの最小幅を設定 */
}

.link-item img {
    width: 100px; /* アイコンの大きさを調整 */
    height: 100px;
    display: block;
    margin: 0 auto;
    object-fit: contain; /* アイコン画像がボックスに収まるように調整 */
}

.link-item p {
    margin-top: 0.5rem;
    font-size: 1rem;
}

/* 768px以下の画面幅用のスタイル */
@media only screen and (max-width: 768px) {
	h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 2rem;
    line-height: 1.2;
    font-weight: normal;
}
    .links {
        justify-content: center; /* 中央に配置 */
        gap: 20px; /* 縦方向の間隔を調整 */
    }

    .link-item {
        max-width: 150px; /* 小さな画面での幅を調整 */
    }

    .link-item img {
        width: 70px; /* モバイル画面ではアイコンを少し大きく */
        height: 70px;
    }
}
