/* ===================================
   Japan Prime Tour 利用規約ページ専用スタイル
   /css/kiyaku.css
=================================== */
h1{
        font-family: var(--font-heading);
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
display: flex;
  align-items: center;
  justify-content: center;
}

h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

/* 利用規約ページ全体のコンテナ */
.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
    line-height: 1.8;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    color: #333;
}

/* メインタイトル */
.terms-content h1 {
    color: #2c3e50;
    text-align: center;
    border-bottom: 3px solid #2b5f75;
    padding-bottom: 20px;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 700;
}

/* 各条項のタイトル */
.terms-content h2 {
    color: #2b5f75;
    margin-top: 35px;
    margin-bottom: 15px;
    padding: 10px 0 10px 15px;
    border-left: 4px solid #2b5f75;
    font-size: 18px;
    font-weight: 600;
    background: rgba(52, 152, 219, 0.05);
}

/* 条項番号の強調 */
.terms-content h2 .article-number {
    font-weight: bold;
    color: #2b5f75;
}

/* 段落スタイル */
.terms-content p {
    margin-bottom: 15px;
    text-align: justify;
    text-justify: inter-ideograph;
}

/* 制定日 */
.terms-content .establishment-date {
    text-align: right;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-weight: bold;
    color: #666;
    font-size: 14px;
}


/* リスト項目がある場合のスタイル */
.terms-content ol,
.terms-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.terms-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* 番号付きリスト */
.terms-content ol li {
    list-style-type: decimal;
}

/* 小項目の番号付きリスト */
.terms-content ol ol li {
    list-style-type: lower-alpha;
}

/* 強調テキスト */
.terms-content strong,
.terms-content b {
    color: #2c3e50;
    font-weight: 600;
}

/* 注意書きや補足情報 */
.terms-content .note {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
    font-size: 14px;
    color: #6c757d;
}

/* レスポンシブデザイン対応 */
@media (max-width: 768px) {
    .terms-content {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .terms-content h1 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .terms-content h2 {
        font-size: 16px;
        margin-top: 25px;
        padding-left: 12px;
    }
    
    .terms-content p {
        font-size: 14px;
        line-height: 1.7;
    }
.terms-content li {
        font-size: 14px;
}
}

@media (max-width: 480px) {
    .terms-content {
        padding: 15px 10px;
    }
    
     h1 {
      font-size: 26px;
    }
    
    .terms-content h2 {
        font-size: 15px;
    }
    
}

/* 印刷時のスタイル */
@media print {
    .terms-content {
        max-width: none;
        margin: 0;
        padding: 20px;
        box-shadow: none;
    }
    
}


/* ===================================
   Japan Prime Tour 利用規約・登録表ページ専用スタイル（多言語対応）
   /css/kiyaku.css
=================================== */

/* 登録表ページ全体のコンテナ */
.terms-content, .registration-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
    line-height: 1.8;
    font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    color: #333;
}

/* 旅行業登録表専用スタイル */
.registration-content {
    max-width: 900px;
}

.registration-content h1 {
    color: #2c3e50;
    text-align: center;
    border-bottom: 3px solid #3498db;
    padding-bottom: 20px;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 700;
}

/* 登録表テーブルスタイル */
.registration-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.registration-table th,
.registration-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.registration-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    width: 25%;
    border-right: 1px solid #e9ecef;
}

.registration-table td {
    background-color: #fff;
    color: #333;
}

.registration-table tr:last-child th,
.registration-table tr:last-child td {
    border-bottom: none;
}

.registration-table tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

/* テーブル内のリンクスタイル */
.registration-table a {
    color:  var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.registration-table a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* 会社名の強調 */
.registration-table .company-name {
    font-weight: 600;
    color: #2c3e50;
}

/* 登録番号の強調 */
.registration-table .registration-number {
    font-weight: 600;
}

/* 日付の強調 */
.registration-table .date {
    font-weight: 500;
}

/* レスポンシブ対応（登録表専用） */
@media (max-width: 768px) {
    .registration-content {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .registration-content h1 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .registration-table {
        font-size: 14px;
    }
    
    .registration-table th,
    .registration-table td {
        padding: 12px 15px;
    }
    
    .registration-table th {
        width: 30%;
    }
}

@media (max-width: 480px) {
    .registration-table {
        font-size: 13px;
    }
    
    .registration-table th,
    .registration-table td {
        padding: 10px 12px;
    }
    
    .registration-table th {
        width: 35%;
        font-size: 12px;
    }
    
    .registration-content h1 {
        font-size: 20px;
    }
}

/* 印刷時のスタイル（登録表用） */
@media print {
    .registration-content {
        max-width: none;
        margin: 0;
        padding: 20px;
        box-shadow: none;
    }
    
    .registration-content .back-link {
        display: none;
    }
    
    .registration-content h1 {
        color: #000;
        border-bottom: 2px solid #000;
    }
    
    .registration-table {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .registration-table th {
        background-color: #f0f0f0 !important;
        color: #000;
        border: 1px solid #000;
    }
    
    .registration-table td {
        border: 1px solid #000;
    }
}

/* 言語別フォント指定 */
.terms-content:lang(en) {
    font-family: 'Noto Sans', 'Arial', 'Helvetica', sans-serif;
}

.terms-content:lang(zh) {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
}

/* 英語版の場合の行間調整 */
body.lang-en .terms-content {
    line-height: 1.6;
}

/* 中国語版の場合の行間調整 */
body.lang-zh .terms-content {
    line-height: 1.8;
    font-family: 'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', 'SimHei', '黑体', sans-serif;
}

/* 中国語の見出しスタイル調整 */
body.lang-zh .terms-content h1 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

body.lang-zh .terms-content h2 {
    font-weight: 600;
    letter-spacing: 0.3px;
}



/* 条項番号の強調 */
.terms-content h2 .article-number {
    font-weight: bold;
    color: #2b5f75;
}

/* 段落スタイル */
.terms-content p {
    margin-bottom: 15px;
    text-align: justify;
    text-justify: inter-ideograph;
}

/* 制定日 */
.terms-content .establishment-date {
    text-align: right;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-weight: bold;
    color: #666;
    font-size: 14px;
}


/* リスト項目がある場合のスタイル */
.terms-content ol,
.terms-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.terms-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* 番号付きリスト */
.terms-content ol li {
    list-style-type: decimal;
}

/* 小項目の番号付きリスト */
.terms-content ol ol li {
    list-style-type: lower-alpha;
}

/* 強調テキスト */
.terms-content strong,
.terms-content b {
    color: #2c3e50;
    font-weight: 600;
}

/* 注意書きや補足情報 */
.terms-content .note {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
    font-size: 14px;
    color: #6c757d;
}

/* レスポンシブデザイン対応 */
@media (max-width: 768px) {
    .terms-content {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .terms-content h1 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .terms-content h2 {
        font-size: 16px;
        margin-top: 25px;
        padding-left: 12px;
    }
    
    .terms-content p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .terms-content .back-link a {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .terms-content {
        padding: 15px 10px;
    }
    
    
    .terms-content h2 {
        font-size: 15px;
    }
    
    .terms-content p {
        font-size: 13px;
    }
}

/* 印刷時のスタイル */
@media print {
    .terms-content {
        max-width: none;
        margin: 0;
        padding: 20px;
        box-shadow: none;
    }
    
    .terms-content .back-link {
        display: none;
    }
    
    .terms-content h1 {
        color: #000;
        border-bottom: 2px solid #000;
    }
    
    .terms-content h2 {
        color: #000;
        border-left: 3px solid #000;
        background: none;
    }
}