@charset "Shift_JIS";

html {
    scroll-behavior: smooth;
}

img {
    vertical-align: top
}

li {
    list-style: none;
    text-decoration: none;
}

a {
    cursor: pointer;
}

.mt8 {
    margin-top: 8px !important;
}

.mt16 {
    margin-top: 16px !important;
}

#page_info {
    width: 100%;
}

#cpm__main {
    color: #333;
}

#info {
    margin-inline: auto;
    color: #000;
    font-size: 12px;
    text-align: right;
}

#info h1 {
    color: #000;
    font-size: 12px;
}

.pankuzu {
    width: 950px;
    margin-inline: auto;
    display: flex !important;
    flex-wrap: wrap;
    font-size: 10px;
    line-height: 1.3;
    color: #666;
}

.pankuzu a:link {
    color: #1B47FF;
}

.pankuzu a:visited {
    color: #9720c9;
}

.pankuzu a:hover {
    color: #ff7d00;
    text-decoration: none;
}

.pankuzu li span {
    padding: 0 3px;
}

.cpm__maincontent {
    width: 950px;
    margin: 0 auto;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.cpm__maincontent a {
    color: #005ebc;
    text-decoration: underline;
}

.cpm__maincontent a:hover {
    opacity: 0.7;
}

.cta {
    text-align: center;
    margin-top: 40px;
}

.cta__btn {
    display: block;
    width: fit-content;
    margin-inline: auto;
}

.cta__btn:hover {
    opacity: 0.7;
   opacity: 1 !important; 
    /* 終了時 */
}

/* 終了時に「.cta__btn」付与するclass */
.end{
    position:relative;
    cursor:default;
}
.end:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "終了しました";
    white-space: pre-wrap;
    color: #ffffff;
    text-align: center;
    font-size: 38px;
    background: rgba(128, 128, 128, 0.6);
    box-sizing: border-box;
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#99ffffff, EndColorStr=#99ffffff);
    zoom: 1;
    filter: none\9;
    -ms-filter: none\9;
    border-radius: 50rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.end_message{
	color: #f50000;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    margin: 30px auto 15px;
}

/*  */
.contents {
    padding: 0 40px;
    margin: 80px 0;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.contents__title {
    color: #005ebc;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    padding: 20px 0;
    text-align: center;
    border-top: 3px dashed #b1b1b1;
    border-bottom: 3px dashed #b1b1b1;
}

.content__lead {
    font-size: 18px;
    font-weight: 700;
    margin: 40px 0 24px;
}

.content__lead--focus {
    color: #fd750d;
}

/* テーブル */
.details__table {
    width: 100%;
    border: 2px solid #d9dfe4;
}

.details__row {
    border-bottom: 2px solid #d9dfe4;
}

.details__th {
    width: 188px;
    color: #005ebc;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 700;
    text-align: start;
    background-color: #eff4f8;
    padding: 13px 0 13px 13px;
    vertical-align: top;
}

.details__td {
    font-size: 16px;
    padding: 13px;
}

.details__ttl {
    display: flex;
    margin-bottom: 8px;
    gap: 6px;
}

.details__tdInner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.details__attention {
    font-size: 12px;
    line-height: 1.3;
}

.details__serviceWrap {
    width: 100%;
    display: inline-flex;
    gap: 6px;
}

.details__service {
    color: #005ebc;
    padding: 2px 8px;
    display: inline;
    font-weight: 700;
    border: 1px solid #005ebc;
    border-radius: 4px;
    white-space: nowrap;
}

.details_txt {
    line-height: 1.6;
}


.details__bold {
    font-weight: 700;
    line-height: 1.6;
}

/* 参加の流れ */
.flows {
    background-color: #eff4f8;
    padding: 40px 25px;
}

.flows__list {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 38px;
}

.flows__item {
    width: 256px;
    padding: 46px 12px 12px 12px;
    background-color: #fff;
    border: 1px solid #005ebc;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    position: relative;
}

.flows__item::before {
    content: "";
    width: 54px;
    height: 32px;
    background: url(../images/tag_01.png) no-repeat center / contain;
    position: absolute;
    top: 0;
}

.flows__item:nth-of-type(2)::before {
    background: url(../images/tag_02.png) no-repeat center / contain;
}

.flows__item:nth-of-type(3)::before {
    background: url(../images/tag_03.png) no-repeat center / contain;
}

.flows__item:nth-of-type(1):after,
.flows__item:nth-of-type(2):after {
    content: "";
    display: block;
    position: absolute;
    width: 14px;
    height: 41px;
    background: url(../images/vector_pc.png) no-repeat center / contain;
    top: 50%;
    transform: translateY(-50%);
    right: -26px;
}

.flows__txt {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
}

.flows__entryBtn {
    margin-top: 8px;
}

.flows__appWrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 13px 0;
}

.flows__app {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.flows__app--app img {
    width: 100%;
    height: auto;
    display: inline-block;
}

.flows__app--google img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flows__itemNote {
    font-size: 12px;
    line-height: 1.3;
    margin-top: 8px;
    margin: 8px 13px 0;
}

.flows__attention {
    font-size: 12px;
    line-height: 1.3;
    margin-top: 24px;
}

.terms__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.terms__title {
    color: #005ebc;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.terms__title::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 22px;
    background-color: #005ebc;
    margin-right: 8px;
}

.terms__items,
.terms__txtWrap {
    margin: 0;
    padding: 0;
}

.terms__txt {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 8px;
    position: relative;
    padding-left: 16px;
}

.terms__txt::before {
    content: "・";
    width: 18px;
    height: 22px;
    display: inline-block;
    position: absolute;
    left: 0;
}

.terms__txt--contact {
    font-weight: 700;
    padding-left: 0;
}

.terms__txt--contact::before {
    content: "";
    width: 0;
    height: 0;
}

.terms__contactURL {
    font-weight: 400;
}

.terms__list {
    padding-left: 4px;
}

.terms__list .terms__txt {
    max-width: 760px;
    padding-left: 10px;
    margin-top: 9px;
}

.terms__list .terms__txt::before {
    content: "‐";
    width: 14px;
    height: 27px;
}

.stickyButton {
    visibility: hidden;
    display: flex;
    justify-content: center;
    position: sticky;
    bottom: 0;
    background-color: #fff;
    transition: all .5s ease 0s;
    opacity: 0;
    transform: translateY(100%);
    padding: 20px;
    margin-block: 60px;
}

.stickyButton.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}


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

    img {
        max-width: 100%;
    }

    #info {
        width: 100%;
        padding: 8px 16px;
        font-size: 10px;
    }

    #info h1 {
        color: #000;
        font-size: 8px;
    }

    .pankuzu {
        width: 100%;
        padding: 0 8px;
    }

    .pankuzu.only_sp {
        margin-bottom: 24px;
    }

    #cpm__main {
        font-size: 12px;
    }

    .cpm__maincontent {
        width: 100%;
    }

    .inner-content {
        padding: 0 16px;
    }

    .cta {
        margin-top: 32px;
        padding: 0 17.5px;
    }

    .cta__notes {
        font-size: 12px;
        margin-top: 5px;
    }

    .contents {
        padding: 0;
        margin: 40px 0;
        gap: 64px;
    }

    .contents__title {
        font-size: 25px;
        padding: 14px 0;
        line-height: 1;
    }

    .content__lead {
        font-size: 16px;
        line-height: 1.5;
        margin: 24px 0;
    }

    .details {
        padding: 0 16px;
    }

    .details__row th,
    .details__row td {
        display: block;
    }

    .details__row th {
        width: auto;
        font-size: 16px;
        line-height: 1.5;
    }

    .details__row td {
        font-size: 14px;
        line-height: 1.8;
    }

    .details__serviceWrap {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .details__attention {
        display: inline-block;
    }

    .flows {
        padding: 40px 16px;
    }

    .flows__list {
        flex-direction: column;
        align-items: center;
    }

    .flows__item {
        width: 100%;
        padding-top: 44px;
    }

    .flows__item::before {
        width: 63px;
        height: 30px;
        background: url(../images/tag_01_sp.png) no-repeat center / contain;
        top: -1px;

    }

    .flows__item:nth-of-type(2)::before {
        background: url(../images/tag_02_sp.png) no-repeat center / contain;
    }

    .flows__item:nth-of-type(3)::before {
        background: url(../images/tag_03_sp.png) no-repeat center / contain;
    }

    .flows__item:nth-of-type(1)::after,
    .flows__item:nth-of-type(2)::after {
        transform: translateY(-50%) rotate(90deg);
        left: 0;
        right: 0;
        top: auto;
        margin: auto;
        bottom: -62px;

    }

    .flows__txt {
        font-size: 18px;
    }

    .flows__entryBtn {
        width: 206px;
    }

    .flows__app--app img {
        width: 127px;
        height: 100%;
    }

    .flows__app--google img {
        width: 127px;
        height: 100%;
    }

    .flows__itemNote--rows {
        line-height: 1.6;
        text-align: center;
    }

    .flows__attention {
        line-height: 1.6;
        margin-top: 16px;
    }

    .terms {
        padding: 0 16px;
    }

    .terms__title {
        font-size: 16px;
        line-height: 1.5;
    }

    .terms__title::before {
        width: 6px;
        height: 20px;
    }

    .terms__txt {
        font-size: 14px;
        line-height: 1.8;
        padding-left: 14px;
    }

    .terms__list .terms__txt {
        margin-top: 4px;
    }

    .terms__txt--contact {
        padding-left: 0;
    }

    .stickyButton {
        padding-block: 10px;
        margin-block: 64px;
    }

    .pageTopLink a {
        font-weight: normal;
    }

    .end:after {
        font-size: 28px;
    }
}