/* 基本スタイル */
body, html {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    max-width: 1280px;
    margin: 0 auto;
    /* border: solid; */
    
}
/* スマートフォン画面のスタイル */
@media only screen and (max-width: 640px) {
    body, html {
        font-size: 14px;
        width: 100%;
    overflow-x: hidden;
    }
}


/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0.9;
    z-index: 1000; 
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffff;
    color:#000000;
    height: 90px;
    max-width: 1280px;
    padding: 0 4.3vw;
    margin: 0 auto;
}

.logo {
    margin-left: 20px;
}
.logo img{
    max-width: 301px;
    width: 22vw;
    min-width: 222px;
}
.nav_pc a {
    color: #000000;
}
.nav_pc ul li {
    height: 30px;
}
.nav_pc .shop{
    position: relative;
}
.nav_pc .shop::after{
    content: url(../img/cart.png);
    display: block;
    position: absolute;
    right: 25px;
    bottom: 5px;
    width: 20px;
    height: 20px;
}
.nav_pc .shop a{
    position: relative;
    padding-left: 30px;
    padding-right: 50px;
}

.nav_pc ul {
    display: flex;
}
.nav_pc ul li {
    padding-left: 10px;
    padding-right: 20px;
    display: flex;
    align-items: center;
}
.pc-none{
    display: none;
}
.sp-none{
    display:block;
}



/* タブレット画面のスタイル */
@media only screen and (max-width: 1000px) {
    header {
        opacity: 1;
    }
    .sp-none{
        display: none;
    }
    .pc-none{
        display: block;
    }
    .menu-toggle {
        background: none;
        border: none;
        color: #707070;
        font-size: 35px;
        margin-top: -2px;
    }
    .menu-close {
        position: absolute;
        top: 28px;
        right: 23px;
        background: none;
        border: none;
        color: #707070;
        font-size: 30px;
    }
    .nav_sp{
        /* display: none;  */
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        /* background-color: #b5b5b5; */
        background-color: rgba(255, 255, 255, 0.9);
        height: 100%;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        transition: .25s ease-in-out;
    }
    .nav_sp.open {
        top: 0; 
        display: flex;
    }
    .nav_sp img{
        z-index: 1010;
        width: 237px;
        margin-top: 50px;
        margin-bottom: 20px;
    }
    .nav_sp ul {
        width: 100%;
        height: 60vh;
        display: flex;
        flex-direction: column;
    }
    .nav_sp ul li {
        margin: 3vh auto;
        text-align: center;
    }
    .nav_sp a {
        /* color: #FFFFFF; */
        font-size: 1.3rem;
    }
    .sp-shop{
        height: 20vh;
        width: 100%;
        background-color: #8EC220;
        color: #FFFFFF;
        display: flex;
        justify-content: center;
        align-items: center; 
        position: absolute;
        bottom: 0;
    }
    .nav_sp .sp-shop a{
        color:#FFFFFF;
        border: solid 1px #ffffff;
        border-radius: 15px;
        padding: 1rem 4rem 2.5rem 4rem;
        
        position: relative;
    }
    .nav_sp .sp-shop a::after {
        content: url(../img/cart.png);
        display: block;
        position: absolute;
        right: 46%;
        bottom: 14px;
        /* right: 30px;
        bottom: 16px; */
        width: 20px;
        height: 20px;
        filter: invert(88%) sepia(61%) saturate(0%) hue-rotate(229deg) brightness(107%) contrast(101%);
    }
    .logo {
        margin-left: 0;
    }
    .logo img{
        max-width: 222px;
        width: 24vw;
    }

}

/* メイン */
main{
    /* padding-top: 57px; */
    margin-top: 90px;
}
/* タブレット画面のスタイル */
/* @media only screen and (max-width: 1000px) {
    main{
        padding-top: 59px;
    }
} */
/* スマートフォン画面のスタイル */
/* @media only screen and (max-width: 640px) {
    main{
        padding-top: 44px;
    }
} */
.slide{
    position: relative;
    width: 100%;
    max-height: 710px;
    height: 100%;
    margin-bottom: 22vw;
}
.swiper {
    height: 710px ;

}

.swiper-slide {
position: relative;
}
.swiper-slide img{
position: absolute;
right: 0;
width: 90%;
max-width: 1097px;
max-height: 710px;
height:auto;
object-fit: cover;
}
.swiper-pagination-bullet {
width: 16px !important;
height: 16px !important;
background-color: #FFFFFF !important;
opacity: 1 !important;
}
.swiper-pagination-bullet-active {
opacity: 0.5 !important;
}
.swiper-pagination {
bottom: 50px !important;
text-align: right !important;
padding-right: 90px;
}
.slide .message {
position: absolute;
left: 30px;
bottom: 122px;
background-color: #ffff; 
max-width: 444px;
width: 100%;
min-height: 227px;
padding: 2rem;
z-index: 5;
}
.slide .message p{
    font-family: "Noto Serif JP", serif;
}
.slide .message p:first-child{
    font-size: 1.75rem;
    margin-bottom: 20px;
}
/* タブレット画面のスタイル */
@media only screen and (max-width: 1000px) {
    .swiper-pagination {
        bottom: 200px !important;
    }
}

/* スマートフォン画面のスタイル */
@media only screen and (max-width: 640px) {
    .slide .swiper {
        width: 100% ;
        height: 480px; 

    }
    .slide .message {
        position: static;
        padding: 3rem 1rem;
    }
    .swiper-slide img{
        width: 100%;
        height: 480px;
        position: static;
    }
    .swiper-pagination {
        bottom: 20px !important;
        padding-right: 35px;
        }
}

/* お知らせ */
h3{
    font-size: 1.625rem;
    text-align: center;
    font-weight: normal;
    padding-bottom:12px;
}
#news{
    margin: 80px auto 110px auto;
    padding-top:100px;
}
#news a {
    color: #333333;
}
#news ul {
  width: 80%;
  background-color: #fff;
  margin: 0 auto;
  max-width: 728px;
}
#news ul li {
  border-bottom: 1px solid #333333;
  position:relative;
}

#news ul li:first-child {
  border-top: 1px solid #333333;
}
#news ul li a{
    transition: all 1s;
    display: block;
    min-height: 70px;
    position: relative;
}
#news ul li a p{
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    margin-right: 60px;
}
#news ul li a:hover .arrow::after{
    transform: translate(2px,0px);
    display: block;
}
#news .arrow::after{
    content: ">";
    display: block;
    position: absolute;
    right: 30px;
    bottom: 26px;
    width: 1.5rem;
    height: 1.5rem;
    font-size: 1.5rem;
}
#news time {
  font-size: 15px;
  margin-right: 50px;
  color: #ee7800;
}
#news button{
    width: 200px;
    height: 74px;
    border:solid 1px #646464;
    display: block;
    margin: 40px auto 0 auto;
    position:relative;
}
#news button a{
    transition: all 0.2s;
    color: #ee7800;
    font-weight: bold;
    display: block;
    height: 74px;
    padding: 1rem;
    overflow: hidden;
    position: relative;
}
#news button a:hover{
    background-color: #333333;
    display: block;
  }
#news button a:hover .arrow::after{
  color: #FFFFFF;
}
#news button a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #333333;
    transition: left 0.2s;
    z-index: -1;
}
#news button a:hover::before {
    left: 0;
}
#news button .color-green{
    color: #000000;
    font-weight: bold;
}
#news button .arrow::after{
    right: 10px;
    color: #333333;
    font-weight: normal;
    bottom: 28px;
}
/* スマートフォン画面のスタイル */
@media screen and (max-width: 640px) {
    #news ul {
        width: 100%;
        padding: 0 4.3vw;
    }
    #news ul li a p {
        margin-right: 50px;
        margin-left: 10px;
    }
    .break{
        display: block;
    }
    #news time{
    margin-bottom: 0.5rem;
    }
    #news .arrow::after {
        right: 15px;
    }
}

/* 取扱商品 */
#products{
    background-color:#000000;
    color: #FFFFFF;
    padding-top:100px;
    padding-bottom: 60px;
}
#products h3,
#contact h3{
    border-bottom: solid 1px #FFFFFF;
    max-width: 1100px;
    width: 86%;
    margin: 0 auto 10px auto;
    
}
.text-center{
    text-align: center;
    width: 80%;
    margin: 0 auto;
}
.container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 40px 15px;
    margin: 40px auto 70px auto;
    max-width: 1100px;
    width: 86%;
}
.container .item img{
    margin-bottom: 20px;
    object-fit: cover;
    width: 100%;
    height: auto;
}
h4{
    font-size: 1.625rem;
    margin-bottom: 15px;
}
.products2{
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
}
.products2 .p2-1 {
    line-height: 2rem;
    font-size: 1.25rem;
    margin-bottom: 40px;
}
.products2 .p2-2 {
    margin-bottom: 40px;
}
.products2 .p2-3 {
    padding:20px 0;
    border: solid 1px #FFFFFF;
    max-width: 820px;
    height: 90px;
    margin: 0 auto;
}
/* タブレット画面のスタイル */
@media only screen and (max-width: 1000px) {
    .products2 .p2-1 {
        font-size: 0.9rem;
    }
}

/* スマートフォン画面のスタイル */
@media only screen and (max-width: 640px) {
    .container{
        grid-template-columns: 1fr; 
        gap: 40px 10px;
        width: 90%;
    }
    h4 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    #products h3, #contact h3 {
        width: 90%;
        margin-bottom: 5px;
    }
    #products .container .item img {
        margin-bottom: 5px;
    }
    #products .container p
    {
        font-size: 0.7rem;
    }
    #products .products2 p
    {
        font-size: 0.7rem;
        width: 90%;
        margin: 0 auto 15px auto;
        line-height: 1.3rem;
    }
    .products2 .p2-3 {
        padding: 10px 0;
    }

}

/* 会社概要 */
#about{
    padding:120px 0;
    max-width: 1100px;
    width: 86%;
    margin: 0 auto;
   
}
#about ul{
    display: flex;
    padding-bottom:120px;
}
#about ul li:nth-child(1){
    width: 20%;
    height: 280px;
    border-right: solid 1px #333333;
    display: flex;
    align-items: center;
}
#about ul li:nth-child(2){
    width: 50%;
    padding:0 50px;
}
#about ul li:nth-child(2) img{
    max-width: 133px;
}
#about ul li:nth-child(3){
    width: 30%;
}
#about ul li:nth-child(3) img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
#about ul li h3{
    text-align: left;
    font-size:1.25rem;
}
#about ul li h3 span{
    font-size: 1.875rem;
}
#about ul li .name{
    font-size: 1.375rem;
    margin-bottom: 15px;
}
#about ul li .address{
    margin-bottom: 15px;
}
#about ul li .detail{
    font-size: 0.875rem;
}
#about .ku{
    display: none;
}
.gmap_wrapper {
    max-width: 1100px;
    height: 500px;
}
.gmap {
    position: relative;
    padding-top: 45.45%;
    /*16:9の比率にしたい場合、9/16=56.25%*/
}
.gmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* スマートフォン画面のスタイル */
@media only screen and (max-width: 640px) {
    #about {
        width: 100%;
        padding-top: 20px;
        padding-bottom: 0;
    }
    #about ul {
        flex-direction: column;
        padding-bottom: 50px;
    }
    #about ul li{
        width: 100%;
        border: none;
        
    }
    #about ul li:nth-child(1){
        width: 100%;
        border-right: solid 0px;
        order: 1;
        height: 200px;
        margin-left:1rem;
    }
    #about ul li:nth-child(2){
        width: 100%;
        padding: 0 10px;
        border-left: solid 1px #333333;
        order: 3;
        margin-left:1rem;
    }
    #about ul li:nth-child(3) {
        width: 100%;
        order: 2;
        margin-top: -40px;
        margin-bottom: 40px;
    }
    #about ul li h3{
        text-align: left;
        font-size:1.5rem;
    }
    #about ul li h3 span{
        font-size: 2.2rem;
    }
    #about .ku{
        display: inline-block;
    }
    .gmap_wrapper {
        height: auto; 
        margin-bottom: 40px;
    }
}

/* お問い合わせ */
#contact{
    padding-top: 120px;
    padding-bottom: 60px;
    color: #FFFFFF;
    background-color:#000000;
    margin-top: 80px;
}
#contact .form{
    width: 1100px;
    width: 86%;
    margin: 0 auto;
}
/* スマートフォン画面のスタイル */
@media screen and (max-width: 640px) {
    #contact {
        padding-top: 60px;
    }
    #contact .form {
        width: 90%;
    }
}

.footer1{
    display: flex;
    justify-content: center;
    padding: 50px;
}
.footer1 img{
    width: 133px;
    height: 78px;
}
.footer1 div .name{
    font-size: 1.375rem;
    margin-bottom: 10px;
}
.footer2{
    height: 30px;
    line-height: 30px;
    background-color: #333333;
    color:#FFFFFF;
}
/* スマートフォン画面のスタイル */
@media screen and (max-width: 640px) {
    .footer1{
        flex-direction: column;
    }
    .footer1 p{
        text-align: center;
    }
    .footer1 img{
        margin: 30px auto; 
    }
}