@charset "UTF-8";

#quality_P #Gnav_List li:nth-of-type(3)::after {
background-image: none;
background-color: #ffff;
}

#quality_P .sub_01 a {
    color: #fff;
}

#quality_P #Gnav_List a {
  color: #fff;
}

.cv-btn-area {
    margin: 100px auto 0;
}

.pos {
    position: relative;
}

figure {
    position: relative;
}

.mv {
  background: url(../img/main.jpg) no-repeat;
}


#Gnav_List a {
    color: #fff;
}

.sub_01 a {
    color: #fff;
}

/* キャプション */
.cap_txt {
    position: absolute;
    bottom: 5px;
    font-size: 11px;
    line-height: 1.2;
}

.cap_R {
    right: 5px;
}

.cap_L {
    left: 5px;
}

.cap_W {
    color: #fff;
}

.cap_B {
    color: #000;
}

.cap_ShaB {
    text-shadow: 0 0 5px #000;
}

.cap_ShaW {
    text-shadow: 0 0 5px #fff;
}


/* tab */
.tab {
    padding-top: 100px;
    margin: 0 auto 0;
}

.tab ul {
    justify-content: center;
    flex-wrap: wrap;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.tab ul li {
    width: calc((100% - 6%) / 4);
    margin-right: 2%;
}

.tab ul li:nth-of-type(4),
.tab ul li:nth-of-type(7) {
    margin-right: 0;
}

.tab ul li:nth-of-type(n+5) {
    margin-top: 2%;
}

.tab ul li a {
    display: block;
    font-size: 16px;
    color: #0d445b;
    text-align: center;
    background: #fff;
    border: 1px solid #0d445b;
    padding: 15px 0;
    position: relative;
    transition: all .5s;
}

.tab ul li.here a {
    color: #fff;
    background: #0d445b;
    transition: all .5s;
}

.tab ul li a:hover {
    color: #fff;
    background: #0d445b;
}

.tab ul li.here a:hover {
    opacity: 0.7;
}

.tab ul li a::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left: 8px solid #0d445b;
}

.tab ul li.here a::after {
    border-left: 8px solid #fff;
}

.tab ul li a:hover::after {
    border-left: 8px solid #fff;
}

.bg-copy {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding: 50px 0;
    width: 90%;
    max-width: 1000px;
    margin: 100px auto 100px;
    position: relative;
}

.bg-copy h2 {
    width: 90%;
    max-width: 625px;
    margin: 0 auto;
}

.main-copy {
    margin: 100px auto 0;
}

.en-ttl {
    font-size: 30px;
    font-family: "Jost", sans-serif;
    letter-spacing: 3px;
    text-align: center;
    color: #0d445b;
}

.ja-ttl {
    font-size: 22px;
    letter-spacing: 2px;
    line-height: 1.8;
    text-align: center;
    margin-top: 15px;
    color: #0d445b;
}

.copy-txt {
    font-size: 16px;
    line-height: 2.2;
    letter-spacing: 2px;
    text-align: center;
    margin-top: 20px;
}

[class$="-box"] {
    width: 90%;
    max-width: 1200px;
    margin: 60px auto 0;
}

/* flex */
.column2,
.column2-1,
.column3,
.column4 {
    flex-wrap: wrap;
    justify-content: space-between;
}

.column2 li {
    width: 48%;
}

.column3 li {
    width: 31%;
}

.column3 li.dobble {
    width: calc((31% * 2) + 3.5%);
}

.column4 li {
    width: 22%;
}

.column4 li.dobble {
    width: 48%;
}

/* text */
.item-ttl {
    font-size: 18px;
    line-height: 1.3;
    color: #0d445b;
    text-align: left;
    margin-top: 10px;
}

.item-ttl.mini {
    font-size: 16px;
}

.item-ttl.flex {
    align-items: flex-start;
}

.item-ttl span {
    display: block;
}

.item-ttl span small {
    display: inline-block;
    line-height: 1.4;

}

.item-ttl span.line01 {
    position: relative;
    top: -4px;
}

.item-ttl .shikaku {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    font-size: 16px;
    color: #fff;
    background: #1f9b8b;
    padding-top: 2px;
    margin-right: 8px;
}

.item-txt {
    font-size: 14px;
    text-align: left;
    margin-top: 10px;
}

.attention p {
    font-size: 12px;
    margin-top: 10px;
}

.small-ttl {
    font-size: 12px;
}

small {
    font-size: 12px;
}

.brown {
    color: #fff;
    text-align: center;
    background: #4d3116;
    padding: 10px 0;
}

.gray {
    font-size: 12px;
    color: #fff;
    text-align: center;
}

.item {
    margin-top: 60px;
}

.sub-item {
    margin-top: 40px;
}

.sub-item:nth-of-type(1) {
    margin-top: 0;
}

.no-margin {
    margin: 0;
}

.no-tab {
    display: block;
}

/*=======================================
TAB_横
=======================================*/
@media (max-width: 1024px) {

    .no-tab {
        display: none;
    }
}


/*=======================================
TAB_縦~SP
=======================================*/
@media (max-width: 820px) {

    .cv-btn-area {
        margin: 50px auto 0;
    }
    .bg {
        padding-bottom: 50px;
    }

    .no-tab {
        display: ruby-base;
    }

    .tab {
        padding-top: 50px;
        margin: 0 auto 0;
    }

    .tab ul {
        justify-content: space-between;
    }

    .tab ul li {
        width: 48%;
        margin-right: 0;
    }

    .tab ul li:nth-of-type(n+3) {
        margin-top: 4%;
    }

    .tab ul li a {
        font-size: 14px;
    }

    .tab ul li a::after {
        right: 5px;
    }

    .main-copy {
        margin: 60px auto 0;
    }

    .en-ttl {
        font-size: 24px;
    }

    .ja-ttl {
        font-size: 18px;
    }

    .copy-txt {
        font-size: 14px;
        line-height: 1.8;
    }

    [class$="-box"] {
        margin: 40px auto 0;
    }

    .item {
        margin-top: 50px;
    }

    .column2 li,
    .column3 li,
    .column3 li.dobble,
    .column4 li,
    .column4 li.dobble {
        width: 100%;
    }


}