@charset "UTF-8";

/**
 * ==========================================================================
 * Find oneself - Likeページスタイル
 * ==========================================================================
 * ファイル目的：趣味・好きなことページ（like.html）のデザイン制御
 * 
 * 含む要素：
 *  - 円形メニュー
 *  - コンテンツブロック（音楽、映画、ゲーム等）
 *  - 背景アニメーション
 * 
 * 依存ファイル：reset.css
 * 修正時：このファイルの変更はlike.htmlのみに影響します
 * ==========================================================================
 */

/* ==========================================================================
   1. 基本設定
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PT Sans", 'Noto Serif JP', Arial, sans-serif;
    background-color: #F8F8F8;
    overflow-x: hidden;
    line-height: 1.2;
}

h3 {
    font-family: "PT Sans", "Hina Mincho", "Noto Serif JP", Arial, sans-serif !important;
}

p {
    word-break: keep-all;
}


/* ==========================================================================
   2. メインビジュアル ＆ 背景演出
   ========================================================================== */
.bg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.bg:before {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F8F8F8;
    transform: translate(0, 100%);
    transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) .6s;
    content: '';
    z-index: 1;
}

.bg.-visible:before {
    transform: translate(0, 0);
}

/* ==========================================================================
   3. ヘッダー・ロゴ・フッター（共通）
   ========================================================================== */
.site-header {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 10;
}

.site-header-page {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 10;
}

.site-logo {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #484141;
    text-shadow: 3px -3px 0px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transition: opacity 0.5s ease 0.8s;
}

.bg.-visible .site-logo {
    opacity: 1;
}

.site-footer {
    position: fixed;
    bottom: 20px;
    left: 40px;
    font-size: 0.75rem;
    color: #C4C4C4;
    font-weight: 300;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.5s ease 0.8s;
}

.bg.-visible .site-footer {
    opacity: 1;
}

/* ==========================================================================
   4. ナビゲーション（レイアウト）
   ========================================================================== */








.portfolio-trigger {
    position: fixed;
    bottom: 30px;
    right: 40px;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 1s, transform 0.5s ease 1s;
}

.bg.-visible .portfolio-trigger {
    opacity: 1;
    transform: translateY(0);
}

.pf-logo-img {
    display: block;
    width: 120px;
    height: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(4px -4px 0px rgba(0, 0, 0, 0.15));
}

.portfolio-trigger a:hover .pf-logo-img {
    transform: translate(3px, -3px);
    filter: drop-shadow(6px -6px 0px rgba(0, 0, 0, 0.25));
}

/* ==========================================================================
   5. メインコンテンツ（誌面風レイアウト設定）
   ========================================================================== */
.site-header-page,
.page-container,
.site-footer {
    z-index: 3 !important;
}

.page-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 140px 22% 80px 22%;
    color: #484141;
}

.page-heading-area {
    margin-bottom: 40px;
}

.page-main-title {
    font-family: "PT Sans", sans-serif;
    font-size: 5.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-shadow: 4px -4px 0px rgba(0, 0, 0, 0.12) !important;
    line-height: 1;
    margin-bottom: 20px;
}

.heading-divider {
    border: none;
    border-top: 1px solid #C4C4C4;
    width: 100%;
}

.page-intro-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 80px;
    letter-spacing: 0.05em;
}

.content-block {
    margin-bottom: 80px;
}

.block-title {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 25px;
}

.block-body {
    display: block !important;
}

.block-img-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 25px !important;
}

.block-img-wrap img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.block-text-wrap {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    line-height: 1.9;
}

.block-text-wrap p {
    margin-bottom: 1.5em;
}

.genres-list {
    font-family: "PT Sans", sans-serif;
    font-size: 0.9rem;
    color: #C4C4C4;
    letter-spacing: 0.05em;
    margin-top: 20px;
}

.back-home-wrap {
    margin-top: 60px;
    text-align: center;
}

.back-home-btn {
    display: inline-block;
    color: #484141;
    text-decoration: none;
    font-family: "PT Sans", sans-serif;
    font-size: 0.95rem;
    border-bottom: 1px solid #484141;
    padding-bottom: 4px;
    transition: opacity 0.3s;
}

.back-home-btn:hover {
    opacity: 0.5;
}

/* ==========================================================================
   7. レスポンシブ（タブレット・スマホ対応）
   ========================================================================== */
@media screen and (max-width: 768px) {

    .like-text {
        /* 日本語の文節改行（keep-all）を維持する */
        word-break: keep-all !important;

        /* white-spaceを通常に戻し、英語が枠を突き抜けるのを防いで次の行に落とす */
        white-space: normal !important;

        /* 英語の単語を途中で引き裂かず、塊のまま改行させる */
        overflow-wrap: break-word !important;
    }




    .site-header {
        top: 30px;
        right: 20px;
        left: auto;
    }

    .site-logo {
        font-size: 0.9rem;
    }



    .portfolio-trigger {
        bottom: auto;
        top: 25px;
        left: 20px;
        right: auto;
        padding: 0;
    }

    .pf-logo-img {
        width: 80px;
        filter: drop-shadow(2px -2px 0px rgba(0, 0, 0, 0.15));
    }

    @keyframes tapHintLine {

        0%,
        100% {
            transform: scaleX(0.3);
            opacity: 0.3;
        }

        50% {
            transform: scaleX(1);
            opacity: 1;
        }
    }

    .page-container {
        padding: 100px 6% 60px 6% !important;
    }

    .site-header-page {
        top: 30px;
        right: 20px;
    }

    .page-main-title {
        font-size: 3.5rem;
    }

    .page-intro-text {
        font-size: 0.95rem;
        margin-bottom: 50px;
    }

    .block-body {
        flex-direction: column;
        gap: 20px;
    }

    .block-img-wrap {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .block-img-wrap img {
        height: auto;
        object-fit: contain;
    }

    .block-text-wrap {
        font-size: 0.95rem;
    }

    .site-footer {
        position: fixed;
        bottom: 20px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 0;
    }

    .msg-line {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* ==========================================================================8. 特定ブロックのPC用レイアウト設定（拡張クラス対応）========================================================================== */
@media screen and (min-width: 769px) {
    .content-block.-fixed-height .block-img-wrap {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 450px !important;
        overflow: hidden !important;
        border-radius: 16px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
        margin-bottom: 25px !important;
    }

    .content-block .block-img-wrap img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
}

/* ==========================================================================9. 演出パーツ（マウスストーカー）========================================================================== /.stalker {position: fixed;top: 0;left: 0;width: 30px;height: 30px;background-color: #A8CD65;border-radius: 50%;opacity: 0;pointer-events: none; / 👈 サイトのクリック・テキスト選択を絶対に邪魔しない設定 /z-index: 9999 !important;mix-blend-mode: multiply; / 背景とブレンドさせてプロっぽい演出に */
.stalker {
    width: 30px;
    height: 30px;
    background-color: #A8CD65;
    /* 水玉の色（お好みで変更可能です） */
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    /* 画面の一番手前に表示 */

    /*  重要：マウスストーカー自体がリンクや文字の操作を邪魔しない設定 */
    pointer-events: none;

    /* 初期状態は透明（マウスが動いたら表示） */
    opacity: 0;

    /* 円の中心をマウスカーソルの先端にぴったり合わせる */
    transform: translate(-50%, -50%);

    /* マウスの動きに遅れてついてくる滑らかなアニメーション設定 */
    transition: transform 0.15s ease-out, opacity 0.3s ease;
}

/* 📱 スマホ環境（タッチデバイス）ではカーソルがないため非表示にする */
@media screen and (max-width: 768px) {
    .stalker {
        display: none !important;
    }
}

/* ==========================================================================
    マグネティック（吸い付き）発動時のストーカースタイル
   ========================================================================== */

/* ボタンに吸い付いた瞬間に、JSによってこのクラス「-magnetic」が自動付与されます */
.stalker.-magnetic {
    width: 60px;
    /* 丸のサイズを2倍に大きく */
    height: 60px;
    /* 丸のサイズを2倍に大きく */
    background-color: transparent;
    /* 背景を透明にする */
    border: 1px solid #A8CD65;
    /* 代わりに綺麗なグリーンの輪っかに変更 */

    /* 吸い付いた感を強調するため、少しだけ「じわっと」広がるアニメーションを適用 */
    transition:
        width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        height 0.3s cubic-bezier(0.25, 1, 0.5, 1),
        background-color 0.3s ease,
        border 0.3s ease,
        transform 0.1s ease-out;
    /* 吸い付き中のズレを減らすため移動速度を少しアップ */
}

/* 背景・四角形の設定（淡いグリーン #A8CD65） */
/* 背景エリア全体の固定 */
/* 1. トップページ用の雪のアニメーションがこのページで表示されるのを100%強制ブロックします */
.background_01 canvas {
    display: none !important;
}

/* 2. 背景エリア全体の固定（あなたの理想の淡い白ベース #F8F8F8） */
.background_01 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F8F8F8;
    z-index: 1;
    overflow: hidden;
}

/* 3. 10個の四角形を包む透明な箱 */
.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    z-index: 2;
    /* 雪を隠した背景のさらに手前に表示 */
}

/* 4. 10個の四角形共通の基本スタイル */
/* 4. 10個の四角形共通の基本スタイル（ハート型ベース） */
.circles li {
    position: absolute;
    display: block;
    list-style: none;
    background: transparent;
    /* ここを透明にします */
    animation: animateBox 25s linear infinite;
    bottom: -150px;
}

/* ハートの形を作る特殊な指定を追加 */
.circles li::before,
.circles li::after {
    position: absolute;
    content: "";
    left: 50%;
    top: 0;
    width: 50%;
    height: 80%;
    background: rgba(168, 205, 101, 1.0);
    border-radius: 50px 50px 0 0;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
}

.circles li::after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

/* 5.  10個の四角形をバラバラのサイズ・位置・時間差に配置（省略なし） */
.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
    /* スピード早め */
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
    /* ゆっくり昇る */
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}


/* 6. 下から湧き上がりながら回転・フェードアウトするアニメーション定義（ハート用） */
@keyframes animateBox {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateY(-1300px) rotate(360deg) scale(1);
        opacity: 0;
    }
}

.menu {
    /* 親要素がスクロールしても、画面の左上にずっと固定させます */
    position: fixed !important;
    top: 50px !important;
    left: 50px !important;
    width: 100px !important;
    height: 100px !important;
    user-select: none !important;

    /* コンテンツ（文字や画像）よりも確実に手前に引っ張り上げる */
    z-index: 9999999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* メインボタン（Menu）の見た目 */
.main.button {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #484141 !important;
    text-align: center !important;

    /*  メインボタン（1行）用の高さ設定 */
    line-height: 100px !important;
    font-size: 25px !important;
    font-family: sans-serif !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 10 !important;

    display: block !important;
    animation: pulseHeart 10.0s infinite ease-in-out !important;

}

/* 子ボタンの共通デザイン */
.button:not(.main) {
    position: absolute;
    width: 100px !important;
    height: 100px !important;
    border-radius: 50%;
    mix-blend-mode: multiply;
    text-align: center;
    color: #fff;

    /*  100px固定だった高さを解除し、2行の上下左右中央揃えを強制する設定 */
    line-height: 1.2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 10px !important;
    /* 文字が丸のフチにぶつからないための内側余白 */

    font-family: Alegreya Sans, sans-serif !important;
    font-size: 16px !important;
    /*  2行が丸の中に美しく収まるサイズに変更（25pxから変更） */
    font-weight: bold !important;
    text-decoration: none !important;

    transition: transform 0.75s cubic-bezier(0.39, 1.52, 0.46, 0.92), opacity 0.3s;
    will-change: transform, opacity;
}

/*  閉じている時は判定を消して完全に隠す */
.menu.closed .button:not(.main) {
    pointer-events: none !important;
    opacity: 0 !important;
}

/* 開いている時だけ子ボタンをクリック可能にする */
.menu:not(.closed) .button {
    pointer-events: auto !important;
    opacity: 1 !important;
}

/* ――― 各ボタンの配置座標 ――― */
.home {
    background-color: #1ba5cd !important;
    top: 0px;
    left: 225px;
    transition-duration: 0.525s;
}

.goodat {
    background-color: #1ab254 !important;
    top: 86.10368px;
    left: 207.873px;
    transition-duration: 0.675s;
}

.like {
    background-color: #fec72e !important;
    top: 159.09908px;
    left: 159.09908px;
    transition-duration: 0.825s;
}

.weakpoint {
    background-color: #fa7d39 !important;
    top: 207.873px;
    left: 86.10368px;
    transition-duration: 0.975s;
}

.questions {
    background-color: #ee5656 !important;
    top: 225px;
    left: 0px;
    transition-duration: 1.125s;
}

/*  閉じている時に中央へ引き戻す命令 */
.menu.closed .home {
    transform: translate3d(-225px, 0px, 0) rotate(-180deg);
}

.menu.closed .goodat {
    transform: translate3d(-207.873px, -86.10368px, 0) rotate(-180deg);
}

.menu.closed .like {
    transform: translate3d(-159.09908px, -159.09908px, 0) rotate(-180deg);
}

.menu.closed .weakpoint {
    transform: translate3d(-86.10368px, -207.873px, 0) rotate(-180deg);
}

.menu.closed .questions {
    transform: translate3d(0px, -225px, 0) rotate(-180deg);
}

/* ==========================================================================
   スマホ専用：サイズ80%縮小 ＆ 左上寄せ設定
   ========================================================================== */
@media screen and (max-width: 767px) {
    .menu {
        top: 15px !important;
        left: 15px !important;
        width: 80px !important;
        height: 80px !important;
    }

    /*  スマホの「80pxの丸」の中に2行の日本語・英語が完璧に収まるように調整 */
    .menu .button:not(.main) {
        width: 80px !important;
        height: 80px !important;
        font-size: 16px !important;
        /* 💡 小さな丸専用に文字を細かく調整 */
        line-height: 1.1 !important;
        padding: 5px !important;
    }

    /* スマホ用のメインボタン（Menu）の調整 */
    .menu .main.button {
        width: 80px !important;
        height: 80px !important;
        font-size: 16px !important;
        line-height: 80px !important;
        animation: pulseHeartMobile 10.0s infinite ease-in-out !important;

    }

    /* スマホ用：閉じている時の引き戻し */
    .menu.closed .home {
        transform: translate3d(-225px, 0px, 0) scale(0.8) rotate(-180deg);
    }

    .menu.closed .goodat {
        transform: translate3d(-207.873px, -86.10368px, 0) scale(0.8) rotate(-180deg);
    }

    .menu.closed .like {
        transform: translate3d(-159.09908px, -159.09908px, 0) scale(0.8) rotate(-180deg);
    }

    .menu.closed .weakpoint {
        transform: translate3d(-86.10368px, -207.873px, 0) scale(0.8) rotate(-180deg);
    }

    .menu.closed .questions {
        transform: translate3d(0px, -225px, 0) scale(0.8) rotate(-180deg);
    }

    /* スマホ用：開いたときも80%のままで固定する設定 */
    .menu:not(.closed) .button:not(.main) {
        transform: scale(0.8);
    }
}

/*  MENUボタンがどくどく動くための設定（CSSの一番下に追加してください） */
@keyframes pulseHeart {
    0% {
        transform: scale(1);
    }

    1.5% {
        transform: scale(1.08);
    }

    /* どくんっ（一瞬膨らむ） */
    3.0% {
        transform: scale(0.96);
    }

    /* キュッと縮む */
    4.5% {
        transform: scale(1.04);
    }

    /* どく（小さく追従） */
    6.0% {
        transform: scale(1);
    }

    /* 元に戻る */
    100% {
        transform: scale(1);
    }

    /* 静止時間 */
}

@keyframes pulseHeartMobile {
    0% {
        transform: scale(1);
    }

    1.5% {
        transform: scale(1.08);
    }

    3.0% {
        transform: scale(0.96);
    }

    4.5% {
        transform: scale(1.04);
    }

    6.0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* ==========================================================================
   滞在ページ（現在地）のボタンを日本語にする設定【修正版】
   ========================================================================== */

/* 1. 通常時はすべての日本語（spanタグ）を画面から完全に隠しておく */
.menu .button span {
    display: none !important;
}

/* 2. 【修正】current（現在地）がついているボタン「だけ」、元の英語テキストを消す */
.menu .button.current {
    font-size: 0 !important;
}

/* 3. 【修正】current（現在地）がついているボタンの中の日本語（spanタグ）「だけ」を復活させる */
.menu .button.current span {
    display: flex !important;
    /* 中央揃えを維持するためにflexに変更 */
    font-size: 16px !important;
    /* PC用の日本語サイズ */
    font-family: sans-serif !important;
    /* 日本語用ゴシック体 */
    font-weight: bold !important;
}

/* 4. スマホ画面（横幅767px以下）のときの日本語サイズ微調整 */
@media screen and (max-width: 767px) {
    .menu .button.current span {
        font-size: 14px !important;
        /* スマホの丸に収まるよう少し小さく */
    }
}

/* ==========================================================================
   スクロール連動・ふわっと浮き出るアニメーション設定
   ========================================================================== */

/* 1. 最初は透明にして、少し下に下げておく（待機状態） */
.js-fadein {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: opacity 0.8s ease, transform 0.8s ease !important;
}

/* 2. JavaScriptが画面侵入を検知してクラスがついたら、くっきり表示（着地状態） */
.js-fadein.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}