@import url("cssreset.css");
@import url("base.css");
@import url("header.css");
@import url("footer.css");


/* top.css */

/* common */
#top section h2 {
    margin-bottom: 2.5em;
    font-size: 16px;
    font-weight: 700;
    color: #221714;
}
#top section h2 span {
    display: block;
    line-height: 1.0;
    font-family: "Montserrat", sans-serif;
    font-size: 64px;
    color: #c4494d;
}

@media only screen and (max-width: 750px) {
    #top section h2 {
        font-size: 4.2vw
    }
    #top section h2 span {
        font-size: 8.4vw;
    }
}

a.btn-arrow {
    display: block;
    position: relative;
    width: 280px;
    background-color: #c4494d;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25em;
    border-radius: 2em;
    text-align: left;
    line-height: 50px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}
a.btn-arrow:visited,
a.btn-arrow:hover {
    color: #ffffff;
}
a.btn-arrow:after {
    display: block;
    position: absolute;
    top: 0;
    right: 1.25em;
    bottom: 0;
    width: 19px;
    height: 10px;
    background-repeat: no-repeat;
    background-position: right center;
    background-image: url("../images/common/arrow.png");
    background-size: auto 100%;
    margin: auto;
    content: "";
}
a.btn-arrow:hover:after {
    animation: btn-arrow-hover 0.6s forwards;
}
@media only screen and (max-width: 750px) {
    a.btn-arrow {
        width: 74.666vw;
        line-height: 13.333vw;
        font-size: 4.266vw;
    }
    a.btn-arrow:after {
        width: 4.933vw;
        height: 2.533vw;
    }
    a.btn-arrow:hover:after {
        animation: none;
    }
}

@keyframes btn-arrow-hover {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(50%);
  }
  100% {
    transform: translateX(0);
  }
}


/* key visual */
section#kv {
    background: linear-gradient(-45deg, #ffc15d 0%, #c4494d 100%);
}

section#kv .bg img {
    display: block;
}

section#kv p {
    position: absolute;
    top: 4.0vw;
    left: 4.5%;
    text-align: left;
    line-height: 2.4;
    font-size: 1.7vw;
    color: #ffffff;
    letter-spacing: 0.15em;
}
section#kv h1 {
    position: absolute;
    left: 4.5%;
    bottom: 5.2vw;
    text-align: left;
}
section#kv h1 span {
    display: inline-block;
    background-color: #ffffff;
    padding: 0 0.3em 0.1em;
    line-height: 1.4;
    font-size: 3.6vw;
    letter-spacing: 0.05em;
}
section#kv h1 em {
    background: linear-gradient(-45deg, #ffc15d 0%, #c4494d 100%);
    color: transparent;
    font-weight: 700;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}
section#kv h1 span:not(:last-child) {
    margin-bottom: 0.75vw;
}

section#kv a.btn-recruit {
    display: flex;justify-content: center;
    align-items: center;
    position: absolute;
    right: 4.5%;
    bottom: -60px;
    width: 240px;
    height: 240px;
    background-color: #c4494d;
    border: 1px solid #ffffff;
    border-radius: 100%;
    text-align: center;
    line-height: 1.4;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    z-index: 2;
    cursor: pointer;
}
section#kv a.btn-recruit:after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15%;
    width: 59px;
    height: 9px;
    background-repeat: no-repeat;
    background-position: right center;
    background-image: url("../images/common/arrow.png");
    background-size: contain;
    margin: auto;
    content: "";
}
section#kv a:hover {
    transform: scale(1.1);
}

@media only screen and (max-width: 1100px) {
    section#kv a.btn-recruit {
        bottom: -5.454vw;
        width: 21.818vw;
        height: 21.818vw;
        font-size: 2.9vw;
    }
    section#kv a.btn-recruit:after {
        width: 5.363vw;
        height: 0.818vw;
    }
}

@media only screen and (max-width: 750px) {
    section#kv {
        padding-top: 7.4vw;
    }
    section#kv p {
        position: static;
        margin-left: 7.4vw;
        margin-bottom: 1.25em;
        line-height: 2.0;
        font-size: 3.74vw;
    }
    section#kv h1 {
        position: static;
        margin-left: 7.4vw;
        margin-bottom: 9.74vw;
    }
    section#kv h1 span {
        font-size: 6.94vw;
        letter-spacing: 0.025em;
    }
    section#kv h1 span:not(:last-child) {
        margin-bottom: 1.066vw;
    }
    section#kv a.btn-recruit {
        bottom: -8.266vw;
        width: 32vw;
        height: 32vw;
        font-size: 4.266vw;
    }
    section#kv a.btn-recruit:after {
        bottom: 12.5%;
        width: 10.133vw;
        height: 2vw;
    }
    section#kv a:hover:after {
        animation: none;
    }
}


/* key visual animation */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes line {
    from { width:0em; }
    to { width: 100%; }
}

section#kv .bg {
    opacity: 0;
    animation-name: fade-in;
    animation-delay: .5s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease;
}
section#kv p {
    display: inline-block;
    overflow: hidden;
    width: 0%;
    white-space:nowrap;
    animation-name: line;
    animation-delay: 1.2s;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}
section#kv a.btn-recruit {
    opacity: 0;
    animation-name: fade-in;
    animation-delay: 3s;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-timing-function: ease;
}



/* message */
section#message {
    background-color: #fafaf0;
    padding-top: 100px;
    padding-bottom: 100px;
}

section#message p.catch {
    margin-bottom: 0.5em;
    line-height: 1.5;
    font-size: 56px;
    font-weight: 600;
}
section#message p.catch span {
    display: inline-block;
    position: relative;
    width: 10em;
}
section#message p.catch span:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 4px;
    background-color: #c45d49;
    content: "";
    transition: width 0.5s ease;
}
section#message p.catch span[data-aos="line-animate"].aos-animate:after {
  width: 100%;
}
section#message p.lead {
    margin-bottom: 2em;
    line-height: 2.2;
    font-size: 22px;
}
@media only screen and (max-width: 940px) {
    section#message p.catch {
        font-size: 8.4vw;
    }
    section#message p.lead {
        font-size: 2.4vw;
    }
}
@media only screen and (max-width: 750px) {
    section#message {
        padding-top: 16vw;
        padding-bottom: 16vw;
    }
    section#message p.catch {
        font-size: 7.466vw;
    }
    section#message p.lead {
        font-size: 3.8vw;
    }
}


/* service */
section#service {
    position: relative;
    background-color: #ffffff;
    padding-top: 60px;
    padding-bottom: 60px;
    color: #221714;
}
section#service:before {
    position: absolute;
    top: 135px;
    left: 0;
    width: 100%;
    height: calc(100% - 135px);
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("../images/top/service_bg_pc.jpg");
    background-size: cover;
    content: "";
}
section#service h2 {
    margin-bottom: 0;
    text-align: left;
}
section#service h2 span {
    display: inline-block;
    margin-right: 0.25em;
}
section#service p.lead {
    margin-bottom: 0.5em;
    padding-top: 60px;
    text-align: left;
    line-height: 1.2;
    font-size: 64px;
    font-weight: 700;
    color: #221714;
}
section#service p.lead strong {
    font-size: 96px;
    font-weight: 700;
}
section#service ol {
    margin-bottom: 1.5em;
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.075em;
}
section#service ol li {
    position: relative;
    margin-bottom: 0.5em;
    padding-left: 1.5em;
}
section#service ol em {
    display: inline-block;
    position: absolute;
    top: 0.2em;
    left: 0;
    width: 1.5em;
    height: 1.5em;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    z-index: 1;
}
section#service ol span:after {
    position: absolute;
    top: 0.35em;
    left: -0.05em;
    width: 1.5em;
    height: 1.5em;
    background-color: #989091;
    border-radius: 100%;
    font-size: 20px;
    content: "";
}
section#service ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.075em;
}
section#service ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32%;
    height: 72px;
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 4px;
    line-height: 1.2;
    color: #594d4d;
}

@media only screen and (max-width: 840px) {
    section#service p.lead {
        font-size: 7.2vw;
    }
    section#service p.lead strong {
        font-size: 11vw;
    }
}
@media only screen and (max-width: 750px) {
    section#service {
        padding-top: 6.6vw;
        padding-bottom: 16vw;
    }
    section#service:before {
        top: 16vw;
        height: 100%;
        background-color: #ebebeb;
        background-position: center top;
        background-size: contain;
        background-image: url("../images/top/service_bg_sp.jpg");
    }
    section#service p.lead {
        margin-bottom: 1em;
        padding-top: 6.6vw;
        font-size: 6.4vw;
    }
    section#service p.lead strong {
        font-size: 12vw;
    }
    section#service ol {
        border-bottom: 1px solid #989091;
        line-height: 1.6;
        font-size: 4.8vw;
    }
    section#service ol li {
        margin-bottom: 0;
        padding-top: 1em;
        padding-left: 2.5em;
        padding-bottom: 1em;
        border-top: 1px solid #989091;
    }
    section#service ol em {
        top: 0;
        left: 0.1em;
        bottom: 0;
        margin: auto;
        font-size: 5.4vw;
    }
    section#service ol span:after {
        top: 0;
        bottom: 0;
        width: 1.75em;
        height: 1.75em;
        margin: auto;
        font-size: 5.4vw;
    }
    section#service ul {
        display: block;
        margin-bottom: 8vw;
        font-size: 4.2vw;
    }
    section#service ul li {
        width: 100%;
        height: 14vw;
        margin-bottom: 2.4vw;
    }
}


/* case */
section#case {
    background-color: #fafaf0;
    padding-top: 100px;
    padding-bottom: 170px;
}
section#case .flex-wrap {
    margin-bottom: 40px;
    padding-bottom: 40px;
}
section#case .flex-wrap:not(:last-child) {
    border-bottom: 1px solid #989091;
}

section#case figure {
    width: 320px;
}
section#case .text {
    width: calc(100% - 340px);
    text-align: left;
}
section#case .img-right figure {
    order: 1;
}
section#case .text em {
    display: inline-block;
    margin-bottom: 1em;
    padding: 0 4em;
    border: 1px solid #c4494d;
    border-radius: 1em;
    line-height: 1.8;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #c4494d;
}
section#case .text h3 {
    margin-bottom: 0.25em;
    line-height: 1.4;
    font-size: 32px;
    font-weight: 700;
    color: #221714;
}
section#case .text p {
    font-size: 18px;
}
@media only screen and (max-width: 750px) {
    section#case {
        padding-top: 16vw;
        padding-bottom: 16vw;
    }
    section#case .flex-wrap {
        margin-bottom: 10vw;
        padding-bottom: 10vw;
    }
    section#case figure {
        width: 100%;
        margin-bottom: 5.4vw;
    }
    section#case .text {
        width: 100%;
    }
    section#case .text em {
        font-size: 2.4vw;
    }
    section#case .text h3 {
        margin-bottom: 0.5em;
        font-size: 6.8vw;
    }
    section#case .text p {
        font-size: 4.2vw;
    }
}


/* news */
section#news {
    background-color: #ebebeb;
    padding-top: 100px;
    padding-bottom: 50px;
}
section#news .inner {
    display: flex;
    justify-content: space-between;
}
section#news .title {
    width: 340px;
}
section#news h2 {
    margin-bottom: 3em;
    text-align: left;
}
section#news .title a.btn-arrow,
section#news .title a.btn-arrow:visited {
    margin-left: inherit;
    color: #ffffff;
}
section#news dl {
    width: calc(100% - 340px);
    text-align: left;
    color: #ffffff;
}
section#news dl div {
    margin-bottom: 35px;
}
section#news dl div:not(:last-of-type) {
    padding-bottom: 35px;
    border-bottom :1px solid #989091;
}
section#news dl dt {
    margin-bottom: 1em;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #c4494d;
}
section#news dl dt span {
    display: inline-block;
    background-color: #ffffff;
    margin-left: 1em;
    padding: 0 1.5em;
    border-radius: 1em;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 10px;
    color: #221714;
}
section#news dl dd {
    font-size: 18px;
}
section#news dl dd a {
    color: #231815;
    text-decoration: none;
}
section#news dl dd a:hover {
    color: #888888;
}
@media only screen and (max-width: 750px) {
    section#news {
        padding-top: 16vw;
        padding-bottom: 16vw;
    }
    section#news .inner {
        display: block;
    }
    section#news .title {
        width: 100%;
    }
    section#news h2 {
        margin-bottom: 2em;
        text-align: center;
    }
    section#news dl {
        width: 100%;
        padding-bottom: 2.666vw;
    }
    section#news dl div {
        margin-bottom: 8vw;
        padding-bottom: 8vw;
        border-bottom :1px solid #782c2f;
    }
    section#news dl div:not(:last-of-type) {
        padding-bottom: 8vw;
    }
    section#news dl dt {
        font-size: 4vw;
    }
    section#news dl dt span {
        font-size: 2.8vw;
    }
    section#news dl dd {
        font-size: 4.3vw;
    }
}



