@charset "utf-8";

.home-search-wrap {
    width: 90vw;
    border: 1px solid black;
    border-radius: 10px;
    margin: 20px auto;
    padding: 30px;
}

.home-image-wrap {
    position: relative;
    height: 50vh;
    width: 100%;
}

.home-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.home-image-message {
    position: absolute;
    top: 55%;
    left: 5%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    font-size: 2rem;
    font-weight: 800;
    font-family: "Shippori Mincho", serif;
    animation: homeImageMessage 1.5s ease-out forwards;
}

@keyframes homeImageMessage {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.home-content-wrap {
    width: 90vw;
    margin: 20px auto 60px;
}

/*モバイル版では、サイドバーは隠す*/
.side-column {
    display: none;
}

.search-field-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.search-field {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.search-filed input {
    height: 40px;
    width: 100%;
    padding: 10px;
}

.home-search-btn-wrap {
    display: flex;
    justify-content: center;
    margin: 40px auto 10px;
}

.home-search-btn-wrap>button {
    width: 50%;
    height: 60px;
    border: none;
    border-radius: 10px;
    background-color: #E63946;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.search-field-label {
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    margin: 50px 0 15px;
}

.feature-card h4 {
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0a415;
    font-size: 1.3rem;
}

.journey-intro-section {
    margin: 30px auto;
}

.journey-intro-section img {
    width: 100%;
    height: 40vh;
    object-fit: cover;
}

.journey-messages {
    margin-top: 15px;
    font-size: 1.3rem;
}

.find-trip-wrap {
    margin-top: 15px;
}

.go-search-wrap {
    width: 100%;
    height: 50px;
    margin-top: 40px;
}

.go-search {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
    background-color: #f0a415;
    color: white;
}

.feature-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    border: 1px solid black;
    border-radius: 10px;
    padding: 15px;
}

.feature-card img {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    object-fit: contain;
}

.section-hero-message {
    margin: 30px auto;
}

.section-hero-message img {
    min-width: 100%;
    max-width: 100%;
    height: 40vh;
    object-fit: cover;
}

.registration-user-link-wrap {
    width: 100%;
    height: 50px;
    margin-top: 40px;
}

.registration-user-link-wrap a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    background-color: #f08b15;
    color: white;
}

.hero-message {
    line-height: 2;
}

.fade-in {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 2s ease, transform 2s ease;
}

.card-fade-in {
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 2s ease, transform 2s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-fade-in.card-visible {
    opacity: 1;
    transform: translateY(0);
}


/*広告枠のテンプレ*/

.advertisement-wrap {
    width: 100%;
    margin: 20px auto 0;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(162, 160, 160, 0.8);
    /*お店と広告の区切りとして入れる*/
}

.advertisement-text {
    text-align: right;
    margin-bottom: 5px;
    margin-right: 5px;
    font-size: 1.2rem;
}

.advertisement-area {
    text-decoration: none;
    color: black;
    border: 2px solid black;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 5/3;
    background-color: #FFF4E5;
    overflow: hidden;
}

.advertisement-area p {
    margin-bottom: 10px;
}

.ad-banner-headline {
    background-color: #FFA500;
    border-radius: 10px;
    padding: 8px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.ad-banner-description {
    font-size: 0.8rem;
}

.ad-banner-price {
    font-size: 1rem;
    font-weight: 600;
}

.ad-banner-price span {
    /* background: linear-gradient(to bottom, transparent 75%, #f59494 75%); */
    background: linear-gradient(to bottom,
            rgba(255, 213, 79, 0) 0%,
            rgba(255, 213, 79, 0.6) 60%,
            rgba(255, 213, 79, 1) 100%);
}

.ad-banner-note {
    font-size: 0.8rem;
}


@media(min-width:650px) {

    .journey-intro-section img {
        height: 60vh;
        object-fit: cover;
    }

    .feature-card img {
        width: 100%;
        height: 45vh;
    }

    .section-hero-message img {
        height: 60vh;
    }
}

@media(min-width:768px) {

    /*ホームの一番下に入る広告枠*/
    .advertisement-area {
        padding: 30px;
        aspect-ratio: 5/2;

    }
}

@media(min-width:1000px) {
    .feature-wrap {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .feature-card {
        flex: 1;
        height: 100%;
        min-height: 615px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3 ease;
    }

    .feature-card img {
        height: 40vh;
        max-height: 400px;
    }
}

@media (min-width:1200px) {
    .home-wrap {
        max-width: 1500px;
        margin: 0 auto;
    }

    .home-image-wrap {
        width: 100%;
        height: 100vh;
        max-height: 1000px;
    }

    .home-image-message {
        font-size: 3rem;
        font-weight: 900;
        top: 30%;
    }

    .home-content-wrap {
        width: 100%;
        margin: 20px 0;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        gap: 1.7rem;
    }

    .main-column {
        flex: 7.5;
        margin-top: 10px;
        width: 100%;
        padding: 10px;
    }

    .home-search-wrap {
        width: 55vw;
        margin: 20px auto;
    }

    .home-search-btn-wrap {
        margin: 60px auto 30px;
    }

    .go-search-wrap {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3 ease;
    }

    .go-search-wrap:hover {
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
        transform: scale(1.05);
    }

    .journey-intro-section img {
        height: 70vh;
        max-height: 890px;
    }

    .journey-messages {
        font-size: 2rem;
    }

    .feature-card:hover {
        transform: scale(1.05);
        /*拡大*/
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
        z-index: 10;
    }

    .feature-card h4 {
        height: 65px;
    }

    .section-hero-message img {
        height: 70vh;
        max-height: 890px;
    }

    .registration-user-link-wrap {
        transition: transform 0.3 ease;
        box-shadow: 0 0.4ox 6px rgba(0, 0, 0, 0.1);
    }

    .registration-user-link-wrap:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
    }

    .hero-message {
        line-height: 2.7;
    }

    /*サイドバー↓↓↓*/
    .side-column {
        display: block;
        flex: 2.5;
        background-color: #f8f8f8;
        padding: 10px;
        margin-top: 10px;
    }

    .notice-section {
        width: 100%;
        padding: 20px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        background-color: white;
        border: 1px solid rgba(213, 207, 207, 0.6);
        border-radius: 10px;
        margin: 20px auto;
    }

    .notice-section h3 {
        width: 100%;
        text-align: center;
        margin: 30px auto;
    }

    .notice-section ul {
        list-style-type: none;
        padding-left: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .categories {
        padding: 20px;
    }

    .categories h3 {
        font-weight: 600;
    }

    .categories ul {
        list-style-type: none;
        padding-left: 8px;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        font-size: 1.1rem;
    }

    .categories li {
        border-bottom: 1px solid rgba(150, 150, 150, 0.7);
    }

    .categories .category {
        text-decoration: none;
        color: #0d6efd;
    }


    /*ホームの一番下に入る広告枠*/
    .advertisement-area {
        aspect-ratio: 4/1;
        align-items: center;
        margin: auto;
    }

    .advertisement-text {
        margin-right: 20px;
    }

    /*サイドバーの広告*/
    .side-advertisement {
        padding: 15px 20px;
        aspect-ratio: 5/3;
    }

    .side-advertisement .ad-banner-description {
        display: block;
    }

    .side-advertisement>P {
        margin-bottom: 10px;
        font-size: 0.8rem;
    }

    .ad-banner-headline {
        font-size: 1.4rem;
    }

    .side-advertisement .ad-banner-headline {
        font-size: 0.9rem;
        padding: 10px;
    }

    .side-advertisement .ad-banner-price {
        font-size: 0.9rem;
    }

    .ad-banner-price {
        font-size: 1.3rem;
    }

    .side-advertisement .ad-banner-note {
        font-size: 0.7rem;
    }

}