/* リセットスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


@keyframes glow {
    0% {
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 123, 0, 1.0);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.5);
    }
}

body {
    font-family: Arial, sans-serif;
	writing-mode:horizontal-tb;
	text-orientation: mixed; /* 日本語の文字も横向きに表示されます */
}

/* ヘッダー */


.fixed-button {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007BFF; /* ボタンの色 */
    color: white; /* テキストの色 */
	
    padding: 8px 40px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000; /* 他の要素より前に表示するためのz-index */
	writing-mode:horizontal-tb;
	text-orientation: mixed; /* 日本語の文字も横向きに表示されます */
	animation: glow 4s infinite ease-in-out;
}


.hero {
    position: relative;
    text-align: center;
    color: white;
}

.hero img {
    width: 100%;
    height: auto;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
}

/* メインセクション */
.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.gallery-item {
    width: 100%;
    max-width: 800px; /* 適切なサイズに調整 */
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.01);
}

/* 応募ボタン */

.apply-button-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.apply-button {
    display: inline-block;
    padding: 45px 90px;
    font-size: 30px;
    color: white;
    background-color: #007BFF;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    animation: glow 2s infinite ease-in-out;
}

.apply-button:hover {
    background-color: #0056b3;
}









/* フッター */
.footer {
    position: relative;
    text-align: center;
    color: white;
}

.footer img {
    width: 100%;
    height: auto;
}

.footer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
}
