/* style.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    width: 100%; /* 幅いっぱいを指定 */
    height: 50px; /* 高さを50pxに指定 */
    background: #f0f0f0; /* 背景色にグレーを指定 */
    padding: 20px 50px; /* ヘッダーに上下左右それぞれ余白を指定 */
    box-sizing: border-box; /* padding分を含んで幅を100%にするため */
    position: fixed; /* ウィンドウを基準に画面に固定 */
    top: 0; /* 上下の固定位置を上から0pxにする */
    left: 0; /* 左右の固定位置を左から0pxにする */
    display: flex; /* 中の要素を横並びにする */
    align-items: center; /* 中の要素を上下中央に並べる */
}

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

iframe::-webkit-scrollbar{
    text-align: center;
    align-items: center;
    -ms-overflow-style: none;
    display: none;

}


header .gnav .menu {
    display: flex; /* 中の要素を横並びにする */
}

header .gnav .menu li {
    list-style: none; /* リストの[・]を消す */
}

header .gnav .menu li + li {
    margin-left: 40px; /* メニューそれぞれに間隔をあけるため */
}

.img_nc {
    pointer-events: none;
    width: 500px;
    border-radius: 10px;
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* カードを中央に配置 */
    gap: 20px; /* カード間の間隔 */
    padding: 60px 20px;
    max-width: calc(1260); /* 最大幅を指定 */
}

.card {
    width: 300px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}


.card_img {
    text-align: center;
    pointer-events: none;
    width: 300px;
    border-radius: 10px;
}
.card:hover {
    transform: translateY(-5px);
}
.card p {
    margin: 5px 0; /* テキストのマージンを追加 */
}
.card h2 {
    margin-top: 0;
}
.details {
    display: none;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
