@charset "UTF-8";

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

html, body {
    width: 100%;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

/* --- Terms Layout --- */
.terms {
    padding: 120px 0;
    color: #e0e0e0;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    line-height: 1.8;
    min-height: 100vh;
}

.terms-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.terms h1 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #e0e0e0;
    letter-spacing: 0.2em;
    margin-bottom: 80px;
    position: relative;
}

.terms h1::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: #d4af37;
}

.terms-lead {
    font-size: 0.9rem;
    color: #999;
    line-height: 2.2;
    text-align: center;
    margin-bottom: 100px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terms-block {
    margin-bottom: 60px;
    position: relative;
    padding-left: 30px;
}

.terms-block::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #d4af37, transparent);
    opacity: 0.2;
    transition: 0.6s;
}

.terms-block:hover::before {
    opacity: 1;
}

.terms-block h2 {
    font-size: 1.15rem;
    color: #d4af37;
    margin-bottom: 20px;
    font-weight: bold;
}

.terms-block p {
    font-size: 0.85rem;
    color: #e0e0e0;
    line-height: 2.2;
    opacity: 0.8;
}

.terms-date {
    margin-top: 120px;
    text-align: right;
    font-size: 0.8rem;
    color: #999;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* --- Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1), transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .terms { padding: 80px 0; }
    .terms h1 { font-size: 1.6rem; }
    .terms-block h2 { font-size: 1rem; }
}

/* ナビゲーション（メニュー全体）を非表示にする */
.navbar, 
.menu-trigger, 
.nav-list {
    display: none !important;
}

/* ロゴを左端（または中央）に配置する調整 */
.header-inner {
    display: flex;
    justify-content: flex-start; /* 左寄せにする場合 */
    /* justify-content: center; に変えるとロゴが真ん中にきます */
    padding: 15px 4%;
    width: 100%;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 15px;
    text-decoration: none;
    color: var(--text-main);
}

/* ヘッダーの土台 */
header {
    width: 100%;
    background: #0a0a0a; /* メインと同じ背景色 */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* ロゴを囲む枠の高さと余白 */
.header-inner.container {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左側に配置 */
    padding: 20px 4%; /* メインページと同じ余白 */
    min-height: 70px; /* バーの太さを維持 */
    box-sizing: border-box;
}

/* 凪 燈（ロゴ全体）の設定 */
.logo {
    display: flex;
    align-items: baseline; /* 漢字と英語の下揃え */
    gap: 15px;            /* 漢字と英語の間隔 */
    text-decoration: none;
    color: #ffffff;       /* 漢字の色（白） */
    font-weight: bold;
}

/* NAGI AKARI（英語部分）の色再現 */
.logo .en {
    font-size: 0.75rem;
    color: var(--main-gold, #d4af37); /* メインの金色を適用 */
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ホバーした時に少し明るくする（リンクだと分かりやすくするため） */
.logo:hover {
    opacity: 0.8;
    transition: 0.3s;
}

/* terms.css の冒頭に追加 */
body {
    font-family: 'Shippori Mincho', serif;
    background-color: #0a0a0a; /* 背景色も合わせておくとロゴが綺麗に見えます */
    color: #ffffff;
}

.logo {
    font-family: 'Shippori Mincho', serif;
    /* その他のロゴ用CSS */
}

header {
    position: fixed;     /* 画面の上部に固定 */
    top: 0;              /* 一番上に配置 */
    left: 0;             /* 左端から配置 */
    width: 100%;         /* 横幅いっぱい */
    z-index: 1000;       /* 他のコンテンツより手前に表示 */
    background: #0a0a0a; /* 背景色（これがないと下の文字が透けます） */
    border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* 境界線を薄く入れると綺麗です */
}

/* ヘッダーを固定すると、下のコンテンツがヘッダーの下に潜り込んでしまうので、
   body またはメインコンテンツのトップに余白を作ります */
body {
    padding-top: 80px; /* ヘッダーの高さに合わせて数値を調整してください */
}