/* ========================================
   cultivate a break
======================================== */


/* ========================================
   基本設定
======================================== */

.yusei-magic-regular {
    font-family: "Yusei Magic", sans-serif;
    font-weight: 400;
    font-style: normal;
}


:root {
    --cream: #f5f8df;
    --cream-light: #fbfcf2;
    --green: #9cbead;
    --white-green: #eaf3d7;
    --green-dark: #96856c;
    --green-deep: #6f8877;
    --olive: #c7c7a2;
    --yellow: #d1bf45;
    --brown: #9c5c38;
    --brown-light: #a56b45;
    --text: #8b7a65;
    --text-light: #aaa08e;
    --border: #a99b7e;
    --border-light: #c8c0ae;
    --panel: #fffefa;
}


* {
    box-sizing: border-box;
}


html {
    overflow-x: hidden;
}


body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    color: var(--text);
    letter-spacing: 0.03em;
    overflow-x: hidden;
}


img {
    display: block;
    max-width: 100%;
}


button,
input {
    font: inherit;
}


button {
    cursor: pointer;
}


h1,
h2,
p {
    margin: 0;
}


/* ========================================
   ファーストビュー
======================================== */
.howto-site-container {
    max-width: 60px;
    position: fixed;
    z-index: 1003;
    right: 0;
    top: 250px;
    background: var(--green);
    padding: 10px 15px;
    border-radius: 10px 0 0 10px;
}

.howto-site {
    font-size: 1.6rem;
    color: var(--cream-light);
    text-decoration: none;
}


/* ========================================
   左側メニュー開閉ボタン (PC用)
======================================== */

.menu-toggle {
    position: fixed;
    top: 20px;
    left: 142px;

    width: 52px;
    height: 52px;

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

    border: 0;
    border-radius: 50%;

    background: var(--green);
    color: #ffffff;

    z-index: 1002;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.3s ease;
}


.menu-toggle:hover {
    background: var(--green-dark);
    animation: menuToggleBounce 0.55s ease-in-out;
}


.menu-toggle:active {
    animation: none;
    transform: scale(0.95);
}


@keyframes menuToggleBounce {

    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-10px);
    }

    50% {
        transform: translateY(0);
    }

    70% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }

}


.menu-toggle span:last-child {
    font-family: Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
}


.menu-tap {
    position: absolute;
    top: -17px;

    color: var(--green);

    font-size: 0.7rem;
    letter-spacing: 0.15em;
}


/* ========================================
   メインレイアウト
======================================== */

.top-layout {
    position: relative;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: block;
}


/* ========================================
   タイマー本体
======================================== */

.timer-container {
    position: relative;

    width: min(100%, 510px);
    min-height: 620px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent;
}


.current-break.current-label {
    position: relative;

    width: auto;
    min-height: 0;

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

    margin: 0 0 8px;
    padding: 0;

    background: transparent;
    border-radius: 0;

    color: var(--green);

    font-size: 2.3rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}


.current-break.current-label::before {
    content: "[";

    margin-right: 7px;
}


.current-break.current-label::after {
    content: "]";

    margin-left: 7px;
}


#currentBreakName {
    margin: 0 0 2px;

    color: var(--text);

    font-size: clamp(1.45rem, 3vw, 2.4rem);
    font-weight: 500;

    letter-spacing: 0.06em;
}


.recommended {
    position: relative;

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

    gap: 7px;

    width: auto;
    min-height: 0;

    margin: 0;
    padding: 0;

    background: transparent;
    border-radius: 0;

    color: var(--green);

    font-size: 1.2rem;
    font-weight: 400;

    letter-spacing: 0.04em;
}


.recommended::before {
    content: "-";
}


.recommended::after {
    content: "-";
}


/* ========================================
   タイマー
======================================== */

.timer-circle {
    width: min(330px, 75vw);
    height: min(330px, 75vw);

    margin-top: 45px;

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

    border: 5px solid var(--green);
    border-radius: 50%;

    background: #ffffff;
}


.timer-content {
    text-align: center;
}


#timer {
    color: var(--text);

    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 500;

    letter-spacing: 0.06em;
}


#timer-status {
    margin-top: 12px;

    color: var(--text);

    font-size: 1rem;
    font-weight: 600;
}


/* ========================================
   操作ボタン
======================================== */

.controls {
    margin-top: 20px;

    display: flex;
    align-items: center;

    gap: 8px;
}


.control-button {
    width: 52px;
    height: 52px;

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

    border: 2px solid var(--border);
    border-radius: 50%;

    background: #ffffff;
    color: var(--text);

    font-size: 1.1rem;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}


.control-button:hover {
    background-color: #fafaf2;
    transform: scale(1.04);
}


.control-button:active {
    transform: scale(0.97);
}


.reset-button {
    font-size: 1.3rem;
}


.reset-button:hover {
    opacity: 0.75;
}


/* ========================================
   休憩の効果
======================================== */

.break-effect-box {
    position: relative;

    width: min(100%, 520px);

    margin-top: 45px;
    padding: 28px 20px 18px;

    border: 3px solid var(--green);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.85);
}


.break-effect-box h2 {
    position: absolute;

    top: -3px;
    left: -3px;

    margin: 0;

    padding: 6px 18px;

    min-width: 110px;

    border-radius: 7px 0 7px 0;

    background: var(--green);
    color: #ffffff;

    font-size: 0.85rem;
    font-weight: 700;

    line-height: 1.2;

    text-align: center;
}


#currentBreakEffect {
    color: var(--text);

    font-size: 0.68rem;
    line-height: 1.65;

    padding-top: 5px;
}


/* ========================================
   花の成長
======================================== */

figure {
    position: absolute;

    top: 125px;
    left: calc(50% + 270px);

    width: 250px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 14px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    margin-top: 60px;

    background: transparent;

    transform: scale(0.80);
    transform-origin: center;
}


#illust-title {
    width: auto;
    min-height: 0;

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

    padding: 8px 20px;

    border-radius: 7px;

    background: var(--green);
    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 700;

    letter-spacing: 0.03em;
}


.flowerImg {
    width: 210px;
    height: 285px;

    object-fit: cover;
    object-position: center;

    border: 3px solid var(--border);
    border-radius: 9px;
}


/* ========================================
   左側スライドメニュー
======================================== */

.break-menu {
    position: fixed;

    top: 0;
    left: 0;

    width: 350px;
    height: 100vh;

    padding: 90px 24px 80px;

    background: rgba(255, 254, 250, 0.97);

    border-right: 3px solid var(--border);

    box-shadow: 8px 0 25px rgba(139, 122, 101, 0.12);

    overflow-y: auto;
    overflow-x: hidden;

    z-index: 1000;

    transform: translateX(0);

    transition:
        transform 0.45s ease,
        opacity 0.3s ease;
}


/* メニューが開いた状態 */

body.menu-open .break-menu {
    transform: translateX(0);
}


/* メニューが閉じた状態 */

body:not(.menu-open) .break-menu {
    transform: translateX(-100%);
}


/* ========================================
   メニュー内共通
======================================== */

.break-menu>section+section {
    margin-top: 14px;
}


.section-label {
    position: relative;

    z-index: 1;

    width: fit-content;
    min-width: 120px;

    padding: 8px 14px;

    border-radius: 7px;

    background: var(--green);
    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: 0.03em;

    text-align: center;
}


.break-selection .section-label {
    position: relative;

    z-index: 2;

    width: fit-content;
    min-width: 120px;

    margin: -22px auto 10px;

    padding: 8px 14px;

    border-radius: 7px;

    background: var(--green);
    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 700;

    line-height: 1.2;

    letter-spacing: 0.03em;

    text-align: center;
}


.add-break .section-label {
    margin: 0 auto 10px;
}


.add-break {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}


.break-selection,
.break-history {
    background: transparent;

    border: 2px solid var(--border);
    border-radius: 15px;

    padding: 12px;
}


.break-selection {
    padding: 12px;

    border: 2px solid var(--border);
    border-radius: 15px;

    background: transparent;
}


/* ========================================
   自由追加
======================================== */

.add-break {
    margin-bottom: 36px;
}


.add-form {
    display: flex;
    align-items: stretch;

    gap: 0;
}


#breakInput {
    flex: 1;
    min-width: 0;

    height: 46px;

    padding: 8px 14px;

    border: 2px solid var(--border);
    border-right: 0;

    border-radius: 10px 0 0 10px;

    background: #ffffff;
    color: var(--text);

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


#breakInput:focus {
    border-color: var(--green-deep);

    box-shadow: 0 0 0 3px rgba(169, 205, 187, 0.18);
}


#addButton {
    width: 48px;
    height: 46px;

    border: 0;
    border-radius: 0 10px 10px 0;

    background: var(--green-dark);
    color: #ffffff;

    font-size: 1.35rem;
    line-height: 1;

    transition: opacity 0.2s ease;
}


#addButton:hover {
    opacity: 0.82;
}


/* ========================================
   休憩内容一覧
======================================== */

#breakList {
    max-height: 320px;

    display: flex;
    flex-direction: column;

    gap: 8px;

    padding: 17px 14px 14px;

    border: 0;
    border-radius: 10px;

    background: transparent;

    overflow-y: auto;
}


/* ========================================
   休憩項目
======================================== */

.break-item {
    width: 100%;

    padding: 11px 12px;

    border: 1.5px solid var(--border);
    border-radius: 10px;

    background: #fffef9;
    color: var(--text);

    text-align: left;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.break-item:hover {
    border-color: var(--green-deep);
}


.break-item.selected {
    background: #eef5df;
    border-color: var(--green-deep);
}


.break-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;
}


.break-item .break-name {
    color: var(--text);

    font-size: 0.9rem;
    font-weight: 700;
}


.break-time {
    padding: 2px 5px;

    border-radius: 4px;

    background: var(--green);
    color: #ffffff;

    font-size: 0.65rem;
    font-weight: 700;

    white-space: nowrap;
}


.break-effect {
    margin-top: 5px;

    color: var(--text-light);

    font-size: 0.66rem;
    line-height: 1.45;
}


/* ========================================
   休憩履歴
======================================== */

.break-history {
    margin-top: 30px;
    padding: 17px 14px 14px;
    border: 2px solid var(--border);
    border-radius: 15px;
    background: transparent;
    min-height: 300px;
}


.break-history h2 {
    margin: 0 0 -3px;
    padding: 0 17px;

    color: var(--text);

    font-size: 0.95rem;
    font-weight: 700;
}


#historyList {
    max-height: 200px;

    padding-top: 20px;

    overflow-y: auto;
}


.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-top: 8px;
    padding: 10px 12px;

    border: 1.5px solid var(--border);
    border-radius: 9px;

    background: #fffef9;
    color: var(--text);

    font-size: 0.78rem;
}


.history-time {
    padding: 2px 6px;

    border-radius: 4px;

    background: var(--green);
    color: #ffffff;

    font-size: 0.62rem;
    font-weight: 700;
}


/* ========================================
   フッター
======================================== */

.site-footer {
    width: 100%;
    height: 80px;

    margin: 40px 0 0;
    padding: 0;

    background: var(--white-green);

    border-top: 3px solid var(--white-green);

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

    box-sizing: border-box;
}


.site-footer p {
    margin: 0;

    color: var(--text);

    font-size: 0.8rem;

    letter-spacing: 0.08em;
}


/* ========================================
   ローディング画面
======================================== */

.loading-screen {
    position: fixed;

    inset: 0;

    z-index: 9999;

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

    background: #eef5d8;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}


/* ローディング終了 */

.loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


.loading-content {
    width: min(80%, 360px);

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ローディングアイコン */

.loading-flower {
    font-size: 4rem;

    margin-bottom: 18px;

    animation:
        loadingGrow 1.2s ease-in-out infinite alternate;
}


/* タイトル */

.loading-text {
    margin: 0 0 25px;

    color: var(--text);

    font-size: 1.3rem;
    letter-spacing: 0.08em;

    animation: loadingFade 1.5s ease-in-out infinite;
}


/* ローディングバー */

.loading-bar {
    width: 100%;
    height: 5px;

    overflow: hidden;

    border-radius: 10px;

    background: rgba(169, 205, 187, 0.35);
}


.loading-bar span {
    display: block;

    width: 0;
    height: 100%;

    border-radius: 10px;

    background: var(--green);

    animation: loadingProgress 2.2s ease forwards;
}


/* ========================================
   ローディングアニメーション
======================================== */

@keyframes loadingGrow {

    0% {
        transform: scale(0.85) translateY(5px);
    }

    100% {
        transform: scale(1.05) translateY(-5px);
    }

}


@keyframes loadingFade {

    0% {
        opacity: 0.45;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.45;
    }

}


@keyframes loadingProgress {

    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }

}


/* ========================================
   トップ画像
======================================== */

.top-visual {
    position: relative;

    flex: 0 0 auto;

    width: 100%;

    height: 100vh;
    height: 100svh;

    min-height: 560px;

    overflow: hidden;

    opacity: 0;

    transition: opacity 1s ease;
}


.top-visual.show {
    opacity: 1;
}


.top-visual-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    display: block;
}


.top-visual::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 65%,
            rgba(255, 255, 255, 0.82) 100%);

    pointer-events: none;
}


/* ========================================
   トップタイトル
======================================== */

.top-title {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 100%;

    padding: 0 24px;

    color: var(--text);

    font-size: clamp(3rem, 6vw, 5.2rem);
    font-weight: 600;

    line-height: 1.15;

    letter-spacing: 0.06em;

    text-align: center;

    z-index: 5;
}


/* ========================================
   トップのスクロール案内
======================================== */

.scroll-guide {
    position: absolute;

    left: 50%;
    bottom: 50px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 3px;

    color: var(--text);

    font-size: 0.95rem;

    line-height: 1;

    letter-spacing: 0.03em;

    z-index: 5;
}


.scroll-arrow {
    font-family: Arial, sans-serif;

    font-size: 2rem;

    line-height: 1;

    animation:
        scrollBounce 1.8s ease-in-out infinite;
}


@keyframes scrollBounce {

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

    50% {
        transform: translateY(6px);
    }

}


/* ========================================
   トップ表示中はタイマー用メニューを隠す
======================================== */

body.top-active .menu-toggle,
body.top-active .break-menu {
    opacity: 0;
    pointer-events: none;
}


body:not(.top-active) .menu-toggle,
body:not(.top-active) .break-menu {
    opacity: 1;
}


/* ========================================
   再生ボタン：休憩未選択
======================================== */

.start-button:disabled {
    opacity: 0.35;

    cursor: not-allowed;

    background: #eeeeea;

    transform: none;
}


.start-button:disabled:hover {
    background: #eeeeea;

    transform: none;
}


/* ========================================
   1日の振り返り
======================================== */

.reflection-section {
    width: 100%;
    max-width: 820px;
    margin: 140px auto 40px;
    padding: 0 20px;
    display: flex;
    gap: 50px;
    align-items: center;
}

.reflection-card {
    position: relative;
    flex: 0 0 340px;
    border: 6px solid #a2beaa;
    border-radius: 24px;
    background: #ffffff;
    padding: 35px 20px 25px;
    margin-top: 25px;
}

.reflection-tag {
    position: absolute;
    top: -47px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: #a2beaa;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 8px 30px;
    border-radius: 18px 18px 0 0;
    letter-spacing: 0.05em;
}

.reflection-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.reflection-title {
    color: #8c7b66;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
}

.work-input {
    width: 140px;
    height: 52px;
    border: 2px solid #a2beaa;
    border-radius: 18px;
    text-align: center;
    font-size: 1.8rem;
    color: #8c7b66;
    outline: none;
    background: #ffffff;
}

.work-input:focus {
    border-color: #6f8877;
    box-shadow: 0 0 0 3px rgba(162, 190, 170, 0.2);
}

.unit-text {
    color: #8c7b66;
    font-size: 1.2rem;
    font-weight: 700;
}

.analyze-button {
    width: 180px;
    height: 42px;
    background: #a2beaa;
    color: #ffffff;
    border: none;
    border-radius: 21px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.analyze-button:hover {
    background: #8eab96;
}

.analyze-button:active {
    transform: scale(0.98);
}

.reflection-note {
    margin-top: 15px;
    font-size: 0.68rem;
    color: #a2927d;
}

.reflection-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stats-table {
    display: flex;
    border: 2px solid #a2beaa;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}

.stat-col {
    flex: 1;
    padding: 12px 10px;
    text-align: center;
    border-right: 2px solid #a2beaa;
}

.stat-col:last-child {
    border-right: none;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: #8c7b66;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1.5rem;
    color: #8c7b66;
    font-weight: 700;
}

.stat-value.highlight {
    color: #93b29c;
}

.stat-value .unit {
    font-size: 0.9rem;
    font-weight: 400;
    margin-left: 2px;
}

.feedback-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff8eb;
    border: 1px solid #f2e3cd;
    border-radius: 14px;
    padding: 16px 20px;
}

.feedback-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #9ebbba;
    flex-shrink: 0;
}

.feedback-title {
    font-size: 1rem;
    color: #93b29c;
    font-weight: 700;
    margin-bottom: 4px;
}

.feedback-text {
    font-size: 0.75rem;
    color: #8c7b66;
    line-height: 1.4;
}


/* ========================================
   スマートフォン & レスポンシブ対応 (768px以下)
======================================== */

@media screen and (max-width: 768px) {

    body {
        padding: 0 0 0px;
    }

    .top-layout {
        width: 100%;
        max-width: 100%;
        padding: 0 18px;
    }

    figure {
        position: relative;
        top: auto;
        left: auto;
        width: 220px;
        margin: 30px auto 0;
    }

    .flowerImg {
        width: 180px;
        height: 250px;
    }

    .timer-container {
        width: 100%;
        min-height: 0;
    }


    
    #timer {
        font-size: 3rem;
    }

    #currentBreakName {
        font-size: 1.7rem;
    }
    

    .break-effect-box {
        width: 100%;
        margin-top: 35px;
    }

    .current-break.current-label{
        font-size: 1.9rem;
    }

    .site-footer p{
        align-items: center;
        padding-bottom: 30px;
    }

    .site-footer{
        height: 150px
    }

    /* PC用のトグルボタンを非表示 */
    .menu-toggle {
        display: none !important;
    }

    /* howto-site-container を三本線ハンバーガー化 */
    .howto-site-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1003;
        width: 36px;
        height: 28px;
        padding: 0;
        background: transparent;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }

    .howto-site-container .howto-site {
        display: none;
    }

    .hamburger-line {
        display: block;
        width: 100%;
        height: 4px;
        background-color: var(--green-dark);
        border-radius: 2px;
    }

    /* モバイル時 breakMenu のドロワー化 */
    .break-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 82vw;
        max-width: 320px;
        height: 100vh;
        padding: 40px 16px 80px;
        z-index: 1001;
        background: rgba(255, 254, 250, 0.98);
        border-right: 3px solid var(--border);
        box-shadow: 8px 0 25px rgba(0, 0, 0, 0.15);
        transform: translateX(-100%);
        transition: transform 0.35s ease-in-out;
    }

    body.menu-open .break-menu {
        transform: translateX(0);
    }

    /* 背景オーバーレイ */
    .menu-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    body.menu-open .menu-overlay {
        display: block;
        opacity: 1;
    }

    /* 下部固定ナビゲーションバー */
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background-color: #dbe3d0;
        border-top: 2px solid #c7d2b8;
        z-index: 1005;
        padding: 0 20px;
    }

    .bottom-nav-btn {
        background: transparent;
        border: none;
        color: #72634d;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
        border-radius: 50%;
        transition: background-color 0.2s ease, transform 0.1s ease;
    }

    .bottom-nav-btn:active {
        transform: scale(0.92);
        background-color: rgba(0, 0, 0, 0.05);
    }

    /* 振り返りセクションの縦並び化 */
    .reflection-section {
        flex-direction: column;
        gap: 30px;
        margin-top: 80px;
    }

    .reflection-card {
        flex: auto;
        width: 100%;
        max-width: 380px;
    }

    .reflection-right {
        width: 100%;
    }

    /* トップ画面案内 */
    .top-visual {
        height: 100svh;
        min-height: 520px;
    }

    .top-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .scroll-guide {
        bottom: 32px;
        font-size: 0.8rem;
    }

    .loading-text {
        font-size: 1.1rem;
    }

    .loading-flower {
        font-size: 3.2rem;
    }
}

/* PC等（769px以上）ではモバイル用要素を非表示 */
@media screen and (min-width: 769px) {
    .mobile-bottom-nav,
    .menu-overlay,
    .hamburger-line {
        display: none !important;
    }
}