@charset "utf-8";

/* ##############################################################################

    Header Style

############################################################################## */

#block-headersecond {
    /* 下層ページのheader */
    background: #fff;
    height: 100px;
}


h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 100%;
    position: relative;
    z-index: 10;
}

h1 a:hover {
    opacity: 1.0;
}

h1 img {
    width: 80%;
    margin: auto;
    margin-top: -10px;
    margin-left: 18px;
}

.header-outer {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

/* 言語選択 */
.btn-header-language {
    background: #fff;
}

.btn-header-language::after {
    content: "▼";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0 0 0 10px;
}


/* 管理者用 */
.toolbar-vertical .header-outer {
    top: 39px;
}

.header-inner {
    height: 100px;
    background: #fff;
    position: relative;
    z-index: 1;
}

.header-inner a.logo-link {
    width: 100%;
}

.main-nav {
    position: absolute;
    top: 40px;
    right: 0;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.main-nav a {
    font-weight: bold;
}


.main-nav a:last-child {
    margin-right: 0;
}

.sub-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.btn-header {
    display: flexbox;
    color: #fff;
    text-align: center;
    font-weight: bold;
    width: 150px;
    height: 40px;
    line-height: 40px;
    position: relative;
}

.btn-header-product {
    background: var(--key-color-green);
}

.btn-header-product::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: -3px 5px 0 0;
    background: url("../image/header/icom_productsite.svg") no-repeat;
    background-size: contain;
    vertical-align: middle;
}

.btn-header-contact {
    background: var(--key-color-red);
    width: 175px;
}

.btn-header-contact::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 3px 6px 0 0;
    background: url("../image/header/icon_contact.svg") no-repeat;
    background-size: contain;
    vertical-align: middle;
}

/* Top Cover */
.header-cover {
    height: 100vh;
    min-height: 700px;
    position: relative;
}

.header-cover .cover-slide {
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 10%;
    position: absolute;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 3s ease;
    overflow: hidden;
    line-height: 1.5;
}

.header-cover .slide-first {
    background-color: #fff;
}

.header-cover .slide-second {
    background-image: url(../image/header/cover_second.jpg);
}

.header-cover .slide-first.is-active,
.header-cover .slide-second.is-active{
    opacity: 1;
    z-index: 5;
}
span.top-copy {
    font-size: 52px;
    display: block;
    color: #fff;
    font-family: var(--font-minchou);
    margin-bottom: 50px;
}
span.top-copy-small {
    display: block;
    color: #fff;
    font-size: 28px;
}
.header-cover span.top-copy.top-title-kr,
.header-cover span.top-copy-small.top-title-kr{
    font-family: var(--font-gothic);
}
.slide-first span.top-copy{
    color: black;
}

.slide-first span.top-copy-small{
    color: black;
}
.slide-first span.top-copy-small,
.slide-second span.top-copy-small{
    font-size: 30px;
    margin-bottom: 50px;
    font-family: var(--font-minchou);
}

/* Second Page */
/* Second Cover */
#block-heshinotaitoru,
#block-heshinotaitoru-2,
#block-heshinotaitoru-3,
#block-jishixiangxinofurotsukuribenyu {
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../image/header/cover_top1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: -35px;
    /* header-innerと重ね */
    z-index: 2;
}

#block-jishixiangxinofurotsukuribenyu h1,
#block-heshinotaitoru-2 h1,
#block-heshinotaitoru-3 h1,
#block-heshinotaitoru h1 {
    color: #fff;
    font-size: 50px;
    max-width: 1000px;
    width: 100%;
    font-family: var(--font-minchou);
    font-weight: bold;
    background: none;
}

/* Header SP */
@media screen and (max-width: 1199px) {

    /* スマホ向けのスタイル */
    #block-headersecond {
        height: 50px;
    }

    header {
        height: auto;
    }

    #home-header {
        height: auto;
    }

    h1 {
        width: 120px;
        height: 50px;
    }

    h1 img {
        margin-top: -3px;
        margin-left: 7px;
    }

    .toolbar-vertical .header-outer {
        top: 0;
    }
    .header-inner {
        height: 50px;
        background: #fff;
    }

    #home-header>.sp-only {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1;
    }

    .main-nav {
        display: none;
    }

    .sub-nav {
        display: none;
    }

    /* Top Cover */
    .header-cover {
        min-height: auto;
    }

    /* 静止画用 */
    .header-cover-image {
        height: 550px;
        min-height: auto;
        padding: 120px 0;
    }

    .top-copy {
        font-size: 26px;
        top: min(240px, 25vw);
        left: clamp(20px, 6vw, 118px);
        margin-bottom: 30px;
    }

    .top-copy-small {
        font-size: 18px;
        margin-bottom: 50px;
    }

    /* Second Page */
    /* Second Cover */
    .slide-second{
        background-position-x: 40%;
    }
    #block-heshinotaitoru {
        height: 350px;
        margin-top: -85px;
    }

    #block-heshinotaitoru h1 {
        font-size: 36px;
        max-width: 80%;
        text-align: center;
    }
}


/* タブレット向けのスタイルを記述する */
@media screen and (min-width: 768px) and (max-width: 1200px) {
    .main-nav {
        display: none;
    }

    .sub-nav {
        display: none;
    }
}



/* ページタイトル hrt:add */
.main-content h1 {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    font-size: 40px;
    color: #000;
    padding: 0 1em;
    border-bottom: 1px solid var(--main-color-blue);
}

.main-content h1::before {
    position: absolute;
    content: "";
    display: inline-block;
    bottom: 0;
    left: 0;
    width: 1em;
    height: 1px;
    border-bottom: 2px solid var(--main-color-blue);
}

@media screen and (max-width: 767px) {
    .header-cover {
        height: calc(100vh - 38px);
    }

    .header-cover .cover-slide {
        display: block;
        min-height: auto;
        padding-top: 120px;
        height: calc(100vh - 38px);
    }
    .header-cover .cover-slide.cover-size-en{
        padding-top: 150px;
    }

    span.top-copy {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .slide-first span.top-copy-small,
    .slide-second span.top-copy-small {
        font-size: 18px;
    }

    .main-content h1 {
        font-size: 28px;
    }
}

/* ページ内リンク */
#page-header-block .page-in-links {
    background-color: #fff;
    border-radius: 4px;
    padding: 0 10px;
    display: flex;
    justify-content: center;
    width: min(80%, 1100px);
    gap: 60px;
    width: 100%;
}

#page-header-block .page-in-links>a {
    font-weight: bold;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    text-decoration: none;
    line-height: 1.6;
    padding: 0 24px 0 4px;
}

#page-header-block .page-in-links>a::after {
    position: absolute;
    top: 4px;
    right: 0;
    content: "";
    display: inline-block;
    border-right: 1px solid;
    border-bottom: 1px solid;
    rotate: 45deg;
    width: 10px;
    height: 10px;
    top: 4px;
}

/* add */
#page-header-block .page-in-links>a::before {
    content: "";
    display: block;
    height: 1px;
    width: 0;
    position: absolute;
    background-color: #000;
    transition: .3s;
    bottom: 0;
}

#page-header-block .page-in-links>a:hover::before {
    width: 100%;
}


/* 会社概要上部調整 */
.page-71 .page-profile .jump-point {
    margin-top: 0;
}

#page-header-block {
    background: #fff;
    height: auto;
    margin-top: 0;
    justify-content: center;
    z-index: unset;
    position: static;
    width: 100%;
    padding-top: 80px;
}

/* add */
@media screen and (max-width: 767px) {
    #page-header-block{
        padding-top: 100px;
    }
    #page-header-block .page-in-links {
        flex-direction: column;
        gap: 0;
    }
    #page-header-block .page-in-links a{
        padding: 8px;
        font-size: 16px;
        border-bottom: solid 1px var(--line-color-gray);
    }
    #page-header-block .page-in-links>a::before{
        display: none;
    }
    #page-header-block .page-in-links>a::after{
        top: 13px;
        right: 4px;
    }
}