@charset "UTF-8";

/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
  --primary-color: #0c3359;
  --primary-hover: #082440;
  --secondary-color: #eef3f8;
  --text-main: #222222;
  --text-muted: #555555;
  --border-color: #dcdcdc;
  --accent-red: #c0392b;
  --bg-main: #f4f6f9;
  --card-bg: #ffffff;
  --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.8;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 16px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.logo-sub {
  font-size: 0.8rem;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

.logo-main {
  font-size: 1.3rem;
  font-weight: bold;
  letter-spacing: 0.05em;
	
}

.btn-print {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-print:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.notice-card {
  background: var(--card-bg);
  padding: 48px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

/* Metadata */
.notice-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.publish-date {
  font-weight: bold;
  color: var(--text-muted);
}

.category-badge {
  background-color: var(--accent-red);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 3px;
}

/* Title & Lead */
.notice-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 12px;
  margin-bottom: 24px;
  line-height: 1.4;
}

.notice-lead {
  background-color: #fafafa;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
  font-size: 0.95rem;
  color: #333333;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  margin-bottom: 44px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  padding: 10px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.section-title .num {
  background-color: var(--primary-color);
  color: #ffffff;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.95rem;
}

.section-intro {
  margin-bottom: 16px;
}

/* Sub sections */
.sub-section {
  margin-top: 16px;
  margin-bottom: 20px;
  padding: 16px 20px;
  background-color: #fdfdfd;
}

.sub-section.border-left {
  border-left: 4px solid var(--primary-color);
  background-color: #f8fafc;
}

.sub-title {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

/* Section 2: Target List */
.target-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.target-list > li {
  background-color: #fcfcfc;
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: 6px;
}

.target-list strong {
  color: var(--primary-color);
  display: block;
  font-size: 1.05rem;
}

.list-detail {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Section 3: Step List & Methods */
.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-list > li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  background-color: var(--card-bg);
  color: #000000;
  font-weight: bold;
  border-radius: 4px;
  padding: 0 0 8px 2em;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0;
}

.step-content {
  flex-grow: 1;
}

.apply-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.method-card {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 20px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.method-title {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 6px;
}

.btn-link {
  display: inline-block;
  text-align: center;
  background-color: var(--primary-color);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9rem;
  margin-top: 16px;
  transition: background-color 0.2s;
}

.btn-link:hover {
  background-color: var(--primary-hover);
}

.btn-link.secondary {
  background-color: #ffffff;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-link.secondary:hover {
  background-color: var(--secondary-color);
}

/* Section 4: Alert Box */
.alert-box {
  background-color: #fff5f5;
  border: 1px solid #f5c6cb;
  border-left: 6px solid var(--accent-red);
  padding: 20px;
  border-radius: 4px;
}

.alert-title {
  font-weight: bold;
  color: var(--accent-red);
  font-size: 1.1rem;
}

.alert-desc {
  color: var(--accent-red);
  margin-top: 6px;
  font-size: 0.95rem;
}

/* Section 5: Contact Box */
.contact-box {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 24px;
  margin-top: 16px;
}

.contact-dept {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.contact-phone {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.contact-phone a {
  color: var(--text-main);
  text-decoration: none;
}

.contact-hours {
  font-size: 0.95rem;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.contact-note {
  margin-top: 6px;
  color: var(--accent-red);
  font-size: 0.9rem;
}

/* Privacy Box */
.privacy-box {
  margin-top: 40px;
  padding: 16px 20px;
  background-color: #f4f4f4;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #444444;
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  text-align: center;
  padding: 30px 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive & Print Styles
   ========================================================================== */
@media (max-width: 768px) {
  .notice-card {
    padding: 24px;
  }

  .apply-methods {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
  }

  .notice-title {
    font-size: 1.4rem;
  }
}

@media print {
  body {
    background-color: #ffffff;
    color: #000000;
  }

  .header, .footer, .btn-print, .btn-link {
    display: none !important;
  }

  .main {
    margin: 0;
    padding: 0;
    max-width: 100%;
  }

  .notice-card {
    box-shadow: none;
    border: none;
    padding: 0;
  }

  .section-title {
    background-color: #eeeeee !important;
    -webkit-print-color-adjust: exact;
  }
}
.counter {
  opacity: 0;
  margin: 0 auto;
  width: 112px;
  height: 16px;
}