


body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;

    font-family: "Times New Roman", Times, serif;
}

h1 {
    text-align: center; /* 中央揃え */
    font-size: 1.6em; /* フォントサイズ */
    color: #3c3c3c; /* テキストカラー（ダークグレー） */
    margin: 20px auto; /* 上下のマージンと中央揃え */
    padding: 10px 0; /* 上下のパディング */
    max-width: 600px; /* 最大幅を指定 */
    width: 100%; /* 幅を100%に設定 */
    background-color: transparent; /* 背景を透明に */
    border-bottom: 3px solid #555; /* 下にボーダーを追加（ダークグレー） */
    transition: color 0.3s; /* ホバー時のアニメーション */
}

h1:hover {
    color: #000; /* ホバー時のテキストカラー（真っ黒） */
}

.search-container {
    text-align: center;
    margin: 30px 0;
}

.search-container form {
    display: flex; /* フォームをフレックスボックスに */
    justify-content: center; /* 中央揃え */
    align-items: center; /* 縦方向の中央揃え */
    flex-wrap: wrap; /* 画面幅が狭いときに折り返す */
}

.search-container input[type="search"], 
.search-container select {
    width: 300px;
    padding: 10px;
    margin: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ボタンのスタイル */
.search-container button {
    padding: 10px 30px;
    font-size: 16px;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

/* ボタンのホバー効果 */
.search-container button:hover {
    background-color: #0056b3;
}

/* スマートフォンのためのスタイル */
@media (max-width: 768px) {
    .search-container form {
        flex-direction: column; /* 縦に並べる */
    }

    .search-container input[type="search"],
    .search-container select {
        width: 100%; /* 幅を100%に設定 */
    }
}


.gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-left: 200px; /* 左右のパディングを減少 */
    padding-right: 200px; /* 左右のパディングを減少 */
}

.gallery-item {
    text-align: center;
    margin: 10px; /* マージンを少し減少 */
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
 border: 1px solid #ccc; /* ← 線を追加 */
    flex: 1 1 calc(16.66% - 20px); /* 6つの画像を並べるための計算 */
    box-sizing: border-box;
}

/* 画像の自動縮小表示 */
.gallery-item img {
    max-width: 100%; /* コンテナの幅に合わせて縮小 */
    height: auto; /* 高さはアスペクト比を維持して自動調整 */
    border: 2px solid #ccc;
    border-radius: 5px;
    object-fit: contain; /* アスペクト比を維持しつつ画像全体を表示 */
    filter: blur(3px); /* ぼかし効果 */
    transition: filter 0.3s ease; /* ホバー時のトランジション効果 */
}

/* ホバー時にぼかしを解除 */
.gallery-item img:hover {
    filter: blur(0);
}


/* レスポンシブデザインのためのメディアクエリ */
@media (max-width: 1200px) {
    .gallery-item {
        flex: 1 1 calc(25% - 20px); /* 幅を25%に設定 */
    }
}

@media (max-width: 992px) {
    .gallery-item {
        flex: 1 1 calc(33.33% - 20px); /* 幅を33.33%に設定 */
    }
}

@media (max-width: 768px) {
    .gallery-item {
        flex: 1 1 calc(50% - 20px); /* 幅を50%に設定 */
    }
}

@media (max-width: 576px) {
    .gallery-item {
        flex: 1 1 calc(100% - 20px); /* 幅を100%に設定 */
    }

    .search-container input[type="search"], 
    .search-container select,
    .search-container button {
        width: 100%; /* ボタンと入力フィールドの幅を100%に設定 */
    }
}

/* styles.css */
img {
    width: 230px;
    height: 150px;
    object-fit: cover;
}

.review-button {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.review-button:hover {
    background-color: #95b7db;
}

/*クリックで上に移動*/
html {
    scroll-behavior: smooth;
}

.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}








/* 検索フォームを中央揃え */
.search-container {
    display: flex;
    align-items: center;
    justify-content: center; /* 中央に配置 */
    width: 100%;
    margin-bottom: 20px; /* フォームの下にスペース */
}

/* 検索フォーム内の要素の間隔を調整 */
.search-container form {
    display: flex;
    align-items: center;
    gap: 10px; /* ボタン間のスペース */
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}


.dropdown-content {
    display: none; /* 初期状態は非表示 */
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin-top: 5px;
}

.dropdown-content.show {
    display: block; /* 表示切替に使うクラス */
}

.dropdown-content a {
    color: #333;
    padding: 10px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.arrow {
    font-size: 30px;
    color: #333;
    padding: 0 10px;
    margin-left: 10px;
    cursor: pointer;
}

.arrow:hover {
    color: #007BFF;
}





* {
    box-shadow: none !important;
}






.footer {
  padding: 1rem;
  font-size: 15px;
  color: #999;
  background: #dcdcdc;
  border-top: 1px solid #e5e7eb;
  text-align: center; /* テキストを中央揃え */
}



