@charset "utf-8";
/* fare.css */

/* ナビゲーションの現在ページ表示 */
nav#global ul li#nav_home span.under_mark,
nav#global ul li#nav_company span.under_mark{
	display:none;
}
nav#global ul li#nav_fare span.under_mark{
	display:block;
	height:6px;
	margin-top:10px;
	background:#ffb6c1;
}

/* メインタイトル */
#fare_title {
    text-align: center;
    font-size: 24px;
    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);
}

#fare_title span {
    font-size: 20px;
    color: #666;
    display: block;
    margin-top: 18px;
}

/* コンテンツセクション */
.fare_content {
    width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 4px #ffb6c1;
}

.fare_content h2 {
    font-size: 20px;
    color: #db7093;
    text-align: center;
    margin-bottom: 25px;
    line-height: 28px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffb6c1;
}

.fare_content h3 {
    font-size: 18px;
    color: #333;
    margin: 25px 0 15px 0;
    padding-left: 10px;
    border-left: 4px solid #ffb6c1;
}

.fare_content h4 {
    font-size: 16px;
    color: #555;
    margin: 20px 0 10px 0;
}

.fare_content h5 {
    font-size: 14px;
    color: #666;
    margin: 15px 0 8px 0;
}

/* 運賃テーブル */
.fare_table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.fare_table th {
    background: linear-gradient(to bottom, #fff0f5 0%, #ffb6c1 100%);
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #ffb6c1;
    font-weight: bold;
    color: #333;
}

.fare_table td {
    padding: 10px 8px;
    border: 1px solid #ffb6c1;
    text-align: center;
    background: #fff;
}

.fare_table tr:nth-child(even) td {
    background: #f9f9f9;
}

/* 運賃・料金标签样式 */
/* 運賃・料金标签样式 - 最可靠方案 */
.fare_label {
    background: #fff0f5 !important;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    padding: 20px 8px !important;
    text-align: center;
    white-space: nowrap;
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    line-height: 1.7;
}

.fare_label span {
    display: inline-block;
    transform-origin: center;
    white-space: nowrap;
}


/* 車種リスト */
.vehicle_list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.vehicle_list li {
    padding: 8px 0;
    line-height: 1.6;
    border-bottom: 1px dotted #ddd;
}

.vehicle_list li:last-child {
    border-bottom: none;
}

.vehicle_list strong {
    color: #db7093;
    font-weight: bold;
}

/* 計算方法セクション */
.calculation_method {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #ffb6c1;
}

.fare_detail {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

/* 注記 */
.note {
    color: #666;
    font-style: italic;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

/* リストスタイル */
.fare_content ol, .fare_content ul {
    margin: 10px 0 10px 20px;
}

.fare_content li {
    margin-bottom: 8px;
    line-height: 1.6;
     font-size: 14px; 
}

.fare_content ol {
    list-style-type: decimal;
}

.fare_content ol ol {
    list-style-type: lower-alpha;
}

/* 段落 */
.fare_content p {
    line-height: 1.6;
    margin-bottom: 12px;
    text-align: justify;
    font-size: 14px; 
}

/* レスポンシブ対応 */
@media screen and (max-width: 850px) {
    .fare_content {
        width: 95%;
        margin: 20px auto;
        padding: 15px;
    }
    
    .fare_table {
        font-size: 12px;
    }
    
    .fare_table th,
    .fare_table td {
        padding: 6px 4px;
    }
}