/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    color: #333;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #4a7c59;
    margin: 15px auto 0;
}

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

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #4a7c59;
}

.nav-list {
    display: flex;
}

.nav-item {
    margin-left: 25px;
    font-size: 14px;
    font-weight: 500;
}

.nav-item a {
    transition: color 0.3s;
}

.nav-item a:hover {
    color: #4a7c59;
}


/* メインビジュアル部分 */
.hero {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: #fff;
    max-width: 600px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 18px;
    margin-bottom: 30px;
}

/* 特徴紹介セクション */
.features {
    background-color: #f8f8f8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #4a7c59;
}

.feature-text {
    font-size: 14px;
    color: #666;
}

/* REPESCAセミナーとは？セクション */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
}

/* セミナー内容セクション */
.contents {
    background-color: #f8f8f8;
}

.contents-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 16px;
}

.seminar-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.seminar-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.seminar-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    background-color: #4a7c59;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.seminar-content {
    padding: 20px;
    flex: 1;
}

.seminar-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.seminar-text {
    font-size: 14px;
    color: #666;
}

/* 導入事例セクション */
.entry-content {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.entry-logo {
    flex: 1;
    text-align: center;
}

.entry-logo img {
    max-width: 200px;
}

.entry-text {
    flex: 2;
}

.entry-quote {
    font-size: 20px;
    font-weight: 700;
    color: #4a7c59;
    margin-bottom: 20px;
}

.entry-description {
    margin-bottom: 30px;
}

.entry-details {
    display: flex;
    gap: 30px;
}

.entry-detail {
    flex: 1;
}

.entry-detail h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #4a7c59;
}

.entry-detail ul {
    padding-left: 20px;
}

.entry-detail li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
    font-size: 14px;
}

.entry-detail li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4a7c59;
}

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

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7c59;
}

.submit-btn {
    background-color: #4a7c59;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;
    width: 100%;
}

.submit-btn:hover {
    background-color: #3d6549;
}

/* フッター部分 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info,
.footer-links {
    flex: 1;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info p {
    margin-bottom: 5px;
    font-size: 14px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #4a7c59;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .entry-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    .nav-list {
        margin-top: 15px;
    }
    
    .nav-item {
        margin-left: 15px;
        font-size: 12px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-text {
        font-size: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .entry-details {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item {
        margin: 5px 10px;
    }
    
    .hero {
        height: 350px;
    }
    
    .hero-title {
        font-size: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
}
/* ✅ ヘッダーをスマホ対応に */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap; /* ✅ メニューが詰まらないように折り返し */
    align-items: center;
    justify-content: center;
    padding: 15px 20px; /* ✅ 余白を増やす */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* ✅ ナビゲーションメニューの調整 */
.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* ✅ メニュー間の間隔を確保 */
    text-align: center;
}

/* ✅ Hero セクションの調整 */
.hero {
    margin-top: 100px; /* ✅ ヘッダーの高さを考慮して適切に調整 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px; /* ✅ スマホ時に余白を確保 */
}

/* ✅ スマホ向けのレイアウト調整 */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* ✅ スマホでは縦並び */
        align-items: center;
        padding: 20px; /* ✅ 余白を確保 */
    }

    .nav-menu {
        flex-direction: column; /* ✅ スマホでは縦並び */
        align-items: center;
        width: 100%;
        padding-top: 10px;
    }

    .hero {
        margin-top: 140px; /* ✅ スマホでヘッダーが増えるので余白を増やす */
        padding: 60px 20px; /* ✅ 文字が詰まらないように調整 */
    }

    .hero-title {
        font-size: 2em; /* ✅ スマホでは適切なフォントサイズに */
    }

    .hero-text {
        font-size: 1em;
    }

    .btn {
        width: 90%; /* ✅ スマホ画面にフィット */
        max-width: 300px; /* ✅ でも広がりすぎないように */
    }
}
