@charset "utf-8";

/* ////////////////
common
/////////////// */

@font-face {
    font-family: "NotoSansJP-Light";
    src: url(./fonts/NotoSansJP-Light.ttf) format("truetype");
    font-weight: 300;
}
@font-face {
    font-family: "NotoSansJP-Regular";
    src: url(./fonts/NotoSansJP-Regular.ttf) format("truetype");
    font-weight: 400;
}

body {
    font-family: Hiragino Sans, MS Gothic, Arial, sans-serif;
    position: relative;
    background: linear-gradient(to right, #084324 0%, #084324 20%, #efefef 0%, #efefef 80%);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #000;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a,
a:hover,
a:active {
    text-decoration: none;
    color: #000;
}

img {
    width: 100%;
    height: auto;
}

h2 {
    margin: 0;
}

p {
    margin: 0;
}

main {
    flex: 1;
    border-bottom: 4rem #084324 solid;
}

section {
    margin-top: 2.5rem;
}

.container {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.wrapper {
    position: relative;
}

.wrapper-inner {
    max-width: 1200px;
}

@media screen and (max-width: 768px) {
    section {
        margin-top: 1.5rem;
    }
    .container {
        padding: 0 1rem;
    }
}

/* header */

.site-header {
    width: 100%;
    height: 80px;
    background-color: #084324;
    transition: all 0.5s;
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.logo {
    height: 100%;
}

.logo div {
    display: flex;
    height: 100%;
    font-size: 2rem;
    align-items: center;
}

.logo div img {
    width: 112px;
    height: 112px;
    position: relative;
    top: 1rem;
}

.logo div > div {
    font-family: Hiragino Mincho Pro, MS PMincho, serif;
    font-size: 1.5rem;
    color: #fff;
    margin-left: 1.5rem;
}

@media screen and (max-width: 950px) {
    header {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .site-header {
        height: 40px;
    }
    .logo div img {
        width: 60px;
        height: 60px;
        top: 10px;
    }
}

/* menu */

.nav ul {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.nav ul {
    text-align: center;
}

.nav ul li a {
    color: #fff;
    text-decoration: none;
}

.nav ul li a:hover {
    border-bottom: 1px solid #fff;
}
/*
ページ追加時に↑を削除してコメントアウト解除
.nav ul li a:hover,
.nav ul li.current {
    border-bottom: 1px solid #fff;
} */

.nav ul li:not(:last-child) {
    margin-right: 4rem;
}

.responsive-nav {
    display: none;
}

@media screen and (max-width: 1150px) {
    .nav ul li:not(:last-child) {
        margin-right: 1.5rem;
    }
}

@media screen and (max-width: 950px) {
    .nav.desktop {
        display: none;
    }

    .responsive-nav {
        display: block;
    }

    .menu-toggle {
        cursor: pointer;
    }

    .menu-icon {
        display: inline-block;
        position: fixed;
        top: 20px;
        right: 20px;
        height: 30px;
        width: 30px;
        z-index: 999;
    }

    .line {
        background: #fff;
        display: block;
        height: 2px;
        width: 100%;
        position: relative;
        transition: all 0.3s ease-in-out;
    }

    .line1 {
        top: 8px;
    }

    .line2 {
        top: 15px;
    }

    .line3 {
        top: 22px;
    }

    .nav.responsive {
        position: fixed;
        z-index: 99;
        height: 90vh;
        width: 75%;
        top: 0;
        right: -120%;
        transition: all 0.3s;
        background-color: #084324;
    }

    .nav.responsive ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav.responsive ul li {
        margin: 0;
    }

    .nav.responsive ul li:not(:first-child) {
        padding-top: 1rem;
    }

    .nav.responsive.open {
        right: 0;
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-9px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-7px, -4px);
    }
}

@media screen and (max-width: 768px) {
    .menu-icon {
        top: 3px;
        right: 10px;
    }
}

/* Scroll Top */

#scrollTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background-color: #ec6519;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    z-index: 50;
    cursor: pointer;
}

#scrollTop > div {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid #fff;
}

@media screen and (max-width: 950px) {
    #scrollTop {
        display: none;
    }
}

/* footer  */
footer {
    background-color: #efefef;
    color: #000;
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1rem solid #084324;
}

footer .nav {
    margin-bottom: 2.5rem;
}

footer .nav ul {
    justify-content: center;
}

footer .nav ul li a {
    color: #000;
}

footer .sub-menu ul {
    display: flex;
    justify-content: center;
}

footer .sub-menu ul li {
    font-size: 0.8rem;
}

footer .sub-menu ul li:not(:last-child) {
    margin-right: 1.5rem;
    padding-right: 1.5rem;
    border-right: 1px solid #000;
}

footer .copyright {
    font-family: NotoSansJP-Light;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 4rem;
}

@media screen and (max-width: 768px) {
    footer {
        padding-top: 2rem;
        padding-bottom: 1.5rem;
    }
    footer .nav {
        display: none;
    }
    footer .sub-menu ul {
        flex-direction: column;
        align-items: center;
    }
    footer .sub-menu ul li:not(:last-child) {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
        margin-bottom: 0.75rem;
    }
    footer .copyright {
        margin-top: 2rem;
    }
}

/* ////////////////
TOP
/////////////// */

/* container right aligned */
.container.align-right {
    max-width: calc(100% - (50% - (1200px / 2)));
    width: calc(100% - 2rem);
    margin-right: 0;
    margin-left: auto;
    padding: 0;
    padding-left: calc((50% - (1200px) / 2) - 2rem);
    border-left: solid transparent;
    border-left-width: calc(2rem + 0);
}

/* discription button */
.discription_btn a {
    position: relative;
    right: 0;
    padding: 1rem 5rem;
    display: inline-flex;
    align-items: center;
    color: #fff;
    background-color: #00913a;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: NotoSansJP-Regular;
}

@media screen and (max-width: 768px) {
    .discription_btn a {
        padding: 0.75rem 3rem;
    }
}

/* Key Visual */
.key-visual {
    position: relative;
    width: 100%;
    height: auto;
}

/* slider */
.slider {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
}

.slider-item {
    width: 100%;
    height: auto;
}

.slider-item img {
    width: 100%;
    height: auto;
}

.slick-dots {
    position: relative;
    z-index: 3;
    text-align: center;
    bottom: 30px;
    margin-bottom: -25px;
}

.slick-dots li {
    display: inline-block;
    margin: 0 55px;
}

.slick-dots li button:before {
    content: "";
    height: 4px;
    width: 119px;
    background-color: #fff;
    display: inline-block;
    opacity: 1;
}

.slick-dots li.slick-active button:before {
    background-color: #ec6519;
    opacity: 1;
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .slick-dots {
        bottom: 15px;
    }
    .slick-dots li {
        display: inline-block;
        margin: 0 20px;
    }
    .slick-dots li button:before {
        content: "";
        height: 2px;
        width: 50px;
        background-color: #fff;
        display: inline-block;
        opacity: 1;
    }
}

/* headline */
.headline-area {
    position: relative;
    overflow: hidden;
}

.h2_modifier {
    font-family: NotoSansJP-Regular;
    font-weight: normal;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #fff;
    background-color: #084324;
    display: flex;
}

.h2_modifier span {
    padding: 0.5rem 0;
    text-align: center;
}

.h2_modifier::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    border: none;
    border-right: solid 40px #efefef;
    border-top: solid 60px transparent;
}

.h2_modifier .h2_modi_en {
    background: #ec6519;
    margin-right: 4rem;
    padding-left: 1.5rem;
    z-index: 1;
    width: 160px;
}

.h2_modifier .h2_modi_en::after {
    position: absolute;
    content: "";
    top: 0;
    left: 180px;
    border: none;
    border-left: solid 40px #ec6519;
    border-bottom: solid 60px transparent;
}

.h2_modifier .h2_modi_jp {
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .h2_modifier .h2_modi_en {
        background: #ec6519;
        margin-right: 3rem;
        padding-left: 1rem;
        z-index: 1;
        width: 120px;
    }
    .h2_modifier .h2_modi_en::after {
        left: 130px;
    }
    #before-after .h2_modifier,
    #before-after .h2_modifier .h2_modi_jp {
        font-size: 0.75rem;
    }
    #before-after .h2_modifier .h2_modi_en {
        padding-left: 0.5rem;
        width: 130px;
    }
    #before-after .h2_modifier .h2_modi_en::after {
        left: 130px;
    }
}

/* Contents */

#contents .wrapper {
    background-color: #fff;
    padding: 2.5rem;
}

#contents .wrapper-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#contents .contents-column {
    text-align: center;
    width: calc(33.3% - 1rem);
    height: auto;
    margin-bottom: 2rem;
}

#contents .contents-column a {
    width: 100%;
    height: 100%;
}

#contents .contents-column a div {
    margin-top: 1rem;
}

#contents .contents-column p {
    margin-top: 1rem;
    font-size: 0.8rem;
}

@media screen and (max-width: 950px) {
    #contents .wrapper {
        padding: 1rem;
    }
    #contents .wrapper-inner {
        flex-direction: column;
    }
    #contents .contents-column {
        width: 100%;
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 768px) {
}

/* Before After */

#before-after .wrapper {
    background-color: #fff;
    padding-top: 4rem;
    padding-bottom: 6rem;
}

#before-after .wrapper-inner:first-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

#before-after .b-a-img {
    width: calc(33.3% - 1rem);
    height: auto;
}

#before-after .b-a-arrow {
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid #ec6519;
    margin-left: 1rem;
    margin-right: 1rem;
}

#before-after p {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
    line-height: 1.5;
}

#before-after .discription_btn {
    text-align: center;
}

@media screen and (max-width: 950px) {
    #before-after .wrapper-inner {
        flex-direction: column;
    }
}
@media screen and (max-width: 768px) {
    #before-after .wrapper {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }
    #before-after .b-a-img {
        padding: 0;
        width: 100%;
        text-align: center;
    }
    #before-after .b-a-img img {
        width: 80%;
    }
    #before-after .b-a-img img {
    }
    #before-after .b-a-arrow {
        margin: 1rem 0 0 0;
        border-right: 12px solid transparent;
        border-left: 12px solid transparent;
        border-top: 16px solid #ec6519;
    }
    #before-after p {
        text-align: center;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        font-size: 1rem;
        line-height: 1.2;
    }
}

/* Company */

#company {
    position: relative;
}

#company .wrapper {
    background-color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}

#company .slogan {
    font-family: Hiragino Mincho Pro, MS PMincho, serif;
    font-size: 2rem;
    padding-bottom: 2rem;
}

#company p {
    line-height: 1.8;
    margin-bottom: 3rem;
}

@media screen and (max-width: 950px) {
    #company {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    #company .wrapper {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #company .slogan {
        font-size: 1.2rem;
        padding-bottom: 1.2rem;
    }
    #company p {
        line-height: 1;
        margin-bottom: 1.5rem;
    }
}
