@charset "UTF-8";

/*
SP
================================================ */
@media only screen and (max-width: 767px) {
    .wrapper {
        padding: 0 20px;
    }

/* Main visual */
    .top_hero {
        width: 100%;
        height: 100vh;
    }

    .slide img {
        overflow: hidden;
        position: relative;
        height: 100vh;
        min-height: 500px;
        width: 100%;
        object-fit: cover;
    }

    .top_hero h2 {
        font-family: 'Oswald', sans-serif;;
        font-size: 6rem!important;
        color: #fff;
        position: absolute;
        letter-spacing: 0.05em;
        top: 50%;
        left: 8%;
        width: calc(100% - 40px);
        z-index: 10;
    }
}

/* service */
    .top_service {
        width: 100vw;
        background: linear-gradient(-10deg, #fff, #fff 49.9%, #282828 50%);
        position: relative;
}
    .top_service .title {
        color: #fff;
        padding: 80px 0 20px;
        font-size: 4rem;
    }

    .top_service p {
        font-size: 1.4rem;
        color: #fff;
    }

    .service_category ul {
        display: block;
    }

    .category_wrap {
        background-color: #F0DC4B;
        padding: 30px 20px;
        text-align: center;
        max-width: 250px;
        margin: auto;
    }

    .category_wrap img {
        width: 58%;
        margin-bottom: 20px;
    }

    .top_service ul li:last-child img {
        width: 52%;
    }

    .category_wrap h3 {
        font-size: 2rem;
        font-weight: 500;
        margin-bottom: 20px;
    }

    .category_wrap p {
        color: #282828;
    }

    .category_wrap .link_btn {
        margin: 34px 0 0;
        position: relative;
    }

    .category_wrap .link_btn a {
        display: block;
        max-width: 200px;
        background-color: #F0DC4B;
        border: 1px solid #1a1a1a;
        color: #282828;
        font-family: 'Open Sans', sans-serif;
        font-size: 1.6rem;
        font-weight: 600;
        text-align: center;
        padding: 10px 5px 10px;
        margin: auto;
    }

    .category_wrap .link_btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -2%;
        width: 20px;
        border: 1px solid #1a1a1a;
    }

/* news */
    .top_news .title,
    .top_blog .title {
        color: #1a1a1a;
        padding: 80px 0 20px;
        font-size: 4rem;
    }
    .top_news p,
    .top_blog p {
        font-size: 1.4rem;
        margin: 0 0 40px;
    }

    .news_wrap {
        background-color: #F0F0F0;
        padding: 20px 0 40px;
        width:100vw; 
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .news_wrap .link_btn,
    .top_blog .link_btn {
        margin: 0 auto;
        max-width: 250px;
        position: relative;
    }

    .news_wrap .link_btn a,
    .top_blog .link_btn a {
        display: block;
        background-color: #F0DC4B;
        color: #1a1a1a;
        font-family: 'Open Sans', sans-serif;
        font-size: 1.4rem;
        font-weight: 600;
        padding: 16px 0;
        text-align: center;
        margin: auto;
    }

    .news_wrap .link_btn::before,
    .top_blog .link_btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -7%;
        width: 40px;
        border: 1px solid #1a1a1a;
    }

    .news_wrap ul {
        margin-bottom: 40px;
    }

    .news_wrap ul li {
        font-size: 1.3rem;
        border-bottom: 1px solid #1a1a1a;
        padding: 20px 10px;
        display: block;
        line-height: 200%;
    }

    .news_wrap ul li .date {
        margin: 0 60px 0 0;
    }

/* blog */
    .top_blog ul li {
        margin: 0 auto;
        max-width: 315px;
    }
    
    .top_blog img {
        max-width: 315px;
    }

    .top_blog .date {
        font-size: 1.3rem;
        color: #EBCD01;
        margin: 10px 0 0;
    }

    .top_blog .ttl {
        font-size: 1.3rem;
        color:#1a1a1a;
    }

    .top_blog .link_btn {
        margin-bottom: 120px;
    }

/* Info */
    .inforwrap {
        background-image: url(../images/common/contact_bg.jpg); 
        background-size: cover;
        padding: 100px 0 120px;
        width: 100%;
        text-align: center;
    }

    .inforwrap .title {
        font-size: 4rem;    
        margin-bottom: 40px;
    }

    .inforwrap .title:first-letter {
        color: #1a1a1a;
    }

    .inforwrap p {
        margin-bottom: 50px;
        font-size: 1.3rem;        
    }

    .inforwrap ul {
        margin: auto;
    }

    .inforwrap ul li {
        display: block;
    }

    .inforwrap .link_btn {
        position: relative;
        max-width: 325px;
    }

    .inforwrap .link_btn a {
        display: block;
        border: 1px solid #282828;
        color: #1a1a1a;
        font-size: 1.6rem;
        font-weight: 500;
        padding: 18px 0;
        text-align: center;
    }

    .inforwrap .link_btn a:hover {
        opacity: 1;
        background: #1a1a1a;
        color: #fff;
    }

    .inforwrap .link_btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -5%;
        width: 60px;
        border: 1px solid #1a1a1a;
    }

    .inforwrap .tel {
        display: block;
        border: 1px solid #282828;
        color: #1a1a1a;
        font-family: 'Open Sans', sans-serif;
        font-size: 2rem;
        font-weight: 600;
        padding: 18px 0;
        text-align: center;
        position: relative;
        margin: auto;
    }

    .inforwrap .tel_num::before {
        content: "\f2a0";
        font-size: 1.8rem;
        margin-right: 20px;  
        font: normal normal 900 1em "Font Awesome 5 Free";
        line-height: inherit;
        vertical-align: 1px;
    }
    .inforwrap .tel a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
    
/*
DESKTOP SIZE
================================================ */
@media (min-width: 768px) {

/*  Main visual */
    .top_hero {
        width: 100%;
        height: 100vh;
        position: relative;
        overflow: hidden;
    }

    .slide img {
        overflow: hidden;
        position: relative;
        height: 100vh;
        min-height: 500px;
        width: 100%;
        object-fit: cover;
    }
    
    .top_hero h2 {
        font-family: 'Oswald', sans-serif;;
        font-size: 12rem;
        color: #fff;
        position: absolute;
        letter-spacing: 0.05em;
        top: 36%;
        left: 8%;
        width: calc(100% - 40px);
        max-width: 1200px;
        z-index: 10;
    }

    /* service */
    .top_service {
        /* background-color: #282828;
        -webkit-clip-path: polygon(0 0, 100% 0%, 100% 80%, 0 100%);
        clip-path: polygon(0 0, 100% 0%, 100% 50%, 0 80%);*/
        width: 100vw;
        background: linear-gradient(-5deg, #fff, #fff 49.9%, #282828 50%);
        position: relative;
        min-height: 900px;
        /*padding: 120px 0 260px;*/
    }

     /* .top_service::after {
        content: '';
        position: absolute;
        left:0;
        top: 0;
        z-index: -1;
        width: 100%;
        height: 50%;
        background: #282828;
        transform: skewY(-8deg);
        transform-origin: top right;
      }*/

    .top_service .title {
        color: #fff;
        padding: 160px 0 20px;
        font-size: 5.4rem;
    }

    .top_service p {
        font-size: 1.6rem;
        color: #fff;
    }

    .service_category ul {
        display: flex;
    }

    .top_service ul li:first-child {
        margin: 140px 120px 0 0;
    }

    .top_service ul li:nth-child(2) {
        margin: 70px 120px 0 0;
    }

    .top_service ul li:last-child {
        margin: 0;
    }

    .category_wrap {
        background-color: #F0DC4B;
        padding: 30px 20px;
        text-align: center;
        max-width: 320px;
    }

    .category_wrap img {
        width: 58%;
        margin-bottom: 20px;
    }

    .top_service ul li:last-child img {
        width: 52%;
    }

    .category_wrap h3 {
        font-size: 2rem;
        font-weight: 500;
        margin-bottom: 20px;
    }

    .category_wrap p {
        color: #1a1a1a;
    }
    .category_wrap .link_btn {
        margin: 34px 0 0;
        position: relative;
    }
    .category_wrap .link_btn a {
        display: block;
        max-width: 250px;
        background-color: #F0DC4B;
        border: 1px solid #1a1a1a;
        color: #1a1a1a;
        font-family: 'Open Sans', sans-serif;
        font-size: 1.6rem;
        font-weight: 600;
        text-align: center;
        padding: 10px 5px 10px;
        margin: auto;
    }

    .category_wrap .link_btn a:hover {
        opacity: 1;
        background: #1a1a1a;
        color: #fff;
    }

    .category_wrap .link_btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 2%;
        width: 20px;
        border: 1px solid #1a1a1a;
    }

    /* news */
    .top_news .title {
        color: #1a1a1a;
        padding: 160px 0 20px;
        font-size: 5.4rem;
    }

    .top_news p {
        font-size: 1.6rem;
        margin-bottom: 60px;
    }

    .news_wrap {
        background-color: #F0F0F0;
        padding: 80px 0 120px;
        width:100vw; 
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .news_wrap .link_btn,
    .top_blog .link_btn {
        margin: 0 0 0 auto;
        max-width: 290px;
        position: relative;
    }

    .news_wrap .link_btn a,
    .top_blog .link_btn a {
        display: block;
        background-color: #F0DC4B;
        color: #1a1a1a;
        font-family: 'Open Sans', sans-serif;
        font-size: 1.8rem;
        font-weight: 600;
        padding: 24px 0;
        text-align: center;
        margin: auto;
    }

    .news_wrap .link_btn a:hover,
    .top_blog .link_btn a:hover {
        opacity: 1;
        background: #1a1a1a;
        color: #fff;
    }

    .news_wrap .link_btn::before,
    .top_blog .link_btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -8%;
        width: 50px;
        border: 1px solid #1a1a1a;
    }

    .news_wrap ul {
        margin-bottom: 60px;
    }

    .news_wrap ul li {
        font-size: 1.6rem;
        border-bottom: 1px solid #1a1a1a;
        padding: 50px 10px;
        display: flex;
        line-height: 200%;
    }

    .news_wrap ul li .date {
        margin: 0 60px 0 0;
    }

    /* blog */
    .top_blog {
        width: 100vw;
        background: linear-gradient(-5deg, #fff, #fff 59.9%, #282828 40%);
        position: relative;
    }

    .top_blog p {
        font-size: 1.6rem;
        color: #fff;
        margin-bottom: 60px;
    }

    .top_blog img {
        max-width: 380px;
    }

    .top_blog .title {
        color: #fff;
        padding: 160px 0 20px;
        font-size: 5.4rem;
    }

    .top_blog ul li {
        margin: 0 auto;
        max-width: 380px;
    }
    
    .top_blog .date {
        font-size: 1.6rem;
        color: #EBCD01;
        margin: 10px 0 0;
    }

    .top_blog .ttl {
        font-size: 1.6rem;
        color:#1a1a1a;
    }

    .top_blog .link_btn {
        margin-bottom: 120px;
    }

 /* Info */
    .inforwrap {
        background-image: url(../images/common/contact_bg.jpg); 
        background-size: cover;
        padding: 100px 0 120px;
        width: 100%;
        max-height: 470px;
    }

    .inforwrap .title,
    .inforwrap p {
        text-align: center;
        margin-bottom: 40px;        
    }

    .inforwrap .title {
        font-size: 5.4rem;
    }
    .inforwrap p {
        font-size: 1.6rem;
    }

    .inforwrap .title:first-letter {
        color: #1a1a1a;
    }

    .inforwrap ul {
        display: flex;
    }

    .inforwrap ul li {
        margin: auto;
    }

    .inforwrap .link_btn {
        margin: 0 80px 0 0;
        position: relative;
    }

    .inforwrap .link_btn a {
        display: block;
        border: 1px solid #282828;
        color: #1a1a1a;
        font-size: 2rem;
        font-weight: 500;
        padding: 24px 0;
        text-align: center;
        width: 530px;
    }

    .inforwrap .link_btn a:hover {
        opacity: 1;
        background: #1a1a1a;
        color: #fff;
    }

    .inforwrap .link_btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -5%;
        width: 60px;
        border: 1px solid #1a1a1a;
    }

    .inforwrap .tel {
        display: block;
        border: 1px solid #282828;
        color: #1a1a1a;
        font-family: 'Open Sans', sans-serif;
        font-size: 2.2rem;
        font-weight: 600;
        padding: 24px 0;
        text-align: center;
        position: relative;
        width: 530px;
        margin-left: 80px;
    }

    .inforwrap .tel_num::before {
        content: "\f2a0";
        font-size: 1.8rem;
        margin-right: 20px;  
        font: normal normal 900 1em "Font Awesome 5 Free";
        line-height: inherit;
        vertical-align: 1px;
    }
    .inforwrap .tel a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

@media (max-width: 1190px) {
    .wrapper {
        max-width: 1000px;
    }

    .top_hero h2 {
        font-size: 11rem;
    }
    .top_service ul li:first-child {
        margin: 140px 60px 0 0;
    }

    .top_service ul li:nth-child(2) {
        margin: 70px 60px 0 0;
    }
    
    .top_blog {
        background: #fff;
    }

    .top_blog .title,
    .top_blog p {
        color: #1a1a1a;
    }

    .inforwrap .link_btn {
        margin-right: 40px;
    }

    .inforwrap .link_btn a,
    .inforwrap .tel {
        width: 460px;
    }
}

@media (max-width: 999px) {
    .wrapper {
        max-width: 800px;
    }

    .top_hero h2 {
        font-size: 11rem;
    }

    .inforwrap .link_btn {
        margin-right: 30px;
    }

    .inforwrap .link_btn a,
    .inforwrap .tel {
        max-width: 325px;
    }

}

@media (max-width:767px) {
    .top_service ul li:first-child {
        margin: 40px 0;
    }

    .top_service ul li:nth-child(2) {
        margin: 40px 0 40px 60px;
    }

    .top_service ul li:last-child {
        margin: 0;
    }

    .inforwrap .link_btn {
        margin: 0 auto 40px;
    }

    .inforwrap .tel {
        max-width: 325px;
    }

}

/*  animate.css */

.delay05 {
    animation-delay: 0.5s;
}

.delay1 {
    animation-delay: 1s;
}

@-webkit-keyframes fadeIn {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, 30%, 0);
      transform: translate3d(0, 30%, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, 30%, 0);
      transform: translate3d(0, 30%, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }
  .fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
  }

