/* imagePosition.css | for Vの輪 Factory Image Editor */

body {
  margin: 0;
  padding: 0;
  font-family: 'Share Tech Mono', monospace;
  background-color: #000;
  color: #00ff88;
  display: flex;
  flex-direction: column;
  height: 100%;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h4, label, p, select, input, textarea {
  color: #00ff88;
}

h1 {
  text-align: center;
  font-size: 1.8rem;
  padding: 10px 0;
  border-bottom: 2px solid #00ff88;
  background-color: #111;
  margin: 0;
}

a {
  color: #00ff88;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88;
  border: 1px solid #00ff88;
}


#about {
  padding: 2rem; 
  background: #111;
  color: #fff;
}
/* -----------------------------
   📘 HowTo（使い方ガイド）セクション
----------------------------- */
section.howto {
  background: #111; 
  padding: 3rem 2rem;
  border-top: 3px solid #00cc88;
  border-bottom: 3px solid #00cc88;
  font-family: 'Noto Sans JP', sans-serif;
}

.howto h2 {
  color: #00cc88;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: bold;
}

.howto p {
  text-align: center;
  color: white;
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* -----------------------------
   🛠️ ツール一覧 グリッド
----------------------------- */
section.tools_list {
  background: #111; 
  padding: 3rem 2rem;
  border-top: 3px solid #00cc88;
  border-bottom: 3px solid #00cc88;
  font-family: 'Noto Sans JP', sans-serif;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1rem;
  margin-top: 1rem;
}

.tool-card {
  background-color: rgba(10, 10, 10, 0.8);
  border-radius: 8px;
  border: 1px solid #00cc88;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.tool-card h3 {
  font-size: 1.2rem;
  color: #00cc88;
  margin-bottom: 0.8rem;
}

.tool-card p {
  font-size: 0.95rem;
  color: #fff;
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.tool-icon {
  width: 250px;
  margin: 1rem auto;
  text-align: center;
  transition: transform 0.3s ease;
}

.tool-icon a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.tool-icon img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  border: 3px solid transparent;
  box-shadow: 0 0 15px rgba(0, 204, 136, 0.4), inset 0 0 8px rgba(0, 255, 136, 0.2);
  transition: transform 0.3s ease, box-shadow 0.4s ease, border 0.4s ease;
  z-index: 9999;
}

.tool-icon img:hover {
  transform: scale(2.0);
  border: 3px solid #00ffcc;
  box-shadow: 0 0 25px rgba(0, 255, 200, 0.7), 0 0 12px rgba(0, 255, 180, 0.6);
}

.tool-icon span {
  display: block;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: #00ffcc;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.tool-icon:hover span {
  color: #ffffff;
}


/* ボタンスタイル */
.tool-card .btn {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: #00cc88;
  color: black;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.tool-card .btn:hover {
  background: #009f6b;
}

/* モバイル対応 */
@media (max-width: 600px) {
  .tool-card {
    padding: 1rem;
  }

  .tool-card h3 {
    font-size: 1.1rem;
  }

  .tool-card p {
    font-size: 0.9rem;
  }
}

/* 個別ツールブロック */
section.howto-tool {
  background: #111; 
  padding: 15px 0;
  border-bottom: 1px solid #00ff88;
  padding: 1.5rem 1.5rem 1.2rem;
  margin-bottom: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.howto-tool h3 {
  font-size: 1.3rem;
  color: #00ff88;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.howto-tool ol,
.howto-tool ul {
  margin: 0 0 1rem 1.2rem;
  padding-left: 1.2rem;
  color: #00ff88;
  font-size: 0.98rem;
}

.howto-tool li {
  margin: 0.5rem 0;
  line-height: 1.6;
}

/* モバイル対応 */
@media (max-width: 600px) {
  section.howto {
    padding: 2rem 1rem;
  }

  .howto h2 {
    font-size: 1.5rem;
  }

  .howto-tool {
    padding: 1.2rem 1rem;
  }

  .howto-tool h3 {
    font-size: 1.1rem;
  }
}

/* -----------------------------
   🎁 Resourcesセクション
----------------------------- */
#resources {
  background: #111; 
}

section.resources {
  padding: 3rem 2rem;
  border-top: 3px solid #00cc88;
  border-bottom: 3px solid #00cc88;
  font-family: 'Noto Sans JP', sans-serif;
}

.resources h2 {
  color: #00cc88;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: bold;
}

.resources p {
  text-align: center;
  color: #00ff88;
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* 各ブロックごとのカテゴリ */
.resource-block {
  background-color: rgba(10, 10, 10, 0.8);
  border: 1px solid #ddd;
  border-left: 5px solid #00cc88;
  border-radius: 6px;
  padding: 1.5rem 1.5rem 1.2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.resource-block h3 {
  font-size: 1.25rem;
  color: #00ff88;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.resource-block ul {
  padding-left: 1.2rem;
  margin: 0;
}

.resource-block ul li {
  margin: 0.5rem 0;
  list-style: none;
  position: relative;
  padding-left: 1.2rem;
  color: #333;
  font-size: 0.98rem;
}

.resource-block ul li::before {
  content: "🔗";
  position: absolute;
  left: 5px;
  top: 0.1rem;
}

/* モバイル対応 */
@media (max-width: 600px) {
  section.resources {
    padding: 2rem 1rem;
  }

  .resources h2 {
    font-size: 1.5rem;
  }

  .resource-block {
    padding: 1.2rem 1rem;
  }
}
