/*
Theme Name: meviy_partners
*/
.nazo_section_title {
    text-align: center;
}

.nazo_section_title h2 {
    display: inline-block;
    /* font-size: 35px; */
    font-size: clamp(25px, 5vw, 35px);
    font-weight: 600;
    text-align: center;
    color: #0a1464;
    border-bottom: #0a1464 4px solid;
    padding: 0 15px 5px 15px;
}

#nazo_present .nazo_section_title h2,
#nazo_detail .nazo_section_title h2,
#present_all .nazo_section_title h2 {
    color: #fff;
    border-bottom: #fff 4px solid;
}

/* @media screen and (max-width: 700px) {
    .nazo_section_title h2 {
        font-size: 30px;
    }
}

@media screen and (max-width: 500px) {
    .nazo_section_title h2 {
        font-size: 25px;
    }
} */

.page_first_anniversary .sec_wrap {
    max-width: 1400px;
}

.nazo_anchor_btn a {
    display: block;
    float: none;
    margin: 20px auto;
    width: 90%;
    max-width: 300px;
    font-size: 25px;
    font-weight: 600;
    background: linear-gradient(45deg, #B67B03 0%, #DAAF08 45%, #FEE9A0 70%, #DAAF08 85%, #B67B03 90% 100%);
    box-shadow: 5px 5px 0 0 #000;
    color: #000;
    text-decoration: none;
    padding: 10px;
    text-align: center;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.nazo_anchor_btn a:hover {
    opacity: 0.7;
}

@media screen and (max-width: 500px) {
    .nazo_anchor_btn a {
        font-size: 20px;
    }
}



/* Header ---------------------------------*/
.header_nazo {
    background: linear-gradient(to right, #0a1464, #5bbdce);
    height: 500px;
    position: relative;
}

.header_nazo h1 {
    position: relative;
    display: block;
    width: 1400px;
    height: 500px;
    float: none;
    margin: 0 auto;
    z-index: 2;
}

.header_bg {
    position: absolute;
    bottom: 0;
    left: 0;
    /* background: linear-gradient(90deg, transparent 0%, transparent 50%, #f7cd00 50%, #f7cd00); */
    /* background-color: #0a1464; */
    height: 140px;
    width: 100%;
    display: block;
    z-index: 0;
}

@media screen and (max-width: 1400px) {
    .header_nazo {
        height: auto;
    }

    .header_nazo h1 {
        height: auto;
        width: 100%;
        aspect-ratio: 1400 / 500;
    }

    .header_bg {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    .header_nazo h1 {
        aspect-ratio: 1200 / 630;
    }
}

/* @media screen and (max-width: 600px) {
    .header_nazo h1 {
        background: url(../images/first_anniversary/nazo_kv_600x600.jpg)center center no-repeat;
        background-size: contain;
        aspect-ratio: 1;
    }
} */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Introduction --------------------------------*/
#nazo_intro {
    background: #f5f5f5;
}

#nazo_intro h2 {
    font-size: 35px;
    font-weight: 600;
    color: #000;
    text-align: center;
}

#nazo_intro h2 small {
    font-size: 27px;
    padding: 0 3px;
}

@media screen and (max-width: 600px) {
    #nazo_intro h2 {
        font-size: 30px;
    }

    #nazo_intro h2 small {
        font-size: 20px;
        padding: 0 2px;
    }
}

@media screen and (max-width: 500px) {
    #nazo_intro h2 {
        font-size: 25px;
    }

    #nazo_intro h2 small {
        font-size: 16px;
        padding: 0;
    }
}

@media screen and (max-width: 420px) {
    #nazo_intro h2 {
        font-size: 20px;
    }

    #nazo_intro h2 small {
        font-size: 14px;
        padding: 0;
    }
}

.intro_text_area {
    display: flex;
    background: #fff;
    padding: 40px 50px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
    justify-content: center
}

.homes_present {
    width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.homes_present img {
    width: 100%;
    height: auto;
    transform: scale(-1, 1);
}

.intro_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 30px;
}

.intro_text p {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
}

.intro_text p strong {
    font-size: 30px;
    font-weight: 600;
}

.intro_text p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 1200px) {
    .intro_text_area {
        flex-direction: column-reverse;
        padding: 30px;
    }

    .intro_text {
        padding: 0;
    }

    .homes_present {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .homes_present img {
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 600px) {
    .intro_text p {
        font-size: 16px;
        text-align: center;
    }

    .intro_text p strong {
        font-size: 20px;
    }

}


/* プレゼントリスト */
ul.present_list {
    list-style: none;
    padding: 40px 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

ul.present_list li {
     width: calc(20% - 20px);
    margin: 10px;
    padding: 0;
    box-sizing: border-box;
}
.nazo_for_all_img img {
    width: calc(20% - 20px);
    margin: 10px auto;
    height: auto;
}

ul.present_list li img {
    display: block;
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1000px) {
    ul.present_list li {
        width: calc(33% - 20px);
        margin: 10px;
    }
    .nazo_for_all_img img {
        width: calc(33% - 20px);
    }
}

@media screen and (max-width: 600px) {
    ul.present_list li {
        width: calc(50% - 20px);
        margin: 10px;
    }
    .nazo_for_all_img img {
        width: calc(50% - 20px);
    }
}

/* 全員プレゼント */
p.sarani {
    text-align: center;
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-top: 40px;
    color: #000;
}

.nazo_for_all {
    display: block;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
    background: #fff;
    color: #000;
    position: relative;
}

.nazo_for_all_main {
    display: block;
    width: 100%;
    text-align: center;
}

.nazo_for_all_img {
    width: 100%;
    display: flex;
    justify-content: center;
}



.nazo_for_all_text p {
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    color: #000;
}

p.nazo_for_all_detail {
    position: absolute;
    bottom: 10px;
    right: 50px;
    font-size: 20px;
    text-align: right;
    color: #fff;
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    a.nazo_for_all {
        padding: 20px 20px 10px 20px;
    }

    .nazo_for_all_text {
        padding-left: 20px;
    }

    .nazo_for_all_text p {
        font-size: 20px;
    }
}

@media screen and (max-width: 600px) {
    .nazo_for_all_main {
        display: flex;
        flex-direction: column-reverse !important;
        padding-bottom: 50px;
    }

    .nazo_for_all_img {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }

    .nazo_for_all_img img {
        width: 200px;
        height: 200px;
    }

    .nazo_for_all_text {
        padding: 0;
    }

    .nazo_for_all_text p {
        text-align: center;
    }

    p.nazo_for_all_detail {
        width: 100%;
        position: relative;
        bottom: auto;
        right: auto;
        text-align: center;
        margin-top: 0px;
    }
}

/* 抽選に参加する方法​ ------------------------------*/
#nazo_howto {
    background: #fff;
}

#nazo_howto .sec_wrap {}

p.nazo_howto_intro {
    text-align: center;
    font-size: clamp(20px, 3vw, 25px);
    color: #0a1464;
}

ul.nazo_step {
    list-style: none;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 0;
}

ul.nazo_step li {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 15px;
    width: calc(33% - 30px);
    margin: 15px;
    box-sizing: border-box;
    text-align: center;
    color: #0a1464;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.nazo_step_title_text {
    font-size: 20px;
    font-weight: 600;
}

.nazo_step_img {
    width: 100%;
    display: flex;
    justify-content: center;
}

.nazo_step_img img {
    width: 100px;
    height: auto;
}

.nazo_step_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.nazo_step_text p {
    margin: 0px;
}

.nazo_howto_detail p {
    text-align: center;
    color: #0a1464;
}

@media screen and (max-width: 767px) {
    ul.nazo_step {
        flex-direction: column;
        justify-content: flex-start;
    }

    ul.nazo_step li {
        width: 95%;
        max-width: 400px;
        margin: 15px auto;
        float: none;
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
        padding: 10px 20px;
    }

    .nazo_step_img img {
        width: 70px;
        height: auto;
    }

    .nazo_step_text {
        text-align: left;
        min-height: 90px;
        height: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 400px) {
    ul.nazo_step li {
        font-size: 15px;
    }

    .nazo_howto_detail p {
        font-size: 11px;
    }
}

/* プレゼント -------------------------------------------------------------*/

#nazo_present {
    background: linear-gradient(to right, #0a1464, #5bbdce);
}

p.nazo_present_intro {
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

ul.nazo_present_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0;
    padding: 0;
}

ul.nazo_present_list li {
    background: #fff;
    width: calc(20% - 30px);
    margin: 15px;
    padding: 0;
    -moz-border-radius: 15px;
    border-radius: 15px;
    list-style-type: none;
    text-align: center;
    overflow: hidden;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.nazo_present_number {
    font-size: 15px;
    font-weight: 600;
    background: #0a1464;
    color: #fff;
    padding: 10px;
    line-height: 160%;
}

.nazo_present_number .duration {
    font-size: 20px;
}

.nazo_present_amount {
    font-size: 25px;
    font-weight: 600;
    color: #000;
}

.nazo_present_name {
    background: linear-gradient(45deg, #B67B03 0%, #DAAF08 45%, #FEE9A0 70%, #DAAF08 85%, #B67B03 90% 100%);
    color: #000;
    padding: 0px 10px 10px 10px;
    height: 100%;
}

.nazo_present_name_prefecture {
    display: inline-block;
    font-size: 14px;
    line-height: 100%;
    border-bottom: 2px solid #000;
    line-height: 100%;
    padding: 0 10px 3px 10px;
    margin-bottom: 5px;
}
.nazo_present_name_prefecture_space{
    display: inline-block;
    height: 14px;
}

.nazo_present_name_name {
    font-size: 22px;
    font-weight: 600;
    line-height: 140%;
}

.nazo_present_name_name .name_small {
    font-size: 18px;
}

.lets_start {
    margin-bottom: 40px;
}

.lets_start p {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

@media screen and (max-width: 1200px) {
    ul.nazo_present_list {
        justify-content: center;
    }

    ul.nazo_present_list li {
        width: 200px;
    }

    .nazo_present_name {}

}

@media screen and (max-width: 750px) {
    ul.nazo_present_list li {
        width: calc(33% - 20px);
        margin: 10px;
    }

    .nazo_present_number {
        font-size: 12px;
    }

    .nazo_present_number .duration {
        font-size: 16px;
    }

    .nazo_present_amount {
        font-size: 18px;
    }

    .nazo_present_name_name {
        font-size: 18px;
    }

    .nazo_present_name_name .name_small {
        font-size: 15px;
    }

    .lets_start {
        margin-bottom: 40px;
    }

    .lets_start p {
        font-size: 25px;
    }
}

@media screen and (max-width: 600px) {
    ul.nazo_present_list li {
        width: calc(50% - 20px);
        margin: 10px;
    }

    .lets_start p {
        font-size: 22px;
    }
}

@media screen and (max-width: 440px) {
    .lets_start p {
        font-size: 20px;
    }

    .nazo_present_name_name .name_small {
        font-size: 14px;
    }
}

/* 謎 ---------------------------------------------------*/
#nazo_1, #nazo_3, #nazo_5 {
    background: #fff;
}

#nazo_2, #nazo_4 {
    background: #f5f5f5;
}

.nazo_title {
    text-align: center;
}

.nazo_title h2 {
    width: 585px;
    /* 835 x 100 */
    height: 70px;
    text-indent: -900px;
    overflow: hidden;
    float: none;
    margin: 40px auto 20px auto;

}

@media screen and (max-width: 600px) {
    .nazo_title h2:before {
        padding-top: 12%;
    }

    .nazo_title h2 {
        width: 100%;
        height: auto;
    }
}



.nazo_title.nazo_inactive h2 {
    filter: grayscale(100%);
    opacity: 0.4;
}

.nazo_answer_btn a {
    display: block;
    float: none;
    margin: 20px auto;
    width: 90%;
    max-width: 400px;
    padding: 10px;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(45deg, #B67B03 0%, #DAAF08 45%, #FEE9A0 70%, #DAAF08 85%, #B67B03 90% 100%);
    color: #000;
    -moz-border-radius: 10px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 5px 5px 0 0 #000;
}

.nazo_not_started .nazo_answer_btn a {
    background: #b7b7b7;
    color: #fff;
    pointer-events: none
}

.nazo_answer_btn a:hover {
    opacity: 0.7;
}

.nazo_img {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    -moz-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

.nazo_img img {
    padding: 0;
    margin: 0;
}

.nazo_img.nazo_after {
    margin-bottom: 30px;
}

.nazo_img.nazo_after img {
    filter: grayscale(100%);
    opacity: 0.7;
}

.nazo_img_duration {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: #7d7d7d;
    margin-bottom: 20px;
}

@media screen and (max-width: 600px) {
    .nazo_answer_btn a {
        font-size: 20px;
    }
}

/* ヒント用アコーディオン */
.nazo_accordion {
    max-width: 400px;
    margin: 1.5rem auto;
    font-family: sans-serif;
}

.nazo_accordion_item {
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 12px;
}

.toggle {
    display: none;
}

.summary {
    display: block;
    padding: 12px 16px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    user-select: none;
    /* padding-right: 48px; */
    text-align: center;
}

/* 丸 */
.icon {
    position: absolute;
    right: 16px;
    top: 50%;
    width: 22px;
    height: 22px;
    border: 2px solid #555;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* 横棒 */
.icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: #555;
    transform: translate(-50%, -50%);
}

/* 縦棒（デフォルトは表示＝＋） */
.icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 12px;
    background: #0a1464;
    transform: translate(-50%, -50%);
}

/* チェック時は縦棒を消して「−」にする */
.toggle:checked+.summary .icon::after {
    display: none;
}

/* パネル開閉 */
.panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .3s ease, opacity .3s ease;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 16px;
}

.toggle:checked~.panel {
    max-height: 300px;
    padding: 0 16px 16px;
    opacity: 1;
}

.extra {
    display: inline;
}

.toggle:checked+.summary .extra {
    display: none;
}

/* パネル内 */
.panel {
    display: flex;
    gap: 20px;
}

.panel_text,
.panel_img {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panel_img img {
    width: 100px;
}
.panel_text{
    width: calc(100% - 100px)
}
@media screen and (max-width: 600px) {
    .panel {
        flex-direction: column;
        gap: 0;
    }
    #nazo_2 .panel,
    #nazo_4 .panel {
        flex-direction: column-reverse;
    }
    .panel_img{
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
    .panel_img img {
        width: 100px;
    }
    .panel_text{width: 100%;}
}

/* 全員に --------------------------------------*/

#present_all {
    background: linear-gradient(to right, #0a1464, #5bbdce);
    color: #fff;
}

.nazo_all_text {}

.nazo_all_text p {
    text-align: center;
    font-size: 30px;
    padding-left: 20px;
    font-weight: 600;
    color: #fff;
}

.nazo_all_text p strong {
    display: inline-block;
    background: #fff;
    color: #0a1464;
    padding: 0px 15px;
    font-size: 25px;
    margin-bottom: 15px;
}

.nazo_all_present {
    display: flex;
    justify-content: center;
    margin: 20px 0 50px 0;
    gap: 50px;
}

.nazo_all_img {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nazo_all_img img {
    width: 300px;
    height: 300px;
}

ul.nazo_all_step {
    flex-direction: column;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.nazo_all_step li {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 15px 0;
    padding: 5px 40px;
    gap: 0 20px;
    background: #fff;
    color: #0a1464;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.nazo_all_step_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.nazo_all_step_title_text {
    font-weight: 600;
    font-size: 20px;
}

.nazo_all_step_img {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nazo_all_step_img img {
    width: 60px;
    height: 60px;
    margin: 0;
    padding: 0;
}

.nazo_all_step_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.nazo_all_step_text p {
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 20px;
}

@media screen and (max-width: 750px) {
    .nazo_all_present {
        flex-direction: column;
        justify-content: flex-start;
    }

    .nazo_all_img {
        flex-direction: row;
    }

    .nazo_all_img img {
        width: 250px;
        height: 250px;
    }

    .nazo_all_text {
        padding-top: 15px;
        text-align: center;
    }
}

@media screen and (max-width: 450px) {
    .nazo_all_text {
        font-size: 18px;
    }
}

#nazo_cv {
    background: linear-gradient(to right, #0a1464, #5bbdce);
    padding: 20px 0;
}

.nazo_cv_btn a {
    display: block;
    float: none;
    margin: 20px auto;
    padding: 10px;
    font-size: 30px;
    font-weight: 600;
    background: #f7cd00;
    color: #000;
    text-align: center;
    width: 100%;
    max-width: 420px;
    text-decoration: none;
    -moz-border-radius: 10px;
    border-radius: 10px;
    box-shadow: 5px 5px 0 0 #000;
}

@media screen and (max-width: 700px) {
    .nazo_cv_btn a {
        font-size: 20px;
    }
}

@media screen and (max-width: 550px) {
    .nazo_cv_btn a {
        font-size: 18px;
    }
}

/* marketplace 01 ----------------------- */
#nazo_marketplace_1 {
    background: #fff;
}

#nazo_marketplace_1 .sec_wrap {
    max-width: 1000px;
    padding-bottom: 40px;
}

#nazo_marketplace_1 p {
    color: #0a1464;
    font-size: 17px;
}
#nazo_marketplace_1 p.p_service{text-align: center;}
#nazo_marketplace_1 h3{
    color: #0a1464;
    font-size: 25px;
    text-align: center;
}

#nazo_marketplace_2 {
    background: #f5f5f5;
}

ul.mp_point_list {
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
}

ul.mp_point_list li {
    display: flex;
    flex-direction: column;
    width: 270px;
    margin: 15px;
    background: #fff;
    box-sizing: border-box;
    list-style-type: none;
    -moz-border-radius: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.mp_point_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0a1464;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 10px;
    height: 80px;
}

.mp_point_img {
    padding: 10px;
}

.mp_point_img img {
    width: 100%;
    height: auto;
}

.mp_point_text {
    padding: 15px;
    color: #000;
}
ul.nazo_mp_services{
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin: 0;
    padding: 0 50px;
}
ul.nazo_mp_services li{
    list-style-type: none;
    width: 12.5%;
    font-size: 15px;
    color: #0a1464;
    text-align: center;
}
ul.nazo_mp_services li img{
    width: 100%;
    height: auto;
}

@media screen and (max-width: 800px) {
    .mp_point_title {
        font-size: 16px;
    }

    .mp_point_text {
        font-size: 14px;
    }
    ul.nazo_mp_services{
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    }
    ul.nazo_mp_services li{
        width: 25%;
        padding: 15px;
        box-sizing: border-box;
    }
    ul.nazo_mp_services li{font-size: 12px;}
}

@media screen and (max-width: 600px) {
    ul.mp_point_list {
        flex-direction: column;
    }

    ul.mp_point_list li {
        width: 90%;
        max-width: 100%;
    }

    .mp_point_title {
        height: auto;
    }

    .mp_point_title br {
        display: none;
    }

    .mp_point_img {
        display: flex;
        justify-content: center;
    }

    .mp_point_img img {
        width: 100%;
        height: auto;
    }
}


/* 詳細 --------------------------------------------*/
#nazo_detail {
    background-color: #0a1464;
}

.tab-content {
    background: #fff;
    margin-bottom: 40px;
    padding: 0px 50px 30px 50px !important;
}

.tab-content a {
    color: #0f218b;
    text-decoration: underline;
}

.tab-content h3 {
    font-size: 25px;
    font-weight: 600;
    border-left: 7px solid #000;
    padding: 0 0 0 12px;
    color: #000;
    margin: 40px 0 5px 0;
    line-height: 120%;
}

.tab-content p,
.tab-content li {
    font-size: 17px;
    margin-bottom: 5px;
    color: #000;
}

.tab-content ul {
    list-style: disc;
    margin: 15px 0;
    padding: 0 0 0 25px;
}

.tab-content li {
    margin: 0 0 7px 0;
    padding: 0;
}

.detail_character {
    text-align: center;
    padding: 20px 0;
}

.detail_character img {
    width: 150px;
    height: auto;
}

/* タブ全体を囲むコンテナの設定 */
.tab-switch {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    justify-content: center;
    gap: 0 5px;
}

/* 各タブボタンの設定 */
.tab-switch>label {
    flex: 1 1;
    /* タブが均等に幅をとるが、幅を超えると折り返す */
    order: -1;
    /* 上部に表示する */
    position: relative;
    padding: 0.7em 1em;
    background-color: #f2f3f4;
    color: #999;
    text-align: center;
    cursor: pointer;
    transition: 0.3s all;
    padding-top: 1.1em;
}

/* タブボタンのホバーおよび選択状態のスタイル */
.tab-switch>label:hover,
.tab-switch label:has(:checked) {
    background-color: #ffc600;
    color: #000;
    font-size: 20px;
    font-weight: 600;
}

.tab-switch input {
    display: none;
}

.tab-switch>div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
}

.tab-switch label:has(:checked)+div {
    display: block;
}

@media screen and (max-width: 900px) {
    .tab-content {
        padding: 0 30px 30px 30px !important;
    }
}

@media screen and (max-width: 500px) {
    .tab-content h3 {
        font-size: 20px;
    }

    .tab-content p, .tab-content li {
        font-size: 14px;
    }

    .tab-content ul {
        padding-left: 20px;
    }
}

/* FORM ----------------------------------------------------- */
main.page_first_anniversary_form{
    min-height: calc(100vh - 110px) !important;
}
h2.nazo_form_title {
    font-size: 30px;
    text-align: center;
    font-weight: 600;
}

.nazo_form_end {
    display: block;
    width: 100%;
    padding: 30px 0;
    text-align: center;
}

.nazo_form_end p {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    border: 3px solid #555;
    padding: 10px 30px;
    max-width: 800px;
    display: inline-block;
}

#nazo_form {
    display: block;
    clear: both;
    padding: 20px 0;
}

#nazo_form .sec_wrap {
    max-width: 700px;
    background: #f9f9f9;
    margin: 0px auto;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 5px 30px 30px 30px;
}

.nazo_form_area {
    width: 100%;
}

.nazo_form_area .form-wrap {
    width: 100%;
}

.nazo_form_area .mktoForm {
    width: 100%;
}

.nazo_form_area .pd-form-fields {
    width: 100%;
}

#nazo_form h2 {
    display: block;
    padding: 10px;
    float: none;
    margin: 0 auto 30px auto;
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 30px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    border: 2px solid #555;
}

#nazo_form h4 {
    margin: 30px 0 0 0 !important;
    padding: 0;
    width: 100%;
    border-bottom: 2px solid #555;
    font-weight: 600;
    font-size: 1.4em;
}

.about_required {
    text-align: right;
    font-size: 14px;
    color: #EB612A;
}

.nazo_form_area .pd-form {
    display: block;
    width: 100%;
    margin: 20px 0;
}

.nazo_form_area .pd-form .pd-form-row {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 0;
    gap: 20px;
}

.nazo_form_area .pd-form-label,
.nazo_form_area .pd-form-field {
    display: flex;
    flex-direction: column;
    justify-content: flex-start
}

.nazo_form_area .pd-form-label {
    width: 250px;
    padding: 5px 0 0 0;
    box-sizing: border-box;
    font-weight: 600;

}

.nazo_form_area .form_name .pd-form-label {
    width: 50px;
}

.nazo_form_area .form_name .pd-form-field {
    width: calc(50% - 60px);
}

label#label_first_name {
    padding-left: 10px
}

.nazo_form_area .pd-form-required.pd-form-label label:after {
    display: inline;
    content: "＊";
    color: #db0b0b;
    vertical-align: super;
    font-size: smaller;
    font-size: 0.7em;
}

.nazo_form_area .pd-form-field {
    width: calc(100% - 190px);
}

.nazo_form_area .pd-form-field .form_caution {
    font-weight: 600;
    color: #d21c1c;
}

.nazo_form_area .pd-form-field input[type="text"],
.nazo_form_area .pd-form-field textarea,
.nazo_form_area .pd-form-field input[type="email"],
.nazo_form_area .pd-form-field input[type="tel"],
.nazo_form_area .pd-form-field select[type="dropdown"] {
    -webkit-appearance: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 5px;
    outline: none;
    box-shadow: none;
    width: 100%;
}

.nazo_form_area .pd-form-field select[type="dropdown"] {
    -moz-appearance: menulist;
    -webkit-appearance: menulist;
    appearance: menulist;
}

/* checkbox */

.pd-form-field input[type="checkbox"] {
    display: none
}

.pd-form-field input[type="checkbox"]+label {
    box-sizing: border-box;
    cursor: pointer;
    padding: 5px 10px 5px 40px;
    position: relative;
    width: auto;
    display: block;
    border: none;
    background: #fff;
    margin-bottom: 10px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    line-height: 140%;
    font-weight: 500;
}

.pd-form-field input[type="checkbox"]+label:hover {
    background: #c3c3c3;
}

.pd-form-field input[type="checkbox"]+label .cms2022_form_lecture_title {
    margin-bottom: 5px;
    border-bottom: 1px solid #c9c9c9;
    padding-bottom: 5px;
}

.pd-form-field input[type="checkbox"]+label h5 {
    margin-bottom: 5px;
    border-bottom: 1px solid #c9c9c9;
    padding-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}

.pd-form-field input[type="checkbox"]+label small {
    font-size: 0.8em;
}

.pd-form-field input[type="checkbox"]+label::before {
    position: absolute;
    top: 50%;
    left: 10px;
    display: block;
    margin-top: -8px;
    width: 15px;
    height: 15px;
    content: '';
    background: #fff;
    border-radius: 10px;
    border: 2px solid #000;
}

.pd-form-field input[type="checkbox"]:checked+label {
    background: #000;
    color: #fff;
}

.pd-form-field input[type="checkbox"]:checked+label:hover {
    background: #c3c3c3;
}

.pd-form-field input[type="checkbox"]:checked+label::after {
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    content: '';
    display: block;
    height: 7px;
    left: 15px;
    margin-top: -5px;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 7px;
}

.nazo_form_area .pd-form-label label a {
    color: #000;
    text-decoration: underline;
}

.cms_acv_regist .form_time,
.cms_archive .form_time {
    display: none;
}

/* SUBMIT */
.nazo_form_area .pd-form-submit input[id="submit"] {
    display: block;
    width: 300px;
    box-sizing: border-box;
    margin: 30px auto 0px auto;
    padding: 10px;
    background: #EB612A;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    border: none;
    -moz-border-radius: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.nazo_form_area .pd-form-submit input[id="submit"]:hover {
    background: #555;
    color: #fff;
}

@media screen and (max-width: 600px) {
    #nazo_form {
        padding-top: 0;
    }
    #notice_required {
        font-size: 18px;
        margin-bottom: 10px;
    }

    #notice_required small {
        font-size: 14px;
    }

    ul.error_notice li {
        font-size: 15px;
        margin: 0 0 3px 10px
    }

    ul.error_notice li small {
        font-size: 12px;
    }
}

/* 注意事項 */
.form_caution ul {
    display: block;
    float: none;
    padding: 10px 0;
    clear: both;
}

.form_caution ul {
    margin-top: 20px;
    list-style: disc;
    display: block;
    border: 2px solid #555;
    padding: 10px;
    float: none;
    clear: both;
}

.form_caution ul li {
    list-style-type: disc;
    margin: 0 0 0px 25px;
    font-size: 15px;
}

.form_caution a {
    color: #000;
    text-decoration: underline;
}

@media screen and (max-width: 700px) {

    .nazo_form_area .pd-form-label,
    .nazo_form_area .pd-form-field {
        display: block;
        padding: 0;
        width: 100%;
    }

    .nazo_form_area .form_name .pd-form-label,
    .nazo_form_area .form_name .pd-form-field {
        float: left;
    }

    .nazo_form_area .pd-form-label br {
        display: none;
    }

    .nazo_form_area .pd-form-label {
        padding-top: 10px;
    }

    .nazo_form_area .pd-form .pd-form-row.company_address {
        display: block;
        margin-top: 30px;
    }

    .nazo_form_area .pd-form-field input[type="text"],
    .nazo_form_area .pd-form-field textarea,
    .nazo_form_area .pd-form-field input[type="email"],
    .nazo_form_area .pd-form-field input[type="tel"],
    .nazo_form_area .pd-form-field select[type="dropdown"],
    .nazo_form_area .pd-form-field input[type="checkbox"] {
        margin-top: 0px;
        font-size: 1em;
    }

    .pd-form-field input[type="checkbox"]+label.label_privacy_policy {
        font-size: 14px;
    }

    .nazo_form_area .pd-form .pd-form-row {
        display: block;
        float: none;
        width: 100%;
        padding: 5px 0;
    }

    .nazo_form_area .pd-form .pd-form-row.form_name {
        padding: 20px 0 50px 0;
    }

    .nazo_form_area .pd-form-label, .pd-form-field {
        display: block;
        width: 100%;
    }

    .nazo_form_area .pd-form-label {
        padding: 0 0 5px 0;
        margin: 10px 0 0 0;
    }

    .form_caution ul li {
        font-size: 14px;
    }
}

/* エラー表示 */
#notice_required {
    font-size: 22px;
    font-weight: 600;
    background: #EB612A;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
    padding: 10px;
}

#notice_required small {
    font-size: 16px;
}

ul.error_notice li {
    font-size: 18px;
    font-weight: 500;
    color: #EB612A;
    margin: 0px 0px 5px 15px;
    list-style-type: disc;
}

ul.error_notice li small {
    font-size: 14px;
}

.label_highlight {
    color: #EB612A;
}

.nazo_form_area .pd-form-label label.label_highlight a {
    color: #EB612A;
}

@media screen and (max-width: 600px) {
    #notice_required {
        font-size: 18px;
        margin-bottom: 10px;
    }

    #notice_required small {
        font-size: 14px;
    }

    ul.error_notice li {
        font-size: 15px;
        margin: 0 0 3px 10px
    }

    ul.error_notice li small {
        font-size: 12px;
    }
}