@charset "UTF-8";
/*
Theme Name: OneBeach
Theme URI: https://onebeach-magazine.com/
Description: ビーチライフのWEBメディア専用テーマ
Version: 1.0.0
Author: OneBeach Team
Author URI: https://onebeach-magazine.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onebeach
*/

/* ==================================================
   リセット & ベーススタイル
   ================================================== */

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

html {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 2.0;
    letter-spacing: 0.08em;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

a {
    color: #333;
    text-decoration: none;
}

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

/* ==================================================
   ヘッダー
   ================================================== */

.site-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.site-logo {
    grid-column: 2;
}

.site-logo .logo-image {
    height: 32px;
    width: auto;
    display: block;
}

.site-nav {
    grid-column: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.site-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-nav a {
    font-size: 12px;
    letter-spacing: 0.06em;
    transition: opacity 0.2s;
}

.site-nav a:hover {
    opacity: 0.6;
}

.header-register-btn {
    padding: 7px 16px;
    background: #333;
    color: #fff !important;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.header-register-btn:hover {
    opacity: 0.75 !important;
}

/* ==================================================
   フッター
   ================================================== */

.site-footer {
    background: transparent;
    padding: 0;
    margin-top: 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer a {
    font-size: 12px;
    letter-spacing: 0.12em;
}

/* ==================================================
   レスポンシブ
   ================================================== */

@media (max-width: 768px) {
    body {
        font-size: 13px;
    }

    .site-header {
        padding: 8px 0;
    }

    /* グリッドをやめてflexに切り替え：ロゴ左・ナビ右 */
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 16px;
    }

    .site-logo {
        grid-column: unset;
    }

    .site-logo .logo-image {
        height: 26px;
    }

    .site-nav {
        gap: 8px;
    }

    .site-nav ul {
        gap: 8px;
    }

    .site-nav a {
        font-size: 11px;
    }

    .header-register-btn {
        padding: 6px 10px;
        font-size: 10px;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }
}

/* ==================================================
   2カラムレイアウト（TOPページ）
   ================================================== */

/* タブメニュー */
.shop-tab {
    transition: all 0.3s ease;
}

/* タブの背景色はJavaScriptで動的に設定されます */

/* 2カラムレイアウトのレスポンシブ（WANDER風・4列グリッド） */
@media (max-width: 1200px) {
    /* 2カラムレイアウトを1カラムに */
    .l-container > section > div {
        flex-direction: column !important;
    }

    .l-container > section > div > div,
    .l-container > section > div > aside {
        flex: 1 !important;
        max-width: 100% !important;
    }

    /* ショップカードを3列に */
    .shop-list-container {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 900px) {
    /* ショップカードを2列に */
    .shop-list-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    /* ショップカードを1列に */
    .shop-list-container {
        grid-template-columns: 1fr !important;
    }

    /* タブメニューのフォントサイズ縮小 */
    .shop-tab {
        font-size: 12px !important;
        padding: 12px 16px !important;
    }
}

/* ==================================================
   レスポンシブ対応
   ================================================== */

@media (max-width: 960px) {
    .onebeach-hero {
        height: 80vh;
        min-height: 500px;
    }

    .onebeach-hero__content {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 13px !important;
    }

    .l-header {
        padding: 20px 0 !important;
    }

    .c-headLogo img {
        max-height: 50px !important;
    }

    .p-gnav__list {
        gap: 20px !important;
    }

    .p-gnav__item a {
        font-size: 10px !important;
    }

    .onebeach-hero {
        height: 70vh;
        min-height: 450px;
        margin-bottom: 50px;
    }

    .onebeach-hero__content {
        padding: 0 20px;
    }

    .onebeach-hero__catchphrase img {
        max-width: 100%;
    }

    .l-content,
    .l-container,
    .l-mainContent {
        padding: 40px 20px !important;
    }

    .grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .l-footer {
        padding: 50px 0 25px !important;
        margin-top: 60px !important;
    }
}

