/* 全体の設定ここから */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}

body {
    font-family: "Noto Sans JP", sans-serif;

    font-size: 14px;
    line-height: 2;
    color: #333;
    background-image: url(../images/kraft.webp);
    background-repeat: repeat;
}

ul,
ol {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: 0.6;
}

h1 {
    font-family: "Archivo Black", serif;
    font-size: 80px;
    border-bottom: 1px solid#fff;
    color: #fff;
    letter-spacing: 0.06em;
    line-height: 1;
    padding-bottom: 10px;
    text-align: center;
    opacity: 0.7;
}

h2 {
    font-family: "Archivo Black", serif;
    font-size: 40px;
    text-align: center;
    margin-bottom: 50px;
    /* color: #005618; */
    /* text-shadow:
        0.04em 0.02em 0 #B0BEC5,
        0.08em 0.05em 0 rgba(0, 0, 0, 0.6); */
    color: transparent;
    text-shadow: 3px 3px 0 #EA6363;
    -webkit-text-stroke: 2px #333;
    
}

h3 {
    font-family: "Archivo Black", serif;
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    color: #005618;
    /* text-shadow:
        0.04em 0.02em 0 #B0BEC5,
        0.08em 0.05em 0 rgba(0, 0, 0, 0.6); */

    color: transparent;
    text-shadow: 2px 2px 0 #EA6363;
    -webkit-text-stroke: 1px #fff;
}

.item-name {
    font-size: 16px;
    font-weight: bold;
    text-shadow:
        0.04em 0.02em 0 #fff,
        0.08em 0.05em 0 #333(0, 0, 0, 0.6);

}

.item-name-banner {
    font-size: 16px;
    font-weight: bold;
    text-shadow:
        /* 0.04em 0.02em 0 #fff, */
        0.08em 0.05em 0 #333(0, 0, 0, 0.6);
    color: #fff;
}

.comments {
    color: #fff;
}

/* サイトの幅を定義 */
.container {
    max-width: 960px;
    margin-inline: auto;
}

.archivo-black-regular {
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.top-name {
    font-family: "Archivo Black";
    font-size: 50px;
    opacity: 0.7;
}



/* 全体の設定ここまで */

/* ヘッダーここから */

header {
    background-color: #EA6363;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 999;

}

header .pc-nav {
    height: 100%;

}

header .pc-nav ul {
    font-family: "Archivo Black";
    height: 100%;
    width: 81%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-inline: auto;
}

footer {
    height: 44px;
    background-color: #EA6363;
    font-size: 12px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ヒーローここから */
.top-hero {
    background-image: url(../images/top-flamingo.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 560px;
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-hero p {
    font-size: 50px;
    text-align: center;
    line-height: 1;
    padding-top: 10px;
    letter-spacing: 2px;
    color: #fff;
}

/* プロフィールはここから */
#profile,
#skill,
#banner,
#web,
#video {
    /* sectionの下の余白 */
    margin-bottom: 100px;
    /* ページ内リンクの位置合わせ */
    padding-top: 100px;
    margin-top: -100px;
}

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

.profile-box p {
    width: 60%;
}

.profile-box figure img {
    width: 256px;
}

.profile-name {
    font-size: 24px;
    margin-right: 1em;
    background: linear-gradient(transparent 40%, #f1aa9e 60%);

}

/* スキルここから */
.skill-box ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.skill-box li {
    width: calc((100% - 96px) / 4);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-box figure img {
    width: 128px;
}

/* デザインはここから */
/* バナーはこここから */

#design {
    margin-bottom: 100px;
}

.design-wrapper {
    background-color: #445166;
    padding-top: 50px;
    padding-bottom: 50px;
}

.banner-box ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    text-align: justify;
}

.banner-box li {
    display: grid;
    justify-items: center;
}

.banner-box figure img {
    width: 300px;
}

/* ウェブここから*/
.web-box ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.web-box li {
    width: calc((100% - 32px) / 2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.web-box figure img {
    width: 464px;
}

/* ビデオはここから */

video {
    width: 70%;
    margin-bottom: 10px;
}

.video-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ライクはここから*/

.like {
    margin-bottom: 100px;
}

.slick-slide {
    margin-right: 30px;
}

/* AI作成コード貼り付けここから */
/* 画像コンテナのスタイル */
.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    display: block;
    width: 100%;
    height: auto;
    padding: 0.7em;
    /*内側余白*/
    background-image: repeating-linear-gradient(-45deg, #333 0, #f2f3f7 3px, transparent 3px, transparent 6px);
}

/* マウスオーバー時に表示するテキストのスタイル */
.hover-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    /* 背景を半透明に */
    color: white;
    /* テキストを白色に */
    text-align: center;
    padding: 10px;
    opacity: 0;
    /* デフォルトは非表示 */
    transition: opacity 0.3s ease;
    /* フェードイン効果 */
}

/* マウスオーバー時にテキストを表示 */
.image-container:hover .hover-text {
    opacity: 1;
}

/* AI作成コード貼り付けここまで */
/* ハンバーガーメニューここから */

.pc-nav {
    display: block;
}

.sp-nav {
    position: fixed;
    z-index: 999;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    background: #f1aa9e;
    transition: all 0.6s;
}

.sp-nav.panelactive {
    right: 0;
}


.sp-nav ul {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sp-nav li {
    list-style: none;
    text-align: center;
}

.sp-nav li a {
    color: #333;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.sp-open-btn {
    position: fixed;
    z-index: 9999;
    top: 0px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: none;
}




.sp-open-btn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    width: 45%;

}


.sp-open-btn span:nth-of-type(1) {
    top: 15px;
}

.sp-open-btn span:nth-of-type(2) {
    top: 23px;
}

.sp-open-btn span:nth-of-type(3) {
    top: 31px;
}

.sp-open-btn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.sp-open-btn.active span:nth-of-type(2) {
    opacity: 0;
}

.sp-open-btn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

body.active {
    height: 100%;
    overflow: hidden;
}

.text {
    display: inline-block;
}

/* コンテンツフェードインここから */
.effect-fade {
    opacity: 0;
    transform: translate(0, 100px);
    transition: all 2000ms;
}

.effect-scroll {
    opacity: 1;
    transform: translate(0, 0);
}

.note {
    font-size: 9px;
    text-align: center;
}

/* LPページの設定 */
.back-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 40px;
    background-color: #445166;

    margin-inline: auto;
    color: #fff;
    margin-top: 30px;
}

.lp-container {
    max-width: 960px;
    margin-top: 48px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 80px;
}

/* ここからコピー入れてます　消すならここ以下 */
/*スクロールリンクの形状*/
.scroll-top {
    /*表示位置*/
    position: fixed;
    right: 20px;
    bottom: 10px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
    /*それぞれに0.5秒の変化のアニメーション*/
    /*縦書き*/
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    /*改行禁止*/
    white-space: nowrap;
    /*矢印の動き*/
    animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove {
    0% {
        bottom: 20px;
    }

    50% {
        bottom: 25px;
    }

    100% {
        bottom: 20px;
    }
}


/*.scroll-viewクラスがついたら出現*/
.scroll-top.scroll-view {
    opacity: 1;
    visibility: visible;
}

/*リンク全体の aタグの形状*/
.scroll-top a {
    text-decoration: none;
    color: #333;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
}

/*スクロールリンクの形状*/

.js-scroll a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 50px;
    background: #333;
}

.js-scroll a::before {
    content: "";
    position: absolute;
    top: 30px;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #333;
    transform: skewX(-31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x),
.js-scroll a::before {
    right: -11px;
}

/*ページトップリンクの形状*/

.js-pagetop a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 50px;
    background: #333;
}

.js-pagetop a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #333;
    transform: skewX(31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x),
.js-pagetop a::before {
    right: 0;
}

/*==================================================
共通　横並びのための設定 点を線にするのここから
===================================*/

.gnavi {
    display: flex;
    flex-wrap: wrap;
    /*スマホ表示折り返し用なのでPCのみなら不要*/
    margin: 0 0 50px 0;
    list-style: none;
}

.gnavi li a {
    display: block;
    padding: 10px 30px;
    text-decoration: none;
    color: #fff;
}

.gnavi li {
    margin-bottom: 20px;
}

/*==================================================
　5-3-8 円が線に変化
===================================*/


.gnavi li a {
    /*円の基点とするためrelativeを指定*/
    position: relative;
}

.gnavi li.current a,
.gnavi li a:hover {
    color: #fff;
}

.gnavi li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 0;
    /*線になる丸の形状*/
    width: 100%;
    height: 5px;
    border-radius: 50%;
    background: #ffffff;
    /*アニメーションの指定*/
    transition: all .3s;
    transform: scale(0.04, 1);
    /*X方向0.04、Y方向1*/
    transform-origin: center bottom;
    /*中央下部基点*/
}

/*現在地とhoverの設定*/
.gnavi li.current a::after,
.gnavi li a:hover::after {
    height: 2px;
    /*縦幅を変化*/
    border-radius: 0;
    /*丸みをなくす*/
    transform: scale(0.8, 1);
    /*X方向0.8、Y方向1にスケール拡大*/

}


@media (max-width:720px) {

    /* ハンバーガーメニューここから */
    .pc-nav {
        display: none;
    }

    .sp-open-btn {
        display: block;
    }
}





/* --------------スマホ版はここから---------------- */

@media (max-width:520px) {

    /* SP版全体はここから */
    h1 {
        font-size: 54px;
    }

    h2 {
        margin-bottom: 10px;
    }

    /*SP版ヒーローここから */
    .top-hero p {
        font-size: 37px;
    }

    .container {
        padding-left: 3%;
        padding-right: 3%;
    }

    /* SP版プロフィールはここから */

    .profile-box {
        flex-direction: column-reverse;
    }

    .profile-box p {
        width: 100%;
    }

    .profile-box.profile-box figure img {
        width: 100%;
    }

    /* SP版スキルはここから */
    .skill-box li {
        width: calc((100% - 32px) / 2);
    }

    /* SP版デザインはここから */

    .banner-box figure img {
        width: 100%;
    }

    /* SP版Webはここから */
    .web-box ul {
        flex-direction: column;
    }

    .web-box li {
        width: 100%;
    }

    video {
        width: 100%;
    }

    /* SP版ライクはここから */

    .slick-slide {
        margin-right: 0;
    }

    .slick-slide img {
        width: 100%;
    }





}