/* ==========================================================================
   AETHER LABS - Corporate Website CSS Stylesheet
   Theme: Sci-Fi Tech Minimalist (Dark Theme & Neon Gradients)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Core Settings
   -------------------------------------------------------------------------- */
:root {
    --bg-main: #0c0b0a;
    --bg-surface: rgba(26, 23, 22, 0.6);
    --bg-surface-hover: rgba(38, 35, 33, 0.8);
    --bg-navbar: rgba(12, 11, 10, 0.85);
    
    --primary: #ffa500;
    --secondary: #ffb833;
    --accent: #e65c00;
    --gradient-primary: linear-gradient(135deg, #ffa500 0%, #ff8c00 50%, #e65c00 100%);
    --gradient-primary-glow: linear-gradient(135deg, rgba(255, 165, 0, 0.2) 0%, rgba(230, 92, 0, 0.2) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    
    --text-primary: #f5f4f2;
    --text-secondary: #a8a29e;
    --text-muted: #78716c;
    
    --border-color: rgba(255, 255, 255, 0.07);
    --border-color-glow: rgba(255, 165, 0, 0.25);
    
    --font-outfit: 'Outfit', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-index: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-jp);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   3. Typography & Utility Classes
   -------------------------------------------------------------------------- */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }

.section {
    padding: 100px 0;
    position: relative;
}

.page-header-section {
    padding: 160px 0 60px 0;
    background: radial-gradient(100% 50% at 50% 100%, rgba(0, 242, 254, 0.03) 0%, rgba(7, 8, 13, 0) 100%);
    border-bottom: 1px solid var(--border-color);
}


.section-tag {
    font-family: var(--font-outfit);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-jp);
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-main);
}

.btn-primary:hover {
    background: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

.btn-gradient {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.2);
}

.btn-gradient:hover {
    box-shadow: 0 6px 25px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   5. Header / Navigation
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-navbar);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    height: 38px;
    width: auto;
    display: block;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active {
    font-weight: 600;
}


.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: center;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* モバイルオープン時のトグル動作 */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 180px 0 100px 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-blur {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 0%, rgba(230, 92, 0, 0.05) 50%, rgba(0,0,0,0) 100%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: var(--font-outfit);
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* 3D立体スマートフォンモックアップ */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px; /* 3D効果 */
}

.phone-mockup-wrapper {
    position: relative;
    transition: var(--transition-smooth);
}

.phone-mockup {
    width: 290px;
    height: 590px;
    background: #111;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 
        0px 25px 50px -12px rgba(0, 0, 0, 0.7),
        0px 0px 40px rgba(0, 242, 254, 0.15),
        inset 0 0 2px 2px rgba(255,255,255,0.1);
    border: 3px solid rgba(255, 255, 255, 0.15);
    transform: rotateY(-12deg) rotateX(8deg) rotateZ(2deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.phone-mockup:hover {
    transform: rotateY(-3deg) rotateX(3deg) rotateZ(0deg) scale(1.03);
    box-shadow: 
        0px 30px 60px -10px rgba(0, 0, 0, 0.8),
        0px 0px 50px rgba(0, 242, 254, 0.3);
}

.phone-inner {
    width: 100%;
    height: 100%;
    background: #0f1015;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 22px;
    background: #111;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px 4px 20px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-family: var(--font-outfit);
    font-weight: 500;
    z-index: 9;
}

.phone-status-bar .icons {
    display: flex;
    gap: 4px;
}

.phone-screen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    justify-content: space-between;
    overflow: hidden;
}

.app-header {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 10px;
    font-family: var(--font-outfit);
}

.app-hero-card {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(155, 81, 224, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    backdrop-filter: blur(4px);
}

.card-label {
    font-size: 0.65rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-detail {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.card-tags {
    display: flex;
    gap: 4px;
}

.card-tags span {
    font-size: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-secondary);
}

.app-users-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.02);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-size: cover;
}

/* スマホモックアップ内のアイコン/アバターをCSSで表現（フリー写真不使用ルールに適合） */
.user-avatar.av1 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.user-avatar.av2 {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 0.75rem;
    font-weight: 600;
}

.user-desc {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.match-badge {
    font-size: 0.6rem;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 254, 0.2);
    font-family: var(--font-outfit);
    font-weight: 600;
}

.app-nav {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 10px;
    color: var(--text-muted);
}

.app-nav-item.active {
    color: var(--primary);
}

/* --------------------------------------------------------------------------
   7. App Showcase Section
   -------------------------------------------------------------------------- */
.app-section {
    background: radial-gradient(100% 50% at 50% 100%, rgba(255, 165, 0, 0.03) 0%, rgba(12, 11, 10, 0) 100%);
    border-top: 1px solid var(--border-color);
}

.app-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.app-feature-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--border-color-glow);
    background: var(--bg-surface-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-primary-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.app-download-column {
    display: flex;
    justify-content: center;
}

.app-branding-box {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    max-width: 480px;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.app-branding-box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.1) 0%, rgba(0,0,0,0) 70%);
    filter: blur(20px);
}

.app-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 30px;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.app-branding-box h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-outfit);
}

.app-version {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-outfit);
    display: block;
    margin-bottom: 20px;
}

.app-pitch {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 24px;
    color: #fff;
    cursor: pointer;
    transition: var(--transition-fast);
}

.download-btn:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.15);
    transform: translateY(-1px);
}

.dl-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dl-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.dl-sub {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-family: var(--font-outfit);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.dl-main {
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-outfit);
    line-height: 1.2;
}

/* --------------------------------------------------------------------------
   8. Services Section
   -------------------------------------------------------------------------- */
.services-section {
    background: #0a0b11;
    border-top: 1px solid var(--border-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition-smooth);
}

.service-card:hover {
    border-color: rgba(255, 165, 0, 0.3);
    box-shadow: 0 15px 40px rgba(255, 165, 0, 0.05);
    transform: translateY(-6px);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    background: var(--gradient-primary-glow);
    color: var(--primary);
    border-color: rgba(0, 242, 254, 0.2);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. News Section
   -------------------------------------------------------------------------- */
.news-section {
    border-top: 1px solid var(--border-color);
}

.news-list {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-color);
}

.news-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    transition: var(--transition-fast);
}

.news-item:hover {
    padding-left: 10px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.news-date {
    font-family: var(--font-outfit);
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.news-label {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.news-label.update {
    background: rgba(0, 242, 254, 0.08);
    color: var(--primary);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.news-label.press {
    background: rgba(155, 81, 224, 0.08);
    color: var(--secondary);
    border: 1px solid rgba(155, 81, 224, 0.2);
}

.news-label.corporate {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.news-item-title {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
}

.news-item-title a:hover {
    color: var(--primary);
}

/* --------------------------------------------------------------------------
   10. About Section
   -------------------------------------------------------------------------- */
.about-section {
    background: #0a0b11;
    border-top: 1px solid var(--border-color);
}

.about-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    max-width: 900px;
    margin: 60px auto 0 auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-table {
    width: 100%;
    border-collapse: collapse;
}

.about-table tr {
    border-bottom: 1px solid var(--border-color);
}

.about-table tr:last-child {
    border-bottom: none;
}

.about-table th, .about-table td {
    padding: 24px 16px;
    text-align: left;
}

.about-table th {
    width: 25%;
    font-weight: 700;
    color: var(--text-primary);
    vertical-align: top;
}

.about-table td {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   11. Careers Section
   -------------------------------------------------------------------------- */
.careers-section {
    border-top: 1px solid var(--border-color);
}

.careers-banner {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.03) 0%, rgba(230, 92, 0, 0.03) 100%);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.careers-banner::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.05) 0%, rgba(0,0,0,0) 70%);
    filter: blur(50px);
}

.careers-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.careers-tag {
    font-family: var(--font-outfit);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
}

.careers-banner h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.careers-banner p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.careers-jobs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.job-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
    text-align: left;
    transition: var(--transition-smooth);
}

.job-card:hover {
    border-color: var(--border-color-glow);
    background: rgba(255, 255, 255, 0.05);
}

.job-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.job-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   12. FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
    background: #0a0b11;
    border-top: 1px solid var(--border-color);
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: var(--border-color-glow);
    background: var(--bg-surface-hover);
}

.faq-question {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-toggle-icon {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
    max-height: 300px; /* 十分な大きさを指定 */
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

/* --------------------------------------------------------------------------
   13. Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
    border-top: 1px solid var(--border-color);
}

.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px;
    max-width: 800px;
    margin: 60px auto 0 auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group label .required {
    font-size: 0.75rem;
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.form-group select option {
    background: #0f1015;
    color: var(--text-primary);
}

.form-group select:invalid {
    color: var(--text-muted);
}

.error-message {
    font-size: 0.8rem;
    color: #ff6b6b;
    display: none;
    margin-top: 4px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ff6b6b;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.1);
}

.form-group.has-error .error-message {
    display: block;
}

/* 送信ボタンのローディング状態 */
#submitBtn {
    position: relative;
}

#submitBtn .loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    position: absolute;
}

#submitBtn.loading .btn-text {
    visibility: hidden;
}

#submitBtn.loading .loading-spinner {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 送信完了メッセージ画面 */
.success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease forwards;
}

.success-icon {
    color: var(--primary);
    margin-bottom: 24px;
    background: var(--gradient-primary-glow);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.success-message p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
    background: #050609;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo svg {
    height: 48px;
    width: auto;
    display: block;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-links-group h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-transform: uppercase;
    font-family: var(--font-outfit);
    letter-spacing: 1px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links-group a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-outfit);
}

/* --------------------------------------------------------------------------
   15. Scroll Reveal Effect Class
   -------------------------------------------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   16. Responsive Styles (Media Queries)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-container {
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #07080d;
        z-index: 999;
        display: none;
        padding: 40px 24px;
        border-top: 1px solid var(--border-color);
        overflow-y: auto;
    }
    
    .nav.open {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.15rem;
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .nav-btn {
        width: 100%;
        margin-top: 20px;
        padding: 14px;
    }
    
    .hero {
        padding: 120px 0 70px 0;
        text-align: center;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-lead {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1; /* スマホ表示では画像（モックアップ）を上に */
    }
    
    .app-showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .app-download-column {
        order: -1;
    }
    
    .news-item {
        grid-template-columns: 1fr;
        gap: 12px;
        align-items: flex-start;
    }
    
    .news-item:hover {
        padding-left: 0;
    }
    
    .about-card {
        padding: 24px;
    }
    
    .about-table th, .about-table td {
        display: block;
        width: 100%;
        padding: 12px 0;
    }
    
    .about-table th {
        padding-bottom: 4px;
        border-bottom: none;
    }
    
    .careers-banner {
        padding: 30px 20px;
    }
    
    .careers-banner h2 {
        font-size: 1.75rem;
    }
    
    .careers-jobs {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding-bottom: 20px;
    }
    
    .contact-card {
        padding: 24px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

/* --------------------------------------------------------------------------
   17. Custom App Mockup Screens
   -------------------------------------------------------------------------- */
.sake-screen {
    background: #0d090a;
}
.sake-header {
    background: #1c1112;
    padding: 10px;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #ffa500;
}
.sake-card {
    background: rgba(255, 165, 0, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
}
.sake-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffa500;
}
.sake-meta {
    font-size: 0.65rem;
    color: var(--text-secondary);
}
.sake-chart {
    height: 70px;
    margin: 8px 0;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
    position: relative;
}
.sake-chart-radar {
    width: 40px;
    height: 40px;
    background: rgba(255, 165, 0, 0.2);
    border: 1px solid #ffa500;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.sake-log-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.english-screen {
    background: #0b0f19;
}
.english-header {
    background: rgba(255,255,255,0.02);
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary);
}
.chat-bubbles {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}
.bubble {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    line-height: 1.4;
}
.bubble.ai {
    background: rgba(255,255,255,0.05);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid rgba(255,255,255,0.05);
}
.bubble.user {
    background: var(--gradient-primary-glow);
    border: 1px solid rgba(0, 242, 254, 0.2);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}
.correction {
    font-size: 0.65rem;
    color: #ff6b6b;
    border-top: 1px dashed rgba(255, 107, 107, 0.3);
    margin-top: 4px;
    padding-top: 4px;
}
.correction-correct {
    color: var(--primary);
}
.waveform {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(0, 242, 254, 0.05);
    border-radius: 8px;
    margin-top: 8px;
    border: 1px solid rgba(0, 242, 254, 0.1);
}
.wave-bar {
    width: 3px;
    height: 15px;
    background: var(--primary);
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite alternate;
}
.wave-bar:nth-child(2) { height: 24px; animation-delay: 0.15s; }
.wave-bar:nth-child(3) { height: 12px; animation-delay: 0.3s; }
.wave-bar:nth-child(4) { height: 20px; animation-delay: 0.45s; }
.wave-bar:nth-child(5) { height: 14px; animation-delay: 0.6s; }

@keyframes wave {
    0% { transform: scaleY(0.4); }
    100% { transform: scaleY(1.2); }
}

/* --------------------------------------------------------------------------
   18. Concept Section Styles
   -------------------------------------------------------------------------- */
.concept-section {
    position: relative;
    background: radial-gradient(100% 50% at 50% 0%, rgba(255, 165, 0, 0.02) 0%, rgba(7, 8, 13, 0) 100%);
}

.concept-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 165, 0, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.concept-container {
    position: relative;
    z-index: 2;
}

.concept-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    max-width: 900px;
    margin: 50px auto 0 auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.concept-large-logo {
    width: 320px;
    margin: 0 auto 30px auto;
    filter: drop-shadow(0 0 20px rgba(255, 165, 0, 0.25));
    transition: var(--transition-smooth);
}

.concept-large-logo:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 30px rgba(255, 165, 0, 0.4));
}

.concept-large-logo svg {
    width: 100%;
    height: auto;
    display: block;
}


.concept-lead-text {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff 0%, #ffc04d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.concept-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: justify;
    text-justify: inter-character;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.concept-description strong {
    color: #ffa500;
    font-weight: 600;
}

.concept-graphics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.graphic-item {
    position: relative;
}

.graphic-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 165, 0, 0.05);
    border: 2px solid #ffa500;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffa500;
    transition: var(--transition-smooth);
}

.graphic-circle.alt {
    background: rgba(0, 242, 254, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
    color: var(--primary);
}

.graphic-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(255, 165, 0, 0.3);
}

.graphic-circle.alt:hover {
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}

.graphic-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ffa500 0%, var(--primary) 100%);
    position: relative;
}

.graphic-line::after {
    content: '➔';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .concept-card {
        padding: 40px 24px;
    }
    
    .concept-lead-text {
        font-size: 1.3rem;
    }
    
    .concept-description {
        font-size: 0.95rem;
    }
    
    .concept-graphics {
        gap: 15px;
    }
    
    .graphic-circle {
        width: 80px;
        height: 80px;
        font-size: 0.85rem;
    }
    
    .graphic-line {
        width: 40px;
    }
}


