* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
}

/* 全体 */
body {
    background: #cfcfcf;
}

/* ヘッダー */
.header {
    background: #3f3f3f;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 12px 20px;
}

.logo {
    height: 80px;
    margin-right: 20px;
}

.header-nav a {
    color: #fff;
    text-decoration: none;
    margin-right: 18px;
    font-size: 14px;
}
/* =========================
   Page
========================= */
.page {
  padding: 24px;
}

.page-title{
    text-align: center;
    padding: 30px 0;
    font-size: 32px;
    color:#fff;
    background: #bdbdbd;
    letter-spacing: 4px;
    margin-bottom: 3rem;
}

/* =========================
   Panel
========================= */
.panel {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* =========================
   Message
========================= */
.msg {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
}

.msg.ok {
  background: #e6f4ea;
  color: #256029;
  border: 1px solid #b7e1c0;
}

.msg.ng {
  background: #fdecea;
  color: #7a1f1f;
  border: 1px solid #f5c2c0;
}

.msg.ng ul {
  margin: 0;
  padding-left: 18px;
}

/* =========================
   Form
========================= */
.form {
  width: 100%;
}

.field {
  margin-bottom: 18px;
}

.label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.req {
  color: #dc2626;
  margin-left: 4px;
  font-size: 12px;
}

.input,
.textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

.textarea {
  min-height: 110px;
  resize: vertical;
}

.radios label,
.checks label {
  margin-right: 16px;
  font-size: 14px;
}

.hint {
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

/* =========================
   Photo
========================= */
.photo-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.photo-box {
  width: 160px;
}

.thumb {
  width: 160px;
  height: 120px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  object-fit: cover;
  background: #f1f5f9;
}

.thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 13px;
}

.photo-input input[type="file"] {
  font-size: 13px;
}

/* =========================
   Dates / Period
========================= */
.dates {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sep {
  font-size: 14px;
  color: #475569;
}

/* =========================
   Two Column
========================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* =========================
   Actions
========================= */
.actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  background: #fff;
  cursor: pointer;
}

.btn:hover {
  background: #f1f5f9;
}

.btn.primary {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.btn.primary:hover {
  background: #1d4ed8;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .photo-row {
    flex-direction: column;
  }

  .header-nav {
    display: none;
  }
}