@charset "UTF-8";

/* ===============================================
# 基本設定
=============================================== */
* {
    margin: 0;
    padding: 0;
    font-family: "游ゴシック体", "Yu Gothic", "游ゴシック", "YuGothic", sans-serif;
}

.wrapper {
    position: relative;
    padding-bottom: 500px;
    min-height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
}

main {
    margin: 100px auto 10px auto;
    width: 90%;
    min-width: 300px;
}

main h2 {
    text-align: center;
}

section {
    margin: 20px 10px 50px;
}

h1 {
    color: #fff;
}

h2 {
    margin-bottom: 30px;
    font-size: 20px;
}

p {
    margin-bottom: 20px;
    line-height: 2;
}

a {
    display: block;
    line-height: 2;
    text-decoration: none;
    color: #000;
    padding-left: 20px;
}

p a {
    display: inline;
    text-decoration: underline;
    color: #19448E;
}

a:hover {
    opacity: 0.3;
}

@media(min-width: 769px) {
    main {
        width: 50%;
        min-width: 700px;
    }
}

@media(max-width: 769px) {
    * {
        font-size: 14px;
    }

    main {
        margin: 30px auto 50px auto;
    }
}

/* ===============================================
# ヘッダー
=============================================== */
header {
    position: relative;
    text-align: center;
    color: #fff;
    background-color: #2F528F;
    background-position: center;
    background-size: cover;
}

header .header_bar {
    padding: 8px;
    height: 56px;
    box-sizing: border-box;
    background-color: #698ED0;
    z-index: 99999;
    position: relative;
}

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

header img {
    margin: 10px;
    width: auto;
    height: 30px;
}

header .fa-bars {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    font-size: 26px;
    color: #6e6e6e;
}

header nav {
    display: none;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1;
    position: absolute;
    top: 57px;
    left: 0;
    padding-right: 20px;
}

header ul {
    padding-left: 0;
    list-style-type: none;
}

header nav a {
    padding: 10px;
}

header h2 {
    margin-bottom: 0;
}

@media(min-width: 979px) {
    header nav {
        display: flex !important;
        position: static;
        background-color: transparent;
        margin: 0;
        margin-right: 20px;
        justify-content: right;
    }

    header .fa-bars {
        display: none;
    }

    header nav ul {
        display: flex;
        font-size: 14px;
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

    header nav li {
        margin-left: 20px;
    }

    header nav a {
        text-decoration: none;
        color: #000000;
        padding: 10px;
    }
}

@media(min-width: 769px) {
    header .header_bar {
        padding: 10px;
        height: 68px
    }

    header .inner {
        margin: 0 auto;
        max-width: 1500px;
    }

    header img {
        margin-left: 30px;
        height: 40px;
        width: auto;
    }
}

/* ===============================================
# 共通 - ヘッダー
=============================================== */
.common header .title {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    height: 40vh;
    min-height: 300px;
}

.common header h1 {
    font-size: 25px;
    letter-spacing: 3px;
}

header .inner a {
    padding-left: 20px;
}

@media(min-width: 769px) {
    .common header h1 {
        font-size: 45px;
        letter-spacing: 5px;
    }
}

@media(max-width: 1366px) {
    header .inner a {
        padding-left: 0;
    }
}

/* ===============================================
# 共通 - メイン
=============================================== */
.common main h2 {
    margin: 80px 10px 30px 10px;
    font-size: 20px;
    color: #3C3C3C;
}

.common main h2::after {
    content: '';
    display: block;
    height: 3px;
    background-color: #3C3C3C;
}

.common main ul {
    margin-bottom: 25px;
    padding-left: 22px;
}

.common main ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.common main ol li {
    padding-left: 5px;
}

.outcome {
    font-weight: 600;
}

/* ===============================================
# TOP
=============================================== */
.top header .header_bar {
    background-color: #fff;
}

.top .mainlogo {
    margin: 0 auto;
    max-width: 1500px;
    width: 100%;
}

.top .gradation {
    background-image: linear-gradient(90deg, #baebfd 1%, #0e3697);
    width: 1920px;
    max-width: 100%;
    height: auto;
}

.top .mainlogo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.top section {
    margin: 20px auto 50px;
    width: 90%;
}

.top h1 {
    color: #3C3C3C;
    margin-bottom: 30px;
}

.top table {
    width: 100%;
    text-align: justify;
}

.top tr {
    display: block;
}

.top td {
    display: block;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.top .img {
    text-align: center;
}

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

.top .text {
    text-align: justify;
}

.top p {
    margin: 0 auto;
    padding: 0 10px 0 0;
    text-align: justify;
}

.top .p-center {
    width: 95%;
    padding: 0 0;
}

.top .process-list {
    /*     display: flex; */
    display: block;
    flex-wrap: wrap;
    gap: 10px;
    width: 90%;
    margin: 0 auto;
    text-align:
        /*  justify; */
        center;
    letter-spacing: 0.1em;
}

.top .process-list span {
    white-space: nowrap;
    margin-bottom: 8px;
}

.top .flex-box {
    display: flex;
    gap: 20px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.top .flex-box .auth03 {
    width: 200px;
    height: auto;
    text-align: center;
}

.top video {
    margin-top: 200px;
    text-align: center;
    width: 100%;
    /* 動画をレスポンシブ化 */
}

@media(min-width: 769px) {
    .top tr {
        display: table-row;
    }

    .top td {
        display: table-cell;
        vertical-align: top;
        width: auto;
    }

    .top .img {
        width: 40%;
    }

    .top .img img {
        width: 240px;
        height: auto;
    }

    .top .text {
        width: 60%;
    }

    .top .flex-box {
        flex-direction: row;
    }

    .top .flex-box figure {
        width: 200px;
    }
}

@media(max-width: 769px) {
    .top .process-list {
        /*         display: flex; */
        flex-direction: column;
        text-align: center;
    }

    .top main {
        margin-top: 80px;
    }
}

@media(max-width: 375px) {
    .top .text p {
        text-align: left;
    }
}

@media(max-width: 1400px) {
    .top h1 {
        font-size: 23px;
    }
}

/* ===============================================
# 会社案内
=============================================== */
.about .flex {
    /*     margin: 10px; */
    display: flex;
    gap: 10px;
}

.about .flex .text h3 {
    font-size: 23px;
}

.about .flex .text {
    margin: 5px;
    vertical-align: top;
    font-size: 17px;
}


.about dl {
    margin: 10px;
    border-bottom: 1px dashed #ccc;
}

.about dt {
    float: left;
    padding: 10px;
}

.about dd {
    margin-left: 120px;
    padding: 10px 5px;
}

.about dd a {
    display: inline;
    padding-left: 0;
    color: #2F528F;
    font-weight: bold;
}

@media(max-width: 769px) {
    .about .process-list dl {
        font-size: 13px;
    }

    .about .flex {
        display: flex;
        flex-direction: column;
    }

    .about main {
        margin-top: 80px;
    }
}

@media(max-width: 770px) {
    .about .flex {
        margin: 0 auto;
        width: 100%;
    }
}

@media(max-width: 1380px) {
    .about .process-list dd span {
        display: block;
    }
}

/* ===============================================
# 加工設備
=============================================== */
.facility .table-scroll {
    overflow-x: auto;
    width: 100%;
    /*        word-break: break-all; */

}

.facility .table-scroll table {
    /*  min-width: 1000; */
    width: 100%;
    font-size: 14px;
    min-width: 930px;
    /* ← 小さすぎないように最低幅を設定 */
    table-layout: auto;
    /* ← セルの内容で幅を自動調整 */
    white-space: normal;
    /* ← 折り返しを許可 */
    border-collapse: collapse;
}


.facility p {
    text-indent: -1rem;
    padding-left: 1rem;
}

col.name {
    width: 20%;
}

col.maker {
    width: 15%;
}

col.model {
    width: 15%;
}

col.spec {
    width: 20%;
}

col.feature {
    width: 30%;
}

.facility th {
    border: 1px solid #3C3C3C;
    padding: 8px;
    text-align: center;
    vertical-align: baseline;
    word-break: break-word;
    /* 長い単語も折り返し可能に */
    white-space: normal;

}

.facility td {
    border: 1px solid #3C3C3C;
    padding: 8px;
    text-align: left;
    vertical-align: baseline;
    word-break: break-word;
    /* 長い単語も折り返し可能に */
    white-space: normal;

}

@media(min-width: 1366px) {
    .facility .table-scroll table {
        white-space: normal;
    }
}


/* ===============================================
# 製品案内
=============================================== */
.products .flex-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 660px;
    margin: 0 auto;
    justify-content: center;
}

.products .flex-box figure {
    margin: 0;
}

@media(min-width: 769px) {
    .products .flex-box {
        justify-content: flex-start;
    }
}

@media(min-width: 500px) {
    .products .flex-box {
        justify-content: left;
    }
}

/* ===============================================
# 採用
=============================================== */

.recruit .text {
    padding: 10px 0 0 10px;
}

.recruit table {
    text-align: justify;
}

/* ===============================================
# アクセス
=============================================== */
.access {
    margin-right: auto;
    margin-left: auto;
    width: 60%;
}

.access div {
    text-indent: -1em;
}

.access img {
    position: relative;
    right: 25px;
    max-width: 98%;
    height: auto;
}

.access .car-access {
    margin: 80px auto 50px auto;
}

.access .train-access {
    margin: 0 auto 50px auto;
}

@media(max-width: 769px) {
    .access div {
        text-indent: -1em;
    }

    .access img {
        position: relative;
        right: 50px;
        max-width: 140%;
        height: auto;
        margin-top: 30px;
    }
}


/* ===============================================
# お問い合わせ
=============================================== */
.contact {
    text-align: center;
    margin: 100px auto 0 auto;
}

.contact h4 {
    font-weight: normal;
    margin-bottom: 80px;
}

.contact p {
    font-weight: bold;
    font-size: 24px;
}


@media(max-width: 769px) {
    .contact p {
        margin-bottom: 120px;
    }
}


/* ===============================================
# お探しのページが見つかりませんでした
=============================================== */

.not_found .main-title {
    font-size: 26px;
    padding: 16px;
    line-height: 1.6;
    border-top: 4px double;
    border-bottom: 4px double;
    text-align: center;
    color: #2F528F;
}

.not_found .text {
    padding: 80px 40px;
    line-height: 32px;
}

.not_found a {
    padding: 0 0;
    color: #3C3C3C;
}

@media(max-width: 548px) {
    .not_found .main-title {
        text-align: left;
    }
}

/* @media(min-width: 769px) and (max-width: 1000px) {
    .shorten .wrapper {
/*         height: 1000px; */
/*         min-height: auto; */




/* ===============================================
# TOPへ戻る
=============================================== */
.page_top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    cursor: pointer;
    z-index: 99999;
    color: #000;
}

.page_top::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 9px;
    right: -8px;
    width: 100%;
    border-top: solid 1px #898989;
}

@media(min-width: 320px) {
    .page_top {
        right: 16px;
        bottom: 20px;
        font-size: 24px;
        color: #000;
    }

    .page_top::after {
        right: -12px;
        bottom: 15px;
    }
}

/* ===============================================
# フッター
=============================================== */
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    text-align: left;
    color: #fff;
    background-color: #2F528F;
}

footer .inner {
    margin: 40px auto 30px auto;
    width: 90%;
    min-width: 300px;
}

footer h2 {
    margin-bottom: 0;
    letter-spacing: 6px;
}

footer a {
    display: inline-block;
    color: #fff;
}

footer li a {
    padding: 0;
}

footer nav {
    margin-top: 30px;
    font-size: 14px;
}

footer h3 {
    border-bottom: solid 1px #fff;
}

footer ul {
    list-style-type: none;
}

footer nav a {
    padding-top: 2px;
    padding-bottom: 2px;
}

footer p {
    text-align: center;
}

@media(min-width: 769px) {
    footer {
        height: 359px;
    }

    footer .inner {
        display: flex;
        justify-content: space-between;
        width: 50%;
        min-width: 700px;
    }

    footer .title {
        width: 50%;
    }

    footer h2 {
        font-size: 22px;
    }

    footer a {
        display: block;
    }

    footer nav {
        margin-top: 0;
        width: 24%;
    }

    footer nav a {
        padding-top: 1px;
        padding-bottom: 1px;
    }
}

@media(max-width: 769px) {
    footer .inner h3 {
        padding-left: 1rem;
    }

    footer .inner li a {
        padding-left: 1rem;
    }
}