/*
  Template:flash
  Theme Name:   ヤスキサービス
  Description:  Yasuki Service TEMPLATE
  Version:      0.1

  Tags:         right-sidebar, blog

  Text Domain:  PINEBOOKS
*/
@charset "utf-8";

/*@import url('https://fonts.googleapis.com/css2?family=MuseoModerno:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=MuseoModerno:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&family=Shippori+Antique&display=swap');

html {
    font-size: clamp(12px, 1.5vw, 16px);
    background-color: #fff;
}

body {
    color: #000;
    font-size: unset;

    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%; /* Safari */
    
}

/* スピナー位置調整 */
#spinners {
    left: calc(50% - 20px);
}

#page {
    font-family: "Noto Sans JP", serif;
}

.latin_title {
    font-family: "MuseoModerno", sans-serif;
}

.logo .logo-image a img {
    width: 14rem;
}


#content {
    line-height: 1.9rem;
}

#content h2,
#content .fs300 {
    font-size: 4rem;
    line-height: 1.4em;
    margin-bottom: 0.5em;
}

#content h2.section-title {
    font-weight: 400;
	font-size: 4rem;
    text-align: unset;
    text-transform: unset;
    position: relative;

}

/*
h2 {
  font-size: 30px;
  font-size: 3rem;
  position: relative;
  padding: 1.5rem;
  text-align: center;
}
*/
#content h2.section-title span {
  font-size: 1rem;
  display: block;
	color: #959393;
	line-height: 1em
}

#content h2.section-title:before {
  position: absolute;
  bottom: -1em;
  content: none;
}

#content h2.section-title:after {
	content: none;
}

#content h3 {
    font-size: 1.25rem;
    line-height: 1.4em;
    margin-bottom: 1em;
    color: #095CA8;
}


#content .fs200 {
    font-size: 1.67rem;
    line-height: 1.4em;
    margin-bottom: 1em;
}

#content h4,
#content .fs175 {
    font-size: 1.45rem;
    line-height: 1.4em;
    margin-bottom: 1em;
}

#content h5,
#content .fs125 {
    font-size: 1.25rem;
    line-height: 1.4em;
    margin-bottom: 1em;
}

#content .fs100 {
    font-size: 1rem;
    line-height: 1.4em;
    margin-bottom: 1em;
}


#bottom-footer .copyright,
#content .fs075 {
    font-size: 0.95rem;
}


.CatchCopy {
    font-weight: bold;
    font-size: 1.5rem;
    padding: 2rem 0;
    line-height: 1.9em;
}


.tategaki {
    /* 縦書き */
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    /* width: 100%; */
    position: relative;
}

/* 全体 */
main#main {
    padding: 0 calc(30px - 2%);
}

.row-reverse {
    flex-direction: row-reverse;
}


/* TOP PAGE */
#content .top-slide-cc>div {
    font-family: "Shippori Antique", "Noto Sans JP", serif !important;
    font-weight: 400 !important;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.3));
    font-size: clamp(51px, 5vw, 100px) !important;
    display: inline-block !important;
}
#content .top-slide-cc>div br{
    display: none;
}



.loop_carousel {
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row nowrap;
    flex-flow: row nowrap;
    width: 100vw;
    overflow: hidden;
}

.loop_carousel ul {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row nowrap;
    flex-flow: row nowrap;
    width: 100%;
    margin: 0;
    padding: 0;
}

.loop_carousel li {
    display: inline-block;
    width: calc(100vw / 2);
    min-width: 30vw;
    margin: 0;
    list-style: none;
    text-align: center;
}

.loop_carousel li a {
    display: block;
}

.loop_carousel li img {
    display: block;
    width: 100%;
    height: auto;
}

.loop_carousel li a:hover {
    opacity: .7;
}

.loop_carousel ul:first-child {
    -webkit-animation: loop 50s -25s linear infinite;
    animation: loop 50s -25s linear infinite;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.loop_carousel ul+ul {
    -webkit-animation: loop2 50s linear infinite;
    animation: loop2 50s linear infinite;
}

.loop_carousel:hover ul {
    animation-play-state: paused;
}

.loop_carousel.lr ul:first-child {
    -webkit-animation: loop3 50s -25s linear infinite;
    animation: loop3 50s -25s linear infinite;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform;
}

.loop_carousel.lr ul+ul {
    -webkit-animation: loop4 50s linear infinite;
    animation: loop4 50s linear infinite;
}

@keyframes loop {
    0% {
        -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
        transform: translateX(100%);
    }

    to {
        -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

@-webkit-keyframes loop2 {
    0% {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    to {
        -webkit-transform: translateX(-200%);
        -ms-transform: translateX(-200%);
        transform: translateX(-200%);
    }
}

@keyframes loop2 {
    0% {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }

    to {
        -webkit-transform: translateX(-200%);
        -ms-transform: translateX(-200%);
        transform: translateX(-200%);
    }
}

@keyframes loop3 {
    0% {
        -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        transform: translateX(-100%);
    }

    to {
        -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
        transform: translateX(100%);
    }
}

@-webkit-keyframes loop4 {
    0% {
        -webkit-transform: translateX(-200%);
        -ms-transform: translateX(-200%);
        transform: translateX(-200%);
    }

    to {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes loop4 {
    0% {
        -webkit-transform: translateX(-200%);
        -ms-transform: translateX(-200%);
        transform: translateX(-200%);
    }

    to {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

.count_list {
    padding: 0 8px;
}

.count_list li {
    list-style: none;
    counter-increment: num;
    margin-bottom: 16px;
    padding-left: 4rem;
    font-size: 90%;
}

.count_list li:before {
    content: "0" counter(num);
    font-family: "MuseoModerno", sans-serif;
    font-size: 3rem;
    margin-left: -5rem;
    margin-top: 1rem;
    position: absolute;
    color: #095CA8;
}

.count_list li:nth-of-type(9)~li:before {
    content: " " counter(num);
}

.count_list li p {
    margin: 0;
}

/*
#content .tategaki h3 {
  position: relative;
  padding: 1rem 0;
  margin-bottom: 2em;
  z-index: 50;
    top: -0.7em;
    font-size: 70px;

  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

#content .tategaki.hidari h3 {
	right: calc(-43px - 0.5em);
} 

#content .tategaki h3.wcolor {
	color: #ffffff;
} 
#content .tategaki h3 span {
    font-size: 16px;
    font-size: 1.1rem;
    margin: 3.5em 0;
    padding: 0;
    line-height: 1em;
    display: block;
    font-weight: 400;
}

#content .tategaki.migi h3 {
    writing-mode: vertical-lr;
	left: calc(-52px - 0.5em);
    position: absolute;
    height: max-content;
}

#content .tategaki.migi h3 span {
    margin-left: 1em;
}
*/
/*
#content .tategaki.migi p.hidariyose {
	position: absolute;
    height: max-content;
    left: 6em;
}
*/


/* SUBPAGE */
.sub-header {
    font-weight: 400;
    /*font-size: clamp(20px, 3.5vw, 60px);*/
    font-size: 3.5rem;
}

.sub-header p {
    margin: 0;
    padding: 0;
    line-height: 1em;
}

#flash-breadcrumbs {
    height: 0;
    overflow: hidden;
    margin: 0;
}

/* Footer */
/*
#top-footer .tg-column-wrapper {
    margin: 0;
}

#top-footer .tg-column-wrapper .tg-column-1,
.tg-column-wrapper .tg-column-2,
.tg-column-wrapper .tg-column-3,
.tg-column-wrapper .tg-column-4,
.tg-column-wrapper .tg-column-5 {
    float: none;
    margin-left: 0;
}
*/
#top-footer {
    background-color: #095CA8;

}

#top-footer .tg-container {
    border-bottom: 0.05rem solid #fff;
}

#top-footer .textwidget {
    color: #fff;
}

.menu-footer_menu-container {
    text-align: center;
}

/*
#top-footer .widget ul {
    display: inline-flex;
    margin: 0;
    padding: 0;
}


#top-footer .widget ul li {
    padding: 0.5em 1em;
}

#top-footer .widget ul li:after {
    content: none;
}


#top-footer .widget ul li a {
    color: #fff;

}
*/
#bottom-footer {
    color: #fff;
    background-color: #095CA8;
    padding: 0 0 2rem;
}

.footer-address {
    text-align: center;
    font-size: 14px;
}

#footer-logo {
    width: 16rem;
}

#bottom-footer .copyright {
    float: none;
    font-size: 0.8rem;
    width: 100%;
}

/* News */
.news-header.sub-header {
    background-color: #095CA8;
    padding: 100px 0 100px 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-bottom: 5rem;
    text-align: center;
    color: #fff;
}

#content article .entry-header .entry-title {
    border-left: 0.2rem solid #095CA8;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0.1rem 0.1rem 0.1rem 0.5rem;
}



/*
#content .rpwwt-widget h3.widget-title {
		padding-top: 20px;
		margin-bottom: 1rem;
    text-align: center;
    font-size: 30px;
}*/
.rpwwt-widget ul li {
    /*border-bottom: 1px dotted #ccc;*/
    margin: 0;
    padding: 0.3em;
}

.rpwwt-post-date {
    display: inline-block;
    float: left;
    width: 8em;
    text-align: right;
}
#content .rpwwt-widget ul li a {
    display: inline-block;
    float: right;
    width: calc(100% - 9em);
    text-decoration: none;
}



@media (max-width: 768px) {
	#content .rpwwt-widget ul li {
		position: relative;
		margin: 0.8em 0 1.2em;
		padding: 1em; 0;
		overflow: hidden;
	}
#content .rpwwt-widget ul li a {
    display: block;
    float: none;
    text-decoration: none;
    width: 100%;
		position: relative;
    top: 1em;
}
.rpwwt-post-date {
    display: block;
    float: none;
    width: 100%;
    text-align: left;
		position: absolute;
    top: 0;
}

}


/* News Archive*/
.full-width-center #primary {
    width: 100%;
}


/* About us */
#Company h3 {
    background-color: #095CA8;
    color: #fff;
    border-radius: 2em;
    padding: 0.25em 1em;
}

span.p-name {
    font-size: 1.5em;
    margin: 0 0.5em;
}

#content .kasen_hyo table {
    width: 100%;
    border: none;
}

#content .kasen_hyo table tr {
    height: 5em;
    border-bottom: 1px solid #707070;
}
#content .kasen_hyo table tr:first-child {
    height: 5em;
    border-top: 1px solid #707070;
}
/*
#content .kasen_hyo table tr:last-child {
    border-bottom: none;
}
    */

#content .kasen_hyo table th,
#content .kasen_hyo table td {
    border: none;
    vertical-align: middle;
}


#content .kasen_hyo table th {
    width: 15%;
    min-width: 5em;
    color: #095CA8;
    font-weight: bold;
}

#content .kasen_hyo table td {}


/* Recruit */

.interview:before {
    font-family: "MuseoModerno", sans-serif;
    font-size: 8rem;
    margin-left: 7rem;
    margin-top: -1rem;
    position: absolute;
    color: #095CA8;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}
.interview.intv1:before {
    content: "1";

}

.interview.intv2:before {
    content: "2";
    right: 7vw;
}

.interview.intv3:before {
    content: "3";

}






/* Mail Form */
.mftable {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1.5em;
}

.mft-row {
    display: table-row;
}

.mft-cell {
    display: table-cell;
}

.mfsubmit {
    text-align: center;
}

.mfh {
    /*	font-weight: bold;*/
}
.mft-cell.mfd {
    position: relative;
}


.mfd input,
.mfd textarea {
    padding: 0.6rem;
    border: 1px solid #707070;
}
.mfd input {
    height: 2.5rem;
}
.mfd textarea {

}
.mfsubmit {
    margin-top: 2em;
}

.mfsubmit .wpcf7-submit {
    background-color: #095CA8;
    color: #fff;
    font-size: 100%;
    font-weight: bold;
    padding: 1.2em 8em;
   
}
.wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"] {
    direction: ltr;
    width: 100%;
}


@media (min-width: 1200px) {
    #top-footer .widget ul li {
        padding: 0.5em 4em;
    }
}
@media (min-width: 781px) {

    .kadomaru2-migiyose {
        width: calc(50vw - 15px);
        margin-left: 0;
    }

    .kadomaru2-migiyose img {
        border-radius: 3rem 0 0 3rem;
        width: calc(50vw - 15px);
    }

    .kadomaru2-hidariyose {
        width: calc(50vw - 15px);
        margin-left: calc(-50vw + 100%);
    }

    .kadomaru2-hidariyose img {
        border-radius: 0 3rem 3rem 0;
        width: calc(50vw - 15px);
    }



    .home .kadomaru2-migiyose {
        width: calc(50vw - 15px);
        margin-left: 0;
    }

    .home .kadomaru2-migiyose img {
        border-radius: 3rem 0 0 3rem;
        width: calc(50vw - 15px);
        margin-top: -10rem;
    }

    .home .kadomaru2-hidariyose {
        width: calc(50vw - 15px);
        margin-left: calc(-50vw + 100%);
    }

    .home .kadomaru2-hidariyose img {
        border-radius: 0 3rem 3rem 0;
        width: calc(50vw - 15px);
        margin-top: -10rem;
    }

    .migi-title h2 {
        margin-left: calc(50% + 15px);
    }


    .i4t6 .kadomaru2-migiyose {
        width: calc(40vw - 15px);
        margin-left: calc(10vw - 28%);
    }

    .i4t6 .kadomaru2-migiyose img {
        border-radius: 3rem 0 0 3rem;
        width: calc(40vw - 15px);
    }

    .i4t6 .kadomaru2-hidariyose {
        width: calc(40vw - 15px);
        margin-left: calc(-50vw + 131%);
    }

    .i4t6 .kadomaru2-hidariyose img {
        border-radius: 0 3rem 3rem 0;
        width: calc(40vw - 15px);
    }


}





@media (max-width: 980px) {}

@media (max-width: 780px) {
    /* TOP PAGE */
    #content .top-slide-cc>div {
        text-align: justify !important;
        line-height: 2em !important;
        padding: 10% 8%;
        
    }
    /* TOP PAGE */
    #content .top-slide-cc>div br {
        display: block;
    }
    
    .loop_carousel li {

        min-width: 70vw;

    }
    .loop_carousel ul:first-child {
        -webkit-animation: loop 20s -10s linear infinite;
        animation: loop 20s -10s linear infinite;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: transform;
    }
    
    .loop_carousel ul+ul {
        -webkit-animation: loop2 20s linear infinite;
        animation: loop2 20s linear infinite;
    }


    
    .interview:before {
        margin-left: 1rem;
    }

    
    .interview.intv2:before {
        right: unset;
    }
    
    .interview.intv3:before {


    }

}