@charset "UTF-8";

/* header */
.header {
    width: 100%;
    box-sizing: border-box;
}

.mainVisual {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.main_logo {
    color: var(--primary-white);
}

.logo {
    position: absolute;
    width: 100%;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: bold;
    z-index: 10;
    overflow: hidden;
}

.logo::after {
    content: "";
    display: block;
    width: 0;
    height: 1.5px;
    background-color: var(--primary-white);
    margin: 0 auto;
    animation: drawLine 2s ease-out forwards;
}

@keyframes drawLine {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.logo h1 {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 25px;
    margin-bottom: 8px;
}

.logo p {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 0.7px;
    margin-bottom: 20px;
}

.image {
    background-image: url(../image/common/mv.webp);
    position: absolute;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.image_title {
    background-color: var(--primary-gold);
    color: var(--primary-white);
    padding: 5px 50px; /* 横幅を適度に調整 */
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 35px;
    letter-spacing: 1.15px;
    white-space: nowrap; /* テキストを1行に収める */

    position: absolute;
    bottom: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content; /* 内容に応じた幅にする */
}

@media screen and (min-width: 769px) {
    .logo::after{
        height: 3px;
    }

    .logo h1 {
        font-size: 4rem;
        line-height: 45px;
        margin-bottom: 10px;
    }
    
    .logo p {
        font-size: 2rem;
        line-height: 25px; /* 125% */
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .image_title {
        padding: 9px 13%;
        font-size: 2.3rem;
        letter-spacing: 2px;

        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
    }
}/* pc 769px */

/* main */
.main_top {
    padding: 100px 7% 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main_top h2 {
    text-align: left;
    font-size: 1.8rem;
    font-weight: 700;
}

@media screen and (min-width:769px){
    .main_top {
        padding: 180px 7% 100px;
    }

    .main_top h2 {
        font-size: 2.5rem;
        letter-spacing: 18.5px;
    }
}/* pc 769px */

/* FLOW */
.section--flow {
    padding: 0px 20px;
}

.flow_article {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flow_item {
    width: 100%;
    margin-bottom: 80px;
}

.flow_img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 13px;
}

.flow_title {
    width: 100%;
    background-color: var(--primary-gold);
    color: var(--primary-white);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-align: center;
    padding: 3px 0;
    margin-bottom: 13px;
}

.flow_txt {
    font-family: var(--primary-font);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 30px;
    padding: 0 4%;
}

.flow_txt_sob {
    font-family: var(--primary-font);
    font-size: 1.3rem;
    line-height: 23px;
    position: relative;
    padding-left: 2.4em;
    margin-top: 5px;
    margin-bottom: 5px;
}

.flow_txt_sob::before {
    content: "※";
    position: absolute;
    left: 0;
    color: var(--primary-black);
    font-size: 1.1em;
    padding: 0 4%;
}

/* 画面幅が500px以上の場合：2列表示 */
@media screen and (min-width: 500px) {
    .section--flow {
        padding: 0px 4.2%;
    }

    .flow_item {
        width: calc(50% - 10px); /* 2列表示 */
    }
}

/* 画面幅が769px以上の場合：3列表示 */
@media screen and (min-width: 769px) {
    .section--flow {
        padding: 0px 7%;
    }

    .flow_item {
        width: calc(33.333% - 13.333px); /* 3列表示 */
    }

    .flow_img {
        margin-bottom: 20px;
    }
    
    .flow_title {
        font-size: 2rem;
        margin-bottom: 20px;
        padding: 5px 0;
    }

    .flow_txt {
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 30px;
        /* letter-spacing: 1.8px; */
    }

    .flow_txt_sob {
        margin-top: 5px;
        margin-bottom: 5px;
        padding-left: 2.8em;
    }
    
    .flow_txt_sob::before {
        padding: 0 4%;
    }
}

/* Q&A */
.image_sub {
    background-image: url(../image/common/bg-qa.webp);
    position: relative;
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.image_title_sub {
    background-color: var(--primary-gold);
    color: var(--primary-white);
    padding: 5px 50px;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 35px;
    letter-spacing: 1.15px;
    white-space: nowrap;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
}

.category {
    padding: 80px 5.1%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.category_item {
    width: 45%;
    font-family: var(--primary-font);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 2.6px;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 8px;
}

.sab_title {
    margin-top: 0;
}

.qa_article {
    padding: 40px 5.1%;
    font-family: var(--primary-font);
}

.qa_item {
    margin-bottom: 45px;
    border-bottom: 1.5px solid var(--primary-gold);
    padding-bottom: 45px;
}

.area {
    padding: 0 4.3%;
}

.qa_label {
    width: 55px;
    padding: 3px 15px;
    background-color: var(--primary-gold);
    color: var(--primary-white);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4.5px;
    margin-bottom: 15px;
}

.qa_title {
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 1.8px;
    margin-bottom: 20px;
}

.qa_txt {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 1.3px;
}

.qa_txt_sub {
    position: relative; /* 擬似要素の基準 */
    padding-left: 1.4em; /* 記号の分だけ左に余白を作る */
    font-size: 1.3rem;
    line-height: 23px;
    margin-top: 10px;
}

.qa_txt_sub::before {
    content: "※";
    position: absolute;
    left: 0;
    color: var(--primary-black);
    font-size: 1.1em; /* 記号のサイズ */
}

@media screen and (min-width: 769px) {
    .image_sub{
        height: 400px;
    }

    .image_title_sub {
        padding: 9px 13%;
        font-size: 2.3rem;
        letter-spacing: 2px;
        bottom: 150px;
    }

    .category {
        padding: 150px 7%;
        gap: 70px;
    }

    .category_item {
        font-size: 2rem;
    }

    .qa_article {
        padding: 80px 7%;
    }
    
    .area {
        padding: 0 6.5%;
    }
    
    .qa_label {
        width: 120px;
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .qa_title {
        font-size: 2.2rem;
    }
    
    .qa_txt {
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 30px;
    }
    
    .qa_txt_sub {
        padding-left: 1.8em; /* 記号の分だけ左に余白を作る */
        font-size: 1.5rem;
        line-height: 23px;
        margin-top: 20px;
    }
    
    .qa_txt_sub::before {
        font-size: 1.3em; /* 記号のサイズ */
    }
}