@charset "utf-8";

/* ===================================================
   GUIDELINE PAGE STYLES (guidelinestyle.css)
   ================================================   */

:root {
    --bg-color: #faf8f5;
    --card-bg: #ffffff;
    --text-color: #4a4543;
    --accent-color: #E78198;
    --border-color: #f0eae1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    background: linear-gradient(rgba(250, 248, 245, 0.5), rgba(250, 248, 245, 0)), 
                url('./img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    padding: 40px 15px;
}

.wrapper {
    max-width: 800px; /* 元の正しい横幅に戻しました */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.block {
    background-color: rgba(255, 255, 255, 0.3) !important;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.block-header {
    text-align: center;
}

.header-title {
    font-size: 1.6rem;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
}

.page-title {
    font-size: 1.4rem;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
}

.concept-text {
    font-size: 0.95rem;
    color: #5c5552;
    text-align: center;
    margin-bottom: 20px;
}

/* --- バナー画像関連 --- */
.banner-common {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    margin-bottom: 20px;
}

.banner-guideline {
    background-image: url('./img/guideline_header.jpg');
}

/* ナビゲーションメニュー */
.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
}

.nav-btn {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 8px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap;
}

.nav-btn:hover, .nav-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* SNSアイコン */
.sns-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.sns-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-color);
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s;
}

.sns-icon:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* ガイドラインカードのレイアウト（色や構造を元通りに修正） */
.terms-section {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
}

.terms-section .section-title {
    font-size: 1.1rem !important;
    color: var(--accent-color) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    margin-bottom: 15px !important;
    text-align: center !important;
}

.terms-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.term-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.term-title {
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.term-content {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.8;
}

.term-content p {
    margin-bottom: 8px;
}

.term-content p:last-child {
    margin-bottom: 0;
}

/* フッター */
.footer-area {
    text-align: center;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

footer {
    font-size: 0.75rem;
    color: #2F3285;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 雨エフェクト用 */
.rain-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: 9999 !important;
}

.raindrop {
    position: absolute;
    width: 8px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.4);
    animation: fall linear infinite;
}

@keyframes fall {
    0% { transform: translateY(-20px) scale(0.8); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(105vh) scale(1); opacity: 0; }
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .block {
        padding: 25px 20px;
    }
}