/* Theme Name: WithComi M LP */

@charset "utf-8";

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body {
    font-family: "游ゴシック体", "yugothic", "游ゴシック medium", "yu gothic medium", "游ゴシック", "yu gothic", "メイリオ", sans-serif;
    background-color: #fff;
    width: 100%;
}

.flex_nav_top {
    display: flex;
    justify-content: end;
    position: fixed;
    z-index: 1000;
    width: 100%;
    background-color: #fff;
    height: 65px;
}

/* ハンバーガーメニューここから */

#nav-drawer {
    width: 65px;
}

.nav-unshown {
    display: none;
}

#nav-open {
    margin: 0;
    vertical-align: middle;
    height: 65px;
    width: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s ease-in-out;
    z-index: 9999;
    position: relative;
    cursor: pointer;
}

#nav-open::after {
    content: "";
    position: absolute;
    inset: -14px;
}

#nav-open span,
#nav-open span:before,
#nav-open span:after {
    position: absolute;
    height: 0.7px;
    width: 38px;
    border-radius: 2px;
    background: #101c2e;
    display: block;
    content: '';
    cursor: pointer;
    margin-right: 5px;
    pointer-events: none;
}

#nav-open span:before {
    bottom: 12px;
}

#nav-open span:after {
    bottom: -12px;
}

@keyframes show {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.9;
    }
}

#nav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    transition: .3s ease-in-out;
}

#nav-input:checked~#nav-close {
    display: block;
    z-index: 7000;
    opacity: 0.2;
}

#nav-content {
    overflow: auto;
    position: fixed;
    top: 50px;
    right: -25px;
    z-index: 8000;
    width: 275px;
    background: #fff;
    transition: .3s ease-in-out;
    display: none;
    opacity: 0.95;
}

#nav-content_pc {
    display: none;
}

#nav-input:checked+#nav-open span {
    transform: rotate(135deg);
    transition: .3s ease-in-out;
    z-index: 9999;

    --gap: 3px;
    background: linear-gradient(90deg,
            #666 0 calc(50% - var(--gap)),
            transparent calc(50% - var(--gap)) calc(50% + var(--gap)),
            #666 calc(50% + var(--gap)) 100%);
}

#nav-input:checked+#nav-open span:before {
    transform: translateY(12px) translateX(0px) rotate(-272deg);
    transition: .3s ease-in-out;
}

#nav-input:checked+#nav-open span:after {
    opacity: 0;
}

#nav-input:checked~#nav-content {
    display: block;
    animation: show .3s linear 0s;
    transition: .3s ease-in-out;
    top: 0px;
    max-width: 380px;
    height: 100vh;
    padding-top: 60px;
    right: 0;
    opacity: 1;
    width: 100%;
    max-height: 740px;
}

.pc_main {
    display: none;
}

.side_menu {
    display: none;
}

.sidemenu-list {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.sidemenu-bg {
    position: absolute;
}

.sidemenu-list li {
    display: block;
    margin-bottom: 30px;
    padding: 0;
    font-size: 27px;
    line-height: 27px;
    width: 200px;
    height: 46px;
}

.pc_btn {
    flex-direction: column;
    bottom: 0;
    text-align: center;
    margin-top: 30px;
}

.pc_btn img {
    width: 300px;
}

.btn {
    display: block;
    margin-bottom: 10px;
}

.login-btn {
    display: block;
}

.cta-img-btn {
    position: relative;
    display: inline-block;
}

.cta-img-btn .cta-text {
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.05em;
    white-space: nowrap;
    pointer-events: none;
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

.cta-img-btn .cta-text2 {
    position: absolute;
    top: 50%;
    left: 51%;
    transform: translate(-50%, -50%);
    color: #1b63b4;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.05em;
    white-space: nowrap;
    pointer-events: none;
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

.nav_text_list {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    width: 100%;
}

.nav_text_list a {
    font-family: "Shippori Mincho", "しっぽり明朝", "游明朝", "Yu Mincho", serif;
    font-size: 31px;
    font-weight: 400;
    color: #101c2e;
    text-decoration: none;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.nav_text_list .num_3 {
    font-family: "Shippori Mincho", "しっぽり明朝", "游明朝", "Yu Mincho", serif;
    font-size: 50px;
    line-height: 1;
    display: inline-block;
    margin-right: 8px;
    transform: translateY(2px);
    font-style: italic;
    margin-top: -11px;
}

span {
    font-family: "Shippori Mincho", "しっぽり明朝", "游明朝", "Yu Mincho", serif;
}

.kerning0 {
    margin-right: -5px;
}

.kerning1 {
    margin-right: -2px;
}

.kerning2 {
    margin-right: -3px;
}

.kerning3 {
    margin-right: 1px;
}

.kerning4 {
    margin-right: 2px;
}

.kerning5 {
    margin-right: 3px;
}

.kerning6 {
    margin-right: 4px;
}

.kerning7 {
    margin-right: 7px;
}

.kerning8 {
    margin-right: 8px;
}


main {
    padding-top: 65px;
    margin: 0 auto;
    max-width: 450px;
    width: 100%;
    box-shadow: none;
    overflow: hidden;
    background-color: #fff;
}

main img {
    width: 100%;
}

section {
    position: relative;
}

section img {
    display: block;
}

.comparison img {
    height: 950px;
}

.fv_img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

@keyframes shake {

    0%,
    100% {
        transform: translatex(0.5%);
    }

    20% {
        transform: translatex(calc(0.5% - 3px));
    }

    30% {
        transform: translatex(calc(0.5% + 3px));
    }

    40% {
        transform: translatex(calc(0.5% - 3px));
    }

    45% {
        transform: translatex(0.5%);
    }
}

.specialoffers_img {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    margin: 0px 0;
}

.cta_animation {
    width: 98%;
    position: absolute;
    bottom: 1%;
    animation-name: shake;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.fv .cta_animation {
    position: absolute;
    bottom: 0;
    margin: auto;
    right: 0;
    left: 0;
    transform: translatex(0.5%)
}

.solution .cta_animation {
    right: 0;
    left: 0;
    bottom: 8%;
    margin: 0 auto;
    transform: translatex(0.5%)
}

.specialoffers .cta_animation {
    right: 0;
    left: 0;
    bottom: 2%;
    margin: 0 auto;
    transform: translatex(0.5%)
}

.present_cta {
    position: relative;
}

.table-wrapper {
    position: absolute;
    top: 14%;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
    white-space: nowrap;
    padding-bottom: 10px;
}

.table {
    display: inline-block;
    width: max-content;
    padding: 0px 15px;
}

.table img {
    display: inline-block;
    width: auto;
    max-width: none;
    height: 700px;
    pointer-events: auto;
}

.message_bg {
    width: 100%;
    background: linear-gradient(to right, #f7feeb, #dbf6ee);
    padding: 13% 0;
}

.textbox {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
    width: 92%;
    margin: 0 auto;
    padding: 40px 15px 35px;
}

.photo {
    width: 100%;
    margin: 0 auto 40px;
    background-size: cover;
}

.pattern-overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 96%;
    background-size: cover;
    z-index: 1;
}

.text {
    position: relative;
    z-index: 2;
}

.text p {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 23px;
}

.red {
    color: #ee6651;
}

.abc {
    letter-spacing: -1px;
}

.qa {
    width: 87%;
    position: absolute;
    margin: 0 auto;
    top: 10%;
    left: 0;
    right: 0;
}

.qa img {
    margin-bottom: 27px;
}

.qa_btn {
    width: 53%;
    height: auto;
    display: block;
    margin: 15px auto;
    margin-bottom: 12%;
    background: linear-gradient(to right, #78BA9D 0%, #5FAE8B 41%, #39A777 100%);
    color: #fff;
    font-size: 14px;
    padding: 9px 12px;
    border-radius: 3px;
}

.qa_btn::after {
    content: '';
    display: inline-block;
    border-left: 7px solid #fff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    position: absolute;
    right: 26%;
    bottom: 6px;
    transform: translatey(-50%);
}

footer {
    padding: 20px 0;
    background-color: #23598a;
}

.res {
    display: flex;
    justify-content: center;
}

.res_w {
    display: block;
    margin: 20px;
    font-size: 13px;
    color: white;
    justify-content: center;
    text-decoration: none;
}

.copyright {
    width: 100%;
    height: 50px;
    font-size: 11px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright p {
    display: inline-block;
    color: white;
    font-size: 12px;
}

/*フッターコンテンツ（特商/プライバシーポリシー）*/

.footer_content {
    padding: 20px;
    background-color: #fff;
}

.ft_cnt_ttl {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin: 50px 0 75px;
}

.ft_cnt_sec {
    padding-bottom: 25px;
}

.ft_cnt_sec_ttl {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 25px;
}

.ft_cnt_sec p {
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.5rem;
}

.ft_cnt_sec a {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 25px;
}

/*QA(よくある質問)*/

.qa_main {
    padding: 0 20px;
    background-color: #fff;
}

.qa_title h2 {
    font-size: 20px;
    font-weight: 600;
    border-left: 7px solid black;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 10px;
    margin-bottom: 35px;
}

.qa_lead {
    font-size: 14px;
    line-height: 1.4rem;
}

.qa_section {
    margin: 65px 0;
}

.qa_section_ttl {
    font-size: 14px;
    font-weight: 600;
    padding-bottom: 4px;
    margin-bottom: 40px;
    border-bottom: 2px solid #000;
    line-height: 1.4rem;
}

.qa_tx {
    font-size: 14px;
    padding-bottom: 32px;
    line-height: 1.4rem;
}

.back_home {
    display: flex;
    justify-content: center;
    margin-top: 33px;
    font-weight: 600;
    color: black;
}
