* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f7efd5;
  color: #333;
  font-family: Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

a {
  color: inherit;
}

/* =========================
   上部コピー
========================= */

.top-copy {
  background: #e8e0c5;
  padding: 6px 14px;
  font-size: 13px;
}

/* =========================
   ヘッダー
========================= */

.header {
  background: #fff;
  padding: 26px 0 20px;
  border-bottom: 1px solid #ddd;
}

.header-inner {
  max-width: 1040px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 14px;
}

.logo {
  font-size: 42px;
  font-weight: bold;
  color: #222;
  text-decoration: none;
  line-height: 1.4;
}

.tel-area {
  text-align: right;
  white-space: nowrap;
}

.tel-note {
  font-size: 14px;
  color: #555;
}

.tel-number {
  color: #1144cc;
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
}

.business {
  font-size: 14px;
}

/* =========================
   ナビ
========================= */

.nav {
  background: #67b62f;
  padding: 12px 14px;
}

.nav-inner {
  max-width: 1040px;
  margin: 0 auto;

  display: flex;
  gap: 12px;
}

.nav-inner a {
  flex: 1;

  display: block;

  background: #fff;
  color: #333;

  text-align: center;
  text-decoration: none;

  padding: 14px 10px;

  border-radius: 4px;

  font-size: 18px;
  font-weight: bold;

  box-shadow: 0 2px 0 rgba(0,0,0,0.12);

  transition: .15s;
}

.nav-inner a:hover {
  transform: translateY(-1px);
}

/* =========================
   メイン
========================= */

.main,
.page-wrap,
.container {
  max-width: 1400px;
  margin: 34px auto 50px;
  padding: 0 14px;
}

/* =========================
   カード
========================= */

.card {
  margin-top: 26px;

  background: #fff;

  border: 1px solid #ddd;
  border-radius: 8px;

  padding: 30px;

  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.card h2 {
  margin: 0 0 22px;

  padding-bottom: 12px;

  border-bottom: 3px solid #9ec5e5;

  color: #4b9bd0;

  font-size: 34px;
  font-weight: bold;
}

.card h3 {
  margin: 32px 0 14px;

  padding-bottom: 8px;

  border-bottom: 1px solid #ddd;

  color: #444;

  font-size: 24px;
}

/* =========================
   共通フォーム
========================= */

label {
  display: block;
  margin: 14px 0 6px;
  font-weight: bold;
}

input,
select,
textarea {
  width: 100%;

  padding: 12px 14px;

  border: 1px solid #bbb;
  border-radius: 6px;

  background: #fff;

  font-size: 16px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #67b62f;
  box-shadow: 0 0 0 3px rgba(103,182,47,0.15);
}

/* =========================
   ボタン
========================= */

button {
  border-radius: 8px;

  background: linear-gradient(#ffffff,#f2f2f2);

  border: 1px solid #cfcfcf;

  box-shadow: 0 2px 0 rgba(0,0,0,0.10);

  color: #333;

  padding: 12px 18px;

  font-size: 16px;
  font-weight: bold;

  cursor: pointer;

  transition: .18s;
}

button:hover {
  background: linear-gradient(#ffffff,#ececec);

  transform: translateY(-2px);
}

button.secondary {
  background: linear-gradient(#ffffff,#f2f2f2);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* =========================
   メッセージ
========================= */

.loading {
  padding: 12px;

  background: #fff9e8;

  border: 1px solid #e0c978;
  border-radius: 8px;

  color: #6b5200;

  margin-bottom: 14px;
}

.error-box {
  background: #fff1f0;

  border: 1px solid #d66a5c;
  border-radius: 8px;

  padding: 14px;

  color: #8a2a1f;
}

.notice-box {
  margin-top: 24px;

  padding: 16px 18px;

  border-radius: 8px;

  background: #fff9e8;
  border: 1px solid #e0c978;

  color: #6b5200;

  line-height: 1.9;
}

/* =========================
   ポータル
========================= */

.staff-portal-header {
  margin-bottom: 26px;

  background: #fff;

  border: 1px solid #ddd;
  border-top: 8px solid #67b62f;
  border-radius: 8px;

  padding: 28px 30px;

  box-shadow: 0 2px 6px rgba(0,0,0,0.10);

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.portal-label {
  display: inline-block;

  margin-bottom: 8px;

  padding: 4px 10px;

  border-radius: 999px;

  background: #fff9e8;
  border: 1px solid #e0c978;

  color: #6b5200;

  font-size: 13px;
  font-weight: bold;
}

.staff-portal-header h1 {
  margin: 0 0 8px;

  font-size: 38px;
  line-height: 1.4;

  color: #222;
}

.staff-portal-header p {
  margin: 0;

  font-size: 17px;
  line-height: 1.8;

  color: #555;
}

.portal-status {
  min-width: 140px;

  text-align: center;

  background: #67b62f;
  color: #fff;

  padding: 10px 14px;

  border-radius: 6px;

  font-weight: bold;
}

/* =========================
   共通詳細
========================= */

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;

  margin: 18px 0 28px;
}

.summary-item {
  background: #fffdf7;

  border: 1px solid #e2d7b5;
  border-radius: 8px;

  padding: 14px;
}

.summary-label {
  font-size: 12px;
  color: #777;
  margin-bottom: 6px;
}

.summary-value {
  font-size: 17px;
  font-weight: bold;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;

  margin-top: 12px;
}

.detail-table th {
  width: 220px;

  background: #f3f6f8;

  border: 1px solid #ddd;

  padding: 10px;

  text-align: left;
  vertical-align: top;
}

.detail-table td {
  border: 1px solid #e5e5e5;

  padding: 10px;

  vertical-align: top;
}

.content-box {
  background: #fff9e8;

  border: 1px solid #e0c978;
  border-radius: 8px;

  padding: 18px;

  line-height: 1.9;

  color: #6b5200;

  white-space: pre-wrap;
}

/* =========================
   スマホ
========================= */

@media (max-width: 800px) {

  body {
    font-size: 18px;
  }

  .header-inner {
    display: block;
    text-align: center;
  }

  .logo {
    display: block;
    margin-bottom: 14px;
    font-size: 34px;
  }

  .nav-inner {
    display: block;
  }

  .nav-inner a {
    margin-bottom: 8px;
  }

  .summary-grid {
    grid-template-columns: 1fr;
  }

  .staff-portal-header {
    display: block;
    padding: 22px 18px;
  }

  .staff-portal-header h1 {
    font-size: 30px;
  }

  .portal-status {
    margin-top: 14px;
    width: 100%;
  }
}
/* =========================
   TOPメニュー
========================= */

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.menu-button {
  display: block;

  width: 100%;

  text-align: left;

  padding: 26px;

  border-radius: 8px;

  background: linear-gradient(#ffffff,#f2f2f2);

  border: 1px solid #ccc;

  box-shadow: 0 2px 0 rgba(0,0,0,0.12);

  transition: .2s;

  color: #333;
}

.menu-button:hover {
  background: linear-gradient(#ffffff,#f2f2f2);
  color: #333;
  transform: translateY(-2px);
}

.menu-button span {
  display: block;

  margin-top: 10px;

  font-size: 15px;
  line-height: 1.8;
  font-weight: normal;

  color: #555;
}

.menu-button:hover span {
  color: #555;
}

@media (max-width: 800px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}