/*共通CSSここから*/
:root{
    --mainColor:#9f9d91;
    --tFontColor:#2c3e50;
    --tsFontColor:#7f8c8d;
    --mFontColor:#444;
}


html{scroll-behavior: smooth;}
article{line-height: 1;}
article ul{list-style: none;}
article a{text-decoration: none;}
article a, article a span, article a::before, article a::after{transition: .4s all;}
article h2{color: var(--tFontColor);}

article p{
    font-size: 16px;
    line-height: 1.5;
    color: var(--tsFontColor);
}

article img{width: 100%;}
article a:hover img{opacity: 1;}


article .pc_none{display: none;}

article .clearfix::after{
    content: "";
    display: block;
    clear: both;
}

article .section_inner{
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
}

article *{
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

@media screen and (max-width:1024px){
    article .section_inner{
        padding: 0 2%;
    }

    section {
        overflow: hidden;
    }
}

@media screen and (max-width:768px){
    article .pc_none{display: block;}
    article .sp_none{display: none;}
}
/*共通CSSここまで*/


/*card_item用CSSここから*/
.card_item a{
    display: block;
    padding: 3%;
    border-radius: 5px;
}

.card_item a > div:first-of-type{
    position: relative;
    margin-bottom: 10px;
}

.card_item a > div:first-of-type::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: var(--mainColor);
}

.card_item a > div:first-of-type + p{
    margin-bottom: 10px;
    font-size: 15px;
    text-align: center;
    color: var(--tsFontColor);
}

.card_item a > div:first-of-type + p + p{
    width: 50%;
    margin: 0 auto;
    padding: 5px 0;
    text-align: center;
    font-size: 20px;
    color: var(--mainColor);
    border: 1px solid var(--mainColor);
    border-radius: 5px;
}

.card_item a:hover{
    transform: translateY(-5px);
    box-shadow: 0 0 5px 2px #ddd;

}

@media screen and (max-width:1024px){
    .card_item a > div:first-of-type + p + p{
        font-size: calc(1vw * calc(20 / 10.24));
    }
}

@media screen and (max-width:768px){
    .card_item a > div:first-of-type + p + p{
        font-size: calc(1vw * calc(25 / 7.68));
    }
}
/*card_item用CSSここまで*/


/*各横並び対応用CSSここから（3カラム、4カラム）*/
.btn_column,
.box_column{
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn_column li{
    width: calc(96% / 3);
    max-width: calc(920px / 3);
}

.btn_column li:not(:last-of-type){
    margin-right: 20px;
}

.box_column li{
    width: calc(94% / 4);
    max-width: calc(900px / 4);
}

.box_column li:not(:last-of-type,:nth-of-type(4)){
    margin-right: 20px;
}

.box_column li:nth-last-of-type(n+5){
    margin-bottom: 20px;
}

@media screen and (max-width:1024px){
    .btn_column li:not(:last-of-type){
        margin-right: 2%;
    }

    .box_column li:not(:last-of-type,:nth-of-type(4)){
        margin-right: 2%;
    }

    .box_column li:nth-last-of-type(n+5){
        margin-bottom: 2%;
    }
}

@media screen and (max-width:768px){
    .btn_column li,
    .box_column li{
        width: calc(96% / 2);
        max-width: none;
    }

    .btn_column li:not(:last-of-type){
        margin-right: 0;
        margin-bottom: 4%;
    }

    .box_column li:not(:last-of-type,:nth-of-type(4)){
        margin-right: 0;
    }

    .box_column li:nth-last-of-type(n+5){
        margin-bottom: 0;
    }

    .btn_column li:not(:nth-of-type(2n)),
    .box_column li:not(:nth-of-type(2n)){
        margin-right: 4%;
    }

    .box_column li:nth-last-of-type(n+3){
        margin-bottom: 4%;
    }
}

/*各横並び対応用CSSここまで（3カラム、4カラム）*/


/*section001ここから*/
.section001{
    margin-bottom: 100px;
}

@media screen and (max-width:1024px){
    .section001{
        margin-bottom: 10%;
    }
}
/*section001ここまで*/


/*section002ここから*/
.section002{
    margin-bottom: 100px;
}

.section002 p{
    margin-bottom: 100px;
    text-align: center;
}

.section002 ul li{
    border-radius: 50px;
    border: 1px solid var(--mainColor);
    overflow: hidden;
}

.section002 ul li a{
    position: relative;
    display: block;
    padding: 20px;
    background: var(--mainColor);
}

.section002 li a span{
    position: relative;
    left: calc(20% - 20px);
    color: #fff;
    font-size: 20px;
}

.section002 ul li a::before{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: calc(20% - 20px);
    display: block;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50px;
}

.section002 ul li a::after{
    content: "";
    position: absolute;
    top: calc(50% - 2px);
    transform: translateY(-50%) rotate(135deg);
    right: calc(20% - 10px);
    display: block;
    width: 8px;
    height: 8px;
    border: 1px solid var(--mainColor);
    border-width: 2px 2px 0 0;
}

@media screen and (min-width:1025px){
    .section002 ul li a:hover{
        background: #fff;
    }

    .section002 ul li a:hover span{
        color: var(--mainColor);
    }

    .section002 ul li a:hover::before{
        background: var(--mainColor);
    }

    .section002 ul li a:hover::after{
        border-color: #fff;
    }
}

@media screen and (max-width:1024px){
    .section002{
        margin-bottom: 10%;
    }

    .section002 p{
        margin-bottom: 10%;
    }
}

@media screen and (max-width:768px){
    .section002 ul li a{
        padding: 9%;
    }
}
/*section002ここまで*/


/*section003～005ここから*/
.section003,
.section004,
.section005 {
    margin-top: -100px;
    margin-bottom: 100px;
    padding-top: 100px;
}

.section003 h2,
.section004 h2,
.section005 h2{
    margin-bottom: 60px;
    font-size: 40px;
    text-align: center;
}

.section003 p,
.section004 p,
.section005 p{
    margin-bottom: 100px;
    text-align: center;
}

.section003 ul,
.section004 ul,
.section005 ul{
    margin-bottom: 40px;
}

.section003 ul + div,
.section004 ul + div,
.section005 ul + div{
    width: 47%;
    max-width: 450px;
    margin:0 auto;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--mainColor);
}

.section003 ul + div > a,
.section004 ul + div > a,
.section005 ul + div > a{
    display: block;
    padding: 20px;
    background: var(--mainColor);
    text-align: center;
}

.section003 ul + div > a span,
.section004 ul + div > a span,
.section005 ul + div > a span{
    color: #fff;
    font-size: 20px;
}

@media screen and (min-width:1025px){
    .section003 ul + div > a:hover,
    .section004 ul + div > a:hover,
    .section005 ul + div > a:hover{
        background: #fff;
    }

    .section003 ul + div > a:hover span,
    .section004 ul + div > a:hover span,
    .section005 ul + div > a:hover span{
        color: var(--mainColor);
    }
}

@media screen and (max-width:1024px){
    .section003, 
    .section004,
    .section005{
        margin-bottom: 10%;
    }

    .section003 h2,
    .section004 h2,
    .section005 h2{
        margin-bottom: 6%;
    }

    .section003 p,
    .section004 p,
    .section005 p{
        margin-bottom: 10%;
    }

    .section003 ul,
    .section004 ul,
    .section005 ul{
        margin-bottom: 8%;
    }
}

@media screen and (max-width:768px){
    .section003 h2,
    .section004 h2,
    .section005 h2{
        font-size: 35px;
    }

    .section003 ul + div,
    .section004 ul + div,
    .section005 ul + div{
        width: 70%;
        max-width: none;
    }

    .section003 ul + div > a,
    .section004 ul + div > a,
    .section005 ul + div > a{
        padding: 6%;
    }
}
/*section003～005ここまで*/


/*section006ここから*/
.section006 .section_inner div{
    width: 47%;
    max-width: 450px;
    margin:0 auto 100px;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--mainColor);
}

.section006 .section_inner div > a{
    display: block;
    padding: 20px;
    background: var(--mainColor);
    text-align: center;
}

.section006 .section_inner div > a span{
    color: #fff;
    font-size: 20px;
}

@media screen and (min-width:1025px){
    .section006 .section_inner div > a:hover{
        background: #fff;
    }

    .section006 .section_inner div > a:hover span{
        color: var(--mainColor);
    }
}

@media screen and (max-width:768px){
    .section006 .section_inner div{
        width: 90%;
        max-width: none;
        margin-bottom: 10%;
    }

    .section006 .section_inner div a{
        padding: 6%;
    }
}
/*section006ここまで*/

/*アニメーション対応ここから*/
.section003 h2,
.section004 h2,
.section005 h2,
.section003 h2 + p,
.section004 h2 + p,
.section005 h2 + p,
.section003 ul.list_animation li,
.section004 ul.list_animation li,
.section005 ul.list_animation li,
.section003 ul + div,
.section004 ul + div,
.section005 ul + div{
    opacity: 0;
}

.section003 h2,
.section004 h2,
.section005 h2{
    transform: translateY(-20px);
}

.section003 h2 + p,
.section004 h2 + p,
.section005 h2 + p{
    transform: translateY(20px);
}

.section003.is_active h2,
.section004.is_active h2,
.section005.is_active h2{
    animation: tfadeIn .8s ease-out 0s 1 alternate forwards;
}

.section003.is_active h2 + p,
.section004.is_active h2 + p,
.section005.is_active h2 + p{
    animation: bfadeIn .8s ease-out 0s 1 alternate forwards;
}

.section003.is_active ul.list_animation li,
.section004.is_active ul.list_animation li,
.section005.is_active ul.list_animation li{
    animation: fadeIn .8s ease-out .4s 1 alternate forwards;
}

.section003.is_active ul + div,
.section004.is_active ul + div,
.section005.is_active ul + div{
    animation: fadeIn .8s ease-out .8s 1 alternate forwards;
}

@keyframes fadeIn {
    0%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}

@keyframes tfadeIn {
    0%{
        transform: translateY(-20px);
        opacity: 0;
    }

    100%{
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bfadeIn {
    0%{
        transform: translateY(20px);
        opacity: 0;
    }

    100%{
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes lfadeIn {
    0%{
        transform: translateX(-20px);
        opacity: 0;
    }

    100%{
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes rfadeIn {
    0%{
        transform: translateX(20px);
        opacity: 0;
    }

    100%{
        transform: translateX(0);
        opacity: 1;
    }
}
/*アニメーション対応ここまで*/