/* イベント写真 */
.event-photos {
    margin-top: 60px;
}

.event-photos h3 {
    color: var(--base-color);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 30px;
}

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

.photo-grid img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 251, 0, 0.3);
}

/* ギャラリー - 横スクロールアニメーション */
.gallery-container {
    width: 100%;
    overflow: hidden;
    margin-top: 40px;
    padding: 20px 0;
}

.gallery-scroll {
    display: flex;
    gap: 20px;
    animation: scroll-left 180s linear infinite;
    width: fit-content;
}

.gallery-scroll img {
    height: 300px;
    width: auto;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ギャラリー画像ホバー効果 */
.gallery-scroll img:hover {
    box-shadow: 0 8px 20px rgba(255, 251, 0, 0.4);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .gallery-scroll img {
        height: 200px;
    }
}

@media (max-width: 570px) {
    .gallery-scroll img {
        height: 150px;
    }
}

/* サービスセクション */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 40px;
}

.service-left {
    flex-direction: row;
}

.service-right {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-text h3 {
    color: var(--base-color);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #ddd;
}

.service-image {
    flex: 1;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 251, 0, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .service-item,
    .service-left,
    .service-right {
        flex-direction: column !important;
    }

    .service-item {
        gap: 20px;
    }
}

/* 会社概要テーブル */
.company-table {
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    border-collapse: collapse;
    font-family: "Noto Sans JP", sans-serif;
}

.company-table th,
.company-table td {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    text-align: left;
}

.company-table th {
    width: 180px;
    font-weight: 500;
    color: white;
    background-color: transparent;
}

.company-table td {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

/* お問い合わせセクション */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.contact-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 2px;
    text-align: center;
}

.contact-item h3 {
    color: var(--base-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.phone-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--base-color);
    margin: 15px 0;
    letter-spacing: 2px;
}

.business-hours {
    color: #aaa;
    font-size: 16px;
}

/* お問い合わせフォーム */
.contact-form {
    max-width: 700px;
    margin: 50px auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.contact-form h3 {
    color: var(--base-color);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #e0e0e0;
}

.required {
    color: #ff4444;
    font-size: 14px;
    margin-left: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border-radius: 2px;
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--base-color);
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 251, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 15px 30px;
    background-color: var(--base-color);
    color: #000;
    border: none;
    border-radius: 2px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: var(--base-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 251, 0, 0.3);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(255, 251, 0, 0.2);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .company-table {
        font-size: 14px;
    }

    .company-table th,
    .company-table td {
        padding: 15px 20px;
    }

    .company-table th {
        width: 120px;
    }

    .contact-form {
        padding: 25px;
    }

    .phone-number {
        font-size: 24px;
    }
}

@media (max-width: 570px) {
    .company-table {
        display: block;
    }

    .company-table thead {
        display: none;
    }

    .company-table tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 15px;
    }

    .company-table tr:last-child {
        border-bottom: none;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        text-align: left;
        border: none;
        padding: 8px 0;
    }

    .company-table th {
        font-weight: 500;
        color: var(--base-color);
        padding-bottom: 5px;
    }

    .company-table td {
        padding-bottom: 0;
        font-weight: 300;
    }
}
