﻿/* サイズ表示切替 */
.child-group { display: none; }
#estimate-container:has(#type1:checked) #size-group1,
#estimate-container:has(#type2:checked) #size-group2,
#estimate-container:has(#type3:checked) #size-group3 { display: block; }
#estimate-container:has(#type1:checked) #size-group0,
#estimate-container:has(#type2:checked) #size-group0,
#estimate-container:has(#type3:checked) #size-group0 { display: none; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; justify-content: center; color: #fff; height: clamp(260px, 35vh, 420px); border: 1px solid #000; border-radius: 6px; overflow: hidden; margin-top: 1.5rem; background-color: #111; }
.hero__bg { position: absolute; inset: 0; background-image: url('/beerImage.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; filter: saturate(1.05) contrast(0.95); transform: scale(1.02); }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55)); }
.hero__content { position: relative; z-index: 2; text-align: center; padding: 1rem 1.5rem; max-width: 1100px; width: 100%; }
.hero__title { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 700; margin-bottom: 0.4rem; letter-spacing: .02em; }
.hero__subtitle { font-size: clamp(0.95rem, 1.6vw, 1.1rem); margin-bottom: 0.8rem; opacity: 0.95; }
.btn-hero:hover, .btn-hero:focus { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.22); color: #fff; text-decoration: none; }

.order-steps { padding: 0; }
.order-steps .step { border: 1px solid rgba(0,0,0,0.06); background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,0.04); transition: transform .12s ease; }
.order-steps .step:hover { transform: translateY(-4px); }

.step-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
    flex-shrink: 0;
}

.step-badge i {
    font-size: 1.05rem;
    line-height: 1;
    display: inline-block;
}

.step-title {
    font-size: 0.98rem;
}

.step-desc {
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Bootstrap Icons のアイコンサイズ・色を調整 */
.step-icon {
    font-size: 1.25rem;
    color: #6c6c6c;
}

.form-group-card { border: 1px solid rgba(0,0,0,0.06); border-radius: .5rem; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,0.04); overflow: hidden; }
.form-group-card .group-header { padding: .6rem .75rem; border-bottom: 1px solid rgba(0,0,0,0.04); display: flex; align-items: center; justify-content: space-between; }
.group-title { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.group-number { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; color: #fff; align-items: center; justify-content: center; }
.group-number i { font-size: 1rem; line-height: 1; }
.group-name { font-size: 0.98rem; }
.group-body { padding: .75rem; }

/* Estimate partial styles moved to estimate-partial.css */
/* See wwwroot/css/estimate-partial.css */

@media (min-width: 768px) {
    .order-steps { position: relative; }
    .order-steps::before { content: ''; position: absolute; top: 50%; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02)); transform: translateY(-50%); z-index: 0; }
    .order-steps .step { z-index: 2; }
    .order-steps .step .card-body { min-height: 88px; }
}

@media (max-width: 576px) {
    .hero { border-radius: 4px; }
    .hero__content { padding: 0.8rem; }
    .order-steps .step .card-body { padding-left: 0.75rem; }
}
