@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;500;700;800&family=Noto+Sans+JP:wght@400;500;700&display=swap");

:root {
    --bg-color: #fffcf6;
    --tab-bg-color: #fef9e8;
    --color-red: #cc0000;
    --color-crimson: #ffe5dc;
    --color-white: #ffffff;
    --color-yellow-primary: #ffcc00;
    --color-yellow-secondary: #fff5ce;
    --color-yellow-gray: #ebe0b3;
    --color-gray: #fafafa;
}

html {
    font-size: 17px;
}

* {
    font-family: "M PLUS 1p", sans-serif;
    padding: 0;
    margin: 0;
    word-break: break-word;
    font-style: normal;
}

img {
    max-width: 100%;
}

body {
    background-color: var(--bg-color);
}

.container {
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
}

#subBanner.guide {
    height: 0;
}

.relative {
    position: relative;
}

.font-red {
    color: var(--color-red);
}

.font-center {
    text-align: center;
}

.font-left {
    text-align: left;
}

.font-right {
    text-align: right;
}

.mt_5 {
    margin-top: 0.5em;
}

.section-title {
    font-size: 5.17rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: -3px;
    line-height: 1.3;
}

.sub-title {
    font-size: 2.9rem;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    padding-top: 1em;
    letter-spacing: -3px;
}

.guide .content-header {
    padding-top: 240px;
    padding-bottom: 4.5em;
}

.content-body.guide {
    background-color: var(--tab-bg-color);
    padding: 7em 0;
}

.tab-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.3em;
}

.tab-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    background-color: var(--color-yellow-secondary);
    color: var(--color-yellow-gray);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.tab-link a {
    width: 100%;
    display: inline-block;
    padding: 1em 5px;
    font-size: 1.7rem;
    font-weight: 600;
    color: inherit;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    letter-spacing: -2px;
}

.tab-link.active {
    background-color: var(--color-yellow-primary);
    color: var(--color-white) !important;
}

.tab-content-block {
    background-color: var(--color-white);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    padding-bottom: 3em;
}

.tab-content {
    text-align: center;
}

.tab-content[data-display="none"] {
    display: none;
}

.tab-content[data-display="block"] {
    display: block;
}

.tab-title {
    padding: 4em 0;
}

.tab-title .border {
    display: inline-block;
    width: auto;
    position: relative;
    font-size: 2.7rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -1px;
    padding: 0 0.2em;
    z-index: 1;
}

.tab-title .border:after {
    content: '';
    width: 100%;
    height: 40%;
    position: absolute;
    left: 0;
    bottom: 0.02em;
    background-color: var(--color-crimson);
    z-index: -1;
}

.step {
    margin-bottom: 8em;
}

.step-number {
    width: 4.2rem;
    height: 4.2rem;
    line-height: 4.2rem;
    font-size: 2.4rem;
    font-weight: 800;
    text-align: center;
    color: var(--color-white);
    background: url('/images/jp/guideBook/icon-guide-num.png') no-repeat;
    background-size: contain;
    margin: 0 auto 0.85em auto;
}

.step-title {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 1.45em;
}

.tip-block {
    margin-top: 6em;
}

.tip-block > img {
    margin-top: 3em;
}

.step-tip-desc {
    font-size: 1.875rem;
    margin-top: 1.2em;
}

.step-tip {
    position: relative;
    font-size: 2rem;
    line-height: 1.4;
}

.icon-tip {
    width: 4rem;
    height: 4rem;
    background: url('/images/jp/guideBook/icon-tip.png') no-repeat;
    background-size: cover;
    color: transparent;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select:none;
    user-select:none
}

.step-tip .icon-tip {
    position: absolute;
    margin-top: -2.2rem;
    margin-left: -4.6rem;
}

.step-desc {
    background-color: var(--color-gray);
    padding: 3em 2em;
    border-radius: 20px;
    margin: 0 4em;
}

.step-desc .step-desc-text {
    font-size: 1.8rem;
}

.btn-wrapper {
    margin-top: 1em;
}

.btn-rounded {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    padding: 1em 1.5em;
    border-radius: 3em;
}

.btn-rounded.yellow {
    background-color: var(--color-yellow-primary);
    color: var(--color-white);
}

.arrow-block {
    padding: 3em 0;
    text-align: center;
}

.bluetooth-character {
    position: absolute;
    right: 3em;
    bottom: -2.4em;
}

.bluetooth-pen {
    position: absolute;
    right: 6em;
    bottom: -2em;
}

.bubble-block {
    margin-top: 2em;
}

.bubble-box {
    position: relative;
    display: inline-block;
}

.bubble-box:last-child {
    margin-top: 4em;
}

.bubble-box .bubble-text {
    width: 100%;
    position: absolute;
    top: 1em;
    left: 0%;
    font-size: 1.45rem;
    color: var(--color-white);
    text-align: center;
}

.bubble-01 {
    top: 1.3em;
    right: -12em;
}

.bubble-02 {
    top: 1.3em;
    left: -10.5em;
}

@media (max-width: 1200px) {
    .guide .container {
        max-width: 90%;
    }
}

@media (max-width: 1119px) {
    html {
        font-size: 15px;
    }
}


@media (max-width: 1024px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 1023px) {
    html {
        font-size: 13px;
    }
}

@media (max-width: 820px) {

    .guide .content-header {
        padding-top: 120px;
    }

    .guide .container {
        max-width: 92%;
    }

    .section-title {
        font-size: 4.5rem;
    }

    .sub-title {
        font-size: 2.4rem;
    }

    .tab-title .border {
        font-size: 2.1rem;
    }

    .tab-link a {
        font-size: 1.45rem;
    }

    .step-title {
        font-size: 1.6rem;
    }

    .step-tip {
        font-size: 1.5rem;
    }

    .step-desc {
        padding: 2em 1em;
    }

    .step-desc .step-desc-text {
        font-size: 1.4rem;
    }

    .step-tip-desc {
        font-size: 1.3rem;
    }

    .responsive-img {
        max-width: 80%;
    }

    .icon-tip {
        width: 3.5rem;
        height: 3.5rem;
    }

    .bluetooth-character {
        width: 12em;
        right: -1em;
    }

    .arrow-block img {
        width: 2em;
    }

    .bluetooth-pen {
        width: 10em;
        right: 0.5em;
    }

    .step .btn-rounded {
        font-size: 1.8rem;
    }

    .img-app-logo {
        width: 30vw;
    }
}

@media (max-width: 620px) {
    html {
        font-size: 12px;
    }

    .guide .container {
        max-width: 92%;
    }

    .step-desc {
        margin: 0 2em;
    }

    .step-tip .icon-tip {
        display: block;
        position: relative;
        left: 50%;
        top: -1em;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        margin: 0;
    }

    .bluetooth-pen {
        width: 8em;
    }

    .bubble-box {
        width: 60vw;
    }

    .bubble-01 {
        right: -5em;
    }

    .bubble-02 {
        left: -5em;
    }

}

@media (max-width: 520px) {
    html {
        font-size: 11px;
    }

    .step-desc {
        margin: 0 2em;
    }

    .step .btn-rounded {
        font-size: 1.5rem;
    }

    .bluetooth-character {
        width: 10em;
        right: -2em;
    }

    .bubble-box .bubble-text {
        font-size: 1.3rem;
    }

}

@media (max-width: 480px) {

    .section-title {
        font-size: 3.2rem;
    }

    .sub-title {
        font-size: 2rem;
    }

    .bubble-box {
        width: 65vw;
    }

    .bubble-01 {
        right: -4.5em;
    }

    .bubble-02 {
        left: -3.9em;
    }

    .bubble-box .bubble-text {
        font-size: 1.25rem;
    }

    .mo-br {
        display: block;
    }

}
