@charset "utf-8";
/* ==========================
main
========================== */
/* article__header */
.mainVisual{
    display: flex;
    justify-content: center;
    margin-top: 80px;
    gap: 20px;
}

.mainTitle__group {
    display: flex;
    justify-content: center;
    margin-top: 80px;
    align-items: center;
}

.mainTitle {
    font-family: "Noto sans jp";
    font-size: 4.8rem;
    font-weight: 200;
    letter-spacing: 0.1em;
    text-align: center;
    align-items: center;
    line-height: 1.2;
}

.mainTitle__l {
    margin-right: 10px;
}

.mainTitle__r {
    margin: 0 10px;
}

.mainTitle__btn {
    color: #FFF;
    text-align: center;
    font-size: 4.0rem;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 6px;
    background: linear-gradient(77deg, #F1EA2D -11.67%, #F95CE4 49.46%, #0DD6D2 110.58%);
    padding: 20px 20px 30px 20px;
}

.introduction__group {
    text-align: center;
    margin-top: 120px;
}

.secTitle {
    font-size: 3.2rem;
    font-weight: 500;
}

.introduction__logo {
    margin-top: 16px;
}

.introduction__txt {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-top: 30px;
}

/* article__header-SP */
@media screen and (max-width: 767px){
    .mainVisual{
        margin-top: 70px;
        justify-content: space-between;
    }

    .mainTitle__group {
        display: block;
        margin-top: 70px;
        padding: 0 8.5%;
    }

    .mainTitle {
        font-size: 2.4rem;
        line-height: 1.0;
        line-height: 2.0;
    }

    .mainTitle__btn {
        display: block;
        margin: 0 auto;
        margin-top: 40px;
        font-size: 3.2rem;
    }

    .mainTitle__l {
        width: 144px;
    }

    .secTitle {
        font-size: 2.0rem;
        font-weight: 500;
    }

    .introduction__txt {
        font-size: 1.4rem;
    }
}

/* WORKS */
.menu {
    display: flex;
    justify-content: center;
    gap: 90px;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.0;
    margin-top: 70px;
}

.menu__item--web {
    background: var(--y-or, linear-gradient(90deg, #E6DC51 0%, #FB9A5A 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu__item--gra {
    background: var(--or-pk, linear-gradient(90deg, #F6936C 0%, #FD6EEC 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu__item--oth {
    background: var(--pk-bl, linear-gradient(90deg, #E195FA 0%, #6BA6FF 100%));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.menu__item {
    position: relative;
  }

.menu__item::after {
    position: absolute;
    display: block;
    content: '';
    width: 13px;
    height: 10px;
    background-image: url("../img/arrow.png");
    background-repeat: no-repeat;
    background-size: contain;
    top: 40%;
    right: -25%;
    pointer-events: none;
}

.works__wrapper {
    margin-top: 120px;
}

.subTitle {
    display: flex;
    align-items: center;
    padding-top: 40px;
    margin-top: 100px;
}

.subTitle__main {
    font-family: "Noto Sans JP";
    font-size: 3.0rem;
    font-weight: 700;
    line-height: 1.0;
}

.subTitle__main--web {
    background: var(--y-or, linear-gradient(90deg, #E6DC51 0%, #FB9A5A 50%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subTitle__main--gra {
    background: var(--or-pk, linear-gradient(90deg, #F6936C 0%, #FD6EEC 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subTitle__main--oth {
    background: var(--pk-bl, linear-gradient(90deg, #E195FA 0%, #6BA6FF 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subTitle__txt {
    color: #5E5D5D;
    font-size: 1.6rem;
    font-weight: 350;
    line-height: 1.0;
    margin-left: 20px;
}

.worksLineup {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 70px 20px;
    max-width: 1440px;
}

.worksItems{
    max-width: 370px;
    margin-top: 70px;
}

.caption {
    display: flex;
    color: #333;
    font-size: 1.6rem;
    line-height: 1.8;
    gap: 20px;
    margin-top: 16px;
}

.tag {
    color: #FFF;
}

.tag__web {
    border-radius: 6px;
    background: var(--y-or, linear-gradient(90deg, #E6DC51 0%, #FB9A5A 100%));
    padding: 0 5px;
}

.tag__gra {
    border-radius: 6px;
    background: var(--or-pk, linear-gradient(90deg, #F6936C 0%, #FD6EEC 100%));
    padding: 0 5px;
}

.tag__oth {
    border-radius: 6px;
    background: var(--pk-bl, linear-gradient(90deg, #E195FA 0%, #6BA6FF 100%));
    padding: 0 5px;
}

/* 「more?」ボタンのスタイル（初期状態） */
.btn__wks[data-status="more"]::before {
    content: "more ?";
}
  
  /* 「close」ボタンのスタイル */
  .btn__wks[data-status="close"]::before {
    content: "close";
}

/* 隠しておく項目の初期設定 */
.worksItems.is-hidden {
    display: none;
}

/* JavaScriptでis-hiddenクラスが外れたときに適用されるスタイル */
.worksItems {
    /* アニメーションを滑らかにするための設定 */
    transition: all 0.5s ease-in-out;
}

/* works-img hover時の挙動 */
/* works__imgとwebWorks__imgに共通のスタイルを適用 */
.works__img,
.webWorks__img {
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out; 
}

/* works__imgとwebWorks__img内の画像に共通のスタイルを適用 */
.works__img img,
.webWorks__img img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

/* カーソルを合わせた時のスタイル */
.works__img:hover,
.webWorks__img:hover {
    transform: scale(1.05);
}

.works__img:hover img,
.webWorks__img:hover img {
    transform: scale(1.05);
}

/* WORKS-SP */
@media screen and (max-width: 767px){
    .menu {
        gap: 40px;
        font-size: 1.6rem;
    }

    .works__wrapper {
        margin-top: 80px;
    }

    .subTitle {
        display: block;
        align-items: flex-start;
        margin-top: 0;
    }

    .subTitle__main {
        font-size: 2.4rem;
    }

    .subTitle__txt {
        font-size: 1.4rem;
        font-weight: 350;
        line-height: 1.0;
        margin: 10px 0 0 0;
    }

    .caption {
        font-size: 1.4rem;
        line-height: 1.8;
        gap: 8px;
    }
}

/* works__web */

.worksLineup__web {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 80px;
}

.webWorks__img {
    max-width: 550px;
}

.webWorks__img {
    box-shadow: 4px 4px 20px 0 rgba(0, 0, 0, 0.05);
}

/* WORKS_modal */
.modal {
    display: none; /* 初期状態では非表示 */
    align-items: center;      /* 垂直方向の中央揃え */
    justify-content: center;  /* 水平方向の中央揃え */
    position: fixed; /* 画面全体に固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(190, 190, 190, 0.8); /* 背景を半透明に */
    z-index: 1001; /* 他の要素より前面に表示 */
}

.modal__content {
    display: flex;
    background-color: #fff;
    padding: 100px 40px;
    border-radius: 6px;
    overflow-y: auto; /* 内容が多い場合にスクロール可能に */
    position: relative; /* 閉じるボタンの位置調整のため */
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.4rem;
    font-weight: 700;
    color: #A6A6A6;
    cursor: pointer;
}

.modal__img {
    max-width: 450px;
}

.caption__modal {
    margin-top: 0;
}

.modal__txtBox {
    font-size: 1.6rem;
    line-height: 1.5;
    max-width: 410px;
    margin-left: 20px;
}

.modal__txtGroup {
    margin-top: 10px;
}

.caption__title--modal {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.8;
}

.modal__subTitle {
    font-weight: 600;
}

.modal__link a {
    display: flex;
    align-items: center;
}

.modal__link img {
    max-width: 30px;
}

/* JavaScriptでis-showクラスが付与された時に表示 */
.modal.is-show {
    display: flex; /* もしくは block, gridなど */
}

/* WORKS_modal-SP */
@media screen and (max-width: 767px){
    .modal__content {
        display: block;
        padding: 50px 20px;
    }

    .modal__txtBox {
        font-size: 1.4rem;
        line-height: 1.5;
        margin-top: 20px;
    }
}

/* btn__wks */
.btn__wks {
    display: block;
    color: #333;
    font-size: 1.8rem;
    line-height: 1.0;
    border-radius: 3px;
    border: 1px solid #333;
    padding: 10px 80px 20px 80px;
    margin: 60px auto 0;
}

/* ABOUT */
.aboutGroup {
    display: flex;
    gap: 40px;
    margin-top: 70px;
    justify-content: center;
}

.aboutGroup__img {
    max-width: 360px;
}

.aboutGroup__name {
    font-size: 2.4rem;
    font-weight: 500;
    border-bottom: 1px solid #333;
}

.aboutGroup__name--sub {
    font-size: 2.0rem;
    font-weight: 500;
}

.aboutGroup__txtbox {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.8;
}

.aboutGroup__txtBlock{
    margin-top: 30px;
}

.aboutPoint{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px 40px;
    margin-top: 70px;
}

.aboutPoint__item {
    max-width: 300px;
    text-align: center;
}

.aboutPoint__title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.3;
}

.aboutPoint__txt {
    font-size: 1.6rem;
    margin: 20px 0;
    text-align: start;
}

/* ABOUT-SP */
@media screen and (max-width: 767px){
    .aboutGroup {
        display: block;
        gap: 40px;
        margin-top: 70px;
        justify-content: center;
    }

    .aboutGroup__img {
        max-width: 200px;
        display: block;
        margin: 0 auto;
    }

    .aboutGroup__name {
        font-size: 2.0rem;
        text-align: center;
    }

    .aboutGroup__name--sub {
        font-size: 1.6rem;
    }

    .aboutPoint__item {
        margin-top: 30px;
    }

    .aboutGroup__txtBlock{
        margin-top: 30px;
        text-align: center;
    }

    .aboutGroup__txtbox {
        font-size: 1.4rem;
        font-weight: 400;
    }

    .aboutPoint__title {
        font-size: 2.0rem;
    }
    
    .aboutPoint__txt {
        font-size: 1.4rem;
    }
}

/* skill */
.skill__subTitle {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.0;
    margin-top: 70px;
    position: relative;
    padding-left: 50px;
}

.skill__subTitle--learn::before {
    position: absolute;
    display: block;
    content: '';
    background-image: url("../img/skill_sub_learn.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    top: -7px;
    left: 0;
}

.skill__subTitle--wk::before {
    position: absolute;
    display: block;
    content: '';
    background-image: url("../img/skill_sub_mouse.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    top: -7px;
    left: 0;
}

.skill__group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px 60px;
    margin-top: 40px;
}

.skill__item {
    display: flex;
    align-items: center;
}

.skill__txtBox {
    margin-left: 20px;
}

.skill__name {
    font-size: 2.0rem;
    font-weight: 700;
    line-height: 1.0;
}

.skill__txt {
    font-size: 1.6rem;
    max-width: 420px;
    margin-top: 10px;
}

.skill__icon {
    max-width: 70px;
}

/* skill-SP */
@media screen and (max-width: 767px){
    .skill__group {
        justify-content: center;
        gap: 30px 60px;
        margin-top: 40px;
    }

    .skill__subTitle {
        font-family: "Noto Sans JP";
        font-size: 1.8rem;
    }

    .skill__name {
        font-size: 1.6rem;
        font-weight: 700;
        line-height: 1.0;
    }

    .skill__txt {
        font-size: 1.4rem;
        max-width: 420px;
        margin-top: 10px;
    }
}

/* career */
.section--career {
    padding: 0 13.8%;
}

.career__wrapper {
    display: flex;
    gap: 60px;
    margin-top: 100px;
}

.career__innerBox {
    flex: 1;
}

.career__subTitle {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.8;
    border-bottom: 1px solid #333;
}

.career__subTitle--school {
    background: var(--or-pk, linear-gradient(90deg, #F6936C 0%, #FD6EEC 80%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.career__subTitle--job {
    background: var(--pk-bl, linear-gradient(90deg, #E195FA 0%, #6BA6FF 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.career__list {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    margin-left: 10px;
}

.career__item {
    margin-top: 30px;
}

.career__year {
    font-weight: 600;
}

.career__name {
    font-weight: 400;
    margin-top: 5px;
}

.career__nameWk {
    font-weight: 500;
    margin-top: 5px;
}

.career__txt {
    margin: 5px 0 0 10px;
}

/* career-SP */
@media screen and (max-width: 767px){
    .career__wrapper {
        display: block;
        margin-top: 70px;
    }

    .career__subTitle--job{
        margin-top: 50px;
    }
}

/* ==========================
footer
========================== */
.footer {
    margin: 180px 0 60px 0;
}

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

.footerNav {
    display: flex;
    align-items: center;
}

.footerNav__list {
    display: flex;
    gap: 30px;
    color: #333;
    font-size: 1.8rem;
    line-height: 1.0;
}

.footer__logo {
    margin-right: 20px;
}

.copy {
    font-size: 1.3rem;
    margin-top: 10px;
}

@media screen and (max-width: 767px){
    .footer {
        margin: 120px 0 60px 0;
    }

    .footer__group {
        display: block;
    }

    .footer__logo{
        display: block;
        margin: 0 auto;
    }

    .header__topic {
        text-align: center;
        font-size: 1.6rem;
        line-height: 2.0;
    }

    .footerNav__list {
        display: none;
    }

    .copy {
        text-align: center;
    }
}
/* ==========================
to-top button
========================== */

.to-top-btn {
    /* ボタンを画面右下に固定する */
    position: fixed;
    bottom: 80px; /* 画面下からXpx */
    right: 80px; /* 画面右からXpx */
    z-index: 1000; /* 他の要素より手前に表示 */
  
    /* ボタンのスタイル設定 */
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px; /* 文字を垂直中央に配置 */
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    color: #777;
    font-size: 1.4rem;
    font-weight: 400;
    border-radius: 50%; /* ボタンを丸くする */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 軽い影をつける */

    /* 透明度を0にして非表示にする */
    opacity: 0;
    /* アニメーション時間と変化の仕方を指定 */
    transition: opacity 0.5s ease-in-out;
    /* クリックできないようにする */
    pointer-events: none;
}

/* ボタンが表示される状態 */
.to-top-btn.is-show {
    opacity: 1;
    /* クリックできるようにする */
    pointer-events: auto;
}

  @media screen and (max-width: 767px){
    .to-top-btn {
        bottom: 20px; /* 画面下からXpx */
        right: 20px; /* 画面右からXpx */
        font-size: 1.8rem;
    }
  }