@import url('https://googleapis.com');

body {
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #000;
}

/*色指定変数*/

:root { 
    --font-blue: #22A1C4;/*文字用*/
    --bg-blue: #F8FCFD;/*背景*/
    --bg-blue2: #EFFAFB;
    --note: #808080;
}


/*フォント設定*/

h2 {
    font-family: "Noto Sans JP", sans-serif;
    color:var(--font-blue);
    font-size: 40px;
    font-weight: 400;
}


/* なぜか変数設定するとおかしくなるのでこのグラデーションはセレクタごとに直書きします
:root {
    --gradient-start: #008CBA; /* 水色#42C5E8 */
    --gradient-mid1: #4C9978; /* グリーン */
    --gradient-mid2: #69E6C5; /* ミント */
    --gradient-end: #8D6868;  /* グレイッシュブラウン */

    /* 基本グラデーション */
    --gradient-main: linear-gradient(
    180deg,
    var(--gradient-start) 0%,
    var(--gradient-mid1) 35%,
    var(--gradient-mid2) 65%,
    var(--gradient-end) 100%
);

    /* 文字用：90度回転 */
    --gradient-title: linear-gradient(
        90deg,
        var(--gradient-start) 0%,
        var(--gradient-mid1) 35%,
        var(--gradient-mid2) 65%,
        var(--gradient-end) 100%
    );

}

:root {
    --gradient-start: #fff; /* 白 */
    --gradient-end: #EFFAFB;  /*薄いミント */

    /* 基本グラデーション */
    --gradient-back: linear-gradient(
    180deg,
    var(--gradient-start) 0%,
    var(--gradient-end) 100%
);
}

/*
グラデーションの使い方
例1：基本グラデーションを使う
.hero {
    background: var(--gradient-vertical);
}

例2：ミントを早めに登場させる
.about {
    background: linear-gradient(
        180deg,
        var(--gradient-start) 0%,
        var(--gradient-mid1) 20%,
        var(--gradient-mid2) 40%,
        var(--gradient-end) 100%
    );
}

例3：横方向の基本グラデーションを使う
.title {
    background: var(--gradient-horizontal);
}
*/


/*===================
   0.共通
====================*/

/* 通常サイト：最大1440px */
.site-wrapper {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;/*ハンバーガー用*/
  /*background: yellow !important;*/
}

section {
    position: relative;
    isolation: isolate;
    padding-bottom: 8rem;
}

.section-note {
    color:var(--note);
    font-size: 0.85rem;
}

/*セクション背景用グラデーションのための設定*/
/*背景をウィンドウいっぱいにするための疑似要素*/
section::before { 
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;
}

.section-wrapper {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    /*padding: 0 24px;*/

    box-sizing: border-box;
    min-height:600px;
    /*background-color:azure;*/
    /*border : 1px solid #42C5E8;/*セクション境界確認用*/
}


/* セクション別H1タイトルのグラデーション */
.section-title h1 {
    display: inline-block !important;
    width: fit-content !important;
    padding: 0 !important;
    margin:0 !important;
    font-size: 80px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    margin-top: 2rem;

    background: linear-gradient(
        90deg,
        #008CBA 0%,
        #4C9978 33%,
        #69E6C5 66%,
        #8D6868 100%
    ) !important;

    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

/* H1の光る演出の土台 */
.section-title h1,
.portfolio-title h1 {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* 光の帯 */
.section-title h1::after,
.portfolio-title h1::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 100%
    );

    transform: skewX(-25deg);
    transition: left 0s;
}

/* マウスオーバーで光る */
.section-title h1:hover::after,
.portfolio-title h1:hover::after {
    left: 150%;
    transition: left 0.6s ease;
}

/* スクロール時の光るアニメーション */
@keyframes h1-shine-scroll {
    from {
        left: -100%;
    }

    to {
        left: 150%;
    }
}

/* スクロール時だけアニメーション */
.section-title h1.is-visible::after,
.portfolio-title h1.is-visible::after {
    animation: h1-shine-scroll 0.6s ease;
}

/* マウスオーバーでH1が光るここまで */



/*===================
   0.intro-screen
====================*/
.intro-screen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 10002;
    background: #fff;
    opacity: 1;
    visibility: visible;
}

/* イントロ職歴カード */
/* イントロカード仮表示 */
.intro-copy {
    position: absolute;
    inset: 0;
}

/* イントロ職歴カード */
.intro-card {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    transform: translateY(-50%);
    background: #1744ff;
}


/* イントロカードの配置 */
.intro-cards {
    position: absolute;
    inset: 0;
}

/* 方向別に飛び込むカード */
.intro-card {
    opacity: 0;
    animation: intro-card-drop 0.8s ease-in-out both;
}

/* カードの重なり順 */
.intro-card:nth-child(1)  { z-index: 1; }
.intro-card:nth-child(2)  { z-index: 2; }
.intro-card:nth-child(3)  { z-index: 3; }
.intro-card:nth-child(4)  { z-index: 4; }
.intro-card:nth-child(5)  { z-index: 5; }
.intro-card:nth-child(6)  { z-index: 6; }
.intro-card:nth-child(7)  { z-index: 7; }
.intro-card:nth-child(8)  { z-index: 8; }
.intro-card:nth-child(9)  { z-index: 9; }
.intro-card:nth-child(10) { z-index: 10; }
.intro-card:nth-child(11) { z-index: 11; }
.intro-card:nth-child(12) { z-index: 12; }
.intro-card:nth-child(13) { z-index: 13; }
.intro-card:nth-child(14) { z-index: 14; }
.intro-card:nth-child(15) { z-index: 15; }
.intro-card:nth-child(16) { z-index: 16; }
.intro-card:nth-child(17) { z-index: 17; }

@keyframes intro-card-drop {
    0% {
        opacity: 0;
        transform: translate(var(--start-x), var(--start-y));
    }

    100% {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

/* ヘッダー拡大演出 */
.header-visual.intro-zoom {
    animation: header-intro-zoom 1.2s ease-out both;
}

@keyframes header-intro-zoom {
    0% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* 最後のカードを着地後に消す */
/* 職歴カード全体を消す */
.intro-cards {
    animation: intro-cards-fadeout 0.6s ease forwards;
    animation-delay: 4.2s;
}

@keyframes intro-cards-fadeout {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* イントロ画面全体を消す */
.intro-screen {
    animation: intro-screen-fadeout 0.8s ease forwards;
    animation-delay: 4.4s;
}

@keyframes intro-screen-fadeout {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* SKIP時のフェードアウト */
.intro-screen.is-skipping {
    animation: none !important;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.5s ease,
        visibility 0s linear 0.5s;
}

/* イントロ再生中は追随メニューを非表示 */
body.intro-active .compact-nav {
    visibility: hidden;
    pointer-events: none;
}

/*===================
   1.site-header(Hero)
====================*/

/*ヘッダー背景用グラデーション白→薄い青*/
.site-header {
    position: relative;
    isolation: isolate;
    z-index: 10000;
}


.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;

    background: linear-gradient(
        180deg,
        #fff 0%,
        var(--bg-blue) 100%
    );
}

.site-header::before {
    background: linear-gradient(
        180deg,

        #fff 0%,
        var(--bg-blue) 100%        
    );
}

/*ヘッダーの範囲*/
.header-visual {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    height:700px; /*仮おき*/
    /*background: var(--gradient-back);*/
    position: relative;
   /* border:1px solid #42C5E8;*/
}

/* ヘッダー内の配置基準 */
.header-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/*=== 1-1. まわる惑星ナビ ===*/
/* 惑星ナビ全体 */
.planet-nav-area {
    position: absolute;
    left: 500px;
    top: 100px;
}

.planet-nav {
    position: relative;
    width: 400px;
    height: 300px;
    margin: 0 auto;
    /*background-color: yellow;*/
}

/* 太陽 */
.planet-sun img {
   width: 100px;/*太陽の大きさ*/
    height: 100px;
}

.planet-sun {
    position: absolute;
    top: 40%;/*上下にずれる*/
    left: 60%;/*左右にずれる*/
    width: 100px;/*太陽の大きさ*/
    height: 100px;
    background: #FFC477;
    border: 1px solid #FF8B83;
    border-radius: 50%;/*円*/
    transform: translate(-50%, -50%);
 /* 星の中心を位置の基準点にする指定*/
    z-index: 2;

}

/*=== まわる惑星①～⑥ステップここから===*/
/*--- ステップ①角度のアニメーション変数（CSSの最初に記述）---*/

/*-----①1.惑星about-----*/
@property --about-angle { /*orbit*/
    syntax: '<angle>'; /*データ型の指定*/
    initial-value: 0deg;/*初期値*/
    inherits: false;/*親要素から子要素への継承有無*/
}

/*-----①2.惑星works-----*/
@property --works-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/*-----①3.惑星career-----*/
@property --career-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/*-----①4.惑星strength-----*/
@property --strength-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/*-----①5.惑星skills-----*/
@property --skills-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/*-----①6.惑星fields-----*/
@property --fields-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/*-----①7.彗星novel-----*/
@property --novel-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}


/*---- ステップ②楕円軌道の枠 ----*/
/*-----②1.惑星about-----*/
.planet-orbit_about {
    position: absolute;
    top: 53%;
    left: 50%;
    width: 240px;
    height: 64px;
    border: 1px solid #96e7fa;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/*-----②2.惑星works-----*/
.planet-orbit_works {
    position: absolute;
    top: 54%;
    left: 47%;
    width: 360px;
    height: 96px;
    border: 1px solid #cbec89;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/*-----②3.惑星career-----*/
.planet-orbit_career {
    position: absolute;
    top: 60%;
    left: 44%;
    width: 480px;
    height: 160px;
    border: 1px solid #cee1fa;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/*-----②4.惑星strength-----*/
.planet-orbit_strength {
    position: absolute;
    top: 70%;
    left: 44%;
    width: 640px;
    height: 240px;
    border: 1px solid #d7d7f4;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/*-----②5.惑星skills-----*/
.planet-orbit_skills {
    position: absolute;
    top: 84%;
    left: 44%;
    width: 850px;
    height: 360px;
    border: 1px solid #b9f9e3;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/*-----②6.惑星fields-----*/
.planet-orbit_fields {
    position: absolute;
    top: 98%;
    left: 60%;
    width: 900px;
    height: 500px;
    border: 1px solid #ffdaea;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(5deg);
    pointer-events: none;
}

/*-----②6.惑星novel-----*/
.planet-orbit_novel {
    position: absolute;
    top: 100%;
    left: 35%;
    width: 240px;
    height: 1120px;
    border: 1px solid #bdefef;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(60deg);
    pointer-events: none;
}

/*----ステップ③ 惑星リンク本体---- */
/*----③1.惑星about-----*/
.planet_about {
    position: absolute;
    top: 52%;
    left: 50%;
    
    /* 幅360pxの半分(180px) × 高さ110pxの半分(55px) の楕円軌道を計算 */
    transform: translate(-50%, -50%) /*要素自体の中心点を、軌道の中心（基準位置）にぴったり合わせる。*/
               translate(calc(120px * cos(var(--about-angle))), calc(32px * sin(var(--about-angle))));
    animation: about-spin 16s linear infinite;
    display: block;
    cursor: pointer;
    z-index: 100;
    text-decoration: none;
    pointer-events: auto;
}

/*----③2.惑星works-----*/
.planet_works {
    position: absolute;
    top: 64%;
    left: 47%;  
    /* 
      幅540pxの半分(270px) × 高さ160pxの半分(80px) の楕円軌道を計算して移動
      ※歪みが一切起きず、クリック判定も完全に追従します
    */
    transform: translate(-50%, -50%) 
               translate(calc(180px * cos(var(--works-angle))), calc(48px * sin(var(--works-angle))));
    
    animation: works-spin 18s linear infinite;   
    display: block;
    cursor: pointer;
    z-index: 100;
    text-decoration: none;
    pointer-events: auto;
}

/*----③3.惑星career-----*/
.planet_career {
    position: absolute;
    top: 50%;
    left: 50%;  
    transform: translate(-50%, -50%) 
               translate(calc(240px * cos(var(--career-angle))), calc(80px * sin(var(--career-angle))));

    animation: career-spin 12s linear infinite;   
    display: block;
    cursor: pointer;
    z-index: 100;
    text-decoration: none;
    pointer-events: auto;
}

/*----③4.惑星strength-----*/
.planet_strength {
    position: absolute;
    top: 50%;
    left: 50%;  
    transform: translate(-50%, -50%) 
               translate(calc(320px * cos(var(--strength-angle))), calc(120px * sin(var(--strength-angle))));

    animation: strength-spin 10s linear infinite;   
    display: block;
    cursor: pointer;
    z-index: 100;
    text-decoration: none;
    pointer-events: auto;
}

/*----③5.惑星skills-----*/
.planet_skills {
    position: absolute;
    top: 50%;
    left: 50%;  
    transform: translate(-50%, -50%) 
               translate(calc(425px * cos(var(--skills-angle))), calc(180px * sin(var(--skills-angle))));

    animation: skills-spin 20s linear infinite;   
    display: block;
    cursor: pointer;
    z-index: 100;
    text-decoration: none;
    pointer-events: auto;
}

/*----③6.惑星fields-----*/
.planet_fields {
    position: absolute;
    top: 50%;
    left: 50%;  
    transform: translate(-50%, -50%) 
               translate(calc(450px * cos(var(--fields-angle))), calc(250px * sin(var(--fields-angle))));

    animation: fields-spin 20s linear infinite;   
    display: block;
    cursor: pointer;
    z-index: 100;
    text-decoration: none;
    pointer-events: auto;
}

/*----③7.惑星novel-----*/
.planet_novel {
    position: absolute;
    top: 50%;
    left: 50%;  
    /* 
    top: 100%;
    left: 35%;
    width: 240px;
    height: 1120px;
    */
    transform: translate(-50%, -50%) 
               translate(calc(120px * cos(var(--novel-angle))), calc(560px * sin(var(--novel-angle))));

    animation: novel-spin 8s linear infinite;   
    display: block;
    cursor: pointer;
    z-index: 100;
    text-decoration: none;
    pointer-events: auto;
}


/*----ステップ④ 惑星本体 ---- */
/* ④1.about惑星本体 */
.planet-body_about img {
    width: 24px;
    height:auto;
    /*background: #4CC4E8;
    border: 1px solid #22A1C4;*/
    border-radius: 50%;
}

/* ④2.works惑星本体 */
.planet-body_works img {
    width: 50px;
    height:auto;
   /*background: #E84C88;
    border: 1px solid #C4226A;*/
    border-radius: 50%;
}

/* ④3.career惑星本体 */
.planet-body_career img {
    width: 32px;
    height:auto;
    border-radius: 50%;
}

/* ④4.strength惑星本体 */
.planet-body_strength img {
    width: 30px;
    height:auto;
    border-radius: 50%;
}

/* ④5.skills惑星本体 */
.planet-body_skills img {
    width: 32px;
    height:auto;
    border-radius: 50%;
}

/* ④6.fields惑星本体 */
.planet-body_fields img {
    width: 35px;
    height:auto;
    border-radius: 50%;
}

/* ④7.novel惑星本体 */
.planet-body_novel img {
    width: 50px;
    height:auto;
    border-radius: 50%;
    transform: rotate(90deg);
}


/*---- ステップ⑤Aboutリンクラベル ----*/
/* ⑤1.about */
.planet-label_about {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: var(--font-blue);
    font-size: 0.8em;
}

/* ⑤2.Worksリンクラベル */
.planet-label_works {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: var(--font-blue);
    font-size: 0.8em;
}

/* ⑤3.Worksリンクラベル */
.planet-label_career{
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: var(--font-blue);
    font-size: 0.8em;
}

/* ⑤4.strengthリンクラベル */
.planet-label_strength{
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: var(--font-blue);
    font-size: 0.8em;
}

/* ⑤5.skillsリンクラベル */
.planet-label_skills{
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: var(--font-blue);
    font-size: 0.8em;
}

/* ⑤6.fieldsリンクラベル */
.planet-label_fields{
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: var(--font-blue);
    font-size: 0.8em;
}

/* ⑤7.novelリンクラベル */
.planet-label_novel{
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    color: var(--font-blue);
    font-size: 0.8em;
}


/* ----⑥アニメーション----*/
/* ⑥1.about */
@keyframes about-spin {
    from { --about-angle: 0deg; }
    to   { --about-angle: 360deg; }
}

/* ⑥2. 惑星Works */
@keyframes works-spin {
    from { --works-angle: 0deg; }
    to   { --works-angle: 360deg; }
}

/* ⑥3. 惑星career */
@keyframes career-spin {
    from { --career-angle: 0deg; }
    to   { --career-angle: 360deg; }
}

/* ⑥4. 惑星strength */
@keyframes strength-spin {
    from { --strength-angle: 0deg; }
    to   { --strength-angle: 360deg; }
}

/* ⑥5. 惑星skills */
@keyframes skills-spin {
    from { --skills-angle: 0deg; }
    to   { --skills-angle: 360deg; }
}

/* ⑥6. 惑星fields */
@keyframes fields-spin {
    from { --fields-angle: 0deg; }
    to   { --fields-angle: 360deg; }
}

/* ⑥7. 惑星novel */
@keyframes novel-spin {
    from { --novel-angle: 0deg; }
    to   { --novel-angle: 360deg; }
}

/*（前の設定） 楕円軌道に沿って公転 
@keyframes orbit-spin {
    from {
        offset-distance: 0%;
    }

    to {
        offset-distance: 100%;
    }
}*/


/*=== 1-1. まわる惑星ナビここまで ===*/

/* 2. タイトルエリア */
.portfolio-title {
    position: absolute;
    left: 0px;
    top: 50px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* 肩書 */
.job-title {
    margin: 0;
    padding:0;
    font-size: 16px;
    line-height: 1.5;
    color:var(--font-blue);
    letter-spacing: 0.05em;
    font-weight:600;
}

/*１-2-1　job-title肩書*/
/*１-2-2　hero-title　Megumi TAKAYAMA*/
.hero-title,
.hero-title_name
 {
    display: inline-block !important;
    width: fit-content !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 40px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;

    /* 変数を使わず、直接4色を25%刻みでハッキリ指定します */
    background: linear-gradient(90deg, 
        #008CBA 0%, 
        #4C9978 33%, 
        #69E6C5 66%, 
        #8D6868 100%
    ) !important;

     /*上記のグラデーションを文字で切り抜く*/
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

.hero-title {
    margin:0;
    padding:0;
    font-size: 80px;
}

.hero-title_name {
    margin:0;
    padding:0;
    font-size: 40px;
}

/*１-2-3　catch-copy*/
/* タイトル下の説明 */
.catch-copy {
    margin: 8px 0 0;
    font-size: 18px;
    line-height: 1.0;
    color:var(--font-blue);
    font-weight:500;
}

/*１-3　title-catch　探される言葉、届く情報、伝わるデザイン。*/
/* ヒーロー右下のキャッチコピー */
.title-catch {
    position: absolute;
    right: 50px;
    bottom: 100px;
    z-index: 10;
}

.title-catch p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: var(--font-blue);
    text-align: left;
}

/*===１-4 main-nav ===*/
/* ヒーロー右上のPCナビ */
.main-nav {
    position: absolute;
    top: 30px;
    right: 20%;
    z-index: 10;
    font-weight:600;
}

.main-nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--font-blue);
    font-size: 14px;
}

/*===1-5 compact-nav" ===*/
/*追随するメニュー惑星ボタン*/
.compact-nav {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
}

.menu-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;

    position: relative;
    top: 0px;
    right: 30px;
    z-index: 9999;

    background: linear-gradient(210deg,
        #008CBA 0%,
        #4C9978 33%,
        #69E6C5 66%,
        #8D6868 100%
    ) !important;

    /* menu文字を中央配置 */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 惑星の中のmenu文字 */
.menu-circle p.menu { 
    color: #fff;
    font-size: 15px;
    margin: 0;
    letter-spacing: 0.08em;
    font-weight: 300;
}



/*===================
   0－2.nav menu-overlay
====================*/
/*** 2.追随するメニュー展開 ***/
.compact-nav {
  position: fixed;
  top: 25px;
  right: max(4%, calc((100vw - 1440px) / 2 + 20px));
  /* 説明
100vw：ブラウザ表示領域の幅
(100vw - 1440px) / 2：幅1440pxのサイトが中央寄せされたときの左右の余白
+ 20px：サイトの右端から20px内側に配置
max()：計算した値と4%を比べて、大きいほうを採用 */
  z-index: 1000;
}

.compact-nav button { /*ボタンのデフォルト背景白を透明に*/
  background: transparent;
  border: none;
  padding: 0;
}

/* ハンバーガーが押されたときに展開するメニュー */
.menu-overlay {
    position: fixed;
    top: 0;
    right:2rem;
    z-index: 10001;

    width: 360px;
    max-width: 100%;
    height: 100vh;
    box-sizing: border-box;
    overflow-y: auto;

    border: 1px solid #42C5E8;
    padding: 40px 30px;

    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);

    display: none;
}


.menu-title { /*メニュータイトル*/
  margin: 0 0 30px;
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-align: left;
  color:var(--font-blue);
}

/* TOPに戻るリンク */
.top-return {
    display: block;
    text-align: right;
}

.top-return a {
  color:var(--font-blue);
  text-decoration: none;
}

/* メニューを消す☒ボタン */
.menu-close {
  display: block;
  margin: 12px 0 10px auto;
  padding: 0;

  border: none;
  background: transparent;

  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 16px;
  color:var(--font-blue);
  cursor: pointer;
  font-weight: 500;
}

/* メニュー一覧 */
.menu-overlay ul {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 0;

  list-style: none;
}

/* 各メニュー */
.menu-overlay li {
  margin-bottom: 28px;
}

/* リンク全体 */
.menu-overlay li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  color:var(--font-blue);
  text-decoration: none;
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 16px;
}



/*===================
   2.section about me
====================*/

.section-about::before {
    z-index: -1;
    background: linear-gradient(
        0deg,
        #fff 0%,
        var(--bg-blue) 100%
    );
}


/* ABOUT全体 */
.section-about .section-wrapper {
    height: auto;
    min-height: 600px;
    padding: 60px 0 80px;
}

/* セクションタイトル */
.section-about .section-title {
    margin-bottom: 30px;
}

/* 左右2カラム 
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}*/

.about-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 80px;
}

/* 左：紹介文 */
.about-text {
    flex: 0 1 600px;
    min-width: 0;
}

/* リード文 */
.about-lead {
    font-size: 24px;
    line-height: 1.8;
    color: var(--font-blue);
    margin: 0 0 30px;
}

/* 本文 */
.about-description {
    font-size: 14px;
    line-height: 1.9;
    color: #333;
}

.about-description p {
    margin: 0 0 24px;
}

/* 右：プロフィール 
.about-profile {
    width: 300px;
    flex-shrink: 0;
}*/

/* プロフィール全体 */
.about-profile {
    width: 300px;
    flex-shrink: 0;
    margin-left: -40px;
    margin-top:50px;
}

/* プロフィール画像 */
.about-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    background: #ddd;
}

.about-photo {
    position: relative;
    left: 150px;
    top: 0px;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* プロフィール情報 */
.about-info {
    font-size: 13px;
    line-height: 1.8;
    color: var(--font-blue);

    margin-top: -50px; /* テスト用 */
    margin-left: 40px;
}

.about-info p {
    margin: 0 0 8px;
}


/*===================
   3.section works
====================*/

/*背景グラデーション*/
.section-works::before {
    background: linear-gradient(
        0deg,
        var(--bg-blue) 0%,
        #fff 100%
    );
}

/*WORKSのエリアを横に３つに並べる*/
/* WORKS全体 */

.section-works {
    width: 100%;
    aspect-ratio: 10 / 6;
  /*  overflow: hidden; */
}

/*===== 3エリアを横並び =====*/
.section-works .section-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;/*横幅を分割する割合*/
    height: 100%;
    overflow: hidden;
}

/* 左右のサムネイルエリア */
/*.works-left,
.works-right {
    height: 100%;
    overflow: hidden;
    background-color: #33beff;
    align-self: stretch;

}*/

/* 左右のサムネイル表示エリア */
.works-left,
.works-right {
    height: 100%;
    overflow: hidden;
    position: relative;
}



/*===== 左右のサムネイル群をダミーで並べる =====*/

/*.works-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
}*/


/* サムネイル全体 */
.works-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.works-item {
    width: 100%;
    aspect-ratio: 10 / 7;
 /*   background-color: #ddd; */
}

.works-item img,
.works-track img {
    display: block;
    width: 100%;
    height: auto;
}

/* 7枚の画像セット */
.works-loop {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* サムネイルリンク */
.works-loop a {
    display: block;
    width: 100%;
}

/* サムネイル画像 */
.works-loop img {
    display: block;
    width: 100%;
    height: auto;
}

/* 縦長画像だけ正方形にトリミング */
.works-loop img.works-portrait {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

/* 左：下から上へ */
#works-left-track {
    animation: works-up 30s linear infinite;
}

/* 右：上から下へ */
#works-right-track {
    animation: works-down 30s linear infinite;
}

/* 上方向 
@keyframes works-up {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}*/

/* 下方向 
@keyframes works-down {
    from {
        transform: translateY(-50%);
    }

    to {
        transform: translateY(0);
    }
}*/

@keyframes works-up {
    from { transform: translateY(0); }
    to { transform: translateY(calc(-50% - 10px)); }
}

@keyframes works-down {
    from { transform: translateY(calc(-50% - 10px)); }
    to { transform: translateY(0); }
}



/*===== 中央のタイトル＆ナビ =====*/




/* 中央エリア */
.works-center {
    display: flex;
    flex-direction: column; /*要素を縦に並べる指定*/
    justify-content: center;
    align-items: stretch;/*子要素を引き伸ばして揃える指定*/
    padding: 0 10%;
    /* background-color: yellow; */
}

/* WORKSタイトルとリード文 */
.works-heading {
    margin-bottom: 2rem;
}


/* ナビとイラスト */
.works-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.works-illustration img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* WORKSナビ */

.works-nav-all a { /*allだけ別スタイル*/
    text-decoration: none;
    color: var(--font-blue);
    font-weight: bold;
    margin-bottom: 15px;
    margin-bottom:10em;
}

.works-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.works-nav li {
    margin-bottom: 28px;
}

.works-nav a {
    text-decoration: none;
    color: var(--font-blue);
    font-size: 16px;
}

/* リンク先が未設定のリンク */
.works-nav a[href="#"] {
    color: #cee1fa;
}


/*===================
   4.section career
====================*/

.section-career::before {
    background: linear-gradient(
        0deg,
        #fff 0%,
        var(--bg-blue) 100%
    );
}

.section-career .section-wrapper {
    min-height: 900px;
}

.section-career {
    padding-bottom:15rem;
}


.section-career .section-note {
    color: var(--note);
    font-size: 0.85rem;
    text-align: left;
    margin: 0 0 0 1rem;
    color: var(--font-blue);
    font-weight: 600;

}

/*===================
  CAREER カード基本設定
====================*/

.career-card {
    position: absolute;
    width: 400px;
    box-sizing: border-box;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 2px solid var(--font-blue);
}

/* CAREER 左右配置 */
.career-left {
    left: 0;
}

.career-right {
    right: 0;
}

/* CAREER カードの縦位置 */

/* 左1枚目 */
.career-l1 {
    top: 75px;
}

/* 左2枚目 */
.career-l2 {
    top: 250px;
}

/* 左3枚目 */
.career-l3 {
    top: 400px;
}

/* 左4枚目 */
.career-l4 {
    top: 640px;
}

/* 右1枚目 */
.career-r1 {
    top: 125px;
}

/* 右2枚目 */
.career-r2 {
    top: 450px;
}

/* 右3枚目 */
.career-r3 {
    top: 768px;
}



/* カード見出し */
.career-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--font-blue);
}

/* カード本文 */
.career-description {
    font-size: 13px;
    line-height: 1.5;
    margin-top: 5px;
}

/* カード補足 */
.career-note {
    font-size: 13px;
    /*line-height: 1.5; */
    margin-top: 5px;
    padding: 10px;
    background-color: var(--bg-blue2);
}

.career-note p {
    margin: 0;
}

/*=== タイムライン配置====*/

.career-timeline {
    position: relative;
    width: 100%;
}


/*=== CAREER 中央線：上端フェード＋下端固定 ===*/

.career-timeline::before {
    content: "";
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 910px;

    background: linear-gradient(
        to bottom,
        #008CBA 0%,
        #4C9978 33%,
        #69E6C5 66%,
        #8D6868 100%
    );

    /* 上端をぼんやり消す */
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 100%
    );
}


/*=== CAREER カード接続線 ===*/


/* 横線を点線に */
.career-card::before {
    content: "";
    position: absolute;
    top: 25px;
    width: 10rem;
    height: 0;
    border-top: 3px dotted #008CBA;
}


/* 左側カード：右方向へ */
.career-left::before {
    left: 100%;
}

/* 右側カード：左方向へ */
.career-right::before {
    right: 100%;
    top: 75px;
}


/*=== CAREER タイムラインのノード ===*/

.career-card::after {
    content: "";
    position: absolute;
    top: 19px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #008CBA;
    z-index: 2;
}

/* 左側カードのノード */
.career-left::after {
    left: calc(100% + 154px);
}

/* 右側カードのノード */
.career-right::after {
    right: calc(100% + 154px);
    top: 70px;
}


/*=== CAREER ノードカラー ===*/

/* 左1：明るい水色 */
.career-l1::after {
    background: #69C9E8;
}

/* 右1：ブルー */
.career-r1::after {
    background: #008CBA;
}

/* 左2：グリーン */
.career-l2::after {
    background: #4C9978;
}

/* 左3：ミント */
.career-l3::after {
    background: #69E6C5;
}

/* 右2：ミント */
.career-r2::after {
    background: #69E6C5;
}

/* 左4：ミント */
.career-l4::after {
    background: #69E6C5;
}

/* 右3：ブラウン */
.career-r3::after {
    background: #8D6868;
}


/*===================
   5.section Strength
====================*/

.section-strength::before {
    background: linear-gradient(
        180deg,
        #fff 0%,
        var(--bg-blue) 100%
    );
}

.section-strength .section-title {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.section-strength .section-title {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.section-strength .section-subtitle {
    font-size: 22px;
    font-weight: 500;
    color: var(--font-blue);
    transform: translateY(-15px);
}


/*====SVGでの川の背景===*/

.section-strength .section-wrapper {
    position: relative;
}

.strength-river {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.strength-river svg {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform: scale(1.2);
}

/*===Strength：カード配置===*/

.strength-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* カード共通 */
.strength-card {
    position: relative;
    width: 30%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--font-blue);
    box-sizing: border-box;
}

/* 01：左上 */
.strength-01 {
    margin-top: 40px;
}

/* 02：中央下 */
.strength-02 {
    margin-top: 85px;
}

/* 03：右上 */
.strength-03 {
    margin-top: -10px;
}



/*===Strength：カード内レイアウト===*/

.strength-card {
    position: relative;
    width: 28%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--font-blue);
    box-sizing: border-box;
}

/* カード番号 */

.strength-number {
    display: block;
    position: absolute;
    top: -40px;
    left: -40px;
    z-index: 2;

    font-family: "Yu Mincho", "游明朝", "Noto Serif JP", serif;
    font-size: 60px;
    font-weight: 400;
    line-height: 1;

    margin: 0;
    color: var(--font-blue);
}


/* 見出し */
.strength-card .strength-heading {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    margin: 0;
}

/* イラスト */
.strength-image {
    margin: 0;
    text-align: center;
}

.strength-image img {
    width: 80%;
    max-width: 220px;
    height: auto;
}

/* 本文 */
.strength-card .strength-text {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/*====================
  Strength：カードのホバー
====================*/

.strength-card {
    transition: transform 0.3s ease;
}

.strength-card:hover {
    transform: translateY(-5px) scale(1.2);
    z-index: 5;
}


/*====================
  Strength：番号のキラッ
====================*/


.strength-number {
    position: absolute;
    overflow: hidden;
    background: linear-gradient(
        110deg,
        var(--font-blue) 0%,
        var(--font-blue) 40%,
        #fff 50%,
        var(--font-blue) 60%,
        var(--font-blue) 100%
    );

    background-size: 250% 100%;
    background-position: 100% 0;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.strength-card:hover .strength-number {
    background-position: 0 0;
    transition: background-position 1.0s ease;
}


/*===================
   6.section Skills & Fields
====================*/

.section-skills .section-wrapper {
    min-height:320px;
}

.section-fields .section-wrapper {
    min-height:360px;
}

.section-skills::before {
    background: linear-gradient(
        0deg,
        #fff 0%,
        var(--bg-blue) 100%
    );
}

.section-skills .section-subtitle,
.section-fields .section-subtitle  {
    padding-left: 1em;
    font-size: 22px;
    font-weight: 400;
    color: var(--font-blue);
}

/* Skills */
/* SKILLS・FIELDSの見出し横並び */
.section-skills .section-heading,
.section-fields .section-heading {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

/* サブタイトル */
.section-skills .section-subtitle,
.section-fields .section-subtitle {
    font-size: 1.5rem;
    white-space: nowrap;
    font-weight:400;
    transform: translateY(-15px);
}

.profile-skills-grid { 
    display: grid; 
    grid-template-columns: repeat(3, minmax(0, 1fr)); 
    gap: 10px; 
}

.profile-skill { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    min-height: 68px; 
    padding: 10px 12px; 
    border-radius: 3px; 
    background: 
    color-mix(in srgb, var(--bg-blue) 95%, var(--font-blue));
}

.profile-skill img { 
    flex: 0 0 30px; 
    width: 30px; 
    height: 30px; 
    object-fit: contain; 
}

.profile-skill h3 { 
    margin: 0 0 2px; 
    color: var(--profile-blue-dark); 
    font-size: .82rem; 
    font-weight: 500; 
    line-height: 1.45; 
}

.profile-skill p { 
    margin: 0; 
    color: #65747a; 
    font-size: .68rem; 
    line-height: 1.5; 
}

/*  Fields */

.profile-fields { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px; 
}

.profile-field { 
    display: inline-block; 
    padding: 5px 20px; 
    border: 1px solid #d5eaf1; 
    border-radius: 999px; 
    background: #f3f9fb; 
    color: #42798b; 
    font-size: 1.0rem; 
    line-height: 1.6; 
}

.profile-fields-note { 
    margin-top: 15px !important; 
    color: var(--font-blue); 
    font-size: .85rem; 
}




/*===================
   7.footer
====================*/

.site-footer {
    position: relative;
    isolation: isolate;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;

    background: linear-gradient(
        180deg,
        #fff 0%,
         #fff 30%,
        #33beff 100%
    );
}

/* フッターの範囲 */
.footer-visual {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: 40rem;
}

/* フッター内の共通幅 */
.footer-wrapper {
    width: 100%;
    text-align: center;
    position: relative;
}

/* 名前 */
.site-footer h3 {
    display: inline-block;
    width: fit-content;
    padding: 0;
    margin: 0;

    font-size: 30px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;

    background: linear-gradient(
        90deg,
        #008CBA 0%,
        #4C9978 33%,
        #69E6C5 66%,
        #8D6868 100%
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.site-footer p {
    color:var(--font-blue);
    margin-top: 10px;
}

.site-footer p.copyright {
    font-size: 13px;
    margin-top: 5rem;
    text-align: center;
}

/* フッター惑星システム */
.footer-planet-system {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 500px;
    height: 300px;
    z-index: 0;
    pointer-events: none;
}

/* フッター軌道・実験1本目 */
.footer-orbit-01 {
    position: absolute;
    width: 400px;
    height: 135px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(15deg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.footer-orbit-02 {
    position: absolute;
    width: 300px;
    height: 90px;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%) rotate(15deg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.footer-orbit-03 {
    position: absolute;
    width: 533px;
    height: 225px;
    left: 50%;
    top: 60%;
    transform: translate(-50%, -50%) rotate(15deg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.footer-orbit-04 {
    position: absolute;
    width: 700px;
    height: 310px;
    left: 25%;
    top: 65%;
    transform: translate(-50%, -50%) rotate(5deg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.footer-orbit-05 {
    position: absolute;
    width: 900px;
    height: 200px;
    left: 30%;
    top: 90%;
    transform: translate(-50%, -50%) rotate(-40deg);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

/* フッターの惑星・仮置き */
.footer-planet {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
}

.footer-planet-01 {
    top: 35%;
    left: 63%;
}

.footer-planet-02 {
    top: 65%;
    left: 85%;
    width: 24px;
    height: 24px;
}

.footer-planet-03 {
    top: 80%;
    left: 28%;
    width: 36px;
    height: 36px;
}

.footer-planet-04 {
    top: 50%;
    left: -47%;
    width: 24px;
    height: 24px;
}

.footer-planet-03::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
}

.footer-planet-05 {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
}

.footer-planet-05 {
    top: 60%;
    left: 17%;
}

/* 彗星の尾 */
.footer-planet-05::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 45px;
    height: 5px;
    background: linear-gradient(
        to left,
        rgba(255,255,255,0.9),
        rgba(255,255,255,0)
    );
    border-radius: 50%;
    transform: translateY(-50%) rotate(-25deg);
    transform-origin: right center;
}

.footer-sun {
    position: absolute;
    top: 22%;
    left: 40%;
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
}

    .site-footer {
        overflow: clip;
    }


/* PCでは非表示メニュー */
.footer-mobile-nav {
    display: none;
}

/*改修追加CSS*/
/* MENU専用固定レイヤー */
.menu-fixed-layer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 2147483647;
    pointer-events: none;
}

/* MENUボタン */
.menu-fixed-layer .compact-nav {
    position: absolute;
    top: 20px;
    right: 5%;
    pointer-events: auto;
}




/* =================================
   RESPONSIVE
================================= */

@media screen and (max-width: 767px) {

/*スマホ共通設定*/

/*共通左右余白*/
:root {
    --sp-side: 10px;
}

section {
    padding-bottom:5rem;
}

header {
    padding-bottom:10rem;
}

.section-note {
    color:var(--note);
    font-size: 0.75rem;
    margin-right: var(--sp-side);
}

/* 1-1. 惑星ナビの配置 */

.planet-nav-area {
    left: 0px;
    top: 200px;
}

 /* 1-2. タイトルエリア */

.portfolio-title {
    top: 20px;
    left: var(--sp-side);
}

/* 肩書 */
.job-title {
    font-size: 12px;
    line-height: 1.4;
}

/* 名前 */
.hero-title_name {
    font-size: 24px;
}

/* PORTFOLIO */
.hero-title {
    font-size: 60px;
}

.catch-copy {
    margin-top: 10px;
    margin-right: var(--sp-side);
    font-size: 18px;
    line-height: 1.7;
}

/* 1-3. title-catch */

.title-catch {
    left: var(--sp-side);
    right: auto;
    bottom: 13.5rem;
    z-index: 10;
}

.title-catch p {
    font-size: 16px;
    line-height: 1.8;
}

/* 1-4. PC用メインナビはスマホで非表示 */
.main-nav {
    display: none;
}

/* 1-5. 追随メニュー */
.menu-circle {
    width: 50px;
    height: 50px;
}

/* =================================
   2. ABOUT ME (mobile)
================================= */

/* セクション全体 */
.section-about .section-wrapper {
    padding: 40px var(--sp-side) 50px;
    min-height: auto;
}

/* セクションタイトル */
.section-about .section-title {
    margin-bottom: 20px;
}

.section-about .section-title h1 {
    font-size: 60px;
}

/* ABOUT本文全体 */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 紹介文 */
.about-text {
    flex: none;
    width: 100%;
}

/* リード文 */
.about-lead {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* 本文 */
.about-description {
    font-size: 13px;
    line-height: 1.8;
}

.about-description p {
    margin-bottom: 18px;
}

/* プロフィール */
.about-profile {
    width: 100%;
    flex-shrink: 1;
    margin: 0;
}

/* プロフィール画像 */
.about-photo {
    width: 240px;
    height: 240px;
    margin: 0 0 0 auto;
    position: relative;
    left: 0;
    top: 0;
}

/* プロフィール情報 */
.about-info {
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

/* =================================
   3. WORKS
================================= */

/* WORKS全体 */
.section-works {
    aspect-ratio: auto;

}

/* 3カラムを縦並びに変更 */
.section-works .section-wrapper {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: hidden;
}

/* 左側サムネイルは非表示 */
.works-left {
    display: none;
}

/* 中央エリア */
.works-center {
    width: 100%;
    padding: 40px var(--sp-side);
}

.section-works .section-title h1 {
    font-size: 60px;
}

/* タイトルとリード文 */
.works-heading {
    margin-bottom: 30px;
}

.works-lead {
    margin-right: var(--sp-side);
}

/* ナビとイラスト */
.works-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* ナビ */
.works-nav li {
    margin-bottom: 18px;
}

.works-nav a {
    font-size: 14px;
}

/* イラスト */
.works-illustration img {
    max-width: 160px;
}

/* 右側サムネイルエリア */
.works-right {
    width: 100%;
    height: 750px;
    flex-shrink: 0;
}

/* 右側の流れは既存のまま */
#works-right-track {
    animation: works-down 30s linear infinite;
}

/* WORKSサムネイル窓の下端グラデーション */
.works-right::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--bg-blue) 100%
    );
    z-index: 2;
    pointer-events: none;
}


/* =================================
   5. My Strength
================================= */

.section-strength .section-wrapper {
    padding: 0 var(--sp-side);
}

/* タイトル */
.section-strength .section-title {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 40px;
}

/* タイトル */
.section-strength .section-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 40px;
}

.section-strength .section-title h1 {
    font-size: 60px;
    line-height: 1.5;
    white-space: nowrap;
}

.section-strength .section-subtitle {
    font-size: 24px;
    line-height: 1.8;
    white-space: nowrap;
    margin-top:10px;
    margin-bottom: 20px;
}

/* 川のイラスト */
.strength-river {
    display:none;
}

/* カードを縦に並べる */
.strength-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 45px;
    width: 100%;

}

/* カード */
.strength-card {
    width: 100%;
    padding: 24px 20px;
}

/* PC用のカードごとの位置調整をリセット */
.strength-01,
.strength-02,
.strength-03 {
    margin-top: 0;
}

/* 番号 */
.strength-number {
    top: -25px;
    left: -5px;
    font-size: 42px;
}

/* 見出し */
.strength-card .strength-heading {
    font-size: 15px;
    line-height: 1.6;
}

/* イラスト */
.strength-image img {
    width: 70%;
    max-width: 180px;
}

/* 本文 */
.strength-card .strength-text {
    font-size: 13px;
    line-height: 1.8;
}

/* =================================
   6-1. SKILLS
================================= */

/* セクションの余白 */
.section-skills .section-wrapper,
.section-fields .section-wrapper {
    min-height: auto;
    padding: 0 var(--sp-side);
}

/* 見出し */
.section-skills .section-heading,
.section-fields .section-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.section-skills .section-title h1,
.section-fields .section-title h1 {
    font-size: 60px;
    line-height: 1.5;
    white-space: nowrap;
}

.section-skills .section-subtitle,
.section-fields .section-subtitle {
    padding-left: 0;
    font-size: 15px;
}


.section-skills .section-subtitle,
.section-fields .section-subtitle  {
    font-size: 18px;
    line-height: 1.8;
    white-space: nowrap;
    margin-top:10px;
    margin-bottom: 20px;
}

/* スキルカード：1列 */
.profile-skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

/* カード */
.profile-skill {
    min-height: 58px;
    padding: 8px 12px;
    gap: 12px;
}

/* アイコン */
.profile-skill img {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
}

/* 項目名 */
.profile-skill h3 {
    font-size: 13px;
}

/* 説明 */
.profile-skill p {
    font-size: 13px;
}

.profile-fields {
    gap: 24px 16px;
}

.profile-field {
    padding: 7px 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.profile-fields-note {
    margin-top: 20px !important;
}

/* FIELDS：スマホだけ枠線を少し鮮やかに */
.profile-field {
    border: 1px solid #96e7fa;
}


/* =================================
   7. フッターのスマホ用メニュー
================================= */

.footer-wrapper {
    position: relative;
}


.footer-mobile-nav {
    display: block;
    width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
}

.footer-mobile-nav ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 10px;
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    text-align: center;
}

/* メニュー文字 */
.footer-mobile-nav a {
    color: var(--font-blue);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.footer-contact {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
    text-align: center;
}

.site-footer h3 {
    margin-top: 0;
    font-weight: 500;
}

.site-footer p {
    padding: 1rem 30px;

}

.site-footer::before {
    background: linear-gradient(
        180deg,
        #fff 0%,
        #fff 20%,
        #33beff 100%
    );
}

.copyright {
    position: absolute;
    bottom: 10px;
    right:10px;

}

}/*スマホ用設定終わり*/

@media screen and (max-width: 767px) {

.header-wrapper {
    width: 100vw;
    min-height: 100vh;
    box-sizing: border-box;
} 

}

@media screen and (max-width: 767px) {

    .menu-fixed-layer {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        pointer-events: none;
        z-index: 2147483647;
    }

    .menu-fixed-layer .compact-nav {
        position: fixed !important;
        /*top: 20px !important;*/
        right: 3% !important;
        left: auto !important;
        /*bottom: auto !important;
        transform: none !important;*/
        width: 50px;
       /* height: 60px;*/
        /*pointer-events: auto;*/
    }

    .menu-fixed-layer .compact-nav button {
        width: 50px;
        height: 50px;
    }

    .menu-fixed-layer .menu-circle {
        width: 50px;
        height: 50px;
        right: 0;
    }
}



@media screen and (max-width: 767px) {
    .site-footer {
        overflow: clip;
    }
}

@media screen and (max-width: 767px) {
    header {
        overflow-x: clip;
        overflow-y: visible;
    }
}


/*========================
  イントロ：スマホ対応
========================*/
@media screen and (max-width: 767px) {

    /* イントロ画面 */
    .intro-screen {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        overflow: clip;
    }

    /* カード配置エリア */
    .intro-copy,
    .intro-cards {
        width: 100%;
        height: 100%;
        overflow: clip;
    }

    /* 職歴カード */
    .intro-card {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        padding: 0 6%;
        text-align: center;
        box-sizing: border-box;
    }

}

/*========================
  イントロ：スキップボタン
========================*/
.intro-skip {
    position: absolute;
    bottom: 70px;
    left: 35px;
    right: auto;
    z-index: 10003;
    padding: 10px 18px;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.intro-skip:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* スマホ */
@media screen and (max-width: 767px) {
    .intro-skip {
        bottom: 24px;
        left: 18px;
        padding: 8px 14px;
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 1100px) {

/* =================================
   4. CAREER
================================= */

/* セクション全体 */
.section-career .section-wrapper {
    min-height: auto;
    padding: 0 var(--sp-side);

}

.section-career .section-title h1 {
    font-size: 80px;
}

.section-career .section-title  {
    margin-bottom: 30px;
}

/* タイムライン */
.career-timeline {
    position: relative;
    width: 100%;
    padding-left: 25px;
    box-sizing: border-box;
    margin-top: 50px;
}

/* カードを縦一列に */
.career-card {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    margin: 0 0 20px;
}

/* 左右配置を解除 */
.career-left,
.career-right {
    left: auto;
    right: auto;
}

/* 横線を点線に */
.career-card::before {
    content: "";
    position: absolute;
    top: 25px;
    width: 30px;
    height: 0;
    border-top: 3px dotted #008CBA;
}

/* 右側カード：左方向へ */
.career-right::before {
    left: -30px;
    top: 45px;
}

/* 左側カード：右方向へ */
.career-left::before {
    left: -30px;
    top: 45px;
}


/* ノード */
.career-card::after {
    left: auto;
    right: auto;
    top: 40px;
    left: -30px;
}

/* 中央線を左側に配置 */
.career-timeline::before {
    top: -15px;
    left: 2px;
    transform: none;
    width: 4px;
    height: 97%;
}
}
