@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background: transparent;
    padding-top: 0;
}

main #header {
    position: relative;
}

main .header-top {
    justify-content: center;
}

main .underNav {
    display: none;
}

main #footer {
    padding-bottom: 30px;
}

@media screen and (max-width: 500px) {
    main #footer {
        padding-bottom: 0;
    }
}

h2 {
    line-height: 1.5;
}

.material-symbols-rounded {
    font-variation-settings:
        'FILL'0,
        'wght'400,
        'GRAD'0,
        'opsz'24
}

.underNav .navButtons {
    display: none;
}

.link_arw {
    text-align: center;
    margin: auto;
}

.link_arw a {
    position: relative;
    text-decoration: underline;
    color: var(--primary);
}

.link_arw a::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -16px;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.6em;
    font-weight: normal;
    height: fit-content;
    transition: 0.3s ease;
    color: var(--primary);
    content: "\f105";
    font-family: "FontAwesome";
}

.cvButton_ballon {
    margin-bottom: 8px;
}

.cvButton.dontClick a {
    pointer-events: none;
    cursor: none;
    opacity: 0.5;
}

ul.annotation_box {
    width: 100%;
}

.annotation {
    font-size: 12px;
    line-height: 1.5;
    padding: 8px 16px 0;
}


/* 背景画像
--------------------------------*/
.wrapper {
    position: relative;
}

.main_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url(/special/cp/img/apd2402/main_bg_img@2x.jpg) center/cover no-repeat;
    z-index: -1;
}

/* 外のフレーム */
.frame {
    position: relative;
    z-index: 1000;
}

.frame_lines>div {
    position: fixed;
    background: none no-repeat center center var(--white);
    z-index: 999;
}

.frame_lines>div:nth-child(1),
.frame_lines>div:nth-child(3) {
    background-size: 11px auto;
    background-repeat: repeat-y
}

.frame_lines>div:nth-child(2),
.frame_lines>div:nth-child(4) {
    background-size: auto 11px;
    background-repeat: repeat-x
}

.frame_lines>div:nth-child(1) {
    top: 0;
    left: 0;
    width: 30px;
    height: 100%;
    background-image: url(/special/cp/img/apd2402/fixed-txt-frame-left.svg);
    animation: marquee-1 13s linear infinite;
}

.frame_lines>div:nth-child(2) {
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background-image: url(/special/cp/img/apd2402/fixed-txt-frame-top.svg);
    animation: marquee-2 13s linear infinite reverse;
}

.frame_lines>div:nth-child(3) {
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background-image: url(/special/cp/img/apd2402/fixed-txt-frame-right.svg);
    animation: marquee-1 13s linear infinite reverse;
}

.frame_lines>div:nth-child(4) {
    right: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
    z-index: 999;
    background-image: url(/special/cp/img/apd2402/fixed-txt-frame-bottom.svg);
    animation: marquee-2 13s linear infinite;
}

@keyframes marquee-1 {
    0% {
        background-position: center 0
    }

    100% {
        background-position: center -364px
    }
}

@keyframes marquee-2 {
    0% {
        background-position: 0 center
    }

    100% {
        background-position: -364px center
    }
}

@media screen and (max-width: 500px) {
    body {
        padding-top: 0 !important;
    }

    .frame {
        display: none;
    }

    .body_inner {
        margin-top: 0 !important;
    }

    .cvButton a {
        font-size: 18px;
    }
}

@media screen and (max-width: 375px) {
    .main_bg {
        background: none;
    }

    .body_inner {
        box-shadow: none;
        margin-top: 0;
    }
}

/* body */
.body_inner {
    max-width: 375px;
    width: 100%;
    margin-top: 32px;
    margin-right: auto;
    margin-left: auto;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.16);
    background-color: var(--white);
}

/* cv
--------------------------------*/
.cv {
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* fv
--------------------------------*/
.fv_wrap {
    position: relative;
    width: 100%;
    background: url(/special/cp/img/ndf2501/fv_bg.png) center/cover no-repeat;
    padding-top: 16px;
    overflow: hidden;
    height: 432px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fv_wrapimg {
    display: block;
    margin: auto;
}

.fv_wrap .fv_ribbon {
    height: 26px;
}

.fv_wrap .fv_h1_subttl {
    width: 440px;
    height: 244px;
}

.fv_h1_ttl {
    width: 371px;
    padding-left: 13px;
}

.fv_wrap .fv_h1_subttl img, .fv_wrap .fv_h1_ttl img {
    width: 100%;
}

.fv.second {
    padding-top: 24px;
}

.fv_period {
    width: 100%;
    background: #2F95FF;
    color: var(--white);
    font-weight: bold;
    text-align: center;
    font-size: 18px;
    line-height: 1;
    padding: 16px;
}

.pd_img {
    box-sizing: border-box;
    color: var(--white);
    padding: 0 16px 20px;
}

/* クーポンコード
--------------------------------*/
.coupon {
    padding: 32px 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coupon_ttl {
    font-size: 16px;
    text-align: center;
    margin-bottom: 32px;
}

.coupon_ttl h2 {
    font-size: 32px;
    font-weight: 900;
}

.coupon_important {
    background: var(--background-red);
    padding: 16px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    align-self: stretch;
    border-radius: 8px;
    margin-top: 48px;
}

.coupon_important h3 {
    font-size: 18px;
    color: var(--secondary-600);
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
}

.coupon_important ul {
    list-style: disc;
    padding-left: 24px;
    font-size: 12px
}

.coupon.second {
    background: var(--background-blue);
    border-top: var(--primary) 3px solid;
    border-bottom: var(--primary) 3px solid;
    padding-bottom: 40px;
}

.coupon.second .annotation {
    padding: 48px 0 0;
}

/* コードコピー */
.coupon-box {
    display: flex;
    justify-content: center;
    padding: 12px 20px;
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: 8px;
    width: 100%;
    position: relative;
}

.couponCode {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--black);
}

.copyBtn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.copyBtn:focus {
    outline: none;
}

.icon-wrapper {
    position: absolute;
    right: 16px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 24px;
    height: 24px;
}

.material-symbols-rounded {
    font-size: 24px;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.coupon .hidden {
    opacity: 0;
    pointer-events: none;
}

.visible {
    opacity: 1;
    transform: scale(1.2);
}

.content_copy {
    color: var(--neutral-400);
}

.check_circle {
    color: var(--success-700);
}

.copy-message {
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6px;
    font-size: 16px;
    font-weight: 500;
    color: var(--success-700);
    padding: 4px 8px;
    border-radius: 6px;
    transition: opacity 0.2s ease;
    white-space: nowrap;
    z-index: 10;
}

/* お悩み
--------------------------------*/
.worries {
    display: flex;
    padding: 40px 16px 56px 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    background: var(--background-gray);
    box-sizing: border-box;
}

.worries h2 {
    color: #464646;
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
}

.tsukaisugiCP_illust img {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.worries_txt01,
.worries_txt02,
.worries_txt03 {
    margin-bottom: 12px;
}

.worries_solution_txt {
    color: var(--black);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 2.4px;
}

/* 端末一覧
--------------------------------*/
.device {
    padding: 40px 24px;
}

.device .accordion_container {
    margin-top: 24px;
}

/* 人気
--------------------------------*/
.popularity {
    background: var(--background-yellow);
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popularity_ttl {
    font-size: 16px;
    text-align: center;
    margin-bottom: 32px;
}

.popularity_ttl h2 {
    font-size: 28px;
    font-weight: 900;
}

.popularity .ranking {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.popularity .ranking ul {
    font-size: 16px;
    line-height: 1.8;
}

.popularity .ranking ul strong {
    color: var(--secondary);
    font-size: 20px;
    width: 100%;
    display: block;
}

.popularity .ranking ul p strong {
    text-align: center;
    width: 100%;
    font-size: 16px;
}


.popularity_whiteBox {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 16px 16px 16px 20px;
    gap: 16px;
    border-radius: 16px;
    box-shadow: 0px 0px 20px 0px rgba(137, 117, 0, 0.11);
}

.popularity_whiteBox strong {
    color: var(--secondary);
}

.popularity_whiteBox.hint {
    padding: 16px 16px 16px 12px;
    gap: 4px;
    margin-bottom: 16px;
    align-items: start;
}

.popularity .cvButton {
    margin-top: 40px;
}

/* ファミリー
--------------------------------*/
.toneFamily {
    display: flex;
    padding: 56px 24px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    align-self: stretch;
    background: var(--family-50);
    box-sizing: border-box;
}

.toneFamily .h2_ttl_box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.toneFamily .h2_ttl_box h2 {
    font-size: 26px;
    line-height: 1.4;
}

.toneFamily .h2_ttl_box h2 span {
    font-size: 18px;
    font-weight: normal;
    display: block;
}

.toneFamily_box01 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.toneFamily_student_box {
    display: flex;
    padding: 24px 16px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    background-color: var(--white);
}

.toneFamily_student_box h3 {
    font-size: 22px;
}

.toneFamily_student_box p {
    text-align: center;
    font-size: 16px;
}

.toneFamily_student_box h3 span big {
    font-size: 29px;
}

.toneFamily_student_box span.red {
    color: var(--primary);
}

.hikitsuzuki {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.dot_balloon {
    width: 100%;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 4px;
}

.dot_balloon::before, .dot_balloon::after {
    content: "";
    background: no-repeat url(/service/change/img/planlist_comment.png);
    background-size: cover;
    width: 17px;
    height: 25px;
    display: block;
}

.dot_balloon::after {
    transform: scale(-1, 1);
}

.hikitsuzuki_txt {
    font-weight: bold;
    font-size: 24px;
    text-align: center;
}

.hikitsuzuki_txt {
    font-weight: bold;
    font-size: 24px;
    text-align: center;
}

.hikitsuzuki .annotation {
    padding: 0;
}

.hikitsuzuki .accordion_container {
    background: var(--white);
    box-shadow: 0px 0px 20px 0px rgba(255, 152, 153, 0.15);
    margin: 16px 0;
}

.hikitsuzuki .accordion_container .accordion_button {
    font-size: 18px;
}

.hikitsuzuki .accordion_container .accordion_button:hover {
    background: transparent;
    color: var(--black);
}

.hikitsuzuki .accordion_container .plans_feature_box {
    padding-bottom: 24px;
}

/* キャンペーン申し込み方法
--------------------------------*/
.entry {
    padding: 40px 24px;
}

.entry_ttl {
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
}

.entry_ttl h2 {
    font-size: 32px;
}

.entry_box {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-direction: column;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: var(--neutral-100) 1px solid;
}

.entry_box h3 {
    font-size: 24px;
    line-height: 1.3;
    width: 100%;
}

.entry_box p {
    font-size: 16px;
    line-height: 1.8;
    width: 100%;
}

.entry_box:nth-last-of-type(1) {
    padding: 0;
    margin: 0;
    border-bottom: none;
}

/* キャンペーン詳細
--------------------------------*/
.summary {
    display: flex;
    padding: 40px 24px 40px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    background: var(--background-gray);
}

.summary h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
}

.summary h3 {
    margin-bottom: 8px;
    font-size: 18px;
    width: 100%;
}

.summary h3:not(:first-of-type) {
    margin-top: 24px;
}

.summary p {
    width: 100%;
}

.summary p a {
    color: var(--primary);
    font-weight: 800;
}

.summary .annotation {
    padding: 8px 0 0 0;
}

.summary .cvButton {
    margin-top: 32px;
}
