@charset "UTF-8";
/* CSS Document *//* リセット */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden; /* 横スクロール防止 */
    font-family: sans-serif;
}

/* ヒーローセクション */
.hero {
    width: 100%;
    max-width: 1440px;       /* ページ最大幅を指定（例） */
    margin: 0 auto;           /* 上下０、左右自動で中央配置 */
    padding: 0 20px;          /* 左右余白を20px確保 */
    text-align: center;       /* 内部テキストや画像を中央揃え */
}
.hero p {
	font-size: 20px;
    text-align: center;
	margin: 100px auto 100px ; /* top.jpgの下に自然に配置 */

}
/* 横幅いっぱいの背景画像
.top-img {
    width: 100%;
    height: auto;
    display: block;
} */

/* タイトル画像は下に配置 */
.title-img {
    display: block;
    height: auto;
    margin: 20px auto 0; /* top.jpgの下に自然に配置 */
}

/* サブタイトル */
.mid-text {
    text-align: center;
    font-size: 20px;     /* お好みで */
    margin: 50px 0;      /* 上下の余白 */
}


/* ボタン横並び */
.button-group {
    display: flex;
    justify-content: center; /* 横方向中央揃え */
    gap: 60px;               /* ボタン間の余白 */
    margin: 30px 0;
    flex-wrap: wrap;         /* 幅不足時に折り返し */
}

.button-group a {
    flex: 0 0 auto;
}

.button-group a img {
    display: block;
    width: 300px;            /* ボタン幅調整 */
    height: auto;
}

/* 右側ボタンだけに */
.btn-right img:hover {
    opacity: 0.6;   /* ← 少し薄くする */
    transition: 0.3s; /* ← なめらかな変化 */
}


/* フッター */
.footer {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
	margin-top: 100px; 
}

/* スマホ対応 */
@media (max-width: 768px) {
    .title-img {
        max-width: 80%;
    }

     .button-group {
        flex-direction: column; /* 縦並びに変更 */
        gap: 15px;
        align-items: center;
    }

    .button-group a img {
        width: 80%;
    }
	.footer-img {
        max-width: 80%;
		margin: 50px auto 0; 

    }
}