body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #f3f3f3;
}

header {
    background-image: url('../img/header-bg.png?20240823');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10px 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Add a container for the logo and the company name */
.logo-container {
    display: flex;
    align-items: center;
}

/* Style the logo image */
.logo-container img {
    max-width: 50px;
    margin-right: 10px;
}

/* Style the company name next to the logo */
.logo-container h1 {
    margin: 0;
    font-size: 24px;
    text-decoration: none; /* リンクのデフォルト装飾を無効に */
    color: white;/* リンクの色を白 */
}

nav {
    margin-top: 10px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #555;
}

/* サブメニューを初期非表示にする */
.submenu {
    display: none;
    background-color: #333;
    padding: 10px 0;
    margin: 0;
    text-align: center;
}

.submenu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
    margin: 0 10px;
}

.submenu a:hover {
    background-color: #555;
}

/* コンテンツ部分のスタイル */
.container {
    padding: 20px;
    display: flex;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
    border: none; /* 枠線を消す */
}

.content {
    max-width: 1024px;
    text-align: left;
    border: none; /* 枠線を消す */
}

.content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* メニューアイコン（モバイル表示用） */
.menu-icon {
    display: none;
    font-size: 40px;
    cursor: pointer;
    color: white;
    position: absolute;
    top: 15px;
    right: 30px;
    z-index: 1001;
}

@media (max-width: 1200px) {
    header h1 {
        font-size: 20px;
    }

    .menu-icon {
        display: block;
    }

    /* モバイル向けにメニューをヘッダーの下に表示 */
    nav ul {
        flex-direction: column;
        display: none;
        width: 100%;
        position: absolute;
        top: 74px; /* ヘッダーの高さを考慮 */
        left: 0;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 999;
    }

    nav ul.show {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 0;
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 15px;
        width: 100%;
        text-align: center;
    }
}

.label {
       font-weight: bold;
       color: #004080;
}

 /* フッター */
footer {
  text-align: center;
}

 /* 船舶情報 */
table {
    border-collapse: collapse;
    width: 100%;
}
th, td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
    overflow: hidden; /* スライドがはみ出さないように */
}

.slides-wrapper {
    display: flex; /* 横並びにスライドを配置 */
    transition: transform 0.5s ease-in-out; /* スライドをスムーズに移動させる */
}

.slide {
    min-width: 100%; /* スライドを画面全体に表示 */
    box-sizing: border-box;
}

img {
    width: 100%;   /* 画像の横幅をスライド全体に合わせる */
    height: auto;  /* 手動で設定した縦幅に基づいて表示 */
}

/* 前へ次へボタン */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.dots {
    text-align: center;
    padding: 10px 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

/* 画像にカーソルを合わせたときにポインタ（手のマーク）に変更 */
.clickable {
    cursor: pointer;
}


