/*=================================================
 * 1. 基本設定・全体
 *================================================= */
body{
  font-family: Arial;
  margin: 15mm 10mm;
}

/*=================================================
 * 2. 見出し・テキスト
 *================================================= */
h1{
  font-size: 20pt;
  margin-bottom: 10px;
  text-align: center;
}
h2{
  font-size: 18pt;
  margin-bottom: 10px;
  text-align: center;
}
p{
  font-size: 12pt;
}

/*=================================================
 * 3. ボタン・UI
 *================================================= */
.list{
  list-style: none;
  padding: 0;
  margin: 0;
}
.list li{
  display: flex;
  align-items: center;
  min-height: 60px;
  font-size: 16pt;
  padding: 12px 0;
}
.list .th{
  width: 80px;
  flex-shrink: 0;
}
.list .td{
  flex: 1;
}
.answer{
  color: #b00000;
  font-weight: bold;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.breadcrumb{
  list-style: none;
  padding: 8px 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
}
.breadcrumb li + li::before{
  content: "＞";
  margin: 0 6px;
  color: #999;
}
.breadcrumb li a{
  color: #0044aa;
  text-decoration: none;
}
.breadcrumb li a:hover{
  text-decoration: underline;
}
.breadcrumb li[aria-current="page"]{
  color: #003366; font-weight: bold;
}
.date-underline{
  display: inline-block;
  border-bottom: 2px solid #000;
  width: 150px;
  padding-bottom: 2px;
}
.category{
  color:#00008b;
  font-size:24px;
  font-weight:bold;
  padding:10px;
  border:3px solid #00008b;
  border-style: solid hidden;
  background-color:#f0f8ff;
}
#printBtn{
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  font-size: 18pt;
  background: #000066;
  color: #fff;
  border: 2px solid #000066;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 4px 4px 3px #666666;
  transition: 0.3s;
}
#printBtn:hover {
  background: #fff;
  color: #000066;
  box-shadow: none;
}
.button,
input[type="submit"]{
  display: inline-block;
  background:#000066;
  color:#fff;
  padding: 10px 24px;
  border-radius: 6px;
  border:2px solid #000066;
  text-decoration: none;
  cursor: pointer;
  box-shadow:0 2px 6px rgba(0,0,0,0.15);
  transition: .3s;
}
.button:hover,
input[type="submit"]:hover{
  background: #fff;
  color: #000066;
  box-shadow: none;
}
.button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 10px;
}
.button-accordion-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}
.nav-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 1.5em;
  margin-top: 2em;
  background: #f0f8ff;
  border-radius: 6px;
}
.unit-card {
  background-color: #f0f8ff;
  margin-bottom: 1.5em;
  padding: 1em;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin: 10px;
}
.accordion {
  color: #00008b;
  background-color: #f0f8ff;
  font-size: 24px;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition:
    background-color 0.3s,
    color 0.3s;
}
.accordion::after {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-left: 12px;
  flex-shrink: 0;
}
.accordion[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}
.accordion:hover {
  color: white;
  background-color: #00008b;
}
.panel {
  padding: 10px 16px;
  background: #f0f8ff;
  overflow: hidden;
  border-radius: 0 0 5px 5px;
}
[hidden] {
  display: none !important;
}
.unit-title {
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
  color: #222;
  text-shadow: 1px 1px 2px #ccc;
  border-bottom: 2px solid #ccc;
  padding-bottom: 6px;
}
#search-input {
  padding: 10px;
  font-size: 16px;
  margin-bottom: 20px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
#search-results {
  list-style: none;
  padding: 0;
  margin: 0;
}
#search-results li a {
  text-decoration: none;
  color: #007acc;
}
.result-card {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}
.result-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.form-group {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
}
.form-group label {
  margin-bottom: 6px;
  font-weight: 600;
}
.comment-box {
  width: 100%;
  height: 90px;
}
.form-message {
  color: green;
  margin-top: 10px;
}
.required {
  color: #d00;
  font-weight: bold;
}
.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.faq-question {
  padding: 12px;
  background: #f7f7f7;
  font-weight: bold;
}
.faq-answer {
  margin-top: 8px;
}
@media print{
  @page {
    margin: 10mm;
  }
  header,
  nav,
  aside,
  footer,
  #printBtn,
  ins.adsbygoogle,
  main > section {
    display: none !important;
  }
  body {
    margin: 0;
    padding: 0;
  }
  main,
  article {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-break {
    break-before: page;
  }
}
