@charset "utf-8";

@media (max-width: 1160px){
    
    .site .block{
        margin-left: 0;
        min-width: 0;
    }
    
    .site .inner {
        padding-right: 0;
    }
}

@media (max-width: 1160px){
    
    .about .container::before, .tips .container::before, .tips .container::after, .case .container::before, .case .container::after, .support .container::after{
        display: none;
    }
    
    .site h3.title,
    .case h3.title,
    .support h3.title{
        width: 100%;
        background-position: center;
    }
    
    header{
        margin-bottom: 0;
        height: auto;
    }
    
    header .container{
        position: relative;
    }

    header h1{
        width: 203px;
        height: auto;
        padding: 16px 5% 10px 5%;
        line-height: 0;
    }

    header h1::after{
        display: none;
    }

    .sp_menu{
        position: fixed;
        height: 21px;
        width: 30px;
        cursor: pointer;
        top: 18px;
        right: 5%;
        background: var(--blue);
        z-index: 100;
        padding: 20px;
        border-radius: 20px;
    }
    
    .sp_menu:hover{
        box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.2);
        transform: scale(1.05);
    }
    
    .sp_menu.active:hover{
        box-shadow: none;
        transform: scale(1.1);
    }

    .sp_menu span{
        display: block;
        width: 30px;
        height: 3px;
        border-radius: 2px;
        background: #fff;
        position: absolute;
        transition: .2s ease-in;
    }

    .sp_menu span:first-of-type{
        top: 20px;
    }
    .sp_menu span:nth-of-type(2){
        right: auto;
        top: 50%;
        transform: translateY(-50%);
    }
    .sp_menu span:last-of-type{
        bottom: 20px;
    }
    
    .sp_menu.active span{
        background: var(--navy);
    }
    
    .sp_menu.active span:first-of-type{
        transform: rotate(45deg);
        top: 29px;
    }
    .sp_menu.active span:nth-of-type(2){
        width: 0;
    }
    .sp_menu.active span:last-of-type{
        transform: rotate(-45deg);
        bottom: 29px;
    }
    .sp_menu_container{
        visibility: hidden;
        display: flex;
        position: fixed;
        z-index: 99;
        top: -300px;
        left: 0;
        background-color: var(--blue);
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
        transition: all 0.6s;
        border-radius: 0 0 40px 30px;
        padding: 30px 130px 30px 50px;
    }
    .sp_menu_container.active {
        visibility: visible;
        box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.5);
        top: 0;
    }
    
    header ul{
        flex-wrap: wrap;
        background: transparent;
        position: static;
        padding: 0;
        height: auto;
        column-gap: 30px;
        row-gap: 10px;
    }
    header ul::before{
        display: none;
    }
    
    header ul:hover{
        box-shadow: none;
        transform: none;
    }
    
    header li{
        background-image: repeating-linear-gradient(90deg, #5bc4eb, #5bc4eb 2px, transparent 2px, transparent 4px);
        background-position: right bottom;
        background-repeat: repeat-x;
        background-size: 100% 1px;
        padding-bottom: 6px;
        margin-bottom: 10px;
    }
    
    header li:not(:last-of-type){
        margin-right: 0;
    }
    
    header li a{
        color: #fff;
        font-size: 18px;
        white-space: nowrap;
    }
    
    header li a:hover{
        color: var(--yellow);
    }

    header li a:hover span{
        background: var(--pink);
    }
    
    main .slider{
        width: 1160px;
    }

    main h2{
        left: auto;
        right: 25%;
    }
    
    main h2 span:not(.pink){
        padding: 18px 13px;
    }
    
    main h2 span:not(.pink),
    main h2 .pink{
        font-size: 30px;
    }
    
    main h2::after{
        bottom: 49px;
        right: -27px;
    }
    
    main h2 .dot{
        right: -180px;
    }
    
    main .circle div{
        width: 180px;
        height: 180px;
        font-size: 24px;
    }
    
    .contents{
        overflow: hidden;
    }
    
    .about .container{
        align-items: flex-end;
    }
    
    .about h3{
        font-size: 30px;
    }
    
    .about .img{
        margin-left: -90px;
        width: 50%;
    }
    
    .about .text{
        margin-left: -60px;
    }
    
    .belt{
        display: none;
    }
    
    .tips h3 span,
    .support h4 span{
        font-size: 30px;
        line-height: 1em;
        padding: 8px 28px;
    }
    
    .tips .img{
        width: 40%;
        margin-bottom: 0;
        margin-right: -100px;
    }
    
    .tips h3 img,
    .support h4 span img{
        width: 27px;
    }
    
    .site .text{
        padding: 94px 7% 0 185px;
    }
    
    .site [class*="button"]{
        margin-right: 0;
    }
    
    .site .block:not(:last-of-type){
        margin-bottom: 130px;
    }
    
    .site .text::after{
        right: 0;
    }
    
    .site .img{
        width: 240px;
    }
    
    .case{
        border: 50px solid #fff;
    }
    
    .case .container{
        width: 100%;
    }
    
    .case h3.title{
        margin-top: -50px;
        width: calc(100% + 100px);
        margin-left: -50px;
        margin-right: -50px;
    }
    
    .case .text{
        padding: 40px 36px 0;
    }
    
    .case [class*="button"]{
        margin-top: 20px;
    }
    
    .support{
        overflow: hidden;
    }
    
    .support .caption{
        margin-bottom: 32px;
    }
    
    .support .caption::after{
        right: -124px;
        top: -137px;
    }
    
    .support .caption::before{
        left: -83px;
        top: -150px;
    }
    
    .support h4::after{
        bottom: -12px;
        right: -50px;
    }
    .support h4::before{
        top: 51px;
        left: -26px;
    }
    
    .support .plan::after,
    .support .plan:last-of-type::after{
        left: -52px;
    }
    
    .event .container{
        width: auto;
    }
    
    .event h3.title{
        font-size: 30px;
    }  
    
    .event .title_block{
        padding: 30px 0 0 36px;
    }
    
    .event .bg_text{
        display: none;
    }
    
    .event .banner{
        max-width: 400px;
    }
}

@media (max-width: 766px){
    
    .pc_none{
        display: block;
    }
    
    .sp_none{
        display: none;
    }
    
    h3.title{
        font-size: 24px;
    }
    
    h3.title span{
        padding-top: 2px;
    }
    
    .site h3.title,
    .case h3.title,
    .support h3.title{
        width: calc(100% + 10vw);
        margin-left: -5vw;
        background-position: center bottom;
        background-size: 110% 100%;
        height: 160px;
        padding-top: 43px;
    }
    
    h3.title span{
        font-size: 16px;
    }
    
    h3.title span::before{
        width: 28px;
        height: 17px;
    }
    
    [class*="button"]{
        min-width: 250px;
        padding: 14px 20px 14px 20px;
    }
    
    [class*="button"] span{
        font-size: 18px;
    }
    
    [class*="button"]::after{
        border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid var(--lemon);
        right: 20px;
    }
    
    .container{
        width: 90%;
    }
    
     header h1{
        width: 183px;
    }
    
    .note{
        font-size: 12px!important;
    }
    
    /* main */
    
    main .slider{
        width: 900px;
    }
    
    main h2{
        left: auto;
        right: 20px;
    }
    
    main h2 span:not(.pink){
        padding: 16px 10px;
    }
    
    main h2 span:not(.pink),
    main h2 .pink{
        font-size: 22px;
    }
    
    main h2::before{
        width: 61px;
        height: 31px;
        top: -20px;
        right: 10px;
    }
    
    main h2::after{
        width: 42px;
        height: 52px;
        bottom: 42px;
        right: -10px;
    }
    
    main h2 .dot{
        right: 0;
        display: none;
    }
    
    main .slider .main01,
    main .slider .main03{
        margin-top: 20px;
    }

    main .slider .main02,
    main .slider .main05{
        margin-top: 10px;
    }
    
    main .circle{
        margin-bottom: -50px;
        gap: 10px;
    }
    
    main .circle div{
        width: 100px;
        height: 100px;
        font-size: 15px;
    }
    
    main .en{
        margin-top: -122px;
        margin-bottom: -10px;
    }
    
    
    /* about */
    
    .about .container{
        flex-direction: column;
        padding: 30px 0 50px;
    }
    
    .about .img{
        align-self: flex-end;
        position: relative;
        z-index: 2;
    }
    
    .about .text{
        padding-left: 0;
        margin-top: -220px;
        padding-top: 180px;
        background-position: top 0 left 20px;
        margin-left: 0;
    }
    
    .about h3{
        font-size: 26px;
        align-self: flex-start;
        margin-right: 0;
        padding-bottom: 30px;
    }
    
    .about p{
        font-size: 15px;
        line-height: 2em;
        letter-spacing: 0;
    }
    
    
    /* tips */
    
    .tips .container{
        flex-direction: column-reverse;
        background-size: contain;
        padding: 10px 0 50px;
        align-items: center;
    }
    
    .tips h3{
        position: relative;
        z-index: 3;
    }
    
    .tips h3 span,
    .support h4 span{
        font-size: 26px;
        line-height: 2em;
        padding: 9px 18px;
    }
    
    .tips h3 img,
    .support h4 span img{
        width: 24px;
    }
    
    .tips .img{
        width: 67%;
        margin-bottom: -120px;
        margin-right: -50px;
        max-width: 380px;
    }
    
    .tips li{
        padding-bottom: 10px;
    }
    
    .tips li span{
        font-size: 15px;
    }
    
    .tips li::before{
        font-size: 38px;
        padding-right: 20px;
        padding-bottom: 15px;
    }
    
    .tips li:not(:last-of-type) span{
        padding-bottom: 10px;
    }
    
    
    /* site */
    
    
    .site .container{
        background-image: none;
    }
    
    .site h3.title{
        margin-bottom: -14px;
    }
    
    .site .block{
        flex-direction: column;
        align-items: flex-end;
    }
    
    .site .block:not(:last-of-type) {
        margin-bottom: 85px;
    }
    
    .site .text{
        padding: 94px 20px 0 20px;
        
    }
    
    .site .text::after{
        right: auto;
        left: 5%;
    }
    
    .site .circle{
        flex-direction: column;
        top: -210px;
        right: 5%;
        gap: 6px;
    }
    
    .site .circle div{
        width: 90px;
        height: 90px;
        font-size: 13px;
    }
    
    .site h4{
        font-size: 26px;
    }
    
    .site h5{
        font-size: 18px;
    }
    
    .site p{
        font-size: 15px;
        margin-top: 25px;
    }
    
    .site .img{
        margin-right: 0;
        width: 170px;
        margin-right: calc(5% + 105px);
        margin-bottom: -80px;
    }
    
    .site .img img{
        filter: drop-shadow(20px 10px 0px rgba(85, 163, 193, 0.3));
    }
    
    .site [class*="button"]{
        min-width: 250px;
        margin-right: 20px;
    }
    
    
    /* case */
    
    .case{
        border: 0;
    }
    
    .case .cs.container{
        padding: 50px 0 90px;
    }
    
    .case .container{
        width: 90%;
    }

    .case h3.title{
        margin-bottom: 22px;
        margin-top: 0;
    }
    
    .case .block{
        background-position: center top 30%;
    }
    
    .case .block{
        background-image: url(../images/case01_sp.png);
    }
    
    .case .block:nth-of-type(2){
        background-image: url(../images/case02_sp.png);
    }
    
    .case .block:last-of-type{
        background-image: url(../images/case03_sp.png);
    }
    
    .case .block::after {
        width: 81px;
        height: 60px;
    }
    
    .case .block:not(:last-of-type){
        margin-bottom: 80px;
    }
    
    .case .block:first-of-type::after{
        bottom: 169px;
        right: -43px;
    }
    
    .case .block:nth-of-type(2)::after{
        top: -32px;
        left: -40px;
    }
    
    .case .block:last-of-type::after{
        top: -32px;
        left: 76px;
    }
    
    .case .text{
        padding: 20px 20px 0;
        width: 100%;
        margin-top: 300px;
    }
    
    .case h4{
        top: -20px;
        right: -20px;
    }
    
    .case h4 span{
        font-size: 22px;
        padding: 10px 8px;
    }
    
    .case h5{
        font-size: 20px;
        padding-bottom: 14px;
    }
    
    .case h5 span{
        font-size: 14px;
    }
    
    .case h6{
        font-size: 14px;
        font-weight: 700;
        padding-bottom: 0;
    }
    
    .case p{
        font-size: 15px;
    }
    
    .case [class*="button"]{
        margin-top: 10px;
    }
    
    
    /* support */
    
    .support::after{
        display: none;
    }
    
    .support h3.title{
        margin-bottom: 20px;
    }
    
    .support .caption{
        margin-bottom: -120px;
    }
    
    .support .caption .effect{
        width: 70px;
        margin-bottom: 10px;
    }
    
    .support .caption p{
        font-size: 15px;
    }
    
    .support .caption .text{
        padding: 30px 0 180px;
    }
    
    .support h4::before{
        top: 15px;
        left: -36px;
    }
    
    .support h4::after{
        bottom: 18px;
        right: -40px;
    }
    
    .support .caption::after{
        width: 200px;
        height: 234px;
        right: -74px;
        top: -67px;
    }
    
    .support .caption::before{
        width: 180px;
        height: 179px;
        left: -53px;
        bottom: 30px;
        top: auto;
    }
    
    .support h5{
        font-size: 20px;
        padding: 14px 20px 0 30px;
    }
    
    .support h5::after {
        height: 44px;
        width: 40px;
        right: -20px;
    }
    
    .support h5::before{
        width: 38px;
        height: 30px;
    }
    
    .support .plan{
        padding: 20px 20px 0;
    }
    
    .support .plan::after{
        width: 81px;
        height: 60px;
        bottom: -36px;
        left: -30px;
    }
    
    .support .plan:last-of-type::after{
        bottom: -36px;
        left: -30px;
    }
    
    .support .plan p{
        font-size: 15px;
    }
    
    .support .plan a{
        margin: 20px 0 -46px;
    }
    
    
    /* event */
    
    .event{
        padding: 30px 0 80px;
    }
    
    .event .container{
        flex-direction: column;
        padding: 0 5%;
    }
    
    .event .title_block{
        padding: 60px 0 10px 0;
        max-width: 400px;
    }
    
    .event h3.title{
        display: flex;
    }
    
    .event h3.title span{
        padding-right: 0;
        padding-left: 20px;
    }
    
    .event .banner{
        padding-left: 0;
        margin-left: 0;
        background-image:none;
    }
    
    footer{
        padding: 20px;
    }
    
    footer address{
        font-size: 12px;
    }
    
    .pagetop{
        bottom: 40px;
        right: 10px;
        border: 5px solid #fff;
        width: 84px;
        height: 84px;
    }
    
    .pagetop a{
        font-size: 26px;
    }
    
    .pagetop a span{
            font-size: 12px;
    }
    
    .pagetop a::before{
        border-right: 5px solid transparent;
        border-left: 5px solid transparent;
        border-bottom: 5px solid var(--yellow);
        margin-bottom: 7px;
    }
}

@media (max-width: 960px){
    
}


