/* ○△□のアプリ広場：全言語 共通のスタイル */

body {
    background-color: #FFFDF7;
    color: #4A403A;
    font-family: 'Zen Maru Gothic', sans-serif;
    background-image: radial-gradient(#E5DEC9 1.1px, transparent 1.1px);
    background-size: 24px 24px;
}

/* 言語ごとの フォント（アプリと そろえる：韓国語 Gaegu、繁体字 LXGW WenKai TC） */
html:lang(ko) body { font-family: 'Gowun Dodum', sans-serif; }
html:lang(ko) .font-hand { font-family: 'Gaegu', cursive; }
html:lang(zh-Hant) body { font-family: 'Noto Sans TC', sans-serif; }
html:lang(zh-Hant) .font-hand { font-family: 'LXGW WenKai TC', cursive; }

.hand-box {
    border: 3px solid #4A403A;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    box-shadow: 4px 4px 0px rgba(74, 64, 58, 0.14);
}
.hand-box-sm {
    border: 2.5px solid #4A403A;
    border-radius: 185px 12px 195px 12px / 12px 195px 12px 185px;
}
.hand-btn {
    border: 2.5px solid #4A403A;
    border-radius: 255px 25px 225px 25px / 25px 225px 25px 255px;
    box-shadow: 3px 3px 0px #4A403A;
    transition: all 0.15s ease;
}
.hand-btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0px #4A403A; }
.hand-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0px #4A403A; }

/* アプリアイコン（角丸＋手描き風の線） */
.app-icon {
    border: 2.5px solid #4A403A;
    border-radius: 22%;
    box-shadow: 3px 3px 0px rgba(74, 64, 58, 0.18);
    background: #fff;
    object-fit: cover;
}

.phone-frame {
    border: 3px solid #4A403A;
    border-radius: 26px;
    background-color: #FFFFFF;
    box-shadow: 3px 3px 0px rgba(74, 64, 58, 0.15);
    overflow: hidden;
}
.phone-notch {
    width: 44px; height: 6px;
    background-color: #4A403A;
    border-radius: 999px;
    margin: 8px auto 6px;
    opacity: 0.35;
}
.notebook-lines {
    background-image: repeating-linear-gradient(transparent, transparent 31px, #E6DDD0 31px, #E6DDD0 32px);
    line-height: 32px;
}
.masking-tape {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 96px; height: 24px;
    background-color: rgba(78, 205, 196, 0.5);
    border-left: 2px dotted rgba(255,255,255,0.85);
    border-right: 2px dotted rgba(255,255,255,0.85);
}
.masking-tape-orange { background-color: rgba(255, 140, 66, 0.5); transform: translateX(-50%) rotate(2deg); }
.masking-tape-yellow { background-color: rgba(255, 210, 90, 0.65); transform: translateX(-50%) rotate(-1.5deg); }

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(3deg); }
}
.animate-float { animation: floatSlow 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .animate-float { animation: none; } }

.page-section { display: none; animation: fadeIn 0.25s ease-out; }
.page-section.active { display: block; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 無料版・Premium 比較表 */
.compare-table th, .compare-table td { padding: 0.6rem 0.75rem; border-bottom: 1.5px dashed rgba(74,64,58,0.25); }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* 言語の きりかえ */
.lang-link { padding: 0.15rem 0.6rem; border-radius: 999px; border: 1.5px solid transparent; }
.lang-link:hover { border-color: rgba(74,64,58,0.35); }
.lang-link[aria-current="true"] { background: #4A403A; color: #fff; }
