@charset "UTF-8";

html {
    font-size: 16px;
}

body {
    font-family: 'ヒラギノ角ゴシック', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'ヒラギノ角ゴ StdN', 'Hiragino Kaku Gothic StdN', 'Arial', 'Helvetica', 'Helvetica Neue', sans-serif;
    background: #EAEAEA;
    margin: 0;
}

h2,
h3 {
    margin: 0;
    letter-spacing: 0.05em;
    font-weight: 550;
}

h2 {
    font-family: 'Arial', 'Helvetica', 'Helvetica Neue', sans-serif;
    font-size: 2.5rem;
    color: #75706F;
    padding-bottom: 3.5rem;
    line-height: 100%;
}

h3 {
    font-size: 30px;
    line-height: 150%;
}

p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 200%;
    letter-spacing: 0.1em;
    text-align: justify;
}

a {
    font-family: 'Arial', 'Helvetica', 'Helvetica Neue', sans-serif;
    font-size: 0.875rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.05em;
}

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

img {
    vertical-align: bottom;
}

.sp {
    display: none;
}

/* header */
header {
    height: 90px;
    display: flex;
    background: #fff;
}

header a {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

header img {
    width: 150px;
    height: auto;
}

/* fv */
.fv img {
    width: 100%;
    height: auto;
}


/* common */
.common {
    width: 83.6%;
    margin: auto;
}

/* intro */
.intro {
    text-align: center;
    width: 650px;
    margin: auto;
    padding: 120px 0;
}

.intro h2 {
    font-family: 'ヒラギノ角ゴシック', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'ヒラギノ角ゴ StdN', 'Hiragino Kaku Gothic StdN', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.1em;
    line-height: 150%;
    color: #000;
    padding-bottom: 0;
}

.intro p {
    text-align: center;
}

.intro .hashtag {
    padding: 1rem 0 2.5rem 0;
    line-height: 100%;
}

/* fadeIn1 */
.scrollanime {
    opacity: 0;
}

.fadeIn1 {
    animation-name: fadeIn1;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
}

@keyframes fadeIn1 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

.updown {
    transform: translateY(-100px);
}

.downup {
    transform: translateY(100px);
}

.sect02 {
    overflow: hidden;
}

.slide-right {
    transform: translateX(50px);
}

.slide-left {
    transform: translateX(-50px);
}

/* functions */
.functions {
    position: relative;
}

.functions .title {
    transform: rotate(90deg);
    height: fit-content;
    position: absolute;
    top: 20%;
    left: -3%;
}

.functions .title h2 {
    font-size: 2.5rem;
    padding-bottom: 1.5rem;
}

.functions .title p {
    font-family: 'Arial', 'Helvetica', 'Helvetica Neue', sans-serif;
    font-size: 0.875rem;
    white-space: nowrap;
    margin-top: -20px;
    color: #75706F;
    line-height: 100%;
}

.functions ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    padding: 0 6rem 0 12rem;
}

.functions img {
    width: 100%;
}

.functions h3 {
    padding: 2rem 0 1.5rem 0;
    font-size: 1.5rem;
    line-height: 100%;
    letter-spacing: 0.1em;
}

/* animation */
.box {
    opacity: 0;
}

.fadeIn2 {
    animation-name: fadeInAnime2;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeInAnime2 {
    from {
        opacity: 0;
        transform: translateX(150px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* nav */
nav {
    display: flex;
    gap: 80px;
    justify-content: center;
    text-align: center;
    padding: 7.5rem 0;
}

nav a {
    font-size: 2.5rem;
    color: #75706F;
    letter-spacing: 0.05em;
    border-bottom: solid 4px #75706F;
    padding-bottom: 0.5rem;
}

/* products */
.products .title h2 {
    line-height: 100%;
    padding-top: 1rem;
}

.products .title p {
    color: #75706F;
    font-weight: 600;
    line-height: 100%;
}

.products .product {
    display: flex;
    flex-direction: row;
    gap: 3.5rem;
    align-items: flex-end;
    padding-bottom: 7.5rem;
}

.snapshot {
    flex: 1;
}

.snapshot1 {
    width: 30%;
}

.snapshot2 {
    width: 20%;
}

.snapshot1 img {
    width: 100%;
}

.snapshot2 img {
    width: 100%;
}

.swiper-slide {
    width: 100%;
}

.swiper-container {
    width: 100%;
}

.products .description {
    width: 30%;
}

.products .description h3 {
    font-family: 'Arial', 'Helvetica', 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.products .description .detail {
    padding: 1.5rem 0;
}

.products .icons {
    display: flex;
    gap: 10px;
}

.products .icons img {
    width: 40px;
    margin: auto;
}

.products .icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: fit-content;
}

.products .icon p {
    font-size: 8px;
    text-align: center;
}

.products a,
.brands .btn {
    width: 15rem;
    height: 3.5rem;
    line-height: 3.5rem;
    background-color: #75706F;
    opacity: .9;
    color: #fff;
    text-align: center;
    display: block;
    margin-top: 2rem;

    &:hover {
        opacity: .8;
        transition: .3s;
    }
}

/* brands */
.brands {
    padding-bottom: 7.5rem;
}

.brands h2 {
    text-align: center;
    padding-bottom: 0;
}

.brands p {
    padding: 2.5rem 0 4rem 0;
    text-align: center;
}

.brands ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 6rem;
}

.brands img {
    width: 100%;

    &:hover {
        opacity: 0.7;
        transition: 0.3s;
    }
}

.brands .btn {
    margin: auto;
    font-family: 'ヒラギノ角ゴシック', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'ヒラギノ角ゴ StdN', 'Hiragino Kaku Gothic StdN', sans-serif;
}

/* feature */
.feature {
    padding-bottom: 7.5rem;
}

.feature h2 {
    text-align: center;
}

.line {
    border: 1px solid #000;
    width: 8%;
    margin: auto;
    margin-bottom: 50px;
}

.feature ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.feature img {
    width: 100%;
}

.feature a {
    &:hover {
        opacity: 0.9;
        transition: 0.3s;
    }
}

/* footer */
footer {
    background-color: #444;
    height: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer p {
    font-size: 12px;
}

/* toTop */
#page_top {
    width: 3.5rem;
    height: 3.5rem;
    position: fixed;
    right: 2rem;
    bottom: 0;
    background: #C0C0C0;
    z-index: 10;
}

#page_top a {
    position: relative;
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f0d8';
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

#page_top:hover {
    opacity: 0.8;
    transition: 0.2s;
}

@media screen and (max-width: 1024px) {
    h3 {
        font-size: 20px;
    }

    .intro h2 {
        font-size: 25px;
    }

    /* functions */
    .functions ul {
        padding: 0 50px 0 100px;
        gap: 30px;
    }

    .functions .title {
        top: 13%;
        left: -4%;
    }

    .functions .title h2 {
        font-size: 3.5vw;
    }

    .functions .title p {
        margin-top: -10px;
    }

    .functions li p {
        font-size: 14px;
    }

    /* nav */
    nav {
        padding: 100px 0;
    }

    /* products */
    .products .product {
        padding-bottom: 5rem;
        gap: 30px;
    }

    .products .description {
        width: 30%;
    }

    .products .description h3 {
        font-size: 16px;
    }

    /* brands */
    .brands ul {
        gap: 30px;
        padding-bottom: 5rem;
    }

    /* features */
    .feature ul {
        gap: 30px;
    }

}

@media screen and (max-width: 768px) {
    p {
        font-size: 0.8125rem;
    }

    a {
        font-size: 0.8125rem;
    }

    /* intro */
    .intro {
        width: 500px;
    }

    .intro h2 {
        font-size: 25px;
    }

    /* functions */
    .functions ul {
        padding: 0 40px 0 80px;
    }

    .functions .title {
        top: 14%;
        left: -5.5%;
    }

    .functions .title h2 {
        font-size: 35px;
    }

    .functions h3 {
        padding: 5px 0;
    }

    .functions li p {
        font-size: 12px;
    }

    /* nav */
    nav a {
        font-size: 35px;
    }

    /* products */
    .products h2 {
        padding-bottom: 2rem;
    }

    .products .product {
        flex-direction: column;
        align-items: flex-start;
    }

    .snapshot1,
    .snapshot2 {
        width: 100%;
    }

    .snapshot2 {
        width: 100%;
    }

    .products .description {
        width: 80%;
    }

    /* brands */
    .brands {
        width: 90%;
    }

    .brands ul {
        padding-bottom: 3.5rem;
        gap: 30px;
    }

    /* feature */
    .feature ul {
        gap: 30px;
    }
}

@media screen and (max-width: 428px) {
    .pc {
        display: none;
    }

    .sp {
        display: inline;
    }

    h2 {
        font-size: 2rem;
        padding-bottom: 2.5rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.8125rem;
    }

    .common {
        width: 92.3%;
    }

    /* header */
    header {
        height: 60px;
    }

    header img {
        width: 115px;
    }

    /* intro */
    .intro {
        padding: 4rem 0;
        width: 92.3%;
    }

    .intro h2 {
        font-size: 1.5rem;
    }

    .intro .hashtag {
        text-align: center;
        padding: 1rem 0 2rem 0;
    }

    /* functions */
    #wrapper {
        position: relative;
        display: flex;
        flex-wrap: wrap;
    }

    #fixed-area {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        width: 20%;
        height: 100vh;
        background: url("../img/function.jpg") no-repeat center;
        background-size: cover;
        background-position: left top;
    }

    #container {
        width: 80%;
    }

    #container .area img {
        width: 100%;
    }

    #container .area h3 {
        padding: 1.5rem 0 1rem 0;
    }

    #container .area p {
        padding: 0 1rem 2.5rem 0;
    }

    /* nav */
    nav {
        padding: 1.5rem 0 4rem 0;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: fit-content;
        margin: auto;
        align-items: center;
    }

    nav a {
        font-size: 2rem;
        border-bottom: solid 3px #75706F;
        margin: 0;
    }

    .tops {
        width: fit-content;
    }

    .hat {
        width: fit-content;
    }

    /* products */
    .products .product {
        gap: 2.5rem;
    }

    .products .description {
        width: 100%;
    }

    .products .description .detail {
        padding: 1rem 0;
    }

    .products a, 
    .brands .btn {
        width: 13rem;
        height: 3rem;
        line-height: 3rem;
        margin-top: 1.5rem;
    }

    /* brands */
    .brands {
        padding-bottom: 5rem;
    }

    .brands h2 {
        font-size: 1.5rem;
        white-space: nowrap;
    }

    .brands p {
        padding: 1.5rem 0 2.5rem 0;
    }

    .brands ul {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .brands .btn {
        margin-top: 0;
    }

    /* features */
    .feature {
        padding-bottom: 5rem;
    }

    .feature h2 {
        font-size: 1.5rem;
    }

    .feature ul {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* toTop */
    #page_top {
        width: 3rem;
        height: 3rem;
    }

    #page_top a {
        width: 3rem;
        height: 3rem;
    }
}