/*

設定

*/

* {
    box-sizing: border-box;
    font-size: 100%;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
}

*:target {
    scroll-margin-top: 50px;
}

html.active {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

a {
    text-decoration: none;
    color: black;
}

img {
    vertical-align: bottom;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*

ヘッダーエリア

*/
header {
    width: 100%;
    height: 350px;
    padding: 0 50px 0 50px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    /* background-color: #9d4517; */
}

/* header {
    width: 1620px;
    margin: 0 auto;
    padding: 30px 0 0 0;
    display: flex;
    justify-content: space-between;
} */

@media screen and (max-width: 1280px) {
    header {
        height: 250px;
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    header {
        height: 10%;
        max-height: 10%;
    }
}

#header-area {
    display: flex;
    flex-direction: column;
    width: 75%;
    /* background-color: #2262a3; */
}

#header-illust {
    width: 25%;
    /* background-color: aqua; */
}

#header-illust img {
    width: 100%;
    object-fit: cover;
}

.f-antonio-brown {
    font-family: "Antonio", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-size: 24px;
    color: #9d4517;
}

#page-title-area {
    padding: 30px 0 0 0;
}

#page-title-area span {
    font-size: 24px;
    margin-left: 15px;
}

#page-title-area h1 {
    color: #17599d;
    margin-top: -50px;
    font-size: 10rem;
    font-family: "arial", sans-serif;
    font-weight: 700;
    font-style: normal;
}

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

    #header-area {
        display: flex;
        flex-direction: column;
        width: 75%;
        /* background-color: #2262a3; */
    }

    #page-title-area {
        padding: 25px 0 0 0;
    }

    #page-title-area span {
        font-size: 16px;
        margin-left: 15px;
    }

    #page-title-area h1 {
        margin-top: -7px;
        margin-left: 15px;
        font-size: 10vw;
    }

    #header-illust {
        width: 25%;
        /* background-color: #2262a3; */
    }

    #header-illust img {
        transform: scale(100%);
    }

    .f-antonio-brown {
        font-size: 16px;
    }

}

#scroll-nav {
    display: none;
}

#scroll-nav,
#header-nav {
    transition: all .5s;
}

#scroll-nav {
    top: -100px;
    /* 初期状態で隠しておく */
}

#scroll-nav>ul,
#header-nav>ul {
    list-style: none;
    display: flex;
    gap: 0 30px;
}

#scroll-nav>ul>li,
#header-nav>ul>li {
    border-top: 0.5px solid black;
    border-left: 0.5px solid black;
    border-bottom: 0.5px solid black;
    font-size: 16px;
}

#scroll-nav>ul>li>a,
#header-nav>ul>li>a {
    display: block;
    padding: 10px 15px;
    width: 100%;
    height: 100%;
}

#scroll-nav>ul>li>a:hover span,
#header-nav>ul>li>a:hover span {
    transition: all .5s;
    color: #17599d;
}

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

    #header-nav>ul {
        display: none;
    }

    #scroll-nav>ul {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        overflow: scroll;
        padding: 0 15px;
    }

    #scroll-nav>ul>li {
        border-top: 0.5px solid black;
        border-left: 0.5px solid black;
        border-bottom: 0.5px solid black;
        font-size: 14px;
        min-width: 150px;
        max-width: 15%;
    }

    #scroll-nav>ul>li>a {
        display: block;
    }

    #scroll-nav>ul>li>a:hover span {
        transition: all .5s;
        color: #17599d;
    }
}


/*navスクロール挙動*/
@keyframes navOpen {
    0% {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes navClose {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100%);
    }
}

/* #header-nav.top-fixed {
    left: 0;
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0.3px 0.3px 10px rgb(158, 158, 158);
    padding: 20px 0;
    animation: navOpen .5s;
}

#header-nav.top-fixed ul {
    width: 1280px;
    margin: auto;
    justify-content: space-around;
    transition: all .5s;
} */

/* #header-nav.top-fixed + #page-title-area {
    padding-top: 100px;
    transition: all .5s;
} */

#scroll-nav.top-fixed {
    display: block;
    left: 0;
    position: fixed;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0.3px 0.3px 10px rgb(158, 158, 158);
    padding: 20px 0;
    animation: navOpen .5s;
}

#scroll-nav.top-fixed.show {
    transform: translateY(0);
}

/* 上スクロールでフェードイン */
#scroll-nav.visible {
    opacity: 1;
}

/* 下スクロール時（visibleが外れる）で上へスライド＋フェードアウト */
#scroll-nav:not(.visible) {
    transform: translateY(-100%);
    opacity: 0;
}

#scroll-nav.top-fixed ul {
    width: 1280px;
    margin: auto;
    justify-content: space-around;
}

@media screen and (max-width: 1280px) {
    #scroll-nav.top-fixed ul {
        width: 100%;
        margin: auto;
        justify-content: flex-start;
    }
}

/*

ヒーローエリア

*/

#hero {
    width: 100%;
    max-height: 600px;
    margin-top: 0;
    overflow: hidden;
    position: relative;
}

#hero picture {
    display: block;
    width: 100%;
    transform: translateY(-35%);
}

#hero picture img {
    width: 100%;
}

#jp-copy,
#en-copy {
    position: absolute;
}

#jp-copy {
    top: 38%;
    left: 15%;
    background-color: white;
    padding: 15px 30px;
    font-size: 29px;
    font-weight: bold;
    color: #17599d;
}

#en-copy {
    top: 50%;
    left: 15%;
    line-height: 1em;
    font-family: "Antonio", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-size: 120px;
    color: white;
    text-shadow: 1px 1px 5px black;
}

#en-copy>div {
    position: relative;
    display: inline;
    background: linear-gradient(transparent 50%,
            /*上から50%未満は透明*/
            #2262a3 50%
            /*50%以降は青*/
        );
    margin: 0 auto 50px;
    padding: 0 10px 0 10px;
}

@media screen and (max-width: 1280px) {
    #hero {
        min-height: 100px;
        max-height: 400px;
        margin-top: 0px;
    }

    #hero picture {
        display: block;
        width: 100%;
    }

    #hero picture img {
        transform: scale(200%);
    }

    #jp-copy {
        top: 100px;
        left: 20px;
        font-size: 2.5vw;
    }

    #en-copy {
        top: 160px;
        left: 20px;
        font-size: 8vw;
    }
}

@media screen and (max-width: 768px) {
    #hero {
        min-height: 200px;
        max-height: 350px;
        margin-top: 0px;
    }

    #jp-copy {
        top: 120px;
        left: 20px;
        font-size: 2.5vw;
    }

    #en-copy {
        top: 180px;
        left: 20px;
        font-size: 10vw;
    }
}

/*

ヒーロー逆三角装飾

*/

#hero-triangle {
    background-color: #2262a3;
    width: 100%;
    height: 90px;
    clip-path: polygon(0 0, 100% 0, 50% 100%, 50% 100%);
    margin-top: -0.5px;
}

@media screen and (max-width: 1280px) {
    #hero-triangle {
        height: 65px;
        clip-path: polygon(0 0, 100% 0, 50% 100%, 50% 100%);
        margin-top: -0.5px;
    }
}

/*

セクションエリア（共通）

*/

section {
    padding: 50px 0;
}

.sec-gray {
    background-color: #F4F4F4
}

.sec-flex {
    margin: auto;
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    gap: 0 30px;
    /* background-color: #2262a3; */
    align-items: center;
    margin-bottom: 50px;
}

.sec-flex p {
    line-height: 1.8em;
}

.sec-flex p>a {
    text-decoration: underline;
    font-weight: 900;
    color: #278ce5;
}

.sec-title-space-center {
    margin: 75px auto;
    max-width: 35%;
}

h2 {
    display: flex;
    flex-direction: column;
    text-align: center;
}

h2>span:nth-of-type(2),
h2>span:nth-of-type(3) {
    font-family: "Antonio", sans-serif;
    font-optical-sizing: auto;
}

h2>span:nth-of-type(2) {
    font-size: 60px;
    background-color: #2262a3;
    color: white;
    text-shadow: 1px 1px 3px black;
    font-weight: bold;
    padding: 0 50px 8px 50px;
    margin: 8px 0;
}

h2>span:nth-of-type(3) {
    font-size: 15px;
}

h2>span:nth-of-type(4) {
    font-size: 24px;
    color: #9d4517;
}

@media screen and (max-width: 980px) {
    section {
        padding: 30px 0;
    }

    .sec-flex {
        margin: auto;
        display: flex;
        flex-direction: column;
        max-width: 100%;
        gap: 30px 0;
        margin-bottom: 30px;
        padding: 0 30px;
    }

    .sec-title-space-center {
        margin: 50px auto;
        max-width: 50%;
        min-width: 50%;
    }

    h2>span:nth-of-type(2) {
        font-size: 30px;
    }

    h2>span:nth-of-type(3) {
        font-size: 16px;
    }

    h2>span:nth-of-type(4) {
        font-size: 16px;
    }
}

/*

新着情報エリア

*/

#news-area>dl {
    line-height: 1.8em;
    display: flex;
    flex-direction: column;
    gap: 15px 0;
}

#news-area>dl>dt {
    color: #9d4517;
    font-size: 18px;
    font-weight: bold;
}

/*コンテンツメーカー用*/
#news-area dl .news-area {
    line-height: 1.8em;
    display: flex;
    flex-direction: column;
    gap: 15px 0;
    max-width: 500px;
    /* background-color: #1D3F62; */
}

#news-area dl .news-area dt {
    color: #9d4517;
    font-size: 18px;
    font-weight: bold;
}

#news-area dl .news-area dd {
    font-size: 22px;
    margin-bottom: 15px;
}

/*新着4件目以降は見えなくする*/
#news-area dl .news-area dt:nth-of-type(n+4),
#news-area dl .news-area dd:nth-of-type(n+4) {
    display: none;
}

.read-more-area {
    display: block;
    width: 210px;
    margin: 0 auto;
    padding: 50px 0;
}

.read-more-flex {
    display: flex;
    justify-content: space-between;
    /* background-color: #2262a3; */
    align-items: center;
    color: #1D3F62;
}

.read-more-flex>p:nth-of-type(1) {
    font-size: 18px;
    font-weight: bold;
}

.circle-bt {
    background-color: #1D3F62;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    transition: background-color .5s;
}

.circle-bt.hovered {
    background-color: #278ce5;
}

.circle-bt>span:nth-of-type(1) {
    font-size: 18px;
    font-family: "Antonio", sans-serif;
    font-optical-sizing: auto;
}

.circle-bt>span:nth-of-type(2) {
    transition: transform .5s;
}

.circle-bt.hovered>span:nth-of-type(2) {
    transform: rotate(360deg);
}

@media screen and (max-width: 980px) {
    #news-area dl {
        width: 100%;
        padding: 0 0;
    }

    #news-area dl dt {
        font-size: 16px;
    }

    #news-area dl dd a {
        font-size: 18px;
    }

}

/*

強みエリア

*/
.sec-movie-space {
    width: 1000px;
    margin: auto;
    padding-bottom: 50px;
    position: relative;
}

.sec-movie-space>p:nth-of-type(1) {
    position: absolute;
    font-size: 24px;
    font-weight: bold;
    z-index: 4;
    top: 20px;
    left: 20px;
    width: calc(100% - 20px);
    background: linear-gradient(-90deg, rgba(255, 255, 255, 0) 0, #fff 160%);
    padding: 25px 8px 8px 8px;
}

.sec-movie-space>p:nth-of-type(1)>span {
    position: relative;
}

.sec-movie-space>p:nth-of-type(1)>span::before {
    font-family: "arial", sans-serif;
    position: absolute;
    width: 100%;
    bottom: 1.5em;
    left: 2px;
    z-index: -1;
    color: #17599d;
    opacity: 1;
    font-size: 20px;
    line-height: 1;
    content: attr(data-word);
    pointer-events: none;
}

.sec-movie-space>video {
    width: 1000px;
    height: 100%;
    vertical-align: bottom;
}

.video-cover {
    width: 100%;
    height: calc(100% - 50px);
    background-color: #1D3F62;
    mix-blend-mode: lighten;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

@media screen and (max-width: 980px) {
    .sec-movie-space {
        width: 100%;
    }

    .sec-movie-space>video {
        width: 100%;
    }

    .sec-movie-space>p:nth-of-type(1) {
        font-size: 16px;
    }

    .sec-movie-space>p:nth-of-type(1)>span::before {
        font-size: 14px;
    }

}



.sec-gallery-space {
    width: 1000px;
    margin: 0 auto;
}

.sec-gallery-space-flex {
    display: flex;
    gap: 0 30px;
}

.sec-gallery-space-flex>picture {
    width: calc(100% / 3);
    height: 400px;
    overflow: hidden;
    display: block;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.sec-gallery-space-flex>picture:nth-of-type(1) {
    background-image: url(../img/sec-galley-01.webp);
}

.sec-gallery-space-flex>picture:nth-of-type(2) {
    background-image: url(../img/sec-galley-02.webp);
}

.sec-gallery-space-flex>picture:nth-of-type(3) {
    background-image: url(../img/sec-galley-03.webp);
}


.sec-gallery-space-flex>picture::before {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 20px;
    color: white;
    text-shadow: 0.5px 0.5px 0.2px black;
    z-index: 3;
    white-space: pre;
}

.sec-gallery-space-flex>picture:nth-of-type(1):before {
    content: '伊丹空港近く\A近隣に駐車場完備';
}

.sec-gallery-space-flex>picture:nth-of-type(2):before {
    content: '過去を含め\A自動機製作実績1000件以上';
}

.sec-gallery-space-flex>picture:nth-of-type(3):before {
    content: 'メーカー・飲食業界など\A大手企業据付のノウハウ多数';
}

.sec-gallery-space-flex>picture::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 125px;
    height: 125px;
    background-color: rgba(23, 89, 157, 1);
    backdrop-filter: blur(5px);
    mix-blend-mode: multiply;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

@media screen and (max-width: 980px) {
    .sec-gallery-space {
        width: 100%;
        padding: 0 30px;
    }

    .sec-gallery-space-flex {
        flex-direction: column;
        gap: 30px 0;
    }

    .sec-gallery-space-flex>picture {
        width: calc(100%);
        height: 275px;
    }
}

.strengths-space {
    width: 1000px;
    margin: 0 auto;
}

.strengths-space-flex {
    display: flex;
    gap: 0 50px;
    justify-content: space-between;
}

.strengths-space-flex>div {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 30px 0;
}

.strengths-space-flex>div>h3 {
    font-size: 24px;
    font-weight: 900;
    color: #2262a3;
}

.strengths-space-flex>div>p {
    line-height: 1.8em;
}

.strengths-space-flex>div>p:nth-of-type(2) {
    text-align: right;
    font-size: 18px;
    font-weight: bold;
}

.strengths-space-flex>div>p:nth-of-type(2) span:nth-of-type(1) {
    font-size: 14px;
    font-weight: normal;
}

.strengths-space-flex>picture {
    width: 50%;
}

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

    .strengths-space {
        width: 100%;
        padding: 0 30px;
    }

    .strengths-space-flex {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px 0;
    }

    .sec:nth-of-type(4) .strengths-space-flex {
        /*代表挨拶レイアウト用*/
        flex-direction: column;
    }

    .strengths-space-flex>div {
        width: 100%;
        gap: 30px 0;
    }

    .strengths-space-flex>div>h3 {
        text-align: center;
    }

    .strengths-space-flex>div>p:nth-of-type(2) {
        text-align: center;
    }

    .strengths-space-flex>picture {
        width: 100%;
    }
}


.four-reason-space {
    width: 1200px;
    margin: 100px auto 0 auto;
}

.four-reason-space-title {
    display: flex;
    flex-direction: column;
    gap: 30px 0;
}

.four-reason-space-title>h3 {
    font-size: 24px;
    font-weight: 900;
    color: #2262a3;
}

.four-reason-space-title>p {
    line-height: 1.8em;
}

.four-reason-space-flex {
    margin: 50px 0 0 0;
    display: flex;
    gap: 0 15px;
    align-items: center;
    justify-content: space-between;
}

.four-reason-space-flex>.circle-title {
    width: 235px;
    height: 235px;
    background-color: white;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    color: #17599d;
}

.four-reason-space-flex>.circle-title::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-family: "Anton", sans-serif;
    font-optical-sizing: auto;
    color: rgba(23, 89, 157, 0.25);
}

.four-reason-space>div:nth-of-type(2)>.circle-title::after {
    content: '1';
}

.four-reason-space>div:nth-of-type(3)>.circle-title::after {
    content: '2';
}

.four-reason-space>div:nth-of-type(4)>.circle-title::after {
    content: '3';
}

.four-reason-space>div:nth-of-type(5)>.circle-title::after {
    content: '4';
}

.four-reason-space-flex>p {
    width: 600px;
    line-height: 1.8em;
}

.four-reason-space-flex>picture {
    width: calc(100% / 3 - 100px);
}

@media screen and (max-width: 1280px) {
    .four-reason-space {
        width: 100%;
        padding: 0 30px;
    }

    .four-reason-space-flex {
        margin: 50px 0 0 0;
        flex-wrap: wrap;
        gap: 30px 15px;
        align-items: center;
        justify-content: center;
    }

    .four-reason-space-flex>p {
        width: 600px;
        line-height: 1.8em;
    }

    .four-reason-space-title>h3 {
        text-align: center;
    }

    .four-reason-space-flex>picture {
        width: calc(100%);
    }
}

/*

アクセントタイトル

*/

.accent-title-space {
    padding: 30px 0;
    width: 100vw;
    overflow: hidden;
}

.accent-title-inner {
    display: flex;
    gap: 0 50px;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 8%);
    /* background-color: antiquewhite; */
    overflow: hidden;
    position: relative;
}

/*青文字*/
.accent-title-inner>p {
    font-size: 200px;
    font-family: "Antonio", sans-serif;
    font-weight: 700;
    font-optical-sizing: auto;
    color: #2262a3;
}

/*ドリルの芯（縁）*/
.accent-title-inner>div:nth-of-type(1) {
    height: 30px;
    width: 95%;
    background-color: #17599d;
    border: unset;
    clip-path: polygon(0 0, 97% 0, 100% 100%, 0 100%);
    position: relative;
    z-index: 1;
}

/*ドリルの芯（背景）*/
.accent-title-inner>div:nth-of-type(1)::after {
    content: '';
    position: absolute;
    display: block;
    top: 2px;
    left: 0;
    height: calc(100% - 4.5px);
    width: calc(99.4%);
    background-color: #F4F4F4;
    clip-path: polygon(0 0, 97.5% 0, 100% 100%, 0 100%);
    z-index: -1;
}

/*ドリルの芯（背景）*/
.accent-title-inner>div:nth-of-type(2) {
    position: absolute;
    content: '';
    top: 50%;
    right: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 0 20px;
    z-index: 3;
}

.accent-title-inner>div:nth-of-type(2) span {
    height: 50px;
    width: 20px;
    background-color: #F4F4F4;
    border: 2px solid #17599d;
    transform: rotate(-15deg);
}

.accent-title-inner.accent-left {
    flex-direction: row-reverse;
    padding-left: 5%;
    width: 100%;
    overflow: hidden;
}

.accent-title-inner.accent-left>div:nth-of-type(1) {
    clip-path: polygon(3% 0, 100% 0, 100% 100%, 0 100%);
}

.accent-title-inner.accent-left>div:nth-of-type(1)::after {
    right: 0;
    left: auto;
    clip-path: polygon(2.5% 0, 100% 0, 100% 100%, 0 100%);
}

.accent-title-inner.accent-left>div:nth-of-type(2) {
    right: 50%;
    left: auto;
    transform: translateY(-50%) translateX(100%);
}

.accent-title-inner.accent-left>div:nth-of-type(2) span {
    transform: rotate(15deg);
}

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

    .accent-title-inner>div:nth-of-type(1),
    .accent-title-inner>div:nth-of-type(1)::after,
    .accent-title-inner>div:nth-of-type(2) span {
        display: none;
    }

    .accent-title-inner>div:nth-of-type(2)>span:nth-child(n+10) {
        visibility: hidden;
    }

    .accent-title-inner.accent-left>div:nth-of-type(2)>span:nth-child(-n+10) {
        visibility: hidden;
    }

}

@media screen and (max-width: 980px) {
    .accent-title-space {
        padding: 10px 0 0 0;
        position: relative;
        width: 100vw;
        overflow: hidden;
    }

    .accent-title-inner {
        width: calc(100%);
        position: relative;
        height: 150px;
    }

    .accent-title-inner>p {
        font-size: 15vw;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 20;
        /* text-shadow: 2px 2px 5px rgb(104, 104, 104); */
    }

    .accent-title-inner>div:nth-of-type(1) {
        opacity: 0.2;
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .accent-title-inner>div:nth-of-type(1)::after {
        width: calc(100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .accent-title-inner>div:nth-of-type(2) {
        opacity: 0.2;
        right: 0;
    }

    .accent-title-inner.accent-left {
        padding-left: 0;
    }

    .accent-title-inner.accent-left>div:nth-of-type(1) {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .accent-title-inner.accent-left>div:nth-of-type(1)::after {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .accent-title-inner.accent-left>div:nth-of-type(2) {
        right: 100%;
    }

    .accent-title-inner>div:nth-of-type(2)>span:nth-child(n+10) {
        visibility: visible;
    }

    .accent-title-inner.accent-left>div:nth-of-type(2)>span:nth-child(-n+10) {
        visibility: visible;
    }
}

/*

コンベア・製品エリア

*/
.sec-item-space {
    width: 1200px;
    margin: 0 auto;
}

.sec-item-space-flex {
    display: flex;
    gap: 0 30px;
}

.sec-item-space-flex picture {
    width: calc(100% / 3);
    height: 400px;
    overflow: hidden;
    /* background-color: #1D3F62; */
    display: block;
    position: relative;
}


.sec-item-space-flex picture::before {
    position: absolute;
    bottom: 20px;
    left: 25px;
    font-size: 20px;
    color: white;
    text-shadow: 0.5px 0.5px 0.2px black;
    z-index: 3;
}

@media screen and (max-width: 1280px) {
    .sec-item-space {
        width: 100%;
        padding: 0 30px;
    }

    .sec-item-space-flex picture {
        height: 180px;
    }
}

/*コンテンツメーカー用出力*/

.conveyor-area,
.item-area {
    display: flex;
    gap: 0 30px;
}

.conveyor-area>picture,
.item-area>picture {
    width: calc(100% / 3);
    height: 400px;
    overflow: hidden;
    /* background-color: #1D3F62; */
    display: block;
    position: relative;
}

.picture-blind {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 30px;
    /* 下からスタートする位置 */
    left: 0;
    background-color: rgba(107, 177, 235, 0.5);
    transition: all 0.4s ease;
    /* ふわっと動かす */
}

.picture-blind.active {
    opacity: 1;
    visibility: visible;
    top: 0;
    /* 上にスライドして収まる */
}

.picture-blind span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 15px 0;
    font-size: 125%;
    font-weight: 900;
    color: #17599d;
}


/* .conveyor-area>picture::before {
    position: absolute;
    bottom: 20px;
    left: 25px;
    font-size: 20px;
    color: white;
    text-shadow: 0.5px 0.5px 0.2px black;
    z-index: 3;
} */

.conveyor-area>picture:nth-of-type(n+4),
.item-area>picture:nth-of-type(n+4) {
    display: none;
}


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

    .conveyor-area>picture:nth-of-type(n+4),
    .item-area>picture:nth-of-type(n+4) {
        display: block;
    }

    .conveyor-area>picture:nth-of-type(n+5),
    .item-area>picture:nth-of-type(n+5) {
        display: none;
    }

    .conveyor-area,
    .item-area {
        gap: 30px 30px;
        flex-wrap: wrap;
        /* background-color: #22d3ee; */
        justify-content: space-between;
    }

    .conveyor-area>picture,
    .item-area>picture {
        width: calc(100% / 2 - 15px);
        height: 130px;
    }

    .picture-blind span {
        font-size: 50%;
    }

}

/*

放電加工機（EDM）

*/
.sec-edm-space {
    width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 0 30px;
}

.sec-edm-space>picture {
    width: 450px;
    height: auto;
    background-color: #1D3F62;
    display: block;
    cursor: pointer;
    transition: transform .5s;
}

.sec-edm-space>picture:hover {
    transform: translateY(-10px);
}

.sec-edm-space>picture>img {
    object-fit: cover;
    width: 100%;
}

@media screen and (max-width: 980px) {
    .sec-edm-space {
        width: 90%;
        margin: 0 auto;
        display: flex;
    }

    .sec-edm-space>picture {
        width: calc(50%);
    }
}

.edm-popup01,
.edm-popup02 {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 25000;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(107, 177, 235, 0.5);
}

.edm-popup01.active,
.edm-popup02.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 25000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(107, 177, 235, 0.5);
    overflow: hidden;
}

.edm-popup01>img,
.edm-popup02>img {
    object-fit: cover;
    width: auto;
    height: 75%;
}

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

    .edm-popup01>img,
    .edm-popup02>img {
        width: 85%;
        height: auto;
    }
}

/*放電加工機（EDM）｜CTAボタン*/
.edm-button {
    display: block;
    margin: 50px auto 80px;
    width: 30%;
    max-width: 300px;
    text-align: center;
    font-weight: 900;
}

#oscar-button {
    text-align: center;
    text-decoration: underline;
    font-size: 1.5rem;
    max-width: 20vw;
    transition: all .5s;
}

#oscar-button:hover {
    opacity: 0.5;
}

a#edm-cta-button {
    background-image: linear-gradient(90deg, #22d3ee, #278ce5);
    padding: 20px 0;
    border-radius: 30px;
    transition: all .5s ease-out;
    position: relative;
}

a#edm-cta-button span {
    position: relative;
    color: white;
    transition: all .5s ease-out;
}

a#edm-button:hover span {
    color: #b0c8dd;
}

/*ボタンhover後の背景色*/
a#edm-cta-button::before {
    background-image: linear-gradient(90deg, #278ce5, #22d3ee);
    content: '';
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    transition: all .5s ease-out;
    width: 100%;
    border-radius: 30px;
}

/*ボタンhoverで元の背景色透過*/
a#edm-cta-button:hover::before {
    opacity: 0;
}

@media screen and (max-width: 980px) {
    #oscar-button {
        width: 90% !important;
        max-width: 90% !important;
    }

    .edm-button {
        width: 90% !important;
    }
}


/*

会社データテーブル

*/

#data-table-flex {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0px 30px;
    align-items: baseline;
}

#data-table-flex>table {
    width: 50%;
    border-collapse: collapse;
}

#data-table-flex>table th {
    padding: 20px 0;
    border-bottom: 1px solid black;
    width: 35%;
    font-size: 18px;
    color: #17599d;
}

#data-table-flex>table td {
    padding: 20px 0;
    border-bottom: 1px solid black;
    width: 65%;
}

#data-table-flex>table tr:last-child th,
#data-table-flex>table tr:last-child td {
    border: none;
}

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

    #data-table-flex {
        width: 100%;
        padding: 0 30px;
        flex-direction: column;
    }

    #data-table-flex>table {
        width: 100%;
    }

    #data-table-flex>table th,
    #data-table-flex>table td {
        display: block;
        border-bottom: 1px solid black;
        width: 100%;
        text-align: center;
    }

    #data-table-flex>table th br {
        display: none;
    }

    #data-table-flex>table:nth-of-type(2) tr:last-child th {
        border-bottom: 1px solid black;
    }

    #data-table-flex>table:first-child tr:last-child th,
    #data-table-flex>table:first-child tr:last-child td {
        display: block;
        border-bottom: 1px solid black;
    }

}


/*

カルーセルエリア

*/
#carousel-space {
    width: 100vw;
    height: 480px;
    position: relative;
    /* background-color: #F4F4F4; */
}

.carousel-copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    z-index: 5;
}

.carousel-copy>span:nth-of-type(1) {
    color: white;
    font-size: 30px;
    font-weight: bold;
    text-shadow: 0.6px 0.6px 1px black;
}

.carousel-copy>span:nth-of-type(2) {
    color: white;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 0.6px 0.6px 1px black;
}

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 14, 25, 0.55);
    z-index: 3;
}

.carousel-slide {
    display: flex;
    overflow: hidden;
}

.carousel-slide>ul {
    display: flex;
    height: 240px;
    width: 100%;
    list-style: none;
}

.carousel-slide>ul>li {
    width: calc(100vw / 2);
}

@keyframes loop-up {
    0% {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes loop-up2 {
    0% {
        transform: translateX(0);
    }

    to {
        transform: translateX(-200%);
    }
}


@keyframes loop-down {
    0% {
        /* transform: translateX(-200%); */
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

@keyframes loop-down2 {
    0% {
        transform: translateX(-200%);
    }

    to {
        transform: translateX(0);
    }
}

.carousel-up-space>ul:first-child {
    animation: loop-up 50s -25s linear infinite;
}

.carousel-up-space>ul:last-child {
    animation: loop-up2 50s linear infinite;
}

.carousel-down-space>ul:first-child {
    animation: loop-down 50s -25s linear infinite;
}

.carousel-down-space>ul:last-child {
    animation: loop-down2 50s linear infinite;
}

@media screen and (max-width: 980px) {
    #carousel-space {
        width: 100vw;
        height: 280px;
        position: relative;
        /* background-color: #F4F4F4; */
    }

    .carousel-copy {
        width: 100%;
        padding: 0 15px;
    }

    .carousel-copy>span:nth-of-type(1) {
        font-size: 3vw;
    }

    .carousel-copy>span:nth-of-type(2) {
        font-size: 5vw;
    }

    .carousel-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(3, 14, 25, 0.55);
        z-index: 3;
    }

    .carousel-slide>ul {
        height: 140px;

    }
}

/*

ツールECサイトリンクエリア

*/
.tool-flex {
    width: 100%;
    height: 600px;
    background-image: url(../img/industory-bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    background-color: rgba(23, 89, 157, 1);
    backdrop-filter: blur(10px);
    background-blend-mode: multiply;
}

.tool-title {
    position: absolute;
    right: 120px;
    top: 0;
    display: flex;
    align-items: center;
    color: white;
    opacity: 0.8;
    gap: 0 30px;
}

.tool-title span:nth-of-type(1) {
    font-size: 125px;
    font-family: "Antonio", sans-serif;
    font-weight: 700;
    text-shadow: 0.5px 0.5px 3px black;
}

.tool-title span:nth-of-type(2) {
    font-size: 36px;
    text-shadow: 0.5px 0.5px 3px black;
    padding: 10px 0 0 0;
}

.tool-link-space {
    position: absolute;
    top: 50%;
    left: 50%;
    background: rgba(155, 155, 195, 0.5);
    backdrop-filter: blur(5px);
    width: 1400px;
    height: 350px;
    transform: translate(-50%, -35%);
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 20px;
}

.tool-link-space>a {
    display: block;
    width: calc(100% / 2 - 10px);
    height: calc(100% / 2 - 10px);
    overflow: hidden;
    position: relative;
}

.tool-link-space>a:before,
.tool-link-space>a:after {
    position: absolute;
    color: white;
    font-size: 36px;
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 0.3px 0.3px 1px black;
}

.tool-link-space>a:before {
    content: "Link";
    right: 25%;
    font-family: "Antonio", sans-serif;
    font-weight: 700;
}

.tool-link-space>a:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f35d";
    right: 18%;
}

.tool-link-space>a>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tool-link-space>a>span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% / 2);
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.tool-link-space>a>span>img {
    width: 135px;
    height: auto;
    object-fit: cover;
    margin-top: calc(50% - 25% - 30px);
    /* background-color: #1D3F62; */
}

.tool-link-space>p {
    display: block;
    width: calc(100% / 2 - 10px);
    height: calc(100% / 2 - 10px);
    text-align: center;
    align-content: center;
    color: white;
    font-size: 36px;
    border: none;
}

@media screen and (max-width: 980px) {
    .tool-flex {
        width: 100%;
        height: 600px;
        background-image: url(../img/industory-bg.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        position: relative;
    }

    .tool-title {
        right: 50%;
        transform: translateX(50%);
        width: 100%;
        flex-direction: column;
        gap: 0 0;
        padding-top: 20px;
    }

    .tool-title span:nth-of-type(1) {
        font-size: 6vw;
    }

    .tool-title span:nth-of-type(2) {
        font-size: 36px;
        padding: 5px 0 0 0;
    }

    .tool-link-space {
        top: 50%;
        width: 100%;
        height: calc(100% - 30%);
        padding: 25px;
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .tool-link-space>a {
        display: block;
        width: 100%;
        /* height: calc(100% / 2 - 10px); */
        height: 250px;
        overflow: hidden;
        position: relative;
    }

    .tool-link-space>a:before,
    .tool-link-space>a:after {
        font-size: 18px;
    }

    .tool-link-space>a>span {
        height: 100%;
    }

    .tool-link-space>a>span>img {
        margin-top: calc(50% - 25% - 30px);
    }

    .tool-link-space>p {
        width: calc(100%);
        font-size: 18px;
    }
}

/*

MAPエリア

*/
.map-space {
    padding: 0 0 20px 0;
}

/* .map-space > p {
    text-align: center;
    font-family: "Antonio", sans-serif;
    font-weight: 700;
    font-size: 80px;
    opacity: 0.7;
    color: #F4F4F4;
} */

.map-space-scroll {
    display: flex;
    overflow: hidden;
}

.map-space-scroll>ul {
    display: flex;
    list-style: none;
    width: 100%;
    list-style: none;
    font-family: "Antonio", sans-serif;
    font-weight: 700;
    font-size: 80px;
    opacity: 1;
    color: #F4F4F4;
    ;
}

.map-space-scroll>ul>li {
    width: calc(100vw);
}

@keyframes loop {
    0% {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}

@keyframes loop2 {
    0% {
        transform: translateX(0);
    }

    to {
        transform: translateX(-200%);
    }
}

.map-space-scroll>ul:first-child {
    animation: loop 25s -12.5s linear infinite;
}

.map-space-scroll>ul:last-child {
    animation: loop2 25s linear infinite;
}

@media screen and (max-width: 980px) {
    .map-space {
        padding: 0 0 20px 0;
        height: 300px;
        background-color: #1D3F62;
    }

    .map-space iframe {
        height: 300px;
    }

    .map-space-scroll {
        padding: 20px 0;
    }

    .map-space-scroll>ul {
        font-size: 8vw;
    }
}


/*

フッターエリア

*/
footer {
    width: 100vw;
    display: flex;
    flex-wrap: wrap;
}

.footer-info-space {
    width: 1000px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    display: flex;
    gap: 0 50px;
    justify-content: space-between;
    padding: 50px 30px;
}

.footer-info-space div:nth-of-type(1) {
    width: 50%;
}

.footer-info-space div:nth-of-type(1) span:nth-of-type(1) {
    display: block;
    font-size: 14px;
}

.footer-info-space div:nth-of-type(1) span:nth-of-type(2) {
    display: block;
    font-size: 36px;
    font-family: "arial", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin-top: -5px;
    color: #2262a3;
}

.footer-info-space div:nth-of-type(2) {
    width: calc(100% - 50%);
}

#footer-nav>ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 50px 50px;
    /* background-color: #1D3F62; */
}

#footer-nav>ul>li {
    width: calc(100% / 2 - 50px);
    border-top: 0.5px solid black;
    border-left: 0.5px solid black;
    border-bottom: 0.5px solid black;
    font-size: 16px;
}

#footer-nav>ul>li>a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 15px;
    /* width: calc(100% + 30px);
    height: calc(100% + 20px); */
    /* background-color: antiquewhite; */
}

#footer-nav>ul>li>a:hover span {
    transition: .5s;
    color: #2262a3;
}


footer>picture {
    display: block;
    width: calc((100% - 1000px) / 2);
    padding: 30px;
    border-top: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}

footer>picture:nth-of-type(2) {
    border-right: none;
    border-left: 1px solid black;
}

small {
    width: 100%;
    display: block;
    text-align: center;
    padding: 35px 0;
}

@media screen and (max-width: 1280px) {
    footer>picture {
        display: none;
    }

    .footer-info-space {
        width: 100%;
    }

}

@media screen and (max-width: 980px) {
    footer {
        flex-direction: column;
    }

    .footer-info-space {
        flex-direction: column-reverse;
        gap: 50px 50px;
        justify-content: space-between;
        border: none;
    }

    .footer-info-space div:nth-of-type(1) {
        width: 100%;
        text-align: center;
        /* background-color: #17599d; */
    }

    .footer-info-space div:nth-of-type(2) {
        width: 100%;
        /* background-color: #17599d; */
    }

    #footer-nav>ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 50px 30px;
    }

    #footer-nav>ul>li {
        width: calc(100% / 2 - 31px);
        padding: 10px 15px;
    }

    #footer-nav>ul>li>a {
        display: block;
    }


    footer>picture {
        display: block;
        border-right: none;
        width: 100%;
    }

    footer>picture:nth-of-type(2) {
        border-right: none;
        border-left: none;
    }
}