/**
 * 特定商取引法の表記ページ専用スタイル
 * css/businessdeal.css
 * @package Ezodeer_Shop
 */

/* ビジネステーブルスタイル */
.business-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border: 1px solid #ddd;
    table-layout: fixed;
    overflow: hidden;
}

/* テーブルの親要素の幅制限 */
.chart {
    max-width: 100%;
    overflow: hidden;
}

/* セクション内のテーブル幅を統一 */
.section .business-table {
    width: 100%;
    max-width: 100%;
}

/* 店舗情報テーブルの幅調整 */
.chart .business-table {
    width: 100%;
    max-width: 100%;
}

.business-table th,
.business-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.business-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    width: 25%;
    vertical-align: top;
}

.business-table td {
    width: 75%;
    line-height: 1.6;
}

.business-table tr:hover {
    background-color: #f5f5f5;
}

/* ページ基本スタイル */
.wrap {
    position: relative;
    padding-top: 20px;
    padding-bottom: 40px;
    max-width: 1162px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
}

/* パンくずリストの幅調整 */
#bread-crumb {
    width: 100%;
    max-width: 1162px;
    margin: 0 auto;
    padding: 0 32px;
}

/* パンくずリストのスタイル修正 */
#bread-crumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

#bread-crumb li {
    display: flex;
    align-items: center;
}

#bread-crumb li:not(:last-child)::after {
    content: ">";
    margin: 0 10px;
    color: #666;
}

#bread-crumb a {
    color: #0066cc;
    text-decoration: none;
}

#bread-crumb a:hover {
    text-decoration: underline;
}

/* ページタイトルの幅調整 */
#guide h1 {
    max-width: 1162px;
    margin: 0 auto 40px auto;
    padding: 0 32px;
}

@media screen and (min-width: 1198px) {
    .wrap {
        padding-top: 40px;
        padding-bottom: 60px;
    }
}

/* ページタイトル */
.page-ttl {
    max-width: 1162px;
    padding: 0 32px;
    margin: 0 auto 32px;
    text-align: center;
}

.page-ttl .ttl {
    padding: 24px 0;
    font-size: 1.5rem;
    line-height: 1;
    border-top: 1px solid #DBDBDB;
    border-bottom: 1px solid #DBDBDB;
    color: #333;
    font-weight: bold;
}

@media screen and (min-width: 1198px) {
    .page-ttl {
        margin: 0 auto 56px;
    }
    
    .page-ttl .ttl {
        padding: 32px 0;
        font-size: 2.0rem;
        border-top: 1px solid #DBDBDB;
        border-bottom: 1px solid #DBDBDB;
    }
}

/* セクション基本スタイル */
.section:not(:last-of-type) {
    margin: 0 auto 40px;
}

.section {
    max-width: 1162px;
    margin: 0 auto 40px;
    padding: 0 32px;
    overflow: hidden;
}

.section .section-wrap {
    max-width: 1162px;
    padding: 0 32px;
    margin: 0 auto 0;
}


.section .section-ttl {
    padding: 0 0 8px;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    font-weight: 500;
    border-bottom: 1px dotted #1E1E1E;
    color: #333;
}

/* リストスタイル */
.section.shop .line,
.section.returns .line,
.section.payment .line {
    display: flex;
    font-size: 1.2rem;
    letter-spacing: -0.4em;
    border-bottom: 1px dotted #1E1E1E;
}

.section.shop .head,
.section.shop .detail,
.section.returns .head,
.section.returns .detail,
.section.payment .head,
.section.payment .detail {
    display: inline-block;
    letter-spacing: 0.1em;
    vertical-align: top;
}

.section.shop .head,
.section.returns .head,
.section.payment .head {
    width: 26.82%;
    padding: 16px 16px 16px 0;
    font-size: 1.1rem;
    border-right: 1px dotted #1E1E1E;
    background: #f8f8f8;
    font-weight: bold;
    color: #333;
}

.section.shop .detail,
.section.returns .detail,
.section.payment .detail {
    width: calc(100% - 26.82%);
    padding: 16px 8px 16px 16px;
    background: #fff;
}

.txt-area {
    margin: 0;
}

.txt {
    margin: 0 0 10px 0;
    line-height: 1.6;
    color: #333;
}

.txt:last-child {
    margin-bottom: 0;
}

/* PC版スタイル */
@media screen and (min-width: 1198px) {
    .section:not(:last-of-type) {
        margin: 0 auto 50px;
    }
    
    .section .section-ttl {
        padding: 0 0 12px;
        margin: 0 auto 24px;
        font-size: 1.5rem;
        font-weight: 700;
    }
    
    .section.shop .head,
    .section.shop .detail,
    .section.returns .head,
    .section.returns .detail,
    .section.payment .head,
    .section.payment .detail {
        font-size: 1.4rem;
    }
    
    .section.shop .head,
    .section.returns .head,
    .section.payment .head {
        width: 230px;
        padding: 20px 24px 20px 0;
    }
    
    .section.shop .detail,
    .section.returns .detail,
    .section.payment .detail {
        width: calc(100% - 26.82%);
        padding: 20px 8px 20px 16px;
    }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .business-table {
        table-layout: auto;
    }
    
    .business-table th,
    .business-table td {
        width: auto;
        display: block;
        padding: 8px 12px;
    }
    
    .business-table th {
        background-color: #f0f0f0;
        border-bottom: none;
        font-weight: bold;
    }
    
    .business-table td {
        border-bottom: 1px solid #ddd;
        margin-bottom: 10px;
    }
    
    
    .wrap {
        padding-top: 15px;
        padding-bottom: 30px;
    }
    
    .page-ttl {
        padding: 0 20px;
        margin: 0 auto 24px;
    }
    
    .page-ttl .ttl {
        padding: 20px 0;
        font-size: 1.3rem;
    }
    
    .section {
        padding: 0 20px;
    }
    
    .section .section-wrap {
        padding: 0 20px;
    }
    
    .wrap {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    #bread-crumb {
        padding: 0 20px;
    }
    
    #guide h1 {
        padding: 0 20px;
        margin-bottom: 30px;
    }
    
    .section .section-ttl {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .section.shop .line,
    .section.returns .line,
    .section.payment .line {
        flex-direction: column;
        font-size: 1rem;
    }
    
    .section.shop .head,
    .section.returns .head,
    .section.payment .head {
        width: 100%;
        padding: 12px 0 8px 0;
        border-right: none;
        border-bottom: 1px dotted #1E1E1E;
        font-size: 1rem;
        background: #f0f0f0;
    }
    
    .section.shop .detail,
    .section.returns .detail,
    .section.payment .detail {
        width: 100%;
        padding: 12px 0 16px 0;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .wrap {
        padding-top: 10px;
        padding-bottom: 25px;
    }
    
    .page-ttl {
        padding: 0 15px;
        margin: 0 auto 20px;
    }
    
    .page-ttl .ttl {
        padding: 16px 0;
        font-size: 1.1rem;
    }
    
    .section {
        padding: 0 15px;
    }
    
    .section .section-wrap {
        padding: 0 15px;
    }
    
    .wrap {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    #bread-crumb {
        padding: 0 15px;
    }
    
    #guide h1 {
        padding: 0 15px;
        margin-bottom: 25px;
    }
    
    .section .section-ttl {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }
    
    .section.shop .head,
    .section.returns .head,
    .section.payment .head {
        padding: 10px 0 6px 0;
        font-size: 0.9rem;
    }
    
    .section.shop .detail,
    .section.returns .detail,
    .section.payment .detail {
        padding: 10px 0 12px 0;
        font-size: 0.85rem;
    }
    
    .txt {
        line-height: 1.5;
    }
}
