:root {
    --white: #fff;
    --blue: #0D3388;
    --light-blue: #8ECDF2;
    --light-blue2: #E8EEF3;
    --light-blue3: #E3EFFA;
    --yellow: #FFE616;

    --font-weight-bold: 700;
}

#KnowhowTop p {
    margin: 0;
}

#KnowhowTop img {
    width: 100%;
    height: auto;
}

#KnowhowTop {
    margin-bottom: 50px;
    line-height: normal;
    text-align: center;
    font-size: 16px;
    box-sizing: border-box;
}

#KnowhowTop .KnowhowTop1__title {
    margin: 34px 0;
    font-size: 24px;
    font-weight: 700;
}

#KnowhowTop .SpeechBubble {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 32px;
}

#KnowhowTop .SpeechBubble > * {
    position: relative;
    width: 320px;
    height: 94px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 700;
    background-color: var(--light-blue2);
    border-radius: 16px
}

#KnowhowTop .SpeechBubble > *::before {
    content: "";
    position: absolute;
    bottom: -28px;
    width: 94px;
    height: 53.5px;
    background: url(/common/img/magazine/guideline/speech_bubble_arrow.png) no-repeat;
    background-size: contain;
    z-index: -1;
}

#KnowhowTop .SpeechBubble__1::before {
    right: 20px;
    transform: scaleX(-1);
}

#KnowhowTop .SpeechBubble__2::before {
    left: 20px;
}

#KnowhowTop .KnowhowTop1__img {
    display: block;
    width: 221.38px;
    height: 216px;
    margin: 0 auto 24px;
}

#KnowhowTop .KnowhowTop1__1 {
    display: flex;
    flex-flow: column;
    gap: 6px;
    justify-content: center;
    align-items: center;
    color: var(--blue);
    font-size: 18px;
    font-weight: 700;
}

#KnowhowTop .KnowhowTop1__1 p {
    position: relative;
    display: inline-block;
}

#KnowhowTop .KnowhowTop1__1 p::before {
    content: "";
    display: inline-block;
    width: 15.5px;
    height: 11.07px;
    margin-right: 11.21px;
    background: url(/common/img/magazine/guideline/icon_check.svg) no-repeat;
    background-size: contain;
    vertical-align: middle;
}

#KnowhowTop .KnowhowTop1__1 p span {
    display: inline-block;
    font-size: 18px;
    background: linear-gradient(var(--yellow) 0 6px, transparent 6px 100%) no-repeat 0 100%/100% 6px;
}

#KnowhowTop .KnowhowTop1__2 p:nth-of-type(1) {
    margin: 20px auto 14px;
    font-size: 18px;
    font-weight: 700;
}

#KnowhowTop .KnowhowTop1__2 .arrow {
    position: relative;
    width: 38.5px;
    height: 35px;
    background-color: var(--light-blue);
    margin: 20px auto 0;
}

#KnowhowTop .KnowhowTop1__2 .arrow::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 49%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 32.375px solid transparent;
    border-right: 32.375px solid transparent;
    border-top: 35px solid var(--light-blue);
}

#KnowhowTop .KnowhowTop2 {
    margin-top: 75px;
    padding: 40px 20px 24px;
    background-color: var(--light-blue3);
}

#KnowhowTop .BookPreview p {
    font-size: 20px;
    font-weight: 700;
}

#KnowhowTop .BookPreview__title {
    margin: 1px 0 24px;
    color: var(--blue);
    font-size: 28px;
    font-weight: 700;
}

#KnowhowTop #main-img {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
}

#KnowhowTop #main-img img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
}

#KnowhowTop #sub-img {
    display: flex;
    gap: 1%;
    justify-content: space-between;
    margin-top: 20px;
    padding: 0;
    list-style: none;
}

#KnowhowTop #sub-img li {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

#KnowhowTop #sub-img li.img-current {
    border: 2px solid var(--blue);
    border-radius: 12px;
}

#KnowhowTop #sub-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

#KnowhowTop #sub-img {
    margin: 40px auto;
}

#KnowhowTop .modal-wrap input {
    display: none;
}

#KnowhowTop .modal-open-label,
#KnowhowTop .modal-close-label {
    cursor: pointer;
}

#KnowhowTop .modal-open-label {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 360px;
    height: 67px;
    margin: 0 auto;
    padding-top: 4px;
    color: var(--white);
    letter-spacing: 1px;
    font-size: 16px;
    background: linear-gradient(90deg, #4F73C3 0%, #1F49A5 50%);
    border-radius: 50px;
    border-bottom: 3px solid #263F76;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}

#KnowhowTop .modal-open-label::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    display: inline-block;
    width: 8px;
    height: 12px;
    background: url(/common/img/magazine/guideline/icon_arrow.svg) no-repeat;
    background-size: contain;
}

#KnowhowTop .modal-open-label:hover {
    opacity: 0.7;
}

#KnowhowTop .modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

#KnowhowTop .modal-open-input:checked + label + input + .modal {
    display: block;
    animation: modal-animation .6s;
}

@keyframes modal-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#KnowhowTop .modal-close-label {
    color: var(--white);
    width: 40x;
    height: 40px;
    line-height: 1.6;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: 0;
    right: 15px;
    z-index: 99999;
    font-size: 40px;
}

#KnowhowTop .next-arrow,
#KnowhowTop .prev-arrow {
    position: absolute;
    top: 50%;
    display: block;
    transition: all .3s ease;
    cursor: pointer;
    z-index: 999;
}

#KnowhowTop .next-arrow {
    right: 20px;
}

#KnowhowTop .prev-arrow {
    left: 20px;
    transform: scaleX(-1);
}

#KnowhowTop .next-arrow::before,
#KnowhowTop .prev-arrow::before {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: var(--blue);
    background-image: url(/common/img/magazine/guideline/icon_arrow.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 10px;;
    border-radius: 50%;
}

#KnowhowTop .slick-dots li,
#KnowhowTop .slick-dots li button{
    width: 10px;
    height: 10px;
}

#KnowhowTop .slick-dots li{
    margin: 0 10px;
}

#KnowhowTop .slick-dots li button:before {
    width: 10px;
    height: 10px;
    color: transparent;
    font-size: 20px;
}

#KnowhowTop .slick-dots li.slick-active button:before {
    color: transparent;
    background-color: var(--blue);
}

#KnowhowTop .modal-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

#KnowhowTop .modal-content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: calc(100% - 20px);
    padding: 10px 30px;
    background-color: var(--white);
    border-radius: 3px;
}

#KnowhowTop .modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#KnowhowTop .modal-slider {
    width: 100%;
    height: auto;
    padding: 0;
    text-align: center;
}

#KnowhowTop .modal-slider.slick-dotted.slick-slider {
    margin-bottom: 50px;
}

#KnowhowTop .modal-slider .slick-dots {
    bottom: -35px;
}

#KnowhowTop .modal-slider img {
    display: inline-block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

#KnowhowTop .BookDescription {
    position: relative;
}

#KnowhowTop .BookDescription__title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 58px;
    margin: 40px 0 0;
    font-size: 24px;
    background-color: var(--light-blue);
}

#KnowhowTop .BookDescription__contents {
    padding: 24px 40px 36px;
    text-align: left;
    background-color: var(--white);
}

#KnowhowTop .contents__title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
}

#KnowhowTop .BookDescription__contents p {
    position: relative;
    margin: 0 0 4px;
    padding-left: 25.5px;
    line-height: 1.8;
}


#KnowhowTop .BookDescription__contents p:last-of-type {
    margin-bottom: 16px;
}

#KnowhowTop .BookDescription__content1 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#KnowhowTop .KnowhowTop2__img {
    width: 200px;
    height: auto;
}

#KnowhowTop .content1__1 p::before {
    position: absolute;
    top: 5px;
    left: 0;
    content: "";
    display: inline-block;
    width: 15.84px;
    height: 16.67px;
    background: url(/common/img/magazine/guideline/icon_cognition.svg) no-repeat;
    background-size: contain;
}

#KnowhowTop .content1__2 p::before {
    position: absolute;
    top: 9px;
    left: 0;
    content: "";
    display: inline-block;
    width: 13.58px;
    height: 10.02px;
    background: url(/common/img/magazine/guideline/icon_check.svg) no-repeat;
    background-size: contain;
}

#KnowhowTop .BookDescription__content2 p {
    margin-top: 8px;
    padding: 0 !important;
}

#KnowhowTop .BookDescription__content2 p span {
    color: var(--blue);
    font-weight: 700;
}

#KnowhowTop .BookDescription__content2 span {
    color: var(--blue);
}

#KnowhowTop .contents__emphasis {
    display: block;
    margin-top: -10px;
    font-size: 20px;
    font-weight: 700;
}

.l-column{
    padding: 0 20px;
}

.sectionBlock_guideline{
    margin-bottom: 40px;
}

@media only screen and (max-width: 768px) {
    #KnowhowTop .pc {
        display: none;
    }

    #KnowhowTop .container {
        padding: 0 20px;
    }

    #KnowhowTop {
        font-size: 14px;
    }

    #KnowhowTop .KnowhowTop1__title {
        margin: 30px 0;
        font-size: 20px;
    }

    #KnowhowTop .SpeechBubble {
        gap: 20px;
    }

    #KnowhowTop .SpeechBubble > * {
        width: 158px;
        height: 111px;
        line-height: 1.4;
        font-size: 14px;
    }

    #KnowhowTop .KnowhowTop1__img {
        width: auto;
        height: 160px;
        margin-bottom: 32px;
    }

    #KnowhowTop .KnowhowTop1__1 {
        gap: 0;
        line-height: 2;
        font-size: 16px;
    }

    #KnowhowTop .KnowhowTop1__1 p span{
        font-size: 16px;
    }

    #KnowhowTop .KnowhowTop1__2 p {
        line-height: 1.7;
    }

    #KnowhowTop .KnowhowTop1__2 p:nth-of-type(1) {
        margin: 15px auto 13px;
        font-size: 16px;
    }

    #KnowhowTop .KnowhowTop1__2 p:nth-of-type(2) {
        line-height: 1.4;
        text-align: left;
    }

    #KnowhowTop .KnowhowTop1__2 .arrow {
        width: 19.25px;
        height: 17.5px;
    }

    #KnowhowTop .KnowhowTop1__2 .arrow::after {
        border-left: 16.19px solid transparent;
        border-right: 16.19px solid transparent;
        border-top: 17.5px solid var(--light-blue);
    }

    #KnowhowTop .KnowhowTop2 {
        margin-top: 48px;
        padding: 38px 20px 20px;
    }

    #KnowhowTop .BookPreview p {
        font-size: 14px;
    }

    #KnowhowTop .BookPreview__title {
        margin: 1px 0 20px;
        line-height: 1.4;
        font-size: 24px;
    }

    #KnowhowTop .KnowhowTop2 #sub-img {
        gap: 2%;
        margin: 32px auto;
    }

    #KnowhowTop #sub-img li.img-current{
        border-radius: 6px;
    }

    #KnowhowTop .KnowhowTop2 #sub-img img{
        border-radius: 3.94px;
    }

    #sub-img li {
        width: 11.5%;
    }

    #KnowhowTop .modal-open-label {
        max-width: 90%;
        height: 45px;
        font-size: 15px;
    }

    #KnowhowTop .modal-content-wrap {
        max-width: 80%;
    }

    #KnowhowTop .prev-arrow {
        left: 0;
    }

    #KnowhowTop .next-arrow {
        right: 0;
    }

    #KnowhowTop .next-arrow::before,
    #KnowhowTop .prev-arrow::before {
        width: 30px;
        height: 30px;
        background-size: 8px;
    }

    #KnowhowTop .BookDescription__title {
        height: 46px;
        margin: 32px 0 0;
        font-size: 18px;
    }

    #KnowhowTop .BookDescription__contents {
        padding: 28px 20px;
    }

    #KnowhowTop .BookDescription__content1 {
        flex-flow: column;
    }

    #KnowhowTop .contents__title {
        font-size: 16px;
    }

    #KnowhowTop .BookDescription__contents p {
        margin: 0 0 2px;
        padding-left: 24px;
        line-height: 1.4;
    }

    #KnowhowTop .content1__1 p::before {
        top: 1px;
        width: 14px;
        height: 14.73px;
    }

    #KnowhowTop .content1__2 p::before {
        top: 5px;
        width: 12px;
        height: 8.86px;
    }

    #KnowhowTop #main-img {
        width: 200px;
    }

    #KnowhowTop .KnowhowTop2{
        width: 100%;
        margin-left: -20px;
    }

    #KnowhowTop .KnowhowTop2__img {
        width: 100px;
        margin: 10px auto 28px;
    }

    #KnowhowTop .contents__emphasis {
        font-size: 16px;
    }

    .sectionBlock_guideline{
        margin: 0 0 40px;
    }

    .cp_wrap .in-page-form-wrap{
        padding: 20px 20.5px;
        background-color: var(--blue);
        box-sizing: border-box;
        width: 100%;
    }

    .in-page-form{
        border: none;
    }
}

@media only screen and (min-width: 769px) {
    #KnowhowTop p{
        font-size: 16px;
    }

    #KnowhowTop .sp {
        display: none;
    }

    #KnowhowTop #main-img {
        width: 50%;
    }

    #KnowhowTop .KnowhowTop2 #sub-img {
        width: calc(100% - 20px);
    }

    #KnowhowTop .modal-slider {
        width: 100%;
        height: 83vh;
        padding: 0;
        text-align: center;
    }

    #KnowhowTop .modal-slider img {
        width: auto;
        height: 83vh;
    }

    #KnowhowTop .modal-content-wrap {
        max-width: clamp(540px, 80%, 100%);
    }
}