@charset "UTF-8";

:root{--v-space:clamp(90px,9vw,120px)}

body{
    margin: 0;
    /* background-color: #eeeeee; */
    color: #222222;
    font-family: sans-serif;
}

h1,h2,h3,h4,h5,h6,p,figure,ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

p{
    line-height: 1.8;
}

p + p{
    margin-top: 0.5em;
}

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

a:hover{
    filter: brightness(90%) contrast(120%);
}

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

/* 横幅とサイズの指定 */
.w-container{
    width:min(92%,1166px);
    margin: auto;
    position: relative;
}

/* ヘッダー */
.header{
    height: 80px;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 2px 2px 2px rgba(20, 20, 20, 0.3);
}

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


/* ナビゲーション ボタン */
.navbtn{
    padding: 0;
    outline: none;
    border: none;
    background-color: transparent;
    color: #aaaaaa;
    cursor: pointer;
    font-size: 30px;
}

.open .navbtn{
    z-index: 200;
    color: #ffffff;
}

.navbtn .bars{
    display: revert;
}

.open .navbtn .bars{
    display: none;
}

.navbtn .times{
    display: none;
}

.open .navbtn .times{
    display: revert;
}




@media(min-width:768px){
    .navbtn{
        display: none;
    }
}

/* モバイル設定 */
@media(max-width:767px){
    .nav{
        position: fixed;
        inset: 0 -100% 0 100%;
        z-index: 100;
        background-color: #4e483ae6;
        transition: transform 0.3x;
    }

    .open .nav{
        transform: translate(-100%, 0);
    }

    .open body{
        position: fixed;
        overflow: hidden;
    }

    .nav ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 40px;
        color: #ffffff;
    }

    .menu-csr>a{
        display: none;
    }
}

/* ナビゲーションメニュー:PC */
@media(min-width:768px){
    .nav>ul{
        display: flex;
        gap: 40px;
        color: #707070;
    }

/* ドロップダウン設定 */       
    .nav-menu {
        position: relative;
    }

    .sub-menu {
        position: absolute;
        z-index: 2;
        top: 2.5rem;
        padding: 0;
        list-style: none;
        background: #093F86;
        display: flex;
        flex-direction: column;
        gap: 10px;
        
    }

    .sub-menu a {
        display: block;
        padding: 10px 20px;
        color: #fff;
    }

    .sub-menu a:hover {
        background-color: #05b;
    }

    /* ホバーで開くドロップダウンメニュー */
    .menu-hover .sub-menu {
        transition: scale .4s;
        transform-origin: center top;
        scale: 1 0;
    }

    .menu-hover li:has(> .sub-menu):hover .sub-menu {
        scale: 1;
    }
}

/* ヒーロー */
.hero{
    height: clamp(330px,80vh,820px);
    /* 500 */
    position: relative;
    /* background-image: url(../img/bg-test.png) ;
    background-position: center;
    background-size: cover;      */
}

.hero-container{
    height: 100%;
    display: grid;
    justify-items: center;
    align-content: center;
}


.main-hero-title {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 30%;
}

.main-hero-title h1 {
    text-align: center;
}

/* .main-hero-img {
    display: block;
    width: 100%;
    height: 100%;
} */

.main-hero-img {
    height: 100%;
}

.main-hero-img img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.main-hero-video .video{
    width: 100%;
}


.hero-lead{
    position: relative;
}


.lead{
    padding: 10px;
}

.lead p {
    text-align: justify;
}

@media (min-width:768px){

  .main-hero{
    margin-bottom: 320px;
  }

  .main-hero::after{
    content: "";
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../img/top-parallax.jpg) no-repeat top/cover;
    z-index: -10;
}   
}

.heading{
    font-size: 18px;
    font-weight:  bold;
}

/* 
.hero-container p{
    align-self: start;
} */

.hero h1{
    /* display: inline-block;
    font-size: clamp(30px,3vw,40px);
    min-height: 0px;
    text-align: center;
    font-family: "Sawarabi Mincho";
    padding-left: 8em;
    background: linear-gradient(90deg, #4158D0, #C850C0 30%, #FFCC70);
    background: -webkit-linear-gradient(0deg, #4158D0, #C850C0 30%, #FFCC70);
    -webkit-background-clip: text; */


    /* margin-bottom: 5px; */
    font-size: clamp(22px,3vw,40px);
    min-height: 0px;
    /* color: #ffffff; */
    text-align: center;
    font-family: "Sawarabi Mincho",sans-serif;
    padding-left: 0;
    filter: opacity(100%);
    
}

.main-hero-title > h1{
    /* background: linear-gradient(110deg,#ff0000, #e0360f 45%,#06eedb, #ff0000,#7c2d96); */
    background: linear-gradient(110deg,#ff0000 0, #f99f0d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    
    /* -webkit-text-fill-color: rgba(255,255,255,0.0); */
    /* color: #ff0000; */
    /* text-shadow: 1px 1px 1px #707070; */
}


.swiper,.swiper-wrapper{
    height: 100%;
}

.main-hero-video {
    text-align: center;
    height: 100%;
    width: 100%;
    background-color: #000000;
}

.main-hero-video video {
    height: 100%;
    width: auto;
}

/* .main-hero-img {
    display: none;
} */





/* .hero p{
    color: #ffffff;
    text-align: center;
    font-size: clamp(15px,2.1vw,25px);
    margin-top: 0;
    margin-bottom: 72px;
    font-weight: 400;
    text-shadow: 1.5px 1.5px 0 #000000;
} */

.news-wrapper{
    height: 100px;
    background-color: #143294;
    color: #FFFFFF;
    padding: 20px;
}

.news-wrapper ul li {
    margin-bottom: 5px;
}

.news-wrapper ul li a{
    font-size: 12px;
}


.news-wrapper table .news-body {
    padding-left: 20px;
}

.news-list {
    display: flex;
    gap: 2px;
}

.news ul li time{
    display: inline-block;
    width: 8em;
    padding-right: 10px;
}

.news ul li time .zero {
    visibility: hidden;
}

.works-txt {
    text-align: justify;
}


@media(min-width: 768px){

    .main-hero-title {
        left: 40%;
    }
    /* .main-hero-title > h1{
        padding-left: 100px;
    } */

    .main-hero-title > h1 br {
        display: none;
    }

    .main-hero{
        position: relative;
    }

    .lead{
        text-align: start;
        position: absolute;
        top: 300px;
        left: 50px;
        color: #fff;
        background-color: inherit;
        width: 300px;
        height: auto;
        z-index: 10;
    }

    .lead {
        font-size: clamp(12px,0.8vw,16px);
    }
    .news{
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 10;
        /* display: flex;
        justify-content: end; */
    }
    .news-wrapper{
        /* flex-basis: 40%;
        position: relative;
        margin-top: -50px; */
        height: 140px;
        border-radius: 5px 0 0 5px;        
    }
    .news ul li a{
        font-size: 16px;
    }
}

/* 会社説明 */
.presentation{
    padding: 30px 0;
    margin-top: 30px;
    background-color: #fff;
}

.presentation .heading{
    text-align: center;
    font-size: 18px;
    margin-bottom: 10px;
}

.works{
    display: flex;
    flex-direction: column-reverse;
}

.works + .works{
    margin-top: 20px;
}

.works-body{
    background-color: #fff;
    margin: -30px 30px 0;
    padding: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.works-ttl{
    text-align: center;
    font-size: 16px;
}

.works-txt{
    font-size: 14px;
}

.works-contact{
    margin-top: 20px;
}

.works-contact a{
    margin: 0 auto;
    display: block;
    width: 200px;
    background-color: #27853F;
    border: 2px solid #27853F;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    border-radius: 5px;
    transition: color 0.3s;
    transition: background-color 0.3s;
}

.works-contact a:hover{
    background-color: #fff;
    color: #27853F;
}

.works-contact a + a{
    margin-top: 20px;
}

@media (min-width:768px){

.works + .works{
    margin-top: 50px;
}

.presentation .heading{
    text-align: center;
    font-size: 32px;
    margin-top: 60px;
    margin-bottom: 50px;
}

.presentation .heading br{
    display: none;
}

.works{
    flex-direction: row;
    align-items: end;
    position: relative;
    padding-top: 70px;
    height: 500px;
}

.works-body{
    margin: 0;
    width: 60%;
    height: auto;
    border-radius: 10px;
    padding: 20px 32px;
    z-index: 1;
}

.works._reverse .works-body{
    margin-left: auto;
}

.works-ttl{
    font-size: 24px;
}

.works-ttl br{
    display: none;
}

.works-txt{
    font-size: 18px;
    margin-top: 20px;
}

.works-thumb{
    position: absolute;
    top: 0;
    left: 50%;
    width: 50vw;
}

.works._reverse .works-thumb{
    left: auto;
    right: 50%;
}

.works-thumb img{
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.works-contact{
    text-align: center;
}

.works-contact a{
    display: inline-block;
    width: 300px;
    margin: 0 20px;
}
}

/* フッター */
.footer{
    padding: 70px 0;
    background-color: #ffffff;
    color: #707070;
    font-size: 13px;
    text-align: center;
}

.footer-container{
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    justify-items: center;
}

@media(min-width:768px){
    .footer-container{
        grid-template-columns: auto auto auto;
        gap: 20px;
        align-items: center;
    }

    .footer-container > .footer-site{
        margin-bottom: 20px;
    }


}

.footer-sns{
    display: flex;
    gap: 24px;
    font-size: 24px;
}

.footer-sns a{
    display: grid;
    place-items: center;
    width: 36px;
    aspect-ratio: 1 / 1;
}

.footer-menu{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* あいさつ／会社概要／沿革 */
.introduction{
    padding-bottom: var(--v-space);
    background-color: #ffffff;
}

.introduction-hero{
    height: clamp(200px,30vh,300px);
    padding-top: 0;
    padding-bottom: 20px;
    position: relative;
    background-image: url(../img/greeting.jpg) ;
    background-position: center;
    background-size: cover; 
    margin-bottom: 0;
}


.introduction-hero h1{
    margin-bottom: 1.5em;
    font-size: clamp(30px,3vw,40px);
    min-height: 0px;
    color: #093F86;
    text-align: center;
    filter: opacity(100%);
    text-shadow: 
        2px 2px 0.5px #ffffff;
}

.introduction-hero p{
    color: #000000;
    text-align: center;
    font-size: clamp(14px,3.4vw,25px);
    margin-top: 0;
    margin-bottom: 72px;
    font-weight: 600;
    -webkit-text-stroke: 2px #FFFFFF;
    paint-order: stroke fill;
    /* text-shadow: 1px 1px 0.5px #ffffff; */
}

/* @media(max-width:767px){
.introduction-container p{font-size: clamp(12px, 1.8vw,16px);}

} */

.hero-container{
    height: 100%;
}

.introduction-container{
    max-width: 720px;
    margin: 0 auto;
}

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

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

.president-sign img{
    display: inline;
}

.president-sign .president{
    font-size: 12px;
    vertical-align: 30%;
}

@media (min-width: 768px){
    .hero h1 br {
        display: none;
    }
}

/* 会社概要 */
.introduction-hero + .introduction{
    padding-top: 20px;
}

.introduction table{
    font-size: clamp(10px,2vw,15px);
    border-collapse: collapse;
}

.introduction th{
    font-family: sans-serif;
    font-weight: normal;
    padding: 5px;
    background-color: #ccebc5;
    border-bottom: 1px solid #ffffff;
    width: 30%;
    text-align: center;
    vertical-align: top;
}

.introduction td{
    font-weight: 200;
    padding: 5px;
    width: 70%;
    border-bottom: 1px solid #ccebc5;
}

.introduction tr:last-child{
    td{
        border: none;
    }
}

@media(min-width:768px){
    .introduction th{
        width:20%;
    }

    .introduction td{
        width:80%;
        font-weight: normal;
    }
}

.introduction-container
:where(h1,h2,h3,h4,h5,h6,p,figure,ul){
    margin-top: 0;
    margin-bottom: revert;
    padding: revert;
    list-style: revert;
}

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

.form-container{
    max-width: 768px;
    padding: 20px;
}

.form-container th{
    width: 30%;
}

.form-container td{
    width: 200px;
}




/* 部門紹介 　アクセス*/
.introduction-hero + .imgtext{
    margin-top: 20px;
}

.heading-decoration{
    font-size: clamp(24px,1.8vw,28px);
    color: #093F86;
    text-shadow: 1px 1px #000000;
}

.imgtext-salse dt, .imgtext-prepress dt{
    display: inline-block;
    background-image: linear-gradient(transparent 0%, transparent 60%, #fff700 60%, #FFF700 100%);
    padding-bottom: 0.25em;
    padding-left: 0.25em;
    padding-right: 0.25em;
}

.imgtext-salse dl, .imgtext-prepress dl {
    font-size: clamp(14px, 1.8vw, 16px);
    margin-top: 0.75em;
}

.imgtext-salse dd, .imgtext-prepress dd {
    margin-inline-start: 40px;
    text-align: justify;
}

.imgtext-salse dl+p, .imgtext-prepress dl+p {
    margin-top: 0.75em;
}

.imgtext .text p {
    font-size: clamp(14px, 1.8vw, 16px);
    text-align: justify;
}

.heading-decoration::after{
    display: block;
    content: '';
    height: 0;
    width: 100%;
    border-top: solid 1px #025965;
    margin:5px auto 5px ;
}

.small-heading-decoration{
    padding-left: 10px;
    border-left: solid 5px #025965;
    margin: 10px auto 5px;
    color: #025965;
}

.sub-heading{
    font-size:1rem;
    vertical-align: middle;
    text-align: left;
    font-weight: normal;
    color: #093F86;
}

.imgtext{
    background-color: #ffffff;
}

.imgtext-container{
    display: flex;
    flex-direction: column;
    gap: clamp(45px, 6vw, 80px);
}

.imgtext + .imgtext{
    margin-top: 80px;
}

@media(min-width:768px){
    .imgtext-container{
        flex-direction: row;
        align-items: flex-start;
    }

    .imgtext-container.reverse{
        flex-direction: row-reverse;
    }

    .imgtext-container > .text{
        flex:2;
        min-width: 20em;
    }

    .imgtext-container > .img{
        flex:1;
    }

    .imgtext-container > .adress{
        flex:1;
    }

    .imgtext-container > .map{
        flex:2;
    }
}


/* アクセス */
.map iframe{
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}


/* CSR / プライバシーマーク Japan color グリーンプリンティング*/

.introduction-hero h1 {
    margin-top: 20px;
}

.introduction p{
    text-align: justify;
}

.introduction p a {
    text-decoration: underline;
    color: #093F86;
}

.csr_img, .privacymark_img, .japancolor_img {
    display: grid;
    place-content: center;
}


.privacy .privacy-date {
    text-align: right;
}

/* グリーンプリンティング */

.greenprinting_img {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.greenprinting_img figure{
    text-align: center;
}

.greenprinting_img figure figcaption {
    text-align: center;
}



/* PCサイズ */
@media(min-width: 768px){
    .greenprinting_img {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .greenprinting_img img{
        height: 100%;
        width: auto;
        
    }

}


/* 個人情報保護方針 */
.privacy_mark{
    display: grid;
    place-content: center;
}

.introduction-container ol{
    list-style-type: decimal;
    font-size: 1rem;
}

.privacy_ol > li > p:first-child{
    margin-bottom: 0;
    margin-top: 20px;
    font-weight: bold;
}

/* .privacy_ol > li > p + p{
    margin-top: 0;
} */

.greeting-president ul{
    list-style: none;
    margin-left: 0;
}

.privacy-container dl{
    font-size: clamp(12px, 1.8vw, 16px);
}


.privacy-container dl + dl{
    margin-top: 20px;
}

.privacy-container dt{
    font-weight: bold;
}

.privacy-container dd{
    padding-left: 1em;
}


/* お問い合わせ */
.contact-container{
    margin: 20px auto 20px;
}

.contact-img img {
    display: inline;
    max-width: 70%;
}


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


@media(min-width:768px) {
    .contact-img img {
        max-width: 30%;
    }  
}

