@charset "UTF-8";

/*ページ共通*/
:root {
  --main-color: #00C3D0;
  --black-color: #202527;
  --white-color: #fff;
  --gray-color: #e1e1e1;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    background-color: var(--white-color);
    color: var(--black-color);
    line-height: 1.8;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    width: 92%;
}

.inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
}


@media (max-width: 480px) {
body {
    font-size: 12px;
    line-height: 2.5;
}

.wrapper {
    max-width: 460px;
}

.inner {
    max-width: 390px;
}
}

/*見出し共通*/
h1,
h2 {
    line-height: 1.5;
    font-size: 80px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.03em;
}

h2 {
    margin-bottom: 50px;
}

h3 {
    font-size: 16px;
    font-weight: 700;
    font-family: "Montserrat",sans-serif;
}

.dot {
    color: var(--main-color);
}

.h2-text {
    color: var(--main-color);
}

.right-h2 {
    text-align: right;
}

.left-h2 {
    text-align: left;
}

@media (max-width: 480px) {
h1,
h2 {
    line-height: 1.5;
    font-size: 32px;
    letter-spacing: 0.03em;
}

h3 {
    font-size: 16px;
}
}

/*ボタン共通*/
.btnarea {
    display: flex;
    width: 100%;
    justify-content: center;
}

.btn,
button {
    font-family: "Montserrat", sans-serif;
    width: 280px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 0.2s;
}

.btn-arrow {
    right: 20px;
    font-size: 10px;
    position: absolute;
    transition: transform .3s;
}
  .btn:hover .btn-arrow,
  button:hover .btn-arrow {
    transform: translateX(50%);
}

@media (any-hover: hover) {
  .btn:hover,
  button:hover {
    background-color: var(--gray-color);
    color: var(--black-color);
  } 
}

@media (max-width: 480px) {
.btn,
button {
    max-width: 180px;
    height: 38px;
}

.btn-arrow {
    right: 10px;
    font-size: 7px;
}
}

/*リンク共通*/
a {
    color: var(--black-color);
    text-decoration: none;
}

/*header*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    z-index: 100;
}

.header-wrapper {
    padding: 20px 20px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.logo-area {
    display: flex;
    align-items: flex-end;
    gap: 30px;
}

.logo-area a {
  font-size: 128px;
  font-weight: 900;
  font-family: "montserrat", sans-serif;
  line-height: 0.8;
}

.logo-area p {
    letter-spacing: 0.05em;
    line-height: 1.5;
    padding-right: 20px;
}

.logo-area span {
    display: inline-block;
}

.gnav ul {
    display: flex;
    gap: 30px;
    line-height: 1.5;
}

.gnav a {
    transition: .3s;
    display: block;
    overflow: hidden;
    position: relative;
    letter-spacing: 0.1em;
}

.gnav a:after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--black-color);
    transition: transform .3s;
    transform: translateX(-101%);
    position: absolute;
    bottom: 0;
    left: 0;
  }

@media (any-hover: hover) {
    .gnav a:hover:after {
    transform: translateX(0%);
    }
   }

@media (max-width: 660px) {
    .hamburger {
    display: block;
    width: 50px;
    height: 37px;
    position: relative;
    z-index: 100;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--black-color);
    position: absolute;
    transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 18px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* メニューを画面いっぱいに隠しておく */
.gnav {
    position: fixed;
    top: 140px;
    right: -100%;
    width: 50%;
    background-color: var(--white-color);
    transition: 0.5s;
    z-index: 102;
    font-size: 20px;
}

.gnav.is-active {
    right: 0;
    top: 140px;
}

.gnav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    height: 60vh;
}

/* ボタンがバツ印に変わる*/
.hamburger.is-active span:nth-child(1) { transform: translateY(17px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-17px) rotate(-45deg); }

}

@media (max-width: 480px) {
.header-wrapper {
    padding: 15px 15px 15px 0;
}

.logo-area {
    gap: 5px;
}

.logo-area a {
  font-size: 72px;
}

.hamburger {
    width: 30px;
    height: 24px;
}

.hamburger span:nth-child(2) { top: 11px; }

/* メニューを画面いっぱいに隠しておく */
.gnav {
    top: 85px;
    font-size: 16px;
}

.gnav.is-active {
    top: 85px;
}

/* ボタンがバツ印に変わる*/
.hamburger.is-active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.hamburger.is-active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }
}


/*ぱんくず*/
.breadcrumbs {
    display: inline-flex;
    background-color: #f1f1f1;
    margin-top: 150px;
    padding: 10px 40px;
    border-radius: 25px;
}

.breadcrumbs li:not(:last-child)::after {
  content: ">";
  margin: 0 10px;
}

.breadcrumbs li {
  font-size: 14px;
  color: var(--black-color);
  letter-spacing: 0.05em;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .current {
  font-weight: 600;
}

@media (max-width: 480px) {
    .breadcrumbs {
    margin-top: 90px;
    padding: 5px 30px;
    border-radius: 20px;
}

.breadcrumbs li {
  font-size: 10px;
}
}

/*mainvisual*/
h1 {
    font-size: 7vw;
}
#mainvisual {
    overflow: hidden;
}

.mv-inner {
    padding: 190px 0 100px;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    width: 92%;
}

.mv-img {
    max-width: 100%;
    border-radius: 60% 40% 50% 50% / 60% 30% 30% 40%;
    overflow: hidden;
    margin-right: -30%;
    aspect-ratio: 1.2/1;
}

.mv-img img {
    object-fit: cover;
}

@media (max-width: 750px) {
.mv-inner {
    flex-direction: column;
    gap: 30px;
}

h1 {
    align-self: start;
    font-size: clamp(32px, 13vw, 80px);
    line-height: 1.2;
}
}

/*top-about about-history共通*/
#top #about,
#history {
    background-color: var(--black-color);
    padding: 50px 0 150px;
    color: var(--white-color);
}

/*top-about*/
#top .about-inner {
    align-items: stretch;
    gap: 50px;
}

#top .about-left {
    width: 30%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
}

#top .profile-img {
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 50px;
    aspect-ratio: 1;
}

#top .profile-img img {
    height: 100%;
    object-fit: cover;

}

.about-btn {
    background-color: var(--main-color);
    color: var(--black-color);
    z-index: 10;

}

#top .about-right,
#about-page .about-left {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--white-color);
    border-radius: 30px;
}

#top .profile-top {
    display: flex;
    border-bottom: 1px solid var(--white-color);
    height: 40%;
}

#top .profile-name {
    width: 50%;
    border-right: 1px solid var(--white-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.name-ja {
    font-size: 24px;
}

.name-en {
    letter-spacing: 0.1em;
    padding-right: 15px;
}

#top .profile-origin {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#top .profile-bottom {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 750px) {
#top .about-right {
    border: none;
    order: 2;
}

#top .about-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#top .about-left {
    display: contents;
}

#top .profile-img {
    width: 250px;
    order: 1;
    margin-bottom: 0;
}

#top #about .btnarea {
    order: 3;   
}

#top .profile-top {
    border-bottom: none;
}

#top .profile-name {
    width: 100%;
    border-right: none;
    flex-direction: column;
}

.name-en {
    padding-right: 10px;
    letter-spacing: 0.2em;
    padding-bottom: 30px;
}

#top .profile-origin {
    display: none;
}
}


@media (max-width: 480px) {
#top #about,
#history {
    padding-bottom: 100px;
}

#top .about-inner {
    gap:20px;
}

#top .profile-img {
    width: 60%;
    min-width: 160px;
    margin-bottom: 10px;
}

.name-ja {
    font-size: 16px;
    line-height: 1em;
}
.name-en {
    padding-right: 10px;
    padding-bottom: 10px;
}

}

/*works*/
#top .works-wrapper,
.skills-wrapper {
    padding: 50px 0 150px;
}

.works-inner,
#about-page .about-inner {
    flex-direction: column;
}

.works-list {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.works-item {
    width: 100%;
    border: 1px solid var(--black-color);
    border-radius: 30px;
    overflow: hidden;
}

.works-img {
    background-color: var(--gray-color);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    transition: transform 0.5s ease;
}
  
.works-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

    @media (any-hover: hover) {
    .works-img img:hover {
      transform: scale(1.1);
    }
}

.works-item p {
    padding: 20px;
    text-align: left;
}

.works-btn,
button {
    background-color: var(--main-color);
    color: var(--white-color);
    border: none;
}

.works-inner .btnarea {
    justify-content: flex-end;
}

@media (max-width: 599px){
#top .works-wrapper .works-list {
    flex-direction: column;
}

.works-inner .btnarea {
    justify-content: center;
}
}

@media (max-width: 480px){
#top .works-wrapper,
.skills-wrapper {
    padding-bottom: 100px;
}
}


/*contact*/
.contact-inner {
    background-color: var(--main-color);
    color: var(--white-color);
    padding: 100px 0 100px;
    flex-direction: column;
    align-items: center;
    border-radius: 50% 50% 0 0;
    width: 92%;
}

.curved-title {
width: 500px; 
}

.curved-title text {
    line-height: 1.5;
    font-size: 80px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    fill: currentColor;
}

.contact-btn {
    background-color: var(--white-color);
    color: var(--black-color);
}

.contact-inner p {
    text-align: center;
    margin-bottom: 50px;
}

@media (max-width: 750px) {
.contact-inner {
    padding: 13% 0 13%;
}

.curved-title {
    width: 73%;
}
}

@media (max-width: 480px) {
.contact-inner {
    padding: 50px 0 40px;
}

.curved-title {
    width: 200px;
}

.curved-title text {
    font-size: 80px;
}

.contact-inner p {
    margin-bottom: 25px;
    line-height: 1.5;
}
}

/*footer*/
footer {
    background-color: var(--black-color);
    padding: 40px;
    text-align: center;
    color: var(--white-color);
    font-size: 14px;
}

@media (max-width: 480px) {
    footer {
    padding: 15px;
    font-size: 10px;
}
}

/*ABOUT PAGE*/
#about-page .about-wrapper,
#works-page .works-wrapper,
#contactform-page .contactform-wrapper {
    padding: 50px 0 150px;
}

.about-catchcopy {
    text-align: center;
    font-weight: 600;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.catch-wide {
    display: block;
    font-size: 20px;
}

.catch-narrow {
    display: none;
}

#about-page .profile {
    display: flex;
    margin: 0 auto;
    width: 100%;
}

#about-page .profile-top {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
    border-bottom: 1px solid var(--black-color);
    padding: 40px;
}

#about-page .about-left {
    border: 1px solid var(--black-color);
    border-radius: 30px;
    flex: 0 0 70%;
}

#about-page .profile-bottom {
    flex: 1;
    text-align: left;
    padding: 50px;
    margin: 0 auto;
}

#about-page .about-right {
    width: 30%;
    position: relative;
}

.profile-tags {
    border: 1px solid var(--black-color);
    border-radius: 30px;
    padding: 20px 40px;
    display: inline-block;
    white-space: nowrap;
    text-align: center;

}

#about-page .profile-origin {
    z-index: 2;
    background-color: #fff1b9;
    position: absolute;
    top: 40px;
    left: -90px;
}

#about-page .hobby {
    z-index: 3;
    background-color: #e5f7f7;
    position: absolute;
    right: clamp(0%, (100vw - 800px) / 5, 15%);
    top: 95px;
}

#about-page .birthyear {
    z-index: 4;
    background-color: #fff1b9;
    position: absolute;
    top: 155px;
    left: -50px;
    max-width: calc(100% + 50px);
}

#about-page .profile-img {
    z-index: 5;
    position: absolute;
    max-width: 220px;
    bottom: 0;
    right: 0;
}
@media (max-width: 880px) {
    .catch-wide {
        display: none;
    }

    .catch-narrow {
        display: block;
        font-size: 20px;
        line-height: 2.5
    }

    .catch-narrow .row-bottom {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }

    .catch-narrow .symbol {
        font-size: 20px;
        font-weight: 600;
        flex-shrink: 0;
    }

    .catch-narrow .text {
        flex: 1;
    }
}

@media (max-width: 750px) {
    #about-page .about-wrapper {
        padding-bottom: 330px;}

    #about-page .profile {
        flex-direction: column;
}

    #about-page .name-en {
    padding: 0;
}

    #about-page .about-right {
        width: 100%;
}

    #about-page .profile-origin {
        top: -30px;
        left: 100px;
}

    #about-page .hobby {
        background-color: #fff1b9;
        top: 74px;
        left: 0;
        z-index: 4;
        width: fit-content;
}

    #about-page .birthyear {
        z-index: 3;
        background-color:#e5f7f7;
        top: 20px;
        left: 25%;
}

    #about-page .profile-img {
        max-width: 200px;
        width: 45%;
        top: -60px;
        right: 0px;
        z-index: 5;
}
}

@media (max-width: 550px) {
    .catch-narrow {
    font-size: clamp(12px, 3vw, 30px);
}
    .catch-narrow .symbol {
        font-size: 3vw;
    }
    .catch-narrow .row-bottom {
        max-width: 400px;
}
}

@media (max-width: 480px) {
    #about-page .about-wrapper {
        padding-bottom: 280px;
}

    #about-page .about-wrapper h2 {
    margin-bottom: 30px;
    }

    .about-catchcopy {
    margin-bottom: 30px;
}

    .catch-narrow,
    .catch-narrow .symbol {
        font-size: 12px;
}

    .catch-narrow .row-bottom {
        max-width: 300px;
}

    #about-page .profile {
        line-height: 2.5;
        flex-direction: column;
}

    #about-page .profile-top {
        flex-direction: column;
        padding: 30px 0 20px;
}

    #about-page .name-en {
        padding-right: 5px;
}

    #about-page .profile-bottom {
    padding: 30px;
}


    .profile-tags {
        border-radius: 20px;
        padding: 13px 30px;
}

    #about-page .profile-origin {
        top: -10px;
        left: 40px;
}

    #about-page .hobby {
        background-color: #fff1b9;
        top: 74px;
        left: 0;
        width: 235px;

    
}

    #about-page .birthyear {
        background-color:#e5f7f7;
        top: 32px;
        left: 18%;
}

    #about-page .profile-img {
        max-width: 180px;
        top: -40px;


}
}

@media (max-width:350px) {
        #about-page .hobby {
        width: 75%;
        padding: 13px 2%;
}}

@media (max-width:325px) {
    .row-top {
        letter-spacing: 0;
    }
} 

/*history*/
.timeline-item {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

.timeline-left {
    text-align: center;
    width: 130px;
}

.year-box {
    background-color: var(--main-color);
    border-radius: 10px;
    color: var(--black-color);
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.year {
    font-size: 20px;
    font-weight: 700;
}

.arrow {
    line-height: 1;
    margin: 5px 0;
}

.timeline-right {
    border-bottom: 1px solid var(--white-color);
    flex: 1;
    display: flex;
    align-items: center;
    margin: -22px 0 22px;
    padding: 10px 0;
    line-height: 2.5;
}

.timeline-item:last-child .timeline-right {
    border-bottom: none;
    padding: 22px 0 0;
}

@media (max-width: 750px) {
.timeline-item {
    flex-direction: column;
    gap: 20px;
}

.timeline-left {
    width: 100%;
    display: contents;
}

.year-box {
    flex-direction: row;
    gap: 30px;
    aspect-ratio: auto;
    height: 50px;
    order: 1;
}

.arrow {
    order: 3;
    margin: 0 0 40px 0;
}

.timeline-right {
    border-bottom: none;
    order: 2;
    margin: 0;
    padding: 0;
}

.timeline-item:last-child .timeline-right {
    border-bottom: none;
    padding: 0;
}

}

@media (max-width: 480px) {
.timeline-item {
    gap: 10px;
}

.year {
    font-size: 16px;
}

.arrow {
    margin: 0 0 20px 0;
}
}

/*skills*/
.skills-list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 50px;
    margin: 0 auto;
}

.skills-item {
    width: 46%;
    max-width: 350px;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    margin: 0 auto;
    gap: 5px;
}

.skill-bar {
    display: flex;
    width: 60%;
    max-width: 280px;
    min-width: 160px;
    aspect-ratio: 5/1;
    border: 1px solid var(--black-color);
    border-radius: 15px;
    overflow: hidden;
    background-color: #e5f7f7;
}

.level {
    flex: 1;
    border-right: 1px solid var(--black-color);
}

.level:last-child {
    border-right: none;
}

.level.on {
    background-color: var(--main-color);
}

.level.off {
    background-color: transparent;
}

@media (max-width: 680px) {
.skills-list {
    width: 300px;
    gap: 30px;
}

.skills-item {
    width: 80%;
    flex-direction: column;
    gap: 2px;
}

.skill-bar {
    width: 100%;
}
}

@media (max-width: 480px) {
.skills-item {
    font-size: 16px;
}

.skills-wrapper h2 {
    margin-bottom: 30px;
}
}

/*WORKS-PAGE*/
#works-page .works-inner {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.creations-title {
    text-align: center;
}

h3 {
    font-size: 24px;
    font-weight: 700;
    font-family: "Montserrat",sans-serif;
    margin-bottom: 30px;
}

#works-page .list3 {
    margin-bottom: 0;
}

@media (max-width: 950px) {
    #works-page .works-list {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }
    #works-page .works-item {
        width: calc((100% - 30px) / 2);

    }
}

@media (max-width: 599px) {
    #works-page .works-list {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }
    #works-page .works-item {
        width: 100%;

    }
}

@media (max-width: 480px) {
#works-page .works-inner {
    gap: 30px;
}

#works-page .works-wrapper h2 {
    margin-bottom: 30px;
}

#works-page .works-wrapper {
    padding-bottom: 100px;
}

h3 {
    font-size: 16px;
    margin-bottom: 20px;
}
.works-list {
    margin-bottom: 30px;
}
}

/*WORKS詳細*/
.work-name {
    font-size: 24px;
    font-weight: 500;
}

.work-url {
    margin: 20px 0;
}

.work-url a:hover {
  text-decoration: underline;
}

.detail {
    margin: 90px 0;
}

.detail-inner {
    display: flex;
    justify-content: space-between;
    padding: 70px;
    border-top: 1px solid var(--gray-color);
}

.last-detail {
    border-bottom: 1px solid var(--gray-color);
}

.detail-title{
    font-size: 20px;
    font-weight: 500;
}

.detail-img {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 100px;
}
.detail-img img {
    height: auto; }

.pc-img {
    width: 70%;
    height: 1400px;
    background-color: var(--gray-color);
}

.sp-imgs {
    width: 25%;
}

.sp-img {
    background-color: var(--gray-color);
    width: 100%;
    height: 1400px;
}

.sp.sp-img {
    display: none;
}




@media (max-width: 990px) {

.detail-inner {
    flex-direction: column;
}

.detail-title{
    padding-bottom: 20px;
}
}

@media (max-width: 750px)  {

.detail-img {
    flex-direction: column;
    gap: 50px;
    margin-bottom: 50px;
}

.detail-img img {
    height: auto; }

.pc-img {
    width: 100%;
    height: 1400px;
}

.sp.sp-img {
    display: block;
}

.sp-imgs {
    display: flex;
    gap: 50px;
    width: 100%;
}

.sp-img {
    height: 700px;
}
}

@media (max-width: 480px) {
    .work-name {
    font-size: 16px;
}

.detail-inner {
    padding: 30px;
}

.detail-title{
    font-size: 16px;
}

.detail-img {
    gap: 30px;
    margin-bottom: 20px;
}

.pc-img {
    width: 100%;
    height: 1000px;
}

.sp-imgs {
    gap: 30px;
}
}

/*contact-form*/
.contactform-inner {
    flex-direction: column;
    align-items: center;
}

#contactform-page .contactform-wrapper {
    padding: 50px 0 100px;
}
.contact-text {
    padding: 0 50px;
}

form {
    background-color: #e5f7f7;
    padding: 100px 0;
    width: 100%;
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.parts {
    width: 80%;
    display: flex;
    gap: 4%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}

.asterisk {
    color: var(--main-color);
}

input,
textarea {
    width: 75%;
    max-width: 700px;
    padding: 5px;
    border: 1px solid #757575;
    border-radius: 4px;
}

.message {
    padding-top: 5px;
}

.contact-detail {
    align-items: start;
    margin-bottom: 20px;
}

@media (max-width: 880px){
.parts {
    width: 70%;
    margin: 0 auto;
    flex-direction: column;
    align-items: start;}

input,
textarea {
    width: 100%;
}

button {
    margin-top: 30px;
}

}

@media (max-width: 480px) {
#contactform-page .contactform-wrapper {
    padding:50px 0;
}
.contactform-wrapper h2 {
    margin-bottom: 30px;
}    
.parts {
    width: 80%;
}

form {
    padding: 50px 0;
    width: 100%;
    margin-top: 50px;
}

button {
    margin-top: 10px;
}
}
