/* ===== オプションサービス案内ページ（naire.twig 準拠） ===== */
.option-page {
    color: #333;
    line-height: 1.8;
}

.option-hero {
    position: relative;
    margin-bottom: 50px;
    border-radius: 12px;
    overflow: hidden;
}

.option-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.option-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    padding: 40px 30px 30px;
}

.option-hero-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

.option-lead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 50px;
    font-size: 1.1rem;
    line-height: 2;
}

.option-section {
    margin-bottom: 60px;
    scroll-margin-top: 80px;
}

.option-section-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.option-section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #e74c3c;
}

.option-about {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    margin-top: 25px;
}

.option-about p {
    margin: 0 0 1em;
}

.option-about p:last-child {
    margin-bottom: 0;
}

.option-about h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 12px;
}

.option-image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 25px 0;
}

@media (max-width: 768px) {
    .option-image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

.option-image-gallery--3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .option-image-gallery--3 {
        grid-template-columns: 1fr;
    }
}

.option-image-card {
    text-align: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.option-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.option-image-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.option-image-card--wide img {
    height: auto;
    max-height: 360px;
    object-fit: contain;
}

.option-image-card-caption {
    padding: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.option-image-wide {
    margin: 25px 0;
    text-align: center;
}

.option-image-wide img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.option-toc-list {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.option-toc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 16px;
    text-decoration: none;
    color: #2c3e50;
    border-bottom: 1px solid #e8e8e8;
    transition: background-color 0.2s ease;
}

.option-toc-item:last-child {
    border-bottom: none;
}

.option-toc-item:hover {
    background: #f5f5f5;
    color: #2c3e50;
    text-decoration: none;
}

.option-toc-item__name {
    font-weight: 600;
    font-size: 0.95rem;
}

.option-toc-item__price {
    font-size: 0.875rem;
    font-weight: normal;
    color: #555;
    white-space: nowrap;
    flex-shrink: 0;
}

.option-toc-item__price--inquiry {
    font-size: 0.8rem;
    color: #888;
}

.option-method-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.option-method-body {
    padding: 30px;
}

.option-price-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 12px;
    margin-top: 25px;
}

.option-price-heading {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 20px;
}

.option-table-wrapper {
    overflow-x: auto;
}

.option-table-two-col {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.option-table-two-col td {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.option-table-two-col td:first-child {
    background: #f8f9fa;
    font-weight: 600;
    width: 40%;
    color: #2c3e50;
}

.option-table-two-col td:last-child {
    text-align: right;
    font-weight: bold;
    color: #e74c3c;
}

.option-table-two-col tr:last-child td {
    border-bottom: none;
}

.option-note-box {
    background: #e8f4fd;
    border-left: 4px solid #3498db;
    padding: 20px 25px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0 0;
}

.option-note-box p {
    margin: 0;
    color: #2c3e50;
}

.option-warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px 25px;
    border-radius: 0 12px 12px 0;
    margin: 0;
}

.option-warning-box p {
    margin: 0;
    color: #856404;
}

.option-steps {
    list-style: none;
    padding: 0;
    margin: 25px 0 0;
}

.option-steps li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.option-steps li:last-child {
    margin-bottom: 0;
}

.option-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    background: #3498db;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.85rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.option-step-body {
    flex: 1;
    font-size: 0.95rem;
    color: #555;
}

.option-step-total {
    display: block;
    margin-top: 8px;
    font-weight: bold;
    color: #e74c3c;
    font-size: 1rem;
}

.option-step-note {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #856404;
}

.option-empty {
    text-align: center;
    padding: 40px;
    color: #666;
    background: #f8f9fa;
    border-radius: 12px;
}
