@charset "utf-8";
/* terms.css */
/* 平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 章节锚点定位调整 */
.terms_section {
    margin-bottom: 40px;
    scroll-margin-top: 20px; /* 滚动时的偏移量，避免被固定导航栏遮挡 */
}
/* ナビゲーションの現在ページ表示 */
nav#global ul li#nav_home span.under_mark,
nav#global ul li#nav_company span.under_mark,
nav#global ul li#nav_fare span.under_mark{
	display:none;
}
nav#global ul li#nav_terms span.under_mark{
	display:block;
	height:6px;
	margin-top:10px;
	background:#ffb6c1;
}

/* メインタイトル */
#terms_title {
    text-align: center;
    font-size: 22px;
    color: #db7093;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(to bottom, #fff0f5 0%, #fff 100%);
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(219, 112, 147, 0.3);
    line-height: 1.4;
}

/* コンテンツセクション */
.terms_content {
    width: 800px;
    margin: 0 auto 40px;
}

/* 修正历史 */
.revision_history {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #ffb6c1;
}

.revision_history h2 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.revision_date {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: bold;
}

.revision_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.revision_list li {
    padding: 8px 0;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    border-bottom: 1px dotted #ddd;
}

.revision_list li:last-child {
    border-bottom: none;
}

/* 目次 */
.table_of_contents {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #b0e0e6;
}

.table_of_contents h2 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.toc_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc_list li {
    padding: 8px 0;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    border-bottom: 1px solid #d0e8f0;
}

.toc_list li:last-child {
    border-bottom: none;
}
.toc_list a {
    color: #444;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.toc_list a:hover {
    color: #db7093;
    background-color: #f0f8ff;
    padding-left: 10px;
    border-radius: 4px;
}

.toc_list a:active {
    color: #c71585;
}

/* 章节 */
.terms_section {
    margin-bottom: 40px;
}

.terms_section h2 {
    font-size: 18px;
    color: #db7093;
    margin: 30px 0 20px 0;
    padding: 12px 15px;
    background: linear-gradient(to bottom, #fff0f5 0%, #f8f8f8 100%);
    border-radius: 6px;
    border-left: 4px solid #ffb6c1;
    font-weight: bold;
}

/* 条款 */
.clause {
    margin-bottom: 25px;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
}

.clause h3 {
    font-size: 15px;
    color: #555;
    margin: 0 0 10px 0;
    padding: 0;
    font-weight: bold;
}

.clause_number {
    font-size: 14px;
    color: #db7093;
    font-weight: bold;
    margin: 0 0 10px 0;
    padding: 0;
}

.clause p {
    font-size: 14px;
    line-height: 1.7;
    margin: 8px 0;
    color: #333;
    text-align: justify;
}

.clause_sub {
    font-size: 14px;
    line-height: 1.7;
    margin: 8px 0 8px 20px;
    color: #555;
    text-align: justify;
}

/* 条款列表 */
.clause_list {
    margin: 10px 0 10px 20px;
    padding: 0;
}

.clause_list li {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 6px;
    color: #333;
    padding-left: 5px;
}

.clause_list li:before {
    content: "（" counter(item) "）";
    counter-increment: item;
    font-weight: bold;
    margin-right: 8px;
}

.clause_list {
    counter-reset: item;
}

/* 表格 */
.clause_table {
    margin: 15px 0;
    overflow-x: auto;
}

.clause_table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.clause_table td {
    padding: 10px 12px;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

.clause_table td:first-child {
    width: 40%;
    font-weight: bold;
    background: #f0f0f0;
}

/* 响应式设计 */
@media screen and (max-width: 850px) {
    .terms_content {
        width: 95%;
        margin: 0 auto 30px;
    }
    
    #terms_title {
        font-size: 18px;
        padding: 15px;
        margin: 20px 0;
    }
    
    .clause {
        padding: 12px;
    }
    
    .clause_table table {
        font-size: 12px;
    }
    
    .clause_table td {
        padding: 8px 10px;
    }
}