/*
Theme Name: AKIRACOSME
Description: かわいいを、わたしらしく。AKIRACOSME公式WordPressテーマ
Version: 1.0
Author: AKIRACOSME
*/

/* Reset & Base Styles */
* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif !important;
    background-color: #F8F5F1 !important; /* バニラみるく */
    color: #795548 !important; /* チョコふらっぺ */
    overflow-x: hidden; /* 横スクロール防止 */
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6;
}

.font-brand {
    font-family: 'Mochiy Pop One', sans-serif !important;
}

/* WordPress specific overrides */
.wp-block-group {
    margin: 0;
}

.wp-site-blocks {
    padding: 0;
}

/* Essential Tailwind-like utilities */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container { max-width: 640px; }
}

@media (min-width: 768px) {
    .container { max-width: 768px; }
}

@media (min-width: 1024px) {
    .container { max-width: 1024px; }
}

@media (min-width: 1280px) {
    .container { max-width: 1280px; }
}

@media (min-width: 1536px) {
    .container { max-width: 1536px; }
}

/* Essential layout utilities */
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

.fixed { position: fixed; }
.relative { position: relative; }
.absolute { position: absolute; }

.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }

.z-50 { z-index: 50; }
.z-10 { z-index: 10; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.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; }

.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

.text-center { text-align: center; }
.text-white { color: white; }

.bg-white { background-color: white; }

.rounded-full { border-radius: 9999px; }
.rounded-3xl { border-radius: 1.5rem; }

.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); }

/* Concept Sectionの画像の影を無効化 */
#concept .shadow-2xl,
#concept-2 .shadow-2xl {
    box-shadow: none !important;
}

.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease; }

.hover\:bg-opacity-80:hover { background-color: rgba(255, 255, 255, 0.8); }
.hover\:underline:hover { text-decoration: underline; }

.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* Grid utilities */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

@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\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:text-6xl { font-size: 3.75rem; }
    .md\:text-7xl { font-size: 4.5rem; }
    .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:text-8xl { font-size: 6rem; }
    .lg\:text-left { text-align: left; }
    .lg\:justify-end { justify-content: flex-end; }
    .lg\:mx-0 { margin-left: 0; margin-right: 0; }
    .lg\:max-w-lg { max-width: 32rem; }
    .lg\:gap-16 { gap: 4rem; }
}

@media (min-width: 1280px) {
    .xl\:max-w-xl { max-width: 36rem; }
}

/* ドーパミンカラー */
.bg-vanilla-milk { background-color: #F8F5F1; }
.text-vanilla-milk { color: #F8F5F1; }
.bg-choco-frappe { background-color: #2D3436; }
.text-choco-frappe { color: #2D3436; }
.bg-chocotto-mint { background-color: #00B894; }
.text-chocotto-mint { color: #00B894; }
.bg-sakura-latte { background-color: #FF7675; }
.bg-honey-lemonade { background-color: #FDCB6E; }
.bg-very-raspberry { background-color: #E17055; }

/* グラフィックエレメント & アニメーション */
@keyframes float {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    50% { transform: translateY(-25px) translateX(20px) rotate(5deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
}

.organic-shape-bg {
    position: relative;
    overflow: hidden;
}

.organic-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(80px);
    z-index: 0;
    animation: float 12s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background-color: #00B894; /* エメラルドグリーン */
    top: -100px;
    left: -150px;
    animation-duration: 15s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background-color: #FF7675; /* コーラルレッド */
    bottom: -200px;
    right: -200px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background-color: #FDCB6E; /* サンシャインイエロー */
    top: 20%;
    right: -100px;
    animation-duration: 18s;
    animation-direction: reverse;
}

.shape-4 { /* New shape */
    width: 250px;
    height: 250px;
    background-color: #74B9FF; /* ブライトブルー */
    bottom: 10%;
    left: -80px;
    animation-duration: 20s;
}

/* スクロールアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.33, 1, 0.68, 1), transform 1s cubic-bezier(0.33, 1, 0.68, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* かわいいホバーエフェクト */
.card-hover {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease-in-out;
}

.card-hover:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 30px -10px rgba(121, 85, 72, 0.15);
}

.button-pop:hover {
    transform: scale(1.05) rotate(-3deg);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 見出しのかわいい装飾 */
.decorated-title {
    position: relative;
}

.decorated-title::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: #FDCB6E; /* サンシャインイエロー */
    border-radius: 50%;
    top: -10px;
    left: -20px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease-out .3s;
}

.decorated-title::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: #FF7675; /* コーラルレッド */
    border-radius: 50%;
    bottom: -5px;
    right: -15px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease-out .4s;
}

.fade-in.visible .decorated-title::before,
.fade-in.visible .decorated-title::after {
    opacity: 0.7;
    transform: scale(1);
}

/* グラデーションテキスト用のスタイルを追加 */
.text-gradient-pastel {
    background: linear-gradient(45deg, #00B894, #FF7675, #FDCB6E, #74B9FF);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
    animation: gradient-flow 10s ease infinite;
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero Section用の背景 */
.hero-gradient-bg {
    background: linear-gradient(-45deg, #FF6B6B, #4ECDC4, #45B7D1, #FDCB6E, #00B894, #74B9FF);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
    position: relative;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes hero-gradient-flow {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* h1用のかわいいアニメーション */
.kawaii-title {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: kawaii-bounce 3s ease-in-out infinite;
}

@keyframes kawaii-bounce {
    0%, 100% { 
        transform: translateY(0px) scale(1);
    }
    25% { 
        transform: translateY(-5px) scale(1.02);
    }
    50% { 
        transform: translateY(-10px) scale(1.05);
    }
    75% { 
        transform: translateY(-5px) scale(1.02);
    }
}

/* パステルカラードットの装飾エフェクト */
.pastel-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: dot-float 8s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.7;
    z-index: 999; /* 最前面に表示 */
    /* デフォルトのパステルカラー */
    background-color: #FFB6C1;
}

.pastel-dot:nth-child(1) {
    background-color: #FFB6C1; /* ライトピンク */
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    width: 15px;
    height: 15px;
}

.pastel-dot:nth-child(2) {
    background-color: #DDA0DD; /* プラム */
    top: 25%;
    right: 15%;
    animation-delay: 2s;
    width: 25px;
    height: 25px;
}

.pastel-dot:nth-child(3) {
    background-color: #F8BBD9; /* ピンク */
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
    width: 18px;
    height: 18px;
}

.pastel-dot:nth-child(4) {
    background-color: #E6E6FA; /* ラベンダー */
    top: 40%;
    right: 25%;
    animation-delay: 6s;
    width: 12px;
    height: 12px;
}

.pastel-dot:nth-child(5) {
    background-color: #FFC0CB; /* ピンク */
    top: 60%;
    left: 35%;
    animation-delay: 1s;
    width: 22px;
    height: 22px;
}

.pastel-dot:nth-child(6) {
    background-color: #DA70D6; /* オーキッド */
    top: 10%;
    left: 45%;
    animation-delay: 3s;
    width: 16px;
    height: 16px;
}

.pastel-dot:nth-child(7) {
    background-color: #FFB6C1; /* ライトピンク */
    bottom: 15%;
    right: 40%;
    animation-delay: 5s;
    width: 14px;
    height: 14px;
}

.pastel-dot:nth-child(8) {
    background-color: #DDA0DD; /* プラム */
    top: 70%;
    right: 10%;
    animation-delay: 7s;
    width: 20px;
    height: 20px;
}

.pastel-dot:nth-child(9) {
    background-color: #F8BBD9; /* ピンク */
    bottom: 40%;
    right: 30%;
    animation-delay: 1.5s;
    width: 13px;
    height: 13px;
}

.pastel-dot:nth-child(10) {
    background-color: #E6E6FA; /* ラベンダー */
    top: 35%;
    left: 5%;
    animation-delay: 3.5s;
    width: 17px;
    height: 17px;
}

.pastel-dot:nth-child(11) {
    background-color: #FFC0CB; /* ピンク */
    top: 80%;
    left: 40%;
    animation-delay: 5.5s;
    width: 19px;
    height: 19px;
}

.pastel-dot:nth-child(12) {
    background-color: #DA70D6; /* オーキッド */
    bottom: 60%;
    left: 60%;
    animation-delay: 7.5s;
    width: 11px;
    height: 11px;
}

/* 新しく追加するドット */
.pastel-dot:nth-child(13) {
    background-color: #FFB6C1; /* ライトピンク */
    top: 5%;
    right: 35%;
    animation-delay: 8s;
    width: 16px;
    height: 16px;
}

.pastel-dot:nth-child(14) {
    background-color: #DDA0DD; /* プラム */
    bottom: 25%;
    left: 8%;
    animation-delay: 9s;
    width: 21px;
    height: 21px;
}

.pastel-dot:nth-child(15) {
    background-color: #F8BBD9; /* ピンク */
    top: 55%;
    right: 5%;
    animation-delay: 2.5s;
    width: 14px;
    height: 14px;
}

.pastel-dot:nth-child(16) {
    background-color: #E6E6FA; /* ラベンダー */
    top: 18%;
    left: 65%;
    animation-delay: 4.5s;
    width: 18px;
    height: 18px;
}

.pastel-dot:nth-child(17) {
    background-color: #FFC0CB; /* ピンク */
    bottom: 50%;
    right: 50%;
    animation-delay: 6.5s;
    width: 12px;
    height: 12px;
}

.pastel-dot:nth-child(18) {
    background-color: #DA70D6; /* オーキッド */
    top: 85%;
    right: 20%;
    animation-delay: 8.5s;
    width: 20px;
    height: 20px;
}

.pastel-dot:nth-child(19) {
    background-color: #FFB6C1; /* ライトピンク */
    top: 45%;
    left: 75%;
    animation-delay: 1.8s;
    width: 15px;
    height: 15px;
}

.pastel-dot:nth-child(20) {
    background-color: #DDA0DD; /* プラム */
    bottom: 8%;
    left: 25%;
    animation-delay: 3.8s;
    width: 17px;
    height: 17px;
}

@keyframes dot-float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    25% {
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-40px) translateX(15px);
        opacity: 0.9;
    }
    75% {
        opacity: 0.6;
    }
}
