@charset "UTF-8";

/*共通部分
-----------------------------------*/
html {
    font-size: 100%;
}
body {
    font-family: "Hiragino Kaku Gothic ProN","Hiragino Sans","BIZ UDPGothic",sans-serif;
    line-height: 1.7;
    color: #1f1e42;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}

/*レイアウト*/
.wrapper {
    max-width: 1120px;
    margin: auto;
    padding: 0 1.5rem;
    background-color: #ffffff;
}
.align-center {
    text-align: center;
}

/*見出し*/
font-english {
    font-family: 'Philosopher',sans-serif;
    font-weight: normal;
}

/*ヘッダー
------------------------------------*/
.page-hedar {
    padding-top: .5rem;
}
.logo {
    width: 210px;
}
.main-nav {
    display: flex;
    justify-content:space-around;
    gap: 2.5rem;
    font-size: 1.0rem;
    list-style: none;
}
.main-nav a{
    color: #1f1e42;
}
.main-nav a:hover {
    color: #0088dd;
    text-decoration: underline double 2px;
}
.home video {
    object-position: center top;
    opacity: var(--video-opacity);
    width: 100%;
    height: 100%;
}
.news {
    max-width: 736px;
    padding: 0 1.5rem;
    margin: 3rem auto 3rem;
}
.news dl {
    margin-bottom: 3rem;
    font-size: 0.9rem;
    }
.news dd{
    margin: 0 15px 16px 15px;
    border-spacing: 0;
}
.product {
    padding: 0 1.5rem;
    margin: 3rem auto 3rem;
}

.heading-large {
    font-size: 1.5rem;
    text-align: center;
    margin: 3rem auto 1rem;
}
.header {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 0;
}

/*　フッター　*/
.info {
    width: 100%;
    max-width: 544px;
    margin: auto;
    padding: 0 1.5rem;
    border-spacing: 0;
}
.info th,
.info td {
    border-bottom: 1px solid #c9c2bc;
}
.info th {
    text-align: left;
    font-weight: normal;
    padding: 0;
    font-size: 0.8rem;
    white-space: nowrap;
    
}
.info td {
    padding: 1rem 1rem;
    font-size: 0.9rem;
}
.address {
    white-space: nowrap;
}

.contact {
    display: flex;
    justify-content: space-around;
    font-size: 1.0rem;
    list-style: none;
    margin-top: 6rem;
    margin-bottom: 0;
    background-color: #172a80;
    color: #9195a8;
}
.contact a {
    color: #9195a8;
}
.copyright {
    background-color: #172a80;
    text-align: center;
    padding: 1rem 0;
    color: #9195a8;
}

/* index
------------------------------*/
.news a {
    color: #1f1e42;

    &:hover{
        opacity: 0.5;
    }

}


/*　Product
------------------------------*/
.grid {
    display: grid;
    gap: 2rem 1.5rem;
    grid-template-columns: repeat(2,1fr);
    text-align: center;
    margin-bottom: 3rem;
}
.grid-taft {
    display: grid;
    gap: 2rem 1rem;
    grid-template-columns: repeat(2,1fr);
    text-align: center;
    margin-bottom: 3rem;
}
.grid-prius {
    display: grid;
    gap: 2rem 1.5rem;
    grid-template-columns: repeat(2,1fr);
    text-align: end;
    margin-bottom: 3rem;
}
.grid-lm {
    display: grid;
    gap: 2rem 1rem;
    grid-template-columns: repeat(2,1fr);
    text-align: center;
    margin-bottom: 3rem;
}
.grid-delicamini {
    display: grid;
    gap: 2rem 1rem;
    grid-template-columns: repeat(2,1fr);
    text-align: center;
    margin-bottom: 3rem;
}


.item img {
    aspect-ratio: 1.6/1;
    object-fit: cover;
    border-radius: 16px;
}
.item p {
    font-size: .75rem;
}
.item p a {
    color: #1f1e42;
}
.item p a:hover {
    color: #0088dd;
    text-decoration: underline double 2px;    
}
.cover-product{
    text-align: center;
}

.cover-product p {
    font-size: .9rem;
    text-align: center;

}
.cover-product {
    margin-bottom: 3rem;
}

.prius p {
    text-align: center;
    font-size: 1rem;
}
.taft p{
    font-size: .4rem;
}
.delicamini p{
    font-size: .4rem;
}
.lm p {
    font-size: .4rem;
}
.shop h3  {
    width: 150px;
    margin: 0 auto 0 1.5rem;
    font-size: .8rem;
}
.shop li {
    width: 350px;
    margin: .1rem auto .1rem 3rem;
    font-size: .9rem;
    list-style: none;
}
.shop p {
    width: 310px;
    margin: 0 auto 2rem 3.4rem;
    font-size: .7rem;
}
.shop p a {
    color: #172a80;
    font-size: .7rem;
}
.shop p a:hover {
    color: #0088dd;
    font-size: 1.7rem;
}



.netshop {
    width: 80px;
    font-size: .7rem;
    background-color: #1f1e42;
    color: #ffffff;
    display: block;
    margin-bottom: .7rem;
    padding: 0 15px;
    border-radius: 20px;
}
.cost {
    white-space: nowrap;
}





/* event
----------------------------------*/
.grid-item {
    transition: .3s;
}
.grid-item:hover {
    filter: blur(3px);
}
.do a:hover {
    filter: blur(3px);

}

/* form
----------------------------------*/
.form h2 {
    font-size: 1.2rem;
    text-align: center;
    margin-top: 2rem;
}
.form p {
    font-size: .9rem;
}
.form {
     padding-bottom: 60px
}
input[type="text"],
input[type="email"],
textarea {
    border: 1px solid #cccccc;
    background-color: lightcyan;
    width: 100%;
}
.innerwrap {
    width: 100%;
    margin: 0 auto;
    padding: 5px 20px 0;
}
textarea {
    height: 148px;
    margin-bottom: 20px;
}
form > p {
    line-height: 1.4;
    margin-bottom: 20px;
    margin-top: 20px;
}
.submitBtn {
    text-align: center;
}
input[type="submit"] {
    font-size: .7rem;
    background-color: #1f1e42;
    color: #ffffff;
    margin-bottom: .7rem;
    padding: 0 15px;
    border-radius: 20px;
}

/* company
----------------------------*/
.name,
.work ,
.award {
   margin: 0 auto;
   padding: 20; 
   width: 350px;
   height: 250px;
   text-align: center;
}
.history {
   margin: 0 auto;
   padding: 20; 
   width: 350px;
   height: 350px;
   text-align: center;
}
.work h2,
.history h2,
.award h2 {
    font-size: 1.5rem;
}
.work li,
.history p,
.history dl {
    font-size: .9rem;
    list-style: none;
}
.award p {
    font-size: 0.7rem;
}



#hero {
    background-color: #4db1ec;
    background-image: url(../images/company2-400.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-blend-mode: screen;
    height: 230px;
    display: flex;
    align-items: center;
}
#hero h1 {
    font-family: "Playwrite DK Loopet";
    color: black;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    white-space: nowrap;
      
}

/* gallery
------------------------------*/
.grid-gallery {
   width: 94vw;
   margin: 0 auto 3rem;
   display: grid;
   gap: 2vw;
   grid-template-columns: repeat(2,46vw);
   grid-template-rows: repeat(30,46vw);
}
.gallery1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.column1_3 {
    grid-column: 1/3;
}
.column1_2-row4_6 {
    grid-column: 1/2;
    grid-row: 4/6;
}
.column1_2-row11_13 {
    grid-column: 1/2;
    grid-row: 11/13;
}
/*デスクトップ
------------------------------*/
@media  (min-width: 700px) {
    /* 見出し　*/
    .heading-large {
        font-size: 4rem;
    }

    /*　ヘッダー　*/
    .page-header {
        display: flex;
        justify-content: space-between;
        padding-top: 1.5rem;
    }
    .main-nav {
        font-size: 2rem;
    }

    /*　HOME　*/
    
    .home video {
        background-size: 800px 600px;
    }
    

    
    .news {
        margin: 4rem auto 0;
    }
    
    /*　product　*/
    .grid {
        gap: 3rem 2rem;
        grid-template-columns: repeat(3,1fr);
    }
    .grid-delicamini {
        grid-template-columns:repeat(3,1fr) ;
        gap: 3rem 5rem;
    }
    
    
    .grid-lm {
        gap: 3rem 5rem;
        grid-template-columns: repeat(3,1fr);
    }
    .grid-prius {
        gap: 3rem 3rem;
    }
    .prius-parts {
        width: 400px;
        height: 350px;
    }
    .taft-parts {
        width: 250px;
    }
    

    .product-img {
        width: 700px;
        height: 500px;
    }

    .cover-product p {
        text-align: center;
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    .shop {
        margin-top: 10rem
    }
    .shop h3 {
        font-size: 1.2rem;
        width: 200px;
        margin: 1rem auto 1rem 3rem;
    }
    .shop li {
        width: 400px;
        margin: .5rem auto .5rem 4rem;
        font-size: 1.4rem;
        list-style: none;
    }
    .shop p {
        width: 740px;
        margin: 1rem auto 3rem 4.5rem;
        font-size: 1.2rem;
    }
    .shop p a {
        font-size: 1.2rem;
    }
    .shop p a:hover {
        font-size: 1.5rem;
    }

    .grid-taft p {
        font-size: 1rem;
    }

    .grid-lm p {
        font-size: 1rem;
    }
    
    .netshop {
        font-size: 1.3rem;
        width: 150px;
        padding: 0 30px;
        margin-bottom: 1rem;
    }

    input[type="submit"] {
        font-size: 1rem;
        margin-bottom: .7rem;
        padding: 0 15px;
    }
    
    input[type="text"],
    input[type="email"] {
    width: 200px;
    height: 35px;
}

   /* company */
.work,
.award {
    width: 700px;
    height: 300px;
}
.history {
    width: 700px;
    height: 400px;
}
.work h2,
.history h2,
.award h2 {
    font-size: 1.8rem;
}
.work li,
.history p,
.history dl {
    font-size: 1.2rem;
    list-style: none;
}
.award p {
    font-size: 1rem;
}


#hero {
    background-image: url(../images/company2-800.png);
    width: 100%;
    height: 500px;
}#hero h1{
    font-size: 3rem;
}


    /*　フッター　*/
   
    .info th {
        padding-left: 2.5rem;
    }
    .contact {
        width: 100%;
        font-size: 1.5rem;
    }
    .copyright {
        width: 100%;
        font-size: 1.5rem;
    }
}
    
