@charset "UTF-8";

body {
    font-family: "Meiryo", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

h2 {
    font-size: 20px;
    margin-top: 20px;
    color: #555;
}

.photo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    padding: 10px;
}

.photo-item {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 5px;
}

p {
    margin: 5px 0;
    font-size: 14px;
}

.search-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.search-link:hover {
    background: #0056b3;
}

.search-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 366px;
}

#search-input {
    flex-grow: 1;
    padding: 8px;
}

#search-button {
    padding: 8px 15px;
    cursor: pointer;
}

.search-form {
    display: flex;
    width: 100%;
    max-width: 90%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.search_box {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-size: 1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    min-width: 0;
}

#search_box {
    flex: 1;
    display: block; /* または display: flex; */
    min-width: 0;
}

#search_box input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #333;
    border-radius: 5px 0 0 5px;
    min-width: 0;
    height: 43.99px;
}

.search-form button {
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    padding: 10px;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}