/* ===========================
   ページ固有スタイル - style.css
   =========================== */

/* ===== ホームページ ===== */

/* ヒーローセクション */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at bottom, #1a1a2e 0%, var(--bg-dark) 100%);
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* パーティクル */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: float-up 20s infinite;
    opacity: 0.5;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

/* 私たちについて */
.about {
    background: var(--bg-section);
    text-align: left;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: left;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 2;
    text-align: left;
}

.about-image {
    flex: 1;
    height: 500px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* 私たちの強み */
.strengths {
    background: var(--bg-dark);
    position: relative;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.strength-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.strength-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.strength-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.strength-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.strength-card p {
    opacity: 0.8;
    line-height: 1.8;
}

/* サービス */
.services {
    background: var(--bg-section);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even) .service-content {
    direction: ltr;
}

.service-content {
    text-align: left;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
    text-align: left;
}

.service-content p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 20px;
    text-align: left;
}

.service-image {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #666;
    border: 1px solid var(--border-color);
    direction: ltr;
    position: relative;
    overflow: hidden;
}

.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.service-image:hover::before {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.08);
}

/* 選ばれる理由 */
.reasons {
    background: var(--bg-dark);
    position: relative;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.reason-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.reason-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.reason-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.reason-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.reason-card p {
    line-height: 1.8;
    opacity: 0.8;
    text-align: left;
}

/* 私たちの想い */
.philosophy {
    background: linear-gradient(135deg, #1a1a2e 0%, var(--bg-dark) 100%);
    text-align: center;
    position: relative;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 2;
}

.philosophy-content p {
    text-align: left;
    margin-bottom: 20px;
}

/* お問い合わせ */
.contact {
    background: var(--bg-section);
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--secondary);
    background: rgba(236, 72, 153, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.required {
    color: var(--secondary);
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.privacy-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.privacy-link a {
    color: var(--primary);
    text-decoration: none;
}

.privacy-link a:hover {
    text-decoration: underline;
}

/* ===== サンクス・プライバシーポリシーページ ===== */

/* サンクスページbody設定 */
.thanks-page {
    font-family: 'Arial', sans-serif;
    background: #0a0a0a;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.thanks-page .header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* サンクスページ - backupスタイル */

/* メインコンテンツ - サンクスページ */
.thanks-page .main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

/* 背景アニメーション - backupスタイル */
.bg-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0a 100%);
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    right: 15%;
    animation-delay: 3s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    left: 70%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.8;
    }
}

/* サンクスコンテンツ - backupスタイル */
.thanks-container {
    text-align: center;
    padding: 40px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInScale 0.8s ease-out;
    z-index: 1;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.check-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(45deg, #6366f1, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(99, 102, 241, 0);
    }
}

.thanks-container h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.message {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.info-box {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0;
    text-align: left;
}

.info-box h3 {
    color: #6366f1;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #6366f1, #ec4899);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    margin-top: 20px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.err_text {
    color: #ec4899;
}

.btn_wrap {
    text-align: center;
}

/* プライバシーポリシーページ */
.privacy-page {
    font-family: 'Arial', sans-serif;
    background: #0a0a0a;
    color: #fff;
    line-height: 1.8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.privacy-page .header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-page .main-content {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    width: 100%;
}

.privacy-page .page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.privacy-page .update-date {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0.7;
    font-size: 0.9rem;
}

.privacy-page .content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.privacy-page h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #6366f1;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    padding-bottom: 10px;
}

.privacy-page h2:first-child {
    margin-top: 0;
}

.privacy-page h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: #ec4899;
}

.privacy-page p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.privacy-page ul,
.privacy-page ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.privacy-page li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.privacy-page .contact-info {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
}

.privacy-page .contact-info h3 {
    margin-top: 0;
}

/* フッタースタイル追加設定 */

/* レスポンシブ - サンクスページ */
@media (max-width: 768px) {
    .thanks-container {
        margin: 20px;
        padding: 30px 20px;
    }

    .thanks-container h1 {
        font-size: 2rem;
    }

    .message {
        font-size: 1rem;
    }
}

/* レスポンシブ - プライバシーポリシーページ */
@media (max-width: 768px) {
    .privacy-page .main-content {
        padding: 100px 15px 40px;
    }

    .privacy-page .content {
        padding: 25px 20px;
    }

    .privacy-page .page-title {
        font-size: 2rem;
    }

    .privacy-page h2 {
        font-size: 1.5rem;
    }

    .privacy-page h3 {
        font-size: 1.2rem;
    }
}
