@charset "UTF-8";

/* 共通部分 ---------------------------------------------------------*/

html {
    font-size: 100%;
}

body {
    color: #ffffff;
    background-color: #1C1C1C;
    line-height: 1.7;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, sans-serif;
    font-weight:500;
}

a {
    text-decoration: none;
    color: #F97BA3;
    overflow-wrap: break-word;
}

a:visited {
    color: #F97BA3;
}

a:hover {
    color: #FCBBCF;
    transition : 1s;
}

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


h2 {
    font-family: "Barlow", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2em;
}

h3 {
    font-size: 1.45em;
    margin-bottom: 25px;
}


p {
    font-size: 0.96em;
    text-align: justify;
    overflow-wrap: break-word;
}


::selection {
    color: #ffffff;
    background-color: #F97BA3;
}



/* ヘッダー ---------------------------------------------------------*/

.logo {
    width: 345px;
    margin-top: 19px;
}

.main-nav {
    display: flex;
    font-size: 1.2em;
    text-transform: uppercase;
    margin: 30px 0 28px 0;
    list-style: none;
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: #ffffff;
}


input[type="checkbox"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}


.page-header {
    display: flex; /* 横並び */
    justify-content: space-between; /* 両端に配置 */
    position: fixed; /* 固定位置を指定 */
    top: 0; /* 上部に固定 */
    left: 0; /* 左端に固定 */
    right: 0;/* 右端に固定 */
    width: 100%; /* 幅を100%に設定 */
    z-index: 100; /* 他の要素の上に表示 */
    color: #ffffff;
    background-color: #1C1C1C;
}

.wrapper {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 4%;
}

.pixiv {
    width: 35px;
}
.misskey {
    width: 35px;
}

.title {
    display: flex;
    justify-content: flex-start;
}






/* アバウト ---------------------------------------------------------*/

#about .page-title {
    text-align: center;
}

#about {
    padding-top: 6em;
    margin-top: 20px;
}


.about-box {
    padding: 3px 0;
    margin-bottom: 1.3em;
    border: solid 1px #ffffff;/*線*/
    border-radius: 10px;/*角の丸み*/
}


/*はばかりどころとプロフィールを横並び*/
.about-contents {
    display: flex;
    justify-content: space-between;
}


/*はばかりどころとは*/
.habakaridokorotoha-box {
    width: 49%;
    padding: 15px 18px;
    border: solid 1px #ffffff;/*線*/
    border-radius: 10px;/*角の丸み*/
}

.habakaridokorotoha h3 {
    margin-bottom: 10px;
}


/*プロフィール*/
.profile-box {
    width: 49%;
    padding: 15px 18px;
    border: solid 1px #ffffff;/*線*/
    border-radius: 10px;/*角の丸み*/
}

.profile-box2 {
    display: flex;
}

.profile-icon {
    margin-right: 20px;
}


.profile h3 {
    margin-bottom: 10px;
}








/* コミックス ---------------------------------------------------------*/


#comics .page-title {
    text-align: center;
}

#comics {
    padding-top: 6em;
}

.comics-box {
    padding: 3px 0;
    margin-bottom: 1.3em;
    border: solid 1px #ffffff;/*線*/
    border-radius: 10px;/*角の丸み*/
}


/*サンプルとサイドバーを横並び*/
.comics-contents {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #4b4b4b;
    padding-bottom: 20px;
    margin-bottom: 20px;
}



/*サンプル*/
article {
    width: 60%;
}

article p {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
}


/*サイドバー*/
aside {
    width: 35%;
}

.banner-box {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}


.banner1 {
    padding-right: 5px;
}


.price {
    margin-bottom: 20px;
    font-size: 1.2em;
    font-weight: 600;
    color: #F97BA3;
}








/* イラスト ---------------------------------------------------------*/

#illustrations .page-title {
    text-align: center;
}


#illustrations {
    padding-top: 6em;
}


.illustrations-box {
    padding: 3px 0;
    margin-bottom:  1.3em;
    border: solid 1px #ffffff;/*線*/
    border-radius: 10px;/*角の丸み*/
}



.grid {
    display: grid;
    gap: 0.7%;
    grid-template-columns: 1fr 1fr 1fr;
}






/* ワークス ---------------------------------------------------------*/

#works .page-title {
    text-align: center;
}

#works {
    padding-top: 6em;
}

.works-box {
    padding: 3px 0;
    margin-bottom: 1.3em;
    border: solid 1px #ffffff;/*線*/
    border-radius: 10px;/*角の丸み*/
}

.works-about {
    width: 66%;
}

.works-about p {
    text-align: left;
}

.works-box3 {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #4b4b4b;
}



.works-tmb {
    margin-left: 30px;
    margin-right: 0;
    width: 380px;
}


.works h3 {
    margin-bottom: 10px;
}







/* コンタクト ---------------------------------------------------------*/

#contact .page-title {
    text-align: center;
}

#contact {
    padding-top: 6em;
}

.contact-box {
    padding: 3px 0;
    margin-bottom: 1.3em;
    border: solid 1px #ffffff;/*線*/
    border-radius: 10px;/*角の丸み*/
}


.contact-contents h3 {
    margin: 1.5em 0;
}


.contact-about {
    width: 66%;
}

.contact-box3 {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #4b4b4b;
}



.contact-pf {
    margin: auto 0;
    width: 200px;
}


.contact-pf p {
    font-size: 2em;
    text-align: center;
}


.contact_end {
    margin-top: 8%;
    margin-bottom: 2.8%;
}


.contact_end p {
    text-align: center;
}


.btn-wrap button {
    text-align: center;
    margin-bottom: 10%;
}



/* スライドボタン --------------------------------------------------*/



/* ボタンの押せる範囲 */
.btn-wrap button a {
    font-size: 1.25rem;
    border-radius: 2px;
    padding: 13px 40px;
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.btn-wrap button a:hover {
    transition : none;
}



/* コンテナ */
.btn-wrap {
  text-align:center;
  margin-top:3.5em;
}

/* ボタン本体 */
.btn-fill-left {
  position: relative;
  display: inline-block;
  min-width: min(160px, 100%);
  padding: 10px 0;
  overflow: hidden;
  background-color: #ffffff;
  border-radius: 2px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  color: #ffffff; /* 基準色 */
}

/* ボタン文字 */
.btn-fill-left span {
  position: relative;
  z-index: 3;
  color: currentColor;
  transition: color .2s ease;
}

.btn-fill-left a {
  color: #1C1C1C;
}

/* ホバー時の文字色 */
.btn-fill-left:hover a {
  color: #fff;
}

/* 左から広がる背景 */
.btn-fill-left::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background: currentColor;
  background-color: #F97BA3;
  border-radius: 2px;
  transform: scaleX(0); /* 横幅0 = 非表示状態 */
  transform-origin: right center;  /* 右端を起点に縮小（右→左方向に畳まれる状態） */
  transition: transform .3s ease-out;
  will-change: transform;
}

/* ホバーで展開 */
.btn-fill-left:hover::before {
  transform-origin: left center; /* 左端を起点に拡大 */
  transform: scaleX(1);  /* 横方向100% = 全面展開 */
}




/* フッター ---------------------------------------------------------*/

footer {
    text-align: center;
    background-color: #4b4b4b;
    padding-top: 30px;
}

footer p {
    font-size: 0.9rem;
}


.footer-box2 {
    width: 40%;
    margin: 0 auto;
    text-align: left;
}

.footer-box2 h3 {
    text-align: center;
}

.footer-box3 {
    padding: 30px 0 30px;
}

.footer-box3 p {
    text-align: center;
}



/* レスポンシブ対応 ---------------------------------------------------------*/


@media (max-width: 768px) {

    .page-title {
        font-size: 1.9em;
    }

    p {
        font-size: 0.9em;
    }

    h3 {
        font-size: 1.35em;
    }



    /*---ヘッダー---*/

    .main-nav {
        font-size: 1rem;
        margin-top: 10px;
    }

    .main-nav li {
        margin: 0 20px;
    }






    /* ===============================================
    ハンバーガーボタンのスタイリング
    =============================================== */
    input[type="checkbox"] {
        opacity: 0;
        visibility: hidden;
        position: absolute;
    }
    .hamburger {
        display: block;
        width: 35px;
        height: 80px;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }
    .hamburger span,
    .hamburger span::before,
    .hamburger span::after {
        position: absolute;
        display: block;
        content: "";
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: all 0.5s;
    }
    .hamburger span::before {
        top: -10px;
    }
    .hamburger span::after {
        bottom: -10px;
    }
    input[type="checkbox"]:checked + .hamburger span {
        background-color: transparent;
    }
    input[type="checkbox"]:checked + .hamburger span::before {
        top: 0;
        transform: rotate(45deg);
    }
    input[type="checkbox"]:checked + .hamburger span::after {
        bottom: 0;
        transform: rotate(-45deg);
    }




    /* ===============================================
    メニューのスタイリング
    =============================================== */
    nav {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 80px;
        right: -120%;
        background-color: #1C1C1C;
        color: #fff;
        padding: 10px 0;
        transition: all 0.5s;
    }


    .main-nav {
        flex-direction: column;
        text-align: center;
    }

    .main-nav img {
        margin: 0 auto;
    }

    .main-nav a {
        display: block;
        font-size: 20px;
        padding: 8px 0;
        text-transform: uppercase;
    }


    input[type="checkbox"]:checked ~ nav {
        right: 0;
    }


    .logo {
        width: 230px;
        margin-top: 21px;
    }






    /*---アバウト---*/


    #about {
        padding-top: 5em;
    }


    .about-contents {
        margin-top: 15px;
        flex-direction: column;
    }


    .about-contents h3 {
        text-align: center;
    }


    .about-box {
        padding: 0;
        padding-bottom: 2px;
        margin-bottom: 0;
    }


    .habakaridokorotoha-box {
        width: 100%;
        padding: 15px 22px;
        margin-bottom: 10px;
    }

    .habakaridokorotoha h3 {
        margin-bottom: 10px;
    }






    /*プロフィール*/
    .profile-box {
        width: 100%;
        padding: 15px 22px;
    }

    .profile-box2 {
        flex-direction: column;
        position: relative;
    }

    .profile-box2 h3 {
        margin: 15px 0 11px;
    }

    .profile-icon {
     margin-bottom: 20px;
     margin: 0 auto;
    }


    .profile-box img {
      max-width: 100%; /* 親要素の幅に収める */
      height: auto; /* 縦横比を維持 */     
     }




    /*コミックス*/

    #comics {
        padding-top: 5em;
    }


    .comics-contents {
        flex-direction: column;
        margin-bottom: 20px;
        padding-bottom: 50px;
    }


    .comics-box {
        padding: 0;
        padding-bottom: 2px;
        margin-bottom: 15px;
    }

    .comics-title {
        margin-bottom: 15px;
    }


    article {
    width: 100%;
    }

    article p {
        text-align: center;
        margin: 10px 0 15px;
        font-weight: 500;
        color: #F97BA3;
    }


    /*サイドバー*/
    aside {
        width: 100%;
    }

    .banner-box {
        display: flex;
        justify-content: left;
        margin: 15px 0;
    }

    .price {
        margin-bottom: 15px;
    }



    /*イラスト*/

    #illustrations {
        padding-top: 5em;
    }

    .illustrations-box {
        padding: 0;
        padding-bottom: 2px;
        margin-bottom: 15px;
    }







    /*ワークス*/
    
    #works {
        padding-top: 5em;
    }

    .works-box {
        padding: 0;
        padding-bottom: 2px;
        margin-bottom: 0;
    }


    .works-box3 {
        flex-direction: column;
        padding: 10px 0 40px;
    }


    .works h3 {
        margin: 5px 0 18px;
    }


    .works-about {
        width: 100%;
        margin-bottom: 20px;
    }

    .works-tmb {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }




    /*コンタクト*/
    
    #contact {
        padding-top: 5em;
    }

    .contact-box {
        padding: 0;
        padding-bottom: 2px;
        margin-bottom: 15px;
    }


    .contact-contents h3 {
        margin: 33px 0;
    }


    .contact-pf img {
        padding: 0 15px 0 10px;
    }


    .contact_end {
        margin-top: 55px;
        margin-bottom: 45px;
    }








    footer {
        margin-top: 40px;
        padding-top: 30px;
    }

    .footer-box2 {
        width: 100%;
        margin: 0 auto;
        text-align: left;
    }


}
