/*
Theme Name: shinwa-glass_themes
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Kaku+Gothic+New&family=Zen+Old+Mincho&display=swap');

/*-----------------------------------------------------*/
/*共通のCSS*/
/*-----------------------------------------------------*/
:root {
    --main-color: #283890;
    --sub-color: #000;
}

.afs8 {
    font-size: clamp(11px, 0.5572916666666666vw, 10.7px);
}

.afs11 {
    font-size: clamp(14px, 0.765625vw, 14.7px);
}

.afs12 {
    font-size: clamp(14px, 0.8333333333333334vw, 16px);
}

.afs13 {
    font-size: clamp(14px, 0.9010416666666666vw, 17.3px);
}

.afs14 {
    font-size: clamp(14px, 0.9739583333333333vw, 18.7px);
}

.afs16 {
    font-size: clamp(14px, 1.1093750000000002vw, 21.3px);
}

.afs18 {
    font-size: clamp(16px, 1.25vw, 24px);
}

.afs20 {
    font-size: clamp(16px, 1.390625vw, 26.7px);
}

.afs22 {
    font-size: clamp(18px, 1.5260416666666667vw, 29.3px);
}

.top01-box .afs22 {
    font-size: clamp(16px, 1.5260416666666667vw, 29.3px);
}

.afs24 {
    font-size: clamp(18px, 1.6666666666666667vw, 32px);
}

.afs28 {
    font-size: clamp(18px, 1.942708333333333vw, 37.3px);
}

.afs36 {
    font-size: clamp(24px, 2.5vw, 48px);
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

div,
pre,
p,
blockquote,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
figure,
figcaption,
ul,
ol,
li,
dl,
dt,
dd {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
    word-break: break-all;
}

img {
    max-width: 100%;
    border: 0;
    height: auto;
    vertical-align: bottom;
    -ms-interpolation-mode: bicubic;
}

ul,
ol {
    list-style-type: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

table th,
table td {
    padding: 0;
    font-weight: normal;
    text-align: left;
    vertical-align: middle;
}

.tac {
    text-align: center;
}

html {
    font-size: 62.5%;
}

.tal {
    text-align: left;
}

.ma {
    margin: 0 auto;
}

.mb10 {
    margin-bottom: 1rem;
}

.mb20 {
    margin-bottom: 2rem;
}

.mb25 {
    margin-bottom: 2.5rem;
}

.mb30 {
    margin-bottom: 3rem;
}

.mb40 {
    margin-bottom: 4rem;
}

.mb50 {
    margin-bottom: 5rem;
}

.mb80 {
    margin-bottom: 8rem;
}

/*レスポンシブで消える改行*/
.tb-br,
.sp-br,
.ssp-br {
    display: none;
}

@media screen and (max-width: 1280px) {
    .tb-br {
        display: block;
    }

    .tb-span {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .sp-br {
        display: block;
    }

    .pc-br {
        display: none;
    }

    .afs12,
    .afs22,
    .afs16 {
        font-size: 17px;
    }

    .afs20,
    p.mb10.afs24.serif.f-bold {
        font-size: 21px;
    }

    .afs36 {
        font-size: 24px;
    }

    .mb80 {
        margin-bottom: 40px !important;
    }
}

body {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    color: #000;
    font-size: clamp(14px, 0.9739583333333333vw, 18.7px);
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

a {
    color: #000;
}

p,
th,
td,
ul,
ol,
li,
dl,
dt,
dd,
address {
    color: #000;
    font-size: clamp(14px, 0.9739583333333333vw, 18.7px);
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
}

p {
    line-height: 1.75;
}

a {
    overflow: hidden;
    text-decoration: none;
    outline: none;
    transition: 0.3s;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:hover {
    opacity: 0.6;
}

a[href^="tel:"] {
    display: inline;
    text-decoration: none;
    cursor: default;
}

a[href^="tel:"]:hover {
    opacity: inherit;
}

@media screen and (min-width: 1025px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}

.wrapper {
    width: 100%;
    max-width: 1640px;
}

@media screen and (max-width: 768px) {
    .wrapper {
        min-width: auto;
        overflow: hidden;
    }

    p,
    th,
    td,
    ul,
    ol,
    li,
    dl,
    dt,
    dd,
    address {
        font-size: 17px;
    }
}

section {
    width: 100%;
}

.inner {
    width: 86.4%;
    max-width: 1640px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .inner {
        margin: 0 auto;
        padding: 0;
    }
}

.fixed {
    position: fixed;
    top: 0;
    z-index: 10000;
    width: 100%;
    border-bottom: 1px solid #d9d9d9;
    background: #ffffff;
}

@media screen and (max-width: 768px) {
    .fixed {
        position: static;
    }
}

.flex,
.flex-sp {
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    .flex-sp {
        display: block;
    }
}

/*フォントの太さを指定*/
.f-bold {
    font-weight: bold;
}

/*フォントの太さを指定（游明朝）*/
.fy-bold {
    font-weight: 600;
}

/*英語の小文字を大文字に*/
.f-large {
    text-transform: uppercase;
}

.accent {
    color: var(--main-accent-color) !important;
}

.serif {
    font-family: "Zen Old Mincho", serif;
}

.lt-s {
    letter-spacing: 0.13rem;
}

.f-bold {
    font-weight: 600;
}



/*flexのカラム*/
.column2,
.column3,
.column4,
.column5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/*flex2*/
.column2>figure,
.column2>div,
.column2>li,
.column2>section .column2>table {
    width: 48.8%;
}

@media screen and (max-width: 768px) {

    .column2>figure,
    .column2>div,
    .column2>li,
    .column2>table {
        width: 100%;
        margin-bottom: 40px;
    }
}

/*flex3*/
.column3>figure,
.column3>div,
.column3>li,
.column3>section {
    width: 31.7%;
}

@media screen and (max-width: 768px) {

    .column3>figure,
    .column3>div,
    .column3>li,
    .column3>section {
        width: 100%;
        max-width: 520px;
        margin-bottom: 40px;
    }
}

/*flex4*/
.column4>figure,
.column4>div,
.column4>li,
.column4>p,
.column4>a,
.column4>section {
    width: 23.2%;
}

@media screen and (max-width: 768px) {

    .column4>figure,
    .column4>div,
    .column4>li,
    .column4>a,
    .column4>section {
        width: 48%;
        margin-bottom: 2rem
    }
}

/*flex5*/
.column5>figure,
.column5>div,
.column5>li {
    width: 17%;
}

@media screen and (max-width: 1280px) {

    .column5>figure,
    .column5>div,
    .column5>li {
        min-width: 45%;
    }
}

/*flex6*/
.column6 {
    display: flex;
    justify-content: space-between;
}

.column6>figure,
.column6>div,
.column6>li,
.column6>p,
.column6>a,
.column6>section {
    width: 14.6%;
}

@media screen and (max-width: 1024px) {
    .column6 {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .column6>div {
        width: 31.7%;
        margin-bottom: 3rem;
    }

    .column6 a:nth-of-type(4) {
        margin-left: 0;
    }
}

@media screen and (max-width: 768px) {
    .column6 {
        flex-wrap: wrap;
    }

    .column6>div {
        width: 30%;
        margin-bottom: 2rem;
        margin-left: 0;
    }

    .column6 div:nth-of-type(4) {
        margin-left: 0;
    }
}

.page-top {
    cursor: pointer;
}

address {
    font-style: normal;
}

/*ヘッダーが上下する動き
translateYの数値はヘッダーの高さに合わせて変更してください。*/
#header.UpMove {
    -webkit-animation: UpAnime 0.5s forwards;
    animation: UpAnime 0.5s forwards;
}

#header.DownMove {
    -webkit-animation: DownAnime 0.5s forwards;
    animation: DownAnime 0.5s forwards;
    background-color: rgba(255, 255, 255, 1);
}

@-webkit-keyframes UpAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-120px);
    }
}

@keyframes UpAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-120px);
    }
}

@-webkit-keyframes DownAnime {
    from {
        opacity: 0;
        transform: translateY(-120px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes DownAnime {
    from {
        opacity: 0;
        transform: translateY(-120px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*要素がふわっと現れる動き
laterは１つ目の要素に指定してください。*/
.fadein,
.fadein-later {
    opacity: 0;
    transform: translate(0, 100px);
    transition: all 500ms;
}

.fadein.scrollin,
.fadein-later.scrollin {
    opacity: 1;
    transform: translate(0, 0);
}

.fadein-box {
    opacity: 0;
    transition: all 0.5s;
}

.fadein-box.active {
    opacity: 1;
}

@media screen and (max-width:768px) {

    .fadein,
    .fadein-later {
        opacity: 1;
        transform: translate(0, 0);
        transition: all 0ms;
    }
}

/* 見出し */
h1 {
    /*font-size: 1.2rem;*/
    font-size: clamp(10px, 0.8333333333333334vw, 12px);
    font-weight: 400;
    letter-spacing: 0;
}

.sec h3 {
    width: 100%;
    display: flex;
    margin-bottom: 1.8229166666666667vw;
    padding-left: 1.7vw;
    color: var(--main-color);
    font-size: clamp(16px, 1.390625vw, 26.7px);
    font-weight: 400;
    position: relative;
    align-items: center;
}

.sec h3::before {
    content: "";
    display: block;
    background: url(imgs/h3.png) no-repeat left top;
    background-size: cover;
    /*width: 2.5rem;*/
    width: 1.390625vw;
    /*height: 2.5rem;*/
    height: 1.390625vw;
    position: absolute;
    top: 0.46875vw;
    left: 0;
    line-height: 0;
}


.top h3 {
    font-size: clamp(18px, 1.6666666666666667vw, 32px);
    margin: 2rem 0 2rem;
    font-weight: 300;
    text-align: center;
    font-family: "Zen Old Mincho", serif;
}

.top.about-us h3 {
    font-size: clamp(16px, 1.390625vw, 26.7px);
}


/*基本のボタン*/
.btn-box {
    line-height: 25px;
    /*縦の幅*/
    height: 25px;
    position: relative;
    /* z-index: 10; */
    margin-top: 2rem;
    /* margin-bottom: 3rem; */
    text-align: center;
}

.btn-box>div,
.btn-box>a {
    display: inline-block;
    max-width: 140px;
    /* 1920px時のボタン幅 */
    width: 100%;
    position: relative;
    text-align: center;
    color: #000;
    border: 1px solid #000;
    /* z-index: 1; */
    overflow: hidden;
    /* border-radius: 50px; */
    font-family: "Zen Old Mincho", serif;
    font-size: clamp(14px, 0.8333333333333334vw, 16px);
    letter-spacing: 0.06rem;
}

.btn-box a:hover {
    background-color: #283890;
    color: #fff;
}

@media screen and (max-width:768px) {
    .btn-box>div {
        font-size: 14px;
        width: 90%;
    }

    .sec h3 {
        font-size: 21px;
        margin-bottom: 10px;
        padding-left: 25px;
        line-height: 1;
    }

    .sec h3::before {
        background: url(imgs/h3.png) no-repeat left center;
        background-size: cover;
        width: 19px;
        height: 19px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 1px;
    }

    .construction h3 {
        margin-bottom: 20px !important;
    }
}




/*-----------------------------------------------------*/
/*ヘッダー*/
/*-----------------------------------------------------*/

.header-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 10000;
    /*height: 12rem;*/
    height: clamp(100px, 6.25vw, 120px);
}

.header {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.header-left {
    padding-left: 3.5rem;
    display: flex;
    align-items: center;
}

.header-logo-left {
    /*width: 8rem;*/
    width: 22.21%;
}

.header-logo {
    display: flex;
    gap: 2rem;
}

.header-logo-name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-logo-name p {
    font-size: clamp(14px, 0.9010416666666666vw, 17.3px);
    font-weight: 500;
    letter-spacing: 7.4%;
}

.header-logo .name {
    font-weight: 400;
    letter-spacing: 0.22rem;
    font-size: clamp(16px, 1.25vw, 24px);
    letter-spacing: 21%;
    line-height: 1;
    margin-top: 0.5rem;
}

.header-logo-right {
    margin-top: 0.5rem;
    color: #fff;
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-nav {
    margin-right: 5rem;
    margin-top: 0;
}

.header-nav h1 {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    text-align: right;
}

.gnavi ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 1rem;
}

.gnavi ul li {
    position: relative;
    margin-left: 8rem;
    padding-bottom: 0.8rem;
}

.gnavi ul li a {
    font-weight: 400;
    text-transform: uppercase;
    /*font-size: 1.87rem;*/
    font-size: clamp(14px, 0.9739583333333333vw, 18.7px);
    text-align: center;
    letter-spacing: 0.07em;
}

.gnavi ul li::after {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 4.5rem;
    height: 1px;
    margin: auto;
    background-color: var(--main-color);
    content: "";
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
    transform: scaleX(0);
    transform-origin: bottom right;
}

.gnavi ul li.on::after,
.gnavi ul li:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.gnavi ul li a:hover {
    opacity: 1;
}

.pick {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eng {
    color: var(--main-color);
    padding-top: 0.5rem;
    font-family: "Zen Old Mincho", serif;
}

.jp {
    font-family: "Noto sans JP", sans-serif;
}

.header-icons {
    width: 14rem;
    height: 100%;
}

.header-icons a {
    padding: 0.75rem 1rem 1rem 1rem;
    background-color: var(--main-color);
    height: 100%;
    color: #FFF;
    text-align: center;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Noto Sans JP", sans-serif;
}

.header-icons a img {
    margin-bottom: 0.5rem;
    width: 46.8%;
}

.header-icons a p {
    color: #FFF;
    text-align: center;
    font-size: 1.3rem;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.header-icons a:hover,
.header-icons.on a {
    background-color: rgba(255, 153, 0, 1);
    opacity: 1;
}

.header-icons .eng {
    color: #fff;
    letter-spacing: 0.15em;
}

.header-icons span.jp.afs14 {
    letter-spacing: 0.07em;
}

@media screen and (max-width: 1279px) {
    .header-wrapper {
        height: 50px;
        background-color: rgba(255, 255, 255, 1);
    }

    .header-left {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem 2rem;
    }

    .header-logo {
        align-items: center;
        gap: 1rem;
    }

    .header-logo-left {
        width: 40px;
    }

    .header-right {
        display: none;
    }

    .header-logo-right {
        margin-top: 0;
    }

    .header-logo-name p {
        font-size: 11px;
    }

    .header-logo .name {
        font-size: 15px;
        margin-top: 0;
        padding-bottom: 5px;
    }
}



/* sp-menu */
#fixedBox {
    display: none;
}

@media screen and (max-width: 1279px) {
    #fixedBox {
        display: block;
    }

    .sp-menu {
        display: block;
        position: fixed;
        top: 30px;
        right: 1%;
        z-index: 30000;
        width: 50px;
        height: 50px;
        cursor: pointer;
        transform: translateY(-50%);
    }

    .sp-menu span {
        display: inline-block;
        position: absolute;
        left: 14px;
        width: 25px;
        height: 2px;
        border-radius: 5px;
        background: var(--main-color);
        transition: all 0.4s;
    }

    .sp-menu span:nth-of-type(1) {
        top: 13px;
    }

    .sp-menu span:nth-of-type(2) {
        top: 19px;
    }

    .sp-menu span:nth-of-type(3) {
        top: 25px;
    }

    .sp-menu.active {
        background-color: transparent;
    }

    .sp-menu.active span:nth-of-type(1) {
        top: 14px;
        left: 18px;
        width: 30%;
        transform: translateY(6px) rotate(-45deg);
        background: #FFF;
    }

    .sp-menu.active span:nth-of-type(2) {
        opacity: 0;
    }

    .sp-menu.active span:nth-of-type(3) {
        top: 26px;
        left: 18px;
        width: 30%;
        transform: translateY(-6px) rotate(45deg);
        background: #FFF;
    }

    #header.UpMove,
    #header.DownMove {
        animation: none;
    }
}

.sp-navi ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    right: -70%;
    width: 70%;
    max-width: 500px;
    height: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--main-color);
    transition: 0.3s;
    z-index: 20000;
}

.sp-navi ul>li {
    width: 100%;
    height: 7rem;
    line-height: 7rem;
}

.sp-navi ul>li a {
    color: #fff;
    width: 100%;
    display: block;
    text-align: left;
    padding-left: 3rem;
    border-bottom: 1px solid #BFBFBF;
    font-size: 17px;
}

.sp-navi ul>li a:hover {
    opacity: 1;
}

.sp-navi ul>li a:hover span {
    transition: 0.6s;
}

.sp-navi ul>li a:hover span {
    opacity: 0.6;
}

.open .sp-navi ul {
    padding-top: 9rem;
    position: fixed;
    right: 0;
}

@media screen and (max-width: 380px) {
    .open .sp-navi ul {
        padding-top: 7rem;
    }

    .sp-navi ul>li {
        height: 8rem;
        line-height: 8rem;
    }
}

/*開いた時背景を暗くする*/
.overlay {
    opacity: 0;
    transition: all .5s;
}

.open .overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .6;
    z-index: 11000;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .sp-menu {
        top: 30px;
    }

    .sp-navi {
        top: 30px;
    }

    .sp-navi ul>li a {
        padding-left: 0;
    }
}

/*******************************************/
/* フッター */
/*******************************************/

.footer-box {
    width: 100%;
    height: 53rem;
    background: url("imgs/footer_bg.webp") no-repeat top center/cover;
}

.footer-box-u {
    background-color: #203864;
    padding: 0.8rem;
}

.fnavi {
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 0 auto;
}

.fnavi li {
    display: inline-block;
    border-right: #fff solid 1px;
    line-height: 1;
}

.fnavi li a {
    padding: 0 1.5rem 0 1.5rem;
    font-size: clamp(14px, 0.8333333333333334vw, 16px);
    color: #fff;
    vertical-align: top;
}

.footer-box-l {
    padding-top: 7rem;
    width: 86.4%;
    max-width: 1640px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.f-inner-box {
    width: 31.70731707317073%;
    text-align: center;
}

.footer-txt p {
    font-family: "Zen Old Mincho", serif;
    letter-spacing: 0.13rem;
    font-weight: 600;
}

.flogo {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
    width: 54.42307692307692%;
    margin: 0 auto;
}

.flogo figure {
    width: 24.73498233215548%;
    margin-right: 1rem;
}

@media screen and (max-width: 1904px) {
    .flogo {
        width: 62%;
    }
}

.flogo p {
    margin-right: 0;
    /*font-size: 2.4rem;*/
    font-size: clamp(13px, 1.25vw, 24px);
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    width: 71.73144876325088%;
    text-align: left;
}

.flogo img {
    width: 100%;
}

.footer-txt div {
    font-weight: 500;
}

@media screen and (max-width: 1279px) {
    .f-inner-box {
        width: 40%;
    }
}

@media screen and (max-width: 800px) {
    .f-inner-box {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    .footer-box {
        background: none;
        height: auto;
    }

    .footer-box-u {
        display: none;
    }

    .footer-box-l {
        padding-bottom: 7rem;
    }

    .f-inner-box {
        width: 100%;
    }

    .flogo {
        width: 100%;
    }

    .flogo figure {
        width: 60px;
    }

    .flogo p {
        width: auto;
        font-size: 24px;
    }

    address {
        font-size: 17px !important;
    }
}

address {
    font-family: "Noto Sans JP", sans-serif;
    margin-bottom: 3rem;
    font-size: clamp(11px, 0.9739583333333333vw, 18.7px);
    margin-top: 2rem;
    letter-spacing: 0.13rem;
    font-style: normal;
}


.sp-sitemap {
    display: none;
}

@media screen and (max-width:768px) {

    /*sitemap*/
    .footer-table {
        display: none;
    }

    .sp-sitemap {
        display: block;
        background-color: #203864;
    }

    .sp-sitemap ul {
        display: flex;
        flex-wrap: wrap;
        text-align: center;
    }

    .sp-sitemap li {
        width: 100%;
        margin-bottom: 0;
        border-bottom: 1px solid #D9D9D9;
    }

    .sp-sitemap li a {
        padding: 2rem 0;
        color: #000;
        display: block;
        text-transform: uppercase;
        color: #fff;
    }
}

/*copyright*/
.copyright {
    font-size: 1.4rem;
    font-family: "Zen Old Mincho", serif;
    letter-spacing: 0.13rem;
    text-align: right;
}

@media screen and (max-width: 768px) {
    .copyright {
        width: 100%;
        text-align: center;
        padding-top: 3rem;
        font-size: 17px;
    }
}

/* page-top */
.page-top {
    margin: 20px 0 0 0;
    padding-right: 10px;
    padding-bottom: 25px;
    border-bottom: 1px #814f1a solid;
    font-size: 12px;
    text-align: right;
    cursor: pointer;
}

.page-top:nth-last-of-type(1) {
    margin-bottom: 0;
    padding-bottom: 14px;
    border: none;
}

.page-top a {
    color: #bfbfbf;
}

.s2v {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100;
}

@media screen and (max-width: 1280px) {
    .s2v {
        right: 0;
        bottom: 0;
    }
}

/*******************************************/
/*お知らせ一覧　共通部*/
/*******************************************/
/*日付とカテゴリー*/
.article-head {
    display: flex;
    align-items: center;
}

.article-head>div:first-of-type {
    margin-right: 2rem;
}

.icon-box {
    width: 120px;
    text-align: center;
    white-space: nowrap;
}

.icon-box p {
    color: #404040;
    border: 1px solid #404040;
    font-size: clamp(14px, 0.8333333333333334vw, 16px);
    letter-spacing: 0.13rem;
}

.icon-box.cat02 p {
    color: var(--main-color);
    border-color: var(--main-color);
}

.icon-box.cat03 {
    background: #283890;
}

.icon-box.cat03 p {
    color: #fff;
    border-color: #283890;
}

/*******************************************/
/*お知らせ一覧TOP*/
/*******************************************/
/*分岐あり*/
.nottification-select-parent {
    margin: 0 auto 2rem;
}

#nottification-select {
    display: -webkit-flex;
    display: flex;
    max-width: 360px;
    margin: 0 auto 4rem;
}

#nottification-select li {
    border-left: solid 1px #bfbfbf;
    cursor: pointer;
    text-align: center;
    line-height: 1;
}

#nottification-select li:first-of-type {
    border-left: none;
}

#nottification-select li.active,
#nottification-select li:first-of-type {
    color: #000;
    font-weight: 600;
}

#nottification-select li.nonactive,
#nottification-select li {
    color: #768171;
    font-weight: 400;
}

.info-cnt01,
.info-cnt02,
.info-cnt03,
.info-cnt04,
.info-cnt05 {
    display: none;
}

@media screen and (max-width: 1280px) {
    #nottification-select li span {
        display: none;
    }

    #nottification-select li {
        font-size: 13px !important;
    }
}

/* お知らせ一覧TOP　list*/
.not-link {
    text-align: right;
    color: #7F7F7F;
    font-size: clamp(14px, 0.8333333333333334vw, 16px);
    padding-bottom: 1rem;
}

#nottification-parent {
    width: 100%;
    margin: 4rem auto 0;
    max-width: 1080px;
}

.nottification-box {
    padding: 3rem 3rem;
    border-top: 1px solid #BFBFBF;
    border-bottom: 1px solid #BFBFBF;
}

.one-topic {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.one-topic:last-of-type {
    margin-bottom: 0;
}

.one-topic .topics-title {
    flex: 1;
    letter-spacing: 0.13rem;
}

.btn-box.btn-news {
    line-height: 40px;
    /*縦の幅*/
    height: 40px;
    position: relative;
    z-index: 10;
    margin-top: 3rem;
    text-align: center;
}

.btn-box.btn-news>div,
.btn-box.btn-news>a {
    display: inline-block;
    max-width: 240px;
    width: 100%;
    position: relative;
    text-align: center;
    color: #000;
    border: 1px solid #000;
    z-index: 1;
    overflow: hidden;
    border-radius: 50px;
    font-family: "Noto Sans JP", sans-serif;
    /*font-size: 1.87rem;*/
    font-size: clamp(14px, 0.9739583333333333vw, 18.7px);
}

.btn-box.btn-news>div::before,
.btn-box.btn-news>a::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    transform: scaleX(0);
    transition: transform ease 0.5s;
    transform-origin: 100% 50%;
    color: #FFF
}

.btn-box.btn-news>a:hover::before {
    transform: scaleX(1);
    transform-origin: 0% 50%;
}

.btn-box.btn-news>a:hover {
    opacity: 1;
    color: #FFF;
}

.btn-box.btn-news>div:hover,
.btn-box.btn-news>a:hover {
    border: 1px solid var(--main-color);
}

@media screen and (max-width: 768px) {
    .one-topic {
        flex-direction: column;
    }

    .btn-box a {
        font-size: 14px;
    }

    .not-link {
        font-size: 12px;
    }

    .icon-box.cat03 p,
    .icon-box.cat02 p,
    .icon-box.cat01 p,
    .icon-box.cat00 p {
        font-size: 14px;
    }

    .nottification-box {
        padding: 1.5rem;
    }
}

/*******************************************/
/* お知らせ一覧 カテゴリ*/
/*******************************************/
.category-contents {
    display: flex;
    justify-content: space-between;
    max-width: 1360px;
    margin-bottom: 15rem;
}

.category-main {
    width: 70%;
}

.category-side {
    width: 30%;
    max-width: 340px;
}

@media screen and (max-width: 768px) {
    .category-contents {
        display: block;
    }

    .category-main {
        width: 100%;
    }

    .category-side {
        width: 80%;
        margin: 0 auto 10rem;
    }
}

.category-contents .category-side .side-cat {
    width: 100%;
    margin-bottom: 10px;
    border: solid 1px #b2b2b2;
}

.category-contents .category-side .side-cat a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 20px;
    color: #000;
}

.category-contents .category-side .side-cat a::before {
    content: "";
    display: block;
    margin-right: 15px;
    border-top: solid 5px transparent;
    border-bottom: solid 5px transparent;
    border-left: solid 11px var(--main-color);
}

.cat01 .side-cat:first-of-type,
.cat02 .side-cat:nth-of-type(2),
.cat03 .side-cat:nth-of-type(3),
.cat04 .side-cat:nth-of-type(4),
.news .side-cat:last-of-type,
.side-cat:hover {
    background-color: var(--main-color);
    transition: 0.3s;
}

.cat01 .side-cat:first-of-type a::before,
.cat02 .side-cat:nth-of-type(2) a::before,
.cat03 .side-cat:nth-of-type(3) a::before,
.cat04 .side-cat:nth-of-type(4) a::before,
.news .side-cat:last-of-type a::before,
.category-contents .category-side .side-cat:hover a::before {
    border-left: solid 11px#FFF;
}

.cat01 .side-cat:first-of-type a,
.cat02 .side-cat:nth-of-type(2) a,
.cat03 .side-cat:nth-of-type(3) a,
.cat04 .side-cat:nth-of-type(4) a,
.news .side-cat:last-of-type a,
.side-cat:hover a {
    color: #fff;
    opacity: 1;
}

.category-contents .category-side .side-cat:hover a {
    color: #fff
}

/* お知らせ一覧　list*/
.news-box {
    margin-bottom: 3rem;
}

/*******************************************/
/*お知らせ一覧　コンテンツ*
/*******************************************/
h2.single {
    /*font-size: 3.73rem;*/
    font-size: clamp(18px, 1.942708333333333vw, 37.3px);
    text-align: left;
}

h2.single::before,
h2.single::after {
    content: none;
}

.post-content .inner {
    max-width: 1200px;
}

.post-content .article-head {
    margin-bottom: 1.5rem;
}

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

.topics-cnt {
    margin-bottom: 160px;
}

.post-text img {
    margin-bottom: 1.5rem;
}

.post-text p,
.post-text {
    /*font-size: 1.87rem;*/
    font-size: clamp(14px, 0.9739583333333333vw, 18.7px);
}

.post-content h2 {
    border-bottom: 3px dotted #1F3A5F;
    padding-bottom: 2rem;
}

@media screen and (max-width: 768px) {

    .post-text p,
    .post-text {
        font-size: 17px;
    }

    .post-content h2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .post-content .inner {
        margin-top: 30px;
    }
}

h2.screen-reader-text {
    display: none;
}

/*******************************************/
/* お知らせの詳細のリンク*/
/*******************************************/
.other-post_link {
    margin-bottom: 20rem;
    text-align: center;
}

.other-post_link a {
    display: inline;
    margin-right: 10px;
}

.other-post_link a:first-of-type {
    margin-left: 10px;
}

/*******************************************/
/*各下層ページのヘッダー。デザインによって違うので適宜変更*/
/*******************************************/
.second-header {
    margin-bottom: 10rem;
    position: relative;
}

.path-wrapper {
    width: 100%;
    background-color: #F8F8F8;
    padding: 0.5rem 0 0.5rem;
    position: absolute;
    bottom: 0;
}

.path-wrapper a {
    color: #000;
    font-family: "Noto Sans JP", sans-serif;
}

.path-wrapper .inner {
    display: flex;
    align-items: center;
    width: 86.4%;
    max-width: 1640px;
}

@media screen and (max-width: 768px) {
    .other-post_link {
        font-size: 14px;
    }

    .second-header {
        margin-top: 50px;
        margin-bottom: 40px;
    }

    .path-wrapper {
        display: none;
    }
}

/*******************************************/
/*パンくず*/
/*******************************************/
.topic-path {
    display: flex;
    margin-right: 1rem;
    margin-left: 1rem;
}

.topic-path li {
    position: relative;
    padding: 0 2rem 0;
}

.topic-path li:first-of-type {
    padding: 0 1.5rem 0 0;
}

.topic-path li:last-of-type {
    padding-right: 2.5rem;
}

.topic-path li:last-of-type::after {
    content: "";
}

.topic-path li::after {
    content: "";
    position: absolute;
    color: #000;
    font-size: 1rem;
    right: -8%;
    font-weight: 600;
    width: 4px;
    height: 4px;
    border-top: solid 1px #000;
    border-right: solid 1px #000;
    transform: rotate(45deg);
    right: -6%;
    top: 50%;
}

.topic-path .pankuzu_title::after {
    display: none;
}

.topic-path li a {
    display: inline;
    font-family: "Noto Sans JP", sans-serif;
    /*font-size: 1.73rem;*/
    font-size: clamp(14px, 0.9010416666666666vw, 17.3px);
    color: #000;
    letter-spacing: 5%;
}

/*******************************************/
/* 各ページのアンカー*/
/*******************************************/
.page-path ul {
    display: flex;
    align-items: center;
    position: relative;
}

.page-path a {
    display: flex;
    margin-right: 3.5rem;
    align-items: center;
    /*font-size: 1.73rem;*/
    font-size: clamp(14px, 0.9010416666666666vw, 17.3px);
    position: relative;
    overflow: visible;
    letter-spacing: 1%;
    color: #000;
}

.page-path a::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-top: solid 1px #000;
    border-right: solid 1px #000;
    transform: rotate(45deg);
    right: -6%;
    top: 50%;
    left: -2rem;
}

@media screen and (max-width: 1680px) {

    .page-path a::after,
    .topic-path li::after {
        top: 45%;
    }
}


@media screen and (max-width: 1279px) {
    .page-path {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .page-path a::after {
        width: 2px;
        height: 2px;
        right: -3%;
        left: -10px;
    }

    .topic-path li::after {
        width: 2px;
        height: 2px;
        right: -3%;
    }
}

/*******************************************/
/*スライド*/
/*******************************************/

.firstview-box {
    position: relative;
}

.firstview-text {
    position: absolute;
    left: 13%;
    bottom: 14%;
    max-width: 1640px;
}

.firstview-text p {
    line-height: 1.6;
    text-align: center;
    padding-bottom: 1rem;
    text-shadow: 0px 0px 30px rgba(0, 0, 0, 1.5);
    letter-spacing: 0.13rem;
    font-size: clamp(24px, 3.3333333333333335vw, 64px);
    font-weight: 500;
    font-family: "Zen Old Mincho", serif;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .firstview-box {
        margin-top: 50px;
    }

    .firstview-text {
        width: 100%;
        position: relative;
        left: 0;
        top: 0;
        background-color: var(--main-color);
        padding: 10px;
    }

    .firstview-text p {
        font-size: 18px;
    }
}

@media screen and (max-width: 1440px) {
    .firstview-text {
        bottom: 9%;
    }
}

.top-sli-scr {
    color: #fff;
    /*font-size: 2.4rem;*/
    font-size: clamp(16px, 1.25vw, 24px);
    writing-mode: vertical-lr;
    font-family: "Zen Old Mincho", serif;
    letter-spacing: 0.4rem;
    position: absolute;
    bottom: 0;
    left: 22px;
    padding: 0 0 155px;
}

.top-sli-scr::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    width: 1px;
    height: 50px;
    background-color: #fff;
    animation: scrarr 2.5s ease infinite normal;
}

@keyframes scrarr {
    0% {
        height: 0%;
    }

    100% {
        height: 64%;
    }
}

@media screen and (max-width: 768px) {

    .top-sli-scr,
    .top-sli-scr::before {
        display: none;
    }
}

.slick-slide {
    aspect-ratio: 1920/990;
}

.slick-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(transparent, #00000024);
    pointer-events: none;
}

/* --- zoom up img --- */
.slide-animation {
    animation: fadezoom 7s 0s forwards;
    -webkit-animation: fadezoom 7s 0s forwards;
}

@-webkit-keyframes fadezoom {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }

    100% {
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
    }
}

@keyframes fadezoom {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
    }

    100% {
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
    }
}

/* --- /zoom up img --- */

/*******************************************/
/*トップページ*/
/*******************************************/
/* top01 */
section.top01 {
    margin-top: 16rem;
    margin-bottom: 16rem;
}

.top01-flex2 {
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
    align-items: center;
    width: 93.44%;
    max-width: 1780px;
    margin: 0 0 0 auto;
}

.top01-box {
    margin-right: 6.17977528089888%;
    width: 46%;
}

.top01 h2 {
    /*font-size: 5rem;*/
    font-size: clamp(23px, 2.604166666666667vw, 50px);
    font-family: "Zen Old Mincho", serif;
    text-align: left;
    /*margin-bottom: 3rem;*/
    margin-bottom: clamp(15px, 1.5625vw, 30px);
}

.top01-txt {
    /*margin-top: 7.5rem;
    margin-left: 4rem;*/
    margin-top: clamp(35px, 3.90625vw, 75px);
    margin-left: clampp(20px, 2.083333333333333vw, 40px);
}

.top01-img {
    width: 47.19101123595506%;
    max-width: 840px;
    margin-right: 0;
}

@media screen and (min-width: 1905px) {
    .top01 h2 {
        font-size: clamp(30px, 3.057291666666667vw, 58.7px);
    }
}

@media screen and (max-width: 768px) {
    section.top01 {
        margin-top: 80px;
        margin-bottom: 80px;
    }

    .top01-flex2 {
        display: block;
        width: 95%;
        max-width: none;
        margin: 0 auto;
    }

    .top01-flex2>div {
        width: 100%;
        margin-right: 0;
        margin-bottom: 4rem;
    }

    .top01-flex2>div:last-of-type {
        margin-bottom: 0;
    }

    .top01 h2 {
        font-size: 24px;
        margin-bottom: 5px;
        line-height: 1;
    }

    .top01-txt {
        margin-top: 20px;
        margin-left: 0;
    }
}

/* top02 */
.top02,
.top02-2 {
    background-color: #f7fafd;
    padding-top: 16rem;
}

.top02 h2,
.top02-2 h2 {
    font-size: clamp(30px, 3.057291666666667vw, 58.7px);
    font-family: "Zen Old Mincho", serif;
    text-align: left;
    /*margin-bottom: 7rem;*/
    margin-bottom: clamp(35px, 3.6458333333333335vw, 70px);
    position: relative;
    display: inline-block;
}

.top02-flex2 h2::before,
.top02-2-flex2 h2::before {
    content: "";
    position: absolute;
    top: 26%;
    left: -6rem;
    transform: translateY(-50%);
    width: 4px;
    height: 50%;
    background: #283890;
}

.top02-flex2 {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    list-style-type: none;
    width: 94%;
    max-width: 1780px;
}

.top02-flex2 li:first-of-type {
    max-width: 660px;
    width: 37.1%;
    margin-right: 11.2%;
}

.top02-flex2 li:last-of-type {
    max-width: 920px;
    width: 51.6%;
}

.top02-flex2 li img {
    width: 100%;
}

.btn_wrap_01 a {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 220px;
    width: 22rem;
    padding: 15px 25px;
    border: 1px solid #000;
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-family: 游明朝, "Yu Mincho", Yu Mincho, "Hiragino Mincho Pro", serif;
    transition: 0.3s ease-in-out;
    overflow: visible;
    background-color: #fff;
}

.btn_wrap_01 a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -90px;
    transform: translateY(-50%);
    width: 130px;
    height: 1px;
    border-bottom: 1px solid #000;
    transition: 0.3s;
}

.btn_wrap_01 a:hover::after {
    right: -125px;
}

.btn_wrap_01 a:hover {
    background-color: #283890;
    opacity: 1;
    color: #fff;
}

@media (max-width: 1024px) {
    .btn_wrap_01 a::after {
        right: -45px;
        width: 65px;
    }

    .btn_wrap_01 a:hover::after {
        right: -60px;
    }
}

@media (max-width: 768px) {
    .btn_wrap_01 a {
        margin: 0 auto;
        width: 300px;
    }

    .top02 {
        padding-top: 60px;
    }

    .top02-2 {
        padding-top: 80px;
        padding-bottom: 80px !important;
    }

    .top02-flex2 {
        margin: 0 auto;
        max-width: none;
        width: 100%;
        flex-direction: column-reverse;
    }

    .top02-flex2 li:first-of-type,
    .top02-flex2 li:last-of-type {
        max-width: none;
        width: 100%;
        margin-right: 0;
    }

    .top02-flex2 li:first-of-type {
        width: 100%;
        padding-right: 8%;
    }

    .top02-flex2 li:last-of-type {
        width: 95%;
        margin: 0 auto 80px;
    }

    .top02-flex2 h2::before,
    .top02-2-flex2 h2::before {
        left: 0;
    }

    .top02 h2,
    .top02-2 h2 {
        font-size: 32px;
        margin-bottom: 30px;
        padding-left: 20px;
    }

}

@media (max-width: 768px) {
    .btn_wrap_01 a::after {
        right: -30px;
        width: 80px;
    }

    .btn_wrap_01 a:hover::after {
        right: -50px;
    }
}

/*top02-2*/
.top02-2 {
    padding-bottom: 16rem;
}

.top02-2-flex2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    list-style-type: none;
    margin-left: 10.41666666666667%;
}

.top02-2-flex2 li:last-of-type {
    width: 56.97674418604651%;
    margin-left: 8.33333333333333%;
    max-width: 980px;
}

.top02-2-flex2 li img {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .top02-2-flex2 {
        flex-direction: column;
        width: 100%;
        margin: 0 auto;
    }

    .top02-2-flex2 li {
        width: 100%;
        margin-right: 0;
        margin-bottom: 80px;
    }

    .top02-2-flex2 li:first-of-type {
        width: 95%;
        margin: 0 auto 80px;
    }

    .top02-2-flex2 li:last-of-type {
        width: 100%;
        margin: 0;
        max-width: none;
        padding-left: 8%;
    }
}


/* topics */
.top.topics {
    margin: 12rem auto;
}

.top.topics h2 {
    font-weight: 400;
    /*font-size: 3.73rem;*/
    font-size: clamp(18px, 1.942708333333333vw, 37.3px);
}

.top.topics h2::after {
    font-size: clamp(16px, 1.390625vw, 26.7px);
}

/* top03 */
.top03 {
    margin-top: 7rem;
    background: linear-gradient(to bottom, #DEEBF7 0%, #ffffff 100%);
    padding-top: 12rem;
    padding-bottom: 30rem;
}

.top03 h2 {
    text-align: left;
    font-weight: 400;
    font-size: clamp(24px, 2.5vw, 48px);
}

.top03 h2::after {
    text-align: left;
    font-size: clamp(16px, 1.390625vw, 26.7px);
}

/* 基本の画像リンク */
.index-box {
    display: flex;
    flex-direction: column;
}

.index-box a:hover {
    opacity: 1;
    outline: none;
}

.index-box .img-zoom img {
    transition: 0.3s;
    width: 100%;
}

.index-box .img-zoom:hover img {
    transform: scale(1.1);
}

.top .index-box h3 {
    font-family: "Noto Sans JP", serif;
    font-weight: 400;
    margin: 0;
}

.index {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.top03 .index-box h3 {
    font-weight: 400;
    font-size: clamp(16px, 1.390625vw, 26.7px);
    margin-top: 1.5rem;
}

.top03 .index-box .btn-box {
    width: 14rem;
    line-height: 2rem;
    margin-top: 1.5rem;
}

.top03 .index-box .btn-box>a {
    font-size: clamp(14px, 0.8333333333333334vw, 16px);
    padding: 0.5rem 1rem;
}

.about-txt {
    /*margin-top: 7rem;
    margin-bottom: 8rem;*/
    margin-top: clamp(35px, 3.6458333333333335vw, 70px);
    margin-bottom: clamp(40px, 4.166666666666666vw, 80px);
    letter-spacing: 0.13rem;
    line-height: 1.9;
}

@media screen and (max-width:768px) {
    .top.topics h2 {
        font-size: 24px;
    }

    .top.topics h2::after {
        font-size: 16px;
    }

    .index-box p {
        font-size: 14px;
    }

    .top03 {
        padding-top: 80px;
    }

    .top03 h2 {
        font-size: 24px;
    }

    .top03 h2::after {
        font-size: 16px;
    }

    .about-txt {
        margin-top: 30px;
        margin-bottom: 40px;
        text-align: left;
    }

    .top03 .index-box h3 {
        padding-bottom: 1rem;
        font-size: 22px;
    }

    .top03 .index-box .btn-box {
        width: 24rem;
    }

    .top03 .column4>div {
        margin-bottom: 2rem;
    }

    .about-txt p.afs24.mb20 {
        font-size: 22px;
    }

    .top03 .column4 {
        display: block;
    }

    .top03 .column4>div {
        width: 100%;
        margin-bottom: 60px;
    }

    .top03 .column4>div:last-of-type {
        margin-bottom: 0;
    }

    .top03 .index-box .btn-box>a {
        font-size: 14px;
    }
}

/*******************************/
/*セカンド/
/*******************************/
/* セカンドヘッダー */
.second-wrapper {
    position: absolute;
    width: 100%;
    bottom: 8rem;
    left: 14rem;
}

@media screen and (max-width: 1024px) {
    .second-wrapper {
        bottom: 6rem;
        left: 8rem;
    }
}

/*parts*/
.sec-wrapper {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    .sec-wrapper {
        flex-direction: column;
        max-width: 660px;
        margin: 0 auto;
    }
}

/*@media screen and (max-width: 768px) {
    .sec {
        margin-bottom: 12rem;
    }
}*/

/*基本のテーブル
行内の要素が１つの場合はthを使用*/
.normal-table {
    width: 100%;
    border-top: solid 1px #BFBFBF;
}

.normal-table tr {
    border-bottom: solid 1px #BFBFBF;
}

.normal-table th {
    width: 15%;
    padding: 1rem 0 1rem 1rem;
    vertical-align: top;
    letter-spacing: 5%;
}

.normal-table td {
    width: 75%;
    padding: 1rem 0 1rem 1.5rem;
    vertical-align: top;
    line-height: 1.7;
    letter-spacing: 5%;
}

/*******************************/
/*業務内容*/
/*******************************/
/* 工事内容 */
ul.const-list.column2>li {
    margin-bottom: 8rem;
}

ul.const-list.column2>li:last-of-type,
ul.const-list.column2>li:nth-last-of-type(2) {
    margin-bottom: 0;
}

.const-list h3 span {
    /*font-size: 1.87rem;*/
    font-size: clamp(14px, 0.9739583333333333vw, 18.7px);
    border: 1px solid var(--main-color);
    padding: 0.5rem 1.5rem;
    display: inline-block;
    margin-right: 2rem;
    vertical-align: initial;
}

.const-list h4 {
    font-size: clamp(18px, 1.6666666666666667vw, 32px);
    font-weight: 400;
    font-family: "Zen Old Mincho", serif;
    margin-bottom: 3rem;
    letter-spacing: 0.05rem;
    display: flex;
    align-items: center;
}

.const-list h4 span {
    /*font-size: 2.4rem;*/
    font-size: clamp(16px, 1.25vw, 24px);
    border: 1px solid #BFBFBF;
    padding: 10px 15px;
    margin-right: 2rem;
    vertical-align: bottom;
    line-height: 1;
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
}

.const-cnt {
    padding-left: 7rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.const-cnt figure {
    width: 100%;
}

.const-cnt p {
    padding-left: 4rem;
    letter-spacing: 0.1rem;
    line-height: 1.6;
}

@media screen and (max-width: 1248px) {
    .const-cnt {
        padding-left: 0;
    }

    .const-cnt p {
        padding: 0 4rem;
    }
}

@media screen and (max-width: 768px) {
    .const-list h3 {
        font-size: 17px;
    }

    .const-list h3 span {
        font-size: 14px;
    }

    .const-list h4 {
        margin-bottom: 20px;
        font-size: 19px;
    }

    .const-list h4 span {
        font-size: 17px;
    }

    .const-cnt {
        padding-left: 0;
        margin-top: 10rem;
        text-align-last: left;
        width: 90%;
        margin: 0 auto;
    }

    .const-cnt p {
        padding-right: 0;
        padding-left: 0;
    }

    ul.const-list.column2>li,
    ul.const-list.column2>li:nth-last-of-type(2) {
        margin-bottom: 40px;
    }
}

/*実績ここから*/
.results-box figcaption {
    margin-top: 10px;
    text-align: center;
}

.aco-wrapper {
    width: 100%;
    margin: 0 auto;
}

.aco-content {
    padding-bottom: 4rem;
}

/*見出し*/
.aco-btn.aco-wrapper {
    padding: 1rem;
    align-items: center;
    display: flex;
    position: relative;
    cursor: pointer;
    background-color: #F2F2F2;
}

.aco-btn.aco-wrapper:last-of-type {
    margin-bottom: 0;
}

.aco-btn:before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background-color: #000;
    transition: all 0.4s;
    position: absolute;
    right: 3%;
    bottom: 50%;
}

.aco-btn:after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background-color: #000;
    transition: all 0.4s;
    position: absolute;
    right: 3%;
    bottom: 50%;
    transform: rotate(90deg);
}

.aco-btn.active:after {
    transform: rotate(0);
}

.aco-btn.aco-wrapper h3 {
    background: none !important;
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.aco-btn.aco-wrapper h3::before {
    background: none;
}

/* なかみ */
.aco-text.aco-wrapper {
    padding: 3rem 14rem;
    position: relative;
    display: none;
}

/*一つ目*/
.aco-wrapper tr:first-of-type .aco-text {
    display: block;
}


.aco-wrapper tr:first-of-type .aco-btn:after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background-color: #000;
    transition: all 0.4s;
    position: absolute;
    right: 3%;
    bottom: 50%;
    transform: rotate(0);
}

.aco-wrapper tr:first-of-type .aco-btn.active:after {
    transform: rotate(90deg);
}


@media screen and (max-width: 1280px) {

    /* なかみ */
    .aco-text.aco-wrapper {
        padding: 3rem 2rem;
    }
}

/*@media screen and (max-width: 1024px) {

    .aco-btn:before,
    .aco-btn:after {
        width: 10px;
    }
}*/


@media screen and (max-width:768px) {
    .aco-wrapper>div {
        width: 100%;
        overflow-x: scroll;
    }

    .aco-btn.aco-wrapper {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .aco-text.aco-wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .aco-btn.aco-wrapper h3 {
        padding-left: 0;
    }

    .results-box figcaption {
        margin-top: 5px;
        font-size: 14px;
    }
}

/*中身のテーブル*/
.intro-table {
    table-layout: fixed;
    width: 100%;
}

.intro-table th {
    font-weight: 600;
    padding: 1rem 0 1rem 2rem;
    border-bottom: 1px solid #BFBFBF;
}

/*.i-name {
    width: 26.6%;
}*/

.i-area {
    width: 28.7%;
}

.intro-table td {
    padding: 1rem 1rem 1rem 2rem;
    border-bottom: 1px solid #BFBFBF;
}



@media screen and (max-width:768px) {

    .intro-table th,
    .intro-table td {
        padding: 1rem 1rem 1rem 0.5rem;
    }

    .i-area {
        width: 26%;
    }

    /*table.aco-wrapper,
    table.aco-wrapper>tbody,
    table.aco-wrapper>tbody tr,
    .aco-content {
        display: block;
    }*/

    /*.intro-table tr {
        display: table-row !important;
    }*/

}

/*実績ここまで*/

/*******************************************/
/* 企業情報ページ */
/*******************************************/

.greeting .column2 {
    align-items: flex-end;
    width: 100%;
}

.column2>.gr-txt {
    width: 82.71604938271605%;
    padding-top: 0;
}

.column2>.gr-img {
    width: 14.63414634146341%;
    padding-top: 5rem;
}

.comp-name-box {
    text-align: right;
}

@media screen and (max-width: 768px) {
    .greeting-box {
        flex-direction: column;
        align-items: center;
    }

    .greeting-img {
        width: 100%;
        max-width: 280px;
        margin: 2rem 0 0;
    }

    .comp-name-box {
        margin: 0;
        width: 100%;
    }

    .column2>.gr-txt {
        width: 100%;
    }

    .column2>.gr-img {
        width: 80%;
        margin: 0 auto 4rem;
        padding-top: 0.5rem;
    }

    .column2>.gr-img img {
        max-width: 100%;
        height: auto;
        width: 80%;
        margin: 0 auto;
        display: block;
    }
}

/* 会社概要 */

.comp-p .normal-table th {
    width: 20%;
    padding: 1rem 0 1rem 1rem;
    vertical-align: top;
}

.comp-p .normal-table td {
    width: 80%;
    padding: 1rem 0 1rem 1rem;
    vertical-align: top;
}

.comp-p .shikaku-tbl .normal-table {
    border-top: none;
    border-bottom: solid 1px #BFBFBF;
}

.comp-p .shikaku-tbl tr {
    border-bottom: none;
}

.comp-p .shikaku-tbl th {
    width: 20%;
    padding: 1rem 0 0 1rem;
    vertical-align: top;
    line-height: 1.9;
}

.comp-p .shikaku-tbl td {
    line-height: 1.9;
}

.comp-p .shikaku-tbl td:first-of-type {
    width: 63.75%;
    padding: 0;
    vertical-align: top;
}

.comp-p .shikaku-tbl td:last-of-type {
    width: 16.25%;
    padding: 0;
    vertical-align: top;
}

.comp-p .shikaku-tbl tr:first-of-type td {
    padding: 1rem 0 0 0;
}

.comp-p .shikaku-tbl tr:last-of-type td {
    padding: 0 0 1.5rem 0;
}

.shikaku-wrapper {
    padding: 0 0 0 0;
}

.shikaku-wrapper li {
    line-height: 1.75;
}

.shikaku-txt {
    line-height: 1.85;
    letter-spacing: 0;
    margin-bottom: 4rem;
}

.shikaku-table {
    width: 100%;
    table-layout: fixed;
    margin-bottom: 4rem;
}

.shikaku-table tr:first-of-type {
    border-top: solid 1px #BFBFBF;
}

.shikaku-table tr:last-of-type {
    border-bottom: solid 1px #BFBFBF;
}

.shikaku-table th {
    padding-top: 1rem;
    padding-left: 1rem;
    width: 80%;
    line-height: 1.7;
}

.shikaku-table td {
    padding-top: 1rem;
    line-height: 1.7;
}

.shikaku-table tr:first-of-type th,
.shikaku-table tr:first-of-type td {
    padding-top: 1.25rem;
}

.shikaku-table tr:last-of-type th,
.shikaku-table tr:last-of-type td {
    padding-bottom: 1.25rem;
}

.shikaku-table td {
    padding-right: 5rem;
    width: 20%;
    text-align: right;
}

small {
    font-size: clamp(10px, 0.8333333333333334vw, 16px);
}

@media screen and (max-width: 768px) {
    .comp-p h3 {
        margin-bottom: 10px;
    }

    .comp-p .normal-table th {
        display: block;
        font-weight: 700;
        width: 100%;
        font-size: 17px;
        padding-bottom: 0;
    }

    .comp-p .normal-table td {
        display: block;
        width: 100%;
        padding-top: 0.5rem;
    }

    .shikaku-table th {
        padding-left: 1rem;
    }

    .shikaku-wrapper {
        height: auto;
        overflow-y: visible;
    }

    small {
        font-size: 13px;
    }
}

.environment-flex2 {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    list-style-type: none;
}

.environment-flex2 li:first-of-type {
    width: 31.70731707317073%;
    margin-right: 4rem;
}

.environment-flex2 li:last-of-type {
    margin-right: 0;
}

.environment-flex2 li img {
    width: 100%;
}

.environment-flex2 .title {
    font-size: clamp(18px, 1.6666666666666667vw, 32px);
    font-family: "Zen Old Mincho", sans-serif;
    margin-bottom: clamp(15px, 1.5625vw, 30px);
    font-weight: 700;
    line-height: 1.7;
}

@media screen and (max-width: 768px) {
    .environment-flex2 {
        display: block;
    }

    .environment-flex2 li:first-of-type {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .environment-flex2 .title {
        margin-bottom: 20px;
        font-size: 19px;
    }
}

/*******************************/
/*map*/
/*******************************/

.map-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-flex .map-img {
    width: 23.17073170731707%;
    margin-right: 4rem;
}

.map-flex>div:last-of-type {
    width: 74.39024390243902%;
}

.map-container {
    margin-bottom: 8rem;
}

.map-box {
    position: relative;
    width: 100%;
    padding-top: 33.6%;
}

.map-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media screen and (max-width: 768px) {
    .map-flex {
        display: block
    }

    .map-flex .mb20 {
        margin-bottom: 30px;
    }

    .map-flex .map-img {
        width: 80%;
        margin: 30px auto;
        text-align: center;
    }

    .map-flex>div:last-of-type {
        width: 100%;
    }

    .map-box {
        padding-top: 90%;
    }

    .map-box iframe {
        width: 100%;
    }

    .map-container {
        margin-bottom: 40px;
    }
}




/*******************************************/
/*お問い合わせ*/
/*******************************************/
/* 電話でのお問合せ */
.phone-inner {
    width: 55.64304461942257%;
    margin: 0 auto;
}

/* メールフォーム */
.mail-form-wrapper {
    width: 56.69291338582677%;
    margin: 0 auto;
}

.mail-form-inner {
    width: 100%;
    margin: 0 auto;
}

.mailform {
    width: 100%;
    margin: 0 auto;
}

.mailform iframe {
    width: 100%;
    height: 100%;
}

.tbl_form_box {
    border-top: 1px solid #BFBFBF;
    padding: 4rem 0;
}

.tbl_form_box2 {
    width: 81.48148148148148%;
    margin: 0 auto;
}

.tbl_form_box dl {
    margin: 0;
    display: flex;
    padding-bottom: 2rem;
}

.tbl_form_box dl:last-of-type {
    padding-bottom: 0;
}

.tbl_form_box dt {
    width: 32rem;
    padding-right: 5rem;
    padding-left: 0;
    /*font-size: 1.73rem;*/
    font-size: clamp(14px, 0.9010416666666666vw, 17.3px);
    font-weight: normal;
}

.tbl_form_box .post-address {
    padding-left: 9%;
}

.tbl_form_box dt p {
    /*font-size: 1.73rem;*/
    font-size: clamp(14px, 0.9010416666666666vw, 17.3px);
    font-weight: normal;
}

.tbl_form_box dt p .post {
    padding-left: 3rem;
}

.wpcf7-form-control-wrap input::-moz-placeholder {
    color: #A6A6A6;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.73rem;
    font-weight: 300;
}

.wpcf7-form-control-wrap input::placeholder {
    color: #A6A6A6;
    font-family: "Noto Sans JP", sans-serif;
    /*font-size: 1.73rem;*/
    font-size: clamp(14px, 0.9010416666666666vw, 17.3px);
    font-weight: 300;
    letter-spacing: 0.1rem;
    padding-left: 1rem;
}

.txt_req::after {
    content: "（必須）";
    display: inline-block;
    margin-left: 5px;
    color: #FF0000;
}

.wid-s {
    width: 60px;
}

div.wpcf7 form dl>dd input.wsiz-m,
div.wpcf7 form dl>dd textarea.wsiz-m {
    width: 12rem;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
    margin-top: 0.8rem;
}

div.wpcf7 form dl>dd input.spc-mt,
div.wpcf7 form dl>dd textarea.spc-mt {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.tenpu {
    color: #C00000;
}

.tbl_form_box dd {
    width: 61rem;
}

.tbl_form_box dd .form_flex input {
    color: #A6A6A6;
}

.tbl_form_box dd .form_flex .wpcf7-select {
    color: #A6A6A6;
}

.tbl_form_box dd .tenpu {
    font-size: clamp(14px, 0.8333333333333334vw, 16px);
}

.tbl_form_box .shikaku p {
    /*font-size: 1.47rem;*/
    font-size: clamp(14px, 0.765625vw, 14.7px);
}

dd input[type=radio] {
    width: 1.5rem;
}

dd input[type=checkbox] {
    width: 1em;
}

dd input[type=file] {
    border: none;
    padding: 0;
    /*font-size: 1.47rem;*/
    font-size: clamp(14px, 0.765625vw, 14.7px);
}

dd input,
dd textarea,
.wpcf7-select {
    width: 100%;
    padding: 0.5rem;
    /*font-size: 1.87rem;*/
    font-size: clamp(14px, 0.9739583333333333vw, 18.7px);
    border: 1px solid #BFBFBF;
}

.form_submit {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 0;
}

input[type=submit] {
    display: block;
    width: auto;
    margin: auto;
    padding: 3px 10px;
    background: #EFEFEF;
    border: solid 1px #787878;
    border-radius: 2px;
    font-size: clamp(14px, 0.8333333333333334vw, 16px);
}

.tbl_form_box .first {
    margin-left: 0;
}

.wid-s {
    width: 60px;
}

.wpcf7-spinner {
    display: none !important;
}

.column .wpcf7-list-item {
    display: block;
    margin: 0;
}

.contact-check {
    text-align: center;
    margin-top: 1rem;
}

.contact-check p {
    /*font-size: 1.47rem;*/
    font-size: clamp(14px, 0.765625vw, 14.7px);
    letter-spacing: 0;
}

.submit_box {
    border-top: 1px solid #BFBFBF;
    border-bottom: 1px solid #BFBFBF;
    padding-top: 2.5rem;
    padding-bottom: 4.5rem;
}

.submit_box .contact-check p {
    font-size: clamp(14px, 0.8333333333333334vw, 16px);
}

.submit_box .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: clamp(14px, 0.8333333333333334vw, 16px);
}

.contact-check a {
    display: inline;
    text-decoration: underline;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.txt-c {
    display: block;
    margin-right: 1rem;
    margin-top: 0.7rem;
}

.check p .wpcf7-list-item-label {
    font-size: clamp(14px, 0.8333333333333334vw, 16px);
}

@media screen and (max-width: 768px) {
    input[type=submit] {
        font-size: 17px;
    }

    .tbl_form_box dt p {
        font-size: 17px;
    }

    .mail-form-inner {
        width: 86.4%;
        margin: 0 auto;
    }

    .submit_box .wpcf7-acceptance .wpcf7-list-item-label {
        font-size: 17px;
    }

    .tbl_form_box dl {
        flex-direction: column;
    }

    .tbl_form_box dt,
    .tbl_form_box dd {
        width: 100%;
        padding: 0;
        margin: 0 0 10px 0;
    }

    .mail-confirm {
        font-size: 17px;
    }

    .mailform {
        padding: 0.5rem 0 2rem;
        margin: 4rem auto 8rem;
    }

    .mail-txt {
        width: 100%;
    }

    .form-inner {
        width: 95%;
        max-width: 95%;
        margin: 5rem auto 0;
    }

    .form-inner .afs16 {
        font-size: 17px;
    }

    .form-inner .afs14 {
        font-size: 17px;
    }

    .form-wrap.ctct div.wpcf7 form ::-moz-placeholder {
        font-size: 17px;
    }

    .mailform div.wpcf7 form ::placeholder {
        font-size: 14px;
    }

    .tbl_form_box {
        width: 100%;
        padding-top: 20px;
    }

    .form_submit {
        margin-bottom: 4rem;
    }

    .submit_box .contact-check p {
        font-size: 17px;
        text-align: left;
    }

    .wpcf7-list-item-label {
        font-size: 11px;
    }

    dd input,
    dd textarea,
    .wpcf7-select {
        width: 100%;
        padding: 1rem;
        font-size: 17px;
        border: 1px solid #BFBFBF;
    }

    .phone-inner {
        width: 86.4%;
        margin: 0 auto;
    }

    .mail-form-wrapper {
        width: 100%;
    }

    .tbl_form_box2 {
        width: 100%;
    }

    .txt-c {
        margin: 0;
    }
}

.mail.inner {
    max-width: 1140px;
}

/*******************************************/
/*個人情報の取り扱いについて*/
/*******************************************/

.privacy-list li p {
    font-weight: normal;
    padding-top: 1.5rem;
}

.privacy-check-box {
    margin-top: 1rem;
    padding: 3rem 2rem 2rem 2rem;
}

.privacy-check-box p,
.privacy-check-box li {
    letter-spacing: 0;
}

.inhead-text {
    /*font-size: 2.4rem;*/
    font-size: clamp(16px, 1.25vw, 24px);
}

.box-bor-gry-in {
    width: 100%;
    padding: 0;
    text-align: center;
}

.box-bor-gry-in p,
.box-bor-gry-in li {
    font-size: clamp(14px, 0.8333333333333334vw, 16px);
    margin-bottom: 2rem;
    text-align: center;
}

.box-bor-gry-in li:last-of-type {
    margin-bottom: 3rem;
}

.box-bor-gry-in .privacy-txt {
    text-indent: 1em;
}

.privacy-check-box .privacy-contact {
    margin-bottom: 3rem;
}

.privacy-info-box {
    padding: 2rem 2rem 3rem 2rem;
}

.bold {
    font-weight: 500;
}

@media screen and (max-width: 768px) {

    .privacy-check-box .afs12,
    .privacy-check-box .afs11,
    .contact-check p .wpcf7-list-item-label,
    .contact-check p {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {
    .wpcf7-checkbox .wpcf7-list-item {
        align-items: center;
    }

    dd input[type=checkbox] {
        display: inline-block;
        vertical-align: middle;
    }
}

@media (max-width: 768px) {
    .contact-check {
        text-align: center;
        width: 100%;
        margin: 3rem auto 0;
    }

    .box-bor-gry-in p,
    .box-bor-gry-in li {
        font-size: 14px;
    }
}

/*******************************************/
/* 採用情報ページ */
/*******************************************/

.p-sought-wrapper {
    padding-top: 3rem;
    width: 82.92682926829268%;
    margin: 0 auto;
    padding-bottom: 9rem;
}

.p-sought-box {
    padding: 3rem 1.5rem;
    background-color: #eef5fb;
    border-radius: 10px;
}

.p-sought {
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.p-sought-title {
    font-family: "Zen Kaku Gothic New", serif;
    color: #2E75B6;
    font-weight: 900;
}

.message span {
    display: flex;
    align-items: center;
    color: #BFBFBF;
    /*font-size: 6rem;*/
    font-size: 3.125vw;
    font-family: "Zen Old Mincho", sans-serif;
    line-height: 1;
    justify-content: space-between;
}

.message span::after {
    content: '';
    display: inline-block;
    margin-left: 2rem;
    width: 85%;
    height: 1px;
    background-color: #BFBFBF;
    margin-top: 1rem;
}

@media screen and (max-width: 1904px) {
    .message span::after {
        width: 83%;
    }
}

.p-sought-txt {
    letter-spacing: 0.13rem;
    padding-top: 4rem;
}

.rec-txt {
    width: 64.3312101910828%;
}

.rec-txt .f-bold {
    padding-bottom: 1rem;
}

.features-title {
    font-weight: 400;
    /*font-size: 2.4rem;*/
    font-size: clamp(16px, 1.25vw, 24px);
    display: flex;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.features-title span {
    /*font-size: 1.87rem;*/
    font-size: clamp(14px, 0.9739583333333333vw, 18.7px);
    border: 1px solid #BFBFBF;
    padding: 0 1.3rem 0.2rem 1.2rem;
    margin-right: 2rem;
    vertical-align: bottom;
    line-height: 1;
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    padding: 1rem 1.5rem;
}


.system .column2 {
    padding-top: 8rem;
}

.system .column2 p {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
    line-height: 1.85;
}

@media screen and (max-width: 950px) {
    .message span::after {
        width: 83%;
    }
}

/*
@media screen and (max-width: 1904px) {
    .message span {
        font-size: 5.5rem;
    }
}
*/
@media screen and (max-width: 1200px) {
    .rec-inner {
        width: 86.4%;
    }
}

@media screen and (max-width: 1024px) {
    .rec-inner {
        width: 95%;
    }
}

@media screen and (max-width: 768px) {
    .rec-inner {
        padding: 0;
    }

    .p-sought {
        font-size: 17px;
    }

    .rec-txt {
        width: 100%;
    }

    .p-sought-wrapper {
        padding: 0;
        width: 100%;
        margin-bottom: 40px;
        margin-top: 40px;
    }

    .p-sought-title {
        margin-bottom: 15px;
    }

    .message span {
        font-size: 32px;
    }

    .message span::after {
        width: 55%;
    }

    .features.column4 {
        display: block;
        margin-top: 40px;
    }

    .features.column4 li {
        width: 100%;
        margin-bottom: 40px;
    }

    .features.column4 li p {
        text-align: left;
    }

    .features.column4 li {
        text-align: center;
    }

    .features.column4 li:last-of-type {
        margin-bottom: 0;
    }

    .features-title {
        font-size: 19px;
    }

    .features-title span {
        font-size: 17px;
    }
}

/* 先輩社員紹介：タブ */

.rec_staff_tab {
    display: flex;
    width: 47.5609756097561%;
    overflow-x: auto;
    margin: 0 auto;
}

.rec_staff_job_column p {
    line-height: 1.6;
}

.rec_staff_job_column .sec3-wrapper {
    max-width: inherit;
}

.rec_staff_job_column .sec-wrapper {
    padding-left: 3.1rem;
}

.rec_staff_job_column .sec-wrapper .rec-image {
    width: 33.75796178343949%;
    margin-right: 4rem;
}

.rec_staff_tab li {
    border: solid 1px #D9D9D9;
    border-bottom: solid 1px #7F7F7F;
    cursor: pointer;
    padding: 0.9rem;
    text-align: center;
    background: #f2f2f2;
    width: 33.33333333333333%;
}

.rec_staff_tab li.active {
    background: #fff;
}

.rec_staff_tab li:nth-of-type(1) {
    border: solid 1px #7F7F7F;
    border-bottom: 1px solid #ffffff;
    z-index: 2;
    background: #fff;
}

.rec_staff_tab li:nth-of-type(1).nonactive {
    z-index: 0;
    border: solid 1px #D9D9D9;
    border-bottom: solid 1px #7F7F7F;
    background: #f2f2f2;

}

.rec_staff_tab li.active {
    border: solid 1px #7F7F7F;
    border-bottom: solid 1px #fff;
    z-index: 2;
    background: #fff;
}

.rec_staff_tab li img {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
}

/* 先輩社員紹介：コンテンツ部分 */
.staff_info-cnt01,
.staff_info-cnt02,
.staff_info-cnt03,
.staff_info-cnt04s {
    display: none;
}

.rec_staff_job.job-box {
    border-top: 1px solid #7F7F7F;
    z-index: 5;
    background: #fff;
}

.rec_staff_job .job-enclose {
    padding: 4rem 3rem 2rem 1rem;
    border-bottom: 1px solid #7F7F7F;
}

.rec_staff_job_column .essential p:nth-of-type(1) {
    margin-top: -1.5rem;
}

.rec-sec {
    display: flex;
    justify-content: space-between;
}

.rec-img {
    width: 31.7%;
}

.rec-img img {
    aspect-ratio: 52 / 39;
    object-fit: cover;
    width: 100%;
}

.rec-text {
    width: 65.2%;
}

.rec-text h3 {
    font-size: clamp(16px, 1.25vw, 24px);
}

@media only screen and (max-width: 1200px) {
    .rec_staff_job_column .sec-wrapper {
        /*justify-content: flex-start;
        gap: 4rem;*/
        padding-left: 0;
    }
}

@media only screen and (max-width: 768px) {
    div#staff-parent {
        margin-top: 40px;
    }

    .rec_staff_job_column {
        flex-wrap: wrap;
    }

    .rec_staff_job_column>div:nth-of-type(1),
    .rec_staff_job_column>div:nth-of-type(2) {
        width: 100%;
        padding-left: 0;
    }

    .rec_sikaku_wrap.column2>div {
        width: 100%;
    }

    .rec_staff_job_column h3.second.rec {
        font-size: 20px;
    }

    .rec_staff_job_column .sec3-wrapper .afs18 {
        font-size: 18px;
    }

    .rec-sec {
        flex-direction: column;
        align-items: center;
    }

    .rec-img {
        width: 100%;
        max-width: 520px;
        margin-bottom: 2rem;
    }


    .rec-text {
        width: 100%;
    }

    .rec-text h3 {
        font-size: 2.4rem;
    }

    .rec_staff_job .job-enclose {
        padding-left: 0;
        padding-right: 0;
    }

    .rec_staff_job_column .sec-wrapper .rec-image {
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .job-wrap {
        padding-top: 10px;
    }

    .rec_staff_tab {
        width: 95%;
    }

    .rec_staff_tab .afs14 {
        font-size: 11px;
    }

    .rec_staff_tab p.tac.afs12 {
        font-size: 13px;
    }
}

/* 募集要項 */
.rec_app_wrap#job-parent {
    margin: 0;
    padding-top: 1rem;
}

.rec_app_wrap .column2>div:first-of-type {
    width: 78rem;
}

.rec_app_wrap .column2>div:last-of-type {
    width: 75rem;
}

.rec_app_tab {
    margin-top: -1rem;
}

.rec_app_tab ul#job-select li {
    /* background: #fff; */
    padding: 4rem 1rem;
    text-align: center;
    font-size: 2.13rem;
    width: 38rem;
}

.rec_app_job.job-box {
    border-top: 1px solid #7F7F7F;
}

.rec_app_job .job-enclose {
    padding: 4.5rem 0 6rem 1rem;
    border-bottom: 1px solid #7F7F7F;
}

.job-enclose .rec-h3 {
    font-weight: 500;
    background: url(imgs/rec-h3.png) no-repeat 0 8px;
    margin-bottom: 4rem;
}

.rec-info-cnt {
    padding-left: 3rem;
    line-height: 1.85;
}

.rec_app_job .job-enclose section p {
    letter-spacing: 0;
}

.rec_app_contents {
    width: 100%;
}

.rec_app_contents tr:first-child {
    border-top: solid 1px #BFBFBF;
}

.rec_app_contents tr {
    border-bottom: solid 1px #BFBFBF;
}

.rec_app_contents th,
.rec_app_contents td {
    padding: 1rem 0;
}

.rec_app_contents th {
    padding-left: 1rem;
    padding-right: 2rem;
    vertical-align: top;
    width: 17%;
}

@media screen and (max-width: 1600px) {
    .job-enclose .rec-h3 {
        margin-bottom: 2rem;
        padding-left: 3rem;
        background: url(imgs/rec-h3.png) no-repeat 0 6px;
        background-size: 2.3rem;
    }
}

@media screen and (max-width: 1200px) {
    .rec_app_wrap .column2>div:first-of-type {
        width: 48.8%;
    }

    .rec_app_wrap .column2>div:last-of-type {
        width: 48.8%;
    }

    .rec-info-cnt {
        padding-left: 0;
    }
}

@media only screen and (max-width: 768px) {

    .rec_app_contents th,
    .rec_app_contents td {
        width: 100%;
        display: block;
        padding: 1rem 0 0 1rem;
    }

    .rec_app_wrap .column2>div {
        width: 100%;
    }

    .rec_app_tab ul#job-select li {
        font-size: 12px;
        padding: 50px 5px;
    }

    .rec-info-cnt {
        padding-left: 0;
    }
}

.recruitment-list {
    width: 100%;
    border-top: solid 1px #BFBFBF;
}

.recruitment-list .recruitment-detail {
    display: flex;
    border-bottom: solid 1px #BFBFBF;
}

@media screen and (max-width: 768px) {
    .recruitment-list .recruitment-detail {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .stan {
        overflow-y: scroll;
        height: 160px;
    }
}

.recruitment-list .recruitment_head {
    width: 15%;
    max-width: 140px;
    padding: 1rem 0;
}

@media screen and (max-width: 768px) {
    .recruitment-list .recruitment_head {
        width: 100%;
        padding: 1rem 0 1rem 1rem;
        font-weight: bold;
    }
}

.recruitment-list .recruitment_data {
    width: 85%;
    padding: 1rem 0 1rem 2rem;
}

@media screen and (max-width: 768px) {
    .recruitment-list .recruitment_data {
        width: 100%;
    }
}

.job-box .normal-table th {
    width: 14rem;
    line-height: 1.65;
    padding: 1rem 0 1rem 1rem;
}

.job-box .normal-table td {
    padding: 1rem 0 1rem 0;
    width: 66rem;
    line-height: 1.65;
    letter-spacing: 1%;
}

#job-parent {
    width: 100%;
    margin: 0 auto 35px;
}

.job-box {
    width: 100%;
    margin: -1px auto 0;
    background: rgba(255, 255, 255, 0.5);
    overflow-y: auto;
}

.job-box .info-cnt01,
.job-box .info-cnt02,
.job-box .info-cnt03 {
    display: none;
}

.job-select-parent {
    position: relative;
    width: 98%;
    margin: 0 auto;
    z-index: 5;
}

#job-select {
    display: flex;
    width: 104rem;
    margin: 0 auto;
}

#job-select li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    border: solid 1px #D9D9D9;
    border-bottom: 1px solid #7f7f7f;
    background: #f2f2f2;
    cursor: pointer;
}

#job-select li p {
    width: 100%;
    line-height: 1.3;
    text-align: center;
    font-family: "游明朝", "Yu Mincho", "HGP明朝B", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", "HiraMinProN-W6", serif;
}

#job-select li:nth-last-of-type(1) {
    border-right: solid 1px #fff;
}

#job-select li:nth-of-type(1) {
    color: #000;
    border: solid 1px #7f7f7f;
    border-bottom: solid 1px #fff;
    background: #fff;
    z-index: 5;
}

#job-select li:nth-of-type(1).nonactive {
    color: #000;
    border: solid 1px #D9D9D9;
    border-bottom: solid 2px #7f7f7f;
    background: #f2f2f2;
    z-index: 5;
}

#job-select li.active {
    background: #fff;
    border: solid 1px #7f7f7f;
    border-bottom: solid 1px #fff;
    z-index: 5;
}

#job-select li.nonactive {
    background: #f2f2f2;
    border: solid 1px #D9D9D9;
    border-bottom: solid 1px #7f7f7f;
}

.job-enclose {
    width: 100%;
    margin: 0 auto;
    padding: 4rem 1rem 1rem;
}

.job-enclose section>p {
    margin-bottom: 2rem;
}

@media screen and (max-width: 1280px) {
    .job-box .normal-table th {
        padding: 1rem 0 0 1rem;
    }

    .job-box .normal-table td {
        padding: 1rem 0 1rem 1rem;
    }
}

@media screen and (max-width: 768px) {
    .job-description {
        margin-bottom: 8rem;
    }

    .rec_app_job .job-enclose {
        padding-bottom: 10rem;
    }

    #job-select {
        width: 100%;
    }

    .job-wrap .normal-table th {
        display: block;
        width: 100%;
        padding: 1.5rem 0 0 1rem;
        font-weight: 700;
    }

    .job-wrap .normal-table td {
        display: block;
        padding: 1rem 0 1.8rem 1rem;
        width: 100%;
    }
}

/* 応募フォーム */

.mailform-recruit {
    width: 80%;
    max-width: 1160px;
    margin: 4rem auto 0;
}

.mailform-recruit iframe {
    width: 100%;
    height: 100%;
}

.mailform-recruit .tbl_form_box {
    border-top: none;
    padding: 0;
}

.rec_form {
    width: 100%;
}

.rec_form dl {
    border-top: 1px solid#BFBFBF;
    margin: 0;
    display: flex;
    padding: 10px 10px;
}

.rec_form dl:last-of-type {
    border-bottom: 1px solid#BFBFBF;
    margin-bottom: 5rem;
}

.rec_form dt {
    width: 34.5%;
    padding-left: 3rem;
}

.rec_form dd {
    width: 57.5%;
}

.mailform-recruit dd input {
    padding: 0.5rem;
}

.mailform-recruit .tbl_form_box dt p {
    /*font-size: 1.73rem;*/
    font-size: clamp(14px, 0.9010416666666666vw, 17.3px);
}

.rec_form .column .wpcf7-radio .wpcf7-list-item-label {
    margin-left: 1rem;
}

.rec_form .wpcf7-list-item-label {
    /*font-size: 1.73rem;*/
    font-size: clamp(14px, 0.9010416666666666vw, 17.3px);
}

.rec_form p {
    letter-spacing: 0;
}

.rec_form .post .wid-s {
    width: 120px;
    margin-left: 1rem;
}

.rec_form .birth .wid-s {
    margin-right: 0.5rem;
}

.birth .box-age {
    margin-right: 1rem;
    margin-left: 10rem;
}

.mailform-recruit .privacy-check-box {
    border: 1px solid #D9D9D9;
    padding: 2rem 2rem 2rem 2rem;
}

.mailform-recruit .privacy-info-box {
    border: 1px solid #D9D9D9;
    padding: 2rem 3rem 4rem;
}

.mailform-recruit .privacy-check-box.history:first-of-type {
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
}

.mailform-recruit .privacy-check-box .inhead-text {
    font-weight: 500;
}

.mailform-recruit .box-bor-gry-in p,
.mailform-recruit .box-bor-gry-in li {
    /*font-size: 1.47rem;*/
    font-size: clamp(14px, 0.765625vw, 14.7px);
}

.mailform-recruit .box-bor-gry-in .list-non-mark p,
.mailform-recruit .box-bor-gry-in .list-non-mark li {
    text-align: left;
    text-indent: -1em;
}

.mailform-recruit .shikaku textarea {
    height: 9rem;
}

@media screen and (max-width: 1279px) {

    .mailform-recruit,
    .phone-inner,
    .mail-form-wrapper {
        width: 86.4%;
    }
}

@media screen and (max-width: 768px) {
    .mailform-recruit {
        width: 100%;
        max-width: none;
    }

    .rec_form {
        width: 95%;
        padding: 2rem 0;
    }

    .rec_form dt {
        width: 100%;
        padding: 0;
        margin: 0 0 0.5rem 0;
        font-size: 17px;
    }

    .mailform-recruit .tbl_form_box dt p,
    .tbl_form_box dd p,
    .rec_form .wpcf7-list-item-label {
        font-size: 17px !important;
    }

    .tbl_form_box dd .tenpu {
        font-size: 14px;
    }

    .mailform-recruit .box-bor-gry-in p,
    .mailform-recruit .box-bor-gry-in li {
        font-size: 17px;
    }

    .rec_form dd {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .tbl_form_box dd p {
        font-size: 17px;
    }

    .shikaku-txt {
        font-size: 18px;
    }

    .wpcf7-list-item-label {
        font-size: 13px;
    }

    .recruit .tac .afs20 {
        font-size: 20px;
    }

    .recruit .rec-comment {
        margin-bottom: 1rem;
        font-size: 18px;
    }

    .recruit figcaption {
        font-size: 14px;
    }

    .contact-check p .wpcf7-list-item-label {
        font-size: 14px;
    }

    .wid-s {
        width: 50px;
    }

    .rec_form .birth .wid-s {
        margin-bottom: 0.5rem;
    }

    .wpcf7-list-item {
        margin-left: 0;
    }

    .inhead-text {
        font-size: 17px;
    }

    .mailform-recruit .privacy-info-box {
        padding: 1.5rem;
    }

    .mailform-recruit .privacy-info-box ul.list-non-mark {
        padding-left: 1.5rem;
    }

    dd input[type=file] {
        font-size: 16px;
    }
}

/*******************************************/
/*個人情報の取り扱いについて（応募フォーム）*/
/*******************************************/
.rec_form .txt-c span {
    text-align: center;
}

.recruit .contact-check {
    margin-top: 0;
}

.recruit .input-check .contact-check .bold .wpcf7-list-item-label {
    font-weight: 600;
}

.recruit .form_submit {
    margin-top: 6rem;
}

@media (max-width: 768px) {
    .recruit .contact-check {
        text-align: center;
    }
}

.scroll-hint-icon {
    z-index: 10;
}

/*******************************************/
/*プライバシーポリシーのページ*/
/*******************************************/
ul.privacy-list {
    line-height: 1.7;
}

.privacy-list li {
    padding-bottom: 20px;
    list-style: decimal inside;
    text-align: left;
}

.privacy .second .inner {
    max-width: 1200px;
}

@media screen and (max-width:768px) {
    .privacy-inner {
        margin-top: 5rem;
        width: 100%;
    }

    .privacy-list li {
        padding-bottom: 30px;
    }

    .privacy-inner li {
        font-size: 17px;
    }

    .privacy-inner p {
        font-size: 17px;
    }
}

.bottom16 {
    padding-top: 6rem;
    padding-bottom: 10rem;
}

.bottom16:last-of-type {
    padding-bottom: 16rem;
}

.construction h3 {
    margin-bottom: 3.5rem;
}

/*セカンドH2*/

h2 {
    position: relative;
    margin-bottom: 4rem;
    font-size: clamp(18px, 1.942708333333333vw, 37.3px);
    text-align: center;
    color: #283890;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0.13rem;
}

h2::after {
    content: attr(data-en);
    display: block;
    color: #283890;
    font-size: clamp(14px, 0.9739583333333333vw, 18.7px);
    font-family: "Zen Old Mincho", sans-serif;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 0.13rem;
    margin-top: 1rem;
}

@media screen and (max-width: 768px) {
    h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    h2::after {
        font-size: 15px;
        margin-top: 5px;
    }

    h2.privacy-h2 {
        font-size: 21px;
    }

    .bottom16 {
        padding-top: 60px;
        padding-bottom: 20px;
    }
}

/*------------------------------------
  業務内容
------------------------------------*/
.flex2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    list-style-type: none;
    margin-left: 7rem;
}

.flex2>li:first-of-type {
    width: 42.10526315789474%;
    margin-right: 4rem;
}

.flex2>li:last-of-type {
    margin-right: 0;
    width: 61.65413533834586%;
}

.flex2>li img {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .flex2 {
        display: block;
        margin-left: 0;
    }

    .flex2>li {
        margin-right: 0;
    }

    .flex2>li:first-of-type {
        width: 80%;
        margin: 0 auto;
        max-width: 280px;
        margin-bottom: 20px;
    }

    .flex2>li:last-of-type {
        width: 100%;
    }
}

.pc-br {
    display: block;
}

.footer-img {
    display: none;
}


@media screen and (max-width: 768px) {
    .pc-br {
        display: none;
    }

    .footer-img {
        display: block;
        width: 100%;
        height: 300px;
        background: url("imgs/footer_bg.webp") no-repeat top center/cover;
        position: relative;
    }

    .footer-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .copyright.sp-br {
        margin-top: 0;
        padding: 10px;
        color: #fff;
        font-size: 13px;
        position: absolute;
        bottom: 0;
    }
}