@charset "UTF-8";

/* 共通部分 ------------------------------- */
html {
    font-size: 100%;
}
body {
    font-family: "Noto Sans JP";
    line-height: 1.7;
    color: #404040;
    background-color: #F9FADF;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
    height:auto;
}
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

/* header ------------------------------- */
.page-header {
    height: 71px;
    background-color: #4C9C9D;
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
}
.logo {
    width: 150px;
    margin-top: 18px;
}
.main-nav {
    display: flex;
    font-size: 30px;
    text-transform: uppercase;
    list-style: none;
}
.main-nav li {
    margin-left: 35px;
    margin-top: 10px;
}
.main-nav a {
    font-family: Khand;
    color: #fff;
    -webkit-text-stroke: 1px rgba(0, 0, 0, .2);
}
.main-nav a:hover {
    color: #FFEA7A;
    -webkit-text-stroke: 1px rgba(0, 0, 0, .3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    padding: 0 5%;
    margin: auto;
}
/* ハンバーガーメニュー　*/
.hamburger {
    display: none;
}
/* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
  }
/* ハンバーガーアイコンの設置スペース */
  .drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;/* 重なり順を一番上にする */
    cursor: pointer;
  }
/* ハンバーガーメニューのアイコン */
  .drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #fff;
    transition: 0.5s;
    position: absolute;
  }
/* 三本線の一番上の棒の位置調整 */
  .drawer_open span:before {
    bottom: 8px;
  }
/* 三本線の一番下の棒の位置調整 */
  .drawer_open span:after {
    top: 8px;
  }
/* アイコンがクリックされたら真ん中の線を透明にする */
  #drawer_input:checked ~ .drawer_open span {
    background: rgba(255, 255, 255, 0);
  }
/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
  #drawer_input:checked ~ .drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
  } 
  #drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
  } 
/* メニューのデザイン*/
  .nav_content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%; /* メニューを画面の外に飛ばす */
    z-index: 99;
    color: #fff;
    background-color: #4C9C9D;
    transition: .5s;
  }
  .nav_list {
    text-align: center;
    margin-top: 20%;
  }
  .nav_list a:hover {
    color: #FFEA7A;
    -webkit-text-stroke: 1px rgba(0, 0, 0, .3);
  }
  .nav_list a {
    color: #fff;
    font-family: Khand;
    font-size: 2.5rem;
  }
/* メニュー黒ポチを消す */
  .nav_list {
    list-style: none;
  }
/* アイコンがクリックされたらメニューを表示 */
  #drawer_input:checked ~ .nav_content {
    left: 0;/* メニューを画面に入れる */
  }

/* footer -------------------------*/
footer {
    background-color: #3D676C;
    height: 540px;
    margin-top: 150px;
    position: relative;
}
.footer1 {
    background-color: #3D676C;
    height: 540px;
    width:auto;
    margin-top: 100px;
    position: relative;
}
.footer2 {
    background-color: #3D676C;
    height: 100px;
    margin-top: 59px;
}
footer .content-title {
    color: #FFEA7A;
    -webkit-text-stroke: 1px rgba(0, 0, 0, .2);
    text-align: center;
    margin-top: 114px;
}
.otoiawase {
    position: relative;
    height: 222px;
}
.otoiawase p {
    font-size: 200px;
    font-family: Khand;
    color: #3D676C;
    -webkit-text-stroke: 1px rgba(255, 234, 122, .3);
    line-height: 200px;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.otoiawase .content-title {
    color: #FFEA7A;
    -webkit-text-stroke: 1px rgba(0, 0, 0, .3);
    position: absolute;
    top: 80px;
    left: 0px;
    bottom: 0%;
    right: 0%;
    margin: auto;
    
}
.message {
    font-size: 24px;
    color: #fff;
    text-align: center;
    margin-top: 32px;
}
.copy {
    color: #fff;
    text-align: center;
    margin-top: 55px;
}
.copy1 {
    color: #fff;
    text-align: center;
    padding-top: 35px;
}
.contact {
    display: block;
    width: 357px;
    font-size: 36px;
    font-family: Khand;
    color: #fff;
    text-align: center;
    background-color: rgba(229, 84, 84, .86);
    padding: 5px 110px ;
    border-radius: 50px;
    margin: 32px auto;
}

/* TOP -----------------------------*/
.bg-img {
    width: 100%;
}
.content-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: #3D676C;
    margin-top: 110px;
}
.flex {
    display: flex;
    align-items: flex-start;
}
.setumei {
    margin-left: 5%;
}
.setumei h3 {
    font-size: clamp(1.8rem,2vw,2.25rem);
}
.setumei p {
    font-size: clamp(1rem,4vw,1.25rem);
    margin-top: 25px;
}
.viewmore {
    display: block;
    width: 357px;
    font-size: 36px;
    font-family: Khand;
    color: #fff;
    background-color: rgba(229, 84, 84, .86);
    padding: 5px 110px ;
    border-radius: 50px;
    margin: 58px auto;
}
.viewmore:hover,.contact:hover,input[type="submit"]:hover {
    background-color: rgba(255, 136, 136, 0.86);
}
.sub-title {
    font-family: Khand;
    font-size: 150px;
    color: rgba(76, 156, 157, .2);
    line-height: 150px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: -8px;
    display: inline-block;
}
.work .content-title {
    text-align: right;
}
.work {
    width: 100%;
    position: relative;
}
.work .sub-title {
    position: absolute;
    right: 3%;
}
.about {
    position: relative;
    margin-bottom: 100px;
}
.about-img {
    width: 20%;
    position: absolute;
    top: -5%;
    left: 80%;
}
.work {
    position: relative;
}
.work-img1 {
    width: 20%;
    position: absolute;
    top: -10%;
    left: 0;
}
.work-img2 {
    width: 20%;
    position: absolute;
    top: 85%;
    left: 75%;
}

/* grid ----------------------------*/
.grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
    width: 85%;
}
.grid1 {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}
.item img{
    width: 430px;
    height: auto;
   object-fit: cover;
}

/* ABOUT --------------------------------------------------------*/
.profile {
    position: relative;
}
.content-title1 {
    font-size: 96px;
    font-family: Khand;
    line-height: 96px;
    color: #3D676C;
    padding-top: 73px;
    z-index: 100;
}
.content-title1 span {
    font-size: 24px;
    font-family: Khand;
    color: #3D676C;
    margin-top: 106px;
}
.sub-title1 {
    font-size: 250px;
    font-family: Khand;
    color: rgba(76, 156, 157, .2);
    letter-spacing: -1rem;
    position: absolute;
    top: -134px;
    left: 43px;
    z-index: -100;
}
.name {
    font-size: 32px;
    font-weight: 500;
    margin-top: 20px;
}
.from,.school {
    font-size: 20px;
    font-weight: 400;
    margin-top: 15px;
}
.profile-img {
    width: 380px;
    position: absolute;
    top: 38%;
    right: 0;
}
/* history */ 
.history h3 {
    font-family: Khand;
    font-weight: 400;
    font-size: clamp(1rem,2.8vw,1.5rem);
    margin-top: 140px;
    position: relative;
    width: 80%;
}
.history .h3br {
    font-family: Khand;
    font-weight: 400;
    font-size: 24px;
    margin-top: 140px;
    color: #404040;
}
.history h3 span {
    font-size: clamp(1.5rem,4vw,2.5rem);
    font-weight: 600;
    color: #E55454;
}
.history h3 .web {
    font-size: clamp(1.5rem,5vw,2.875rem);
}
.h3-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.h3-flex img {
    width: 30%;
    height: 2px;
    margin-top: 140px;
}
.history h3 br {
    display: none;
}
.history-item .item-title {
    font-family: Khand;
    text-align: center;
    font-weight: 600;
    font-size: clamp(1.4rem,2vw,2rem);
    color: #4C9C9D;
    line-height: 90px;
}
.history-item {
    width: 595px;
    padding: 4% 2%;
    margin-top: 5%;
    background-color: #fff;
    border-radius: 40px;
    border: 3px solid;
    border-color: rgba(76, 156, 157, .2);
}
.history-content {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.history {
    position: relative;
}
.arraw {
    height: 83%;
    width: 20%;
    position: absolute;
    top: 25%;
    left: 40%;
    z-index: -100;
}


/* skill */
.skill {
    margin-top: 150px;
    position: relative;
}
.sub-title2 {
    font-size: 250px;
    font-family: Khand;
    color: rgba(76, 156, 157, .2);
    letter-spacing: -1rem;
    position: absolute;
    top: -134px;
    left: 50px;
    z-index: -100;
}
.skill-item {
    width: 100%;
    max-width: 500px;
    border: 3px #4C9C9D solid;
    border-radius: 10px;
    padding: 0 5% 5% 5%;
    position: relative;
    display: flex;
    align-items: center;
}
.app-block {
    margin-left: 5%;
}
.app {
    font-size: 32px;
    font-weight: 500;
    margin: 12px 0 7px 0;
    line-height: 50px;
    color: #3D676C;
}
.skill-img {
    position: absolute;
    top: -30px;
    right: 20px;
}


/* work -----------------------------------------------------*/
.work-item img {
    width: auto;
    height: auto;
    object-fit: cover;
}
.work-content {
    margin-top: 95px;
}
.page {
    text-align: center;
    margin-top: 77px;
    font-size: 20px;
    letter-spacing: 25px;
}
/* detail ----------------------------------------------------*/
.page-top {
    font-size: 20px;
    font-weight: 500;
    margin: 37px 0;
}
.work-title {
    font-size: 32px;
    color: #3D676C;
    font-weight: 600;
}
.detail span {
    color: #4C9C9D;
}
.work-url {
    font-size: 20px;
    line-height: 20px;
}
.introduction {
    font-size: 20px;
    margin-top: 37px;
    line-height: 80px;
}
.detail-img {
    margin-top: 30px;
}
.detail {
    padding-top: 30px;
}


/* contact -------------------------------------------------*/
.contact-form p {
    font-size: 20px;
    text-align: center;
    margin-top: 37px;
}
form div {
    margin-bottom: 35px;
}
label {
    font-size: 24px;
    color: #3D676C;
    margin-bottom: 1px;
    display: block;
    text-align: left;
}
input[type="text"],input[type="email"],input[type="tel"],textarea {
    background: rgba(76, 156, 157, .2);
    border: 2px #4C9C9D solid;
    border-radius: 10px;
    margin-top: 10px;
}
input[type="text"],input[type="email"],input[type="tel"] {
    width: 100%; 
    max-width: 690px;
    height: 30px;
}
textarea {
    width: 100%;
    max-width: 690px;
    height: 323px;
}
input[type="submit"] {
    display: block;
    width: 357px;
    font-size: 32px;
    font-family: Khand;
    color: #fff;
    background-color: rgba(229, 84, 84, .86);
    padding: 5px 110px ;
    border-radius: 50px;
    margin: 58px auto;    
}
form {
    width: 700px;
    margin: 47px auto 0;
}
.contact-form {
    position: relative;
}
.img6 {
    width: 14%;
    position: absolute;
    top: 0%;
    left: -1%;
}
.img7 {
    width: 15%;
    position: absolute;
    top: 88%;
    right: 0;
}

/*　モバイル版 ----------------------------------------------------------------*/
@media (max-width:760px) {
    body {
        overflow-x: hidden;
    }
    .wrapper {
        width: 90%;
        margin: 0 auto;
        padding: 0 auto;
    }
    .main-nav {
        display: none;
    }
    .logo {
        margin-top: 25px;
    }
    .page-header {
        width: 100%;
        height: 85px;
    }
    .hamburger {
        display: block;
        margin-top: 10px;
    }
    

/* footer */
    footer {
        height: 254px;
        margin-top: 80px;
    } 
    .footer1 {
        height: 254px;
        margin-top: 40px;
    }
    .footer2 {
        height: 30px;
        margin-top: 10%;
    }
    .otoiawase .content-title {
        position: absolute;
        top: 25%;
        left: 2%;
        margin-bottom: 0;
    }
    .otoiawase p {
        font-size: 6.25rem;
        line-height: 6.25rem;
        position: absolute;
        top: 60%;
        left: 50%;
    }
    .otoiawase {
        height: 110px;
    }
    .message {
        font-size: 1rem;
        margin-top: 1%;
        line-height: 1.25rem;
    }
    .copy {
        font-size: 0.62rem;
        margin-top: 2%;
    }

/* top */
    .bg-img source {
        width: 170%;
    }
    .content-title {
        font-size: 2.2rem;
        margin-top: 10%;
    }
    .sub-title {
        font-size: 4.5rem;
        line-height: 4.5rem;
        letter-spacing: 0;
        width: 2%;
        font-weight: 600;
    }
    .setumei h3 {
        font-size: 1.15rem;
    }
    .setumei p {
        font-size: 0.93rem;
        margin-top: 15px;
    }
    .setumei {
        width: 78%;
        margin-left: 15%;
    }
    .about-img {
        position: absolute;
        top: -8%;
        right: 0;
        width: 40%;
    }
    .viewmore,.contact,input[type="submit"] {
        width: 130px;
        margin: 20px auto;
        font-size: 0.87rem;
        padding: 5px 35px;
        text-align: center;
    }
    .work .sub-title {
        right: 16%;
    }
    .work-img1 {
        object-fit: contain;
        width: 30%;
        height: 10%;
        top: -5%;
        left: 0;
    }
    .work-img2 {
        top: 95%;
        left: 70%;
        width: 30%;
    }
    .grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-left: 20%;
        width: 60%;
    }

    /* about -------------------------------------*/
    .sub-title1 {
        font-size: max(5.6rem,8.125vw,8.125rem);
        bottom: 20%;
        left: 3.5%;
        letter-spacing: -0.7rem;
    }
    .content-title1 {
        font-size: clamp(2rem,12vw,3.75rem);
        padding-top: 1%;
    }
    .content-title1 span {
        font-size: 1.3rem;
    }
    .profile-img {
        top: 43%;
        left: 55%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        width: 60%;
    }
    .name {
        padding-top: 50%;
        font-size: 1.5rem;
        text-align: center;
    }
    .from,.school {
        font-size: 1rem;
        text-align: center;
    }
    /* history */
    .history h3 {
        font-weight: 400;
        font-size: clamp(0.8rem,3vw,1rem);
        line-height: 2rem;
        margin-top: 15%;
    }
    .history h3 span {
        font-size: clamp(0.8rem,4.5vw,1.5rem);
    }
    .history h3 .web {
        font-size: clamp(1rem,5vw,1.75rem);
        margin-left: 40%;
    }
    .h3-flex img {
        margin-top: 20.5%;
        width: 40%;
        height: 1px;
    }
    .history h3 br {
        display: block;
    }
    .history-item p {
        width: 100%;
        padding-bottom: 2%;
    }
    .history-item .item-title {
        font-size: clamp(0.9rem,3.5vw,1.3rem);
        line-height: 1rem;
        margin: 1% 0;
    }
    .history-content {
        display: block;
        position: relative;
    }
    .history-item {
        width: 100%;
    }
    .history-content .history-img1 {
        margin: 50% -5% 0 -5%;
    }
    .arraw {
        height: 90%;
        top: 20%;
        left: 40%;
    }
    .his-img1 {
        width: 20%;
        position: absolute;
        top: 60%;
        right: -10%;
    }
    .his-img2 {
        width: 18%;
        position: absolute;
        top: 70%;
        left: -10%;
    }
    .his-img3 {
        width: 20%;
        position: absolute;
        top: 60%;
        right: -10%;
    }
    .his-img4 {
        width: 18%;
        position: absolute;
        top: 90%;
        left: -10%;
    }

    /* skill */
    .skill {
        margin-top: 35%;
    }
    .sub-title2 {
        font-size: 8.125rem;
        letter-spacing: -0.7rem;
        top: -7.5%;
        left: 3%;
        z-index: -100;
    }
    .skill-img {
        width: 30%;
        top: -30px;
        right: 0;
    }
    .skill-item {
        width: 100%;
        max-width: 500px;
        display: block;
        text-align: center;
    }
    .grid1 {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 0 auto;
    }
    .app {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .app-block .app-setumei{
        text-align: justify;
    }
    .figma,.illustrator,.photoshop,.wix {
        margin-top: 3%;
    }

    /* work ----------------------------------------------------------------*/
    .work-content {
        margin-top: 10%;
    }
    .work-item {
        margin-top: 10%;
        font-size: 1rem;
    }
    .work-item p {
        line-height: 1rem;
    }
    .page {
        font-size: 1rem;
        margin-top: 8%;
    }

    /* detail -----------------------------------------------------------------------*/
    .work-title {
        font-size: 1.25rem;
    }
    .page-top,.work-url,.introduction {
        font-size: 1rem;
        line-height: 1rem;
    }
    .introduction p {
        margin-top: 5%;
    }
    .detail img,.detail-img {
        width: 100%;
    }

    /* contact -------------------------------------------------------*/
    .contact-form p {
        font-size: 1rem;
    }
    label {
        font-size: 1rem;
    }
    input[type="text"],input[type="email"],input[type="tel"],textarea {
        width: 100%;
    }
    form {
        width: 100%;
        margin: 15px 0 0;
    }
    .img6,.img7 {
        display: none;
    }
    .copy1 {
        font-size: 0.625rem;
        padding-top: 5px;
    }
    form div {
        margin-bottom: 15px;
    }
}