@charset "UTF-8";

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

:root {
    /* =========================
    Color System
  ========================= */

    /* Base colors */
    --color-white: #ffffff;
    --color-black: #000000;

    /* Gray scale */
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2933;
    --color-gray-900: #111827;

    /* Brand colors */
    --color-blue: #2563eb;
    --color-blue-light: #60a5fa;
    --color-blue-dark: #1e40af;

    --color-green: #10b981;
    --color-green-light: #6ee7b7;
    --color-green-dark: #047857;

    /* Semantic colors */
    --color-green-blight: #22c55e;
    --color-orange-blight: #f59e0b;
    --color-red-blight: #ef4444;
    --color-blue-blight: #0ea5e9;

    /* Text colors */
    --color-text-main: #111827;
    --color-text-sub: #374151;
    --color-text-muted: #6b7280;
    --color-text-invert: #ffffff;

    /* Background colors */
    --color-bg-main: #ffffff;
    --color-bg-sub: #f9fafb;
    --color-bg-dark: #111827;

    /* Background colors + colors*/
    --dark-navy: #020c1b;
    --navy: #0a192f;
    --light-navy: #112240;
    --lightest-navy: #233554;
    --navy-shadow: #020c1bb3;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    --white: #e6f1ff;
    --green-bright: #64ffda;
    --green-tint: #64ffda1a;


    /* =========================
    Typography
  ========================= */

    /* Font size */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-md: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    --font-5xl: 3rem;
    --font-6xl: 3.75rem;
    --font-7xl: 4.5rem;
    --font-8xl: 6rem;
    --font-9xl: 8rem;

    /* Font weight */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-bold: 700;

    /* Line height */
    --leading-tight: 1.25;
    --leading-normal: 1.6;
    --leading-loose: 1.8;


    /* =========================
    Spacing
  ========================= */

    --space-0: 0;
    --space-01: 0.01em;
    --space-02: 0.02em;
    --space-05: 0.05em;
    --space-0-1: 0.1em;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space020: 8rem;


    /* =========================
    Layout
  ========================= */

    --content-max-width: 1000px;
    --content-narrow-width: 720px;

    /* Breakpoints */
    --bp-sm: 480px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;


    /* =========================
    Radius
  ========================= */

    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;


    /* =========================
    Shadow
  ========================= */

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, .1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, .15);


    /* =========================
    Z-index
  ========================= */

    --z-base: 0;
    --z-dropdown: 100;
    --z-header: 200;
    --z-modal: 500;
    --z-toast: 1000;


    /* =========================
    Animation
  ========================= */

    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;

    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================
    Global Styles
  ========================= */

body {
    background-color: var(--navy);
    font-family: "Space Grotesk", sans-serif;
    font-size: var(--font-md, 1rem);
    line-height: var(--leading-normal, 1.6);
    color: var(--lightest-slate);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* 横スクロール防止 */
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--green-bright);
}

a:hover,
.btn--secondary:hover {
    color: var(--green-bright);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3, 0.75rem) var(--space-6, 1.5rem);
    font-size: 1rem;
    font-family: var(--font-mono);
    gap: var(--space-2, 0.5rem);
    font-weight: var(--font-medium, 500);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    /* width: 200px; */
    width: 100%;
    max-width: 100%;
    height: 50px;
    background-color: var(--lightest-slate);
    color: var(--color-text-main);
}

.btn:hover {
    background-color: var(--color-gray-600);
}


/* =========================
        Text Elements
  ========================= */

html {
    /* ナビゲーションから各タイトルに飛ぶ時スムーズ */
    scroll-behavior: smooth;
}

/* 全体の基本フォント（読みやすさ重視） */
body {
    /* font-family: 'Inter', 'Noto Sans JP', sans-serif; */
    font-family: "Roboto", 'Noto Sans JP', sans-serif;
}

/* タイトルやロゴ（カッコよさ重視） */
h1,
.logo,
.section__title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

/* タイピングされる部分（少し個性を出す） */
#typed {
    font-family: 'IBM Plex Sans JP', sans-serif;
    font-weight: 500;
}

h1,
nav,
h3,
a,
.icon {
    text-decoration: none;
    color: var(--lightest-slate);
}

h1 {
    font-size: var(--font-8xl, 3.75rem);
    font-weight: var(--font-light, 300);
    letter-spacing: var(--space-02, 0.02em);
}

h3 {
    font-size: var(--font-2xl);
    font-weight: var(--font-light, 300);
    /* margin: 0; */
}

p {
    font-weight: var(--font-regular, 400);
    letter-spacing: 0.005em;
}

p,
.about__skills,
footer {
    color: var(--slate);
}

.section {
    margin-top: var(--space-10);
    min-height: 60vh;
}


/* ==========================
    Header
    ========================== */

/* header = navigation+hero section(画像と自己紹介文) */
.header {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 縦　画面中央 */
}


/*  =========================
        Navigation
  ========================= */

.nav {
    position: fixed;
    /* 上部固定 */
    top: 0;
    left: 0;
    max-width: 100vw;
    /* 画面いっぱい */
    width: 100vw;
    background-color: var(--dark-navy);
    padding: var(--space-5, 1.25rem) var(--space-6, 1.5rem);
    margin: 0 auto;
    z-index: 100;
    display: flex;
    /* navLeftとnavRightを横並び */
    justify-content: space-between;
    align-items: center;
}

#about,
#experience,
#projects,
#contact {
    /* navの分の調整 これがないと狙ったところ-80pxで止まるからタイトルで止まれない */
    scroll-margin-top: 80px;
}

.nav__primary {
    display: flex;
    /* logoとulを並べる */
    align-items: center;
    gap: var(--space-5, 1.25rem);
    font-size: var(--font-lg, 1.125rem);
}

.nav__primary ul {
    display: flex;
    /* liを横並びにする */
    gap: var(--space-3, 0.75rem);
}

.nav__primary ul li {
    text-transform: capitalize;
    /* 読み上げ時用 */
}

.nav__social {
    display: flex;
    /* svg三つ横並び */
    align-items: center;
    gap: var(--space-4, 1rem);
    /* svg同士の間隔 */
}

.nav__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.logo {
    font-size: var(--font-2xl, 1.5rem);
    font-weight: var(--font-bold, 700);
    color: var(--green-bright);
    letter-spacing: var(--space-05, 0.05em);
}

.logo:hover {
    /* transform: scale(1.01); */
    text-shadow: 0 0 8px var(--green-bright);
}








/* header（デモの参考値） */
.demobox-header {
    background: #020c1b;
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 1em;
}

.demobox-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.demobox-sitename {
    font-weight: 700;
    font-size: 18px;
}

.demobox-sitename {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.demobox-sitename {
    font-size: var(--font-2xl, 1.5rem);
    font-weight: var(--font-bold, 700);
    color: var(--green-bright);
    letter-spacing: var(--space-05, 0.05em);
}

.demobox-sitename:hover {
    /* transform: scale(1.01); */
    text-shadow: 0 0 8px var(--green-bright);
}

/* 全体調整CSS */
.nav--mobile * {
    font-size: 16px;
}

.nav--mobile li {
    font-size: 14px;
    text-transform: capitalize;

}

/* hamburgerここから */
/* input非表示 */
.nav__toggle {
    display: none;
}

/* label */
.nav__hamburger {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 9999;
    width: 4em;
    height: 4em;
}

/* メニュー展開時のlabelをfixed化 */
#menu-toggle:checked~.nav__hamburger {
    position: fixed;
}

/* メニューエリア */
.nav__menu--mobile {
    position: fixed;
    height: 100%;
    background: #020c1b;
    /* メニューエリアの背景色 */
    padding: 5em 3% 2em;
    z-index: 9998;
    transition: .3s;
    overflow-y: scroll;
    /* メニュー項目が多い場合に縦スクロール */
    top: 0;
    left: 100%;
    width: 70%;
}

/* メニューリスト */
.nav__list--mobile {
    margin-right: 3%;
    padding-left: 5% !important;
    /* !importantは不要な場合あり */
    list-style: none;
}

.nav__list--mobile li a {
    text-decoration: none;
    color: #ccd6f6;
    /* メニューリスト項目の文字色 */
    display: block;
}

/* メニューエリアchecked */
/* 右から */
#menu-toggle:checked~.nav__menu--mobile {
    left: 30%;
}

/* コンテンツカバー */
#menu-toggle:checked~.nav--mobile-cover {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9997;
    background: rgba(3, 3, 3, .5);
    display: block;
}

/* ハーフセパレート･デザイン */
/* ハンバーガーアイコン */
.hamburger-switch-half,
.nav__hamburger8:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .3s;
    content: "";
}

.nav__hamburger8:before {
    width: 25px;
    height: 3px;
    background: #ccd6f6;
    /* ハンバーガー中央線の色 */
}

.hamburger-switch-half:before,
.hamburger-switch-half:after {
    content: "";
    position: absolute;
    width: 12.5px;
    height: 3px;
    background: #ccd6f6;
    /* ハンバーガー上下線の色 */
    top: 50%;
    left: 50%;
    transition: .3s;
}

.hamburger-switch-half:before {
    transform: translate(-100%, -300%);
}

.hamburger-switch-half:after {
    transform: translate(0, 200%)
}

/* アイコンアニメーション */
#menu-toggle:checked~.nav__hamburger .hamburger-switch-half:before {
    transform: translate(-85%, -200%) rotate(45deg);
}

#menu-toggle:checked~.nav__hamburger .hamburger-switch-half:after {
    transform: translate(-15%, 100%) rotate(45deg);
}

#menu-toggle:checked~.nav__hamburger8:before {
    transform: rotate(-45deg) translate(-32%, -335%);
}

/* メニューリストのセパレートボーダー */
.hamburger-menulist-half li {
    position: relative;
    margin-bottom: .5em;
}

.hamburger-menulist-half a {
    padding: 0.5em 1em;
}

.hamburger-menulist-half a:hover {
    color: var(--green-bright);
}

.hamburger-menulist-half a:before,
.hamburger-menulist-half a:after {
    position: absolute;
    content: "";
    width: 2em;
    height: 1em;
    border: 1px solid;
    z-index: -1;
}

.hamburger-menulist-half a:before {
    border-color: #333 transparent transparent #333;
    /* カギ括弧の色（#333のみ変更） */
    top: 0;
    left: 0;
}

.hamburger-menulist-half a:after {
    border-color: transparent #333 #333 transparent;
    /* カギ括弧の色（#333のみ変更） */
    bottom: 0;
    /* right: 0; */
    right: 1.5em;
}

/* PCではハンバーガーメニューを表示しない */
@media (min-width: 992px) {
    .demobox-header {
        display: none;
    }
}

@media (max-width:992px) {
    .nav {
        display: none;
    }
}











/* =========================
        Hero Section
  ========================= */


#hero {
    position: relative;
    height: 100%;
    display: flex;
    /* hero画像と自己紹介並ばせ justify-content: center; */
    justify-content: center;
    align-items: center;
    gap: var(--space-10, 2.5rem);
    overflow: hidden;
    /* hero画像と自己紹介の要素間隔 */

    min-height: calc(100vh - 80px);
    padding-top: 50px;
    /* navの高さ分 */
    width: 100%;
}

#canvas {
    /* position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    object-fit: cover; */
    width: 100%;
    height: auto;

    display: block;
}

/* ================================
    ViewMy WorkとDownload CVのボタンエフェクト終了
================================ */

/* Mirai.の後の|へのCSS */
.typed-cursor {
    color: var(--green-bright);
    /* カーソルの色をMiraiの文字色に合わせ */
    margin-left: 5px;
    /* 文字との隙間を少し空ける */
}

.hero__title {
    height: fit-content;
}

/* タイピングされるMiraiの文字 */
.hero__title .span {
    color: var(--green-bright);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--content-narrow-width);
}

.hero__image {
    width: 60%;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-shrink: 0;


    /* width: 320px;
    height: 320px;
    flex-shrink: 0;
    display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /* canvasをhero__imageを基準にして配置するから */
    /* position: relative; */
    /* z-index: 2; */
    /* カーソルエフェクト */
    /* transition: all 0.3s ease; */
}

.crosshair {
    cursor: crosshair;
}

.crosshair:hover {
    transform: scale(1.05);
}

/* ================================
    ViewMy WorkとDownload CVのボタンエフェクト開始
================================ */

path.one {
    transition: 0.4s;
    transform: translateX(-60%);
}

path.two {
    transition: 0.5s;
    transform: translateX(-30%);
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 0;
    font-size: var(--font-md);

    /* transform: skewX(10deg); */
}

.arrow-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.cta:hover path.three {
    animation: color_anim 1s infinite 0.2s;
}

.cta:hover path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.cta:hover path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

.cta svg {
    width: 24px;
    height: auto;
}

/* SVG animations */
@keyframes color_anim {
    0% {
        fill: var(--color-text-invert);
    }

    50% {
        fill: var(--green-bright);
    }

    100% {
        fill: var(--color-text-invert);
    }
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    gap: var(--space-5, 1.25rem);
    margin-top: var(--space-10, 2.5rem);
}

.btn svg {
    fill: currentColor;
}

/* =========================
    Header End
  ========================= */






/* =========================
    Main Start
  ========================= */

.main {
    min-height: 100vh;
    /* footer浮防止 */
    position: relative;
    height: auto;
    /* コンテンツに応じて高さ自動調整 */
}

.wrapper {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.section__inner {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.section__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;

    /* 見出しの下の線の設定 */
    border-bottom: 1px solid var(--lightest-navy);
    padding-bottom: var(--space-2);
}

.section__title {
    font-size: var(--font-4xl, 2.25rem);
    color: var(--lightest-slate);
    margin: 0;
    border: none;
    padding: 0;
}

/* flexをかけて横並びにしたいセクション限定  */
.section__content {
    margin-top: var(--space-8);
    min-height: auto;
}

/* flexをかけて横並びにしたいセクション限定で追加 aboutとexperience  */
.section__content--row {
    display: flex;
    justify-content: center;
}

.about__image {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

/* =========================
    About Section
  ========================= */

.section--about .section__inner {
    justify-content: flex-start;
}

.about__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about__image-container {
    margin: auto;
}

.about__text {
    margin-top: var(--space-10);
}

.about__skills {
    margin-top: var(--space-10);
    display: grid;
    grid-template-columns: 200px 1fr;
    /* 2列 */
    grid-template-rows: 30px 30px 1fr;
    /* 3行 */
}

.about__skill {
    list-style: none;
}

.about__skill::before {
    content: "◇";
    color: var(--green-bright);
    margin-right: var(--space-2);
}

/* =========================
    Experience Section Start
  ========================= */

.experience__nav-container {
    /* min-height: 300px; */
    /* 悩み中 */
    height: auto;
    border-right: 1px solid var(--lightest-navy);
    flex: 1;
}

.experience__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience__nav-container ul li {
    display: block;
    padding: 12px 0 12px 20px;
    border: 1px solid transparent;
    cursor: pointer;
}

.experience__nav li:hover {
    background: var(--green-tint)
}

.experience__content {
    flex: 6;
    position: relative;
    width: 100%;
    margin-top: 2rem;
    padding-left: 10px;
}

/* 左の光るライン */
.experience__nav li.active::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--green-bright);
    box-shadow: 0 0 10px var(--green-bright);
}

/* 選択状態 */
.experience__nav li.active {
    color: var(--green-bright);
}


.experience__date {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--green-bright);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.experience__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    padding-left: 1.2rem;
}

.experience__list li {
    position: relative;

    color: var(--lightest-slate);
    line-height: 1.8;
    font-size: 1rem;
}

.experience__list li::marker {
    color: var(--green-bright);
}


/* ===== 波紋クリックアニメーション Start ======== */

/* クリックできる要素 */
.ripple {
    position: relative;
    overflow: hidden;
    cursor: pointer;

    padding: 12px 20px;
    list-style: none;
}

.ripple__effect {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;

    width: 120px;
    height: 120px;

    transform: scale(0);
    opacity: 0;
}

.ripple__effect.is-show {
    animation: ripple 0.6s ease-out;
}

/* エフェクト要素の色を指定 */
.ripple__effect.is-green {
    background: var(--green-bright);
}

/* アニメーションの定義 */
@keyframes ripple {
    from {
        opacity: 1;
    }

    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* ===== 波紋クリックアニメーション END ======== */

/* ===== experience__content START ========= */
.panel {
    display: none;
}

.panel.active {
    display: block;
}

.tab.active {
    color: var(--green-bright);
}

/* ===== experience__content END ========= */


/* =========================
    Project Section Start
  ========================= */
/*  */
.projects__view-all {
    font-size: var(--font-sm);
}

.projects__view-all a {
    color: var(--green-bright);
    text-decoration: none;
    display: block;
    transition: all var(--duration-normal) var(--ease-in-out);
}

.projects__view-all a:hover {
    color: var(--lightest-slate);
    transform: translateX(5px);
}


/* ======== 画像に少しカバーSTART ========== */
/* 画像単位にやるのがよし */
.slide-item {
    position: relative;
    /* project-slide__contentを画像の上にabsoluteで載せるため */
    overflow: hidden;
    border-radius: 12px;
}

.slide-item img {
    width: 100%;
    /* display: block; */
}

/* 暗くするレイヤー */
.slide-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: 0.3s;
}

/* hoverでちょい明るく */
.slide-item:hover::after {
    background: rgba(0, 0, 0, 0.3);
}

/* ========= 画像のカバーEND =========== */




/* ======= < > START ========== */

.slick-prev,
.slick-next {
    font-size: 0;
    /* デフォルトの文字をなくす */
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    /* 滑らかに大きくなる */
    transition: transform 0.3s ease;
}

.slick-prev {
    left: 50px;
}

.slick-next {
    right: 50px;
}

/* 矢印作る */
.slick-prev::before,
.slick-next::before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    /* ⬜︎を作る 右と上だけ */
    border-top: 2px solid var(--lightest-slate);
    border-right: 2px solid var(--lightest-slate);
    margin: auto;
}

.slick-prev::before {
    /* ⬜︎ -->🔶 */
    transform: rotate(-135deg);
}

.slick-next::before {
    /* ⬜︎ -->🔶 */
    transform: rotate(45deg);
}

/* hoverで大きくなる */
.slick-next:hover,
.slick-prev:hover {
    transform: scale(1.1) translateY(-50%);
}

/* ＞は擬似クラスで作ったしかもボーダーなので文字ではないことに注意すること */
.slick-next:hover::before,
.slick-prev:hover::before {
    border-color: var(--white);
}

/* ========= < > END=========*/

/* ==== 下のバーSTART ======== */
.slick-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slick-dots li {
    list-style: none;
    /* クリックできる範囲を広げる */
    padding: 8px 4px;
}

.slick-dots li button {
    font-size: 0;
    /* デフォルトの数字消す */
    width: 36px;
    height: 4px;
    border: none;
    cursor: pointer;
}

.slick-dots li.slick-active button {
    background: #64ffda;
}

.slick-dots li button {
    transition: all 0.3s ease;
}

.slick-dots li button:hover {
    transform: scale(1.1);
}

/* ==== 下のバーEND ======  */


/* 画像の上に文字のせるSTART */

.project-slide__link {
    color: var(--color-text);
    transition: 0.3s;
}

.project-slide__content {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.project-slide__content,
.project-slide__description,
.project-slide__skills,
.project-slide__links {
    color: white;
}

.project-slide__description,
.project-slide__skills {
    font-size: var(--font-xs);
}


/* 画像の上に文字のせるEND */



/* 画像切り替えスライド START */

.slick-list {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.projects__slider-area {
    max-width: 100%;
    margin: 0 auto;
    height: auto;
}

.projects__slider-area.w300 {
    max-width: 300px;
}

.slick-slide {
    margin: 0 5px;
    aspect-ratio: 9 / 4;
    /* スライドに比率だけ指定して画像をフィットさせる */
    transition: all ease-in-out .3s;
    opacity: .2;
    overflow: hidden;
}

.slick-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* スライドに比率だけ指定して画像をフィットさせる */
}

.slick-active {
    opacity: 1;
}

.slick-current {
    opacity: 1;
}

.thumb {
    margin: 20px 0 0;
}

.thumb .slick-slide {
    cursor: pointer;
}

.thumb .slick-slide:hover {
    opacity: .7;
}

.github-link {
    color: var(--green-bright);
    transition: 0.3s;
}

.github-link:hover {
    transform: scale(1.2);
}

/* 画像切り替えスライド END */




/* プロジェクトカード一覧START */
.projects__list {
    margin-top: var(--space-8);
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr 1fr;
}

.project-card {
    width: 100%;
    aspect-ratio: 6/7;
    border-radius: var(--radius-lg);
    background-color: var(--light-navy);
    padding: 28px;
}

.project-card__icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.project-card__description {
    padding-bottom: 40px;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card__skills {
    font-size: var(--font-xs);
}


/* =========================
    Footer
  ========================= */

.footer {
    background-color: var(--dark-navy);
    height: 88px;
    display: flex;
    justify-content: center;
    /* 縦方向中央 */
    align-items: center;
    /* 横方向中央 */
    margin-top: var(--space-10);
}

.footer__content {
    display: flex;
    flex-direction: column;
    /* 上下に並べる */
    align-items: center;
    /* 横方向中央 */
    justify-content: center;
    /* 縦方向中央 */
    gap: var(--space-1, 0.25rem);
    /* p と small の間隔 */
}

footer p {
    font-size: var(--font-sm, 0.875rem);
}

footer small {
    display: block;
    font-size: var(--font-xs, 0.75rem);
}

footer p,
footer small {
    margin: 0;
}













/* ==================
        ふわっとアニメーション
================== */

/* 最初は見えない */
.fadeanimation {
    opacity: 0;
    transform: translateY(20px);
}

/* 表示されたらふわっと */
.fadeanimation.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}










/* =========================
    Responsive (Tablet)
========================= */
@media (max-width: 768px) {

    .wrapper {
        padding: 0 var(--space-8);
    }

    .hero__title {
        display: flex;
        justify-content: center;
        gap: 5px;
        margin-bottom: 10px;
    }

    .hero__image {
        /* width: 60%;
        height: auto;

        display: flex;
        justify-content: center; */
        width: 80%;
    }

    #canvas {
        width: 100%;
        height: auto;

        display: block;
    }

    #hero {
        /* margin-top: 80px;
        flex-direction: column;
        padding: 0 var(--space-6); */
        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 2rem;

        margin-top: 80px;
        padding: 0 var(--space-6);
    }

    .section__header {
        border-bottom: 0;
    }

    .section__content--row {
        flex-direction: column;
        align-items: center;
        gap: var(--space-8);
    }

    .section {
        margin-top: var(--space-5);
    }

    .section--home {
        margin-top: 0;
    }

    .hero-buttons {
        display: none;
    }


    .about__image {
        display: none;
    }

    .experience__nav-container {
        width: 100%;
        border: none;
        border-bottom: 1px solid var(--lightest-navy);
    }

    .experience__nav ul {
        display: flex;
    }

    .experience__nav ul li {
        position: relative;
        padding-right: 20px;

        font-size: 0.8rem;
        padding: 10px 8px;
    }

    .experience__nav li.active::before {
        all: unset;
    }

    .experience__nav li.active::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;

        width: 100%;
        height: 2px;

        background: var(--green-bright);
        box-shadow: 0 0 10px var(--green-bright);
    }

    /* 選択状態 */
    .experience__nav li.active {
        color: var(--green-bright);
    }

    .projects__list {
        grid-template-columns: 1fr 1fr;
    }

    h1 {
        font-size: var(--font-6xl);
    }

    .about__skills {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 8px 16px;
    }
}

/* =========================
    Responsive (Mobile)
========================= */
@media (max-width: 480px) {
    .nav {
        padding: var(--space-3);
    }

    .projects__list {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: var(--font-5xl);
    }
}