* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ヘッダー */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: #015d32;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #015d32;
}

/* ハンバーガーメニューボタン */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #015d32;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ヒーローセクション */
.hero {
    margin-top: 70px;
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInUp 1s;
}

.hero-logo img {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s 0.2s backwards;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s 0.4s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ffde2a;
    color: #015d32;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    animation: fadeInUp 1s 0.6s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 222, 42, 0.5);
    background-color: #ffd000;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* セクション共通スタイル */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

/* 組合紹介セクション */
.about {
    background-color: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 1.5rem;
    color: #555;
}

.about-highlight {
    background: linear-gradient(135deg, rgba(1, 93, 50, 0.05) 0%, rgba(169, 209, 123, 0.1) 100%);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.about-highlight p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #015d32;
    margin-bottom: 0;
}

/* 募集要項セクション */
.recruitment {
    background-color: #f8f9fa;
}

.recruitment-content {
    max-width: 900px;
    margin: 0 auto;
}

.recruitment-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.recruitment-section h3 {
    color: #015d32;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 5px solid #ffde2a;
}

.recruitment-section ul {
    list-style: none;
    padding: 0;
}

.recruitment-section li {
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.recruitment-section li::before {
    content: '●';
    color: #015d32;
    position: absolute;
    left: 0;
}

.recruitment-section .highlight {
    color: #015d32;
    font-weight: bold;
}

.recruitment-section .important {
    color: #d32f2f;
    font-weight: bold;
}

/* 組合員企業セクション */
.members {
    background-color: white;
}

.members-content {
    max-width: 1000px;
    margin: 0 auto;
}

.members-category {
    margin-bottom: 3rem;
}

.members-category h3 {
    color: #015d32;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.members-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.member-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #a9d17b;
}

.member-card h4 {
    color: #015d32;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.member-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* サービス・特徴セクション */
.services {
    background-color: #f8f9fa;
}

/* ツアー情報セクション */
.tour {
    background-color: white;
    max-width: 1400px;
}

.tour-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    align-items: start;
}

.tour-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

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

.tour-details {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.tour-details h3 {
    color: #015d32;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.tour-info-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.tour-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.tour-info-item strong {
    color: #015d32;
    display: block;
    margin-bottom: 0.3rem;
}

.tour-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    margin-top: 2rem;
}

.tour-button {
    display: block;
    padding: 1rem 2rem;
    background-color: #ffde2a;
    color: #015d32;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.tour-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 222, 42, 0.4);
    background-color: #ffd000;
}

.tour-button.secondary {
    background-color: white;
    color: #015d32;
    border: 2px solid #015d32;
}

.tour-button.secondary:hover {
    background-color: #015d32;
    color: white;
    box-shadow: 0 6px 12px rgba(1, 93, 50, 0.3);
}

@media (max-width: 768px) {
    .tour-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #ffde2a;
    box-shadow: 0 8px 12px rgba(255, 222, 42, 0.4);
}

.service-card h3 {
    color: #015d32;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background-color: #ffde2a;
    border-radius: 2px;
}

/* 会社情報セクション */
.company-info {
    background-color: white;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-item {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-label {
    font-weight: bold;
    min-width: 120px;
    color: #015d32;
}

.info-value {
    flex: 1;
}

/* お問い合わせフォーム */
.contact {
    background-color: #f8f9fa;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

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

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: #ffde2a;
    color: #015d32;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.submit-button:hover {
    background-color: #ffd000;
    transform: translateY(-2px);
}

/* フッター */
footer {
    background-color: #333;
    color: white;
}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0;
    max-width: 100%;
}

.footer-gallery-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
}

.footer-gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-copyright {
    text-align: center;
    padding: 2rem;
}

@media (max-width: 1024px) {
    .footer-gallery {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .logo img {
        height: 40px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .hero-logo img {
        max-width: 250px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}
