@charset "UTF-8";

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Sawarabi Mincho", serif;
    font-weight: 400;
    font-style: normal;
    color: rgb(48, 48, 48);
    padding: 2rem;
    transition: .5s;
}

.dark-theme {
    background: #000;
    color: #c5c5c5;
}

#btn {
    background: rgb(148, 148, 148);
    padding: 1rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #fff;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
}

a {
    text-decoration: none;
    display: block;
    /* ↑リンクの幅をいっぱいにする */
}

a:hover {
    opacity: 0.8;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

p {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    line-height: 2em;
}

div {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
}

.content {
    margin: 0 8%;
}

#about {
    margin-bottom: 400px;
    padding: 0 5%;
}

#values{
    padding: 0 5%;
}

.big_title {
    margin: 300px 0 30px 0;
    font-size: 4.2vw;
    letter-spacing: 0.15em;
    font-weight: bold;
    text-align: center;
    
}

.switch_image {
    position: relative;
}

.switch_image img {
    transition: opacity 0.5s;
}
.switch_image:hover img:first-of-type {
    opacity: 0;
}
.switch_image img:last-of-type {
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0;
}
.switch_image:hover img:last-of-type {
    opacity: 1;
}

.title {
    margin: 50px 0 30px 0;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-align: center;
}

.text {
    margin-bottom: 70px;
    text-align: center;
    text-align: left;
}

.text p {
    text-align: left;
}

.sp_br {
    display: none;
}

span {
    display: inline-block;
}

@media (min-width:768px) {

    .big_title {
        font-size: 1.4rem;
    }

    #about {
        margin-bottom: 450px;
    }

    .item .switch_image{
        margin: 5%;
    }

    .item .text {
        margin: 0 5%;
        margin-bottom: 80px;
    }

    .list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .text p {
        text-align: center;
    }

    .sp_br {
        display: block;
    }

}

#foot{
    
    padding-top: 150px;
    height: 350px;
    width: auto;
    margin: 0 8%;
}

.copy{
    text-align: center;
    border-bottom:solid #b1b1b1 1px;
}