/* ------------------------------
   ベース設定
------------------------------ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f5f5f7;
}

body {
  font-size: 18px;
}

.section h2 {
  font-size: 24px;
}

.work-card h3 {
  font-size: 20px;
}


/* ------------------------------
   レイアウト（右サイドバー）
------------------------------ */
.layout {
  display: flex;
  min-height: 100vh;
}

/* メインコンテンツ（左側） */
.content {
  flex: 1;
  padding: 32px;
}

/* 右サイドバー */
.sidebar {
  width: 240px;
  background-color: #111827;
  color: #f9fafb;
  padding: 24px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.logo {
  margin: 0 0 24px;
  font-size: 24px;
  letter-spacing: 0.05em;
}

/* サイドバー内メニュー */
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 20px;
}

.sidebar a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar a:hover {
  color: #ffffff;
}

/* ------------------------------
   セクション
------------------------------ */
.section {
  padding: 40px 0;
  background-color: #f5f5f7;
}

.section:nth-of-type(odd) {
  background-color: #ffffff;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 22px;
  border-left: 4px solid #111827;
  padding-left: 8px;
}

/* ------------------------------
   制作サンプルのカード
------------------------------ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.work-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
}

.work-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
}

/* ------------------------------
   スマホ対応
------------------------------ */
@media (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    flex-direction: row;
    justify-content: space-around;
    padding: 16px;
  }

  .sidebar ul {
    display: flex;
    gap: 20px;
  }

  .sidebar li {
    margin: 0;
  }
}

/* 準備中、、、、 */
.disabled-app {
  opacity: 0.6;
  cursor: not-allowed;
}

.disabled-app:hover {
  opacity: 0.8;
}
