/* 初期化処理 */
html{
    line-height: 1;
}
/* ------------------------------------------ */

body{
    font-family: Arial, "Helvetica Neue",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
}

/* 画像の縦横比を崩れにくくする。毎回設定しよう。 */
img{
    max-width: 100%;
    height: auto;
}
/* ------------------------------------------ */

/* Header */
header{
    background-color: #fff;
    height: 80px;
}

.header-inner{
    max-width: 980px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo a{
    width: 179px;
    height: 40px;
}

.header-menu ul{
    display: flex;
}

.header-menu-list{
    margin-right: 20px;
}

.header-menu-list:nth-last-child(1){
    margin-right: 0;
}

.header-menu-list a{
    color: #333;
    font-size: 16px;
    font-weight: bold;
}
/* ------------------------------------------ */



/* First View*/
.fv{
    height: 551px;
    background-image: url(./img/fv.jpg);
    background-size: cover;
    background-position: center;
    /* display: flex; */
    /* flex-direction: column; */
    /* align-items: center;       横方向の中央揃え */
    /* justify-content: center;   縦方向の中央揃え */
    text-align: center;        /* テキストも中央寄せに */
    color: #fff;
    font-weight: bold;
    position: relative; /* 位置を相対的に設定 */
}

.fv-copy{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -30%);
    transform: translate(-50%, -30%);
}

.fv h2{
    font-size: 36px;
}

.fv p{
    font-size: 16px;
    margin-top: 1em; /* h2の下に少し余白 */  
}
/* ------------------------------------------ */


/* my-challenge */
.my-challenge{
    background-color: #fff;
    text-align: center;

}

.heading-title-1{
    font-size: 32px;
    color: #333;
    font-weight: bold;
    margin: 60px 0 50px;
}

.card{
    display: flex;
    justify-content: center;
    gap: 25px; /* カード間の隙間を設定 */
}

.card-item{
    position: relative;
    width: 310px;
    height: 336px;
    padding-bottom: 20px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.card-image{
    width: 310px;
    height: 168px;
}

.card-content h3{
    color: #333;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.card-content p{
    position: absolute;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-left: 20px;
    bottom: 20px;

}

.btn{
    display: inline-block;
    padding: 16px 110px;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    background-color: #fff;
    margin-top: 46px;
    margin-bottom: 88px;
}
/* ------------------------------------------ */

/* just-Continue */
.just-continue{
    background-image: url(./img/bg.jpg);
    height: 455px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;       /* 横方向の中央揃え */
    justify-content: center;   /* 縦方向の中央揃え */
    text-align: center;        /* テキストも中央寄せに */
    color: #fff;
    font-weight: bold;

}

.heading-title-2{
    font-size: 36px;
    margin-top: 60px;
    margin-bottom: 50px;
}

.just-continue p{
    font-size: 16px;
    line-height: 1.75;
}

.cta-btn{
    display: inline-block;
    padding: 18px 25px;
    font-size: 16px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    background-color: #83032A;
    margin-top: 50px;
    margin-bottom: 32px;
    border-radius: 5px;
}
/* ------------------------------------------ */

/* footer */
footer{
    background-color: #333;
    padding: 31px 0 31px;
    text-align: center;
}

.copyright{
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}
/* ------------------------------------------ */



/* Responsive */
/* タブレット目安 */
@media screen and (max-width: 980px){
    .card{
        flex-direction: column;
        text-align: center;
    }

    .card-item{
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    }

    .card-item:nth-last-child(1){
        margin-bottom: 0;
    }
}
/* ------------------------------------------ */

/* スマホ目安 */
@media screen and (max-width: 520px){
    .header-menu-list a{
        font-size: 14px;
    }

    .fv{
    height: 380px;
    }
}
/* ------------------------------------------ */
/* ------------------------------------------ */
