html, body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'MS PGothic', sans-serif;
    margin: 0;
    padding: 0;
    color: #2c2c2c;
    background-color: #faf8f3;
}

a, .btn-link {
    color: #1a1a2e;
}

.btn-primary {
    color: #fff;
    background-color: #bba957;
    border-color: #0f0f1a;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #0f0f1a;
    border-color: #000;
}

.btn-line {
    color: #fff;
    background-color: #06C755;
    border-color: #05a844;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-line:hover {
    background-color: #05a844;
    border-color: #048a38;
    color: #fff;
}

.btn-tel {
    color: #fff;
    background-color: #bba957;
    border-color: #0f0f1a;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-tel:hover {
    background-color: #0f0f1a;
    border-color: #000;
    color: #fff;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #1a1a2e;
}

/* Hero Section */
.hero-section {
    padding-top: 0.1rem;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(236, 243, 195, 0.5) 0%,rgba(169, 175, 77, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem 0;
}

.hero-section .carousel {
    height: 100%;
}

.hero-section .carousel-inner {
    height: 100%;
}

.hero-section .carousel-item {
    height: 100%;
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    z-index: 3;
    width: 5%;
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.hero-section .carousel-control-prev-icon:hover,
.hero-section .carousel-control-next-icon:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.hero-section .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-section .trust-points {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-section .trust-point {
    font-size: 0.95rem;
    opacity: 0.95;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    min-width: 200px;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Section Styles */
.section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Card Styles */
.antique-card {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    /* height: 100%; */
    background-color: #fefcf8;
}

.antique-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.antique-card h3 {
    color: #1a1a2e;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.antique-card-icon {
    font-size: 3rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

/* Feature Section */
.feature-section {
    background-color: #f7f3ea;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-item i {
    font-size: 3rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #2c2c2c;
    margin-bottom: 1rem;
}

/* Special Section for Tetsubin */
.tetsubin-section {
    background: linear-gradient(135deg, #f7f3ea 0%, #fefcf8 100%);
    padding: 6rem 0;
}

.tetsubin-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.tetsubin-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 2;
    font-size: 1.1rem;
    color: #444;
}

/* Price Example */
.price-example {
    background-color: #fefcf8;
    border: 2px solid #1a1a2e;
    border-radius: 4px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.price-example h4 {
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.price-example .price {
    font-size: 2rem;
    font-weight: bold;
    color: #1a1a2e;
    margin-top: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-buttons .btn {
    min-width: 220px;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Fixed CTA Buttons */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 46, 0.98);
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.fixed-cta .btn {
    flex: 1;
    min-width: 150px;
    max-width: 250px;
}

@media (min-width: 768px) {
    .fixed-cta {
        display: none;
    }
}

/* Responsive */
/* Photo Gallery */
.photo-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background-color: #fefcf8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.photo-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f7f3ea;
    display: block;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 26, 46, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-gallery-item:hover .photo-overlay {
    opacity: 1;
}

.photo-icon {
    font-size: 3rem;
    color: #fff;
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.image-modal-close:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .photo-gallery-item {
        height: 300px;
    }
    
    .image-modal {
        padding: 1rem;
    }
    
    .image-modal-img {
        max-height: 80vh;
    }
    
    .image-modal-close {
        top: -50px;
        font-size: 2.5rem;
    }
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
