@charset "utf-8";

*,
::after,
::before {
    margin: 0;
    padding: 0;
    font-size: 100%;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    display: block;
}

ol,
ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    background: #feeeee;
    color: #70554f;
    font-family: "Outfit", "Zen Kaku Gothic New";
    font-size: 20px;
    line-height: 1;
    letter-spacing: .1em;
    text-align: justify;
}

dl {
    text-align: justify;
}

button {
    padding: 0;
    border: none;
    outline: 0;
    font: inherit;
    color: inherit;
    background: 0 0;
}

.header {
    max-width: 1900px;
    height: 110px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 170px;
    padding-left: 30px;
    position: relative;
    z-index: 1;
}

.menu-container {
    width: 100px;
    height: 100px;
    border-radius: 0 0 0 100px;
    background: #f29ba3;
    cursor: pointer;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
}

.menu-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
}

.menu-bar {
    position: absolute;
    top: 20px;
    right: 18px;
}

.menu-bar span {
    background: #fff;
    display: block;
    width: 34px;
    height: 2px;
    transition: ease .4s;
    position: relative;
}

.menu-bar span:first-child {
    top: 0;
}

.menu-bar span:nth-child(2) {
    margin: 8px 0;
}

.menu-bar span:nth-child(3) {
    top: 0;
}

.menu-text {
    position: absolute;
    top: 48%;
    left: 44%;
    color: #fff;
    font-size: 16px;
    letter-spacing: .1em;
}

.menu-container:hover {
    opacity: .6;
}

.nav {
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.list-items a {
    color: #70554f;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 30px;
    margin-bottom: 70px;
}

.list-items:last-child a {
    margin-bottom: 0;
}

.list-items a:hover {
    opacity: .6;
}

.small-items {
    display: block;
    font-size: 20px;
    color: #f29ba3;
    padding-top: 20px;
}

.nav.active {
    opacity: 1;
    visibility: visible;
    background-color: rgba(255, 255, 255, .5);
    backdrop-filter: blur(15px);
}

.hamburger.active span:first-child {
    top: 5px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
}

.first-view {
    max-width: 100vw;
    height: 100vh;
    margin-top: -110px;
    overflow: hidden;
    position: relative;
}

.first-view-img {
    width: 100%;
    height: 100%;
    background-image: url(../img/first-view-pc.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    animation: blurIn 3s ease forwards;
}

.first-view-text {
    position: absolute;
    top: 50%;
    right: 30px;
    color: #fff;
}

.first-view-text img {
    width: 620px;
}

.first-view-text p {
    margin-top: 16px;
    padding-left: 20px;
}

.first-view-div {
    display: flex;
    align-items: center;
    justify-content: end;
}

.text-bar {
    width: 30px;
    height: 1px;
    margin-top: 12px;
    background: #fff;
}

.fade-in-text {
    position: relative;
    font-size: 24px;
    opacity: 0;
    transform: translateY(100%);
    animation: fadeInFromBottom 2s forwards;
}

@keyframes fadeInFromBottom {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scrollbar-text {
    display: inline-block;
    position: absolute;
    bottom: 0;
    padding: 10px 10px 110px;
    color: #fff;
    font-size: 16px;
    writing-mode: vertical-lr;
    left: 3%;
    transform: translateX(-50%);
}

.scrollbar {
    position: absolute;
    left: 3%;
    transform: translateX(-50%);
    bottom: 1px;
}

.scrollbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1px;
    height: 100px;
    background: #fff;
}

.scrollbar::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation: circlemove 2.4s ease-in-out infinite, cirlemovehide 2.4s ease-out infinite;
}

@keyframes circlemove {
    0% {
        bottom: 95px;
    }

    100% {
        bottom: 0;
    }
}

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

    50% {
        opacity: 1;
    }

    80% {
        opacity: .9;
    }

    100% {
        opacity: 0;
    }
}

#works {
    background: #fde1e1;
    position: relative;
}

.title {
    text-align: center;
}

.title-h2 {
    padding-top: 100px;
    margin-bottom: 16px;
    font-size: 24px;
}

.title-p {
    font-size: 18px;
}

.title-div {
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

.title-bar {
    width: 40px;
    height: 1px;
    margin-top: 8px;
    background: #70554f;
    margin-right: 14px;
}

.works-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    justify-items: center;
    place-items: center;
    grid-template-columns: repeat(auto-fit, 360px);
    column-gap: 60px;
    row-gap: 100px;
    padding-bottom: 100px;
}

.contents {
    position: relative;
}

.contents a {
    display: block;
    position: relative;
}

.contents h3 {
    margin-top: 24px;
}

.contents p {
    color: #f29ba3;
    font-size: 18px;
    margin-top: 8px;
}

.img-wrap {
    width: 100%;
    height: 250px;
    overflow: hidden;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, .1);
}

.img-wrap img {
    object-fit: cover;
    transition: transform .5s ease-out;
    height: 250px;
}

.img-wrap img:hover {
    transform: scale(1.2);
    opacity: .6;
}

.about-contents {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.about-intro {
    width: 54%;
}

.name h3 {
    font-size: 20px;
}

.name-alpha {
    display: inline-block;
    color: #f29ba3;
    font-size: 16px;
    margin-top: 14px;
}

.disc {
    margin: 20px 30px 20px 0;
    font-size: 17px;
    line-height: 2;
}

.about-contents {
    display: flex;
    justify-content: space-between;
}

.about-img {
    width: 50%;
    height: 300px;
    position: relative;
    background-image: url(../img/about-img-01.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, .1);
}

.spin {
    position: absolute;
    top: -70px;
    right: -70px;
    animation: rotate 16s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

.more-btn {
    cursor: pointer;
    display: inline-block;
    background: #f29ba3;
    color: #fff;
    width: 180px;
    padding: 15px 20px;
    text-align: center;
    border-radius: 30px;
    font-size: 18px;
}

.arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform .3s ease;
}

.more-btn:hover {
    opacity: .6;
}

.more-btn:hover .arrow {
    transform: translateX(8px);
}

.footer {
    background-image: url(../img/bg-footer.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#contact {
    margin-top: 240px;
    padding-top: 140px;
    position: relative;
}

.contact-text {
    text-align: center;
    line-height: 2;
}

.contact-text p {
    margin-bottom: 20px;
}

.material-symbols-outlined {
    font-variation-settings: 'opsz' 48, 'GRAD' 200;
}

.mail-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
}

.mail {
    font-size: 70px;
    margin-right: 10px;
}

.mail:hover {
    opacity: .6;
}

.copy {
    font-size: 16px;
    text-align: center;
    padding: 10px 0 12px;
}

@keyframes blurIn {
    0% {
        filter: blur(10px);
        opacity: 0;
    }

    100% {
        filter: blur(0);
        opacity: 1;
    }
}

.main {
    margin-top: -110px;
}

#about {
    position: relative;
}

.prof-wrap {
    max-width: 900px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 90px;
}

.prof-img {
    width: 100%;
    height: 400px;
    background-image: url(../img/about-img-02.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, .1);
}

.profile {
    margin-left: 60px;
}

.prof-disc {
    margin-top: 30px;
}

.prof-p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 2;
}

.bg-skill {
    background: #fde1e1;
}

.skill-wrap {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 60px 70px;
}

.skill-wrap ul {
    display: flex;
    margin: 0 50px;
}

.skill-contents {
    padding: 20px 40px;
    width: 100%;
}

.tool {
    display: block;
    font-size: 16px;
    color: #f29ba3;
    padding-top: 10px;
}

.skill-disc {
    margin-top: 20px;
    font-size: 18px;
    line-height: 2;
}

.skill-name {
    text-align: center;
}

.skill-img {
    width: 200px;
    margin: 20px auto;
    padding: 60px;
    background: #fff;
    border-radius: 150px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    width: 2px;
    height: 100%;
    background: #f29ba3;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: -5px;
    top: 5px;
    width: 12px;
    height: 12px;
    background-color: #f29ba3;
    border-radius: 50%;
}

.timeline-content {
    background: #fff;
    line-height: 1.5;
    padding: 30px;
    margin-left: 40px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

.timeline-date {
    color: #f29ba3;
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.timeline-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.timeline-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #70554f;
}

.works-mockup {
    max-width: 1900px;
    height: auto;
    animation: blurIn 3s ease forwards;
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, .1);
}

.works-mockup img {
    width: 100%;
}

.theme {
    font-size: 16px;
    line-height: 2;
    margin-top: 50px;
    margin-bottom: 100px;
}

.theme p {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 40px;
}

.theme a {
    display: block;
    color: #f29ba3;
    margin-top: 10px;
}

.works-detail {
    max-width: 750px;
    margin: 100px auto 150px;
}

.datalist {
    margin-top: 100px;
    font-size: 18px;
    line-height: 2;
    text-align: left;
}

.works-column {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.dl-head {
    font-weight: 700;
    color: #f29ba3;
}

.dl-body {
    width: 80%;
}

.design-p {
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

.design-p:last-of-type {
    margin-top: 100px;
}

.design {
    box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, .1);
}

.design img {
    width: 100%;
}

.sakura-branch {
    width: 120px;
    position: absolute;
    z-index: 3;
}

@media screen and (max-width:1183px) {
    .first-view-text img {
        width: 400px;
    }

    .works-wrap {
        place-content: center;
    }

    .about-contents {
        max-width: 700px;
        flex-direction: column-reverse;
    }

    .about-img {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .mail {
        font-size: 40px;
    }

    .disc {
        margin-right: 0;
    }

    .about-intro {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .prof-wrap {
        max-width: 700px;
        flex-direction: column;
    }

    .prof-img,
    .profile {
        width: 80%;
        height: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .prof-p {
        margin-bottom: 18px;
    }

    .about-intro {
        width: 80%;
        padding: 0;
    }

    .name {
        width: 80%;
        padding: 0;
        padding-top: 30px;
    }

    .skill-img {
        width: 180px;
        padding: 54px;
    }

    .skill-disc {
        font-size: 16px;
    }

    .skill-contents {
        padding: 20px;
    }

    .skill-wrap ul {
        margin: 0;
    }

    .timeline {
        max-width: 700px;
    }

    .works-detail {
        max-width: 700px;
    }

    .works-title h3 {
        font-size: 18px;
    }

    .sakura-branch {
        width: 80px;
    }

    .theme p {
        font-size: 16px;
    }

    .dl-head,
    .dl-body {
        font-size: 16px;
    }
}

@media screen and (max-width:769px) {
    br {
        display: none;
    }

    .keep br {
        display: inline;
    }

    .header {
        height: 60px;
    }

    .logo {
        width: 120px;
        height: 60px;
        padding-left: 10px;
    }

    .menu-container {
        width: 74px;
        height: 74px;
        border-radius: 0 0 0 74px;
    }

    .menu-bar {
        top: 12px;
        right: 12px;
    }

    .menu-bar span {
        width: 30px;
    }

    .menu-text {
        top: 38px;
        left: 28px;
        font-size: 14px;
    }

    .list-items a {
        font-size: 24px;
    }

    .first-view {
        display: block;
    }

    .first-view-img {
        background-image: url(../img/first-view-sp.jpg);
        width: 100%;
    }

    .first-view-text {
        right: 20px;
    }

    .first-view-text img {
        width: 180px;
    }

    .first-view-text p {
        font-size: 14px;
    }

    .scrollbar,
    .scrollbar-text,
    .scrollbar::after {
        left: 50%;
        writing-mode: horizontal-tb;
    }

    .title-h2 {
        font-size: 17px;
    }

    .title-p {
        font-size: 14px;
    }

    .works-wrap {
        max-width: 650px;
    }

    .contents {
        width: 80%;
    }

    .contents h3 {
        font-size: 17px;
    }

    .contents p {
        font-size: 14px;
    }

    .spin {
        width: 100px;
        top: -50px;
        right: -30px;
    }

    .more-btn {
        display: block;
        margin: 30px auto 20px;
    }

    .more-btn {
        font-size: 15px;
    }

    .disc {
        font-size: 13px;
    }

    #contact {
        margin-top: 0;
    }

    .contact-text {
        font-size: 14px;
    }

    .contact-text p {
        margin: 0 30px 20px;
        font-size: 14px;
    }

    .mail {
        font-size: 20px;
    }

    .copy {
        font-size: 12px;
    }

    .about-img {
        height: 250px;
    }

    .prof-wrap {
        flex-direction: column;
    }

    .prof-img {
        height: 300px;
    }

    .name h3 {
        font-size: 17px;
    }

    .name-alpha {
        font-size: 14px;
    }

    .prof-p {
        font-size: 13px;
    }

    .skill-wrap {
        padding: 0 20px 50px;
    }

    .skill-disc {
        font-size: 13px;
    }

    .skill-wrap ul {
        flex-direction: column;
    }

    .skill-img {
        width: 160px;
        padding: 46px;
    }

    .skill-name {
        font-size: 17px;
        margin: 30px 0;
    }

    .tool {
        font-size: 12px;
        text-align: center;
    }

    .timeline {
        max-width: 600px;
    }

    .timeline-date {
        font-size: 15px;
    }

    .timeline-content h3 {
        font-size: 17px;
    }

    .works-detail {
        max-width: 550px;
    }

    .works-title {
        width: 80%;
        margin: 0 auto;
        line-height: 1.5;
    }

    .works-title h3 {
        font-size: 17px;
    }

    .works-column {
        display: block;
        margin-bottom: 40px;
    }

    .theme {
        margin-bottom: 40px;
    }

    .theme p,
    .theme a {
        font-size: 13px;
        line-height: 2;
    }

    .datalist {
        margin-top: 60px;
    }

    .datalist dl {
        width: 80%;
        margin: 0 auto;
    }

    .dl-head {
        font-size: 16px;
        margin: 0 auto 10px;
    }

    .dl-body {
        width: 100%;
        font-size: 13px;
    }

    .design {
        width: 80%;
        margin: 0 auto;
    }

    .wave {
        bottom: -3px;
    }

    .sakura-branch {
        width: 50px;
    }
}