@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400&family=Noto+Sans+JP:wght@200;400&display=swap');

html { scroll-behavior: smooth; }

body { 
    margin: 0 !important; 
    padding: 0 !important; 
    background: transparent !important; 
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}

/* ヘッダー */
#rk-header-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 60px;
}

/* ロゴの自動配置（1番目の画像） */
#rk-main-editor .cc-m-image:first-of-type {
    position: fixed;
    top: 25px;
    left: 60px;
    width: 160px;
    z-index: 2000;
}

/* ナビゲーション */
#rk-nav-area ul {
    display: flex !important;
    list-style: none !important;
    gap: 30px;
}

#rk-nav-area a {
    text-decoration: none;
    color: #000;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    letter-spacing: 0.15em;
}

/* メインエリア（ピンクの枠とガイドを削除） */
#rk-main-editor {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 60px 60px;
    min-height: 1000px;
    border: none !important; /* 点線を削除 */
}

/* 見出しのスタイル */
h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    letter-spacing: 0.2em;
    font-weight: 300;
    margin-top: 100px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* フッター */
#rk-footer { padding: 100px 0 50px; text-align: center; font-size: 10px; color: #aaa; }

/* アンカー調整 */
.anchor { display: block; padding-top: 100px; margin-top: -100px; }

/* ==========================================
   スマホ・タブレット対応 (レスポンシブ)
   ========================================== */
@media (max-width: 768px) {
    /* ヘッダーの高さを低く */
    #rk-header-fixed { height: 70px; }
    
    .header-inner { padding: 15px 20px; }

    /* スマホではロゴを中央寄せにする場合が多いですが、今回は左のまま調整 */
    #rk-main-editor .cc-m-image:first-of-type {
        top: 15px;
        left: 20px;
        width: 120px; /* スマホ用に少し小さく */
    }

    /* メニューを小さくして並べる */
    #rk-nav-area ul { gap: 15px; }
    #rk-nav-area a { font-size: 11px; letter-spacing: 0.1em; }

    /* メインの余白をスマホ用に狭める */
    #rk-main-editor { padding: 90px 20px 40px; }
    
    h2 { font-size: 20px; margin-top: 60px; }
}