@charset "utf-8"; 

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style-type: none;
    color: rgb(62, 62, 62);
}

body {
    width: 1300px;
    background-color: #fff;
    margin: 0 auto;
    align-items: center;
    text-align: center;
    font-size: 15px;
    letter-spacing: 0.02em;
    line-height: 2;
}

.pop {
    font-family: "Shippori Mincho B1", serif;
    letter-spacing: 0.05em;
}

header h1 {
    border-bottom: #aeadad 1px solid;
    margin: 150px 0 60px 0;
    font-size: 40px;
}


.word {
    display: inline-block;
    align-items: center;
    text-align: left;
    padding: 130px 0;
}


.flex {
    display: flex;
    justify-content: center;
}

.label {
     width: 300px; /* ラベルの幅固定 */
    font-weight: bold;
     flex-shrink: 0; /* 幅を縮めない */
}

.text {
    flex: 1; /* 残りの幅を使って折り返し */
}

.img {
    align-items: center;
}

.ux_f {
    border-top: #aeadad 1px solid;
    padding-top: 40px;
}

.ux_f p {
    margin: 30px 0;
}

.ux_f img {
    margin-bottom: 60px;
}

#works {
    margin: 80px 0;
}

#works .flex img {
    text-align: center;
    padding: 10px 40px;
}

#works span {
    border: #aeadad 1px solid;
    padding: 0.5em 1em;
    border-radius: 20px;
    margin-right: 5px;
}

#works h2 {
    margin-bottom: 60px;
}

header .logo {
    position: fixed;
    top: 40px;
    left: 60px;
}

nav ul {
    font-size: 14px;
    display: flex;
    justify-content: right;
    gap: 50px;
    padding: 50px 0;
    position: fixed;
    top: 0;
    right: 70px;
}

nav ul li a {
    display: block;
    transition: .2s;
}

nav ul a:hover {
transition: .2s;
opacity: .7;
}

/***追従するトップへ戻るボタン***/
#page-top {
    position: fixed;
    right: 30px;
    bottom: 40px;
    height: 50px;
    text-decoration: none;
    font-weight: medium;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    padding: 0 0 0 35px;
    border-top: solid 1px;
}
#page-top::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
}

#page-top:hover {
transition: .2s;
opacity: .7;
}
/***トップへ戻るボタンここまで***/

/* 下からふわっと */
.box {
    opacity: 0;
    visibility: hidden;
    transition: all 1.5s;
    transform: translateY(150px);
}

.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* プロフ写真ふわっと */
.fa-moon {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.fa-moon.animate {
    opacity: 1;
}