@charset "UTF-8";

/*==================================================
黒島天主堂 固有スタイルシート
==================================================*/

#main {
    padding: 30px 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 40px;
}

.page-title-area {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #334e38;
}

.page-title-area h2 {
    font-size: 1.8rem;
    color: #1e3222;
    margin-bottom: 10px;
}

.lead-text {
    font-size: 1rem;
    color: #555;
}

.content-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 1.4rem;
    color: #1e3222;
    border-left: 5px solid #334e38;
    padding-left: 12px;
    margin-bottom: 20px;
}

.section-desc {
    margin-bottom: 20px;
    color: #444;
}

.alert-box {
    background-color: #fdf3f2;
    border-left: 4px solid #d9534f;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 4px 4px 0;
}

.alert-title {
    font-weight: bold;
    color: #d9534f;
    margin-bottom: 8px;
}

.flow-container {
    background: #f7f9f6;
    padding: 25px;
    border-radius: 4px;
}

.flow-container h4 {
    margin-bottom: 20px;
    color: #1e3222;
}

.flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flow-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
}

.flow-list li:last-child {
    margin-bottom: 0;
}

.flow-list li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 45px;
    width: 2px;
    height: calc(100% - 25px);
    background: #334e38;
}

.step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: #334e38;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
}

.flow-list h5 {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.info-card {
    background: #f0f2eb;
    border: 1px solid #d0d6c5;
    padding: 25px;
    margin-top: 30px;
    border-radius: 4px;
}

.info-card h4 {
    color: #1e3222;
    margin-bottom: 15px;
}

.info-card ul {
    padding-left: 20px;
}

.info-card li {
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 3px;
    color: #fff;
}

.badge.bad { 
    background-color: #d9534f; 
}
.badge.ok { background-color: #5cb85c; }

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.responsive-table th, .responsive-table td {
    border: 1px solid #ccc;
    padding: 12px 15px;
    text-align: left;
}

.responsive-table th {
    background-color: #1e3222;
    color: #fff;
}

.responsive-table tr:nth-child(even) {
    background-color: #fcfdfe;
}

@media screen and (max-width: 768px) {
    #container { 
        width: 100%; 
        padding: 0 10px; 
    }
    #main { 
        padding: 10px; 
    }
    .page-title-area { 
        margin-bottom: 0; 
    }
    .page-title-area h2 { 
        font-size: 1.5rem; 
        text-align: left; 
        text-indent: 0.5em; 
    }
    #RESERVATION { 
        padding: 10px; 
        margin-bottom: 0; 
    }
    #MANNER { 
        padding: 10px; 
        margin-bottom: 0; 
    }

    .responsive-table, .responsive-table thead, .responsive-table tbody, .responsive-table th, .responsive-table td, .responsive-table tr {
        display: block;
    }
    .responsive-table thead { 
        display: none; 
    }
    .responsive-table tr {
        margin-bottom: 15px;
        border: 1px solid #d0d6c5;
        background: #fff;
        border-radius: 4px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.02);
        padding: 5px 0;
    }
    .responsive-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 40% !important;
        text-align: right;
    }
    .responsive-table td:last-child { border-bottom: none; }
    .responsive-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 35%;
        text-align: left;
        font-weight: bold;
        color: #1e3222;
    }
}