body {
    margin: 0;
    background-color: #150900;
    color: #FFFFFF;
}

h1, h2 {
    font-family: 'Merriweather', serif;
    font-weight: 700; /* 太字 */
}

/* ヘッダー全体のスタイル */
.mobile-header {
    display: flex;
    justify-content: space-between; /* ハンバーガーとロゴを両端に配置 */
    align-items: center; /* 中央揃え */
    position: fixed;
    color: #fff; /* テキスト色 */
    z-index: 1000; /* 最前面 */
    padding: 0 16px; /* 左右の余白 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* シャドウ */
}

/* ハンバーガーメニューアイコン */
.hamburger {
    display: flex;
    align-items: center;
    cursor: pointer;
    order: 1; /* 左端に配置 */
}


.hamburger img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* ロゴ部分 */
.logo {
    display: flex;
    align-items: center;
    margin-left: auto; /* ロゴを右端に寄せる */
    order: 2; /* 右端に配置 */
}

.logo img {
    max-width: 100px; /* ロゴ画像の最大幅 */
    height: auto; /* 高さは自動調整 */
    object-fit: contain; /* 画像を枠内に収める */
}

/* 連絡ボタン */
.contact-buttons {
    display: flex;
    gap: 10px;
}

.contact-buttons a {
    display: block;
}

.contact-buttons img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* モバイルメニューのスタイル */
.mobile-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #fff;
    z-index: 9999;
    overflow-y: auto;
}

/* メニューが開いた状態 */
.mobile-menu.active {
    display: flex;
}

/* 閉じるアイコン */
.close-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.close-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* メニューリスト */
.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.mobile-menu li {
    margin: 15px 0;
}

.mobile-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    display: block;
}

/* アニメーションやトランジション（任意） */
.mobile-menu.active {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}



.main-content {
    text-align: center;
    margin: 0;
    position: relative;
}

.main-image {
    width: 100%;
    height: auto;
}

.overlay-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    pointer-events: none;
}

.message-section {
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    text-align: center;
}

.message-section h2 {
    font-size: 1.7em;
}

.message-section p {
    font-size: 1em;
    line-height: 1.5;
}

.menu-section {
    background-color: #150900;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    text-align: center;
}

.menu-section h2 {
    font-size: 1.7em;
    margin-bottom: 15px;
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
}

.menu-item {
    flex: 0 0 100%; /* 各アイテムが表示領域全体を占める */
    scroll-snap-align: start;
    box-sizing: border-box;
}


.menu-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s;
}

.menu-item img:hover {
    transform: scale(1.05);
}

.menu-item p {
    font-size: 1.3em;
    line-height: 1.5;
    margin: 10px 0;
}

.access-section {
    background-color: #150900; /* 背景色を統一 */
    padding: 20px;
    text-align: center;
    color: #FFFFFF; /* 文字色を白に設定 */
}

.access-title {
    font-size: 1.7em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF; /* タイトルも白に設定 */
}

.access-content {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
}

.access-content iframe {
    width: 100%;
    max-width: 400px;
    height: 300px;
    border-radius: 8px; /* 地図の角を丸く */
    border: none; /* 枠線を消去 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* シャドウを追加 */
}

.access-text {
    font-size: 1em;
    line-height: 1.6;
    margin-top: 15px;
    color: #FFFFFF; /* テキストカラーを統一 */
    text-align: center;
}


.recruit-section {
    background-color: #150900;
    color: #FFFFFF;
    padding: 30px;
}

.recruit-title {
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.recruit-description {
    font-size: 1em;
    line-height: 2;
    margin-bottom: 20px;
    text-align: center;
}

.recruit-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
}

.recruit-details {
    font-size: 0.9em;
    line-height: 2.5;
    margin-bottom: 20px;
}

.recruit-details p {
    margin: 10px 0;
}

.recruit-cta {
    text-align: center;
    margin-top: 20px;
}

.apply-button {
    display: inline-block;
    background-color: #E63946;
    color: #FFFFFF;
    padding: 10px 20px;
    font-size: 1em;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.apply-button:hover {
    background-color: #D62828;
}

.bs-garage-section {
    text-align: center;
    color: #fff;
    background-color: #150900;
    padding: 20px 0;
}

.bs-garage-background h2 {
    font-size: 1.7em;
    color: #fff;
    margin: 20px 0;
}

.main-image-container {
    text-align: center;
    margin: 30px 0;
}

.main-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.business-description h3 {
    font-size: 1.3em;
    margin: 20px 0;
    color: #fff;
}

.business-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 20px;
}

.business-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%; /* 3組分の幅 */
}

.business-item {
    text-align: center;
}

.business-item img {
    max-width: 80%; /* 横幅を画面の90%に設定 */
    height: auto; /* アスペクト比を維持 */
    margin: 0 auto; /* 中央揃え */
    display: block; /* ブロック要素として表示 */
    border-radius: 8px; /* 少し角を丸める */
}

.business-item p {
    color: #fff;
    margin-top: 10px;
    font-size: 0.9em;
}

.company-section {
    background-color: #150900; /* 背景色 */
    color: #fff; /* 文字色 */
    padding: 20px;
    text-align: center;
}

.company-title {
    font-size: 2em;
    margin-bottom: 15px;
    color: #fff;
}

.company-content {
    display: flex;
    flex-direction: column; /* スマホに適した縦並び */
    gap: 30px; /* セクション間の余白 */
}

.company-policy, .company-profile {
    background-color: #150900; /* コンテンツの背景 */
    border-radius: 8px; /* 角を丸める */
    padding: 15px;
    line-height: 1.6; /* 行間を広げる */
}

.company-policy h3, .company-profile h3 {
    font-size: 1.5em;
    text-align: center;
    color: #fff;
}

.company-policy p {
    font-size: 1em;
    margin: 10px 0;
    text-align: center; /* 左揃え */
    color: #fff;
}

.company-profile p {
    font-size: 1em;
    margin: 10px 0;
    text-align: center; /* 左揃え */
    color: #fff;
}

.company-profile p {
    white-space: pre-wrap; /* 改行を保持 */
}

.company-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto; /* 中央寄せ */
    border-radius: 8px; /* 角を丸める */
}

.footer-section {
    background-color: #150900;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer-divider {
    border: 0;
    border-top: 1px solid #fff; /* 区切り線のスタイル */
    margin: 10px 0;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    margin-left: 25px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-social {
    display: flex;
    flex-direction: column; /* 縦方向に要素を並べる */
    align-items: center;
    gap: 5px;
}

.footer-social img {
    width: 50px;
    height: 50px;
}

.footer-social p {
    margin: 0;
    font-size: 14px;
}

html {
    scroll-behavior: smooth;
}

/* お問い合わせセクション */
.contact-section {
    background-color: #252525; /* 背景色 */
    color: #fff; /* 文字色 */
    padding: 40px 20px; /* セクションの余白 */
    text-align: center; /* 中央揃え */
    margin-bottom: 20px; /* 下部の余白 */
}

.contact-title {
    font-size: 1.8em; /* タイトルのフォントサイズ */
    margin-bottom: 15px; /* 下部の余白 */
}

.contact-description {
    font-size: 1em; /* 説明文のフォントサイズ */
    margin-bottom: 30px; /* 下部の余白 */
    line-height: 1.6; /* 行間 */
}

.contact-info {
    margin-bottom: 20px; /* 情報全体の下部余白 */
}

.contact-phone,
.contact-email {
    font-size: 1em; /* フォントサイズ */
    margin-bottom: 10px; /* 個々の項目の余白 */
}

.contact-phone a,
.contact-email a {
    color: #00d1b2; /* リンクの色 */
    text-decoration: none; /* 下線を消す */
}

.contact-phone a:hover,
.contact-email a:hover {
    text-decoration: underline; /* ホバー時の下線表示 */
}

.contact-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    color: #fff;
    background-color: #e60023;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.contact-button:hover {
    background-color: #bf001c;
}




@media screen and (max-width: 768px) {
    .mobile-header {
        flex-direction: row;
        padding: 10px 15px;
    }
    
    .hamburger img {
        width: 50px;
        height: 50px;
    }

    .logo img {
        width: 50px;
        height: 50px;
    }

    .phone-icon {
        width: 150px;
        height: 20px;
        max-width: 100%;
    }

    .application-icon {
        width: 120px;
        height: 20px;
        max-width: 100%;
    }
    
    .main-image {
        margin: 0;
    }
    
    .message-section {
        padding: 15px;
        margin: 15px;
    }
}
