@import "tailwindcss";

html {
    font-family: "Noto Serif JP", serif;
    font-size: 62.5%;
    color: #454545;
    scroll-padding-top: 64px;
}

@theme {
    --color-common-black: #454545;
    --color-main-red: #CA2F3E;
    --color-main-pink: #ECB6B9;
    --color-light-pink: #FDF5F6;
    --color-baige: #FFFAF4;
    --color-light-gray: #f1f1f1;
    --breakpoint-md: 769px;
}

@layer components {
    .header_nav {
        @apply fixed top-[6.2rem] w-full transition-all duration-300 ease-in-out md:fixed bg-light-gray py-[1rem] z-40 h-screen md:top-[11rem] md:h-auto md:shadow-md shadow-none text-center flex flex-col justify-center;
    }
}

.hbgr_barTop {
    rotate: 45deg;
    bottom: 0;
}

.hbgr_barBottom {
    rotate: -45deg;
    top: 0;
}

.slider_img_inner img {
    height: 46vh;
    object-fit: cover;
    width: 100%;
}

@media screen and (min-width:769px) {
    .slider_img_inner img {
        height: 75vh;
    }
}

.pink_bg_to_up::before {
    position: absolute;
    content: '';
    bottom: 5rem;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FDF5F6;
    background: linear-gradient(0deg, rgba(253, 245, 246, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.white_shadow {
    text-shadow: 5px 5px 5px #ffffff, -5px -5px 5px #ffffff,
        -5px 5px 5px #ffffff, 5px -5px 5px #ffffff,
        5px 0 5px #ffffff, -5px 0 5px #ffffff,
        0 5px 5px #ffffff, 0 -5px 5px #ffffff;
}

.red_underline {
    display: inline-block;
    background-image: linear-gradient(to bottom,
            transparent 60%,
            #ECB6B9 60%);
    background-repeat: no-repeat;
    animation: marker 1s ease-in-out forwards;
}

@keyframes marker {
    from {
        background-size: 0%;
    }

    to {
        background-size: 100%;
    }
}

.h2_title::before,
.h2_title::after {
    position: absolute;
    content: '';
    width: 1px;
    height: 50%;
    background-color: var(--color-main-red);
}

.h2_title::before {
    transform: rotate(45deg) translateX(-3rem);
    left: 0;
}

.h2_title::after {
    transform: rotate(45deg) translate(-1rem, -4rem);
    right: 0;
}

.worryCheck::before {
    position: absolute;
    content: url(../images/icon/check.svg);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
}

@media screen and (min-width:769px) {
    .reason_bg::before {
        position: absolute;
        content: '';
        top: 370px;
        left: 0;
        width: 100%;
        height: 30vh;
        background: #FDF5F6;
        background: linear-gradient(90deg, rgb(253, 238, 240) 0%, rgba(255, 255, 255, 1) 100%);
        z-index: 0;
    }
}

.h3_reason::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: inline-block;
    width: 50px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: contain;
}

.h3_reason_01::before {
    background-image: url(../images/reason/num_01.svg);
}

.h3_reason_02::before {
    background-image: url(../images/reason/num_02.svg);
}

.h3_reason_03::before {
    background-image: url(../images/reason/num_03.svg);
}

@media screen and (min-width:769px) {
    .h3_reason::before {
        width: 70px;
        height: 90px;
    }
}

.h4_reason::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 0;
    background-image: url(../images/reason/reason_circle.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    width: 6.2rem;
    height: 4.5rem;
}


@media screen and (min-width:769px) {
    .reason_eyecatch::before {
        position: absolute;
        content: '';
        bottom: 0;
        width: 100%;
        height: 70%;
        background: #FDF5F6;
        background: linear-gradient(180deg, rgba(253, 245, 246, 1) 0%, rgba(255, 255, 255, 1) 100%);
        z-index: 0;
    }

    .reason_eyecatch_01::before,
    .reason_eyecatch_03::before {
        right: 0;
    }

    .reason_eyecatch_02::before {
        left: 0;
    }
}

#aboutPieceAndItero {
    background: #FDF5F6;
    background: linear-gradient(90deg, rgb(253, 238, 240) 0%, rgba(255, 255, 255, 1) 100%);
}

.point_img::before {
    position: absolute;
    content: '';
    bottom: 1.5rem;
    left: 1.5rem;
    width: 5.8rem;
    height: 10.7rem;
}

.point_img_01::before {
    content: url(../images/point/num_01.svg);
}

.point_img_02::before {
    content: url(../images/point/num_02.svg);
}

.point_img_03::before {
    content: url(../images/point/num_03.svg);
}

.point_img_04::before {
    content: url(../images/point/num_04.svg);
}

.point_img_05::before {
    content: url(../images/point/num_05.svg);
}

.point_img_06::before {
    content: url(../images/point/num_06.svg);
}

.h4_cost::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 2.2rem;
    height: 2.2rem;
    background-color: #CA2F3E;
    border-radius: 50%;
}

.cost_h3 {
    top: -2.3rem;
}

@media screen and (min-width:769px) {
    .cost_h3 {
        top: -4.3rem;
    }
}