@charset "utf-8";

/* ==========================================================================
   基本設定（リセット・ベース）
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* スムーススクロールの標準挙動 */
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f4f7f7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

/* ==========================================================================
   共通レイアウト
   ========================================================================== */
.container {
    max-width: 900px;
    margin: 30px auto 60px;
    padding: 0 15px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header p {
    font-size: 14px;
    color: #6ad1c8;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.page-header h1 {
    font-size: 28px;
    color: #333;
    margin-top: 5px;
}

/* ==========================================================================
   ヘッダー・ナビゲーション
   ========================================================================== */
header {
    background: #fff;
    padding: 20px 15px;
    text-align: center;
    border-bottom: 3px solid #6ad1c8;
}

header img {
    max-width: 180px;
    height: auto;
}

.global-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.global-nav ul {
    max-width: 1000px;
    margin: 0 auto;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.global-nav li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: bold;
}

.global-nav li a:hover {
    color: #6ad1c8;
}

/* ==========================================================================
   フッター
   ========================================================================== */
footer {
    background: #fff;
    text-align: center;
    padding: 60px 15px;
    border-top: 1px solid #eee;
}

/* SNSボタンエリア */
.footer-sns-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 0 10px;
}

.sns-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 220px;
    padding: 12px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.btn-line-color { background-color: #06c755; }
.btn-ig-color { background-color: #e4405f; }
.btn-x-color { background-color: #000; }

/* フッターナビ一覧 */
.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 25px;
    max-width: 1000px;
    margin: 0 auto 30px;
}

.footer-nav a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.footer-bottom p {
    font-size: 12px;
    color: #bbb;
}

.license-no {
    font-size: 11px;
    color: #ccc;
    margin-top: 10px;
}

/* ==========================================================================
   共通パーツ（ページトップへ戻る）
   ========================================================================== */
#gotop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: none;
}

#gotop a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #6ad1c8;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

#gotop a:hover {
    background: #008080;
    transform: translateY(-3px);
}

/* ==========================================================================
   レスポンシブ調整
   ========================================================================== */
@media (max-width: 768px) {
    .global-nav ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .global-nav li a {
        padding: 10px 5px;
        font-size: 12px;
        text-align: center;
        border: 1px solid #f9f9f9;
    }

    .footer-sns-nav {
        flex-direction: column;
        align-items: center;
    }

    .sns-btn {
        max-width: 100%;
    }

    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-nav a {
        padding: 10px;
        background: #fcfcfc;
        border-radius: 5px;
    }
}