@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Klee+One:wght@400;600&family=Zen+Maru+Gothic:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap");
@keyframes shake-horizontal { 0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); } }

@keyframes fade-in-up { from { opacity: 0;
    transform: translateY(20px); }
  to { opacity: 1;
    transform: translateY(0); } }

@keyframes scale-in { from { opacity: 0;
    transform: scale(0.5); }
  to { opacity: 1;
    transform: scale(1); } }

@keyframes card-appear { from { opacity: 0;
    transform: translateY(20px) scale(0.98); }
  to { opacity: 1;
    transform: translateY(0) scale(1); } }

@keyframes error-appear { from { opacity: 0;
    transform: translateY(-4px); }
  to { opacity: 1;
    transform: translateY(0); } }

.button-glow { display: inline-flex; position: relative; align-items: center; justify-content: center; gap: 0.5rem; box-sizing: border-box; padding: 0.9rem 2.5rem; color: white; background: transparent; text-decoration: none; letter-spacing: 0.08em; font-family: "Lora", serif; font-size: 0.95rem; border: 1px solid rgba(91, 221, 170, 0.5); border-radius: 5px; overflow: hidden; transition: all 0.4s ease; }

.button-glow svg { width: 16px; height: 16px; }

.button-glow::before { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(91, 221, 170, 0.15), transparent); content: ""; transition: left 0.5s ease; }

.button-glow:hover { color: white; border-color: #5bddaa; box-shadow: 0 0 20px rgba(91, 221, 170, 0.2); }

.button-glow:hover::before { left: 100%; }

.button-glow.button-glow-light { color: #1a1a2e; border-color: rgba(59, 191, 101, 0.4); }

.button-glow.button-glow-light::before { background: linear-gradient(90deg, transparent, rgba(59, 191, 101, 0.12), transparent); }

.button-glow.button-glow-light:hover { color: #1a1a2e; border-color: #3bbf65; box-shadow: 0 0 20px rgba(59, 191, 101, 0.15); }

.button-gradient-primary, .button-gradient-primary-dark { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; box-sizing: border-box; padding: 0.9rem 2rem; color: white; background: linear-gradient(135deg, #3bbf65 0%, #5fce82 100%); text-decoration: none; letter-spacing: 0.06em; font-family: "Lora", serif; font-size: 0.95rem; font-weight: 500; border: none; border-radius: 5px; cursor: pointer; transition: all 0.35s ease; }

.button-gradient-primary svg, .button-gradient-primary-dark svg { width: 18px; height: 18px; transition: transform 0.3s ease; }

.button-gradient-primary:hover, .button-gradient-primary-dark:hover { color: white; background: linear-gradient(135deg, #3bbf65 0%, #5bddaa 100%); box-shadow: 0 8px 32px rgba(59, 191, 101, 0.35), 0 0 60px rgba(59, 191, 101, 0.15); transform: translateY(-2px); }

.button-gradient-primary:hover svg:last-child, .button-gradient-primary-dark:hover svg:last-child { transform: translateX(4px); }

.button-gradient-primary:active, .button-gradient-primary-dark:active { box-shadow: 0 4px 16px rgba(59, 191, 101, 0.3); transform: translateY(0); }

.button-gradient-primary-dark { background: linear-gradient(135deg, rgba(59, 191, 101, 0.9) 0%, rgba(59, 191, 101, 0.7) 100%); }

.button-gradient-primary-dark:hover { background: linear-gradient(135deg, #3bbf65 0%, rgba(91, 221, 170, 0.9) 100%); }

.freestyle-tanka-page { max-width: 720px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; font-family: "Zen Maru Gothic", sans-serif; }

.freestyle-tanka-hero { margin-bottom: 2.5rem; text-align: center; animation: fade-in-up 0.6s ease; }

.freestyle-tanka-title { margin: 0; color: #1a1a2e; letter-spacing: 0.1em; font-family: "Klee One", "Zen Maru Gothic", serif; font-size: clamp(2rem, 7vw, 3rem); font-weight: 600; }

.freestyle-tanka-title ruby rt { color: #888; letter-spacing: 0.1em; font-size: 0.35em; font-weight: 500; }

.freestyle-tanka-lead { margin: 0.85rem 0 0; color: #555; line-height: 1.7; font-size: 0.95rem; }

.freestyle-tanka-section-heading { position: relative; margin: 0 0 1.25rem; padding-left: 0.9rem; color: #1a1a2e; font-family: "Klee One", "Zen Maru Gothic", serif; font-size: 1.2rem; font-weight: 600; }

.freestyle-tanka-section-heading::before { position: absolute; top: 0.25em; left: 0; bottom: 0.25em; width: 4px; background: linear-gradient(90deg, #3bbf65, #5bddaa); border-radius: 2px; content: ""; }

.freestyle-tanka-rule { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6); margin-bottom: 1.75rem; padding: 1.75rem 1.5rem; animation: fade-in-up 0.6s ease 0.05s both; }

@media (max-width: 768px) { .freestyle-tanka-rule { border-radius: 20px; } }

@media (max-width: 576px) { .freestyle-tanka-rule { border-radius: 16px; } }

.freestyle-tanka-rule-list { margin: 0; padding-left: 1.25rem; color: #555; line-height: 1.85; font-size: 0.95rem; }

.freestyle-tanka-rule-list li + li { margin-top: 0.35rem; }

.freestyle-tanka-subtle-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(85, 85, 85, 0.35); text-underline-offset: 0.2em; }

.freestyle-tanka-subtle-link:hover { color: #1a1a2e; text-decoration-color: rgba(85, 85, 85, 0.6); }

.freestyle-tanka-roles { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6); margin-bottom: 2.5rem; padding: 1.75rem 1.5rem; animation: fade-in-up 0.6s ease 0.1s both; }

@media (max-width: 768px) { .freestyle-tanka-roles { border-radius: 20px; } }

@media (max-width: 576px) { .freestyle-tanka-roles { border-radius: 16px; } }

.freestyle-tanka-roles-description { margin: 0 0 1.25rem; color: #888; font-size: 0.9rem; }

.freestyle-tanka-role-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }

@media (min-width: 768px) { .freestyle-tanka-role-cards { grid-template-columns: 1fr 1fr; } }

.freestyle-tanka-role-card { padding: 1.25rem; background: rgba(59, 191, 101, 0.04); border: 1px solid rgba(59, 191, 101, 0.15); border-radius: 14px; }

.freestyle-tanka-role-name { display: block; margin-bottom: 0.65rem; color: #3bbf65; font-family: "Klee One", "Zen Maru Gothic", serif; font-size: 1.1rem; font-weight: 600; }

.freestyle-tanka-role-name rt { color: #888; letter-spacing: 0.05em; font-size: 0.55em; font-weight: 400; }

.freestyle-tanka-role-text { margin: 0; color: #555; line-height: 1.75; font-size: 0.9rem; }

.freestyle-tanka-actions { display: flex; flex-direction: column; align-items: stretch; gap: 0.85rem; animation: fade-in-up 0.6s ease 0.15s both; }

.freestyle-tanka-actions a { justify-content: center; }

@media (min-width: 576px) { .freestyle-tanka-actions { flex-direction: row; justify-content: center; } .freestyle-tanka-actions a { min-width: 200px; } }

.freestyle-tanka-guest-warning { margin-top: 1.75rem; padding: 1.25rem 1.35rem; background: rgba(240, 165, 0, 0.08); border: 1px solid rgba(240, 165, 0, 0.3); border-radius: 14px; animation: fade-in-up 0.6s ease 0.2s both; }

.freestyle-tanka-guest-warning-title { margin: 0 0 0.6rem; color: #f0a500; font-family: "Klee One", "Zen Maru Gothic", serif; font-size: 1rem; font-weight: 600; }

.freestyle-tanka-guest-warning-list { margin: 0; padding-left: 1.15rem; color: #555; line-height: 1.7; font-size: 0.85rem; }

.freestyle-tanka-guest-warning-list li + li { margin-top: 0.25rem; }

.freestyle-tanka-admin-information { margin-top: 1.75rem; padding: 1.25rem 1.35rem; background: rgba(59, 191, 101, 0.05); border: 1px solid rgba(59, 191, 101, 0.2); border-radius: 14px; animation: fade-in-up 0.6s ease 0.2s both; }

.freestyle-tanka-admin-information-title { margin: 0 0 0.75rem; color: #3bbf65; font-family: "Klee One", "Zen Maru Gothic", serif; font-size: 1rem; font-weight: 600; }

.freestyle-tanka-branch-count-list { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: 0; }

.freestyle-tanka-branch-count-item { display: flex; align-items: baseline; gap: 0.5rem; }

.freestyle-tanka-branch-count-item dt { color: #555; font-size: 0.85rem; }

.freestyle-tanka-branch-count-item dd { margin: 0; color: #1a1a2e; font-size: 1.1rem; font-weight: 600; }
