/*
Theme Name: Hareruya MTG
Theme URI: https://www.hareruyamtg.com/
Description: 晴れる屋オフィシャルサイト
Version: 0.0.1
Text Domain: hareruya
*/

/*
 red: #e40012
 test
*/

* {
    box-sizing: border-box;
    color: inherit;
}
html, body {
    color: #333;
}

img {
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
    transition: all .5s;
}
.breadcrumbs a:hover {
    color: #e40012;
}

.collapse {
    letter-spacing: -.04em;
}
.mbt18 {
    margin-top: 18px !important;
}

html[lang=ja] .is-en-hidden {
    visibility: visible;
}
html[lang=en-US] .is-en-hidden {
    visibility: hidden;
}
html[lang=ja] .is-en-none {
}
html[lang=en-US] .is-en-none {
    display: none;
}
.is-laptop {
    display: inherit;
}
.is-smartphone {
    display: none;
}
.text-center { text-align: center; }
.align-right { float: right; }
.align-left { float: left; }
@media screen and (max-width: 640px) {
    .is-laptop {
        display: none !important;
    }
    .is-smartphone {
        display: inherit;
    }

    .align-right { float: none; }
    .align-left { float: none; }
}
.red-border {
    border-color: transparent;
    border-width: 0;
    border-bottom-width: 4px;
    border-bottom-color: #e40012;
    margin: 0;
}
.red-border + .section {
    padding-top: 25px;
    padding-bottom: 25px;
}

.btn.btn-inverse span:hover,
.btn.btn-inverse a:hover,
.btn span,
.btn a {
    padding-left: 40px;
    padding-right: 40px;
    display: inline-block;
    background-color: #e40012;
    color: #fff;
    border: 2px solid #e40012;
    padding-top: 12.5px;
    padding-bottom: 12.5px;
    position: relative;
    line-height: 1.0;
    transition: all .5s;
}
.btn span.input-wrap {
    padding: 0;
    border-width: 0;
}
.btn.btn-inverse span:hover input[type=submit],
.btn span input[type=submit] {
    transition: all .5s;
    border: 2px solid #e40012;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 12.5px;
    padding-bottom: 12.5px;
    background: transparent;
}
.btn.btn-center {
    text-align: center;
}
.btn.btn-inverse.btn-wide a:hover,
.btn.btn-wide span,
.btn.btn-wide a {
    padding-left: 80px;
    padding-right: 80px;
}
.btn.btn-arrow.btn-inverse span:hover::after,
.btn.btn-arrow.btn-inverse a:hover::after,
a:hover .btn.btn-arrow span::after,
.btn.btn-arrow span::after,
.btn.btn-arrow a::after {
    content: '';
    width: 0;
    height: 0;
    border-color: transparent;
    border-width: 6px 8px;
    display: block;
    border-style: solid;
    border-left-color: #fff;
    position: absolute;
    top: 50%;
    right: 3px;
    margin-top: -6px;
    transition: all .5s;
}
.btn.btn-arrow.btn-arrow-left.btn-inverse span::after,
.btn.btn-arrow.btn-arrow-left.btn-inverse a:hover::after,
a:hover .btn.btn-arrow.btn-arrow-left span::after,
.btn.btn-arrow.btn-arrow-left span::after,
.btn.btn-arrow.btn-arrow-left a::after {
    border-right-color: #fff;
    border-left-color: transparent;
    left: 3px;
    right: auto;
    margin-top: -6px;
}
.btn.btn-arrow.btn-arrow-left.btn-inverse span::after {
    border-right-color: #e40012;
}
.btn.btn-arrow.btn-arrow-left.btn-inverse span:hover::after {
    border-right-color: #fff;
}

.btn span:hover input[type=submit],
.btn.btn-inverse span input[type=submit],
a:hover .btn span,
.btn a:hover,
.btn.btn-inverse span,
.btn.btn-inverse a {
    background-color: #fff;
    color: #e40012;
    border: 2px solid #e40012;
    font-weight: bold;
}
.btn.btn-inverse span:hover input[type=submit] {
    color: #fff;
}

.btn.btn-inverse span.input-wrap {
    border: 0;
    padding: 0;
}

.btn.btn-arrow span:hover::after,
.btn.btn-arrow a:hover::after,
a:hover .btn.btn-arrow span::after,
.btn.btn-inverse.btn-arrow span::after,
.btn.btn-inverse.btn-arrow a::after {
    border-left-color: #e40012;
}

.contact__flow__list,
.recruit__flow__strength__list,
.recruit__flow__list,
.jobs-board__list,
.collaborations__flow,
.collaborations__flow__item,
.collaborations__list,
.widget ul,
.news-menu ul,
.footer__banners__list,
.staff__list,
.business__list, 
.caption-box__list,
.news__list,
.sp-slideshow,
.slideshow,
.global-navigation ul {
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    list-style-type: none;
}

.contact__flow__list::before,
.contact__flow__list::after,
.jobs-board::before,
.jobs-board::after,
.collaborations__list::before,
.collaborations__list::after,
.collaborations__list__item::before,
.collaborations__list__item::after,
.caption-table::before,
.caption-table::after,
.news__list__item a::before,
.news__list__item a::after,
.staff__list::before,
.staff__list::after,
.staff-posts-links::before,
.staff-posts-links::after,
.posts-links::before,
.posts-links::after,
.main::before,
.main::after,
.news__tags::before,
.news__tags::after,
.news-menu::before,
.news-menu::after,
.news-menu ul::before,
.news-menu ul::after,
.business__list::before, 
.business__list::after, 
.caption-box__list::before,
.caption-box__list::after,
.news__list__item figure::before,
.news__list__item figure::after,
.news__list::before,
.news__list::after {
    content: '';
    display: table;
}
.contact__flow__list::after,
.jobs-board::after,
.collaborations__list::after,
.collaborations__list__item::after,
.caption-table::after,
.news__list__item a::after,
.staff-posts-links::after,
.staff__list::after,
.posts-links::after,
.main::after,
.news__tags::after,
.news-menu::after,
.news-menu ul::after,
.business__list::after, 
.caption-box__list::after,
.news__list__item figure::after,
.news__list::after {
    clear: both;
}


.container {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
@media screen and (max-width: 1000px) {
    .container {
        width: 100%;
    }    
}
@media screen and (max-width: 640px) {
    img {
        width: 100%;
        height: auto;
    }
    p {
        font-size: .9em;
    }
    .container {
        padding-left: 2%;
        padding-right: 2%;
    }
}

.header {
    padding-top: 14px;
    padding-bottom: 14px;
    display: table;
    width: 100%;
}
.header__brand,
.global-navigation {
    display: table-cell;
    vertical-align: middle;
}

.footer__brands img,
.header__brand img {
    transition: all .5s;
}
.footer__brands a:hover img,
.header__brand a:hover img {
    opacity: .5;
}

.global-navigation ul {
    display: table;
    float: right;
}
.global-navigation ul li {
    display: table-cell;
    vertical-align: middle;
    color: #333333;
    font-size: .875em;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    transition: all .5s;
}
.global-navigation ul li a {
    display: block;
    padding-top: 12px;
    padding-bottom: 12px;
}

.global-navigation ul li:last-child {
    margin-left: 15px;
    padding-left: 0;
    padding-right: 0;
}
.global-navigation ul li:hover a {
    color: #e40012;
}
.global-navigation ul li:hover:last-child a {
    color: #e40012;
}
.global-navigation ul li:last-child a:hover,
.global-navigation ul li.wpml-ls-item a:hover {
    color: #333;
}
.menu-trigger {
    display: none;
}

@media screen and (max-width: 785px) {
    .header {
        padding: 14px;
    }
    .header__brand img {
        width: calc((450 / 860) * 100%);
    }
    .global-navigation ul {
        overflow: hidden;
        display: none;
        position: absolute;
        width: 100%;
        display: block;
        right: 0;
        top: 100%;
        max-height: 0;
        transition: max-height .5s;
        z-index: 20;
    }
    .global-navigation ul li {
        padding-right: 0;
    }
    .global-navigation ul li:first-child {
        padding-left: 0;
    }
    .global-navigation ul.open {
        max-height: 100vh;
    }
    .global-navigation ul li {
        display: block;
        background-color: #f0f0f0;
        font-size: 1.1em;
        text-align: left;
    }
    .global-navigation ul li + li {
        border-top: 2px solid #c8c8c8;
        padding-left: 0;
    }
    .global-navigation ul li a {
        padding: 20px;
        display: block;
        position: relative;
    }
    .global-navigation ul li.btn a {
        padding: 20px;
        display: block;
        background-color: transparent;
        color: inherit;
        border: 0;
    }
    .global-navigation ul li:last-child {
        margin-left: 0;
    }
    .global-navigation ul li a::after {
        content: '';
        width: 0;
        height: 0;
        border-color: transparent;
        border-width: 6px 8px;
        display: block;
        border-style: solid;
        position: absolute;
        top: 50%;
        right: 3px;
        margin-top: -6px;
    }
    .global-navigation ul li a::after,
    .global-navigation ul li.btn a::after {
        border-left-color: #e40012;
    }
    .menu-trigger,
    .menu-trigger span {
	    display: inline-block;
	    transition: all .4s;
	    box-sizing: border-box;
    }
    .menu-trigger {
        position: absolute;
        right: 0;
        top: 0;
        background-color: #e40012;
        width: calc((150 / 860) * 100%);
        height: 100%;
        cursor: pointer;
        display: block;
	    /* position: relative; */
	    /* height: 44px; */
    }
    .menu-trigger span {
	    position: absolute;
	    left: 0;
	    width: 50%;
	    height: 4px;
	    background-color: #fff;
	    border-radius: 4px;
        margin-top: -2px;
        left: 25%;
    }
    .menu-trigger span:nth-of-type(1) {
	    top: 30%;
    }
    .menu-trigger span:nth-of-type(2) {
	    top: 50%;
    }
    .menu-trigger span:nth-of-type(3) {
        top: 70%;
    }
}

@media screen and (max-width: 640px) {
    .header {
        padding: calc((40 / 860) * 100%);
    }
}

.topview {
    padding-top: calc((460 / 1600) * 100%);
    position: relative;
}
.topview__message {
    margin: 0;
}
.topview__message img {
    margin: auto;
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
    z-index: 15;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
@media screen and (max-width: 640px) {
    .topview {
        padding-top: calc((1130 / 860) * 100%);
        position: relative;
    }
}

.slideshow {
    position: absolute;
    top: 0;
    width: 100%;
}
.sp-slideshow {
    display: none;
}
.slideshow li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.slideshow li img {
    max-width: 100%;
    width: 100%;
}

@media screen and (max-width: 640px) {
    .sp-slideshow {
        position: absolute;
        top: 0;
        width: 100%;
        display: block;
    }
    .slideshow {
        display: none;
    }
    .sp-slideshow li {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 8;
        width: 100%;
    }
    .sp-slideshow li img {
        max-width: 100%;
        width: 100%;
    }
    .sp-slideshow li.is-active {
        z-index: 10;
    }
    .sp-slideshow li.last-active {
        z-index: 9;
    }
    
}
.section {
    padding-top: 50px;
    padding-bottom: 100px;
    line-height: 1.75;
}

.thumbnail {
    margin: 0;
}

.section__title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    color: #fff;
    font-weight: normal;
    background-color: #e40012;
    font-size: 1.125em;
}

.section__content {
    width: 930px;
    margin-left: auto;
    margin-right: auto;
}
.single .section__content {
    width: 100%;
    padding-left: 35px;
    padding-right: 35px;
}
.section__content.table__wrap {
    width: 938px;
}
.table {
    font-size: .9375em;    
    width: 100%;
    border-spacing: 4px;
}
.table tr th,
.table tr td {
    padding: 12.5px;
}
.table.table-collapse tr th,
.table.table-collapse tr td {
    padding-top: 2.5px;
    padding-bottom: 2.5px;
}
.table tr th {
    background-color: #e3e3e3;
    font-weight: normal;
}
.table tr td {
    background-color: #f5f5f5;
}
.main-visual {
}
.sp-main-visual {
    display: none;
}
.main-visual img {
    width: 100%;
    height: auto;
}

.breadcrumbs {
    font-size: .8125em;
    padding-top: .8125em;
    padding-bottom: .8125em;
}

.main.is-gray,
.section.is-gray {
    background-color: #f5f5f5;
}
.section.is-white {
    background-color: #fff;
}
.section.is-collapse {
    padding-top: 0;
    padding-bottom: 0;
}

@media screen and (max-width: 930px) {
    .section__content {
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .main-visual {
        display: none;
    }
    .sp-main-visual {
        display: block;
        margin-left: -2%;
        margin-right: -2%;
    }
    .section {
        padding-top: 8%;
        padding-bottom: 8%;
    }
    .breadcrumbs {
        margin-left: -2%;
        margin-right: -2%;
        padding-left: 2%;
        padding-right: 2%;
    }
    .sp-main-visual + .breadcrumbs {
        background-color: rgba(255, 255, 255, .5);
        position: absolute;
        transform: translateY(-100%);
        width: 100%;
    }
    .page-attribute + .container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-attribute + .container .section {
        padding-left: 4%;
        padding-right: 4%;
        overflow: hidden;
    }
    .section__content.table__wrap {
        width: 112%;
        margin-left: -6%;
        margin-right: -6%;
    }
    .section__content.table__wrap {
    }
    .table tr th {
        font-size: .8em;
        white-space: nowrap;
    }
    .table tr td {
        font-size: .8em;
    }
    .table tr td img {
        margin-top: 15px;
    }
}

#front_page_news_box {
  height:210px;
  overflow-y: scroll;
  overflow-x: hidden;
  background-color: #fff;
  margin-bottom:15px;
}

/* スクロールの幅の指定 */
#front_page_news_box::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

#front_page_news_box::-webkit-scrollbar-track {
  border-radius: 5px;
  box-shadow: 0 0 4px #aaa inset;
}

#front_page_news_box::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #A85919;
}

.news {
    overflow: hidden;
}
.news__list {
    /* width: 1023px; */
    padding-top: 22px;
    padding-bottom: 22px;
    padding-left: 75px;
    padding-right: 75px;
}
.blog .news__list {
    /* width: 956px; */
    margin-bottom: 0;
}
.news__list__item {
    /* width: 318px; */
    /* height: 159px; */
    /* margin-right: 23px; */
    /* float: left; */
    /* background-color: #fff; */
}
.news__list__item:first-child {
    border-top: 1px solid #c9c9c9;
}
.news__list__item {
    /* width: 214px; */
    height: auto;
    /* margin-right: 25px; */
    /* margin-bottom: 25px; */
    /* background-color: #f5f5f5; */
    border-bottom: 1px solid #c9c9c9;
}
.news__list__item a {
    display: block;
}
.news__list__item a img {
    transition: all .5s;
}
.blog .news__list__item a img {
    width: 100%;
    height: auto;
}
.blog .news__list__item .news__caption,
.blog .news__list__item .label {
    transition: all .5s;
}
.blog .news__list__item:hover .news__caption {
    /* background-color: #e5e5e5; */
}
.blog .news__list__item:hover .label {
    /* background-color: #c80000 !important; */
}
.news__list__item:hover img {
    transform: scale(1.2);
}
.news__list__item figure {
    overflow: hidden;
    margin: 0;
    float: left;
    position: relative;
}
.blog .news__list__item figure {
    float: none;
}
.blog .news__list__item figure .post-category {
    font-size: .75em;
    position: absolute;
    top: 0;
    left: 0;
}
.news__list__item .label {
  background-color: #7a7a7a !important;
  margin-left: 5px;
  margin-right: 5px;
  border: 0;
}
.news__list__item .news_category {
  background-color: #7a7a7a !important;
  color: #FFFFFF;
  padding: 0.1rem 0.5rem;
  margin-top: 0px;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  border: 0;
  font-size: 0.3rem;
}
.news__list__item figure img {
    width: 159px;
    height: auto;
}
.news__list__item .news__caption {
    /* float: left; */
    padding: 5px 15px 5px 15px;
    /* width: 50%; */
    line-height: 1.0;
}
.blog .news__list__item .news__caption {
    float: none;
    width: 100%;
    /* height: 188px; */
}
.news__list__item .news__caption .title {
    /* text-decoration: underline; */
    transition: all .5s;
}
.news__list__item:hover .title {
    color: #e40012;
}
.news__list__item .news__caption .published_at {
    color: #e40012;
    font-weight: bold;
    transition: all .5s;
}
.news__list__item:hover .published_at {
    color: #333;
}
.blog .news__list__item .news__caption .published_at {
    display: inline-block;
    margin-top: 0px;
}
.news__tags {
    margin-top: 25px;
}
.news__tags a {
    display: inline-block;
    font-size: .75em;
    padding: 3px;
    border: 1px solid #dcdcdc;
    background-color: #fff;
    margin-bottom: 10px;
}
.news__tags a + a {
    margin-left: 10px;
}
@media screen and (max-width: 1023px) {
    .news__list {
        width: 100%;
    }
    .blog .news__list {
        width: 101%;
    }
    .news__list__item {
        height: auto;
        margin-right: 0;
    }
    .news__list__item .published_at {
        
    }
    .news__list__item .title {
        margin-top: 5px;
    }
    .news__list__item + .news__list__item {
    }
    .blog .news__list__item {
        margin-right: 1%;
        margin-left: 0;
    }
    .news__list__item .news__caption,
    .news__list__item figure {
        /* width: 50%; */
    }
    .news__list__item figure img {
        width: 100%;
    }
    .blog .news__list__item figure {
        width: 100%;
    }
}
@media screen and (max-width: 640px) {
    .news__list {
        width: 96%;
        margin-left: 2%;
        margin-right: 2%;
        padding: 0;
    }
    .news__list__item {
        width: 100%;
        float: none;
    }
    .news__list__item .label {
        margin-right: 0;
        margin-left: 0;
    }
    .news__list__item .published_at,
    .news__list__item .title {
        display: block;
    }
    .home .news__list__item + .news__list__item {
        border-top: 1px solid #7a7a7a;
    }
    .blog .news__list {
        width: 100%;
        margin: 0;
    }
    .blog .news__list__item {
        width: 100%;
    }
    .news__list__item .news__caption {
        padding: 20px;
    }
    
    .blog .news__list__item .news__caption .published_at {
        display: block;
    }
    .blog .news__list__item .news__caption {
        height: auto;
    }
}

.section.is-center {
    text-align: center;
}
.home .business,
.about-mtg {
    color: #fff;
}
@media screen and (max-width: 1000px) {
    .about-mtg {
        padding-left: 2%;
        padding-right: 2%;
    }
}
@media screen and (max-width: 640px) {
    .about,
    .home .business {
        padding-left: 2%;
        padding-right: 2%;
    }
}
.section-title {
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.875em;
}
.section-title small {
    display: block;
    font-weight: normal;
    font-size: .5em;
    margin-bottom: 40px;
}
.section-title p {
    margin-top: 0;
    margin-bottom: 0;
}
@media screen and (max-width: 640px) {
    .section-title {
        line-height: 1.2;
    }
    .section-title small {
        margin-top: 5px;
    }
}

.caption-box {
    margin-top: 40px;
    overflow: hidden;
}
.caption-box__list {
    width: 1035px;
}
.page-parent .caption-box__list {
    padding-left: 35px;
    padding-right: 35px;
    width: 1036px;
}
.caption-box__list__item {
    width: 310px;
    margin-right: 35px;
    float: left;
    overflow: hidden;
    background-color: #e3e3e3;
    transition: all .5s;
}
.caption-box__list__item:hover {
    background-color: #e40012;
}

.page-parent .caption-box__list__item {
    width: 287px;
    margin-right: 35px;
    float: left;
}
.page-parent .caption-box__list__item:nth-child(n+4) {
    margin-top: 35px;
}

.page-parent .caption-box__list__item:hover {
    background-color: #f3f3f3;
}
.caption-box__list__item a {
    display: block;
}
.page-parent .caption-box__list__item:hover .caption-box__excerpt {
    color: #999999;
}
.caption-box__list__item .btn {
    margin-top: 15px;
}
.caption-box__list__item figure {
    margin: 0;
    overflow: hidden;
}
.caption-box__list__item a:hover figure {
}
.caption-box__list__item figure img {
    width: 100%;
    height: auto;
    transition: all .5s;
    z-index: 5;
}
.caption-box__list__item:hover figure img {
    transform: scale(1.2);
}

.page-parent .caption-box__list li .btn span {
    width: 100%;
}
.caption-box__list li > a > div {
    padding-top: 0;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1.125em;
    text-align: left;
    position: relative;
    transition: all .5s;
    overflow: hidden;
    z-index: 10;
}
.caption-box__list li a:hover div {
    color: #fff;
}
.page-parent .caption-box__list li a:hover div {
    color: #999999;
}
.page-parent .caption-box__list li div {
    font-size: 1.025em;
}
.caption-box__list li .has-arrow {
    padding-top: 20px;
    text-indent: 30px;
}

.caption-box__list li .has-arrow::before {
    content: '';
    display: block;
    background-color: #e40012;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 20px;
    margin-top: -10px;
    transition: all .5s;
}
.caption-box__list li .has-arrow::after {
    content: '';
    display: block;
    background-image: url('./images/arrow@2x.png');
    background-size: 7px 11px;
    position: absolute;
    top: 50%;
    left: 27px;
    margin-top: -6px;
    width: 7px;
    height: 11px;
    transition: all .5s;
}

.caption-box__list li a:hover .has-arrow::before {
    background-color: #fff;
}
.page-parent .caption-box__list li a:hover .has-arrow::before {
    background-color: #e40012;
}
.caption-box__list li a:hover .has-arrow::after {
    background-image: url('./images/arrow-black@2x.png');
}
.page-parent .caption-box__list li a:hover .has-arrow::after {
    background-image: url('./images/arrow@2x.png');
}


@media screen and (max-width: 1035px) {
    .page-parent .caption-box__list,
    .caption-box__list {
        width: 100%;
    }
    .page-parent .caption-box__list {
        padding-left: 2%;
        padding-right: 2%;
    }
    .page-parent .caption-box__list__item,
    .caption-box__list__item {
        margin-right: 0;
        width: 32%;
    }
    .caption-box__list__item + .caption-box__list__item {
        margin-left: 2%;
    }
}
@media screen and (max-width: 640px) {
    .page-parent .caption-box__list,
    .caption-box__list {
        width: 100%;
    }
    .caption-box__list__item {
        width: 100%;
        float: none;
    }
    .page-parent .caption-box__list__item:nth-child(n+4),
    .caption-box__list__item + .caption-box__list__item {
        margin-top: 8%;
    }
    .page-parent .caption-box__list {
        padding-left: 0;
        padding-right: 0;
    }
    .page-parent .caption-box__list__item {
        margin-right: 0;
        width: 100%;
    }
}

.home .business {
    margin-top: 40px;
    overflow: hidden;
}
.home .business__list {
    width: 1022px;
}
.home .business__list__item {
    color: #333;
    width: 478px;
    margin-right: 22px;
    margin-bottom: 25px;
    float: left;
    background-color: #fff;
    text-align: left;
    font-size: 1.125em;
}
.home .business__list__item a {
    text-indent: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
    display: block;
    position: relative;
    transition: all .5s;
}
.home .business__list__item a:hover {
    color: #fff;
    background-color: #e40012;
}
.home .business__list__item a::before {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    display: block;
    width: 7px;
    height: 100%;
    background-color: #e40012;
    transition: all .5s;
}
.home .business__list__item a:hover::before {
    background-color: #fff;
}
.home .business__list__item a::after {
    content: '';
    display: block;
    background-image: url('./images/arrow-red@2x.png');
    background-size: 10px 18px;
    position: absolute;
    top: 50%;
    right: 15.5px;
    margin-top: -9px;
    width: 10px;
    height: 18px;
    transition: all .5s;
}
.home .business__list__item a:hover::after {
    background-image: url('./images/arrow@2x.png');
}
.home .business__list__item figure {
    margin: 0;
    background-color: #e3e3e3;
}

@media screen and (max-width: 1022px) {
    .home .business__list {
        width: 100%;
    }
    .home .business__list__item {
        margin-right: 0;
        width: 48%;
    }
    .home .business__list__item:nth-child(2n) {
        float: right;
    }
    .home .business__list__item:nth-child(2n-1) {
        float: left;
    }
}
@media screen and (max-width: 640px) {
    .home .business__list {
        width: 100%;
    }
    .home .business__list__item {
        width: 100%;
        margin-right: 0;
        float: none;
    }
}
.staff__thumbnail {
    margin: 0;
}
.staff__thumbnail img {
    width: 100%;
    height: auto;
}

.staff__list {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.staff__list__item {
    display: table-cell;
    width: 50%;
    padding: 25px;
}
.staff__list__item p {
    margin-top: 0;
    margin-bottom: 15px;
    text-align: left;
}
.staff__list__item:first-child {
    background-color: #f5f5f5;
}
.staff__list__item:last-child {
    background-color: #e3e3e3;
}

@media screen and (max-width: 640px) {
    .staff__list,
    .staff__list__item {
        display: block;
        width: 100%;
    }
}

.footer {
    background-color: #e3e3e3;
}
.footer__banners {
    overflow: hidden;
}
.footer__banners__list {
    display: table;
    margin-left: auto;
    margin-right: auto;
    border-spacing: 42px;
}
.footer__banners__list__item {
    display: table-cell;
}
.footer__banners__list__item img {
    transition: all .5s;
}
.footer__banners__list__item:hover img {
    opacity: .5;
}
.footer__brands {
    padding-top: 0;
    padding-bottom: 35px;
}
.footer__brands img {
    margin-left: auto;
    margin-right: auto;
}

.footer__copyright {
    background-color: #e40012;
    color: #fff;
    margin-top: 0;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.0;
    font-size: .75em;
    padding-top: 11px;
    padding-bottom: 11px;
}

@media screen and (max-width: 1000px) {
    .footer__banners__list img {
        max-width: 100%;
        height: auto;
    }
}
@media screen and (max-width: 640px) {
    .footer__banners__list,
    .footer__banners__list__item {
        display: block;
    }
    .footer__banners__list {
        padding-top: 12.7906977%;
        padding-left: 18.0232558%;
        padding-right: 18.0232558%;
    }
    .footer__banners__list__item + .footer__banners__list__item {
        margin-top: 6.9767442%;
    }
    .footer__brands {
        padding-top: 35px;
    }
    .footer__brands img {
        width: 68.0232558%;
    }
}

.sign {
    margin-top: 15px;
}
@media screen and (max-width: 640px) {
    .sign img {
        width: auto;
    }
}
.news-menu {
    color: #fff;
    background-color: #e40012;
    display: table;
    width: 100%;
}
.news-menu ul {
    display: flex;
    flex-wrap: wrap;
}
.news-menu ul li {
    width: 168px;
    text-align: center;
    font-size: .9375em;
    line-height: 1.0;
    border: 1px solid #db0000;
}
.news-menu ul li a {
    display: block;
    padding-top: 19.5px;
    padding-bottom: 19.5px;
    transition: all .5s;
}
.news-menu ul li a:hover {
    background-color: #c80000;
}
.news-menu__searchform {
    display: table-cell;
    vertical-align: middle;
}

.wp-pagenavi {
    text-align: center;
}
.wp-pagenavi > * {
    display: inline-block;
    width: 46px;
    padding-top: 8.5px;
    padding-bottom: 8.5px;
    border-style: solid;
    border-color: #c2c2c2;
    border-width: 1px;
    border-right-width: 1px;
}
.wp-pagenavi * + * {
    border-left-width: 0;
}

.wp-pagenavi a:hover,
.wp-pagenavi .current {
    background-color: #e40012;
    color: #fff;
    border-color: #e40012;
}

.news-menu__searchform #searchform {
    font-size: .9375em;
    margin-right: 34px;
    float: right;
}
#searchform input[type=text] {
    padding: 10px;
    display: block;
    float: left;
    border: 1px solid #fff;;
    outline: 0;
    color: #333;
}
.news-menu__searchform #searchform input[type=text] {
    width: 296px;
}
#searchform input[type=submit] {
    background-image: url('images/icon-search.svg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50%;
    border: 0;
    text-indent: -9999px;
    width: 42px;
    height: 40px;
    background-color: #333333;
}

.search__result__title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.25em;
    background-image: url('images/icon-search-gray.svg');
    background-size: 20px;
    background-position: 0 50%;
    background-repeat: no-repeat;
    text-indent: 25px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: -50px;
}
.sidebar #searchform input[type=text] {
    font-size: .9em !important;
}
.sidebar #searchform {
    display: table;
    width: 100%;
}
.sidebar #searchform > * {
    display: table-cell !important;
    float: none !important;
}
.sidebar #searchform input[type=text] {
    width: calc(100% - 42px);
    border: 2px solid #fff;
}
.sidebar #searchform input[type=submit] {
    background-color: #e40012;
}
.search__keywords {
    color: #e40012;
}

@media screen and (max-width: 890px) {
/* } */
/* @media screen and (max-width: 640px) { */
    .news-menu {
        display: block;
        background-color: transparent;
        width: 104%;
        margin-left: -2%;
        margin-right: -2%;
    }
    .news-menu ul {
        /*display: block;*/
        background-color: #e40012;
    }

    .news-menu ul li{
        line-height: 0.4;
        width: calc(100% / 2);/*カテゴリ2つなので2で割ってる*/
    }
    .news-menu ul li:first-child {
        /*最初(全て)だけ幅100%*/
        width : 100%;
    }

    


    .news-menu__searchform {
        padding-top: 5px;
        padding-bottom: 5px;
        display: block;
        text-align: center;
    }
    .news-menu__searchform form {
        margin-left: auto;
        margin-right: auto;
    }
    .news-menu__searchform #searchform {
        margin-right: auto;
        float: none;
        display: inline-block;
    }
    .search__result__title {
        margin-top: 0;
    }
}

.label {
    background-color: #e40012 !important;
    border: 1px solid #e40012;
    color: #fff;
    font-weight: bold;
    padding: 3px 8px;
}
.label.is-wide {
    padding: 5px 16px;
}

.post-misc .label {
    padding: 3px;
    font-size: .75em;
    display: inline-block;
}
.post-misc .news__tags {
    margin-top: 0;
}
.post-misc .news__tags a {
    margin-bottom: 0;
}
.post-misc .news__tags > * {
    display: block;
    float: left;
    padding: 3px 5px;
    background-color: #f5f5f5;
}
.post-misc .news__tags > * + * {
    margin-left: 5px;
}
.post-thumbnail {
    margin: 0;
    padding-top: 20px;
    padding-bottom: 30px;
}
.post-thumbnail img {
    width: 100%;
    height: auto;
}
.post-content > p {
    margin-bottom: 0;
}
.post-content h2 {
    border-bottom: 1px solid #333;
    font-weight: normal;
    margin-bottom: 0;
}

.post-title {
    font-weight: normal;
}

.single-post article {
    width: 714px;
    float: left;
}
.single-post .sidebar {
    float: right;
}
@media screen and (max-width: 640px) {
    .single-post article,
    .single-post .sidebar {
        float: none;
    }
    .single-post .sidebar {
        width: 100%;
    }
    .single-post article {
        width: 104%;
        margin-left: -2%;
        margin-right: -2%;
    }
    .single .section__content {
        padding-left: 4%;
        padding-right: 4%;
    }
}

.sidebar {
    width: 250px;
}

.widgettitle {
    background-color: #e40012;
    color: #fff;
    margin-top: 0;
    margin-bottom: 0;
    font-size: .9375em;
    line-height: 1.0;
    padding: 12.5px;
}

.widget ul {
    background-color: #fff;
    padding-left: 0;
}
.widget ul li {
    position: relative;
    padding: 10px;
    line-height: 1.5;
}
.widget ul li + li {
    border-top: 1px solid #c1c1c1;
}

.widget_recent_entries ul li::after {
    content: '';
    display: block;
    position: relative;
    height: 1.5em;
}
.widget_recent_entries .post-date {
    margin-left: 0;
    position: absolute;
    top: 15px;
    left: 15px;
    color: #e40012;
    font-weight: bold;    
}
.widget a {
    display: block;
}
.widget.widget_recent_entries a {
    position: relative;
    top: 25px;
    left: 5px;
    height: 100%;
    z-index: 10;
}

.widget.widget_recent_entries li {
    position: relative;
}

.widget + .widget {
    margin-top: 35px;
}
.widget.widget_categories ul li a,
.widget.widget_nav_menu ul li a
 {
    text-indent: 13px;
}


/*
  (記事サイドメニュー内の)カテゴリーの一番最初(カテゴリー無し)を消す。
  (カテゴリー無しは、表示させたくないがニュースのメニューには必要なので、簡易的な方法で消す)
*/
.widget.widget_nav_menu ul li:first-child{
  display: none;
}

.widget.widget_categories ul li a::before,
.widget.widget_nav_menu ul li a::before
{
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-width: 2.5px 8px;
    border-style: solid;
    border-left-color: #e40012;
    position: absolute;
    top: 50%;
    left: 10px;
    margin-top: -2.5px;
}

.posts-links .goto-prev {
    float: left;
}
.posts-links .goto-next {
    float: right;
}
.posts-links .goto-index {}

.staff-posts-links {
    position: relative;
    left: 50%;
    float: left;
}
.staff-posts-links > * {
    float: left;
    left: -50%;
    position: relative;
}
.staff-posts-links > * + * {
    margin-left: 25px;
}


@media screen and (max-width: 640px) {
    .single-post .sidebar {
        width: 86.3953488%;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 50px;
    }
    .staff-posts-links,
    .posts-links {
        padding-left: 15px;
        padding-right: 15px;
    }
    .staff-posts-links .btn a,
    .posts-links .btn a {
        padding-left: 15px;
        padding-right: 15px;
    }
    .staff-posts-links .btn-arrow a,
    .posts-links .btn-arrow a {
        padding-right: 25px;
    }
    .staff-posts-links .btn-arrow-left a,
    .posts-links .btn-arrow-left a {
        padding-right: 15px;
        padding-left: 20px;
    }
    .staff-posts-links {
        font-size: .8em;
    }
    .staff-posts-links > *:first-child {
        margin-left: -20px;
    }
    .staff-posts-links > * + * {
        margin-left: 10px;
    }
    
}

.page.staff .staff__list {
    display: block;
}
.page.staff .staff__list__item {
    display: block;
    width: 16.666666667%;
    background-color: transparent;
    float: left;
    padding: 0;
    min-height: 360px;
}
.page.staff .staff__list__item figure {
    margin: 0;
    background-image: url('./images/bg-staff-item.png');
    background-size: 100%;
    background-position: bottom left;
    background-repeat: no-repeat;
}
.page.staff .staff__list__item img {
    width: 100%;
    height: auto;
}

.staff-detail {
    display: table;
    width: 100%;
}
.staff-detail__thumbnail,
.staff-detail__table {
    display: table-cell;
    vertical-align: top;
}
.staff-detail__thumbnail {
}
.staff-detail__thumbnail figure {
    margin: 0;
}
.staff-detail__thumbnail img {
    width: 340px;
    height: auto;
    border: 4px solid #fff;
}
.staff-detail__table {}

.staff-questions {
    margin-top: 0;
    margin-bottom: 0;
}
.staff-questions__question {
    padding-left: 0;
    color: #e40012;
    font-weight: bold;
    font-size: 1.25em;
    text-indent: 2.25em;
    position: relative;
}
.staff-questions__question::before {
    content: '';
    width: 40px;
    height: 1px;
    background-color: #e40012;
    display: block;
    position: absolute;
    top: 18px;
}
.staff-questions__answer {
    margin-left: 0;
    padding-left: 0;
    padding-bottom: 3.0em;
}

.page.staff .staff__list__item figure {
    padding-top: calc((250 / 167) * 100%);
    position: relative;
}
.page.staff .staff__list__item figure img {
    position: absolute;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 100%;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: all .5s;
}
.page.staff .staff__list__item figure img.hover {
    opacity: 0;
}
.page.staff .staff__list__item figure:hover img {
    opacity: 0;
}
.page.staff .staff__list__item figure:hover img.hover {
    opacity: 1;
}
.page.staff .staff__list__item figure.noimage {
    padding-left: 20px;
    padding-right: 20px;
}
.page.staff .staff__list__item figure:hover img.noimage {
    opacity: 1 !important;
}

.staff__list__item__caption {
    padding: 10px;
}

.staff__list__item__caption .position {
    display: block;
    font-size: .75em;
}
.staff__list__item__caption .full-name {
    display: block;
    font-size: .9375em;
}

.single-staff .position,
.single-staff .full-name,
.single-staff .full-name-en {
    margin-top: 0;
    margin-bottom: 0;
}
.single-staff .full-name-en {
    font-weight: bold;
    
}

.staff + .section__title {
    margin-top: 30px;
    padding-top: 5px;
    padding-bottom: 5px
}

@media screen and (max-width: 640px) {
    .staff__wrap {
        padding-top: 0;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page.staff .staff__list__item {
        width: 50%;
    }
    .staff-detail__thumbnail, .staff-detail__table {
        display: block;
    }
    .single-staff article {
        margin-left: -2%;
        margin-right: -2%;
    }
    
    .staff-questions__question {
        padding-left: 45px;
        text-indent: 0;
        font-size: 1.1em;
    }
    .staff-questions__question::before {
        margin-left: -45px;
        top: 13px;
    }
    .staff-detail__thumbnail img {
        width: 62.0930233%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 25px;
    }
    .staff + .section__title {
    }
}


.caption-table {
    margin-top: 40px;
    background-color: #e3e3e3;
}
.caption-table + .caption-table {
}
.caption-table > * {
    width: 50%;
}
.caption-table:nth-child(odd) .caption-table__thumbnail,
.caption-table:nth-child(even) .caption-table__caption { float: left; }
.caption-table:nth-child(even) .caption-table__thumbnail,
.caption-table:nth-child(odd) .caption-table__caption { float: right; }

.caption-table__caption {
    float: right;
    padding: 30px;
}
.caption-table__thumbnail img {
    width: 100%;
    height: auto;
}
.caption-table__caption {
    padding: 30px;
}

@media screen and (max-width: 640px) {
    .caption-table > * {
        width: 100%;
    }
    .caption-table:nth-child(odd) .caption-table__thumbnail,
    .caption-table:nth-child(even) .caption-table__caption,
    .caption-table:nth-child(even) .caption-table__thumbnail,
    .caption-table:nth-child(odd) .caption-table__caption { float: none; }
    
}

.section__footer {
    margin-top: 85px;
}
.section__footer__banner img {
    width: 100%;
    height: auto;
    transition: all .5s;
}
.section__footer__banner a:hover img {
    opacity: .5;
}

.section__footer .btn {
    margin-top: 75px;
}

.collaborations-thumbnail-contents__wrapper{
  padding-top: 20px;
  padding-bottom: 50px;
}

.collaborations {
    margin-top: 30px;
}
.collaborations__title {
    margin-top: 0;
    margin-bottom: 0;
    color: #fff;
    background-color: #E40011;
    font-size: 1.25em;
    line-height: 2.15;
    text-indent: 15px;
}
.collaborations__detail__title__wrapper{
  background-color: #f5f5f5;
  width:100%;
  padding-top:15px;
  padding-left: 10px;
  padding-right: 10px;
}
.collaborations__detail__title{
  border-bottom: 3px solid #B6000D;
  margin: auto;
  color: #111;
  font-size: 1.25em;
  text-indent: 5px;
  font-weight: bold;
  line-height: 1;
}

.collaborations__list-title {
  position: relative;
  color: #eee;
  text-shadow: 0 0 2px white;
  background-color: #E40011;
  z-index: -4;
  border-radius: 0 10px 10px;
}

.collaborations__title.is-dark-gray {
    background-color: #5b5b5b;
}
.collaborations__title.is-light-gray {
    background-color: #828282;
}
.collaborations__list {
    margin-top: 0;
    margin-bottom: 0;
}
.collaborations__list__item {
    padding: 15px;
    float: left;
    width: 50%;
    display: table;
}
.is-one .collaborations__list__item {
    width: 100%;
    background-color: #f5f5f5;
}
.collaborations__list__item.is-light-gray {
    background-color: #f5f5f5;
}
.collaborations__list__item.is-dark-gray {
    background-color: #ededed;
}
.collaborations__list__item > * {
    display: table-cell;
    vertical-align: top;
}
.collaborations__list__item figure {
    margin: 0;
}
.collaborations-item__caption {
}
.collaborations-item__caption * {
    margin-top: 0;
    margin-bottom: 0;
}
.collaborations-item__caption h3 {
    font-size: 1.0em;
}
.collaborations-item__caption p {
    font-size: .875em;
}
.collaborations-layout {
    display: table;
    width: 100%;
}
.collaborations-layout__item {
    display: table-cell;
    width: 50%;
    vertical-align: top;
}

.collaborations-layout__item .collaborations__list__item {
    width: 100%;
}

.collaborations__flow
{
    padding-top: 38px;
    padding-bottom: 38px;
    padding-left: 10.6044539%;
    padding-right: 10.6044539%;
}
.collaborations__flow__item {
    display: table;
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    vertical-align: middle;
}
.collaborations__flow__item + .collaborations__flow__item {
    margin-top: 38px;
}
.collaborations__flow__item + .collaborations__flow__item::before {
    position: absolute;
    left: 50%;
    margin-left: -8px;
    top: -25px;
    content: '';
    width: 0;
    height: 0;
    border-width: 12px 8px;
    border-style: solid;
    border-color: transparent;
    border-top-color: #e40012;
}
.collaborations__flow__item .label {
    width: 30%;
    background-color: #e40012;
    text-align: center;
    font-size: 1.25em;

    /*中身を縦の中央寄せにする用 ここから*/
    display: flex;
    justify-content: center;
    align-items: center;
    /*中身を縦の中央寄せにする用 ここまで*/
}



.collaborations__flow__item .caption {
    width: 70%;
    background-color: #ededed;
    padding: 13px;
    font-size: 1.0em;
    line-height: 1.34375;
}

.collaborations__flow__item .caption .contact {
  margin-top: 5px;
  font-size: 0.9em;
}

.collaborations__flow__item .caption .contact a:hover {
  cursor: default;
}



@media screen and (max-width: 640px) {
  .collaborations__flow__item .label {
    width: 100%;
  }
  .collaborations__flow__item .caption {
    width: 100%;
    word-break: break-all;
  }
  .collaborations__flow__item .caption .contact a{
    text-decoration: underline;
  }
}




.collaborations__announcement {
    margin-top: 46px;
    background-color: #fffae2;
}
.collaborations__announcement__inner {
    width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: table;
    border-spacing: 35px;
    padding-bottom: 15px;
}
.collaborations__announcement__inner >* {
    display: table-cell;
    vertical-align: middle;
    font-weight: bold;
}
.collaborations__announcement__board {
    font-size: 1.125em;
    /*padding-left: 30px;
    padding-right: 30px;*/
    border: 3px solid #e40012;
    border-radius: 10px;
    background-color: #fff;
    width: 100%;
    position: relative;
    text-align: center;
}

.collaborations__flow__item .caption .icon-wrapper
{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}
.collaborations__flow__item .caption .gg-mail{
  margin-top:1px;
  margin-right: 2px;
}
.collaborations__flow__item .caption .gg-phone{
  margin-top:-3px;
  margin-left:-3.5px;
  margin-right: 2px;
}

@media screen and (max-width: 640px) {
  .collaborations__flow__item .caption .gg-mail{
    margin-top:2px;
    --ggs: 0.8;/*アイコン大きさ*/
  }
  .collaborations__flow__item .caption .gg-phone{
    margin-top:-2.5px;
    margin-right: 2px;
    --ggs: 0.6;/*アイコン大きさ*/
  }
}

.collaborations__flow__item .caption .icon,
.collaborations__flow__item .caption .after-icon
{
  flex-basis: auto;
}

.collaborations__appeal__wrapper{
  margin-top: -30px;
  position: relative;
  margin-left: 10.6044539%;
  margin-right: 10.6044539%;
}

.collaborations__appeal__hareruyakun{
  position: relative;
  background-image: url('images/brand-simbol.svg');
  background-repeat: no-repeat;
  width: 84px;
  height: 84px;
  background-size: 79px;
  top: 33px;
  left:1px;
}

.collaborations__appeal{
  padding: 20px 5px 20px 5px;
  position: relative;
  font-size: 1.125em;
  font-weight: bold;
  text-align: center;
  border: 3px solid #e40012;
  border-radius: 10px;
}


/**/
.collaborations__announcement__charge {
    font-size: 1.25em;
}
.collaborations__announcement__charge span {
    font-size: 1.05em;
}

@media screen and (max-width: 640px) {
    .collaborations__list__item {
        width: 100%;
        padding: 15px;
        float: none;
    }
    .collaborations__list__item figure {
        width: 40%;
    }
    .collaborations-item__caption {
    }
    .collaborations-layout__item {
        width: 100%;
        display: block;
    }
    .collaborations__flow
     {
        padding-left: 0;
        padding-right: 0;
    }
    .collaborations__appeal__wrapper{
      margin-left: 0;
      margin-right: 0;
    }

    .collaborations__appeal{
      font-size: 1rem;
    }

    .collaborations__appeal__hareruyakun{
      width: 63px;
      height: 63px;
      background-size: 60px;
      top: 24px;
      left:1px;
    }
}


.jobs-board {
    width: 100%;
    background-color: #e3e3e3;
}
.jobs-board + .jobs-board {
    margin-top: 30px;
}
.jobs-board:nth-child(2n) .jobs-board__list,
.jobs-board:nth-child(2n-1) .jobs-board__thumbnail { float: right; }
.jobs-board:nth-child(2n-1) .jobs-board__list,
.jobs-board:nth-child(2n) .jobs-board__thumbnail { float: left; }

.jobs-board__thumbnail {
    width: 50%;
}

.jobs-board__thumbnail figure {
    margin: 0;
}
.jobs-board__thumbnail img {
    width: 100%;
    height: auto;
}
.jobs-board__list {
    width: 50%;
}
.jobs-board__list__item {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}


.jobs-board__title {
    font-size: 1.125em;
    line-height: 2.388888889;
    color: #fff;
    background-color: #e40012;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

.jobs-board__list li .has-arrow {
    text-indent: 50px;
}

.jobs-board__list li .has-arrow::before {
    content: '';
    display: block;
    background-color: #e40012;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 20px;
    margin-top: -10px;
    transition: all .5s;
}
.jobs-board__list li .has-arrow::after {
    content: '';
    display: block;
    background-image: url('./images/arrow@2x.png');
    background-size: 7px 11px;
    position: absolute;
    top: 50%;
    left: 27px;
    margin-top: -6px;
    width: 7px;
    height: 11px;
    transition: all .5s;
}

.jobs-board__list li a:hover .has-arrow::before {
    background-color: #fff;
}
.page-parent .jobs-board__list li a:hover .has-arrow::before {
    background-color: #e40012;
}
.jobs-board__list li a:hover .has-arrow::after {
    background-image: url('./images/arrow-black@2x.png');
}
.page-parent .jobs-board__list li a:hover .has-arrow::after {
    background-image: url('./images/arrow@2x.png');
}


.job .post-title {
    font-size: 1.5625em;
    text-align: center;
    color: #e40012;
    font-weight: bold;
}

.job .post-thumbnails {
    display: table;
    width: calc(100% + 20px);
    border-spacing: 10px;
    margin-left: -10px;
    margin-right: -10px;
}
.job .post-thumbnails figure {
    display: table-cell;
    vertical-align: middle;
    margin: 0;
}
.job .post-thumbnails figure img {
    width: 100%;
    height: auto;
}
.job .post-content .description {
    line-height: 2.0;
}

@media screen and (max-width: 640px) {
    .collaborations__announcement__inner {
        width: 100%;
        border-spacing: 0;
    }
    .collaborations__announcement__inner >* {
        display: block;
    }
    .collaborations__announcement {
        margin-left: -4%;
        margin-right: -4%;
        padding: 4%;
        width: 108%;
    }
    .collaborations__announcement__board {
        
    }
    .collaborations__announcement__charge {
        margin-top: 50px;
        padding-left: 4%;
        padding-right: 4%;
    }
    .collaborations__announcement__charge p {
        margin-top: 0;
        margin-bottom: 0;
    }
    .jobs-board:nth-child(2n) .jobs-board__list,
    .jobs-board:nth-child(2n-1) .jobs-board__thumbnail,
    .jobs-board:nth-child(2n-1) .jobs-board__list,
    .jobs-board:nth-child(2n) .jobs-board__thumbnail { float: none; }
    .jobs-board__list,
    .jobs-board__thumbnail {
        width: 100%;
    }
}

.single-job__detail {
    display: table;
    border-spacing: 3px;
    width: calc(100% + 6px);
    margin-left: -3px;
    margin-right: -3px;
}
.job .post-content .post-subtitle {
    background-color: #e40012;
    font-size: 1.25em;
    line-height: 2.15;
    color: #fff;
    font-weight: bold;
    text-indent: 15px;
    border: 0;
    margin-bottom: 15px;
}
.single-job__detail__row {
    display: table-row;
}
.single-job__detail__label {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    background-color: #e3e3e3;
    width: 150px;
}
.single-job__detail__content {
    display: table-cell;
    padding: 16px;
    vertical-align: middle;
    background-color: #f5f5f5;
}

.recruit__flow {}
.recruit__flow__list {
    border: 1px solid #e40012;
    display: table;
    width: 100%;
    table-layout: fixed;
}
.recruit__flow__list__item {
    display: table-cell;
    text-align: center;
    color: #e40012;
    position: relative;
    line-height: 54px;
    z-index: 10;
}
.recruit__flow__list__item::before,
.recruit__flow__list__item::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    top: -1px;
    left: calc(100% - 1px);
    border-width: 28px 20px;
}
.recruit__flow__list__item::before {
    border-left-color: #fff;
    left: calc(100% - 2px);
    z-index: 5;
}
.recruit__flow__list__item::after {
    border-left-color: #e40012;
    z-index: 4;
}
.recruit__flow__list__item:last-child::before,
.recruit__flow__list__item:last-child::after {
    content: none;
}


.recruit__flow__strength {
    border: 2px solid #e40012;
    width: 310px;
    margin: 30px auto;
}
.recruit__flow__strength p {
    margin-top: 0;
    margin-bottom: 0;
    color: #e40012;
    font-weight: bold;
    font-size: 1.25em;
}
.recruit__flow__strength__list {
}
.recruit__flow__strength__desc {
    font-weight: bold;
    font-size: 1.25em;
    text-align: center;
}
.recruit__flow__strength__list__item {
    display: inline;
    font-weight: bold;
    font-size: 1.25em;
}
.recruit__flow__strength__list__item + .recruit__flow__strength__list__item {
    padding-left: 1.0em;
}
.recruit__flow__strength__list__item::before {
    content: '';
    color: #b5b5b5;
}
.recruit__flow__caption {
    margin-top: 10px;
    background-color: #f4f4f4;
    padding: 30px;
}

.job-announcement {}
.job-announcement__title {
    background-color: #e40012;
    color: #fff;
    font-weight: bold;
    font-size: 1.25em;
    line-height: 1.0;
    margin-bottom: 0;
    text-align: center;
    padding-top: 24.5px;
    padding-bottom: 24.5px;
    margin-top: 136px;
}

.job-announcement__content {
    background-color: #ffd100;
    background-image: url('images/bg-job-annoucement__content.png');
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 100%;
    min-height: 280px;
    padding-top: 35px;
    padding-bottom: 35px;
}
.job-announcement__content p {
    margin-top: 0;
    margin-bottom: 35px;
}

.job-announcement__content__tel {
    width: 677px;
    margin-left: auto;
    margin-right: auto;
}
.job-announcement__content__tel__list {
}
.job-announcement__content__tel__list__item {
    list-style-type: none;
    font-weight: bold;
    font-size: 1.4em;
}
.job-announcement__content__tel__list__item + .job-announcement__content__tel__list__item {
    margin-top: 15px;
}
.job-announcement__content__tel__list__item span {
    background-color: #333;
    line-height: 1.4;
    color: #fff;
    font-weight: bold;
    display: inline-block;
    width: 70px;
    text-align: center;
    border-radius: 4px;
}
.job-announcement__content__tel__list__item small {
    font-weight: normal;
    font-size: .7em;
    padding-left: 10px;
}
.job-announcement__content__tel__in-charge {
    border-top: 1px solid #000;
    margin-top: 16px;
    text-align: center;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1.0625em;
}

.contact__flow {}
.contact__flow__list {
    background-color: #e3e3e3;
    width: 100%;
}
.contact__flow__list__item {
    float: left;
    width: 33.33333334%;
    text-align: center;
    position: relative;
    line-height: 54px;
    z-index: 0;
}
.contact__flow__list__item::before,
.contact__flow__list__item::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    top: 0px;
    left: 100%;
    border-width: 27px 20px;
}
.contact__flow__list__item:nth-child(1) { z-index: 10; }
.contact__flow__list__item:nth-child(2) { z-index: 7; }
.contact__flow__list__item:nth-child(3) { z-index: 5; }

.contact__flow__list__item::before {
    border-left-color: #e3e3e3;
    z-index: 5;
}
.contact__flow__list__item::after {
    border-left-color: #fff;
    border-width: 31px 24px;
    top: -4px;
}

.contact__flow__list__item:last-child::before,
.contact__flow__list__item:last-child::after {
    content: none;
}

.contact__flow__list__item.is-active {
    background-color: #e40012;
    color: #fff;
    font-weight: bold;
}
.contact__flow__list__item.is-active::before {
    border-left-color: #e40012;
}
.contact .btn-inverse {
    display: none;
}

.mw_wp_form {
    width: 708px;
    margin-left: auto;
    margin-right: auto;
}
.input-fields__label {
    width: 205px;
}
.input-fields__input {
    width: 502px;
}

.input-fields {
    border-bottom: 1px solid #c8c8c8;
}
.input-fields {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.input-fields {
    display: table;
    width: 100%;
}
.input-fields__label,
.input-fields__input {
    vertical-align: middle;
    display: table-cell;
}

.input-fields select,
.input-fields textarea,
.input-fields input[type=text] {
    border: 2px solid #c8c8c8;
    border-radius: 4px;
    padding: 15px;
}
.input-fields input + input {
    margin-top: 20px;
}
.input-fields select {
    cursor: pointer;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.input-fields__input {
    padding-top: 23px;
    padding-bottom: 23px;
}

.input-fields__label {
    font-size: 1.125em;
    line-height: 1.0;
}

.input-fields .required {
    background-color: #e40012;
    display: inline-block;
    border-radius: 10px;
    font-size: 11px;
    padding: 3px 8px;
    line-height: 1.0;
    color: #fff;
}
.term {
    margin-top: 20px;
    padding: 15px;
    border: 2px solid #c8c8c8;
    border-radius: 4px;
    height: 259px;
    overflow: auto;
    margin-bottom: 70px;
    display: none;
}
.contact .term {
    display: block;
}
.term h3 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: normal;
    font-size: 1.0em;
    line-height: 25px;
    border-left: 5px solid #e40012;
    text-indent: 5px;
}
.term p {
    font-size: .75em;
}
/* Styling INPUT */
input[type=radio] {
  display: none;
}

.mwform-radio-field .mwform-radio-field-text:hover:after {
    border-color: #e40012;
}

.mwform-radio-field {
    display: inline-block;
}
.mwform-radio-field .mwform-radio-field-text {
  box-sizing: border-box;
  -webkit-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
  position: relative;
  display: inline-block;
  padding: 0 12px 0 42px;
  border-radius: 8px;
  vertical-align: middle;
  cursor: pointer;
}
.mwform-radio-field .mwform-radio-field-text::after {
  -webkit-transition: border-color 0.2s linear;
  transition: border-color 0.2s linear;
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  margin-top: -14px;
  width: 24px;
  height: 24px;
  border: 2px solid #e40012;
  border-radius: 6px;
  content: '';
}

.mwform-radio-field .mwform-radio-field-text:before {
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  margin-top: -14px;
  width: 24px;
  height: 24px;
  border: 2px solid #e40012;
  border-radius: 6px;
  background-color: #e40012;
  content: '';
  opacity: 0;
}
input[type=radio]:checked + .mwform-radio-field-text:before {
  opacity: 1;
  border: 2px solid #e40012;
}

.contact-title {
    font-size: 25px;
    font-weight:  bold;
}

.message-attention {
    color: #e40012;
    margin-bottom: 50px;
}

.message-required {
    color: #e40012;
    margin-top: 100px;
}

.confirm .input-fields__input > br {
    display: none;
}


.btn-inline {
    text-align: center;
}
.btn-inline >* {
    display: inline;
}

@media screen and (max-width: 640px) {
    .contact__flow__list__item {
        line-height: 1.0;
        height: 54px;
    }
    .contact__flow__list__item {
        display: table;
    }
    .contact__flow__list__item span {
        font-size: .8em;
        padding: 0 15px 0 31px;
        line-height: 1.2;
        display: table-cell;
        vertical-align: middle;
    }
    .contact__flow__list__item:first-child span {
        padding: 0 19px;
    }
    .message-required {
        margin-top: 1.0em;
    }
    .mw_wp_form {
        width: 100%;
    }
    .input-fields__label,
    .input-fields__input {
        width: 100%;
        display: block;
        word-break: break-all;        
    }
    .input-fields__input > * {
        max-width: 100%;
    }
    .input-fields__label {
        padding-top: 23px;
    }
}

.wpml-ls-item {
    position: relative;
}
.wpml-ls-item a {
    color: #e40012;
    font-weight: bold;
}
.wpml-ls-item + .wpml-ls-item::before {
    color: #e40012;
    font-weight: bold;
    content: '/';
    position: absolute;
    top: 50%;
    left: -0.8em;
    margin-top: -0.65em;
}

@media screen and (max-width: 640px) {
    .recruit__flow__list__item {
        font-size: 10px;
        text-indent: 15px;
    }
    .recruit__flow__list__item:first-child {
        text-indent: 0;
    }
    .recruit__flow__caption,
    .recruit__flow__strength {
        padding: 15px;
    }
    .recruit__flow__strength p, 
    .recruit__flow__strength__desc {
        font-size: 1.0em;
    }
    .job-announcement__content__tel {
        width: 100%;
    }
    .job-announcement__content__tel__list {
        padding-left: 10px;
        padding-right: 10px;
    }
    .job-announcement__content__tel__list__item small {
        display: block;
        padding-left: 0;
    }
}


.sp-language-switcher {
    width: calc((150 / 860) * 100%);
    background-color: #e2e2e2;
    right: calc((150 / 860) * 100%);
    position: absolute;
    top: 0;
    height: 100%;
    display: none;
}
.sp-language-switcher a {
    display: table;
    width: 100%;
    height: 100%;
    color: #e40012;
    font-weight: 700;
    font-size: .8em;
    text-align: center;
}
.sp-language-switcher a span {
    display: table-cell;
    vertical-align: middle;
}

@media screen and (max-width: 785px) {
    .sp-language-switcher {
        display: block;
    }    
}

.news-yearly-title {
    padding-top: 11px;
    padding-bottom: 11px;
    position: relative;
    color: #e40012;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    display: inline-block;
    padding-right: 40px;
}

.news-yearly-title::before {
    content: '';
    display: block;
    background-color: #e40012;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    right: 5px;
    margin-top: -10px;
    transition: all .5s;    
}

.news-yearly-title::after {
    content: '';
    display: block;
    background-image: url(./images/arrow@2x.png);
    background-size: 7px 11px;
    position: absolute;
    top: 50%;
    right: 12px;
    margin-top: -5px;
    width: 7px;
    height: 11px;
    transition: all .5s;
    transform: rotate(90deg);
}

.news-yearly-title.open::after {
    transform: rotate(-90deg);
}


.news__list.js-accordion-content {
    max-height: 0;
    transition: all .5s;
    padding-top: 0;
    padding-bottom: 0;
}
.news__list.js-accordion-content.open {
    max-height: 10000px;
    padding-top: 22px;
    padding-bottom: 22px;
}

/*design new job thumbnails*/
.description-thumbnails-horizontal-wrapper{
    display: flex;
    margin-bottom: 30px;
}

.description-thumbnails-horizontal-wrapper .description{
    padding-right: 30px;
}

@media only screen and (max-width: 960px){
    .description-thumbnails-horizontal-wrapper{
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 0;
    }

    .description-thumbnails-horizontal-wrapper .description{
        padding-right: 0;
    }

    .thumbnails-horizontal{
        order: -1;
    }
}

/*adjust tc job box for web designer*/
.jobs-board--tc:nth-child(2n-1) .jobs-board__list {
    padding-bottom: 30px;
}

@media only screen and (max-width: 767px){
    .jobs-board__list li .has-arrow {
        text-indent: 20px;
    }
}

/*adjust job table view in smp*/
@media only screen and (max-width: 414px){
		.single-job__detail__label,.single-job__detail__content {
		    display: block;
		    width: 100%;
		    margin-top: -2px;
		}
	}

/*Background color changed to light gray for readability in business*/
.caption-table {
    background-color: #f5f5f5;
}

.caption-box__list__item {
    background-color: #f5f5f5;
}

.br-sp {display: none; }
@media only screen and (max-width: 414px){
  .br-sp {display: inline; }
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.wp-block-gallery figcaption,
.wp-block-image figcaption {
    text-align: center;
}

/* 記事内スタイリング用 */

.post-content a {
	text-decoration: underline;
	color: #e40012;
}