@charset "utf-8";
/* CSS Document */

body {
  background-color: #0b0c1a;
  font-family: 'Segoe UI', sans-serif;
  color: #ffffff;
  margin: 0;
  padding: 20px;
  text-align: center;
}

h1 {
  font-size: 2em;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
  margin-bottom: 30px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  border: 2px solid #333;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

/* ラベルと入力フィールド */
label {
  display: block;
  margin-top: 20px;
  font-size: 1rem;
  color: #90e0ef;
  text-shadow: 0 0 5px #90e0ef;
}

input, select {
  padding: 10px;
  margin-top: 5px;
  border-radius: 8px;
  border: none;
  background-color: #1a1a2e;
  color: #ffffff;
  font-size: 1rem;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 0 10px #00b4d8 inset;
}


@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff, 0 0 60px #00ffff;
    transform: scale(1.05);
  }
}

button {
	background-color: #003344;
	color: #00ffff;
	border: none;
	border-radius: 12px;
	font-size: 16px;
	cursor: pointer;
	animation: neonPulse 2s infinite;
	transition: transform 0.3s ease;
	box-shadow: 0 0 10px #00ffff;
	margin-top: 1em;
	margin-bottom: 1em;
	padding-top: 12px;
	padding-right: 24px;
	padding-bottom: 12px;
	padding-left: 24px;
}

button:hover {
  transform: scale(1.1);
}

.form-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1em;
  flex-wrap: wrap;
}

.form-row label {
  font-size: 0.9rem;
  color: #fff;
  background-color: rgba(20, 20, 50, 0.6);
  padding: 0.5em 1em;
  border-radius: 8px;
  border: 1px solid #00ffff;
  box-shadow: 0 0 5px #00ffff;
}

.form-row select,
.form-row input[type="number"],
.form-row input[type="date"] {
  background-color: #111;
  color: #0ff;
  border: 1px solid #0ff;
  border-radius: 6px;
  padding: 6px 10px;
  box-shadow: 0 0 5px #0ff inset;
  width: 80px;
}




/* 結果エリア */
#results, #moonPhaseComment {
  margin-top: 20px;
  font-size: 1.3rem;
  color: #caf0f8;
  text-shadow: 0 0 5px #90e0ef;
  transition: opacity 0.6s ease;
}

canvas {
  display: block;
  margin: 2em auto;
  max-width: 100%;
}
.chart-container {
  background-color: #1a1a2e;
  border-radius: 12px;
  box-shadow: 0 0 20px #00b4d8;
  padding: 20px;
  margin-top: 30px;
}/* バイオリズムチャートのキャンバス */
#biorhythmChart {
  margin-top: 30px;
  max-width: 100%;
  height: 250px;
  background-color: #1a1a2e;
  border-radius: 12px;
  box-shadow: 0 0 20px #00b4d8;
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in;
}

.fade-in.show {
  opacity: 1;
}

#clearBirthdate {
  display: block;
  margin: 20px auto 0;
  padding: 6px 14px;
  background-color: #8e44ad; /* 紫系 */
  color: #fff;
  border: none;
  border-radius: 8px; /* 角丸 */
  box-shadow: 0 0 8px rgba(142, 68, 173, 0.8); /* ネオン風ドロップシャドウ */
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#clearBirthdate:hover {
  box-shadow: 0 0 12px rgba(142, 68, 173, 1);
  transform: scale(1.03);
}
#share-buttons {
  margin: 2em 0;
  text-align: center;
}

#share-buttons p {
  color: #00ffff;
  font-size: 1.1em;
  margin-bottom: 1em;
  text-shadow: 0 0 8px #00ffff, 0 0 12px #007777;
}

#share-buttons a {
  display: inline-block;
  margin: 0 10px;
  padding: 12px;
  border-radius: 50%;
  background-color: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 10px #00ffff66, 0 0 15px #00cccc66;
  transition: transform 0.3s, box-shadow 0.3s;
}

#share-buttons a:hover {
  transform: scale(1.2);
  box-shadow: 0 0 14px #00ffffcc, 0 0 24px #00ccccaa;
}

#share-buttons img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 6px #00ffffaa);
}

.coconala-button-wrapper {
  margin: 2em 0;
  text-align: center;
}

.coconala-button {
  display: inline-block;
  padding: 0.8em 1.5em;
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  font-size: 1.1em;
  font-weight: bold;
  border: 1px solid #00ffffaa;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 12px #00ffff66, 0 0 20px #00777744;
  position: relative;
  transition: all 0.3s ease;
}

.coconala-button:hover {
  background: rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 18px #00ffffaa, 0 0 30px #00cccc88;
  transform: scale(1.05);
}