@charset "utf-8";

.wedding {
    margin-block: 80px 160px;
}

.wedding .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wedding .flex .text {
    width: 30%;
    padding-left: 5%;
}

.wedding .flex .text .sectionTitle {
    font-size: 32px;
    font-weight: 700;
    text-shadow: 1px 1px 3px #fafafa;
    margin-bottom: 5px;
}

.wedding .flex .text .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.wedding .flex .text .description {
    font-size: 14px;
}

.wedding .img {
    width: 60%;
}

.wedding .img img {
    width: 100%;
    height: min(40vw, 500px);
    box-shadow: 10px 20px 5px #fff099;
}

.service {
    width: clamp(600px, 70%, 1200px);
    margin: 0 auto;
    text-align: center;
}

.service .sectionTitle,
.fairInfo .sectionTitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
}

.service .container {
    margin-bottom: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(5, 1fr);
    justify-content: center;
}

.service .container .img02 {
    grid-column: 2/4;
    grid-row: 1/2;
}

.service .container .img03 {
    grid-column: 4/5;
    grid-row: 1/3;
}

.service .container .img04 {
    grid-column: 1/4;
    grid-row: 2/4;
}

.service .container .img05_cuisine {
    grid-column: 4/5;
    grid-row: 3/4;
    display: grid;
    place-items: center;
    background-image: url(../img/plate_fromsideway.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #1f1f1fcc;
    background-blend-mode: overlay;
}

.service .container .img06_ceremony {
    grid-column: 1/2;
    grid-row: 4/5;
    display: grid;
    place-items: center;
    background-image: url(../img/wedding.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #1f1f1fcc;
    background-blend-mode: overlay;
}

.service .container .img07 {
    grid-column: 2/3;
    grid-row: 4/5;
}

.service .container .img08 {
    grid-column: 1/2;
    grid-row: 5/6;
}

.service .container .img09_banquet {
    grid-column: 2/3;
    grid-row: 5/6;
    display: grid;
    place-items: center;
    background-image: url(../img/top_main03.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #1f1f1fcc;
    background-blend-mode: overlay;
}

.service .container .img10 {
    grid-column: 3/5;
    grid-row: 4/6;
}

.service .container img {
    object-fit: cover;
}

.service .container .img01 img,
.service .container .img07 img,
.service .container .img08 img {
    width: 100%;
    aspect-ratio: 1/1;
}

.service .container .img02 img {
    width: 100%;
    aspect-ratio: 2/1;
}

.service .container .img03 img {
    width: 100%;
    aspect-ratio: 1/2;
}

.service .container .img04 img {
    width: 100%;
    aspect-ratio: 3/2;
}

.service .container .img10 img {
    width: 100%;
    aspect-ratio: 1/1;
}

.service .container .img05_cuisine,
.service .container .img06_ceremony,
.service .container .img09_banquet {
    color: #fafafa;
    text-shadow: 1px 1px 5px #1f1f1f;
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 600;
    line-height: 2;
    text-align: center;
}

.service .container .img05_cuisine:hover,
.service .container .img06_ceremony:hover,
.service .container .img09_banquet:hover {
    transform: scale(0.9);
}

.service .btn {
    font-size: 20px;
    margin-bottom: 80px;
    padding: 10px 30px;
}

.fairInfo {
    margin-bottom: 80px;
    text-align: center;
}

.fairInfo .container {
    max-width: 1000px;
    padding: 0 20px;
    margin: 0 auto;
}

.fairInfo .item {
    display: flex;
    align-items: center;
    box-shadow: 5px 5px 25px #1f1f1f;
    margin-bottom: 40px;
}

.fairInfo .item.bridalFair02 {
    flex-direction: row-reverse;
}

.fairInfo .item .text {
    width: 44%;
    padding: 1% 5%;
}

.fairInfo .item .text .date {
    font-size: 14px;
    margin-bottom: 5px;
}

.fairInfo .item .text .title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.fairInfo .item .text .description {
    font-size: 12px;
    margin-bottom: 20px;
}

.fairInfo .item .text .viewMore {
    display: inline;
    font-size: 14px;
    position: relative;
}

.fairInfo .item .text .viewMore::before {
    content: "";
    width: 25px;
    height: 1px;
    background-color: #2d004d;
    position: absolute;
    top: 10px;
    right: -30px;
}

.fairInfo .item .text .viewMore::after {
    content: "";
    width: 8px;
    height: 1px;
    background-color: #2d004d;
    position: absolute;
    top: 8px;
    right: -30px;
    transform: rotate(35deg);
}

.fairInfo .item .img {
    width: 56%;
    overflow: hidden;
}

.fairInfo .item.bridalFair01 .img {
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.fairInfo .item.bridalFair02 .img {
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

.fairInfo .item .img img {
    transition: transform .8s ease-out;
}

.fairInfo .item:hover .img img {
    transform: scale(1.1);
}



@media screen and (max-width: 767px) {
    .wedding {
        margin-block: 40px 160px;
    }
    
    .wedding .flex {
        flex-direction: column-reverse;
    }

    .wedding .flex .text {
        width: 100%;
    }

    .wedding .img {
        width: 100%;
        margin-bottom: 40px;
    }

    .wedding .img img {
        width: 100%;
        height: min(60vw, 400px);
        box-shadow: 0 10px 5px #fff099;
    }

    .service {
        width: clamp(300px, 70%, 600px);
    }

    .service .container {
        grid-template-columns: repeat(3, 1fr);
    }

    .service .container .img03 {
        grid-column: 1/3;
        grid-row: 2/3;
    }

    .service .container .img04 {
        grid-column: 3/4;
        grid-row: 2/3;
    }

    .service .container .img05_cuisine {
        grid-column: 1/2;
        grid-row: 3/4;
    }

    .service .container .img06_ceremony {
        grid-column: 2/4;
        grid-row: 3/4;
    }

    .service .container .img07 {
        grid-column: 1/3;
        grid-row: 4/5;
    }

    .service .container .img08 {
        grid-column: 3/4;
        grid-row: 4/5;
    }

    .service .container .img09_banquet {
        grid-column: 1/2;
        grid-row: 5/6;
    }

    .service .container .img10 {
        grid-column: 2/4;
        grid-row: 5/6;
    }

    .service .container .img01 img,
    .service .container .img04 img,
    .service .container .img05 img,
    .service .container .img08 img,
    .service .container .img09 img {
        width: 100%;
        aspect-ratio: 1/1;
    }

    .service .container .img02 img,
    .service .container .img03 img,
    .service .container .img06 img,
    .service .container .img07 img,
    .service .container .img10 img {
        width: 100%;
        aspect-ratio: 2/1;
    }

    .fairInfo {
        margin-bottom: 60px;
    }

    .fairInfo .item {
        flex-direction: column;
        margin-bottom: 20px;
    }

    .fairInfo .item.bridalFair02 {
        flex-direction: column;
    }

    .fairInfo .item .text {
        width: 100%;
        padding: 20px;
    }

    .fairInfo .item .text .viewMore {
        position: static;
        text-decoration: underline;
    }

    .fairInfo .item .img {
        width: 100%;
    }

    .fairInfo .item.bridalFair01 .img,
    .fairInfo .item.bridalFair02 .img {
        clip-path: none;
    }
}