/* ==============================================
   1. リセット CSS (Reset CSS)
   ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* ==============================================
   2. 共通スタイル (Common Styles)
   ============================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e67e22; /* 黄色 */
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #d35400;
}

/* ==============================================
   3. ヘッダー (Header)
   ============================================== */
/* トップバー (Top Bar) */
.top-bar {
    background-color: #1a2b4c; /* 濃いネイビー */
    color: #fff;
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
}

.logo span {
    font-size: 14px;
    font-weight: normal;
    opacity: 0.8;
}

/* サブバー / ナビゲーション (Sub Bar / Navigation) */
.sub-bar {
    background-color: #1a2b4c; /* 濃いネイビー */
    color: #fff;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-bar ul {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.sub-bar a {
    font-size: 16px;
}

.sub-bar a:hover {
    color: #e67e22;
}

/* ==============================================
   4. ヒーローセクション (Hero Section)
   ============================================== */
.hero {
    background-image: url('path/to/your/beach-image.jpg'); /* ビーチの画像 */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 10px;
    /* 水色から青のグラデーションテキスト */
    background: linear-gradient(to right, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==============================================
   5. メインコンテンツ (Main Content)
   ============================================== */
.content-section {
    padding: 50px 0;
    background-color: #fff;
}

.section-title {
    font-size: 24px;
    color: #1a2b4c;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* コンテンツグリッド (Content Grid) */
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* 投稿カード (Post Card) */
.post-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

.tag {
    background-color: #eee;
    color: #333;
    border-radius: 20px;
    padding: 3px 10px;
}

.card-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #1a2b4c;
    margin-bottom: 10px;
}

.card-meta {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.card-meta strong {
    color: #333;
}

.card-excerpt {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
    /* 抜粋を3行で省略 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-link {
    font-size: 14px;
    color: #e67e22;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-link:hover {
    color: #d35400;
}

/* アーカイブボタン (Archive Button) */
.archive-button-container {
    text-align: center;
}

/* ==============================================
   6. フォームセクション (Form Section)
   ============================================== */
.form-section {
    padding: 70px 0;
    background-color: #f9f9f9;
}

.form-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.form-title {
    font-size: 28px;
    color: #1a2b4c;
    text-align: center;
    margin-bottom: 40px;
}

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

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

.form-group label .required {
    color: #e74c3c; /* 赤 */
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
}

.form-control:focus {
    border-color: #1a2b4c;
    outline: none;
}

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

/* ドロップダウンメニュー (Dropdown Menu) */
select.form-control {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20d%3D%22M5.293%207.293a1%201%200%20011.414%200L10%2010.586l3.293-3.293a1%201%200%20111.414%201.414l-4%204a1%201%200%2001-1.414%200l-4-4a1%201%200%20010-1.414z%22%20fill%3D%22%23ccc%22%2F%3E%3C%2Fsvg%22');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 40px;
}

/* 送信ボタン (Submit Button) */
.form-submit-container {
    text-align: center;
    margin-top: 30px;
}

/* ==============================================
   7. フッター (Footer)
   ============================================== */
.footer {
    background-color: #1a2b4c; /* 濃いネイビー */
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

.footer .copyright {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer .links {
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0.8;
}

.footer a:hover {
    color: #e67e22;
    opacity: 1;
}

/* ==============================================
   8. レスポンシブ (Responsive)
   ============================================== */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 28px;
    }

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

    .form-card {
        padding: 30px;
    }

    .form-title {
        font-size: 24px;
    }

    .sub-bar ul {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}