/* commmon */
body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', Helvetica, 'メイリオ', 'ＭＳ Ｐゴシック', sans-serif;
    font-size: 3.4vw;
    line-height: 180%;
    color: #1A2B32;
    background: #ffffff;
    font-weight: 400;
    letter-spacing: 0.133vw;
    position: relative;
    opacity: 0;
    transition: opacity 1s ease;

    @media screen and (width >=768px) {
        font-size: 1.9vw;
    }

    @media screen and (width >=1024px) {
        font-size: 18px;
        letter-spacing: 1px;
    }
}

body.fadein {
    opacity: 1;
}

.pagetop {
    width: 15vw;
    height: 15vw;
    position: fixed;
    right: 2.667vw;
    bottom: 10.667vw;
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 90;

    @media screen and (width >=768px) {
        width: 8vw;
        height: vw;
    }

    @media screen and (width >=1024px) {
        width: 80px;
        height: 80px;
        right: 20px;
        bottom: 80px;
    }
}

.pagetop.scroll {
    opacity: 1;
}

.pc-only {
    display: none;

    @media screen and (width >=1024px) {
        display: block;
    }
}

.sp-only {

    @media screen and (width >=1024px) {
        display: none;
    }
}

a:hover img {
    opacity: 0.7;
    filter: alpha(opacity=50);
    -ms-filter: "alpha(opacity=70)";
    transition: 0.5s;
}

#nav-content {
    @media screen and (width <=1024px) {
        z-index: 900;
        overflow: auto;
        width: 100%;
        height: 100%;
        background: #fff;
        position: fixed;
        top: 0;
        right: -100vw;
        opacity: 1;
        transition: all 0.5s;
        padding: 10vw 5vw;
    }

    @media screen and (width <=768px) {
        padding: 10vw 10vw;
    }
}

header {
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4vw 4vw;
    transition: 0.5s;

    @media screen and (width >=768px) {
        padding: 3vw 3vw;
    }

    @media screen and (width >=1024px) {
        padding: 30px 30px;
    }
}

header.scroll-nav {
    background-color: rgba(255, 255, 255, 0.5);

    @media screen and (width >=768px) {
        background-color: rgba(255, 255, 255, 0.8);
    }
}

header .company_logo {
    width: 82vw;
    height: 9vw;
    z-index: 110;
    transition: 0.5s;
    display: flex;
    justify-content: space-between;
    align-items: center;

    @media screen and (width >=768px) {
        width: 83vw;
        height: 4vw;
    }

    @media screen and (width >=1024px) {
        width: 200px;
        height: 40px;
        display: block;
    }
}

header .company_logo a {
    width: auto;

    @media screen and (width >=1024px) {
        width: initial;
    }
}

header .company_logo .hd_s-logo {
    width: 36vw;
    height: 9vw;

    @media screen and (width >=768px) {
        width: 22vw;
        height: 4vw;
    }

    @media screen and (width >=1024px) {
        width: initial;
        height: initial;
    }
}

header .company_logo .hd_i-logo {
    width: 28vw;
    height: 6.5vw;

    @media screen and (width >=768px) {
        width: 16vw;
        height: 4vw;
    }

    @media screen and (width >=1024px) {
        display: none;
    }
}

header .gmenu {

    @media screen and (width >=768px) {
        transition: all .6s;
        display: flex;
    }
}

header .gmenu ul {
    font-weight: 500;
    font-size: 5vw;
    text-align: center;
    position: relative;
    z-index: 5;
    list-style-type: none;
    padding: 0 10vw;

    @media screen and (width >=768px) {
        font-size: 3vw;
        padding: 0;
    }

    @media screen and (width >=1024px) {
        display: flex;
        align-items: center;
        font-size: 14px;
    }
}

header .gmenu ul li {
    margin: 4vw 0;

    @media screen and (width >=768px) {
        margin: 2vw 0;
    }

    @media screen and (width >=1024px) {
        margin: 0;
    }
}

header .gmenu ul li a {
    padding: 5vw 2vw;
    color: #1A2B32;

    @media screen and (width >=768px) {
        padding: 3vw 2vw;
    }

    @media screen and (width >=1024px) {
        padding: 12px 1vw;
    }
}

header .gmenu ul li a:hover {
    text-decoration: underline;
    color: #0060BF;
}

header .gmenu ul li.gmenu_contact {
    position: relative;

    @media screen and (width >=768px) {
        margin: 0 20vw;
    }

    @media screen and (width >=1024px) {
        margin: 0;
    }
}

header .gmenu ul li.gmenu_contact a {
    padding: 6vw 2vw 6vw 13vw;
    margin-left: 10px;
    background: #002A83;
    background-image: url(/contents/themes/synchrobo/images/_common/mail_icon.svg);
    background-repeat: no-repeat;
    background-position: center left 20px;
    transition: all 0.5s ease-out;
    text-align: center;
    color: #fff;

    @media screen and (width >=768px) {
        padding: 3vw 2vw 3vw 2vw;
        background-position: center left 4vw;
    }

    @media screen and (width >=1024px) {
        padding: 12px 20px 12px 60px;
        margin-left: 0;
        margin-right: 10px;
        background-position: center left 20px;
    }
}

header .gmenu .gmenu_main img {

    @media screen and (width >=768px) {
        height: 8vw;
    }

    @media screen and (width >=1024px) {
        height: auto;
    }
}

.gmenu_contact {
    background: #002A83;
    transition: all 1s ease-out;
    margin: 0;
}

header .gmenu ul li.gmenu_contact a:hover {
    background: rgb(31, 196, 255);
    background-image: url(/contents/themes/synchrobo/images/_common/mail_icon.svg);
    background-repeat: no-repeat;
    background-position: center left 20px;
}

section .inner {
    width: 92vw;
    margin: 0 auto;
    position: relative;

    @media screen and (width >=1024px) {
        width: 100%;
        max-width: 1300px;
    }
}

h2.section_ttl {
    text-align: left;
    background-image: url(/contents/themes/synchrobo/images/_common/title_symbol.svg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    margin-bottom: 2.5em;
    color: #002A83;

    @media screen and (width >=768px) {
        font-size: 1em;
    }

    @media screen and (width >=1024px) {
        margin-bottom: 3em;
        font-size: 56px;
    }
}

h2.section_ttl img {
    width: auto;
    height: 10vw;

    @media screen and (width >=768px) {
        height: 8vw;
    }

    @media screen and (width >=1024px) {
        height: 92px;
    }
}

.box_set {
    display: block;
    align-items: center;

    @media screen and (width >=768px) {
        display: flex;
        justify-content: space-between;
    }
}

.contents_blk .box_set .image_blk {
    width: 100%;
    margin: 2em 0;

    @media screen and (width >=768px) {
        width: 45%;
    }

    @media screen and (width >=1024px) {
        margin: auto;
    }
}

.contents_blk .box_set .txt_blk {
    width: 100%;
    text-align: left;

    @media screen and (width >=768px) {
        width: 52%;
    }

    @media screen and (width >=1024px) {
        width: 55%;
    }
}

.contents_blk .box_set h3 {
    font-size: 5.333vw;
    font-weight: 600;
    margin-bottom: 1em;

    @media screen and (width >=768px) {
        font-size: 3vw;
    }

    @media screen and (width >=1024px) {
        font-size: 30px;
        margin-bottom: 1.4em;
    }
}

.contents_blk .box_set .txt_blk p {
    line-height: 200%;
    margin-bottom: 1.4em;
}

.btn_more {
    margin: 0 auto;
    cursor: pointer;
    color: #002A83;
    padding: 5vw 2.133vw;
    background-color: #fff;
    border-radius: 5px;
    font-size: 3.6vw;
    user-select: none;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;

    @media screen and (width >=768px) {
        padding: 3vw 2.133vw;
        border-radius: 0.667vw;
        font-size: 2vw;
    }

    @media screen and (width >=1024px) {
        width: 100%;
        max-width: 440px;
        padding: 20px 16px;
        border-radius: 5px;
        font-size: 20px;
    }
}

.btn_more:hover {
    background-color: #CCEFFF;
}

.btn_more .arrow {
    width: 4.533vw;
    padding: 0 0 0 1.333vw;
    transition: transform 0.3s ease;

    @media screen and (width >=1024px) {
        width: 34px;
        padding: 0 0 0 10px;
    }
}

.btn_more.active .arrow {
    transform: rotate(180deg);
    padding: 0 1.333vw 0 0;

    @media screen and (width >=1024px) {
        padding: 0 10px 0 0;
    }
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 10px;
    padding: 0 16px;
}

.accordion-content.open {
    padding: 16px;
}

.btn_more_wh {
    text-align: center;
    margin: 3em auto 0 auto;
}

.btn_more_wh a {
    width: 76%;
    cursor: pointer;
    display: inline-block;
    background-color: #fff;
    text-align: center;
    color: #002A83;
    padding: 5vw 2.133vw;
    transition: all 0.3s ease;
    background-image: url(/contents/themes/synchrobo/images/_common/arrow_right.svg);
    background-repeat: no-repeat;
    background-position: center right 20px;
    font-size: 4vw;

    @media screen and (width >=768px) {
        width: 56%;
        padding: 3vw 2.133vw;
        font-size: 3vw;
    }

    @media screen and (width >=1024px) {
        width: 100%;
        max-width: 440px;
        padding: 24px 16px;
        font-size: 1em;
    }
}

.btn_more_wh a:hover {
    background-color: #CCEFFF;
}


.btn_more_gr {
    text-align: right;
    margin: 2em auto 0 auto;
}

.btn_more_gr a {
    width: 40vw;
    cursor: pointer;
    display: inline-block;
    background-color: #F7F7F7;
    text-align: center;
    color: #002A83;
    padding: 3vw 2.133vw;
    transition: all 0.3s ease;
    background-image: url(/contents/themes/synchrobo/images/_common/arrow_right.svg);
    background-repeat: no-repeat;
    background-position: center right 20px;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.25);
    font-size: 4vw;

    @media screen and (width >=768px) {
        width: 30vw;
        padding: 2vw 2.133vw;
    }

    @media screen and (width >=1024px) {
        width: 100%;
        max-width: 240px;
        padding: 18px 16px;
        box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
        font-size: 1em;
    }
}

.btn_more_gr a:hover {
    background-color: #CCEFFF;
}

.contact_blk .inner h2 {
    width: 50%;
    margin: 0 auto;

    @media screen and (width >=768px) {
        width: 25%;
    }

    @media screen and (width >=1024px) {
        width: 30%;
        margin: auto;
    }
}

.contact_blk .inner p {
    padding: 0 0 0 2em;
    margin-top: 1.6em;

    @media screen and (width >=768px) {
        padding: 0 1em 0 2em;
        margin-top: 0;
        font-size: 1.8vw;
        text-align: left;
    }

    @media screen and (width >=1024px) {
        padding: 0 0 0 2em;
        margin-top: 1.6em;
        font-size: 1em;
    }
}

.btn_more_contact {
    text-align: right;
    margin: 2em auto 0 auto;

    @media screen and (width >=768px) {
        width: 22vw;
        margin: 0 auto;
    }

    @media screen and (width >=1024px) {
        width: auto;
        margin: 2em auto 0 auto;
    }
}

.btn_more_contact a {
    cursor: pointer;
    display: inline-block;
    background-color: #F7F7F7;
    text-align: center;
    color: #002A83;
    padding: 6vw 10.667vw;
    transition: all 0.3s ease;
    background-image: url(/contents/themes/synchrobo/images/_common/arrow_right.svg);
    background-repeat: no-repeat;
    background-position: center right 20px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
    font-size: 4.4vw;

    @media screen and (width >=768px) {
        padding: 2vw 1vw;
        background-position: center right 10px;
        font-size: 2vw;
    }

    @media screen and (width >=1024px) {
        padding: 18px 80px;
        background-position: center right 20px;
        font-size: 1em;
    }
}

.btn_more_contact a:hover {
    background-color: #CCEFFF;
}

footer {
    background-color: #272727;
    position: relative;
    text-align: center;
    font-size: 4vw;

    @media screen and (width >=768px) {
        font-size: 1.8vw;
    }

    @media screen and (width >=1024px) {
        font-size: 1em;
    }
}

footer a {
    color: #fff;
}

footer .inner {
    width: 100%;
    padding: 0 2em;
    margin: 0 auto;

    @media screen and (width >=768px) {
        font-size: 1.8vw;
    }

    @media screen and (width >=1024px) {
        max-width: 1300px;
    }
}

footer .inner .footer_logo_blk {
    width: 100%;
    text-align: left;
}

footer .inner .footer_logo_blk img {
    width: 50vw;
    padding: 11.733vw 0 7.733vw 0;
    margin: 0 auto;

    @media screen and (width >=768px) {
        width: 30vw;
        padding: 8vw 0;
    }

    @media screen and (width >=1024px) {
        width: 255px;
        padding: 88px 0 58px 0;
        margin: 0;
    }
}

footer .footer_menu {
    color: #fff;
    border-top: 1px solid #fff;
    font-size: 4vw;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    padding: 0 0 10vw 0;

    @media screen and (width >=768px) {
        font-size: 14px;
        padding: 0 0 2vw 0;
    }

    @media screen and (width >=1024px) {
        flex-wrap: unset;
        flex-direction: unset;
        justify-content: space-between;
        padding: 10px 0 20px 0;
    }
}

footer .footer_menu .fm_left,
footer .footer_menu .fm_right {
    width: 100%;

    @media screen and (width >=1024px) {
        width: auto;
    }
}

footer .footer_menu .fm_right {

    @media screen and (width >=768px) {
        text-align: right;
    }
}

footer .footer_menu .fm_right ul {
    display: block;
    list-style-type: none;
    margin-bottom: 20vw;

    @media screen and (width >=768px) {
        display: flex;
        justify-content: space-between;
        margin-bottom: 1vw;
    }

    @media screen and (width >=1024px) {
        justify-content: right;
        margin-bottom: auto;
    }
}

footer .footer_menu .fm_right ul li {
    margin: 7vw 0;

    @media screen and (width >=768px) {
        margin: 1vw 0;
    }

    @media screen and (width >=1024px) {
        margin: auto auto auto 2em;
    }
}

footer .footer_menu .fm_right ul li a:hover {
    text-decoration: underline;
}

.slider .slick-slide {
    margin: 0 20px;
    box-sizing: border-box;
    padding: 5vw 0;
}

.slider-wrapper {
    position: relative;

    @media screen and (width >=768px) {
        width: 100%;
    }

    @media screen and (width >=1024px) {
        max-width: 100%;
    }
}

.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    z-index: 10;
    padding: 0;
    cursor: pointer;
}

.slick-prev {
    left: 20px !important;
}

.slick-prev img {
    transform: rotate(180deg);
}

.slick-next {
    right: 20px !important;
}

.slick-prev::before,
.slick-next::before {
    display: none;
}

/* Contact */
.contact_body {
    padding: 26.667vw 0;
    position: relative;

    @media screen and (width >=768px) {
        padding: 16vw 0;
    }

    @media screen and (width >=1024px) {
        padding: 200px 0;
    }
}

.contact_body .contents_body {
    width: 100%;
    margin: 100px auto;

    @media screen and (width >=1024px) {
        max-width: 1000px;
    }
}

.contact_body .contents_body p {
    margin-bottom: 2em;
}

.contact_body .contents_body ul {
    list-style-type: none;
    margin-bottom: 2em;
}

.contact_body .contents_body ul li {
    background-image: url(/contents/themes/synchrobo/images/_common/list_dot_icon.svg);
    background-repeat: no-repeat;
    background-position: left top 11px;
    background-size: 1.867vw;
    padding-left: 2.933vw;
    margin-bottom: 1.333vw;

    @media screen and (width >=768px) {
        background-position: left top 1vw;
        background-size: 1.7vw;
    }

    @media screen and (width >=1024px) {
        background-size: 14px;
        background-position: left top 11px;
        padding-left: 22px;
        margin-bottom: 10px;
    }
}

.contact_body .contact_box2 {
    width: 100%;
    margin: 100px auto 0 auto;
    padding: 8vw 5.333vw 5.333vw 5.333vw;
    text-align: center;
    background-color: #EFEFEF;

    @media screen and (width >=768px) {
        padding: 4vw 5.333vw 4vw 5.333vw;
    }

    @media screen and (width >=1024px) {
        max-width: 1000px;
        padding: 60px 40px 40px 40px;
    }
}

/* 404 (public/404.html). contact_body と同じ枠組みで、
   タイトルだけ SVG ではなくテキストの "404" を使う */
.error_body {
    padding: 26.667vw 0;
    position: relative;
    text-align: center;

    @media screen and (width >=768px) {
        padding: 16vw 0;
    }

    @media screen and (width >=1024px) {
        padding: 200px 0;
    }
}

h2.section_ttl.error_ttl {
    font-family: "Lato", sans-serif;
    font-weight: 300;
    letter-spacing: 0.02em;
    font-size: 18vw;
    line-height: 1.1;
    text-align: center;
    background-image: none;
    padding: 0;
    /* 継承元は margin-bottom:3em。この字面だと 3em = 420px 空くので詰める */
    margin-bottom: 0.1em;

    @media screen and (width >=1024px) {
        font-size: 140px;
        margin-bottom: 0.1em;
    }
}

.error_body .contents_body {
    width: 100%;
    margin: 2em auto 0 auto;

    @media screen and (width >=1024px) {
        max-width: 1000px;
    }
}

.error_body .contents_body h3 {
    color: #002A83;
    font-size: 5.333vw;
    margin-bottom: 1em;

    @media screen and (width >=768px) {
        font-size: 2.6vw;
    }

    @media screen and (width >=1024px) {
        font-size: 30px;
    }
}

.error_body .contents_body p {
    margin-bottom: 2em;
}

.error_body .error_links {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em 2em;
}

.error_body .error_links a {
    display: inline-block;
    width: auto;
    color: #002A83;
    font-weight: 600;
    background-image: url(/contents/themes/synchrobo/images/_common/arrow_right.svg);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 1em;
    padding-right: 1.5em;
}

.error_body .error_links a:hover {
    text-decoration: underline;
    color: #0060BF;
}

.contact_blk {
    padding: 10.667vw 1.333vw 13.333vw 1.333vw;
    background-color: #002A83;

    @media screen and (width >=768px) {
        padding: 5vw 3vw;
    }

    @media screen and (width >=1024px) {
        padding: 80px 10px 100px 10px;
    }
}

.contact_blk .inner {
    width: 100%;
    padding: 0 2.667vw;
    display: block;
    color: #fff;
    align-items: center;
    text-align: center;

    @media screen and (width >=768px) {
        padding: 0 2.667vw;
        display: flex;
        justify-content: space-between;
        text-align: left;
    }

    @media screen and (width >=1024px) {
        max-width: 1100px;
        padding: 0 20px;
    }
}

.btn_entry {
    margin: 2em auto;
}

.btn_entry a {
    width: auto;
    max-width: 60vw;
    margin: 0 auto;
    cursor: pointer;
    display: block;
    background-color: #685EFC;
    text-align: center;
    color: #fff;
    padding: 4vw 10.667vw;
    transition: all 0.3s ease;
    background-image: url(/contents/themes/synchrobo/images/_common/arrow_wh.svg);
    background-repeat: no-repeat;
    background-position: center right 20px;
    box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.35);

    @media screen and (width >=768px) {
        width: 40vw;
        max-width: 40vw;
        padding: 2vw 4vw;
        font-size: 2.4vw;
    }

    @media screen and (width >=1024px) {
        width: 100%;
        max-width: 365px;
        padding: 18px 80px;
        font-size: 1em;
    }
}

.btn_entry a:hover {
    background-color: #928BFF;
}

/* 位置を右上に固定 */
#toggle {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;

    @media screen and (width >=1024px) {
        display: none;
    }
}

/* ハンバーガーメニューの大きさ指定 */
#toggle-box {
    position: relative;
    width: clamp(40px, 9vw, 80px);
    height: clamp(40px, 9vw, 80px);
    cursor: pointer;
    background: #002A83;
    margin: 2vw 2vw 0 0;

    @media screen and (width >=768px) {
        position: relative;
        width: 6vw;
        height: 6vw;
    }
}

#toggle-box>span {
    width: clamp(18px, 20%, 30px);
    height: 1px;
    left: 50%;
    margin: auto;
    display: block;
    background: #fff;
    position: absolute;
    transform: translateX(-50%);
    transition: transform .6s ease, top .6s ease, width .6s ease;

    @media screen and (width >=768px) {
        width: 2.5vw;
        height: 2px;
        top: 3vw;
        bottom: 3.4vw;
        left: 0;
        right: 0;
        transform: unset;
        transition: transform .6s ease-in-out;
    }
}

#toggle-box>span:nth-child(1) {
    top: 10px;

    @media screen and (width >=768px) {
        top: 10%;
    }
}

#toggle-box>span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);

    @media screen and (width >=768px) {
        transform: translatey(-50%);
    }
}

#toggle-box>span:nth-child(3) {
    bottom: 10px;

    @media screen and (width >=768px) {
        top: 3vw;
    }
}

/* is-openクラスが追加されると、メニューが表示される */
.is-open {
    @media screen and (width < 1024px) {
        overflow: hidden;
    }
}

.is-open #nav-content {
    @media screen and (width < 1024px) {
        z-index: 999;
        visibility: visible;
        opacity: 1;
        display: block;
        right: 0;
    }
}

.is-open #nav-content a {
    @media screen and (width < 1024px) {
        pointer-events: auto;
    }
}

/* ハンバーガーメニュークリックで、「×」マークにアニメーション */
.is-open #toggle-box>span {
    background: #fff;
}

.is-open #toggle-box>span:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);

    @media screen and (width >=768px) {
        transform: rotate(45deg) translatey(-50%);
    }
}

.is-open #toggle-box>span:nth-child(2) {
    width: 0;
}

.is-open #toggle-box>span:nth-child(3) {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%) rotate(-45deg);

    @media screen and (width >=768px) {
        top: 9%;
        left: 6%;
        bottom: 10%;
        transform: rotate(-45deg) translatey(-50%);
    }
}

@keyframes floatUpDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}