@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@200;300;400;500&family=Noto+Sans+JP:wght@100;200;300;400;500;600&family=Noto+Serif+JP:wght@200;300;500;600&display=swap');

*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: "Noto Sans JP", "Noto Sans JP srcfile", sans-serif;
    font-size: 62.5%;
    color: #333;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

p {
    font-size: 1.6rem;
    font-weight: 300;
}

.mt10 {
    margin-top: 10px;
}

.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

.mt40 {
    margin-top: 40px;
}

.mt60 {
    margin-top: 60px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb12 {
    margin-bottom: 12px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb40 {
    margin-bottom: 40px;
}

.mb60 {
    margin-bottom: 60px;
}

.mb100 {
    margin-bottom: 100px;
}

.br480u {
    display: none;
}

@media (max-width: 480px) {
    p {
        font-size: 1.4rem;
    }

    .br480u {
        display: block;
    }
}



/*　//////////////////////////////////////////////////
　header
//////////////////////////////////////////////////　*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.header_toppage {
    transition: .3s ease;
    background: rgba(255, 255, 255, .8);
}

.header_toppage.transform {
    background: rgba(255, 255, 255, 1);
    transition: .6s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
}

.header_page {
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
}

.header-in {
    width: 100%;
    height: 72px;
    margin: 0 auto;
}

.header_logo img {
    position: absolute;
    top: 20px;
    left: calc(50% - 600px);
    width: 300px;
}

.header_form {
    position: absolute;
    display: flex;
    top: 0;
    right: calc(50% - 600px);
}

.header_recruit {
    width: 140px;
    height: 72px;
    background-color: #0230fe;
}

.header_recruit_btn {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0230fe;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 400;
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
}

.header_recruit_btn span {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}

.header_recruit_btn:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    background: #005eff;
}

.header_recruit_btn:hover:before {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}

.header_contact {
    width: 140px;
    height: 72px;
    background-color: #00399e;
}

.header_contact_btn {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #00399e;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 400;
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
}

.header_contact_btn span {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}

.header_contact_btn span::before {
    padding-right: 6px;
    content: '\f0e0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.header_contact_btn:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    background: #005eff;
}

.header_contact_btn:hover:before {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
}

.header_menu {
    width: 100%;
    height: 72px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.header_menu ul {
    margin-right: calc(50% - 300px);
}

.header_menu li {
    display: inline-block;
    transition: .3s;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
    margin-right: 25px;
    padding-bottom: 12px;
}

.header_menu li a {
    color: #000;
    text-decoration: none;
}

.header_menu li span {
    position: relative;
}

.header_menu li span::after {
    position: absolute;
    bottom: -4px;
    left: 50%;
    content: '';
    width: 0;
    height: 2px;
    background-color: #00399e;
    transition: .3s;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.header_menu li span:hover::after {
    width: 100%;
}

.header_menu_active::after {
    width: 100% !important;
}


@media (max-width: 1200px) {
    .header_logo img {
        left: 12px;
    }

    .header_title h1 {
        top: 40px;
        left: 172px;
        font-size: 1.4rem;
    }

    .header_form {
        right: calc(55% - 600px);
    }

    .header_contact {
        right: 0;
        width: 120px;
    }

    .header_contact_btn {
        font-size: 1.3rem;
    }

    .header_recruit {
        right: 0;
        width: 110px;
    }

    .header_recruit_btn {
        font-size: 1.3rem;
    }

    .header_menu ul {
        margin-right: calc(55% - 350px);
    }

}

@media (max-width: 1100px) {
    .header_form {
        right: calc(55% - 540px);
    }

    .header_recruit,
    .header_contact {
        right: 0;
        width: 110px;
    }

    .header_menu ul {
        margin-right: calc(55% - 310px);
    }
}

@media (max-width: 980px) {
    .header-in {
        height: 60px;
    }

    .header_logo img {
        top: 14px;
        left: 12px;
    }

    .header_recruit {
        display: none;
    }

    .header_contact {
        display: none;
    }

    .header_menu {
        display: none;
    }
}

@media (max-width: 430px) {
    .header_logo img {
        width: 250px;
        top: 18px;
        left: 12px;
    }

    .header_title h1 {
        top: 32px;
        left: 140px;
        font-size: 1.2rem;
    }
}

@media (max-width: 370px) {
    .header_logo img {
        width: 200px;
        top: 20px;
        left: 12px;
    }
}


/*　//////////////////////////////////////////////////
  　hamburger menu
  //////////////////////////////////////////////////　*/

.hamburger-menu {
    display: none;
}

.menu-btn {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #00399e;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
    -webkit-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

.menu-btn span:before {
    bottom: 8px;
}

.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked~.menu-btn {
    position: fixed;
}

#menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255, 255, 255, 0);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

#menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

#menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

#menu-btn-check {
    display: none;
}


.menu-content {
    width: 100%;
    height: calc(100% - 60px);
    position: fixed;
    top: 60px;
    left: 100%;
    z-index: 10;
    background-color: #f2f4f9;
    transition: all 0.5s;
}

.menu-content ul {
    padding: 0;
}

.menu-content ul li {
    border-bottom: solid 1px #00399e;
    list-style: none;
}

.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 1.6rem;
    box-sizing: border-box;
    color: #00399e;
    text-decoration: none;
    padding: 16px 20px 16px 20px;
    position: relative;
}

.menu-content ul li a::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: solid 2px #00399e;
    border-right: solid 2px #00399e;
    transform: rotate(45deg);
    position: absolute;
    right: 20px;
    top: 23px;
}

#menu-btn-check:checked~.menu-content {
    left: 0;
}

#menu-btn-check:checked~.menu-content1 {
    left: 0;
}

.form_btn {
    margin-top: 20px;
}

.header_sp_recruit {
    width: 80%;
    height: 65px;
    margin: 18px auto;
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/sp_btn1.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 50% 50%;
}

.header_sp_recruit_btn {
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #00399e;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
    font-size: 1.6rem;
    font-weight: 400;
    position: relative;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
}

.header_sp_recruit_btn span {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}

.header_sp_contact {
    width: 80%;
    height: 65px;
    margin: 18px auto;
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/sp_btn2.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 50% 30%;
}

.header_sp_contact_btn {
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #00399e;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
    font-size: 1.6rem;
    font-weight: 400;
    position: relative;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
}

.header_sp_contact_btn span {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}

.header_sp_contact_btn span::before {
    padding-right: 6px;
    content: '\f0e0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}


@media (max-width: 980px) {
    .hamburger-menu {
        display: block;
    }
}

@media (max-width: 480px) {

    .header_sp_recruit,
    .header_sp_contact {
        margin-top: 18px;
        margin-bottom: 0px;
    }
}

.animation {
    opacity: 0;
    visibility: hidden;
    transition: 1s;
    transform: translateY(30px);
}

/*アニメーション要素までスクロールした時のスタイル*/
.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/*　//////////////////////////////////////////////////
　TOPPAGE - MAIN
//////////////////////////////////////////////////　*/

section {
    width: 1200px;
    margin: 0 auto;
}

.top_container1 {
    padding-top: 60px;
    padding-bottom: 100px;
    background-color: #f2f4f9;
}

.top_container2 {
    padding-top: 60px;
    padding-bottom: 100px;
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/top_bg1.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 50% 50%;
}

.h3_title1 {
    text-align: center;
    font-size: 3rem;
    font-weight: 300;
    color: #00399e;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
}

.button1 {
    width: 300px;
    margin: 0 auto;
    text-align: center;
    background: #0230fe;
    border-radius: 9999px;
}

.button1 a {
    position: relative;
    display: block;
    padding: 10px 0;
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
}

.button1 a:after {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f054';
    top: 31%;
    right: 30px;
    color: #fff;
}

.button1:hover {
    background: #005eff;
    transition: .3s;
}

@media (max-width: 1200px) {
    section {
        width: 96%;
    }
}

@media (max-width: 980px) {
    section {
        width: 90%;
    }
}

@media (max-width: 600px) {
    .h3_title1 {
        font-size: 2.7rem;
    }
}

@media (max-width: 438px) {
    .h3_title1_sp {
        font-size: 2.25rem;
    }
}

@media (max-width: 400px) {
    .h3_title1 {
        font-size: 2.3rem;
    }
}

/* 施工事例nav */
.top_nav_list {
    display: flex;
    justify-content: center;
    list-style: none;
}

.top_nav_list li {
    width: 150px;
    height: 300px;
    text-align: center;
}

.top_nav1 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/top_nav1.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 60% 50%;
}

.top_nav2 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/top_nav2.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 30% 50%;
}

.top_nav3 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/top_nav3.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 30% 50%;
}

.top_nav4 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/top_nav4.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 35% 50%;
}

.top_nav5 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/top_nav5.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 30% 50%;
}

.top_nav_list li a {
    display: block;
    width: 100%;
    height: 100%;
    color: #00399e;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
    text-decoration: none;
}

.top_nav_list li a:hover {
    background: rgba(255, 255, 255, 0.3);
    transition: .3s;
}

.top_nav_list li a p {
    padding-top: 90%;
    font-size: 2rem;
    font-weight: 400;
}

@media (max-width: 850px) {
    .top_nav_list {
        display: block;
        list-style: none;
    }

    .top_nav_list li {
        width: 80%;
        max-height: 150px;
        height: auto;
        margin: 0 auto;
        text-align: center;
    }

    .top_nav1 {
        background-position: 20% 45%;
    }

    .top_nav2 {
        background-position: 30% 90%;
    }

    .top_nav3 {
        background-position: 30% 70%;
    }

    .top_nav4 {
        background-position: 35% 30%;
    }

    .top_nav5 {
        background-position: 30% 60%;
    }

    .top_nav_list li a p {
        padding: 10% 0;
    }
}

/* 快適環境創造事業 */
.top_col3 {
    display: flex;
    justify-content: space-around;
    text-align: center;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
    text-decoration: none;
}

.top_item_l,
.top_item_r {
    width: 30%;
}

.top_item_c {
    display: flex;
    justify-content: center;
    width: 40%;
}

.top_item_c p {
    text-align: left;
    margin-top: 40px;
    line-height: 4rem;
}

.top_item_up {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    padding-top: 80px;
    font-size: 2.8rem;
    color: #00399e;
    border: solid 3px #fff;
    border-radius: 9999px;
}

.top_item_l .top_item_up {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/top_image1.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 70% 50%;
}

.top_item_r .top_item_up {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/top_image2.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 60% 50%;
}

.top_item_buttom {
    font-size: 1.6rem;
    color: #00399e;
}

.top_item_buttom br {
    display: none;
}

.top_content1_in p br {
    display: block;
}

@media (max-width: 980px) {
    .top_col3 {
        flex-wrap: wrap;
    }

    .top_item_l {
        width: 50%;
        order: 1;
    }

    .top_item_c {
        width: 100%;
        margin-bottom: 20px;
    }

    .top_item_c p {
        text-align: left;
        margin-top: 0px;
        line-height: 3rem;
    }

    .top_item_r {
        width: 50%;
        order: 2;
    }
}

@media (max-width: 920px) {
    .top_content1_in p br {
        display: none;
    }
}

@media (max-width: 600px) {
    .top_item_c p {
        line-height: 2.5rem;
    }

    .top_item_up {
        width: 150px;
        height: 150px;
        padding-top: 60px;
        font-size: 2.3rem;
    }

    .top_item_buttom {
        font-size: 1.3rem;
    }
}

@media (max-width: 400px) {
    .top_item_buttom br {
        display: block;
    }
}

/* 山陽冷熱株式会社の取り組み */
.top_content1 {
    text-align: center;
}

.top_content1_in {
    display: flex;
    justify-content: center;
}

.top_content1_in p {
    text-align: left;
}

.top_content1 img {
    width: 50%;
    height: auto;
}

@media (max-width: 980px) {
    .top_content1 img {
        width: 60%;
    }
}

@media (max-width: 850px) {
    .top_content1 img {
        width: 80%;
    }
}

@media (max-width: 600px) {
    .top_content1 img {
        width: 90%;
    }
}


/* 取得資格 */
.top_list {
    display: flex;
    justify-content: space-around;
}

.top_list ul {
    list-style-type: none;
    font-size: 1.6rem;
    padding-left: 0;
}

.top_list ul li {
    padding-left: 1.3em;
    text-indent: -1.3em;
    margin-bottom: 5px;
}

.top_list ul li:before {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background: #00399e;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 0.5em;
}

.top_list li br {
    display: none;
}

@media (max-width: 980px) {
    .top_list {
        display: block;
    }
}

@media (max-width: 620px) {
    .top_list li br {
        display: block;
    }
}

/* 採用情報 */
.top_container3 {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.top_container3 .bgImg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    animation: bgAnime 20s infinite;
    /* 4画像 × 各5s = 20s */
}

.top_container3 .src1 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/top_bg2.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 60% 10%;
}

.top_container3 .src2 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/room.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 60% 50%;
    animation-delay: 5s;
}

.top_container3 .src3 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/top_bg2.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 60% 10%;
    animation-delay: 10s;
}

.top_container3 .src4 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/room.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 60% 50%;
    animation-delay: 15s;
}

@keyframes bgAnime {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.top_recruit_container1 {
    position: absolute;
    display: inline-block;
    width: 43%;
    height: 155px;
    padding-right: 15px;
    top: 15%;
    left: 16%;
    transform: translate(-50%, -50%);
    z-index: 11;
    font-family: 'Noto Serif JP', serif;
    color: #666;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
    border-bottom: solid 1px #666;
}

.top_recruit_container2 {
    position: absolute;
    display: inline-block;
    width: 49%;
    height: 155px;
    padding-right: 15px;
    top: 40%;
    left: 20%;
    transform: translate(-50%, -50%);
    z-index: 11;
    font-family: 'Noto Serif JP', serif;
    color: #666;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
    border-bottom: solid 1px #666;
}

.top_recruit_container1 div,
.top_recruit_container2 div {
    text-align: right;
}

.top_recruit_container1 div h4,
.top_recruit_container2 div h4 {
    font-size: 6rem;
    font-weight: 300;
    letter-spacing: 0.5rem;
}

.top_recruit_container1 div h4 span {
    font-size: 12rem;
    font-weight: 300;
    color: #8eedea;
}

.top_recruit_container2 div h4 span {
    font-size: 12rem;
    font-weight: 400;
    color: #b72821;
}

.top_recruit_container1 div h4 span:before {
    color: rgba(174, 255, 251, 0.6);
}

.top_recruit_container2 div h4 span:before {
    color: rgba(255, 143, 143, 0.6);
}

.h4_title1 {
    position: relative;
    text-align: center;
}

.h4_title1 span {
    position: relative;
    z-index: 12;
}

.h4_title1::before {
    content: attr(data-en);
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    font-style: italic;
    text-shadow: 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff;
}

.top_recruit_container3 {
    position: absolute;
    display: inline-block;
    padding: 20px;
    top: 65%;
    left: 40%;
    transform: translate(-50%, -50%);
    z-index: 11;
    color: #333;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
}

.top_recruit_container4 {
    position: absolute;
    display: inline-block;
    padding: 20px;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 11;
}

@media (max-width: 980px) {

    .top_recruit_container1,
    .top_recruit_container2 {
        height: 140px;
    }

    .top_recruit_container1 div h4,
    .top_recruit_container2 div h4 {
        font-size: 4rem;
    }

    .top_recruit_container1 div h4 span,
    .top_recruit_container2 div h4 span {
        font-size: 10rem;
    }

    .h4_title1::before {
        font-size: 3rem;
    }

    .top_recruit_container4 {
        top: 83%;
    }
}

@media (max-width: 700px) {
    .top_container3 {
        height: 480px;
    }

    .top_recruit_container1 {
        height: 110px;
        top: 13%;
    }

    .top_recruit_container2 {
        height: 110px;
        top: 36%;
    }

    .top_recruit_container1 div h4,
    .top_recruit_container2 div h4 {
        font-size: 3rem;
    }

    .top_recruit_container1 div h4 span,
    .top_recruit_container2 div h4 span {
        font-size: 8rem;
    }

    .h4_title1::before {
        font-size: 2.5rem;
    }

    .top_recruit_container3 {
        top: 63%;
    }

    .top_recruit_container4 {
        top: 85%;
    }
}

@media (max-width: 570px) {
    .top_container3 {
        height: 500px;
    }

    .top_recruit_container1 {
        width: 65%;
        left: 23%;
    }

    .top_recruit_container2 {
        width: 75%;
        left: 30%;
    }

    .top_recruit_container3 {
        top: 66%;
        left: 35%;
    }

    .top_recruit_container4 {
        top: 90%;
    }
}

@media (max-width: 400px) {
    .top_container3 {
        height: 480px;
    }

    .top_recruit_container1 {
        width: 70%;
        top: 10%;
        left: 25%;
    }

    .top_recruit_container2 {
        top: 33%;
        left: 33%;
    }

    .top_recruit_container3 {
        top: 63%;
    }

    .top_recruit_container4 {
        top: 87%;
    }
}


/*　//////////////////////////////////////////////////
　FOOTER
//////////////////////////////////////////////////　*/

footer {
    width: 100%;
    background-color: #f2f4f9;
    padding: 30px 0;
    margin-bottom: 0;
    margin-top: auto;
}

.footer-in {
    position: relative;
    width: 1200px;
    margin: 0 auto;
}

.footer_logo {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer_logo img {
    width: 320px;
    margin-right: 16px;
}

.footer_adress {
    color: #333;
    font-size: 1.4rem;
    font-weight: 300;
}

.footer_adress a {
    color: #00399e;
}

.footer_link {
    margin: 8px 0 6px 0;
    color: #333;
    font-size: 1.4rem;
    font-weight: 300;
}

.footer_link a {
    color: #333;
    text-decoration: none;
}

.footer_link a:hover {
    color: #005eff;
}

.footer_link br {
    display: none;
}

.footer_copy {
    color: #333;
    font-size: 1.2rem;
    font-weight: 300;
}

#page_top {
    width: 50px;
    height: 50px;
    position: fixed;
    right: calc(50% - 600px);
    bottom: 30px;
    transition: 0.3s;
    border: solid 2px #0230fe;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.8);
}

#page_top a {
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f077';
    font-size: 25px;
    color: #0230fe;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -22px;
    bottom: 0;
    right: 0;
    left: -3px;
    margin: auto;
    text-align: center;
}

#page_top a::after {
    content: 'TOP';
    font-size: 15px;
    font-weight: 500;
    color: #0230fe;
    position: absolute;
    width: 25px;
    height: 25px;
    top: 16px;
    bottom: 0;
    right: 0;
    left: -7px;
    margin: auto;
    text-align: center;
}

#page_top:hover {
    opacity: 0.6;
    transition: 0.3s;
}

@media (max-width: 1200px) {
    .footer-in {
        width: 96%;
    }

    #page_top {
        right: 5%;
    }
}

@media (max-width: 980px) {
    .footer-in {
        width: 90%;
    }

    .footer_logo img {
        width: 240px;
        margin-right: 0px;
    }

    .footer_adress {
        font-size: 1.2rem;
    }

    .footer_link {
        margin: 16px 0 4px 0;
        font-size: 1.1rem;
    }

    .footer_copy {
        font-size: 1rem;
    }

    /* #page_top {
        visibility: hidden;
    } */
}


@media (max-width: 480px) {
    .footer-in {
        width: 90%;
        margin-bottom: 60px;
    }

    .footer_link br {
        display: block;
    }
}

/*　//////////////////////////////////////////////////
　PAGE - PANKUZU
//////////////////////////////////////////////////　*/

.pankuzu {
    margin-top: 72px;
    width: 100%;
    background-color: #F2F4F9;
}

.pankuzu ul {
    width: 1200px;
    margin: 0 auto;
    padding: 8px 0;
    list-style: none;
}

.pankuzu ul li {
    display: inline-block;
    margin-right: 1rem;
    color: #1d5eb7;
    font-size: 1.5rem;
    font-weight: 500;
}

.pankuzu ul li a {
    color: #333;
    font-weight: 300;
    text-decoration: none;
}

.pankuzu ul li a:hover {
    text-decoration: underline;
}

.pankuzu ul li::after {
    padding-left: 1rem;
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #ccc;
}

.pankuzu ul li:last-child::after {
    display: none;
}

@media (max-width: 1200px) {
    .pankuzu ul {
        width: 96%;
    }

    .pankuzu ul li {
        font-size: 1.3rem;
    }
}

@media (max-width: 980px) {
    .pankuzu {
        margin-top: 60px;
    }

    .pankuzu ul {
        width: 90%;
    }
}

/*　//////////////////////////////////////////////////
  　PAGE 共通
  //////////////////////////////////////////////////　*/

.pagetitle {
    width: 100%;
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/header_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 90%;
    text-align: center;
    padding: 80px 0;
    margin-bottom: 40px;
}

.pagetitle_in {
    margin: 0;
    font-size: 3.5rem;
    font-weight: 400;
    color: #00399e;
    text-align: center;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
}

.pagetitle_in span {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 300;
}


/*　//////////////////////////////////////////////////
  　Works
  //////////////////////////////////////////////////　*/

.works_submenu-5p {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
}

.works_submenu-5p-in {
    position: relative;
    width: 18%;
    height: 150px;
    margin-right: 2.5%;
    text-align: center;
}

.works_submenu-5p-in:nth-of-type(5n) {
    margin-right: 0;
}

.works_submenu01 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/works_submenu01.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 60% 50%;
}

.works_submenu02 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/works_submenu02.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 30% 50%;
}

.works_submenu03 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/works_submenu03.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 30% 50%;
}

.works_submenu04 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/works_submenu04.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 35% 50%;
}

.works_submenu05 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/works_submenu05.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 30% 50%;
}

.works_submenu-5p-in a {
    position: absolute;
    display: block;
    width: 100%;
    padding: 58px 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 300;
    color: #00399e;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
    font-weight: 500;
    text-decoration: none;
}

.works_submenu-5p-in:hover {
    opacity: .6;
    transition: .3s;
}

.page_midashi3 {
    margin: 0 0 20px 0;
    padding: 8px 16px;
    width: 100%;
    background-color: #00399E;
    color: #fff;
    font-size: 2rem;
    font-weight: 400;
}

.contentsMoreInner {
    width: 100%;
    margin: 0 auto;
    padding: 25px 30px;
    border-radius: 3px;
    box-sizing: border-box;
    background: #FFF;
}

.contentsMoreContainer {
    position: relative;
    height: auto;
    max-height: 250px;
    overflow: hidden;
    transition: max-height 0.6s;
}

.contentsMoreContainer::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 10%;
    transition: 1s;
    background: #ffffff;
    pointer-events: none;
}

.contentsMoreContainer.contentsShow:after {
    z-index: -1;
    opacity: 0;
}

.button2 {
    width: 200px;
    display: block;
    margin: 0 auto;
    padding: 10px 0;
    text-align: center;
    font-size: 1.6rem;
    color: #fff;
    background-color: #0230FE;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
}

.button2:hover {
    opacity: 0.6;
    transition: .3s;
}

.button2:disabled {
    background-color: #0230FE;
    opacity: 0.6;
    cursor: default;
}

.contents-in,
.insert-page-1,
.insert-page-22,
.insert-page-25,
.insert-page-28,
.insert-page-31 {
    display: flex;
    flex-wrap: wrap;
}

.contents-in-50,
.insert-page-1 .wp-block-image,
.insert-page-22 .wp-block-image,
.insert-page-25 .wp-block-image,
.insert-page-28 .wp-block-image,
.insert-page-31 .wp-block-image {
    width: 22%;
    margin-right: 4%;
    text-align: center;
}

.insert-page-1 .wp-block-image,
.insert-page-22 .wp-block-image,
.insert-page-25 .wp-block-image,
.insert-page-28 .wp-block-image,
.insert-page-31 .wp-block-image {
    margin-bottom: 20px;
}

.contents-in-50:nth-of-type(4n),
.insert-page-1 .wp-block-image:nth-of-type(4n),
.insert-page-22 .wp-block-image:nth-of-type(4n),
.insert-page-25 .wp-block-image:nth-of-type(4n),
.insert-page-28 .wp-block-image:nth-of-type(4n),
.insert-page-31 .wp-block-image:nth-of-type(4n) {
    margin-right: 0;
}

.contents-in-50 img,
.insert-page-1 .wp-block-image img,
.insert-page-22 .wp-block-image img,
.insert-page-25 .wp-block-image img,
.insert-page-28 .wp-block-image img,
.insert-page-31 .wp-block-image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.page_caption,
.wp-element-caption {
    font-size: 1.3rem;
    font-weight: 400;
}

@media (max-width: 1200px) {
    .contentsMoreContainer {
        max-height: 20vw;
    }

    .contents-in-50 img,
    .insert-page-1 .wp-block-image img,
    .insert-page-22 .wp-block-image img,
    .insert-page-25 .wp-block-image img,
    .insert-page-28 .wp-block-image img,
    .insert-page-31 .wp-block-image img {
        height: 16vw;
    }
}

@media (max-width: 980px) {
    .works_submenu-5p-in {
        width: 47%;
        margin-right: 6%;
        margin-bottom: 10px;
    }

    .works_submenu-5p-in:nth-of-type(2n) {
        margin-right: 0;
    }

    .page_midashi3 {
        margin: 0 0 12px 0;
        padding: 6px 10px;
        font-size: 1.8rem;
    }

    .contents-in-50,
    .insert-page-1 .wp-block-image,
    .insert-page-22 .wp-block-image,
    .insert-page-25 .wp-block-image,
    .insert-page-28 .wp-block-image,
    .insert-page-31 .wp-block-image {
        width: 48%;
        margin-right: 4%;
        margin-bottom: 12px;
    }

    .contents-in-50 img,
    .insert-page-1 .wp-block-image img,
    .insert-page-22 .wp-block-image img,
    .insert-page-25 .wp-block-image img,
    .insert-page-28 .wp-block-image img,
    .insert-page-31 .wp-block-image img {
        height: 31vw;
    }

    .contents-in-50:nth-of-type(2n),
    .insert-page-1 .wp-block-image:nth-of-type(2n),
    .insert-page-22 .wp-block-image:nth-of-type(2n),
    .insert-page-25 .wp-block-image:nth-of-type(2n),
    .insert-page-28 .wp-block-image:nth-of-type(2n),
    .insert-page-31 .wp-block-image:nth-of-type(2n) {
        margin-right: 0;
    }

    .page_caption,
    .wp-element-caption {
        font-size: 1.2rem;
    }

    .contentsMoreContainer {
        max-height: 38vw;
        /* max-height: calc(76vw + 7px); */
    }

}

/* @media (max-width: 780px) {
    .contentsMoreContainer {
        max-height: 78.1vw;
    }
} */

@media (max-width: 600px) {

    .contents-in-50 img,
    .insert-page-1 .wp-block-image img,
    .insert-page-22 .wp-block-image img,
    .insert-page-25 .wp-block-image img,
    .insert-page-28 .wp-block-image img,
    .insert-page-31 .wp-block-image img {
        height: 29vw;
    }

    /* .contentsMoreContainer {
        max-height: 76vw;
    } */
}

/* @media (max-width: 480px) {
    .contentsMoreContainer {
        max-height: 78vw;
    }
} */

/*　//////////////////////////////////////////////////
  　Recruit
  //////////////////////////////////////////////////　*/

.page_submenu {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    list-style: none;
    flex-wrap: wrap;
}

.page_midashi2 {
    margin: 0 0 20px 0;
    padding: 8px 16px;
    width: 100%;
    color: #00399E;
    font-size: 2.5rem;
    font-weight: 400;
    border-top: 1px solid #00399E;
    border-bottom: 1px solid #00399E;
}

.page_submenu .button1 a:after {
    font-family: 'Font Awesome 5 Free';
    content: '\f078';
}

.page_table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #E3E4E9;
    border-right: 1px solid #E3E4E9;
    border-left: 1px solid #E3E4E9;
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 300;
    color: #333;
}

.page_table tr {
    border-bottom: 1px solid #E3E4E9;
}

.page_table tr th {
    width: 25%;
    background-color: #F1F3F8;
    padding: 20px 20px;
    font-size: 1.6rem;
    font-weight: 400;
    color: #00399E;
    vertical-align: top;
}

.page_table tr th span {
    font-size: 1.2rem;
    color: #9d0718;
    font-weight: 300;
    vertical-align: top;
}

.page_table tr td {
    width: 75%;
    background-color: #fff;
    padding: 20px 20px;
}

.page_table tr th a {
    color: #003775;
    text-decoration: none;
}

.page_table tr td a {
    color: #333;
}

.page_table ul {
    margin-left: 2rem;
    list-style: square;
}

.col_container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.col_container30 {
    width: 30%;
}

.col_container30 img {
    width: 100%;
}

.col_container70 {
    flex: 1;
}

.page_midashi1 {
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-size: 2rem;
    font-weight: 400;
    color: #333;
    border-bottom: 2px solid #00399D;
}

.readMoreInner {
    width: 100%;
    margin: 0 auto;
    padding: 10px 30px 25px 30px;
    border-radius: 3px;
    box-sizing: border-box;
    background: #FFF;
}

.readMoreContainer {
    position: relative;
    height: auto;
    max-height: 300px;
    overflow: hidden;
    transition: max-height 0.6s;
}

.readMoreContainer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    transition: 1s;
    background: linear-gradient(to bottom, transparent 40%, #ffffff 100%);
    pointer-events: none;
}

.readMoreContainer.show:after {
    z-index: -1;
    opacity: 0;
}

.readMoreContainer p:last-child {
    margin-bottom: 20px;
}

.text_link {
    color: #00399E;
}

.text_link:hover {
    color: #00399E;
    opacity: 0.6;
    transition: .3s;
}

.url_out {
    position: relative;
}

.url_out:after {
    position: absolute;
    top: 3px;
    right: -20px;
    /* padding-left: 1rem; */
    content: '\f35d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #666;
}

.url_out:hover:after {
    color: #00399E;
    opacity: 0.6;
    transition: .3s;
}

.recruit_chart {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    list-style: none;
}

.recruit_chart li {
    margin-bottom: 10px;
}

.recruit_chart li .col_container {
    margin-bottom: 10px;
    text-align: left;
    border: 2px solid #003990;
}

.recruit_chart li .col_container .col_container70 {
    padding: 20px;
}

.recruit_chart_title {
    padding: 20px 0;
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
    background-color: #003990;
    text-align: center;
}

.recruit_chart li:after {
    content: '\f063';
    font-family: 'Font Awesome 5 Free';
    font-size: 3rem;
    font-weight: 900;
    color: #003990;
}

.recruit_chart li:last-child:after {
    display: none;
}

.recruit_banner_container {
    display: flex;
    flex-wrap: wrap;
}

.recruit_banner {
    height: 60px;
    width: auto;
    margin-right: 10px;
    margin-bottom: 10px;
}

.recruit_banner:hover {
    opacity: 0.6;
    transition: .3s;
}

.banner_link {
    border: 1px solid #ddd;
}

.recruit_banner img {
    height: 100%;
}

@media (max-width: 1200px) {
    .readMoreContainer {
        max-height: 22vw;
    }
}

@media (max-width: 980px) {

    .page_submenu .button1 {
        width: 80%;
    }

    .readMoreContainer {
        max-height: 20vw;
    }

}

@media (max-width: 780px) {
    .col_reverse {
        flex-direction: column-reverse;
    }

    .col_container30 {
        width: 100%;
        text-align: center;
    }

    .col_container30 img {
        width: 60%;
    }

    .col_container70 {
        width: 100%;
    }

    .readMoreContainer {
        max-height: 200px;
    }
}

@media (max-width: 600px) {

    .page_table tr th,
    .page_table tr td {
        width: 100%;
        display: block;
    }

    .col_container30 img {
        width: 80%;
    }
}

@media (max-width: 480px) {

    .recruit_banner {
        height: 50px;
    }
}

/*　//////////////////////////////////////////////////
  　Corporate
  //////////////////////////////////////////////////　*/

.page_midashi4 {
    padding-left: 10px;
    padding-bottom: 5px;
    font-size: 2rem;
    font-weight: 400;
    color: #00399E;
    border-left: 10px solid #00399E;
}

.page_midashi5 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #00399e;
}

.corporate_submenu-4p {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
    justify-content: center;
}

.corporate_submenu-4p-in {
    position: relative;
    width: 24%;
    height: 150px;
    margin-right: 2.5%;
    text-align: center;
}

.corporate_submenu-4p-in:nth-of-type(3n) {
    margin-right: 0;
}

.corporate_submenu01 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/syaoku.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 70% 50%;
}

.corporate_submenu02 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/gascar.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 60% 60%;
}

.corporate_submenu03 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/access.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 30% 50%;
}

.corporate_submenu04 {
    background-image: url(https://www.sanyorei.co.jp/wp-content/themes/sanyorei/images/history.png);
    background-size: cover;
    background-repeat: no-repeat, no-repeat;
    background-position: 30% 50%;
}

.corporate_submenu-4p-in a {
    position: absolute;
    display: block;
    width: 100%;
    padding: 58px 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 300;
    color: #00399e;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
    font-weight: 500;
    text-decoration: none;
}

.corporate_submenu-4p-in:hover {
    opacity: .6;
    transition: .3s;
}

.about_contents {
    height: 200px;
    padding: 0 20px;
}

.about_list {
    list-style-type: none;
    font-size: 1.6rem;
    padding-left: 0;
}

.about_list li {
    padding-left: 2em;
    text-indent: -2em;
    margin-bottom: 5px;
}

.about_list li:before {
    content: '';
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    background: #00399e;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 0.5em;
}

.about_sublist {
    background-color: #f2f4f9;
}

.about_sublist ul {
    margin-left: 30px;
    margin-right: 10px;
    padding: 10px 0;
    list-style: square;
    font-size: 1.6rem;
    font-weight: 300;
    color: #333;
}

.button3 {
    width: 200px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.6rem;
    background-color: #0230FE;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
}

.button3 a {
    position: relative;
    display: block;
    padding: 10px 0;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
}

.button3 a:after {
    position: absolute;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f054';
    top: 32%;
    right: 20px;
    color: #fff;
}

.button3:hover {
    background: #005eff;
    transition: .3s;
}

.syaoku .col_container30 {
    text-align: center;
}

.syaoku .col_container30 img {
    width: 60%;
}

.access_map iframe {
    width: 100%;
    height: 400px;
}

@media (max-width: 1200px) {
    .about_contents {
        height: 16vw;
    }

    .syaoku .col_container30 img {
        width: 80%;
    }

}

@media (max-width: 780px) {

    .corporate_submenu-3p {
        justify-content: left;
    }

    .corporate_submenu-4p-in {
        width: 47%;
        margin-right: 6%;
        margin-bottom: 10px;
    }

    .corporate_submenu-4p-in:nth-of-type(2n) {
        margin-right: 0;
    }

    .page_midashi5 {
        font-size: 1.8rem;
    }

    .page_midashi5 br {
        display: none;
    }

    .about_contents {
        height: fit-content;
        margin-top: 20px;
    }


    .syaoku .col_container30 img {
        width: 60%;
    }

}


/*　//////////////////////////////////////////////////
  Contact
  //////////////////////////////////////////////////　*/

.notes_text {
    color: #9d0718;
}

.page_table tr td input[type=text],
.page_table tr td input[type=email],
.page_table tr td input[type=tel],
.page_table tr td textarea {
    width: 100%;
    padding: 10px 0 10px 10px;
    border: 1px solid #E3E4E9;
    border-radius: 5px;
}

.page_table tr td textarea {
    height: 20rem;
}

@media (max-width: 460px) {

    .form_confirm_btn {
        margin-top: 20px;
    }

}


/*　//////////////////////////////////////////////////
  Application Form
  //////////////////////////////////////////////////　*/

label,
input[type=radio],
input[type=checkbox] {
    cursor: pointer;
    margin-right: 5px;
}

.page_table tr td input[type=text].recruit_postcode {
    width: 30%;
}

.page_table ul.recruit_radio {
    width: 100%;
    margin-left: 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    list-style: none;
}

.recruit_radio li {
    margin: auto 0;
}

.recruit_address_num {
    max-width: 300px;
    margin-bottom: 10px;
}

.recruit_privacy {
    overflow: auto;
    width: 100%;
    height: 20rem;
    padding: 10px;
    border: 1px solid #E3E4E9;
    border-radius: 5px;
}

.recruit_privacy_in .page_midashi2 {
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    font-size: 1.8rem;
    color: #666;
}

.page_midashi7 {
    padding-left: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #999;
    font-size: 1.8rem;
    font-weight: 400;
    color: #666;
}

.recruit_privacy_in p,
.recruit_privacy_in .privacy_list {
    font-size: 1.4rem;
}

.privacy_table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #E3E4E9;
    border-right: 1px solid #E3E4E9;
    border-left: 1px solid #E3E4E9;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 300;
    color: #333;
}

.privacy_table tr {
    border-bottom: 1px solid #E3E4E9;
}

.privacy_table tr th {
    width: 25%;
    padding: 10px 10px;
    font-size: 1.4rem;
    font-weight: 400;
    color: #666;
    background-color: #f5f6f9;
    vertical-align: top;
}

.privacy_table tr td {
    width: 75%;
    padding: 10px 10px;
}

.form_confirm {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.redtxt {
    color: #cc3333;
}

@media (max-width: 600px) {

    .privacy_table tr th,
    .privacy_table tr td {
        width: 100%;
        display: block;
    }

    .page_table tr td input[type=text].recruit_postcode {
        width: 50%;
    }

    .recruit_privacy_in .page_midashi2,
    .page_midashi7 {
        font-size: 1.6rem;
    }

}

@media (max-width: 400px) {

    .recruit_address_num {
        max-width: 94.5%;
        margin-bottom: 10px;
    }

}

/*　//////////////////////////////////////////////////
  　Privacy Policy & Sitemap
  //////////////////////////////////////////////////　*/

.pagetitle_in br {
    display: none;
}

.page_midashi6 {
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem 1rem 130px;
    font-size: 2.5rem;
    font-weight: 400;
    color: #00399E;
    border-top: 1px solid #00399E;
}

.page_midashi6:before {
    position: absolute;
    top: -150%;
    left: -100px;
    width: 200px;
    height: 300%;
    content: '';
    -webkit-transform: rotate(25deg);
    transform: rotate(25deg);
    background: #00399E;
}

.page_midashi6 span {
    font-size: 3rem;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    display: block;
    padding-top: 5px;
    padding-left: 20px;
    color: #fff;
}

.privacy_list {
    margin-left: 30px;
    font-size: 1.6rem;
    font-weight: 300;
    color: #333;
}

.privacy_list li {
    margin-bottom: 10px;
}

.sitemap_list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 1.6rem;
    font-weight: 300;
    list-style: none;
}

.sitemap_list li {
    display: flex;
    gap: 2rem;
    font-size: 1.6rem;
    font-weight: 300;
    list-style: none;
}

.sitemap_list li a {
    text-decoration: none;
    color: #333;
}

.sitemap_list li a:after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    margin-left: 5px;
    padding: 3px 5px 3px 7px;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    background-color: #00399E;
    border-radius: 9999px;
}

.sitemap_list li a:hover {
    color: #00399E;
    transition: .3s;
    opacity: 0.8;
}

@media (max-width: 780px) {

    .page_midashi6 {
        padding: 1rem 2rem 1rem 100px;
        font-size: 2rem;
    }

    .page_midashi6:before {
        position: absolute;
        width: 180px;
    }

    .page_midashi6 span {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {

    .pagetitle_in br {
        display: block;
    }
}