@charset "utf-8";

/*カラー設定*/
:root {
    --black: #000000;
    --black-gray: #333333;
    --white: #ffffff;
    --red: #ff0000;
    --blue: #0000ff;
    --light-blue: #bfcae2;
    --yellow: #ffff00;
    --green: #008000;
    --green2: #1D9E48;
    --grad1: rgba(255, 255, 255, 0.7);
    --grad2: rgba(255, 255, 255, 0.9); 
    --official-color: var(--black);
    --main-color: var(--white);
    --sub-color: var(--white);
    --bg-color1: var(--white);
    --bg-color2: var(--black);
    --bg-color3: var(--light-blue);
    --txt-main-color: var(--black);
    --txt-sub-color: var(--white);
    --accessories-color: var(--green);
    --border-color1: var(--black-gray);
    --grad-color1: var(--grad1);
}

.padding40{
  padding: 40px;
}

.pb20{
  padding-bottom: 20px;
}

/*メインコンテンツ*/
.main-wrap{
    padding: 5px;
}
@media (max-width: 750px) {
    .main-wrap{
        margin-top: 5px;
    }
}
.main-wrap .main-area{
    padding: 5px;
}
.main-wrap .main-area .float-news{
    /*position: fixed;
    top: 50%;
    right: 1px;
    z-index: 9999;*/
    background: var(--grad2);
    display: flex;
    justify-content: start;
}
.main-wrap .main-area .float-news .news-post{
    flex-direction: column;
    list-style: none;
    text-decoration: none;
}
.main-wrap .main-area .float-news .news-post li{
    list-style: none;
    text-decoration: none;
}
.main-wrap .main-area .post-box{
    flex-direction: row;
    padding: 5px;
    border-bottom: 1px solid var(--border-color1, #000000);
}
.main-wrap .main-area .post-box .post-date{
    margin-right: 5px;
}
.main-wrap .main-area .post-box .post-date{
    padding: 0 5px 0 5px;
}



.product h2, .about h2{
    font-size: 2.4rem;
    position: relative;
    padding: 0 0 10px 0;
    margin: 0 auto 4rem auto;
}
@media (max-width: 750px) {
    .product h2, .about h2{
        font-size: 4vw;
    }
}
.product h2:before, .about h2:before{
    content: '';
    display: block;
    position: absolute;
    left: 35%;
    bottom: -2px;
    width: 30%;
    height: 2px;
    background-color: var(--border-color1, #000000);
}
.product h3, .about h3{
    font-size: 2rem;
    text-align: center;
}
@media (max-width: 750px) {
    .product h3, .about h3{
        font-size: 3.5vw;
        margin: 2rem 0;
    }
}

section.product{
    margin-top: 4rem;
    padding: 4rem 0;
}
@media (max-width: 750px) {
    section.product .product-list{
        flex-direction: column;
    }
}

section.product .post .post-image{
    max-width: 300px;
}

@media (max-width: 750px) {
    section.product .post .post-image{
        margin: 0 auto;
        max-width: 50%;
    }
}

section.product .post .post-title{
    text-align: center;
}
section.product .post .post-text{
    text-align: center;
}


section.about{
    margin-top: 4rem;
    padding: 4rem 0;
}
.about .left-box, .about .right-box{
    width: 70%;
    padding: 10px 40px 40px 40px;
    border: 1px solid #333;
    border-radius: 4rem;
}
@media (max-width: 750px) {
    .about .left-box, .about .right-box{
        width: 100%;
        padding: 10px 20px 20px 20px;
        border: 1px solid #333;
        border-radius: 4rem;
    }
}
.about .left-box{
    margin: 0 auto 40px 0;
}
.about .right-box{
    margin: 0 0 0 auto;
}

#top .mainv {
    padding-top: 35.7%;
    position: relative
  }
  
  #top .mainv p {
    font-size: 6rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%)
  }
  
  #top .mainv .mainv-slider {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0
  }
  
  #top .mainv .mainv-slider ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    object-position: left;
  }
  
  #top .mainv .mainv-slider .slick-slider {
    width: 100%;
    height: 100%
  }
  
  #top .mainv .mainv-slider .slick-slider .slick-list {
    width: 100%;
    height: 100%
  }
  
  #top .mainv .mainv-slider .slick-slider .slick-list .slick-track {
    height: 100%
  }
  
  #top section {
    padding: 6rem 0
  }
  
  #top section:nth-of-type(even) {
    background: #f7f7f7
  }
  
  #top .inner {
    max-width: 88rem
  }
  
  #top .about h2 {
    margin-bottom: 4rem;
    font-size: 4rem;
    line-height: 1.4;
    color: #c39f5d;
    font-family: sans-serif
  }
  
  #top .about .txt {
    text-align: center;
    line-height: 2
  }
  
  #top .about .btn {
    margin-top: 4rem
  }
  
  #top .service ul {
    justify-content: space-between
  }
  
  #top .service ul li {
    width: calc((100% - (0.3rem * 3)) / 4);
    text-align: center
  }
  
  #top .service ul li a {
    width: 100%
  }
  
  #top .service ul li h3 {
    margin: 0 0 1.4rem;
    font-size: 3rem
  }
  
  #top .service ul li .img {
    margin-bottom: 2.5rem;
    width: 100%
  }
  
  #top .service ul li .img img {
    width: 100%
  }
  
  #top .service ul li .txt p {
    font-size: 1.2rem
  }
  
  #top .news .list-box {
    display: flex;
    justify-content: center;
    -webkit-justify-content: center
  }
  
  #top .news .list-box .list ul li:not(:last-child) {
    margin-bottom: 2rem
  }
  
  #top .news .list-box .list ul li .date {
    margin-right: 2.5rem;
    font-size: 1.5rem
  }
  
  #top .news .list-box .list ul li .ttl {
    font-size: 1.8rem
  }
  
  #top .news .btn {
    margin-top: 6rem
  }
  
  #top .recruit ul {
    justify-content: space-between
  }
  
  #top .recruit ul li {
    width: 32.4%;
    padding-bottom: 2.5rem;
    font-size: 1.2rem;
    background: #fff;
    position: relative
  }
  
  #top .recruit ul li:after {
    content: '';
    position: absolute;
    right: .5rem;
    bottom: .5rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 1rem 1rem;
    border-color: transparent transparent #000 transparent
  }
  
  #top .recruit ul li h3 {
    margin: 2rem 0;
    font-size: 1.8rem;
    text-align: center
  }
  
  #top .recruit ul li p {
    margin: 0 2rem;
    line-height: 2
  }
  
  #top .recruit ul li .img {
    position: relative;
    width: 100%;
    height: 0;
    margin-bottom: 2rem;
    padding-top: 60%
  }
  
  #top .recruit ul li .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    position: absolute;
    top: 0;
    left: 0
  }
  
  #top .recruit .btn {
    margin-top: 4rem
  }
  
  #top .contact {
    background: url(../src/img/common/contact-bg.png) no-repeat center;
    background-size: cover;
    position: relative
  }
  
  #top .contact:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5)
  }
  
  #top .contact .inner {
    position: relative
  }
  
  #top .contact h2 {
    color: #fff
  }
  
  #top .contact h2 span {
    color: #fff
  }
  
  #top .contact .flex {
    width: 100%;
    justify-content: space-between
  }
  
  #top .contact .contact-btn {
    width: 48.9%;
    border: 0.1rem solid #fff;
    transition: .3s
  }
  
  #top .contact .contact-btn a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1.7rem 2.2rem;
    color: #fff
  }
  
  #top .contact .contact-btn p {
    text-align: center;
    letter-spacing: .3rem;
    flex: 1 0 auto
  }
  
  #top .contact .contact-btn p span {
    display: block;
    font-size: 1.2rem;
    letter-spacing: .1rem
  }
  
  #top .contact .contact-btn svg {
    fill: none;
    stroke: #fff;
    stroke-width: .1rem;
    transition: .3s
  }
  
  #top .contact .tel-btn p {
    font-size: 3.9rem
  }
  
  #top .contact .tel-btn svg {
    width: 4.6rem
  }
  
  #top .contact .mail-btn p {
    font-size: 2.8rem
  }
  
  #top .contact .mail-btn svg {
    width: 5.2rem
  }
  
  #top .contact .mail-btn:hover {
    background: rgba(255, 255, 255, 0.5)
  }
  
  #top .contact .mail-btn:hover a {
    color: #000
  }
  
  #top .contact .mail-btn:hover svg {
    stroke: #000
  }
  
  #top .sns {
    background: #fff
  }
  
  @media (min-width: 751px) and (max-width: 1024px) {
    #top .mainv p {
      font-size: 5vw
    }
    #top .news h2 {
      padding: 2.2rem 3%
    }
    #top .news .list-box {
      width: 99%;
      margin: 0 auto
    }
    #top .news .list-box .list ul {
      margin-left: 1rem;
      font-size: 1.7vw
    }
    #top .news .list-box .list ul li a .date {
      margin-right: 1rem
    }
    #top .news .btn {
      margin-right: 1rem
    }
    #top .about {
      background-size: 70%, 100%;
      background-position: right bottom
    }
    #top .about h2 {
      font-size: 3vw
    }
    #top .about .txt {
      width: 85%
    }
    #top .g3 .txt {
      width: 69%
    }
    #top .g3 .txt p span {
      font-size: 4vw
    }
    #top .g3 .img {
      width: 28%
    }
    #top .recruit ul li h3 {
      margin: 2rem 1rem;
      font-size: 2.5vw
    }
    #top .recruit ul li p {
      margin: 2rem 1rem 1rem
    }
    #top .recruit ul li .btn a {
      padding: 1.1rem 5%;
      width: 90%;
      font-size: 1.6vw
    }
  }
  
  @media (max-width: 750px) {
    #top {
      padding-top: 0
    }
    #top .mainv {
      padding-top: 37vh
    }
    #top .mainv p {
      font-size: 8vw
    }
    #top section {
      padding: 7rem 0
    }
    #top .about h2 {
      font-size: 7vw
    }
    #top .news .list-box .list ul li .date {
      margin-right: 1rem;
      font-size: 1.4rem
    }
    #top .news .list-box .list ul li .ttl {
      font-size: 1.4rem
    }
    #top .recruit ul {
      flex-direction: column
    }
    #top .recruit ul li {
      width: 100%;
      padding-bottom: 0
    }
    #top .recruit ul li:not(:last-child) {
      margin-bottom: 2rem
    }
    #top .recruit ul li a {
      display: flex
    }
    #top .recruit ul li h3 {
      margin: 1rem 0;
      text-align: left
    }
    #top .recruit ul li p {
      margin: 0
    }
    #top .recruit ul li .img {
      width: 42.8%;
      height: auto;
      margin-bottom: 0;
      padding-top: 0
    }
    #top .recruit ul li .txt {
      width: 57.2%;
      padding: 0 1.8rem 2rem
    }
    #top .contact {
      background: url(../src/img/common/contact-bg.jpg) no-repeat center right;
      background-size: 234%
    }
    #top .contact h2+.flex {
      flex-direction: column
    }
    #top .contact .contact-btn {
      width: 100%
    }
    #top .contact .contact-btn .flex {
      align-items: center
    }
    #top .contact .contact-btn p {
      font-size: 6vw;
      letter-spacing: .1rem
    }
    #top .contact .contact-btn p span {
      font-size: 3.4vw
    }
    #top .contact .tel-btn {
      margin-bottom: 2rem
    }
    #top .contact .tel-btn a {
      padding: 1.1rem 2.2rem
    }
    #top .contact .tel-btn p {
      font-size: 8vw
    }
    #top .contact .tel-btn svg {
      width: 4rem;
      margin-left: .5rem
    }
    #top .contact .mail-btn svg {
      width: 5rem
    }
  }