@charset "UTF-8";

/* ==========================================================================
   Variables & Base Settings
   ========================================================================== */
:root {
  --bg-dark: #0a192f; /* ディープネイビー */
  --bg-card: rgba(17, 34, 64, 0.75); /* 半透明のカード背景 */
  --text-main: #cdd6f4; /* 明るいブルーグレー */
  --text-heading: #ffffff; /* ピュアホワイト */
  --accent: #00f2fe; /* サイバーアクアブルー */
  --accent-purple: #4facfe; /* スカイブルー */
  --accent-green: #10b981; /* 提供サービス用グリーン */
  --accent-red: #ef4444; /* 対象外用レッド */
  --border-color: rgba(0, 242, 254, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

#tech-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

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

/* ==========================================================================
   Typography & Utility
   ========================================================================== */
.section-title {
  margin-bottom: 60px;
}
.section-sub {
  font-family: "Montserrat", sans-serif;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
}
h2 {
  font-size: 2.2rem;
  color: var(--text-heading);
  font-weight: 700;
}
.section-desc {
  max-width: 750px;
  margin: 20px auto 0 auto;
  font-size: 0.95rem;
  color: var(--text-main);
}
.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  border: none;
}
.btn.primary {
  background: linear-gradient(
    135deg,
    var(--accent-purple) 0%,
    var(--accent) 100%
  );
  color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}
.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 242, 254, 0.5);
  filter: brightness(1.1);
}
.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn.ghost:hover {
  background: rgba(0, 242, 254, 0.1);
  transform: translateY(-3px);
}

/* ==========================================================================
   Header Style
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 6%;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 242, 254, 0.1);
  z-index: 100;
  transition:
    padding 0.3s ease,
    background 0.3s ease;
}
.logo-text {
  font-family: "Montserrat", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a.nav-cta {
  border: 1px solid var(--accent);
  padding: 8px 18px;
  border-radius: 4px;
  color: var(--accent);
}
.nav-links a.nav-cta:hover {
  background: rgba(0, 242, 254, 0.1);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}
.hero-sub {
  font-family: "Montserrat", sans-serif;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.3;
  color: var(--text-heading);
  margin-bottom: 24px;
  font-weight: 700;
}
.hero-lead {
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 800px;
  color: var(--text-main);
  margin-bottom: 40px;
}
.hero-cta {
  display: flex;
  gap: 20px;
}

.animate-reveal {
  opacity: 0;
  transform: translateY(40px);
  animation: revealUp 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
  padding: 120px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}
.profile-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
  background: var(--bg-card);
}
.profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.base-info {
  background: var(--bg-card);
  padding: 18px;
  border-radius: 4px;
  border-left: 3px solid var(--accent);
  font-size: 0.9rem;
}
.profile-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.profile-name span {
  font-size: 0.85rem;
  font-weight: normal;
  color: var(--text-main);
}
.about-text-box h3 {
  font-size: 1.6rem;
  color: var(--text-heading);
  margin-bottom: 12px;
}
.about-lead-text {
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 25px;
}
.bio-content .text-block {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-main);
}
.bio-content .text-block strong {
  color: var(--text-heading);
  background: linear-gradient(transparent 60%, rgba(0, 242, 254, 0.2) 60%);
}

.experience-list {
  list-style: none;
  margin: 18px 0;
  padding-left: 5px;
}
.experience-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--text-heading);
  font-size: 0.95rem;
  font-weight: 500;
}
.experience-list li::before {
  content: "🔷";
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Skills Section (サービス範囲)
   ========================================================================== */
.skills {
  padding: 120px 0;
}
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}
.contrast-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.contrast-card:hover {
  transform: translateY(-5px);
}
.contrast-card.can {
  border-top: 4px solid var(--accent-green);
}
.contrast-card.cannot {
  border-top: 4px solid var(--accent-red);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}
.card-header .icon {
  font-size: 1.5rem;
}
.card-header h3 {
  font-size: 1.35rem;
  color: var(--text-heading);
}

.contrast-list {
  list-style: none;
}
.contrast-list li {
  margin-bottom: 24px;
}
.contrast-list li:last-child {
  margin-bottom: 0;
}
.contrast-list li strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.contrast-list li p {
  font-size: 0.9rem;
  color: var(--text-main);
}

/* ==========================================================================
   Pricing & Terms Section (料金・安心ルール)
   ========================================================================== */
.pricing {
  padding: 120px 0;
}
.pricing-table-wrap {
  margin-top: 50px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 750px;
  table-layout: fixed;
}
.pricing-table th,
.pricing-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pricing-table th {
  background: rgba(0, 242, 254, 0.05);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

/* PC大画面時 */
.pricing-table th:nth-child(1),
.pricing-table td:nth-child(1) {
  width: 38%;
  font-weight: 700;
  color: var(--text-heading);
  font-size: 0.95rem;
}
.pricing-table th:nth-child(2),
.pricing-table td:nth-child(2) {
  width: 22%;
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.pricing-table th:nth-child(3),
.pricing-table td:nth-child(3) {
  width: 40%;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table tr.highlight-row {
  background: rgba(255, 255, 255, 0.02);
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.term-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: 6px;
}
.term-card h4 {
  color: var(--text-heading);
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.term-card p {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.7;
}

/* ==========================================================================
   Workflow Section (制作の流れタイムライン)
   ========================================================================== */
.workflow {
  padding: 120px 0;
  background: rgba(0, 0, 0, 0.15);
}
.workflow-timeline {
  max-width: 900px;
  margin: 50px auto 0 auto;
  position: relative;
  padding-left: 50px;
}
.workflow-timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 20px;
  width: 2px;
  height: calc(100% - 30px);
  background: linear-gradient(
    to bottom,
    var(--accent) 0%,
    var(--accent-purple) 100%
  );
  opacity: 0.3;
}
.workflow-step {
  position: relative;
  margin-bottom: 40px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 25px 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}
.workflow-step:hover {
  transform: translateX(5px);
  border-color: rgba(0, 242, 254, 0.2);
}
.workflow-step:last-child {
  margin-bottom: 0;
}

.step-number {
  position: absolute;
  left: -54px;
  top: 14px;
  width: 30px;
  height: 30px;
  background: var(--bg-dark);
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}
.workflow-step:nth-child(even) .step-number {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
}

.step-icon {
  font-size: 2rem;
  line-height: 1;
  padding-top: 2px;
}
.step-body h3 {
  font-size: 1.2rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.step-body p {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.7;
}

/* ==========================================================================
   Samples Section (4カラム対応)
   ========================================================================== */
.samples {
  padding: 120px 0;
}
.samples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.sample-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 35px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sample-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent);
  color: var(--bg-dark);
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 0 0 0 8px;
}
.sample-card h3 {
  font-size: 1.3rem;
  color: var(--text-heading);
  margin-bottom: 12px;
  padding-right: 60px;
}
.sample-card p {
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 20px;
  flex-grow: 1;
}
.path-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 20px;
}
.path-box code {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--accent-purple);
  font-size: 0.85rem;
  font-weight: 500;
}
.btn-sample {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.3s;
  align-self: flex-start;
}
.btn-sample:hover {
  color: var(--text-heading);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
  padding: 120px 0;
}
.contact-inner {
  max-width: 800px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 8px;
  padding: 60px 50px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}
.contact-form {
  margin-top: 40px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-heading);
}
.form-group label .required {
  background: var(--accent-red);
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(10, 25, 47, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: var(--text-heading);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
  background: rgba(10, 25, 47, 0.9);
}
.form-group select option {
  background: var(--bg-dark);
  color: var(--text-heading);
}
.submit-btn {
  width: 100%;
  max-width: 300px;
  padding: 16px;
}

/* ==========================================================================
   Footer Style
   ========================================================================== */
.footer {
  background: #020c1b;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: "Montserrat", sans-serif;
  color: var(--text-heading);
  font-weight: 700;
}
.footer-copy {
  color: rgba(205, 214, 244, 0.4);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 960px) {
  h2 {
    font-size: 1.8rem;
  }
  .hero-content h1 {
    font-size: 2.4rem;
  }
  .about-grid,
  .contrast-grid,
  .samples-grid,
  .terms-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .terms-grid {
    gap: 20px;
  }
  .workflow-timeline {
    padding-left: 40px;
  }
  .workflow-timeline::before {
    left: 15px;
  }
  .step-number {
    left: -49px;
  }
  .about-img-box {
    max-width: 320px;
    margin: 0 auto;
  }
  .contact-inner {
    padding: 40px 24px;
  }
}

/* ━━ 【第1段階】中サイズ・ノートPC対応（1150px以下から発動） ━━ */
@media (max-width: 1150px) {
  /* ヘッダー全体：余白を狭める */
  .header {
    padding: 20px 4%;
  }
  /* ロゴタイトル：文字サイズを 1.35rem → 1.15rem へ縮小 */
  .logo-text {
    font-size: 1.15rem;
  }
  /* メニュー項目：間隔を詰め、文字サイズを 0.78rem へさらに小さく */
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 0.78rem;
  }
  .nav-links a.nav-cta {
    padding: 6px 12px;
  }

  /* 料金表 */
  .pricing-table th,
  .pricing-table td {
    padding: 14px 10px;
    font-size: 13px;
    line-height: 1.4;
  }
  .pricing-table th:nth-child(1),
  .pricing-table td:nth-child(1) {
    width: 34%;
  }
  .pricing-table th:nth-child(2),
  .pricing-table td:nth-child(2) {
    width: 32%;
  }
  .pricing-table th:nth-child(3),
  .pricing-table td:nth-child(3) {
    width: 34%;
    font-size: 12.5px;
  }
}

/* ━━ 【第2段階】タブレット対応（880px以下から発動） ━━ */
@media (max-width: 880px) {
  /* ヘッダー全体：さらに余白を凝縮 */
  .header {
    padding: 16px 3%;
  }
  /* ロゴタイトル：文字サイズをさらに 1.05rem へ縮小 */
  .logo-text {
    font-size: 1.05rem;
  }
  /* メニュー項目：間隔をさらに詰め、文字サイズを 0.72rem へ極小化 */
  .nav-links {
    gap: 10px;
  }
  .nav-links a {
    font-size: 0.72rem;
  }
  .nav-links a.nav-cta {
    padding: 5px 8px;
  }

  /* 料金表：横スクロールへの切り替え */
  .pricing-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 30px;
    border: 1px solid rgba(0, 242, 254, 0.15);
  }
  .pricing-table {
    min-width: 680px;
    table-layout: fixed;
    width: 100%;
  }
}

@media (max-width: 665px) {
  .header {
    padding: 18px 20px;
  }
  .nav-links {
    display: none;
  } /* スマホ幅（650px以下）ではPC用メニューを非表示 */
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .workflow-step {
    padding: 20px;
    flex-direction: column;
    gap: 10px;
  }
  .step-icon {
    font-size: 1.6rem;
  }
  .footer-flex {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
