.off {display: none;}
body {
    padding-top: 6rem;
    padding-bottom: 8rem;
    min-height: calc(100vh - 14rem);
}
.body_index {padding: 0;}


/* index */
.index {
    text-align: center;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('../img/index-background.png') no-repeat center / cover;
}
.index img{
    width: 18rem;
    margin: 10rem 0 5rem;
}


/* bottom main menu */
nav {
    position: fixed;
    height: 7rem;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10000;    
    overflow: hidden;
    background-color: #fff;
}
nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #abd037;
}
nav ul li {
    width: 100%;text-align: center;position: relative;
}
nav ul li a {
    display: block;
    padding: .3rem 0 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.1;
    color: #757575;
    opacity: .7;
}
nav ul li.on a {font-weight: bold;opacity: 1;color: #1a1a1a;}
nav ul li a:before {
    content: '';
    display: block;
    margin: 0 auto .3rem;
    width: 2.5rem;
    height: 3rem;
}
nav ul li:nth-child(1).on a:before {background: url(../img/menu1.png) no-repeat center/contain;}
nav ul li:nth-child(2).on a:before {background: url(../img/menu2.png) no-repeat center/contain;}
nav ul li:nth-child(3).on a:before {background: url(../img/menu3.png) no-repeat center/contain;}
nav ul li:nth-child(4).on a:before {background: url(../img/menu4.png) no-repeat center/contain;}
nav ul li:nth-child(1) a:before {background: url(../img/menu1_off.png) no-repeat center/contain;}
nav ul li:nth-child(2) a:before {background: url(../img/menu2_off.png) no-repeat center/contain;}
nav ul li:nth-child(3) a:before {background: url(../img/menu3_off.png) no-repeat center/contain;}
nav ul li:nth-child(4) a:before {background: url(../img/menu4_off.png) no-repeat center/contain;}

   /* nav ul li.on:after {
 content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4.5rem;
    height: .3rem;
    background: #f86f03;
    border-radius: 3px; 
}*/

/* tab_wrap */
.tab_wrap {
    background-color: #349745;
    width: 100%;
    padding: 1.5rem;
    padding-left: 0;
    padding-bottom: .7rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.tab_wrap .swiper {
    height: 3.5rem;
}
.tab_wrap .sub_menu {
    width: 100%;
    margin-left: 0;
}
.tab_wrap .share_wrap {
    width: 8%;
    text-align: center;
}
.tab_wrap .share_wrap .share {
    text-indent: -9999px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 2.8rem;
    height: 2.8rem;
    z-index: 100;
    background: url("../img/share.png") no-repeat center / contain;
}
.tab_wrap .swiper {
    position: relative;
}
.tab_wrap .swiper:after {
    content: '';
    z-index: 1;
    position: absolute;
    right: -2px;
    top: 0;
    height: 100%;
    width: 25px;
    background: linear-gradient(90deg, transparent, #349745 45%);
}
.tab_wrap .swiper-wrapper {
    align-items: center;
}
.tab_wrap .swiper-wrapper .swiper-slide {
    width: fit-content !important;
}
.tab_wrap .swiper-wrapper .swiper-slide p {
    background: #77c983;
    color: #a0e0a3;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    font-size: 1.8rem;
    border-radius: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tab_wrap .swiper-wrapper .swiper-slide p span {
    font-size: 1.7rem;
    color: #666;
    font-weight: 500;
}
.tab_wrap .swiper-wrapper .swiper-slide.on p {
    background: #fff;
    font-weight: bold;
    color: #349745;
}
.tab_wrap .swiper-wrapper .swiper-slide.on p span {
    
}


/* content_wrap */
.content_wrap {
    display: none;
    padding: 2rem;
    padding-top: 4rem;
    transition: margin-top 0.3s ease;
}
.content_wrap.adjusted {
    margin-top: 10rem !important; 
  }
.content_wrap.on {
    display: block;
}
.content_wrap h2 {
    /* font-family: 'Spoqa Han Sans', 'Spoqa Han Sans JP', 'Sans-serif'; */
    color: #091b30;
    font-size: 2.4rem;
    line-height: 1.3;
    font-weight: bold;
    width: fit-content;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    /* background-image: linear-gradient(transparent 0, transparent 70%, #c9eea9 70%); */
}
.content_wrap h2::before {
    content:"";
    width: 1rem;
    height: 3rem;
    left: 0;
    top:50%;
    transform: translateY(-50%);
    position: absolute;
    background: url('../img/deco.png') no-repeat center/contain ;
}
.content_wrap h2 span {
    font-size: inherit;
    font-weight: inherit;
    color: #f86d00;
}
.content_wrap h3 {
    color: #236969;
    padding-left: 1rem;
    line-height: 1.6;
    font-weight: 600;
    font-size: 1.9rem;
    position: relative;
    margin: 2rem 0 .5rem;
}
.content_wrap h3::before {
    content: "";
    height: 3px;
    width: 3px;
    border-radius: 100%;
    position: absolute;
    background-color: #006934;
    left: 0;
    top: calc(50% - 1px);
}
.content_wrap pre {
    color: #6d6d6d;
    line-height: 1.4;
    font-size: 1.8rem;
    padding-bottom: 1rem;
}
.content_wrap pre .link {
    font-size: inherit;
    font-weight: inherit;
    /* background-image: linear-gradient(transparent 0, transparent 70%, #9ff4dc 70%); */
}
.content_wrap pre .emo {
    height: 2rem;
    margin-right: .5rem;
    transform:translateY(.4rem);
}
.content_wrap pre b {
    font-size: 1.9rem;
    font-weight: bold;
    color: #f86f03;
    line-height: 1.6;
}
.content_wrap pre .bold {
    color: #01ab90;
    font-weight: bold;
    font-size: inherit;
}
.content_wrap img {
    width: 100%;
    margin-bottom: 1.5rem;
}

.hometax {
    position: fixed;
    display: none;
    bottom: 8.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    height: 5.5rem;
    border-radius: 2rem;
    font-weight: 600;
    color: #fff;
    font-size: 1.8rem;
    justify-content: center;align-items: center;
    background-image: linear-gradient(to right,  #f78617 0%, #fc5b35 100% );
}
.hometax.on {
    display: flex;
}
.hometax img {
    height: 3rem;
    margin-right: .5rem;
}


/* news */
.news .news_wrap {
    position: relative;
    
}
.news .title_wrap {
    width: 100%;
    /* background: url('../img/news.png') no-repeat 90% 0/ 7rem; */
    border-bottom: 1px solid #abd037;
    margin-bottom: 2rem;
}
.news .title_wrap img {
    width: 100%;
}
.news .title_wrap h2 {
    font-size: 2.8rem;
    padding-top: 2rem;
    color: #2c933d;
    line-height: 1.3;
    font-weight: bold;
    position: relative;
}
.news .title_wrap p {
    font-size: 2.8rem;
    padding-top: 2rem;
    color: #2c933d;
    line-height: 1.3;
    font-weight: bold;
    position: relative;
}

.news .news_wrap .news_deco {
    position: absolute;
    left: 0; top: 0;
    background-color: #fcc486;
    width: 100%; height: 10rem;
    border-radius: 0 0 4rem 4rem;
}
.news .news_wrap .recent {
    background-color: #f9fce6;
    margin: 2rem;
    margin-top: 0;
    padding: 2rem;
    z-index: 10;
    position: relative;
}
.news .news_wrap .recent::before {
    content: "";
    position: absolute;
    left: 0;top: 50%;
    transform: translateY(-50%);
    width: 5px;height: 80%;
    background-color: #e9e967;
}
.news .news_wrap .recent h3 {
    border-bottom: 1px solid #ddd;
    line-height: 1.2;
    color:#000;
    padding-top: .5rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 600;
}
.news .news_wrap .recent .content {
    font-size: 1.7rem;
    color: #666;
    line-height: 1.4;
}
.news .news_wrap .recent .date {
    font-size: 1.5rem;
    color: #01ab90;
    margin-top: 1rem;
}
.news .news_wrap .recent span {
    color: #999;
    font-size: 1.8rem;
    display: flex;
    justify-content: end;
    align-items: center;
}
.news .news_wrap .recent span img {
    width: .8rem;
    margin-left: 1rem;
}

/* news_sub */
.news_sub .title_wrap {
    width: 100%;
    height: 6rem;
    padding-left: 2rem;
    display: flex;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid #abd037;
}
.news_sub .title_wrap img {
    width: 1rem;
    margin-right: 1.5rem;
}
.news_sub .title_wrap p {
    font-size: 2rem;
    font-weight: bold;
    position: relative;
}
.news_sub .title_wrap p::before {
    /* content: "";
    position: absolute;
    left: 0;top: 1.5rem;
    z-index: -11;
    height: .8rem;width: 100%;
    background-image: linear-gradient(to right,#5ea931 0%, #dbebaa 100%); */
}
.news_sub .content_box {
    padding: 2.5rem 2rem;
}
.news_sub .content_box .date {
    font-size: 1.4rem;
    color: #01ab90;
    margin-bottom: .5rem;
}
.news_sub .content_box h3 {
    font-size: 2.4rem;
    font-weight: bold;
    color: #000;
    line-height: 1.2;
    margin: 0 0 2rem;
}
.news_sub .content_box .content {
    font-size: 1.8rem;
    color: #6d6d6d;
    line-height: 1.4;
    margin-bottom: 2rem;
}
.news_sub .content_box img {
    width: 100%;
}
.news_sub .content_box .newslink {
    font-size: 1.8rem;
    font-weight: bold;
    color: #1a1a1a;
    padding: 1.5rem 0;
    width: 100%;
    margin-top: 1rem;
    border-radius: .5rem;
    display: flex;justify-content: center;align-items: center;
    background-color: #f9fce6;
}



.box_wrap {
    padding-bottom: 8rem;
    padding: 2rem 0;
}
.box_wrap h2 {
    margin: 0 2rem 2rem;
}
.box_wrap .box {
    margin: 0 2rem;
    border-top: 1px solid #abd037;
}
.box_wrap .box:last-of-type {
}
.box_wrap .box h4 {
    background: url('../img/open.png') no-repeat 95% center / 1.5rem ;
    padding: 1.5rem 6.5rem 1.5rem 4rem;
    line-height: 1.2;
    font-size: 1.9rem;
    font-weight: 500;
    color: #226767;
    position: relative;
}
.box_wrap .box.on h4 {
    background: url('../img/close.png') no-repeat 95% center / 1.5rem ;
}
.box_wrap .box h4::before {
    content:"Q. ";
    width: 2rem;
    height: 2rem;
    margin-right: .5rem;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}
.box_wrap .box:last-of-type h4 {
    border: none;
}
.box_wrap .box pre {
    background-color: #f9fce6;
    font-size: 1.8rem;
    line-height: 1.3;
    padding: 1.5rem 6.5rem 1.5rem 4.5rem;
    color: #777;
    display: none;
    position: relative;
}
.box_wrap .box pre .link {
    border-bottom: 1px solid #d2e68f;
}
.box_wrap .box pre::before {
    content:"A. ";
    margin-right: .5rem;
    position: absolute;
    left: 1.3rem;
}
.box_wrap .box.on pre {
    display: block;
}






