/* Zen Kaku Gothic 新機能: CSS クラス

.zen-kaku-gothic-new-light {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-kaku-gothic-new-medium {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.zen-kaku-gothic-new-bold {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-style: normal;
}
 */


/* Outfit：可変スタイル用のCSSクラス 
 
.outfit-<uniquifier> {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
 */


body {
    font-family: 'Zen Kaku Gothic New', sans-serif
}

.about-title,
.about-name-en,
.section-title,
.header-nav-list a,
.footer-nav-list a,
.skill-items,
form,
form input,
form textarea,
form button,
.sp-menu
{
    font-family: 'Outfit', sans-serif;
}


.header-nav-list a,
.footer-nav-list a {
    display: inline-block;
    transition: all 0.3s ease;
}

.header-nav-list a:hover,
.footer-nav-list a:hover {
    color: #E89B3C;
    transform: translateY(2px);
}


/* ヘッダー全体を横並びにする */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 50px;
    background-color: #F6D64A;
}

/* ナビゲーションのリスト項目を横並びにする */
.header-nav-list {
    display: flex;
    gap: 50px;
    list-style-type: none;
}

.logo {
    width: 70px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: rotate(-5deg);
}

.header-nav-list a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: 600;
}


/* PC表示ではアイコンボタンを隠す */
.sp-menu-open ,
.sp-menu {
    display: none;
}

/* メイン */

.main-visual-sp-imgs,
.sp-only {
    display: none;
}


.main-visual {
    width: 100%;
    height: 720px;
    background-image: url(./img/bg-hero-hill.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.main-visual-text {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.8;
    color: #444444;

    padding: 60px 123px;
}

.main-visual-text span {
    display: block;
    opacity: 0;
    animation: fadein 1s ease-out forwards;
}

.main-visual-text span:nth-child(1) {
    animation-delay: 0.3s;
}

.main-visual-text span:nth-child(2) {
    animation-delay: 1.5s;
}

.main-visual-text span:nth-child(3) {
    animation-delay: 2.7s;
}

@keyframes fadein {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    100% {
        opacity: 1.2;
        transform: translateY(0);
    }
}




/* 2. About Me -----------------------------------------------*/

.about-title {
    font-size: 48px;
    font-weight: 500;
    text-align: center;
    color: #444444;
}

.about-subtitle {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    color: #444444;
}

.about-job {
    font-size: 16px;
    font-weight: 400;
    padding-top: 20px;
}

.about-name {
    font-size: 36px;
    font-weight: 700;
    padding-bottom: 40px;
}

.about-name-en {
    font-size: 16px;
    font-weight: 200;
}

.about-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}


.about {
    background-color: #A8D672;
    padding: 0 40px 50px;
}

.about-card {
    background-color: #FFFDF8;
    max-width: 1150px;
    margin: 0 auto;
    border-radius: 22px;
    padding: 50px 90px 70px 90px;

    /* ポジション */
    position: relative;
}

/* ポジション */
.about-circles {
    position: absolute;
    top: 60px;
    right: -30px;
}

.about-circles img {
    width: 250px;
}


.about-img-shimisato {
    width: 280px;
}

/* アニメーション */
.about-img-shimisato,
.favorites-card-img,
.img-works {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s;
}

.about-img-shimisato.is-show,
.favorites-card-img.is-show,
.img-works.is-show {
    opacity: 1;
    transform: translateY(0);
}



.about-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}


/* Favorites -------------------------------------------------------*/

.favorites {
    background-color: #F6D64A;
    padding: 70px 40px 118px;
}


.section-title {
    font-size: 48px;
    font-weight: 500;
    text-align: center;
    color: #444444;
    padding: 0 0 10px;
}

.section-subtitle,
.favorites-lead {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    color: #444444;
}

.favorites-subtitle {
    font-weight: 500;
}

.favorites-lead {
    padding: 20px 0 60px;
}


/* フェイバリット　カード */
.favorites-card-flex {
    display: flex;
    justify-content: center;
    gap: 32px;

    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
}

.favorites-card {
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 20px 28px 0;

    width: 100%;
    max-width: 362px;
    box-sizing: border-box;

    position: relative;
}

.favorites-chick-left {
    position: absolute;
    right: 50px;
    top: -38px;

    max-width: 50px;
}


.favorites-card-img {
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.favorites-card-label,
.favorites-card-title,
.favorites-card-subtitle {
    text-align: center;
}

.favorites-card-label {
    font-size: 16px;
}

.favorites-card-title {
    font-size: 24px;
}

.favorites-card-header {
    height: 60px;
}

.favorites-card-text {
    padding-top: 20px;
    padding-bottom: 70px;
}

.favorites-chick-right {
    max-width: 50px;
    position: absolute;
    left: 80px;
    bottom: -3px;
}


.favorites-card:nth-child(1) .favorites-card-img {
    transition-delay: 0s;
}

.favorites-card:nth-child(2) .favorites-card-img {
    transition-delay: 0.3s;
}

.favorites-card:nth-child(3) .favorites-card-img {
    transition-delay: 0.6s;
}


/* ワークス------------------------------------------------------------------- */
.works {
    padding: 70px 40px 118px;

    width: 100%;
    background-image: url(./img/bg-works-circles.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.works-card-box {
    display: flex;
    justify-content: center;
    gap: 6%;
    width: 100%;
    padding-top: 50px;
}

.works-card {
    display: flex;
    flex-direction: column;
}

.img-works {
    width: 100%;
    max-width: 484px;
    object-fit: contain;
}

.works-card-category {
    display: flex;
    justify-content: flex-start;
    font-size: 16px;

    margin-top: 15px;
    margin-bottom: 10px;

}

.works-card-label {
    background-color: #F6D64A;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 300;

}

.works-card-tag {
    margin-left: 20px;
    margin-top: 8px;
    font-weight: 300;
}

.works-card-title {
    padding-left: 10px;
}


.works-card:nth-child(1) .img-works {
    transition-delay: 0s;
}

.works-card:nth-child(2) .img-works {
    transition-delay: 0.3s;
}


/* スキル----------------------------------------------------------------- */

.skill {
    background-color: #F6D64A;
    padding-top: 70px;
    padding-bottom: 40px;

    position: relative;
}

.skill-chick-right {
    max-width: 50px;
    position: absolute;
    left: 48%;
    top: -37px;
}

.skill-group {
    padding-top: 60px;
    text-align: center;
}

.skill-category-title {
    font-size: 24px;
    font-weight: 400;
    padding-bottom: 10px;
}

.skill-items {
    font-size: 18px;
    font-weight: 300;
    padding-bottom: 30px;
}


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

.contact {
    padding-top: 90px;
    background-color: #FFFDF8;
}

.contact-text {
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    padding-top: 30px;
    padding-bottom: 50px;
}

form {
    width: 100%;
    max-width: 576px;
    margin: 0 auto;
}

input,
textarea {
    display: block;
    width: 100%;
    border: 1px solid #D9D9D9;
    border-radius: 17px;
    background-color: #FFFFFF;
    margin: 10px auto 30px auto;

    transition: all 0.3s ease;
}

input:hover,
textarea:hover {
    border-color: #A8D672;
    box-shadow: 0 0 8px rgba(168, 214, 114, 0.5);
}

input:focus,
textarea:focus {
    outline: 2px solid #A8D672;
    border-color: #A8D672;
}



input {
    padding: 20px 20px;
}

textarea {
    height: 321px;
    padding: 20px;
}

label {
    padding-left: 10px;
}

button {
    display: block;
    margin: 0 auto 74px;

    width: 300px;
    height: 75px;
    border-radius: 23px;
    background-color: #F6D64A;

    font-size: 26px;
    font-weight: 500;
    color: #444444;

    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.05);
}

.sns-container {
    display: flex;
    gap: 55px;
    justify-content: center;
}


.sns-icn {
    width: 40px;
    transition: all 0.3s ease;
}

.sns-icn:hover {
    transform: scale(1.15);
}

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

.bottom-character {
    background-color: #FFFDF8;
    background-image: url(./img/bg-footer.png);
    width: 100%;
    aspect-ratio: 1175 / 870;
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}

.bottom-character-text {
    font-size: 28px;
    color: #FFFFFF;
    font-weight: 500;
    text-align: center;
    padding-top: 60%;
    line-height: 1.8;

    text-shadow:
    1px 1px 2px #90B34C,
    -1px -1px 2px #90B34C,
    1px -1px 2px #90B34C,
    -1px 1px 2px #90B34C;
}

.bottom-character-text span {
    display: block;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.bottom-character-text span.is-show {
    opacity: 1;
    transform: translateY(0);
}


.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 50px;
    background-color: #A8D672;
}

/* ポジション */
.img-chick-top {
    position: fixed;
    bottom: 10px;
    right: 10px;

    width: 100px;

    animation: fuwafuwa 1.8s ease-in-out infinite alternate;
}

.img-chick-top:hover {
    animation: chick-jump 0.5s ease;
}

@keyframes fuwafuwa {
    0% {
        transform: translateY(0) rotate(-2deg);
    }

    100% {
        transform: translateY(-3px) rotate(2deg);
    }
}

@keyframes chick-jump {
    0% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(0);
    }

    100% {
        transform: translateY(0) rotate(0);
    }
}


.footer-nav-list {
    display: flex;
    gap: 50px;
    list-style-type: none;
    margin: 33px auto;
}

.footer-nav-list a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: 600;
}

.copyright {
    font-weight: 300;
    color: #FFFFFF;
    background-color: #90B34C;
    padding: 5px;
    text-align: center;
}

html {
    scroll-behavior: smooth;
}





/* -----------------------------------------------------------------
スマホ版ーーーーーーーーーーーーーーーーーーーーーーーー------------------- 
-----------------------------------------------------*/

@media (max-width: 768px) {


    /* PC用ナビを非表示 */
    .header-nav {
        display: none;
    }

    header {
        padding: 2px 15px 0;
        background-color: rgba(246, 214, 74, 0.9);

        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .sp-menu-open {
        display: block;
        width: 49px;

        cursor: pointer;
        transition: 0.2s;
    }

    .sp-menu-open:hover {
        opacity: 0.7;
        transform: scale(0.9);
    }


    /* ハンバーガーメニュー */

    .sp-menu-close {
        width: 49px;
        height: 49px;
        cursor: pointer;
        transition: 0.2s;
        }

    .sp-menu-close:hover {
        opacity: 0.7;
        transform: scale(0.9);
    }

    .sp-menu-header {
        display: flex;
        justify-content: space-between;
        padding: 2px 15px 0;
        align-items: center;
    }

    .sp-menu {
        position: fixed;
        top: 0;
        right: 0;

        background-color: #F6D64A;

        width: 100%;
        height: 690px;

        text-align: center;

        background-image: url(./img/sp__links-hill.png);
        background-position: bottom;
        background-size: 100% auto;

        overflow-y: auto;
    }

    .links-chick-left {
        display: block;
        width: 80px;
        margin: 0 auto 0px;
    }

    .sp-menu h2 {
        color: #444444;
        font-size: 33px;
        font-weight: 500;
        margin-bottom : 12px;
    }

    .links-list {
        margin: 0 auto;
        width: 300px;
        padding: 0;
        list-style-type: none;
    }

    .links-list-item {
        background-color: #FFFBFB;
        margin-bottom: 12px;  
        border-radius: 12px;

        transition: 0.2s;
    }

    .links-list-item:hover {
        transform: translateY(-3px);
    }

    .links-list a {
        display: block;
        padding: 14px 0;
        font-size: 18px;
        font-weight: 500;
        text-decoration: none;
        color: #000;
    }


    /* メイン */
    .main-visual {
        width: 100%;
        height: auto;

        background-image: url(./img/sp__hero-circle.png);

        background-position: top center;
        background-size: 250px auto;
        background-repeat: no-repeat;
        margin-top: 90px;
    }

    .main-visual-text {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.8;
        color: #444444;
        text-align: center;

        padding: 60px 20px;
    }

    .main-visual-sp-imgs {
        display: block;
        text-align: center;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .main-visual-sp-imgs img {
        width: 100%;
        display: block;
        margin: 0 auto;
    }


    /* アバウトについて */

    .about {
        padding: 0 20px 90px;
    }

    .about-card {
        padding: 50px 20px 50px;
    }

    .about-name {
        font-size: 24px;
    }

    /* 縦並びにして、イラスト(画像)を上・テキストを下に順序変更 */
    .about-flex {
        flex-direction: column-reverse;
        align-items: center;
    }

    /* 画像エリア（上に配置された状態） */
    .about-img-area {
        text-align: center;
        margin: 20px;
    }

    .about-img-shimisato {
        width: 222px;
        /* スマホに適したサイズに調整 */
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

    /* テキストエリア */
    .about-text-area {
        width: 100%;
        text-align: center;
        /* 肩書きや名前を中央揃えに */
    }

    .about-name {
        font-size: 26px;
        padding-top: 7px;
        /* padding: 10px auto 20px; */
    }

    .about-name-en {
        display: block;
        /* 英語名を改行して下に配置 */
        font-size: 16px;
        margin-top: 10px;
    }

    .about-description {
        font-size: 16px;
        text-align: left;
        /* 本文は左揃えで見やすく */
        display: inline-block;
        /* 左揃えにしつつ中央寄りに配置 */
    }

    /* 右上の装飾用丸画像（位置とサイズ調整） */
    .about-circles {
        top: 20px;
        right: -10px;
    }


    /* フェイバリット */

    .favorites {
        padding: 70px 22px 118px;
    }

    .favorites-card-flex {
        flex-direction: column;
        align-items: center;
    }

    .favorites-chick-left {
        position: absolute;
        top: auto;
        right: 50px;
        bottom: -3px;

        max-width: 50px;
    }


    .favorites-card:nth-child(1) .favorites-card-img,
    .favorites-card:nth-child(2) .favorites-card-img,
    .favorites-card:nth-child(3) .favorites-card-img {
        transition-delay: 0s;
    }


    /* ワークス */

    .works {
        background-image: url(./img/sp__works-circles.png);
        background-size: auto 100%;
        background-position: center 20px;
        background-repeat: no-repeat;
    }

    .works-card-box {
        flex-direction: column;
        gap: 50px;
        align-items: center;
    }


    /* コンタクト */

    .contact {
        padding: 50px 40px 0;
    }

    input,
    textarea {
        padding: 16px;
    }

    button {
        font-size: 20px;
        height: 65px;
        width: 100%;
        max-width: 300px;
    }


    /* フッター */

    .bottom-character {
        background-image: url(./img/sp__bg-footer.png);
        width: 100%;
        background-size: contain;
        aspect-ratio: 750 / 1490;

        background-position: center 20px;
    }

    .bottom-character-text {
        font-size: 24px;
        padding-top: 155%; 
    }

    .footer-nav {
        display: none;
    }

    .footer-bottom {
        padding: 0;
        
        position: relative;
    }
    

    /* ポジション */
    .img-chick-top {
        width: 80px;
        position: absolute;
        right: 10px;
        /* left: 80%; */
        /* transform: translateX(-50%); */
        top: -50px;
    }

    .copyright {
        background-color: #A8D672;
    }

}


.koukoku img{
    max-width: 100%;
}