/* ==============================
   Header
   ============================== */
.header-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-width: 980px;
  width: 100%;
  margin: 0 auto;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-block img {
  max-width: 100%;
  height: auto;
  margin-right: 20px;
}

.header-links {
  display: flex;
  justify-content: flex-end;
}

.header-links a {
  margin-left: 30px;
  color: #000;
}

.header-container {
  margin-top: 70px; /* ヘッダー高さ考慮 */
}

.anchor-offset {
  display: block;
  padding-top: 50px;
  margin-top: -50px;
}

/* ==============================
   Body / Background
   ============================== */
body {
  min-width: 980px;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("back.png") repeat;
  background-size: 50px;
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

/* ==============================
   Containers
   ============================== */
.container {
  min-width: 1000px;
}

.my-container {
  width: 600px;
  margin: 0 auto;
  text-align: left;
}

.header-container img {
  width: 100%;
}

.text-container {
  text-align: center;
  margin-top: 20px;
}

/* ==============================
   Text Styles
   ============================== */
.big-text {
  font-size: 2em;
  font-weight: bold;
  margin-top: 100px;
}

.hedding-text {
  margin-top: 100px;
  font-size: 2em;
  text-align: center;
}

.medium-text {
  font-size: 1.5em;
  margin-top: 30px;
}

.small-text {
  font-size: 1em;
  margin-top: 30px;
}

.vary-small-text {
  font-size: 0.8em;
  margin-top: 4px;
  text-align: center;
  color: darkgray;
}

/* ==============================
   Tables
   ============================== */
.info-table,
.subsidy-table,
.member-table {
  border-collapse: collapse;
  margin: 20px auto 0;
}

.info-table {
  width: 50%;
}

.subsidy-table {
  width: 80%;
}

.member-table {
  width: 40%;
}

.info-table th,
.info-table td,
.subsidy-table th,
.subsidy-table td,
.member-table th,
.member-table td {
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.info-table tr,
.subsidy-table tr {
  border-top: 1px solid #ccc;
}

.info-table tr:last-child,
.subsidy-table tr:last-child {
  border-bottom: 1px solid #ccc;
}

.info-table th {
  width: 140px;
}

.subsidy-table th {
  width: 180px;
}

.table-text {
  font-size: 16px;
  color: #000;
  margin-left: 16px;
}

/* ==============================
   Layout Blocks
   ============================== */
.content-container {
  display: flex;
  margin-top: 20px;
}

.left-block {
  flex: 1;
  padding: 10px;
}

.right-block {
  flex: 2;
  padding: 10px;
}

.left-content {
  text-align: center;
  margin-bottom: 20px;
}

.left-content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.left-content .medium-text {
  font-size: 1.5em;
}

.left-content .small-text {
  font-size: 1em;
  color: gray;
}

.right-content {
  text-align: center;
}

.full-width-block {
  width: 100%;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
}

.inner-block {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
}

.form-container {
  max-width: 600px;
  margin: 50px auto 0;
  padding: 20px;
}

/* ==============================
   Navbar
   ============================== */
.navbar {
  background-color: #f2f2f2;
}

.navbar-nav .nav-link {
  color: #000;
}

/* ==============================
   Footer
   ============================== */
.footer {
  margin-top: 30px;
  width: 100%;
  padding: 6px 0;
  text-align: center;
  font-size: 16px;
  color: #666;
  background-color: #f2f2f2;
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 991px) {
  .navbar-collapse {
    display: flex !important;
    flex-basis: 100%;
    justify-content: center;
  }

  .navbar-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-basis: 100%;
  }

  .navbar-nav .nav-item {
    float: none;
  }
}
