/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #be755e;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    color: #00d4ff;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: #00d4ff;
}

.nav a:hover::after {
    width: 100%;
}

/* メインビジュアル */
.hero {
    height: 100vh;
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* 例: お好みで20px〜60pxくらい */
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    max-width: 100%;
    margin-right: 40px; /* 例: 20px〜60pxくらいで調整 */
}

.hero-logo {
    flex: 0 0 auto;
    text-align: right;
    max-width: 35%;
}

.hero-logo img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff, #0099cc, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
    letter-spacing: 0.05em;
    font-family: 'Roboto', sans-serif;
    white-space: nowrap; /* 改行を防ぐ */
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: #fff;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
    }
}

/* 浮遊要素 */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.1));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* セクション共通 */
.section {
    padding: 5rem 0;
    background: transparent;
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.05) 20%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.05) 80%,
        rgba(0, 0, 0, 0) 100%
    );
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #00d4ff;
    margin-bottom: 3rem;
    position: relative;
    text-shadow: none; /* ←光りを消す */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    border-radius: 2px;
    box-shadow:none;
}

/* ビジョン */
.vision-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.vision-content h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 2rem;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mvv-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-align: left;
}

.mvv-item h4 {
    color: #00d4ff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.mvv-item p {
    color: #ccc;
    line-height: 1.6;
}

/* 社名の由来 */
.origin-content {
    max-width: 800px;
    margin: 0 auto;
}

.origin-image {
    text-align: left;
}

.origin-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
}

/* 事業内容 */
.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

.business-card {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon.training {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.icon.training::before {
    content: '📚';
    font-size: 24px;
}

.icon.event {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.icon.event::before {
    content: '🎯';
    font-size: 24px;
}

.icon.consulting {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
}

.icon.consulting::before {
    content: '💼';
    font-size: 24px;
}

.icon.programming {
    background: linear-gradient(135deg, #00b894, #00a085);
}

.icon.programming::before {
    content: '💻';
    font-size: 24px;
}

.business-card h3 {
    color: #00d4ff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.business-card p {
    color: #ccc;
    line-height: 1.6;
}

/* A&Iの強み */
.strengths-section {
    margin-top: 4rem;
    text-align: center;
}

.strengths-title {
    color: #00d4ff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.strength-item {
    background: rgba(0, 212, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.strength-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.strength-item h4 {
    color: #00d4ff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.strength-item p {
    color: #ccc;
    font-size: 0.9rem;
}

/* 実績 */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.achievement-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.achievement-label {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.achievement-detail {
    color: #ccc;
    font-size: 0.8rem;
}

/* 主要実績 */
.case-studies {
    margin-top: 4rem;
}

.case-title {
    color: #00d4ff;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.case-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-item h4 {
    color: #00d4ff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.case-item p {
    color: #ccc;
    line-height: 1.6;
}

/* 会社情報 */
.company-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem auto;
}

.company-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.company-item h3 {
    color: #00d4ff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.company-item p {
    color: #ccc;
}

/* 代表プロフィール */
.ceo-profile {
    margin-top: 4rem;
}

.profile-title {
    color: #00d4ff;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}

.profile-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-text h4 {
    color: #00d4ff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.profile-text > p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.profile-highlights ul {
    list-style: none;
    padding: 0;
}

.profile-highlights li {
    color: #ccc;
    padding: 0.5rem 0;
    border-left: 3px solid #00d4ff;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

/* フッター */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: #666;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .origin-content {
        flex-direction: column;
        text-align: center;
    }

    .business-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .business-card {
        padding: 2rem;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .company-info {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }
}
.ai-section {
  padding: 5rem 0;
  background: transparent;
}

.ai-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.ai-text {
  flex: 1;
  min-width: 300px;
  color: #fff;
}

.ai-text h2 {
  color: #00d4ff;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.ai-text ul {
  list-style: none;
  padding: 0;
}

.ai-text li {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.ai-text li strong {
  color: #00d4ff;
  display: block;
  margin-bottom: 0.3rem;
}

.ai-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
  position: relative;
}

.ai-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  /* 画像と背景の境目をぼかす */
  background: rgba(190, 117, 94, 0.5); /* ベース背景色に合わせる */
  backdrop-filter: blur(5px);
}
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column; /* 縦並びにする */
    align-items: center; /* 中央揃え */
  }

  .hero-text {
    max-width: 100%; /* 幅をフルに */
    margin-right: 0; /* 余白をなくす */
    text-align: center; /* テキストを中央寄せ */
  }

  .hero-logo {
    max-width: 60%; /* 画面に収まる大きさに調整 */
    text-align: center;
    margin-top: 20px;
  }

  .hero-logo img {
    max-width: 100%; /* 画像が画面幅を超えないようにする */
    height: auto;
  }
}
