/* Silent Light Timer 専用スタイル */

/* TailwindCSSクラスの基本的なユーティリティ */
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-white { background-color: #ffffff; }
.bg-gray-800 { background-color: #1f2937; }
.bg-indigo-600 { background-color: #4f46e5; }
.bg-indigo-100 { background-color: #e0e7ff; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-gray-600 { color: #4b5563; }
.text-gray-400 { color: #9ca3af; }
.text-white { color: #ffffff; }
.text-indigo-600 { color: #4f46e5; }
.text-indigo-800 { color: #3730a3; }
.text-indigo-400 { color: #818cf8; }
.text-indigo-300 { color: #a5b4fc; }

/* レイアウト */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* フレックスボックス */
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* 小画面対応 */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:space-y-0 > * + * { margin-top: 0; }
    .sm\:space-x-4 > * + * { margin-left: 1rem; }
}

/* グリッド */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto-fit { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-auto-fit-small { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* パディング・マージン */
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }

/* 幅・高さ */
.w-10 { width: 2.5rem; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }
.w-72 { width: 18rem; }
.h-10 { height: 2.5rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

/* ボーダー */
.border-4 { border-width: 4px; border-style: solid; }
.border-black { border-color: #000000; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* シャドウ */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

/* テキスト */
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.leading-tight { line-height: 1.25; }

/* 位置 */
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* その他 */
.overflow-hidden { overflow: hidden; }

/* レスポンシブ (md: は768px以上) */
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:text-2xl { font-size: 1.5rem; }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:text-6xl { font-size: 3.75rem; }
    .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
    .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .md\:w-72 { width: 18rem; }
    .md\:mt-24 { margin-top: 6rem; }
}

/* レスポンシブ (lg: は1024px以上) */
@media (min-width: 1024px) {
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Silent Light Timer カスタムスタイル */
body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

.hero-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-button {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.app-screenshot {
    border-radius: 2rem;
    border: 8px solid #1f2937;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background-color: #1f2937;
}

/* Screenshot Flash Animation */
.screenshot-wrapper {
    position: relative;
    display: inline-block;
}

.screenshot-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 2rem; 
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 0;
    animation: screen-flash-effect 3s infinite ease-in-out;
    animation-delay: 1s;
}

.screenshot-wrapper .app-screenshot {
    animation: image-brightness-effect 3s infinite ease-in-out;
    animation-delay: 1s;
}

@keyframes image-brightness-effect {
    0%, 40%, 100% { filter: brightness(100%); }
    45% { filter: brightness(140%); }
    50% { filter: brightness(100%); }
    55% { filter: brightness(140%); }
    60% { filter: brightness(100%); }
}

@keyframes screen-flash-effect {
    0%, 40%, 100% { opacity: 0; }
    45% { opacity: 1; }
    50% { opacity: 0; }
    55% { opacity: 1; }
    60% { opacity: 0; }
}

/* バックドロップブラー */
.backdrop-blur-lg {
    backdrop-filter: blur(16px);
} 