@font-face {
  font-family: 'Zen Maru Gothic Bold'; /* フォント名 */
  /* フォーマットごとにパスを指定 */
  src: url('../fonts/ZenMaruGothic-Bold.ttf') format('truetype');
  src: url('../fonts/ZenMaruGothic-Bold.woff') format('woff');
}
@font-face {
  font-family: 'Zen Maru Gothic Medium'; /* フォント名 */
  /* フォーマットごとにパスを指定 */
  src: url('../fonts/ZenMaruGothic-Medium.ttf') format('truetype');
  src: url('../fonts/ZenMaruGothic-Medium.woff') format('woff');
}
body {
    background: #fffbef;
    position: relative;
    font-family: "Zen Maru Gothic Medium", serif;
    font-style: normal;
    padding: 0;
    margin: 0;
    letter-spacing: 0.1rem}
body {
    width: 100%;
    overflow-x: hidden;
    color: #434343;}
a{text-decoration: none;color:#333333;}
svg {
    margin-bottom: -4px;
}
span.wrap {
    display: inline-block!important;
}
table, table p {
    font-size: 17px;
    line-height: 1.9;
}
.formArea a:after,a{transition: .5s all;}
ul,li{list-style: none;margin: 0;padding: 0;}
h2,h3,h4,h5,strong{font-family: "Zen Maru Gothic Bold", serif;margin:0;}
blockquote {
    font-size: 14px;
    background: #ffa87b;
    width: calc(86% - 60px);
    margin: -1px auto 20px;
    padding: 10px 30px;
    border: 1px solid #f5e4db;
    text-align: center;
    color: #fff;
    border-radius: 0 0 5px 5px;
    font-family: "Zen Maru Gothic Medium", serif;
    font-weight: 500;
}
blockquote a {color: #fff;text-decoration: underline;}
.mainvisual {
    background: url(../img/saiyo/saiyo_bg_recruitpost.webp) 0 0 no-repeat;
    background-size: cover;
    padding: 20px 0px 0px;
    position: relative;
    max-width: 100%;
}
.logo{width:220px;}
.logo img{width:100%; height:auto;}
#header {
    position: relative;
    max-width: 100%;
    margin: 0 auto 60px;
    padding: 0 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
img.photo {
    position: absolute;
    right: 15vw;
    bottom: 29vw;
    width: 30vw;
}
h1 {
    margin: 50px 0 40px 17px;
    line-height: 1.3;
    font-size: 54px;
    font-family: "Zen Maru Gothic Bold", serif;
    width: 100%;
}
div#header p {
    font-size: 1.3vw;
    line-height: 1.6;
}
a.job-apply {
    background:#9f2f3f url(../img/saiyo/main_icon01.webp) 25px 4px no-repeat;
}
a.job-apply-starter {
    background:#9f2f3f url(../img/saiyo/main_icon02.webp) 34px 4px no-repeat;
    padding: 13px 21px 13px 58px;
}

#container{
    position: relative;
    margin:0 auto;
}
.ctaButton {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 20px 50px;
    column-gap: 20px;
}
.ctaButton a {
    width: calc(45% - 100px);
    border-radius: 40px;
    padding: 10px 20px 13px 80px;
    color: #fff;
    font-size: 18px;
    position: relative;
    text-align: center;
}
.ctaButton a.job-apply {
    background: #9f2f3f;
    background-image:none;
}
.ctaButton a.job-apply:before {
    background: url(../img/saiyo/ctaButton01.webp) 0 4px no-repeat;
    content: "";
    display: block;
    position: absolute;
    top: -18px;
    bottom: 0;
    width: 96px;
    height: 83px;
    left: 33px;
    background-size: 100%;
}
.ctaButton a.job-apply-starter {
    background: #9f2f3f;
    background-image:none;
}
.ctaButton a.job-apply-starter:before {
    background: url(../img/saiyo/ctaButton02.webp) 0 4px no-repeat;
    content: "";
    display: block;
    position: absolute;
    top: -10px;
    bottom: 0;
    width: 86px;
    height: 73px;
    left: 37px;
    background-size: 100%;
}
.path {
    padding: 0px 0 30px;
}
.path a {
    background: #a0c9e1;
    color: #fff;
    text-align: center;
    padding: 16px 30px;
    border-radius: 50px;
    display: block;
    width: 650px;
    font-family: "Zen Maru Gothic Bold", serif;
    margin: 40px auto;
    font-size: 19px;
    letter-spacing: 0.08rem;
}
h2 {
    text-align: center;
    font-size: 48px;
    margin-bottom: 40px;
}
h2 span {
    color: #9f2f3f;
    display: block;
    font-size: 33px;
}
section {
    max-width: 1200px;
    margin: 0 auto;
}
.flexbox {
    display: flex;
}
table {
    border-right: 1px solid #888;
    width: 100%;
    margin: 0 auto 45px;
}
table td {
    border-left: 1px solid #888;
    border-top: 1px solid #888;
    background: #fff;
    padding: 20px 25px;
}
table th {
    border-left: 1px solid #888;
    border-top: 1px solid #888;
    background: #eee;
    width: 20%;
    padding: 20px 25px;
    vertical-align: top;
    text-align: left;
}
table tr:last-child td, table tr:last-child th {
    border-bottom: 1px solid #888;
}
ul.tab {
    margin: 93px 0 43px;
    display: block;
    height: 99px;
    position: relative;
}
ul.tab span {
    display: block;
    font-size: 13px;
    margin-top: 5px;
}
a.selected {
    background: #d1ebfa;
}
ul.tab li {
    display: table;
    background: #fff;
    border: 3px solid #d1ebfa;
    border-radius: 20px;
    width: calc(17% - 1%);
    float: left;
    margin: 0 1% 0 0;
    padding: 0;
}
ul.tab li:first-child {
    position: absolute;
    top: -63px;
    left: 50%;
    width: 200px;
    margin: 0 0 0 -102px;
    text-align: center;
    border-radius: 5px;
}
ul.tab li:first-child a {
    display: block;
    padding: 5px 15px;
    font-size: 17px;
    font-family: "Zen Maru Gothic Bold", serif;
}
ul.tab li:nth-child(2) {
    float: left;
    height: 66px;
    padding: 0;
    width: 28%;
    margin: 0 1% 1% 0;
    border-radius: 10px;
}
ul.tab li:nth-child(3) {
    float: left;
    width: calc(34% - 1%);
    margin: 0 1% 1% 0;
    padding: 0;
}
ul.tab li:nth-child(4) {
    float: left;
    width: calc(35% - 1%);
    margin: 0 0 1% 0;
    padding: 0;
}
ul.tab li:last-child{
    margin: 0 0 0 0;}
ul.tab li a {
    display: block;
    padding: 7px 15px;
    font-size: 17px;
    font-family: "Zen Maru Gothic Bold", serif;
}
ul.tab li:nth-child(2) a {
    display: block;
    padding: 10px 20px 11px;
    font-size: 19px;
}
footer {
    padding: 0px 0 50px;
    text-align: center;
    color: #646464;
    font-size: 15px;
}
a.pagetop {
    opacity: 0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: block;
    position: fixed;
    right: 20px;
    bottom: 29px;
    background: #cfcccc url(../img/saiyo/pagetop.png) center 15px no-repeat;
    background-size: 50%;
    transition: .5s all;
    z-index: 1000;
}
a.pagetop.popIn {
    opacity: 1;
}
.panel {
    background-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}
.speech01 {
    background: #fffbef;
    clip-path: polygon(36% 0, 97% 13%, 100% 82%, 71% 100%, 18% 94%, 0% 60%, 11% 12%);
    width: calc(47% - 11vw);
    height: 14vw;
    padding: 4vw 3vw 4vw 7vw;
}
.speech02 {
    background: #fffbef;
    clip-path: polygon(24% 0, 91% 3%, 100% 51%, 85% 99%, 20% 118%, 0% 60%, 1% 14%);
    width: calc(52% - 13vw);
    height: 14vw;
    padding: 3vw 5vw 5vw 5vw;
    margin-left: 3vw;
    margin-top: 8vw;
}
.speech03 {
    background: #fffbef;
    clip-path: polygon(16% 0, 69% 0, 110% 22%, 100% 88%, 66% 98%, 2% 94%, 0 24%);
    width: 33vw;
    height: 16vw;
    padding: 4vw 4vw 4vw 5vw;
    margin: -5vw 0 0 1vw;
}
.speech01 h2, .speech02 h2, .speech03 h2 {
    font-size: 2vw;
    text-align: left;
    margin-bottom: 10px;
}
.container {
    padding: 0 40px;
}

@media screen and (max-width: 1240px) {
h1 {
    font-size: 48px;
}
}


@media screen and (max-width: 1140px) {
    h1 {
        font-size: 4.6vw;
    }
#header {
    padding: 0 70px;
}
}
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 4vw;
    }
ul.tab li:nth-child(2) a {
    padding: 10px 13px 7px;
    font-size: 16px;
}
ul.tab li a {
    padding: 7px 10px;
    font-size: 15px;
}
    .ctaButton a.job-apply:before {
        top: -8px;
        width: 7vw;
        height: 7vw;
    }
.ctaButton a.job-apply-starter:before {
    top: -3px;
    bottom: 0;
        width: 7vw;
        height: 7vw;
    left: 30px;
}
.ctaButton {
    padding: 15px 3vw;
}
    .ctaButton a {
        width: calc(50% - 127px);
        border-radius: 40px;
        padding: 10px 20px 13px 107px;
        color: #fff;
        font-size: 2vw;
        position: relative;
        text-align: left;
    }
}
    .spshow{display: none;}
    .sphide{display: block;}
    .ctaButton a span{display: none;}
.ctaButton a span.sphide{display: inline-block;}
@media screen and (max-width: 767px) {
    .spshow{display: block;}
ul.tab span {
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 8px;
}
ul.tab li a {
        padding: 12px 10px;
        font-size: 15px;
    }
.ctaButton a span.sphide{display: none;}
    .sphide{display: none;}
    ul.tab li:nth-child(2) {
    width: 46%;height: 58px;
}
    ul.tab li:nth-child(2) a {
        padding: 9px 13px 9px;
        font-size: 16px;
    }
ul.tab li:nth-child(3) {
    float: left;
    width: calc(50% - 1%);
    margin: 0 0% 1% 0;
    padding: 0;
}
ul.tab li {
    display: table;
    background: #fff;
    border: 3px solid #ffe7e7;
    border-radius: 20px;
    width: calc(24% - 1%);
    float: left;
    margin: 0% 1% 4% 0;
    padding: 0;
}
ul.tab li:nth-child(4) {
    float: left;
    width: calc(50% - 1%);
    margin: 0 0 2%;
    padding: 0;
}
    .path a {
        padding: 15px 14px;
        width: 84%;
        margin: 0px auto;
        font-size: 15px;
    }
        h1 {
        font-size: 5vw;
        margin: 2vw 0 3vw;
    }
        #header {
        padding: 0 30px;
        display: block;
    }
    .speech01 {
        background: #fffbef;
        clip-path: polygon(11% 0%, 61% 1%, 100% 11%, 100% 87%, 18% 94%, 0% 85%, 0% 12%);
        width: calc(97% - 11vw);
        height: 21vw;
        padding: 4vw 3vw 4vw 7vw;
        margin-left: 3%;
    }
    .speech02 {
    background: #fffbef;
    clip-path: polygon(20% 0, 96% 3%, 100% 51%, 97% 91%, 5% 100%, 0% 63%, 1% 14%);
    width: calc(100% - 13vw);
    height: 26vw;
    padding: 6vw 5vw 5vw 5vw;
    margin-left: 3vw;
    margin-top: 2vw;
}
.speech03 {
    background: #fffbef;
    clip-path: polygon(8% 0, 69% 0, 110% 13%, 100% 88%, 66% 98%, 2% 94%, 0 24%);
    width: calc(100% - 10vw);
    height: 27vw;
    padding: 6vw 4vw 4vw 6vw;
    margin: 4vw 0 0 1vw;
}
#header {
    margin: 0 auto 30px;}
img.photo {
    bottom: auto;
    top: 0;
    z-index: -1;
    right: 10vw;
}
    #header {
        z-index: 0;
    }

.speech01 h2, .speech02 h2, .speech03 h2 {
    font-size: 3.6vw
}
div#header p {
    font-size: 2.4vw;
    line-height: 1.6;
}
h2 {
    font-size: 34px;
    margin-bottom: 28px;
}
}
@media screen and (max-width: 640px) {
    .path {
    padding: 20px 0;
}
    .logo_area p.logo{
    width: 188px;
}
.speech01 h2, .speech02 h2, .speech03 h2 {
    margin-top: 5px;
}
        .ctaButton a {
        width: calc(50% - 12vw - 20px);
        border-radius: 40px;
        padding: 10px 20px 13px 12vw;
        color: #fff;
        font-size: 3vw;
        position: relative;
        text-align: left;
    }
    .ctaButton a.job-apply:before {
        background: url(../img/saiyo/ctaButton01.webp) 0 2vw no-repeat;
        top: -1vw;
        bottom: 0;
        width: 7vw;
        height: 8vw;
        left: 3vw;
        background-size: 100%;
    }
    .ctaButton a.job-apply-starter:before {
    background: url(../img/saiyo/ctaButton02.webp) 0 2vw no-repeat;
    top: -1vw;
    bottom: 0;
    width: 7vw;
    height: 8vw;
    left: 3vw;
    background-size: 100%;
}
    .path a {
        padding: 11px 14px;
        font-size: 14px;
        border-radius: 8px;
    }
    ul.tab li:nth-child(2) {
        width: 100%;
        margin-bottom: 3%;
    }
    ul.tab {
        margin: 80px 0 26px;
        display: flex;
        height: auto;
        flex-wrap: wrap;
    }
    ul.tab li:nth-child(3) {
        float: none;
        width: calc(49% - 1%);
        margin: 0 1% 1% 0;
        padding: 0;
    }
        ul.tab li:nth-child(4) {
        float: none;
        width: calc(49% - 1%);
        margin: 0 0 1%;
        padding: 0;
    }
    ul.tab li:nth-child(5) {
        float: none;
        width: calc(49% - 1%);
        margin: 0 1% 1% 0;
        padding: 0;
    }
        ul.tab li:nth-child(6) {
        float: none;
        width: calc(49% - 1%);
        margin: 0 0 1%;
        padding: 0;
    }
    ul.tab li:nth-child(7) {
        float: none;
        width: calc(49% - 1%);
        margin: 0 1% 1% 0;
        padding: 0;
    }
        ul.tab li:nth-child(8) {
        float: none;
        width: calc(49% - 1%);
        margin: 0 0 1%;
        padding: 0;
    }
    table th, table td {
        display: list-item;
        list-style: none;
        width: 100%;
        border-right: 1px solid #888;
        padding: 4px;
    }
    .ctaButton a.job-apply-starter {
    background: #9f2f3f;
    background-image: none;
    margin-bottom: 0;
}
    table {
        border-right: 0;
        margin-bottom: 30px;
    }
    table th p, table td p {
        padding: 0;
        margin: 8px 10px;
        text-align: left;
        font-size: 15px;
    }
}

@media screen and (max-width: 460px) {
div#header .speech01 p,div#header .speech02 p,div#header .speech03 p{font-size: 14px;margin-top:0;}
        .logo_area p.logo{
    width: 170px;
}

    footer {
        padding: 0px 20px 20px;
        font-size: 12px;
    }
.ctaButton .sphide {
    display: inline-block !important;
}
    img.photo {
        top: 29px;
        width: 32vw;
        right: 7vw;
    }
    .speech01 {
        margin-top: 7vw;
    }
    .ctaButton {
    display: block;}
    .ctaButton a {
        width: calc(100% - 75px);
        border-radius: 40px;
        padding: 10px 20px 13px 55px;
        color: #fff;
        font-size: 16px;
        position: relative;
        text-align: left;
        display: block;
        margin-bottom: 14px;
    }
    .container {
    padding: 0 30px;
}
        .ctaButton a.job-apply:before {
        background: url(../img/saiyo/ctaButton01.webp) 0 2vw no-repeat;
        top: -3px;
        bottom: 0;
        width: 38px;
        height: 41px;
        left: 2vw;
        background-size: 100%;
    }
        .ctaButton a.job-apply-starter:before {
        background: url(../img/saiyo/ctaButton02.webp) 0 2vw no-repeat;
        top: -3px;
        bottom: 0;
        width: 38px;
        height: 41px;
        left: 3vw;
        background-size: 100%;
    }
        ul.tab {
        justify-content: space-between;
    }
    ul.tab li:nth-child(3), ul.tab li:nth-child(4), ul.tab li:nth-child(5), ul.tab li:nth-child(6), ul.tab li:nth-child(7), ul.tab li:nth-child(8) {
    width: calc(48% - 1%) !important;
    margin-bottom: 9px;
}
ul.tab li:nth-child(2){margin-bottom: 12px;}
    div#header p {
        font-size: 15px;
        line-height: 1.6;
    }
    .speech01 h2, .speech02 h2, .speech03 h2 {
        font-size: 17px;
    }
        h2 {
        font-size: 29px;
        margin-bottom: 21px;
        margin-top: 20px;
    }
        .speech01 {
        background: #fffbef;
        clip-path: none;
        width: calc(100% - 30px);
        height: auto;
        padding: 15px 15px 5px;
        margin-left: 0;
        border-radius: 5px;
        margin-bottom: 18px;
    }
        .speech02 {
        background: #fffbef;
        clip-path: none;
        width: calc(100% - 40px);
        height: auto;
        padding: 15px 20px 5px;
        margin-left: 0;
        border-radius: 5px;
    }
        .speech03 {
        background: #fffbef;
        clip-path: none;
        width: calc(100% - 40px);
        height: auto;
        padding: 15px 20px 5px;
        margin-left: 0;
        border-radius: 5px;
    }
}