/* Base Styles */
html {
  font-size: 62.5%;
}
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #333333;
  background-color: #f5f7fa;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Main Visual */
.mv {
  background: linear-gradient(135deg, #00838f 0%, #26a69a 100%);
  padding: 4rem 2rem;
  text-align: center;
}
.mv.-page_type03 .mv__wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.mv.-page_type03 .mv__title h2 {
  color: #ffffff;
}
.mv.-page_type03 .mv__title .mv__title_jp {
  display: block;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.mv.-page_type03 .mv__title .mv__title_en {
  display: block;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  opacity: 0.8;
}

/* Section */
section {
  padding: 3rem 0;
}

/* Contents Block */
.contents-block {
  margin-bottom: 2rem;
}
.contents-block.-wide {
  margin-bottom: 3rem;
}

/* Title Styles */
h2.title {
  font-size: 2.4rem;
  font-weight: bold;
  color: #00838f;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid #00838f;
}
h2.title::before {
  content: attr(data-en);
  display: block;
  font-size: 1.2rem;
  color: #999999;
  font-weight: normal;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
h2.title span {
  display: block;
}

h3.title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333333;
  padding: 1rem 1.5rem;
  background-color: #e8eef5;
  border-left: 4px solid #00838f;
  margin-bottom: 1.5rem;
}
h3.title span {
  display: block;
}

/* Row & Column Layout */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1.5rem;
  margin-bottom: 2rem;
}
.row.-gap30 {
  margin: 0 -1.5rem 2rem;
}
.row .col {
  flex: 1;
  padding: 0 1.5rem;
  min-width: 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background-color: #00838f;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn:hover {
  background-color: #006064;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 131, 143, 0.3);
}
.btn.-pdf {
  background-color: #c41e3a;
}
.btn.-pdf:hover {
  background-color: #a01830;
}
.btn.-white {
  background-color: #ffffff;
  color: #00838f;
}
.btn.-white:hover {
  background-color: #f0f0f0;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Result Table */
.result-table {
  margin-top: 3rem;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.result-table + .result-table {
  margin-top: 3rem;
}
.result-table h4 {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00838f;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e8eef5;
}
.result-table table {
  width: 100%;
}
.result-table table thead th {
  color: #ffffff;
  background-color: #00838f;
  padding: 1.2rem 1rem;
  vertical-align: middle;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
}
.result-table table tbody td {
  vertical-align: middle;
  border: solid 1px #e0e0e0;
  padding: 1rem;
  text-align: center;
  background-color: #ffffff;
}
.result-table table tbody tr:nth-child(even) td {
  background-color: #f8fafc;
}
.result-table table tbody td a {
  color: #00838f;
  text-decoration: underline;
}
.result-table table tbody td a:hover {
  text-decoration: none;
}
.result-table table tbody td.link-pdf {
  padding: 0.75rem;
}
.result-table table tbody td.link-pdf a {
  display: inline-block;
}
.result-table table tbody td.link-pdf a img {
  width: 40px;
  height: auto;
  transition: transform 0.2s ease;
}
.result-table table tbody td.link-pdf a:hover img {
  transform: scale(1.1);
}
.result-table table tbody td.has-icon {
  padding: 0.75rem;
}
.result-table table tbody td.has-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
}
.result-table table tbody td.has-icon a img {
  width: 40px;
  height: auto;
}
.result-table table tbody tr.row-total td {
  background-color: #e8eef5;
  font-weight: bold;
}
.result-table table.table_single-color tbody td {
  background-color: #ffffff;
}
.result-table table.table_single-color tbody tr:nth-child(even) td {
  background-color: #ffffff;
}

/* Header */
header {
  padding: 2rem 0;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
header #logo {
  text-align: center;
}
header #logo h1 {
  display: inline-block;
}
header #logo h1 img {
  max-width: 280px;
  height: auto;
}
header #logo .header-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #00838f;
  margin-top: 1.2rem;
  letter-spacing: 0.1em;
}

/* Breadcrumb */
.breadcrumb {
  background-color: #ffffff;
  padding: 1.2rem 0;
  border-bottom: 1px solid #e0e0e0;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumb ol li {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  color: #666666;
}
.breadcrumb ol li:not(:last-child)::after {
  content: ">";
  margin-left: 0.5rem;
  color: #999999;
}
.breadcrumb ol li a {
  color: #00838f;
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumb ol li a:hover {
  color: #006064;
  text-decoration: underline;
}
.breadcrumb ol li span {
  color: #333333;
}

@media screen and (max-width: 768px) {
  .breadcrumb {
    padding: 1rem 0;
  }
  .breadcrumb ol li {
    font-size: 1.2rem;
  }
}

/* Footer */
footer {
  padding: 3rem 0;
  background-color: #00838f;
  margin-top: 5rem;
}
footer .footer-inner {
  text-align: center;
}
footer .footer-btn {
  margin-bottom: 2rem;
}
footer .footer-link {
  margin-bottom: 1.5rem;
}
footer .footer-link a {
  color: #ffffff;
  text-decoration: underline;
  font-size: 1.4rem;
  transition: opacity 0.3s ease;
}
footer .footer-link a:hover {
  opacity: 0.8;
  text-decoration: none;
}
footer .copyright {
  color: #ffffff;
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Error Message */
.error-message {
  padding: 2rem;
  background-color: #fff3f3;
  border: 1px solid #ffcccc;
  border-radius: 4px;
  color: #c41e3a;
  text-align: center;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .mv.-page_type03 .mv__title .mv__title_jp {
    font-size: 2.4rem;
  }

  h2.title {
    font-size: 2rem;
  }

  h3.title {
    font-size: 1.6rem;
  }

  .row.-sp_column {
    flex-direction: column;
  }
  .row.-sp_column .col {
    margin-bottom: 2rem;
  }
  .row.-sp_column .col:last-child {
    margin-bottom: 0;
  }

  .btn {
    display: block;
    width: 100%;
  }

  .result-table {
    padding: 1.5rem;
    margin-top: 2rem;
    overflow-x: auto;
  }
  .result-table h4 {
    font-size: 1.6rem;
  }
  .result-table table {
    min-width: 600px;
  }
  .result-table table thead th {
    font-size: 1.2rem;
    padding: 1rem 0.5rem;
  }
  .result-table table tbody td {
    font-size: 1.3rem;
    padding: 0.8rem 0.5rem;
  }

  header #logo h1 img {
    max-width: 200px;
  }
  header #logo .header-title {
    font-size: 1.8rem;
  }

  section {
    padding: 2rem 0;
  }
}

/* Utility */
.text-center {
  text-align: center;
}
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
