/* フォントと全体のスタイル */

body {
    font-family: "Zen Kaku Gothic New", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

a {
    text-decoration: none;
    color: #333;
}


/* コンテナのスタイル */

.container {
    margin: 50px auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}


/* コンテナのレスポンシブスタイル */

@media (max-width: 768px) {
    .container {
        width: 90%;
        margin: 20px auto;
    }
}


/* ヒーローセクション */

.hero-section {
    background-image: url('../assets/images/hero-background.jpg');
    /* ヒーローセクションの背景画像 */
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section .hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero-section .cta-button {
    background-color: #060606;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.hero-section .cta-button:hover {
    background-color: #4cae4c;
}


/* 見出しのスタイル */

h1,
h2,
h3,
h4,
h5 {
    color: #333;
}

h1 {
    text-align: center;
    font-size: larger;
}

h2 {
    text-align: center;
    font-size: large;
}


/* フォームのスタイル */

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 10px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="time"],
input[type="file"],
textarea,
select {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}


/* ボタンのスタイル */

button {
    padding: 10px;
    margin-top: 20px;
    background-color: #060606;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    height: 44px;
    font-size: 16px;
}

button:hover {
    background-color: #4cae4c;
}


/* ファイル入力のカスタムスタイル */

.file-input-wrapper {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.file-input-button {
    padding: 10px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.file-input-button:hover {
    background-color: #ccc;
}

.file-input-text {
    margin-left: 10px;
    font-size: 14px;
}


/* マップと情報のスタイル */

#map {
    height: 500px;
    width: 100%;
    margin-bottom: 20px;
}

#musician-info {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto;
}

.musician-card {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.musician-card img.icon {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 50%;
}

.musician-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sns-links {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.sns-icon {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
}

.schedule-button {
    background-color: #000;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    margin-top: 10px;
    align-self: flex-start;
}

.schedule-button:hover {
    background-color: #444;
}


/* ナビゲーションバーのスタイル */

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

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
}

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


/* ハンバーガーメニューのスタイル */

.hamburger-menu {
    display: none;
    font-size: 30px;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    top: 40px;
    right: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    z-index: 999;
    display: none;
}

.nav-menu ul {
    list-style-type: none;
    padding: 0;
}

.nav-menu ul li {
    display: block;
    margin: 0;
    border-bottom: 1px solid #ddd;
}

.nav-menu ul li a {
    display: block;
    padding: 10px;
    border-radius: 0;
    text-decoration: none;
    color: #000;
    background-color: #f0f0f0;
}

.nav-menu ul li a:hover {
    background-color: #ddd;
}


/* メッセージのスタイル */

#message {
    margin: 20px 0;
    padding: 10px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: opacity 1s ease-out, visibility 1s ease-out;
    opacity: 1;
    visibility: visible;
}

#message.hidden {
    display: none;
}

#message.fade-out {
    opacity: 0;
    visibility: hidden;
}


/* レスポンシブデザイン */

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 40px;
        right: 10px;
        background-color: #f0f0f0;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    .nav-menu ul {
        display: block;
    }
    .nav-menu ul li {
        display: block;
        margin: 0;
        border-bottom: 1px solid #ddd;
    }
    .nav-menu ul li a {
        display: block;
        padding: 10px;
        border-radius: 0;
    }
    .nav-menu ul li:last-child a {
        border-bottom: none;
    }
}


/* モーダルのスタイル */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* リスナー向け呼びかけセクション */

.listener-section {
    background-color: #e0f7fa;
    padding: 50px 0;
    text-align: center;
}

.listener-section .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.listener-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.listener-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.listener-section .cta-button {
    background-color: #060606;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.listener-section .cta-button:hover {
    background-color: #4cae4c;
}


/* 楽器メーカー・楽器店向け呼びかけセクション */

.instrument-section {
    background-color: #ffe0b2;
    padding: 50px 0;
    text-align: center;
}

.instrument-section .cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.instrument-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.instrument-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.instrument-section .cta-button {
    background-color: #060606;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.instrument-section .cta-button:hover {
    background-color: #4cae4c;
}


/* フッターのスタイルを調整 */

footer {
    padding: 20px 0;
    text-align: center;
}


/* モバイルナビゲーションバーのスタイル */

.mobile-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 1000;
    border-top: 1px solid #ddd;
}

.nav-wrapper {
    display: flex;
    width: 100%;
}

.mobile-nav .nav-item {
    flex: 0 0 25%;
    /* 4つのアイコンが等分に表示されるようにする */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
    padding: 10px 0;
}

.mobile-nav .nav-item:hover {
    background-color: #f0f0f0;
}

.mobile-nav img {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.mobile-nav span {
    font-size: 12px;
}