/*
Theme Name: Theme YMS
Theme URI: 
Author: Akira Nayoka
Author URI: 
Description: 
Version: 1.0

/* =Reset
-------------------------------------------------------------- */
.text-right{
    text-align: right;
}
.content--partner {
    padding-block: 40px 40px;
}
.content--partner+p{
    font-size: 3.5vw;
    text-align: center;
    margin: 0;
    padding: 0 15px 60px;
    font-weight: 700;
}
.inner-content--bgyellow {
    border-image: url("assets/images/bg-yellow-2.svg") 16/16px/0 round;
    position: relative;
    z-index: 1;
    padding: 30px 20px;
}

.inner-content--bgyellow::before {
    content: "";
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    left: 14px;
    top: 14px;
    position: absolute;
    z-index: -1;
    background: var(--primary);
}
@media only screen and (min-width: 992px) {
    .inner-content--bgyellow {
        padding: 30px;
    }
}
@media only screen and (min-width: 1200px) {
    .inner-content--bgyellow {
        padding: 55px;
    }
}



.section-heading--partner{
    display: flex;
    justify-content: center;
    align-items: center;
}
.section-heading--partner img{
    display: none;
}
.section-heading--partner+p{
    font-size: 3.5vw;
    margin: 0 0 40px;
    font-weight: 700;
}

.list--partners{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.item--partner{
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 40px 27px 20px;
    gap: 30px;
    width: 100%;
}
.item--partner::before, .item--partner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.item--partner:before{
    z-index: 1;
    border-image: url(assets/images/partner/border-box.png) 16 / 16px / 0 round;
}
.item--partner::after {
    z-index: -1;
    background: var(--white);
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    left: 3px;
    top: 3px;
}
.item--partner figure{
    width: 100%;
    height: auto;
    text-align: center;
}
.item--partner .intro{
    flex: 1;
}
.item--partner .intro h3{
    font-size: 24px;
    line-height: 36px;
}
@media only screen and (max-width: 767px) {
    .item--partner .intro h3{
        font-size: 5.6vw;
        line-height: 29px;
    }
}
@media (min-width: 768px){
    .section-heading--partner+p{
        font-size: 20px;
    }
    .item--partner{
        width: calc(50% - 15px);
    }

    .section-heading--partner img{
        position: relative;
        z-index: 9;
        display: block;
    }
    .section-heading--partner span{
        padding: 0 0 0 40px;
        margin-left: -30px;
    }
    .content--partner+p{
        font-size: 20px;
    }
}
@media (min-width: 992px){
    .item--partner figure{
        width: 150px;
    }
}

.content--contact{
    padding-block: 40px 60px;
}
.content--contact .section-heading--white span{
    padding: 0 30px;
}


/* Form */
.form-group+.form-group{
    margin: 30px 0 0;
}
.form-group label{
    font-size: 14px;
    line-height: 18px;
}
.form-control {
    display: block;
    width: 100%;
    padding: .975rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #fff;
    border-radius: 7px;
}
.form-group label span{
    border-image: url(assets/images/bg-red.png) 30 / 15px / 0 round;
    position: relative;
    z-index: 1;
    padding: 5px 12px;
    color: #fff;    
    margin: 10px 0 0 7px;
    display: inline-block;
    font-size: 13px;
}
@media only screen and (max-width: 767px) {
    .form-group label span{
        border-image: url(assets/images/bg-red.png) 30 / 15px / 0 round;
        position: relative;
        z-index: 1;
        padding: 1px 10px;
        color: #fff;    
        margin: 10px 0 0 7px;
        display: inline-block;
        font-size: 13px;
    }
}
.form-group label span:before{
    content: "";
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    left: 14px;
    top: 14px;
    position: absolute;
    z-index: -1;
    background: #ea593f;
}
.btn-submit{
    border-image: url(assets/images/bg-red.png) 30 / 30px / 0 round;
    position: relative;
    z-index: 1;
    padding: 12px 20px;
    color: #fff;
    display: block;
    max-width: 830px;
    margin: 30px auto 0;
    text-align: center;
    width: 100%;
    background: transparent;
}
.btn-submit:before{
    content: "";
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    left: 14px;
    top: 14px;
    position: absolute;
    z-index: -1;
    background: #ea593f;
}
@media (min-width: 768px){
    .form-group label span{
        font-size: 16px;
        padding: 5px 20px;
        margin: 10px 0 0 10px;
    }
    .form-group label{
        font-size: 16px;
        line-height: 20px;
    }
}
@media (min-width: 992px){
    .yms__content--left{
        font-size: 14px;
        line-height: 24px;
    }
}

.yms__content{
    align-items: stretch;
}
.yms__content--right{
    align-items: flex-start;
}
/*.yms__content--left,
.yms__content--right{
    width: 100%;
}*/

@media (max-width: 991px){
    .header-sticky .site-header__logo img{
        max-width: 60px;
        padding: 0;
    }
    .header-sticky.site-header{
        padding: 10px 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 1px 5px #ededed;
    }
    .header-sticky .site-header__mobile--buttons a img{
        height: 40px;
    }
    .header-sticky .site-header__mobile--buttons .toggle-menu{
        width: 45px;
        height: auto;
    }
}

@media (min-width: 992px){
    body.scrolled{
        padding-top: 200px;
    }
    .header-sticky.site-header{
        padding-top: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 1px 5px #ededed;
    }
    .header-sticky .site-header__inner{

    }
    .header-sticky .site-header__logo{
        max-width: 70px;
        padding: 10px 0;
    }
    .header-sticky .site-header__nav{
        padding: 12px 0 12px 11%;
    }
    .header-sticky .site-header__nav{
        background: none;
    }
    .header-sticky .site-header__nav ul{
        justify-content: flex-end;
    }
    .header-sticky .site-header__nav ul li a>img{
        display: none;
    }
    .header-sticky .site-header__nav ul li a{
        justify-content: center;
    }
}

.pic-caption{
    margin: 0;
    font-size: 10.5px;
    color: #9d9d9d;
    text-align: right;
}
@media only screen and (max-width: 767px) {
    .pic-caption{
        margin: 0;
        font-size: 11px;
        color: #666;
        text-align: left;
    }
}

.style-decimal{
    list-style: decimal;
}
.style-decimal li+li{
    margin-top: 10px;
}
.box-section__item--body{
    font-size: 18px;
    line-height: 25px;
}
.services__box--body{
    font-size: 18px;
    line-height: 25px;
}

.services__box{
    scroll-margin-top: 260px;
}

.breadcrumbs{
    margin-bottom: 60px;
}
.hm_news_list {
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px), print {
    .hm_news_list .hm_news_box:last-child {
        border: none;
    }
}
.hm_news_box {
    border-bottom: 1px solid #f0bf31;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0;
    position: relative;
}
.hm_news_box:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    left: 0;
    bottom: -100%;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    z-index: -1;
    opacity: 0;
}
.hm_news_box:hover:before {
    bottom: 0;
    opacity: 1;
}
@media (min-width: 768px) and (max-width: 1023px) {
    .hm_news_box {
        padding: 20px 0;
    }
}
@media (max-width: 767px) {
    .hm_news_box {
        flex-direction: column;
        gap: 16px;
        padding: 20px 0;
    }
}

.hm_news_date,.hm_news_ttl{
    margin: 0;
}
.hm_news_ttl {
    flex: 1 1 0%;
}

.btn01 {
    align-items: center;
    background: #000;
    border: 1px solid #000;
    border-radius: 65px;
    color: #fff;
    display: flex;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400;
    justify-content: center;
    height: 100%;
    letter-spacing: 2px;
    position: relative;
    width: 100%;
    margin: 0 auto;
}
@media (min-width: 768px), print {
    .cmn_btn,
    .btn01 {
        font-size: 18px;
    }
    .cmn_btn:hover{
        background: #fff;
        border-color: #284291;
        color: #284291;
        letter-spacing: 4px;
    }
    .btn01:hover {
        background: #fff;
        border-color: #000;
        color: #000;
        letter-spacing: 4px;
    }
}
@media (max-width: 767px) {
    .cmn_btn,
    .btn01 {
        font-size: 16px;
    }
}
.cmn_btn {
    height: 64px;
    margin: 0 auto;
    max-width: 300px;
    width: 100%;
}
@media (min-width: 1024px) and (max-width: 1590px) {
    .cmn_btn {
        height: 85px;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .cmn_btn {
        height: 75px;
        max-width: 240px;
    }
}
@media (max-width: 767px) {
    .cmn_btn {
        height: 64px;
        max-width: 200px;
    }
}
.btn01 {
    background: #fff;
    color: #000;
    height: 64px;
    max-width: 300px;
    width: 100%;
}
@media (min-width: 1024px) and (max-width: 1590px) {
    .btn01 {
        height: 85px;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .btn01 {
        height: 75px;
        max-width: 240px;
    }
}
@media (max-width: 767px) {
    .btn01 {
        height: 64px;
        max-width: 240px;
    }
}
.btn01:hover {
    background: #000;
    color: #fff;
}
.pagination ul{
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination ul li span,
.pagination ul li a{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
    background: #fff;
    border: solid 1px #111;
    font-size: 16px;
    color: #111;
    font-weight: bold;
    transition: all 0.15s linear;
}
.pagination ul li span{
    background: #111;
    color: #fff;
    pointer-events: none;
}

.news_detail_content h2, .news_detail_content h3{
    font-size: 20px;
}
@media only screen and (min-width: 768px){
    .news_detail_content h2, .news_detail_content h3{
        font-size: 24px;
    } 
}

.section-heading.text-left{
    text-align: left;
}
.text-center{text-align: center;}