p {
    font-size: 16px;
    line-height: 2em;
}
main {
    overflow-x: hidden;
}
main a {
    color: #ff7700 !important;
    font-weight: bold;
}
@media only screen and (max-width: 767px) {
     p {
        font-size: 14px;
        line-height: 1.7em;
    }
    ul li {
        font-size: 13px;
        line-height: 1.3em;
    }
}

p.notice1 {
    font-size: 16px;
    font-weight: bold;
    text-indent: -16px;
    margin-left: 16px;
    color: #ff3300;
}
p.notice1 a {
    color: #ff3300 !important;
    text-decoration: underline;
}
@media only screen and (max-width: 767px) {
    p.notice1 {
        font-size: 14px;
        text-indent: -14px;
        margin-left: 14px;
    }
}

p.caption1 {
    margin: 5px 0 0 0;
    font-size: 12px;
    line-height: 1.3em;
}
.separator1 {
    margin-top: 30px;
    margin-bottom: 30px;
    height: 1px;
    background: #ccc;
}

h2.normal1 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2em;
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
h2.normal1::after {
    content: '';
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #003344 0%, #003344 50%, #f08300 50%, #f08300 100%);
    position: absolute;
    bottom: -20px;
    left: calc(50% - 50px);
}
@media only screen and (max-width: 767px) {
    h2.normal1 {
        font-size: 24px;
        letter-spacing: 0;
    }
    h2.normal1::after {
        height: 3px;
        width: 80px;
        background: linear-gradient(90deg, #003344 0%, #003344 50%, #f08300 50%, #f08300 100%);
        left: calc(50% - 40px);
    }
}

h3.normal1 {
    padding: 30px 0;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    line-height: 1em;
    text-align: center;
    background: #003344;
    border-radius: 4px;
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    h3.normal1 {
        font-size: 17px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}
h3.normal1.orange {
    color: #fff !important;
    background: #f08300;
}

h3.normal2 {
    color: #003344;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    h3.normal2 {
        font-size: 17px;
    }
}

h4.normal1 {
    font-size: 22px;
    font-weight: bold;
    line-height: 1.5em;
    text-align: center;
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    h4.normal1 {
        font-size: 17px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

.lead1 {
    font-size: 28px;
    font-weight: bold;
    line-height: 2.2em;
    text-align: center;
}
@media only screen and (max-width: 767px) {
    .lead1 {
        font-size: 17px;
        line-height: 1.5em;
    }
}

.column1 {
    padding: 30px;
    box-sizing: border-box;
    background: #f0f0f0;
    border-radius: 10px;
}
.column1 h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
}
@media only screen and (max-width: 767px) {
    .column1 {
        padding: 15px;
    }
    .column1 h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }
}

.column2 {
    padding: 30px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 10px;
}
.column2 h3 {
    font-size: 20px;
    font-weight: bold;
}
.column2 .separator {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ccc;
}
@media only screen and (max-width: 767px) {
    .colum1n2 {
        padding: 15px;
    }
}

table.table1 {
    width: 100%;
}
table.table1 caption {
    padding: 10px 20px;
    color: #fff;
    font-weight: bold;
    line-height: 1.5em;
    text-align: left;
    background: #f08300;
}
table.table1 tr th {
    padding: 18px 20px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5em;
    text-align: left;
    border-top: 1px solid #aaa;
}
table.table1 tr td {
    padding: 18px 20px;
    font-size: 15px;
    line-height: 1.5em;
    vertical-align: middle;
    border-top: 1px solid #aaa;
}
table.table1 tr td p {
    font-size: 16px;
    line-height: 1.5em;
}
table.table1 tr td p.title {
    font-weight: bold;
}
table.table1 tr td strong {
    font-size: 125%;
}
@media only screen and (max-width: 767px) {
    table.table1 {
        margin: 10px 0 0 0;
    }
    table.table1 tr th {
        padding: 8px 0 8px 3px;
        font-size: 13px;
    }
    table.table1 tr td {
        padding: 8px 5px;
        font-size: 13px;
    }
    table.table1 tr td p {
        font-size: 13px;
    }
}

.dummy {
    height: 600px;
    background: #444;
}




/* レイアウト共通
=================================================================================== */
.main_bg {
    padding: 80px 0;
}
.gray_bg {
    padding: 80px 0;
    background: #f0f0f0;
}
@media only screen and (max-width: 767px) {
    .main_bg {
        padding: 50px 0;
    }
    .gray_bg {
        padding: 50px 0;
    }
}

.arrow {
    margin-top: 15px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #666;
    margin-left: auto;
    margin-right: auto;
}
@media only screen and (max-width: 767px) {
    .arrow {
        margin-top: 10px;
        border-left: 20px solid transparent;
        border-right: 20px solid transparent;
        border-top: 20px solid #666;
    }
}

/* ページヘッダー */
#page_header {
    display: flex;
    position: relative;
}
#page_header .page_header_title {
    width: 30%;
    color: #fff;
    font-size: 36px;
    line-height: 1.3em;
    font-weight: bold;
    background: #f08300;
    background: linear-gradient(90deg, #003344 0%, #003344 30px, #f08300 30px, #f08300 100%);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    z-index: 1;
}
#page_header .page_header_title .inner {
    padding-left: 12%;
}
#page_header .page_header_title .inner h1 {
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}
#page_header .page_header_title .inner .en {
    font-family: 'Montserrat-Bold';
    font-size: 60px;
    line-height: 1em;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgba(255,255,255,0.5);
    white-space: nowrap;
}
#page_header .page_header_title h1 small {
    font-size: 50%;
}
#page_header .page_header_photo {
    width: 70%;
}
#page_header .page_header_photo img {
    width: 100%;
}

@media only screen and (max-width: 767px) {
    #page_header {
        display: block;
    }
    #page_header .page_header_title {
        padding: 30px 0;
        width: 100%;
        font-size: 20px;
        background-size: cover;
        display: block;
        background: linear-gradient(90deg, #003344 0%, #003344 20px, #f08300 20px, #f08300 100%);
    }
    #page_header .page_header_title .inner {
        padding-left: 0;
    }
    #page_header .page_header_title .inner h1 {
        font-size: 26px;
        text-align: center;
    }
    #page_header .page_header_title .inner .en {
        margin-top: 5px;
        font-size: 30px;
        text-align: center;
    }
    #page_header .page_header_photo {
        width: 100%;
    }
}

#page_header_nophoto {
    background: #003344;
}
#page_header_nophoto .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
}
#page_header_nophoto .title h1 {
    font-style: bold;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
}
#page_header_nophoto .page_header_nophoto_en {
    font-family: 'Montserrat-Bold';
    font-size: 60px;
    text-align: right;
    line-height: 1em;
    color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgba(255,255,255,0.5);
}
@media only screen and (max-width: 767px) {
    #page_header_nophoto .title {
        display: block;
        padding: 30px 0;
    }
    #page_header_nophoto .title h1 {
        font-size: 26px;
        text-align: center;
    }
    #page_header_nophoto .page_header_nophoto_en {
        margin-top: 5px;
        font-size: 30px;
        text-align: center;
    }
}



/* ページ内リンクボタン */
.page_btn ul {
    display: flex;
    flex-wrap:;
    align-items: center;
    justify-content: center;
}
.page_btn ul li a {
    display: block;
    padding: 10px 50px 18px 50px;
    margin: 30px 15px 0 15px;
    box-sizing: border-box;
    color: #fff !important;
    font-size: 19px;
    background: #003344;
    border-radius: 6px;
    position: relative;
}
.page_btn ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #fff;
}
@media only screen and (max-width: 767px) {
    .page_btn ul {
        display: block;
    }
    .page_btn ul li a {
        padding: 10px 0 24px 0;
        margin: 0 0 10px 0;
        font-size: 15px;
        text-align: center;
    }
}



/* 中断イメージ */
.middle_img {
    position: relative;
}
.middle_img img {
    width: 100%;
}
.middle_img .en {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    font-family: 'Montserrat-Bold';
    font-size: 80px;
    font-weight: normal;
    line-height: 1em;
    color: #fff;
}
@media only screen and (max-width: 767px) {
    .middle_img .en {
        font-size: 40px;
    }
}



/* FLEX */
.wrap {
    width: calc(100% + 10px);
    margin-left: -5px;
    display: flex;
    flex-wrap: wrap;
}
.wrap .box1 {
    width: calc(100% - 10px);
    margin: 0 5px 50px 5px;
    position: relative;
}
.wrap .box2 {
    width: calc(50% - 10px);
    margin: 0 5px 10px 5px;
    position: relative;
}
.wrap .box3 {
    width: calc(33.3333% - 10px);
    margin: 0 5px 10px 5px;
    position: relative;
}
.wrap .box4 {
    width: calc(25% - 10px);
    margin: 0 5px 10px 5px;
    position: relative;
}
.wrap .photo {
    text-align: center;
}
.wrap .photo img {
    width: 100%;
}
.wrap .text {
    position: absolute;
    left: 0;
    top: 0;
    padding: 3px 10px;
    color: #fff;
    font-size: 14px;
    line-height: 1.3em;
    font-weight: bold;
    background: #000;
}
.wrap .text_large {
    position: absolute;
    left: 0;
    top: 0;
    padding: 3px 50px;
    color: #fff;
    font-size: 19px;
    line-height: 1.3em;
    font-weight: bold;
    background: #000;
}
.wrap.center {
    justify-content: center;
}
.wrap .box1_desc {
    margin-top: 15px;
    padding: 0 100px;
}
.wrap .box_desc {
    margin-top: 15px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.5em;
}
.wrap .box_desc2 {
    margin-top: 15px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.5em;
    width: calc(200% - 20px);
}
@media only screen and (max-width: 767px) {
    .wrap .box2, .wrap .box3, .wrap .box4 {
        width: calc(50% - 10px);
        margin: 0 5px 10px 5px;
    }
    .wrap .box2 .text, .wrap .box3 .text, .wrap .box4 .text {
        font-size: 12px;
    }
    .wrap .text_large {
        padding: 0 30px;
        font-size: 15px;
    }
    .wrap.SP_box1 {
        width: 100%;
        margin-left: 0;
        display: block;
    }
    .wrap.SP_box1 .box2, .wrap.SP_box1 .box3, .wrap.SP_box1 .box4 {
        width: 100%;
        margin: 0 0 10px 0;
    }
    .wrap .box_desc, .wrap .box_desc2, .wrap .box1_desc {
        margin-top: 10px;
        padding: 0 10px;
        font-size: 13px;
        line-height: 1.5em;
    }
}





/* 寺村光夫商事について
=================================================================================== */
.environment_bg {
    padding: 80px 0 400px 0;
    background: url(../img/environment_bg.jpg) no-repeat center bottom / cover;
}
.environment {
    padding: 50px;
    background: rgba(255,255,255,0.6);
    border-radius: 10px;
}
.environment h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2em;
    text-align: center;
}
@media only screen and (max-width: 767px) {
    .environment_bg {
        padding: 50px 0 170px 0;
    }
    .environment {
        padding: 30px;
    }
    .environment h2 {
        font-size: 26px;
    }

}

.sdgs_inner {
    padding: 50px 20px;
    background: #fff;
    border-radius: 10px;
}
table.sdgs_table {
    margin-top: 50px;
    width: 100%;
}
table.sdgs_table tr th {
    padding: 18px 20px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5em;
    text-align: left;
    border-top: 1px solid #aaa;
}
table.sdgs_table tr td {
    padding: 18px 20px;
    font-size: 15px;
    line-height: 1.5em;
    vertical-align: middle;
    border-top: 1px solid #aaa;
    vertical-align: top;
    width: 25%;
    box-sizing: border-box;
}
table.sdgs_table tr td.title {
    font-weight: bold;
    width: 18%;
}
@media only screen and (max-width: 767px) {
    .sdgs_inner {
        padding: 20px 20px;
    }
    table.sdgs_table {
        margin-top: 0;
    }
    table.sdgs_table tr th {
        padding: 8px 0 8px 3px;
        font-size: 13px;
        display: none;
    }
    table.sdgs_table tr td {
        display: block;
        width: 100%;
        padding: 8px 5px;
        font-size: 13px;
        border-top: none;
    }
    table.sdgs_table tr td.title {
        margin-top: 20px;
        width: 100%;
        font-size: 15px;
        border-top: 1px solid #aaa;
    }
}





/* 会社概要
=================================================================================== */
.permit_wrap {
    width: calc(100% + 40px);
    margin-left: -20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.permit_wrap .box {
    width: calc(20% - 40px);
    margin: 0 20px 30px 20px;
}
.permit_wrap .box.yoko {
    width: calc(25% - 30px);
}
.permit_wrap .box .permit {
    text-align: center;
    box-shadow: 0px 0px 5px #ccc;
}
.permit_wrap .box .text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.3em;
    text-align: center;
}
@media only screen and (max-width: 767px) {
    .permit_wrap {
        width: calc(100% + 20px);
        margin-left: -10px;
    }
    .permit_wrap .box {
        width: calc(50% - 20px);
        margin: 0 10px 20px 10px;
    }
    .permit_wrap .box.yoko {
        width: calc(50% - 20px);
        margin: 0 10px 20px 10px;
    }
    .permit_wrap .box .text {
        margin-top: 5px;
        font-size: 12px;
    }
}



/* 事業内容
=================================================================================== */
.business_desc {
    margin-top: 50px;
}
.business_desc h3 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}
.business_desc_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: calc(100% + 40px);
    margin-left: -20px;
}
.business_desc_wrap .box {
    width: calc(50% - 40px);
    margin: 0 20px 40px 20px;
}
.business_desc_wrap .box h4 {
    padding: 15px 0;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    background: #f08300;
    margin-bottom: 15px;
}
@media only screen and (max-width: 767px) {
    .business_desc h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .business_desc_wrap {
        display: block;
        width: 100%;
        margin-left: 0;
    }
    .business_desc_wrap .box {
        width: 100%;
        margin: 0 0 30px 0;
    }
    .business_desc_wrap .box h4 {
        padding: 10px 0;
        font-size: 19px;
    }
}





/* 自動車パーツネット販売
=================================================================================== */
/* 扉ページ */
.parts_door_sale_list {
    display: flex;
    flex-wrap: wrap;
    gap: 80px;
    width: calc(100% + 80px);
}
.parts_door_sale_list .parts_door_sale_item {
    width: calc(25% - 80px);
    box-sizing: border-box;
    text-align: center;
}
.parts_door_sale_list .parts_door_sale_item .photo {
    background: #f0f0f0;
}
.parts_door_sale_list .parts_door_sale_item .photo img {
    display: block;
    margin: 0 auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}
.parts_door_item {
    margin-top: 15px;
    line-height: 1.3em;
    text-align: center;
}
.parts_door_item a {
    color: #444 !important;
    line-height: 1.3em;
}
.parts_door_price {
    text-align: center;
}
.parts_door_price_tax {
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
    background: #f0f0f0;
}
@media only screen and (max-width: 767px) {
    .parts_door_sale_list {
        gap: 20px;
        width: calc(100% + 20px);
    }
    .parts_door_sale_list .parts_door_sale_item {
        width: calc(50% - 20px);
    }
    .parts_door_item {
        margin-top: 14px;
    }
}

/* 詳細ページ */
.parts_title {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}
@media only screen and (max-width: 767px) {
    .parts_title {
        font-size: 24px;
        text-align: left;
        margin-bottom: 30px;
    }
}
.pageback {
    text-align: right;
    position: relative;
}
.pageback::after {
    content: '';
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #f08300;
    position: relative;
    top: -2px;
}
@media only screen and (max-width: 767px) {
    .pageback {
        margin-top: -30px;
        margin-bottom: 10px;
    }
}

/* 商品画像 スライダー */
/* スライド全体の表示領域を決める */
#gallery .sp-slide {
    background: #f0f0f0;
}
#gallery .sp-image {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    margin: 0 auto;
}

.sp-arrows .sp-arrow {
    z-index: 1000;
}
.sp-previous-arrow {
    margin-left: -15px;
}
.sp-next-arrow {
    margin-right: -15px;
}
.sp-arrows .sp-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  z-index: -50;
}
.sp-arrows .sp-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(50% + 2px);
    width: 10px;
    height: 10px;
    background-color: transparent;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translate(-50%, -50%) rotate(-135deg);
}
.sp-previous-arrow::after {
    transform: translate(-50%, -50%) rotate(45deg);
}
@media only screen and (max-width: 767px) {
    .sp-arrows .sp-arrow::before {
        width: 25px;
        height: 25px;
    }
    .sp-arrows .sp-arrow::after {
        left: calc(50% + 1px);
        width: 5px;
        height: 5px;
    }
}

.thumb-grid {
    margin: 10px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, 80px);
    gap: 5px;
    justify-content: center;
}
.thumb-grid img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    box-sizing: border-box;
    transition: opacity .1s, border .1s;
    border: 3px solid transparent;
    box-sizing: border-box;
}
.thumb-grid img:hover {
  opacity: .6;
}
.thumb-grid img.is-active {
  border-color: #f08300;
}
@media only screen and (max-width: 767px) {
    .thumb-grid {
        margin: 5px auto 0;
        grid-template-columns: repeat(auto-fill, 50px);
        gap: 3px;
        justify-content: center;
    }
    .thumb-grid img {
        width: 50px;
        height: 50px;
    }
}


.parts_info ul li {
    padding: 10px 0;
    border-bottom: 1px solid #aaa;
}
.parts_info ul li strong {
    display: inline-block;
    color: #003344;
    width: 8em;
}
.prarts_price {
    margin-top: 20px;
    font-weight: bold;
    text-align: right;
}
.prarts_price_tax {
    font-size: 32px;
    font-weight: bold;
    text-align: right;
}
.prarts_price_tax small {
    font-size: 50%;
}
.parts_notes {
    margin-top: 30px;
}

.parts_gallery {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 10px);
    gap: 10px;
    box-sizing: border-box;
}
.parts_gallery .box {
    width: calc(33.333% - 10px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-sizing: border-box;
}
.parts_gallery .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media only screen and (max-width: 767px) {
    .parts_gallery {
        margin-bottom: 20px;
    }
}

.howtoorder {
    margin-top: 50px;
    padding: 30px;
    box-sizing: border-box;
    background: #ffe7e1;
    border-radius: 10px;
}
.howtoorder h3 {
    text-align: center;
    color: #f30;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    cursor: pointer;
    padding-right: 50px;
}
.howtoorder h3 small {
    font-size: 75%;
    margin-left: 10px;
}
.howtoorder h3::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 4px;
    background-color: #f30;
}
.howtoorder h3::before {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transform-origin: center;
    width: 4px;
    height: 20px;
    background-color: #f30;
    transition: transform 0.1s;
}
.howtoorder h3.open::before {
    transform: translateY(-50%) rotate(90deg);
}
@media only screen and (max-width: 767px) {
    .howtoorder {
        padding: 15px;
    }
    .howtoorder h3 {
        font-size: 19px;
        margin-left: 50px;
    }
    .howtoorder h3 small {
        margin-left: 0;
    }
    .howtoorder h3::after {
        width: 16px;
        height: 2px;
    }
    .howtoorder h3::before {
        right: 7px;
        top: 50%;
        width: 2px;
        height: 16px;
    }
}

ul.parts_notice {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
ul.parts_notice li a {
    display: block;
    padding: 10px 20px;
    color: #444 !important;
    text-decoration: underline;
}




/* アクセス・工場紹介
=================================================================================== */
.access_address_title {
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
.access_address_tel {
    margin-top: 10px;
    font-family: 'Montserrat-Bold';
    font-size: 20px;
    font-weight: normal;
    line-height: 1em;
    text-align: center;
}
.access_address_tel strong {
    font-size: 40px;
}
.access_address_tel a {
    color: #444 !important;
}
@media only screen and (max-width: 767px) {
    .access_address_tel {
        font-size: 16px;
    }
    .access_address_tel strong {
        font-size: 32px;
    }
}




/* 採用情報
=================================================================================== */
.recruit_main_wrap {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.recruit_main_wrap p.photo {
    width: 33.3333%;
}
.recruit_main_wrap h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: #fff;
    text-align: center;
    text-shadow:
        -1px -1px 5px #000,0px -1px 5px #000,0px 1px 5px #000,1px 0px 5px #000,-2px -2px 5px #000,0px -2px 5px #000,
        0px 2px 5px #000,2px 0px 5px #000,-3px -3px 5px #000,0px -3px 5px #000,0px 3px 5px #000,3px 0px 5px #000,
        -1px -1px 5px #000,0px -1px 5px #000,0px 1px 5px #000,1px 0px 5px #000,-2px -2px 5px #000,0px -2px 5px #000,
        0px 2px 5px #000,2px 0px 5px #000,-3px -3px 5px #000,0px -3px 5px #000,0px 3px 5px #000,3px 0px 5px #000;
}
@media only screen and (max-width: 767px) {
    .recruit_main_wrap h2 {
        font-size: 19px;
    }
}

h2.recruit_h2 {
    color: #f08300;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5em;
    margin-bottom: 10px;
}
@media only screen and (max-width: 767px) {
    h2.recruit_h2 {
        font-size: 19px;
        margin-top: 20px;
        text-align: center;
    }
}

.recruit_type {
    margin-top: 50px;
    padding: 30px;
    border: 5px solid #eee;
}
@media only screen and (max-width: 767px) {
    .recruit_type {
        padding: 20px;
        border: 3px solid #eee;
    }
    table.jobdesc-field-block th {
        font-size: 15px;
    }
    table.jobdesc-field-block td {
        font-size: 13px;
        line-height: 1.5em;
    }
}





/* お問い合わせ
=================================================================================== */
.contact_tel {
    padding: 50px;
    background: #f08300;
    border-radius: 10px;
}
.contact_tel p {
    color: #fff;
    text-align: center;
}
.contact_tel .tel {
    margin-top: 20px;
    font-family: 'Montserrat-Bold';
    color: #fff;
    font-size: 20px;
    text-align: center;
}
.contact_tel .tel strong {
    font-size: 40px;
}
.contact_tel .title {
    font-size: 175%;
    font-weight: bold;
}
.contact_tel .tel a {
    color: #fff !important;
    line-height: 0;
}
.contact_tel .tel a small {
    font-size: 75%;
}
@media only screen and (max-width: 767px) {
    .contact_tel {
        padding: 20px;
    }
    .contact_tel .tel {
        font-size: 16px;
    }
    .contact_tel .tel strong {
        font-size: 32px;
    }
    .contact_tel .title {
        font-size: 125%;
    }
}






/* 特定商取引
=================================================================================== */




/* 個人情報保護方針
=================================================================================== */
.privacypolicy h3 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
}
.privacypolicy h4 {
    color: #003344;
    font-size: 19px;
    font-weight: bold;
    margin-top: 50px;
}
@media only screen and (max-width: 767px) {
    .privacypolicy h3 {
        font-size: 20px;
    }
    .privacypolicy h4 {
        font-size: 17px;
        margin-top: 20px;
        margin-bottom: 5px;
    }
}





/* お知らせ
=================================================================================== */
/* 一覧ページ */
.news_list_wrap {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ccc;
}
.news_list_wrap.bb_none {
    border-bottom: none;
}
a:hover .news_list_wrap {
    background: #f0f0f0;
}
.news_list_wrap .cat {
    width: 16%;
    padding: 3px 0;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    background: #666;
    border-radius: 20px;
}
.news_list_wrap .date {
    width: calc(16% - 20px);
    margin-left: 20px;
    font-weight: bold;
}
.news_list_wrap .date {
    color: #444;
}
.news_list_wrap .title {
    width: 68%;
    font-weight: bold;
}
@media only screen and (max-width: 767px) {
    .news_list_wrap {
        display: block;
        padding: 10px;
    }
    .news_list_wrap .cat {
        width: 100%;
        padding: 3px 0;
    }
    .news_list_wrap .date {
        width: 100%;
        margin-left: 0;
    }
    .news_list_wrap .title {
        width: 100%;
    }
}

/* 詳細ページ */
.news_cat {
    width: 16%;
    padding: 3px 0;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    background: #666;
    border-radius: 20px;
}
h3.news_h3 {
    margin-top: 20px;
    font-size: 30px;
    font-weight: bold;
    color: #444;
}
.news_date {
    margin-top: 20px;
    font-weight: bold;
}
.news_main {
    margin-top: 20px;
}
@media only screen and (max-width: 767px) {
    .news_cat {
        width: auto;
    }
    h3.news_h3 {
        font-size: 20px;
    }
    .news_main {
        margin-top: 10px;
    }
}

/* ページネーションボタン */
.pagelink {
    margin-top: -70px;
    padding-top: 70px;
}
@media only screen and (max-width: 767px) {
    .pagelink {
        margin-top: -20px;
        padding-top: 20px;
    }
}

.btn_left a, .btn_right a, .btn_center a {
    display: block;
    padding: 10px 0;
    color: #fff !important;
    font-size: 13px;
    font-weight: bold;
    background: #444;
    text-align: center;
    border-radius: 30px;
}

/* 記事表示用 */
.news_h3 {
    color: #f08300;
    font-size: 25px;
    line-height: 1.3em;
    font-weight: bold;
}
.news_date {
    margin-top: 8px;
    font-size: 14px;
    margin-bottom: 30px;
}
@media only screen and (max-width: 767px) {
    .news_h3 {
        font-size: 19px;
        line-height: 1.5em;
    }
}

#news_main {
    margin-top: 30px;
}
#news_main p {
    color: #444;
    font-size: 15px;
    line-height: 1.8em;
    margin-bottom: 15px;
}
@media only screen and (max-width: 767px) {
    #news_main p {
        font-size: 13px;
        line-height: 1.6em;
        margin-bottom: 10px;
    }
}

#news_main h1 {
    color: #444;
    margin-top: 50px;
    font-size: 36px;
    font-weight: bold;
    line-height: 1.3em;
    margin-bottom: 20px;
}
#news_main h2 {
    color: #444;
    margin-top: 50px;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.3em;
    margin-bottom: 20px;
}
#news_main h3 {
    color: #444;
    margin-top: 50px;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.3em;
    margin-bottom: 20px;
}
#news_main h4 {
    color: #444;
    margin-top: 50px;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.3em;
    margin-bottom: 20px;
}
#news_main h5 {
    color: #444;
    margin-top: 50px;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3em;
    margin-bottom: 20px;
}
#news_main h6 {
    color: #444;
    margin-top: 50px;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.3em;
    margin-bottom: 20px;
}
@media only screen and (max-width: 767px) {
    #news_main h1 {
        font-size: 27px;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    #news_main h2 {
        font-size: 21px;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    #news_main h3 {
        font-size: 19px;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    #news_main h4 {
        font-size: 17px;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    #news_main h5 {
        font-size: 13px;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    #news_main h6 {
        font-size: 11px;
        margin-top: 30px;
        margin-bottom: 10px;
    }
}

#news_main hr {
    height: 0px;
    margin: 40px 0;
    border: none;
    border-top:1px solid #aaa;
}

#news_main b {
    font-weight: bold;
}

#news_main a {
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}
#news_main em {
    font-weight: bold;
    font-style: italic;
}
#news_main del {
    text-decoration: line-through;
}
#news_main ins {
    text-decoration: underline;
}
#news_main ul {
    margin-bottom: 30px;
    list-style-type: disc;
    margin-left: 1.7em;
}
#news_main ol {
    margin-bottom: 20px;
}
#news_main ul li, #news_main ol li {
    margin-bottom: 10px;
}

#news_main .wp-caption-text {
    font-size: 90%;
    line-height: 1.3em;
}

#news_main blockquote {
    margin: 0 0 0 0;
    padding: 30px;
    background: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 20px;
    box-sizing: border-box;
}
#news_main blockquote cite {
    font-size: 75%;
}

/* PDF埋め込み */
.wp-block-file {
    width: 100%;
    margin: 30px auto;
    text-align: center;
}
.wp-block-file a {
    display: block;
    width: 50%;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 16px !important;
}
.wp-block-file__embed {
    width: 400px !important;
    height: 605px !important;
    margin-left: auto;
    margin-right: auto;
}
.wp-block-file__button {
    margin-top: 10px;
    display: block;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    background: #f08300 !important;
}
.wp-block-file__button::before {
    content: 'PDFを';
}
.wp-block-file__button::after {
    content: 'する';
}
.wp-element-button {
    font-size: 20px;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
}
@media only screen and (max-width: 767px) {
    .wp-block-file a {
        width: 100%;
        font-size: 14px !important;
    }

    .wp-block-file__button {
        padding: 12px;
    }
}

/* Youtube埋め込みレスポンシブ化 */
.wp-block-embed-youtube {
    margin-top: 50px;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.wp-block-embed-youtube .wp-block-embed__wrapper {
    padding-top: 56.25%;
    position: relative;
    height: 0;
    overflow: hidden;
}

.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*ページナビ*/
#pagenavi, #pagenation {
    text-align: center;
    margin: 50px 0 100px 0;
}
.wp-pagenavi {
    clear: both;
}
#pagenation a, #pagenavi a {
    display: inline-block;
    text-decoration: none;
    padding: 3px 14px;
    margin: 3px;
    color: #fff !important;
    background: #444;
    border: none;
    border-radius: 50px;
}
#pagenation span, #pagenavi span {
    display: inline-block;
    text-decoration: none;
    padding: 4px 14px;
    margin: 3px;
    background: #f0f0f0;
    border: none;
    border-radius: 50px;
}
#pagenation a:hover, .wp-pagenavi a:hover, #pagenavi span.current {
    border-color: #000;
}
#pagenation span.current, #pagenavi span.current {
    font-weight: bold;
}
