/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background: #f5f5f5;
  color: #333;
}
a {
  color: #2563eb;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
h1 { font-size: 1.5rem; margin: 0 0 1rem; }
h2 { font-size: 1.2rem; margin: 0 0 0.75rem; }
label { display: block; margin-bottom: 0.25rem; font-weight: 500; }
input[type="text"],
input[type="password"],
textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 1rem;
}
textarea { min-height: 80px; resize: vertical; }
button, .btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  background: #2563eb;
  color: #fff;
  text-align: center;
}
button:hover, .btn:hover { background: #1d4ed8; }
button.secondary { background: #64748b; }
button.secondary:hover { background: #475569; }
button.danger { background: #dc2626; }
button.danger:hover { background: #b91c1c; }
.nav { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.nav a { padding: 0.5rem 0; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.5rem 0.75rem; text-align: left; border-bottom: 1px solid #eee; }
th { background: #f8fafc; font-weight: 600; }
.radio-group label { display: inline-flex; align-items: center; margin-right: 1rem; font-weight: normal; }
.radio-group input { width: auto; margin: 0 0.25rem 0 0; }
.tabs { display: flex; gap: 0; margin-bottom: 1rem; border-bottom: 1px solid #ddd; }
.tabs a { padding: 0.5rem 1rem; color: #666; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: #2563eb; border-bottom-color: #2563eb; font-weight: 500; }
.answer-btns { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.answer-btns button { width: 100%; padding: 0.75rem; }
.answer-btns button:first-child { background: #16a34a; }
.answer-btns button:first-child:hover { background: #15803d; }
.answer-btns button:nth-child(2) { background: #ca8a04; }
.answer-btns button:nth-child(2):hover { background: #a16207; }
.answer-btns button:nth-child(3) { background: #64748b; }
.answer-btns button:nth-child(3):hover { background: #475569; }
.alert { padding: 0.75rem; border-radius: 4px; margin-bottom: 1rem; }
.alert.error { background: #fef2f2; color: #b91c1c; }
.alert.success { background: #f0fdf4; color: #15803d; }

/* 問い合わせ通知オーバーレイ */
.inquiry-overlay-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: inquiry-overlay-fade 0.2s ease-out;
}
@keyframes inquiry-overlay-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.inquiry-overlay-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: inquiry-overlay-scale 0.25s ease-out;
}
@keyframes inquiry-overlay-scale {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.inquiry-overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}
.inquiry-overlay-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.inquiry-overlay-sound-msg {
  flex: 1 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.inquiry-overlay-sound-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  background: #16a34a;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.inquiry-overlay-sound-btn:hover {
  background: #15803d;
}
.inquiry-overlay-sound-error {
  font-size: 0.85rem;
  color: #b91c1c;
}
.inquiry-overlay-close {
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
  background: #e2e8f0;
  color: #475569;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.inquiry-overlay-close:hover {
  background: #cbd5e1;
}
.inquiry-overlay-tabs {
  display: flex;
  gap: 0;
  padding: 0 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  overflow-x: auto;
}
.inquiry-overlay-tab {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
  border: none;
  background: none;
  color: #64748b;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.inquiry-overlay-tab:hover {
  color: #334155;
}
.inquiry-overlay-tab.active {
  color: #2563eb;
  font-weight: 600;
  border-bottom-color: #2563eb;
}
.inquiry-overlay-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.25rem;
  font-size: 0.75rem;
  background: #e2e8f0;
  color: #475569;
  border-radius: 999px;
}
.inquiry-overlay-tab.active .inquiry-overlay-tab-badge {
  background: #2563eb;
  color: #fff;
}
.inquiry-overlay-body {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1 1;
}
.inquiry-overlay-body p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}
.inquiry-overlay-hr {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}

