/*==================================================

    PC

==================================================*/


/*==================================================
    common
==================================================*/
#main {
    background: #FFF7EB url(/navitsan/img/pattern.png) repeat;
}

#main a {
    transition: all 300ms 0s ease;
}
    #main a:hover {
        opacity: 0.8;
    }

@media screen and (max-width: 768px) {

    #main img {
        max-width: 100%;
        height: auto;
    }
}

/*--------------------
    news_area
--------------------*/
#news_area {
    background: url(/navitsan/img/news_bg_pc.png) repeat-x bottom left;
    overflow: hidden;
    padding: 36px 0 122px;
}
#news_area .news_box {
    background-color: #fff;
    border-radius: 60px 0 0 60px;
    margin-right: calc(50% - 50vw);
    padding-right: calc(50vw - 50%);
}
#news_area .news_box dl {
    padding: 40px 32px 40px 343px;
    position: relative;
}
#news_area .news_box dt {
    position: absolute;
    top: -16px;
    left: 40px;
}
#news_area .news_box dd {
    flex-grow: 1;
}
#news_area .news_box dd a {
    display: block;
    border-radius: 12px;
    padding: 30px 38px;
    text-decoration: none;
    position: relative;
    background: #FFF7EB url(/navitsan/img/arrow.png) no-repeat 97% 50%;
}
#news_area .news_box dd a p.date {
    color: #747474;
    font-size: 77.78%;
    font-weight: 700;
    margin-bottom: 4px;
}
#news_area .news_box dd a p.text {
    font-weight: 700
}

@media screen and (max-width: 768px) {

    #news_area {
        background: url(/navitsan/img/news_bg_sp.png) no-repeat bottom center / cover;
        padding: 24px 0 70px;
    }
    #news_area .news_box {
        margin-left: 10px;
    }
    #news_area .news_box dl {
        flex-direction: column;
        padding: 80px 10px 26px 20px;
    }
    #news_area .news_box dd a {
        padding: 14px 38px 14px 20px;
        background-size: 14px auto;
    }
    #news_area .news_box dd a p.date {
        font-size: 66.67%;
    }
    #news_area .news_box dd a p.text {
        font-size: 77.78%;
    }
}

/*--------------------
    qa
--------------------*/

@media screen and (max-width: 768px) {
    #qa {
        padding-left: 16px;
        padding-right: 16px;
    }
}
#qa .l-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(7, 1fr);
    gap: 8px;
}
#qa .l-grid .l-col {
    background-color: #fff;
    border-radius: 20px;
    filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.12));
    overflow: hidden;
}

#qa .l-grid .item1 { grid-area: 1 / 1 / 3 / 3; }
#qa .l-grid .item2 { grid-area: 1 / 3 / 2 / 4; }
#qa .l-grid .item3 { grid-area: 1 / 4 / 2 / 5; }
#qa .l-grid .item4 { grid-area: 2 / 3 / 3 / 4; }
#qa .l-grid .item5 { grid-area: 2 / 4 / 3 / 5; }
#qa .l-grid .item6 { grid-area: 3 / 1 / 4 / 2; }
#qa .l-grid .item7 { grid-area: 3 / 2 / 4 / 3; }
#qa .l-grid .item8 { grid-area: 3 / 3 / 4 / 4; }
#qa .l-grid .item9 { grid-area: 3 / 4 / 4 / 5; }
#qa .l-grid .item10 { grid-area: 4 / 1 / 6 / 2; }
#qa .l-grid .item11 { grid-area: 4 / 2 / 5 / 3; }
#qa .l-grid .item12 { grid-area: 4 / 3 / 5 / 4; }
#qa .l-grid .item13 { grid-area: 4 / 4 / 5 / 5; }
#qa .l-grid .item14 { grid-area: 5 / 2 / 6 / 3; }
#qa .l-grid .item15 { grid-area: 5 / 3 / 6 / 5; }
#qa .l-grid .item16 { grid-area: 6 / 1 / 7 / 2; }
#qa .l-grid .item17 { grid-area: 6 / 2 / 7 / 3; }
#qa .l-grid .item18 { grid-area: 6 / 3 / 7 / 4; }
#qa .l-grid .item19 { grid-area: 6 / 4 / 7 / 5; }
#qa .l-grid .item20 { grid-area: 7 / 1 / 8 / 2; }
#qa .l-grid .item21 { grid-area: 7 / 2 / 8 / 3; }
#qa .l-grid .item22 { grid-area: 7 / 3 / 8 / 4; }
#qa .l-grid .item23 { grid-area: 7 / 4 / 8 / 5; }

#qa .l-grid .l-col > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*--------------------
    qa flip animation
--------------------*/
#qa .l-grid .l-col {
    cursor: pointer;
    position: relative;
    background: transparent;
}

#qa .l-grid .l-col.notQ {
    cursor: default;
}

#qa .l-grid .l-col .q_box {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transition: transform 0.8s ease;
    -webkit-transition: transform 0.8s ease;
}

#qa .l-grid .l-col.flipped .q_box {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
}

#qa .l-grid .l-col .q_box_front,
#qa .l-grid .l-col .q_box_back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 30px;
    background-color: #fff;
    border-radius: 20px;
    box-sizing: border-box;
}

#qa .l-grid .l-col .q_box_front .title span,
#qa .l-grid .l-col .q_box_back .title span {
    display: block;
    margin-bottom: 14px;
}

#qa .l-grid .l-col .q_box_front .a_btn {
    align-self: flex-end;
    margin-top: 0;
}

#qa .l-grid .l-col .q_box_front {
    transform: rotateY(0deg);
    -webkit-transform: rotateY(0deg);
}

#qa .l-grid .l-col .q_box_back {
    transform: rotateY(180deg);
    -webkit-transform: rotateY(180deg);
    background-color: #00B4EC;
}

#qa .l-grid .l-col .q_box_back .answer {
    font-size: 100%;
    line-height: 1.6;
    margin-top: 0;
    color: #fff;
    font-weight: 500;
    flex-grow: 1;
}

#qa .l-grid .l-col .q_box_back .return-btn {
    text-align: right;
    margin-top: 10px;
    font-size: 66.67%;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
}

@media screen and (max-width: 768px) {

    #qa {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    #qa .l-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(11, 1fr);
    }

    #qa .l-grid .item1 { grid-area: 1 / 1 / 2 / 2; }
    #qa .l-grid .item2 { grid-area: 1 / 2 / 2 / 3; }
    #qa .l-grid .item3 { grid-area: 2 / 1 / 3 / 2; }
    #qa .l-grid .item4 { grid-area: 2 / 2 / 3 / 3; }
    #qa .l-grid .item5 { grid-area: 3 / 1 / 4 / 2; }
    #qa .l-grid .item6 { grid-area: 3 / 2 / 4 / 3; }
    #qa .l-grid .item7 { grid-area: 4 / 1 / 5 / 2; }
    #qa .l-grid .item8 { grid-area: 4 / 2 / 5 / 3; }
    #qa .l-grid .item9 { grid-area: 5 / 1 / 6 / 2; }
    #qa .l-grid .item10 { grid-area: 5 / 2 / 7 / 3; }
    #qa .l-grid .item11 { grid-area: 6 / 1 / 7 / 2; }
    #qa .l-grid .item12 { grid-area: 7 / 1 / 8 / 2; }
    #qa .l-grid .item13 { grid-area: 7 / 2 / 8 / 3; }
    #qa .l-grid .item14 { grid-area: 8 / 1 / 9 / 2; }
    #qa .l-grid .item15 { display: none; }
    #qa .l-grid .item16 { grid-area: 8 / 2 / 9 / 3; }
    #qa .l-grid .item17 { grid-area: 9 / 1 / 10 / 2; }
    #qa .l-grid .item18 { grid-area: 9 / 2 / 10 / 3; }
    #qa .l-grid .item19 { grid-area: 10 / 1 / 11 / 2; }
    #qa .l-grid .item20 { grid-area: 10 / 2 / 11 / 3; }
    #qa .l-grid .item21 { grid-area: 11 / 1 / 12 / 2; }
    #qa .l-grid .item22 { grid-area: 11 / 2 / 12 / 3; }
    #qa .l-grid .item23 { display: none; }
    
    #qa .l-grid .l-col .q_box_front,
    #qa .l-grid .l-col .q_box_back {
        padding: 16px 20px;
    }
    
    #qa .l-grid .l-col .q_box_front .title,
    #qa .l-grid .l-col .q_box_back .title {
        font-size: 77.78%;
    }
    
    #qa .l-grid .l-col .q_box_front .title span,
    #qa .l-grid .l-col .q_box_back .title span {
        max-width: 53px;
    }
    
    #qa .l-grid .l-col .q_box_front .a_btn {
        max-width: 80px;
    }
    
    #qa .l-grid .l-col .q_box_back .answer {
        font-size: 66.67%;
        line-height: 1.4;
    }
    
    #qa .l-grid .l-col .q_box_back .return-btn {
        font-size: 55.56%;
    }
}

/*--------------------
    name
--------------------*/
#name {
    color: #fff;
    background-color: #00B4EC;
    border-radius: 220px;
}
#name .l-inner {
    position: relative;
}
#name p.period {
    position: absolute;
    right: 0;
    top: 56px;
    margin-top: 0;
}
#name p.brackets {
    font-size: 144.44%;
    background: url(/navitsan/img/brackets.png) no-repeat center;
    display: inline-block;
    padding: 0 40px;
}
#name p.text {
    font-size: 111.11%;
}
#name p.btn_arrow .btn {
    max-width: 100%;
    width: 432px;
    height: 88px;
    background: #FEEF6D;
    border-radius: 55px;
    margin: 53px auto 0;
    position: relative;
    font-size: 144.44%;
}
#name p.btn_arrow .btn::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    right: 5%;
    display: inline-block;
    width: 42px;
    height: 42px;
    background: url(/navitsan/img/btn_arrow.png) no-repeat center bottom / contain;
}

@media screen and (max-width: 768px) {

    #name {
        border-radius: 80px;
        padding: 56px 20px 62px;
    }
    #name p.period {
        position: static;
        margin: 18px auto 22px;
    }
    #name p.text {
        font-size: 83.33%;
    }
    #name p.btn_arrow .btn {
        width: 315px;
        height: 68px;
        margin: 27px auto 0;
    }
    #name p.btn_arrow .btn span {
        font-size: 77.78%;
    }
    #name p.btn_arrow .btn::after {
        width: 32px;
        height: 32px;
    }
}

/*--------------------
    season
--------------------*/
#season {
    background-color: #FFF7EB;
    position: relative;
    overflow: hidden;
}
#season::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    width: 137%;
    height: 409px;
    border-radius: 50% / 100% 100% 0 0;
    background: #91DC4F;
}
#season .l-inner {
    position: relative;
    z-index: 1;
}
#season dt img {
    filter: drop-shadow(0px 4px 12px rgba(0,0,0,0.08));
}
#season dd {
    font-size: 177.78%;
}
#season p.btn_dl {
    width: 49%;
}
#season p.btn_dl .btn {
    height: 80px;
    background: #fff;
    border-radius: 55px;
    margin: 22px auto 0;
    position: relative;
    font-size: 94.44%;
    padding: 0;
}
#season p.btn_dl .btn span {
    padding-left: 1em;
}
#season p.btn_dl .btn::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    left: 10%;
    display: inline-block;
    width: 26px;
    height: 26px;
    background: url(/navitsan/img/btn_dl.png) no-repeat center bottom / contain;
}
#season .disabled {
    opacity: 0.5;
}
#season .disabled a {
    pointer-events: none
}

@media screen and (max-width: 768px) {

    #season {
        padding: 50px 10px 90px;
    }
    #season::after {
        bottom: 45%;
        width: 200%;
        height: 169px;
    }
    #season::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 55%;
        background-color: #91DC4F;
    }
    #season dd {
        font-size: 122.22%;
    }
    #season p.btn_dl .btn {
        height: 55px;
        font-size: 77.78%;
        margin: 14px auto 0;
    }
    #season p.btn_dl .btn::after {
        width: 19px;
        height: 19px;
    }
}

