body {
    font-family: 'Helvetica', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

header {
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-title h1 {
    font-size: 24px;
    margin: 0;
    padding: 10px 20px;
}

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

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #555;
    color: #fff;
    border-radius: 4px;
}

.full-screen-image img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
}

.artwork-section h2 {
    text-align: center;
}

.artwork img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    display: block;
    width: 100%;
    height: auto;
}

.caption {
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px;
    font-size: 14px;
}

#statement {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#statement h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

#statement p {
    color: #666;
    line-height: 1.6;
}

#statement a {
    color: #0066cc;
    text-decoration: none;
}

.image-container, .gallery {
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.image-container .caption {
    position: absolute;
    right: 0;
    bottom: 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: right;
    padding: 5px;
}

.gallery, .contact-section {
    margin-left: 40px;
    margin-right: 40px;
}

.thumbnail {
    width: calc(25% - 40px);
    float: left;
    position: relative;
    margin: 10px;
    box-sizing: border-box;
    overflow: hidden;
    padding-top: calc(25% - 40px);
}

.thumbnail img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    max-width: 150%;
    max-height: 150%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.thumbnail .caption {
    position: absolute;
    left: 0;
    bottom: 0;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: left;
    padding: 5px;
    width: 100%;
}

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

.modal-content {
    display: block;
    max-width: 80%;
    max-height: 80vh;
    width: auto;
    height: auto;
    margin: 10vh auto;
    position: relative;
    transform: translateY(-50%);
    top: 50%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    transition: color 0.3s, transform 0.3s;
}

.close:hover {
    color: #fff;
    transform: scale(1.1);
}

.artwork-description {
    margin: 20px 0;
    padding: 15px;
    background-color: #f4f4f4;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.artwork-description h2 {
    color: #333;
    margin-bottom: 10px;
}

.artwork-description p {
    color: #666;
    line-height: 1.6;
}

.artwork-divider {
    text-align: center;
    margin: 40px 0;
}

.artwork-divider h2 {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f4f4f4;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
    .gallery, .contact-section, .image-container {
        margin-left: 0;
        margin-right: 0;
    }

    .thumbnail {
        width: 45%;
        padding-top: 45%;
        margin: 1%;
        float: left;
    }
}


.contact-section {
    clear: both;
    padding: 20px;
    background-color: #f8f8f8; /* 例: 背景色 */
    margin: 20px 0; /* 例: 上下のマージン */
    border-radius: 8px; /* 例: 角丸 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 例: 影を追加 */
}

.contact-section h2 {
    color: #333;
    margin-bottom: 15px;
    text-align: center; /* 例: タイトルを中央寄せに */
}

.contact-section p {
    color: #666;
    line-height: 1.6;
}

.contact-section a {
    color: #0066cc;
    text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-section {
        padding: 10px; /* スマホ表示ではパディングを少なくする */
    }
}