@charset "UTF-8";
:root {
  --green-dark: #085041;
  --green-mid: #1D9E75;
  --green-light: #5DCAA5;
  --green-pale: #E1F5EE;
  --amber: #EF9F27;
  --amber-pale: #FAEEDA;
  --red: #E24B4A;
  --red-pale: #FCEBEB;
  --blue: #378ADD;
  --blue-pale: #E6F1FB;
  --gray-900: #2C2C2A;
  --gray-600: #5F5E5A;
  --gray-300: #D3D1C7;
  --gray-100: #F1EFE8;
  --white: #ffffff;
  --radius: 10px;
  --radius-sm: 6px;
  --font: 'Noto Sans JP', sans-serif;
  --mono: 'DM Mono', monospace;
}

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

.container__inner {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  max-width: var(--tantive-container-width-pc);
  margin: 50px auto;
}

.tool-area {
  flex-grow: 1;
}

h1 {
  font-size: 1.5em;
  margin-bottom: 20px;
}

h2 {
  position: relative;
  font-size: 1.5em;
  padding: 0.25em 0.5em;
  width: -moz-fit-content;
  width: fit-content;
}

h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  border-radius: 3px;
  background-color: var(--tantive-main-dark-color);
}

.title-section {
  margin-bottom: 50px;
}

.title-wrap {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}

.title-catch {
  font-size: 0.75em;
}

.card {
  background: white;
  border: 1px solid var(--tantive-main-dark-color);
  border-radius: 5px;
  padding: 1.5em;
  margin-bottom: 1em;
  box-shadow: var(--shadow);
}

.card-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--gray-600);
  text-transform: uppercase;
  padding: 9px 14px 7px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-300);
}

.card-title {
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1em;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-label {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
}
.field-label span {
  color: var(--red);
  margin-left: 2px;
}

input[type=number],
input[type=date],
select {
  height: 38px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  width: 100%;
  transition: border-color 0.15s;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--green-mid);
}

.radio-row {
  display: flex;
  gap: 10px;
}

.radio-btn {
  flex: 1;
  height: 38px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
  color: var(--gray-600);
  background: var(--white);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.radio-btn.active {
  border-color: var(--tantive-main-dark-color);
  background: var(--tantive-body-background-color);
  font-weight: 700;
}

.age-display {
  height: 38px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  font-size: 13px;
  color: var(--gray-600);
  background: var(--gray-100);
  display: flex;
  align-items: center;
}

.cta-btn {
  width: 100%;
  height: 46px;
  background: var(--tantive-main-dark-color);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s, transform 0.1s;
  margin-top: 4px;
}
.cta-btn:hover {
  opacity: 0.9;
}
.cta-btn:active {
  transform: scale(0.98);
}

#result-area1 {
  display: none;
}

#result-area2 {
  display: none;
}

.result-banner {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.result-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: #fff;
}

.result-main {
  flex: 1;
}

.result-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gray-600);
}

.result-text {
  font-size: 16px;
  font-weight: 700;
  margin-top: 1px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.metric-box {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  text-align: center;
}

.metric-label {
  font-size: 10px;
  color: var(--gray-600);
  font-weight: 500;
}

.metric-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  font-family: var(--mono);
  margin-top: 2px;
}

.metric-unit {
  font-size: 10px;
  color: var(--gray-600);
}

/* グラフ */
.graph-wrap {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 8px;
  margin-bottom: 14px;
}

.graph-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.graph-tab {
  flex: 1;
  height: 28px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.12s;
}
.graph-tab.active {
  background: var(--green-mid);
  color: #fff;
  border-color: var(--green-mid);
  font-weight: 700;
}

canvas#growthChart {
  width: 100% !important;
  border-radius: 6px;
}

.insight-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.insight-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.insight-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.dot-green {
  background: var(--green-mid);
}

.dot-blue {
  background: var(--blue);
}

.dot-amber {
  background: var(--amber);
}

.dot-red {
  background: var(--red);
}

.insight-text {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

#history-area {
  display: none;
}

.history-row {
  display: grid;
  grid-template-columns: 72px 1fr 64px;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
}
.history-row:last-child {
  border-bottom: none;
}

.history-date {
  color: var(--gray-600);
  font-size: 12px;
}

.history-vals {
  color: var(--gray-900);
}

.history-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-align: center;
}

.badge-normal {
  background: var(--green-pale);
  color: var(--green-dark);
}

.badge-light {
  background: var(--amber-pale);
  color: #633806;
}

.badge-heavy {
  background: var(--red-pale);
  color: #791F1F;
}

.badge-thin {
  background: var(--blue-pale);
  color: #0C447C;
}

.history-empty {
  font-size: 13px;
  color: var(--gray-600);
  text-align: center;
  padding: 16px 0;
}

.save-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.save-btn {
  flex: 1;
  height: 36px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.12s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.save-btn:hover {
  border-color: var(--green-mid);
  color: var(--green-mid);
}
.save-btn.primary {
  background: var(--green-pale);
  border-color: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
}

.disclaimer {
  font-size: 11px;
  color: var(--gray-600);
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-top: 12px;
  line-height: 1.6;
}

#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gray-900);
  color: #fff;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 20px;
  opacity: 0;
  transition: all 0.25s;
  pointer-events: none;
  z-index: 999;
  white-space: nowrap;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.usecase-section {
  margin-top: 1.5em;
}
.usecase-section li::before {
  content: "- ";
}

.related-tools-section {
  margin-top: 1.5em;
}

.related-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1em;
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
}

.related-tools-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 1em;
  border: 1px solid var(--tantive-main-dark-color);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.related-tools-link:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.related-tools-emoji {
  font-size: 2rem;
}

.related-tools-name {
  font-weight: bold;
  font-size: 1rem;
}

.related-tools-desc {
  font-size: 0.8rem;
  color: #888;
  text-align: center;
}

.ad-area {
  flex: 0 0 200px;
}

.ad-area-wrap {
  width: 400px;
  position: sticky;
  top: 100px;
}
.ad-area-wrap ins {
  width: 300px;
  height: 250px;
}

@media screen and (max-width: 1280px) {
  .container__inner {
    flex-direction: column-reverse;
    padding: 0 1em;
  }
  .ad-area {
    flex: unset;
  }
  .ad-area-wrap {
    margin: auto;
    width: 100%;
  }
  .ad-area-wrap ins {
    width: 300px;
    height: 100px;
    margin: auto;
  }
  .ad-moved-area:has(> *) {
    margin-top: 1em;
    margin-bottom: 1em;
  }
}/*# sourceMappingURL=style-tools-child-growth-checker.css.map */