body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
    background: #fffcdb;
}
header {
    text-align: center;
    padding: 20px 0;
}
header img {
    max-width: 80%;
    height: auto;
}
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.main-img {
    width: 60%;
    height: auto;
    display: block;
    margin: 0 auto 40px;
	border-radius: 11px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.25);
	
}
.center-banner {
    text-align: center;
}
.center-banner img {
    width: 450px;
    height: 69px;
    display: block;
    margin: 0 auto;
}
footer {
    text-align: center;
    padding: 5px 0;
    background: #008cd6;
}
footer p {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
}

/* ====== header 上下テキスト ====== */
.header-text-top,
.header-text-bottom {
    text-align: center;
    margin: 10px 0;
}
.header-text-top {
    font-size: 20px;
    font-weight: bold;
    font-family: "Helvetica", "Arial", sans-serif;
}
.header-text-bottom {
    font-size: 16px;
    font-family: "Georgia", "serif";
    color: #555;
}

/* ===== ホバーアニメーション ===== */
.c-bnr.bg {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    display: inline-block;
}
.c-bnr.bg img {
    display: block;
    border-radius: 11px;
}

.c-bnr.bg::before,
.c-bnr.bg::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
    opacity: 0;
    border-radius: 11px; /* ← 画像にも同じ角丸を適用 */
}
.c-bnr.bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18%;
    width: 64%;
    height: 90%;
    background: rgba(0,0,0,.20);
    opacity: 0;
    transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
    border-radius: 11px;
}
.c-bnr.bg::after {
    /*content: "やってみよう！";*/
    color: #ff3300;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px; /* ← オーバーレイにも同じ角丸を適用 */
}
.c-bnr.bg:hover::before,
.c-bnr.bg:hover::after {
    opacity: 1;
}

.c-bnr.bg img {
    border-radius: 11px;
    transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
}

c-bnr.bg:hover img {
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(0,0,0,0.22);
}

/* ===== バナー専用ホバーアニメーション（黒・テキストなし・角丸） ===== */
.c-bnr.dark {
    position: relative;
    overflow: hidden;
    display: inline-block;
    border-radius: 10px; /* ← 角を丸く（値は好みで調整可能） */
}
.c-bnr.dark img {
    display: block;
    border-radius: 10px; /* ← 画像にも同じ角丸を適用 */
}
.c-bnr.dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .3s cubic-bezier(0.45, 0, 0.55, 1);
    border-radius: 10px; /* ← オーバーレイにも同じ角丸を適用 */
}
.c-bnr.dark:hover::before {
    opacity: 1;
}


/* ===== タブ表示制御 ===== */
.tab-content {
    display: none;
    width: 100%;
    justify-content: center;
}

.tab-content.active {
    display: flex;
}

