@charset "UTF-8";
/*==============================================================================
1.共通事項
2.fv
3.fv
4.イントロ
5.ブログ
==============================================================================*/


/*============================================================================================================================================================
==============================================================================================================================================================

	1.共通事項

==============================================================================================================================================================
============================================================================================================================================================*/
section + section{
    margin-top: 50px;
}
@media all and (min-width: 768px){
    section + section{
        margin-top: 100px;
    }
}

.top-h2{
    text-align: center;
    font-family: var(--font-sub);
    font-weight: var(--weight-bold);
    font-size: 2.2rem;
}
@media all and (min-width: 769px){
    .top-h2{
        font-size: 3.4rem;
    }
}

/* スライダーのチラ見え防止 */
.slider {
	visibility: hidden;
	opacity: 0;
}
.slider.slick-initialized{
	visibility: visible;
	opacity: 1;
	transition: opacity 0.3s ease;
}
/* カルーセルのチラ見え防止 */
.carousel-wrap ul{
    display: none;
}

/*============================================================================================================================================================
==============================================================================================================================================================

	2.fv

==============================================================================================================================================================
============================================================================================================================================================*/
#fv{
    text-align: center;
    position: relative;

    & .fv-logo{
        width: 200px;
    }

    & .fv-main{
        pointer-events: none;
    }
}

/*==============================================================================

	fv PC

==============================================================================*/
@media all and (min-width: 768px){
    #fv{
        height: auto;

        & .fv-logo{
            width: 420px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
        }

        & .fv-main{
            width: 1400px;
            height: auto;
        }
    }
}


/*============================================================================================================================================================
==============================================================================================================================================================

	3.news

==============================================================================================================================================================
============================================================================================================================================================*/
#news{
    padding: 20px 0;
    background-color: var(--color-font);

    & .inner{
        display: flex;
        gap: 15px;

        & h2{
            flex-shrink: 0;
            color: var(--color-main);
            font-weight: var(--weight-bold);
        }

        & a{
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            overflow: hidden;
            color: #fff;
        }
    }
}

/*==============================================================================

	news PC

==============================================================================*/
@media all and (min-width: 768px){
    #news{
        padding: 40px 20px;

        & .inner{
            gap: 70px;

            & h2{
                font-size: 1.8rem;
            }

            & a{
                font-size: 1.5rem;
            }
        }
    }
}

/*============================================================================================================================================================
==============================================================================================================================================================

	4.intro

==============================================================================================================================================================
============================================================================================================================================================*/
#intro{
    margin-top: 0;
    position: relative;
    z-index: 2;

    & .inner{
        padding-top: 50px;
        padding-bottom: 80px;
        position: relative;
    }

    & h2{
        text-align: center;

        & img{
            max-width: 100%;
            width: 250px;
        }

        & span{
            display: none;
        }
    }

    & .intro-text{
        margin-top: 40px;
        text-align: center;

        & h3{
            font-size: 1.6rem;
            font-weight: var(--weight-bold);
        }

        & p{
            margin-top: 30px;
            font-size: 1.4rem;
            line-height: 2.5;
        }
    }
}


/*==============================================================================

	intro PC

==============================================================================*/
@media all and (min-width: 769px){
    #intro{

        & .inner{
            padding-top: 100px;
            padding-bottom: 160px;
            position: relative;

            &::after{
                left: -170px;
                bottom: -60px;
                width: 657px;
            }
        }

        & h2{
            & img{
                width: 570px;
            }
        }

        & .intro-text{
            margin-top: 80px;

            & h3{
                font-size: 2.8rem;
            }

            & p{
                margin-top: 70px;
                line-height: 3;
            }
        }

    }
}


/*============================================================================================================================================================
==============================================================================================================================================================

	5.blog

==============================================================================================================================================================
============================================================================================================================================================*/
#blog{
    margin-top: 0;
    position: relative;
    background-color: #cea408;
    border-bottom: 10px solid #000;

    /* ボーダー */
    &::after{
        content:"";
        width: 100%;
        height: 10px;
        position: absolute;
        bottom: -30px;
        left: 0;
        background-color: inherit;
    }

    & .inner{
        padding-top: 120px;
        padding-bottom: 50px;
        position: relative;

        &::before{
            content: "";
            position: absolute;
            left: -30px;
            bottom: calc(100%);
            z-index: 2;
            width: 250px;
            aspect-ratio: 657 / 447;
            background: url(../1_img/front/intro-bg.svg) no-repeat center / 100% auto;
        }
    }

    & h2{
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 3;
        text-align: center;
        transform: translateY(-50%);

        & p{
            padding: 20px;
            width: 80%;
            display: inline-block;
            background-color: #000;
            border-radius: 20px;
            color: #fff;
            font-size: 1.6rem;
            font-weight: var(--weight-bold);
            letter-spacing: 0.2em;

            &::after{
                content: "";
                width: 26px;
                aspect-ratio: 42 / 32;
                position: absolute;
                left: 50%;
                top: calc(100% - 1px);
                transform: translateX(-50%);
                background: url(../1_img/front/fukidashi-arrow.svg) no-repeat center / 100% auto;
            }
        }
    }

    & .comingsoon{
        margin-top: 40px;
        text-align: center;
        font-size: 2rem;
        font-weight: var(--weight-bold);
    }

    /* ========== ブログ一覧 ==========  */
    & .post_wrap{
        display: flex;
        flex-wrap: wrap;
        gap: 20px;

        & article{
            width: calc(50% - 10px);
            display: flex;
            flex-direction: column;
            gap: 10px;

            & .text_area{
                order: 2;

                /* タイトル */
                & .article-title {
                    margin-top: 10px;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 1;
                    overflow: hidden;

                    & a{
                        color: #fff;
                        font-size: 1.6rem;
                        font-weight: var(--weight-bold);
                        
                    }
                }

                /* カテゴリと日付 */
                & .cate-date{
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: flex-start;
                    line-height: 1;
                    gap: 10px;
                    font-weight: var(--weight-bold);

                    & .cate{
                        min-width: 80px;
                        padding: 5px 10px;
                        background-color: var(--color-font);
                        color: #fff;
                    }

                    & .date{
                        color: #fff;
                    }
                }
            }

            & .img_wrap{
                order: 1;
                aspect-ratio: 16 / 9;

                & img{
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                }
            }

            &:last-child{
                display: none;
            }
        }

        /* 最初の投稿 */
        & #newpost{
            width: 100%;
            position: relative;

            & .text_area{
                & .newpost-tag{
                    width: 100%;
                    position: absolute;
                    top: -10px;
                    left: 0;
                    transform: translateY(-50%);
                    font-family: var(--font-sub);
                    font-size: 4rem;
                    text-align: center;
                    line-height: 1;
                }

                /* カテゴリと日付 */
                & .cate-date{
                    flex-direction: row;
                    justify-content: start;
                    align-items: center;
                }
            }
        }
    }

    & .btn_wrap{
        margin-top: 50px;
        text-align: center;
    }
}
/*==============================================================================

	blog PC

==============================================================================*/
@media all and (min-width: 769px){
    #blog{
        border-bottom-width: 15px;

        /* ボーダー */
        &::after{
            height: 15px;
            bottom: -45px;
        }

        & .inner{
            padding-top: 180px;
            padding-bottom: 100px;

            &::before{
                left: -170px;
                width: 657px;
                transform: translateY(65px);
            }
        }

        & h2{
            width: 100%;
            transform: translateY(-50%);

            & p{
                width: 480px;
                font-size: 2rem;

                &::after{
                    width: 32px;
                }
            }
        }

        & .comingsoon{
            font-size: 4rem;
        }

        /* ========== ブログ一覧 ==========  */
        & .post_wrap{
            display: flex;
            flex-wrap: wrap;
            gap: 70px 35px;

            & article{
                width: calc( (100% - 70px) / 3 );
                gap: 20px;

                & .text_area{

                    /* タイトル */
                    & .article-title {
                        margin-top: 10px;

                        & a{
                            font-size: 1.6rem;
                            
                        }
                    }

                    /* カテゴリと日付 */
                    & .cate-date{
                        display: flex;
                        flex-direction: row;
                        justify-content: flex-start;
                        align-items: center;
                        gap: 10px;

                        & .cate{
                            padding: 9px 12px;
                            font-size: 1.3rem;
                        }

                        & .date{
                            font-size: 1.3rem;
                        }
                    }
                }

                & .img_wrap{
                    aspect-ratio: 3 / 2;
                }

                &:last-child{
                    display: flex;
                }
            }

            /* 最初の投稿 */
            & #newpost{
                width: 100%;
                flex-direction: row;
                align-items: center;

                & .text_area{
                    padding: 0 60px;
                    width: 50%;

                    /* タイトル */
                    & .article-title {
                        & a{
                            font-size: 1.8rem;
                            
                        }
                    }

                    & .newpost-tag{
                        position: relative;
                        top: 0;
                        left: 0;
                        transform: translateY(0);
                        font-size: 6rem;
                        text-align: left;
                    }

                    /* カテゴリと日付 */
                    & .cate-date{
                        margin-top: 40px;
                        flex-direction: row;
                        justify-content: start;
                        align-items: center;
                    }
                }

                & .img_wrap{
                    flex-shrink: 0;
                    width: 50%;
                }
            }
        }

        & .btn_wrap{
            margin-top: 50px;
            text-align: center;
        }

    }
}