* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    -webkit-text-size-adjust: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Yu Gothic', sans-serif;
    color: #4C2107;
    line-height: 1.6;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.logo span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2em;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links .sample {
    display: flex;
    gap: 50px;
    margin: 0;
    padding: 0;
}

.nav-links .sample li {
    list-style: none;
}

.nav-links .sample li a {
    text-decoration: none;
    color: #4C2107;
    font-size: 18px;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.1em;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links .sample li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4C2107;
    transition: width 0.3s ease;
}

.nav-links .sample li a:hover::after {
    width: 100%;
}

main {
    margin-top: 80px;
    min-height: 100vh;
}

.main-image-wrapper {
    position: relative;
    width: 100%;
    height: 800px;
    font-family: 'Libre Caslon Text', 'Noto Serif JP', serif;
    overflow: hidden;
    margin: 20px 20px 0;
    max-width: calc(100% - 40px);
}

.main-image-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url(https://baseec-img-mng.akamaized.net/images/shop_front/liliandress-official-ec/0607049bc7c9d4fb8adf3fb6820c5945.png);
    background-size: cover;
    background-position: center;
    min-width: 1200px;
}

.main-image-top {
    position: absolute;
    top: 120px;
    right: 50px;
    width: auto;
    text-align: right;
}

.main-image-subtext {
    display: inline-block;
    padding: 10px 20px;
    background-color: #D49F89;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.8;
}

.main-image-bottom {
    position: absolute;
    bottom: 50px;
    right: 50px;
}

.main-image-button {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    background-color: #D49F89;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.main-image-button:hover {
    opacity: 0.8;
}

.main-image-button-text {
    margin-right: 10px;
}

.main-image-button-icon {
    font-size: 0.8em;
}

.about-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.about-content h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Yu Mincho', serif;
}

.about-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: #4C2107;
    border-bottom: 2px solid #D49F89;
    padding-bottom: 10px;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content ul {
    list-style: none;
    padding: 0;
}

.about-content li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .about-content {
        margin: 40px auto;
    }
    
    .about-content h1 {
        font-size: 1.8rem;
    }
    
    .about-content h2 {
        font-size: 1.3rem;
    }
}

.concept-message {
    text-align: center;
    padding: 80px 20px;
    background-color: #fff;
}

.concept-message h2 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 40px;
    font-family: 'Yu Mincho', serif;
    color: #4C2107;
}

.concept-message p {
    font-size: 38px;
    line-height: 1.6;
    color: #4C2107;
    font-family: 'Yu Mincho', serif;
}

@media (max-width: 767px) {
    .concept-message {
        padding: 40px 20px;
    }

    .concept-message h2 {
        font-size: 32px;
    }

    .concept-message p {
        font-size: 24px;
    }
}

.category-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.category-box {
    flex: 1;
    background: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.category-box:hover {
    transform: translateY(-5px);
}

.category-box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
}

.category-box h3 {
    font-size: 24px;
    color: #4C2107;
    margin-bottom: 15px;
    font-family: 'Yu Mincho', serif;
}

.category-box p {
    font-size: 16px;
    color: #4C2107;
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #D49F89;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.category-button:hover {
    opacity: 0.8;
}

@media (max-width: 767px) {
    .category-section {
        flex-direction: column;
        margin: 40px auto;
    }

    .category-box {
        margin-bottom: 20px;
    }

    .category-box img {
        height: 200px;
    }
}

.photographer-section {
    padding: 30px 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.photographer-section.animate {
    animation: fadeInUp 1s ease-out forwards;
}

.photographer-info {
    flex: 1;
    max-width: 400px;
    will-change: transform, opacity;
    opacity: 0;
    transform: translateX(-20px);
}

.photographer-section.animate .photographer-info {
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.photographer-info h2 {
    font-size: 24px;
    color: #4C2107;
    margin-bottom: 20px;
}

.photographer-name {
    font-size: 18px;
    margin-bottom: 20px;
}

.photographer-name p {
    font-size: 62px;
    line-height: 1.2;
    font-family: 'Yu Mincho', serif;
    color: #4C2107;
}

.photographer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.photographer-image {
    width: 300px;
    height: 450px;
    overflow: hidden;
    position: relative;
    will-change: transform, opacity;
    opacity: 0;
}

.photographer-section.animate .photographer-image {
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.photographer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.6s ease;
    will-change: transform;
}

.photographer-image:hover img {
    transform: scale(1.05);
}

.about-me-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 40px;
    background-color: #D49F89;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 18px;
}

.about-me-button:hover {
    opacity: 0.8;
}

.arrow-icon {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .photographer-section {
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
    }

    .photographer-info {
        text-align: center;
    }

    .photographer-image {
        width: 250px;
        height: 250px;
    }
}

.photographer-section + .photographer-section {
    margin-top: 120px;
}

@media (max-width: 767px) {
    .photographer-section + .photographer-section {
        margin-top: 80px;
    }
}

.footer {
    background-color: #f8f8f8;
    padding: 60px 0 20px;
    margin-top: 120px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-section h3 {
    font-size: 22px;
    color: #4C2107;
    margin-bottom: 20px;
    font-family: 'Yu Mincho', serif;
}

.footer-section p {
    font-size: 17px;
    line-height: 2;
    color: #4C2107;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #4C2107;
    text-decoration: none;
    font-size: 17px;
    line-height: 2;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #D49F89;
    text-decoration: underline;
}

.footer-social li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social li a i {
    font-size: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.footer-bottom p {
    color: #4C2107;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 80px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 20px;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 15px;
    }
}

.main-image-text {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 40px;
    text-align: center;
}

.main-image-catch {
    font-size: 24px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #4C2107;
}

.main-image-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    color: #D49F89;
}

.main-image-subtitle {
    font-size: 24px;
    color: #4C2107;
}

@media (max-width: 767px) {
    .main-image-text {
        padding: 20px;
    }

    .main-image-catch {
        font-size: 18px;
    }

    .main-image-title {
        font-size: 36px;
    }

    .main-image-subtitle {
        font-size: 18px;
    }
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/sinden.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 60px;
    margin: 0 20px;
    max-width: calc(100% - 40px);
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.2);
    }
}

.hero-content {
    text-align: center;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: -80px;
    position: relative;
    z-index: 1;
}

.hero-catch {
    font-size: 32px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #fff;
    font-family: 'Yu Mincho', serif;
}

.hero-title {
    font-size: 72px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    color: #ffffff;
    font-family: 'Yu Mincho', serif;
}

.hero-subtitle {
    font-size: 36px;
    color: #fff;
    font-family: 'Yu Mincho', serif;
}

@media (max-width: 767px) {
    .hero-content {
        padding: 20px;
    }

    .hero-catch {
        font-size: 24px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .main-image-wrapper {
        margin: 15px 15px 0;
        max-width: calc(100% - 30px);
    }
}

@media (max-width: 767px) {
    .hero-section {
        margin: 0 15px;
        max-width: calc(100% - 30px);
    }
}

/* ソーシャルアイコンのスタイル */
.social-icons {
    display: flex;
    gap: 20px;
    margin-left: 50px;
    padding-left: 50px;
    border-left: 1px solid rgba(51, 51, 51, 0.2);
}

.social-icon {
    font-size: 24px;
    color: #4C2107;
    transition: color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(76, 33, 7, 0.05);
}

.social-icon:hover {
    color: #D49F89;
    transform: translateY(-2px);
    background: rgba(76, 33, 7, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    nav {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 30px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .social-icons {
        gap: 15px;
        margin-left: 30px;
        padding-left: 30px;
    }
}

.terms-content {
    max-width: 1000px;
    margin: 120px auto 0;
    padding: 0 20px;
}

.terms-content h1 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Yu Mincho', serif;
}

.terms-notice {
    text-align: center;
    color: #4C2107;
    margin-bottom: 50px;
}

.terms-section {
    margin-top: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    text-align: left;
}

.terms-section h4 {
    color: #4C2107;
    margin-bottom: 15px;
    font-size: 1.1em;
    margin-top: 30px;
}

.terms-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.terms-content li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #4C2107;
    padding-left: 20px;
    position: relative;
}

.terms-content li:before {
    content: "・";
    position: absolute;
    left: 0;
    color: #4C2107;
}

.terms-content section {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.terms-content section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (max-width: 767px) {
    .terms-content {
        margin-top: 80px;
    }

    .terms-content h1 {
        font-size: 28px;
    }

    .terms-section h4 {
        font-size: 22px;
    }

    .terms-section li {
        font-size: 14px;
    }
}

.law-content {
    max-width: 800px;
    margin: 120px auto 0;
    padding: 0 20px;
}

.law-content h1 {
    font-size: 32px;
    margin-bottom: 50px;
    text-align: center;
    font-family: 'Yu Mincho', serif;
}

.law-table {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.law-table dl {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
}

.law-table dt {
    font-weight: bold;
    color: #4C2107;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.law-table dd {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.8;
}

.law-table .note {
    color: #4C2107;
    font-size: 0.9em;
}

@media (max-width: 767px) {
    .law-content {
        margin-top: 80px;
    }

    .law-table dl {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .law-table dt {
        background: #f8f8f8;
        padding: 10px;
        border-radius: 4px;
    }

    .law-table dd {
        padding: 10px;
        margin-bottom: 15px;
    }
}

.cookie-content {
    max-width: 800px;
    margin: 120px auto 0;
    padding: 0 20px;
}

.cookie-content h1 {
    font-size: 32px;
    margin-bottom: 50px;
    text-align: center;
    font-family: 'Yu Mincho', serif;
}

.cookie-section {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cookie-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D49F89;
}

.cookie-section h3 {
    font-size: 20px;
    margin: 40px 0 20px;
    color: #4C2107;
}

.cookie-section p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.cookie-section ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.cookie-section li {
    margin-bottom: 15px;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .cookie-content {
        margin-top: 80px;
    }

    .cookie-section {
        padding: 20px;
    }

    .cookie-section h2 {
        font-size: 20px;
    }

    .cookie-section h3 {
        font-size: 18px;
    }

    .cookie-section p,
    .cookie-section li {
        font-size: 14px;
    }
}

.allitem-content {
    max-width: 1200px;
    margin: 120px auto 0;
    padding: 0 20px;
}

.allitem-content h1 {
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Yu Mincho', serif;
    font-size: 32px;
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px auto;
    padding: 0 20px;
}

.item-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.item-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.item-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.item-info h3 {
    color: #4C2107;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.item-info p {
    color: #4C2107;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.item-info .price {
    color: #4C2107;
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0;
}

.details-button {
    display: block;
    background: #4C2107;
    color: white;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-top: auto;
}

.details-button:hover {
    background: #3a1905;
}

@media (max-width: 768px) {
    .item-info {
        min-height: 200px;
    }
}

.testimonials {
    padding: 60px 20px;
    background: #fff;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #4C2107;
}

.testimonial-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.slider-arrow {
    background: none;
    border: none;
    font-size: 24px;
    color: #4C2107;
    cursor: pointer;
    padding: 10px;
    z-index: 2;
}

.testimonial-container {
    overflow: hidden;
    position: relative;
    flex: 1;
    min-height: 500px;
}

.testimonial-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    padding: 20px;
    left: 0;
    top: 0;
}

.testimonial-item.active {
    opacity: 1;
    position: relative;
}

.testimonial-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.testimonial-image {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.testimonial-text {
    flex: 1;
    color: #4C2107;
    font-size: 20px;
    line-height: 1.6;
}

.testimonial-text p {
    margin-bottom: 20px;
}

.testimonial-text .note {
    font-size: 15px;
    color: #4C2107;
    margin-top: 30px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
}

.dot.active {
    background: #4C2107;
}

@media (max-width: 768px) {
    .testimonial-content {
        flex-direction: column;
    }

    .testimonial-image {
        width: 100%;
        height: 300px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    .testimonial-container {
        min-height: 700px;
    }
}

/* Contact Page Styles */
.contact-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.contact-content h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Yu Mincho', serif;
}
.contact-info {
    text-align: center;
    margin-bottom: 40px;
    color: #4C2107;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4C2107;
    font-weight: 500;
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #D49F89;
    outline: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
}

.checkbox-label a {
    color: #D49F89;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.submit-button {
    background: #D49F89;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.submit-button:hover {
    background: #C08B75;
}

@media (max-width: 768px) {
    .contact-content {
        margin-top: 80px;
    }

    .contact-form {
        padding: 20px;
    }
}

/* 初期状態（非表示）のスタイル */
.hero-section,
.concept-message,
.category-box {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

/* アニメーション用の共通クラス */
.fade-in {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ドレス購入ページのスタイル */
.dress-purchase-content {
    max-width: 1400px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

.dress-purchase-content h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #4C2107;
}

.dress-notice {
    text-align: center;
    margin: 0 auto 40px;
    max-width: 800px;
    padding: 20px;
    background: #faf7f5;
    border-radius: 8px;
    line-height: 1.8;
}

.dress-notice p {
    margin-bottom: 10px;
    color: #4C2107;
}

.dress-notice p:last-child {
    margin-bottom: 0;
}

.dress-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.dress-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dress-card:hover {
    transform: translateY(-5px);
}

.dress-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.dress-info {
    padding: 20px;
    text-align: center;
}

.dress-info h3 {
    margin: 0 0 10px;
    color: #4C2107;
    font-size: 18px;
}

.dress-info .price {
    color: #4C2107;
    font-size: 16px;
    margin-bottom: 15px;
}

.special-price .price {
    color: #e74c3c;
    font-weight: bold;
}

.inquiry-button {
    display: inline-block;
    background: #D49F89;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.inquiry-button:hover {
    background: #C08B75;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .dress-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .dress-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .dress-grid {
        grid-template-columns: 1fr;
    }

    .dress-card img {
        height: 300px;
    }
}

/* レンタルページのスタイル */
.dress-rental-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
    text-align: center;
}

.dress-rental-content h1 {
    text-align: center;
    font-size: 2.5em;
    color: #4C2107;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.dress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1100px;
}

.dress-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dress-card:hover {
    transform: translateY(-5px);
}

.dress-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.dress-info {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

.dress-info h3 {
    margin: 0 0 10px;
    color: #4C2107;
    font-size: 18px;
}

.dress-info .price {
    color: #4C2107;
    font-size: 16px;
    margin-bottom: 15px;
}

.special-price .price {
    color: #e74c3c;
    font-weight: bold;
}

.inquiry-button {
    display: inline-block;
    background: #D49F89;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-top: auto;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.inquiry-button:hover {
    background: #C08B75;
}

.size-info {
    padding: 20px;
    line-height: 1.8;
    color: #4C2107;
    flex-grow: 1;
}

.size-info p {
    margin-bottom: 8px;
    font-size: 0.95em;
}

/* ドレス画像ギャラリーのスタイル */
.dress-gallery {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.dress-gallery img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.dress-gallery img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ライトボックス/モーダルのスタイル */
.dress-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dress-lightbox-overlay.active {
    opacity: 1;
}

.dress-lightbox-modal {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dress-lightbox-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.dress-lightbox-image-container:active {
    cursor: grabbing;
}

.dress-lightbox-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.dress-lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #4C2107;
    z-index: 10001;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dress-lightbox-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
}

/* インジケーター（点）のスタイル */
.dress-lightbox-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10001;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.dress-lightbox-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.dress-lightbox-indicator.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.3);
}

@media (max-width: 600px) {
    .dress-gallery {
        height: 300px;
    }
    
    .dress-lightbox-modal {
        width: 95%;
    }
    
    .dress-lightbox-close {
        width: 30px;
        height: 30px;
        font-size: 16px;
        top: 10px;
        right: 10px;
    }
    
    .dress-lightbox-indicators {
        bottom: 15px;
        gap: 8px;
        padding: 8px;
    }
    
    .dress-lightbox-indicator {
        width: 8px;
        height: 8px;
    }
}

/* レンタル詳細セクションの調整 */
.rental-notice {
    max-width: 900px;
    margin: 80px auto;
    padding: 40px;
}

.rental-notice h2 {
    text-align: center;
    color: #4C2107;
    margin-bottom: 30px;
}

.rental-details {
    display: grid;
    gap: 30px;
}

.rental-info {
    margin-bottom: 20px;
}

.rental-info h3 {
    color: #4C2107;
    margin-bottom: 10px;
    font-size: 18px;
}

.rental-info .price {
    font-size: 24px;
    color: #4C2107;
    margin-bottom: 10px;
}

.rental-info .includes {
    color: #4C2107;
    margin-bottom: 15px;
}

.rental-info ul {
    list-style: none;
    padding-left: 20px;
}

.rental-info ul li {
    margin-bottom: 5px;
    color: #4C2107;
}

.rental-warning {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.rental-warning p {
    margin-bottom: 10px;
    color: #4C2107;
    line-height: 1.6;
}

.rental-warning .important {
    color: #e74c3c;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .rental-notice {
        padding: 20px;
        margin-bottom: 40px;
    }

    .rental-info .price {
        font-size: 20px;
    }
}

/* タキシードレンタルページのスタイル */
.tuxedo-rental-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
    text-align: center;
}

.tuxedo-rental-content h1 {
    text-align: center;
    font-size: 2.5em;
    color: #4C2107;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* 神殿着ページのスタイル */
.shinden-dress-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 40px;
    text-align: center;
}

.shinden-dress-content h1 {
    text-align: center;
    font-size: 2.5em;
    color: #4C2107;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.shinden-notice {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 20px;
    background: #faf7f5;
    border-radius: 8px;
    line-height: 1.8;
}

.shinden-notice p {
    color: #4C2107; 
    font-size: 1.1em;
}

.tax-included {
    font-size: 0.8em;
    color: #4C2107;
    margin-left: 5px;
}

/* ヘッダーのレスポンシブ対応 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 5px 10px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-links a {
        margin: 5px 0;
        font-size: 0.9em;
    }

    .social-icons {
        margin-top: 5px;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
    }

    .logo span {
        font-size: 1em;
    }

    /* メインコンテンツの調整 */
    .dress-rental-content,
    .tuxedo-rental-content,
    .shinden-dress-content,
    .contact-content,
    .allitem-content {
        padding-top: 140px;
    }
}

@media (max-width: 480px) {
    .nav-links a {
        font-size: 0.8em;
    }

    .social-icons {
        display: flex;
        gap: 10px;
    }

    .social-icon {
        font-size: 1.2em;
    }

    /* メインコンテンツの調整 */
    .dress-rental-content,
    .tuxedo-rental-content,
    .shinden-dress-content,
    .contact-content,
    .allitem-content {
        padding-top: 120px;
    }
}

/* グリッドレイアウトのレスポンシブ対応 */
.dress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1100px;
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px auto;
    padding: 0 20px;
}

/* カードのレスポンシブ対応 */
.dress-card, .item-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* メディアクエリの追加・更新 */
@media (max-width: 768px) {
    /* コンテンツの余白調整 */
    .dress-rental-content,
    .tuxedo-rental-content,
    .shinden-dress-content,
    .contact-content,
    .allitem-content {
        padding: 140px 20px 40px;
    }

    /* 見出しのサイズ調整 */
    h1 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    /* カードの画像サイズ調整 */
    .dress-card img, .item-card img {
        height: 300px;
    }

    /* フッターのレイアウト調整 */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    /* さらに小さい画面用の調整 */
    .dress-grid, .item-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    /* カードのサイズ調整 */
    .dress-card, .item-card {
        max-width: 100%;
    }

    /* 画像の高さ調整 */
    .dress-card img, .item-card img {
        height: 250px;
    }

    /* フッターを1列に */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* お問い合わせフォームの調整 */
    .contact-form {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    input, select, textarea {
        padding: 8px;
    }
}

/* タブレット用の追加調整 */
@media (min-width: 481px) and (max-width: 1024px) {
    .dress-grid, .item-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding: 40px 30px;
    }
}

/* スマートフォン対応の基本設定 */
body {
    -webkit-text-size-adjust: 100%;
}

/* レスポンシブ対応の調整 */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }
}

/* 注文の流れセクション */
.order-flow-section {
    padding: 80px 20px;
    background: #faf7f5;
}

.order-flow-section h2 {
    text-align: center;
    color: #4C2107;
    margin-bottom: 50px;
    font-size: 2em;
}

.flow-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.flow-number {
    width: 40px;
    height: 40px;
    background: #4C2107;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    margin: 0 auto 20px;
}

.flow-item h3 {
    color: #4C2107;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.flow-item p {
    color: #4C2107;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .flow-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .order-flow-section {
        padding: 60px 20px;
    }
}

/* 注文の流れリンクセクション */
.order-guide-section {
    padding: 60px 20px;
    text-align: center;
    background: #ffffff;
}

.order-guide-content {
    max-width: 800px;
    margin: 0 auto;
}

.order-guide-content h2 {
    color: #4C2107;
    font-size: 2em;
    margin-bottom: 20px;
}

.order-guide-content p {
    color: #4C2107;
    margin-bottom: 30px;
    line-height: 1.6;
}

.order-guide-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;    
    padding: 15px 40px;
    background: #D49F89;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.order-guide-button i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.order-guide-button:hover {
    background: #e7b099;
}

.order-guide-button:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .order-guide-section {
        padding: 40px 20px;
    }

    .order-guide-content h2 {
        font-size: 1.6em;
    }
}

/* 注文の流れページのスタイル */
.order-guide-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.order-guide-page h1 {
    text-align: center;
    color: #4C2107;
    margin-bottom: 40px;
    font-size: 2.2em;
}

.order-intro {
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.8;
    color: #4C2107;
}

.order-step {
    margin-bottom: 50px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.order-step h2 {
    color: #4C2107;
    font-size: 1.5em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.step-number {
    background: #D49F89;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 0.8em;
}

.customize-info, .size-list {
    margin-top: 20px;
    padding: 20px;
    background: #faf7f5;
    border-radius: 8px;
}

.size-list ul {
    list-style: none;
    padding: 0;
}

.size-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.size-list li:before {
    content: "・";
    position: absolute;
    left: 0;
    color: #D49F89;
}

.important-notice {
    margin-top: 40px;
    padding: 20px;
    background: #fff3f0;
    border-radius: 8px;
}

.important-notice p {
    color: #4C2107;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .order-guide-page {
        padding: 100px 15px 40px;
    }

    .order-step {
        padding: 20px;
    }
}

/* ニュースセクション */
.news-section {
    padding: 80px 20px;
    background: #ffffff;
}

.news-section h2 {
    text-align: center;
    color: #4C2107;
    margin-bottom: 40px;
    font-size: 2em;
}

.news-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.news-container {
    position: relative;
}

.news-group {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-group.active {
    display: grid;
    opacity: 1;
}

.news-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    padding-bottom: 60px;
}

.news-date {
    color: #D49F89;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.news-item h3 {
    color: #4C2107;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.news-item p {
    color: #4C2107;
    line-height: 1.6;
    font-size: 0.95em;
    margin-bottom: 15px;
}

.news-link {
    position: absolute;
    bottom: 25px;
    right: 25px;
    color: #4C2107;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #D49F89;
}

.news-nav {
    position: relative;
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}


@media (max-width: 768px) {
    .news-group {
        grid-template-columns: 1fr;
    }
    
    .news-nav {
        position: relative;
        margin-top: 20px;
        justify-content: center;
        gap: 15px;
    }

    .news-nav button {
        width: 32px;
        height: 32px;
    }
}

/* 採寸ガイドページのスタイル */
.size-guide-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 20px 40px;
}

.size-guide-content h1 {
    text-align: center;
    color: #4C2107;
    margin-bottom: 40px;
    font-size: 2em;
}

.measurement-guide,
.wearing-guide {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.measurement-guide h2,
.wearing-guide h2 {
    color: #4C2107;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.measurement-steps ol {
    padding-left: 20px;
    margin-bottom: 30px;
}

.measurement-steps li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.measurement-warning {
    background: #FFF5F0;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.measurement-points h3,
.important-notes h3 {
    color: #D49F89;
    margin: 30px 0 15px;
    font-size: 1.2em;
}

.measurement-points ul,
.important-notes ul,
.wearing-guide ul {
    list-style: none;
    padding: 0;
}

.measurement-points li,
.important-notes li,
.wearing-guide li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.measurement-points li:before,
.important-notes li:before,
.wearing-guide li:before {
    content: "•";
    color: #D49F89;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .size-guide-content {
        padding: 100px 20px 20px;
    }
    
    .measurement-guide,
    .wearing-guide {
        padding: 20px;
    }
}

/* ページタイトル用の共通スタイル */
.page-title {
    text-align: center;
    margin: 120px 0 60px;
    color: #4C2107;
    font-family: 'Cormorant Garamond', serif;
    position: relative;
    padding-bottom: 20px;
    font-size: 2.5em;
    letter-spacing: 0.1em;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #4C2107;
}

.page-title .ja {
    display: block;
    font-size: 0.4em;
    margin-top: 10px;
    font-family: 'Yu Gothic', sans-serif;
    color: #4C2107;
    letter-spacing: 0.2em;
}

/* コンテンツエリアの共通スタイル */
.about-content,
.contact-content,
.allitem-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-title {
        margin: 100px 0 40px;
        font-size: 2em;
    }
}

/* Aboutページのスタイル */
.about-section {
    background: white;
    padding: 40px;
    border-radius: 8px;
}

.about-description {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 50px;
    color: #4C2107;
}

.price-section,
.features-section {
    margin-bottom: 40px;
}

.price-section h2,
.features-section h2 {
    color: #4C2107;
    font-size: 1.5em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #D49F89;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.price-label {
    color: #4C2107;
    font-weight: bold;
}

.price-value {
    color: #4C2107;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    color: #4C2107;
    position: relative;
    padding-left: 25px;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D49F89;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .about-section {
        padding: 20px;
    }

    .about-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* オーダーガイドのスタイル */
.guide-description {
    text-align: center;
    margin-bottom: 40px;
    color: #4C2107;
    line-height: 1.8;
}

.flow-image {
    max-width: 1000px;
    margin: 0 auto 60px;
    text-align: center;
}

.flow-diagram {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .guide-description {
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .flow-image {
        margin-bottom: 40px;
        padding: 0 20px;
    }
}
@media screen and(max-width: 480px) {
    img {
    border: 0;
    }
    }
@media screen and(min-width: 1280px) {
    img {
    border: 1px solid red;
    }
}
.sample li {
    list-style: none;
}

/* トップページの商品一覧セクション */
.top-items-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.top-items-title {
    text-align: center;
    font-size: 2.5em;
    color: #4C2107;
    margin-bottom: 10px;
}

.top-items-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #4C2107;
    margin-bottom: 40px;
}

.top-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.top-item-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.top-item-card:hover {
    transform: translateY(-5px);
}

.top-item-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.top-item-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    margin: 0;
    padding: 15px;
    text-align: center;
    color: #4C2107;
    font-size: 1.1em;
}

@media (max-width: 1024px) {
    .top-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top-items-title {
        font-size: 2em;
    }
    
    .top-items-section {
        margin: 40px auto;
    }
}

@media (max-width: 480px) {
    .top-items-grid {
        grid-template-columns: 1fr;
    }
    
    .top-item-card img {
        height: 200px;
    }
}