/* 全体のリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
}

.logo h1 {
    font-size: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* ヒーローセクション */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    /* background-color: #333; */
    color: #fff;
    text-align: center;
}


.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('asset/image/bointerminal.jpg') no-repeat center center/cover;
    opacity: 1.0; /* 背景画像の透明度 */
    z-index: -1; /* 背景画像がテキストより後ろに配置される */
}

.hero h2, .hero p, .cta-button {
    position: relative;
    z-index: 1; /* テキストとボタンを前面に表示 */
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    padding: 1rem 2rem;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #ddd;
}

/* 特徴セクション */
.features {
    padding: 2rem;
    text-align: center;
}

.features h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    margin-bottom: 2rem;
}

.feature-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* フッター */
footer {
    padding: 1rem;
    background-color: #000;
    color: #fff;
    text-align: center;
}

footer nav ul {
    list-style: none;
    padding: 0;
}

footer nav ul li {
    display: inline;
    margin: 0 1rem;
}

footer nav ul li a {
    color: #fff;
    text-decoration: none;
}

footer nav ul li a:hover {
    text-decoration: underline;
}

/* エラーメッセージ用セクション */
.error-message {
    text-align: center;
    padding: 5rem 2rem;
    background-color: #f9f9f9;
    color: #000;
}

.error-message h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.error-message p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.error-message a.cta-button {
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 2rem;
    display: inline-block;
}

.error-message a.cta-button:hover {
    background-color: #444;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    nav ul li {
        margin-left: 1rem;
    }
}