@charset "UTF-8";
/* 変数定義 */
/* 基本設定 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.8;
  color: #343a40;
  margin: 0;
  padding: 0;
  font-feature-settings: "palt";
  font-kerning: normal;
}

main {
  max-width: 750px;
  margin: 30px auto;
  background-color: #ffffff;
  padding: 30px 50px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 8px;
}

a {
  color: #0abab5;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: #089a94;
  text-decoration: none;
}

/* セクション */
.content {
  margin-bottom: 60px;
}

.section__title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
  position: relative;
  padding-bottom: 15px;
}
.section__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #0abab5;
  border-radius: 2px;
}
.section__title span {
  display: block;
  font-size: 0.9em;
  line-height: 1.4;
}
.section__title span:first-child {
  font-size: 0.7em;
  color: #7f8c8d;
}
.section__paragraph {
  margin-bottom: 1.2em;
  font-size: 16px;
  text-align: justify;
}

/* グリッド */
.grid {
  display: flex;
  gap: 30px;
  align-items: center;
}
.grid__item-left, .grid__item-right {
  flex: 1;
}
.grid__item-left img, .grid__item-right img {
  display: block;
  width: 100%;
}

/* ナビゲーション */
.main-nav {
  margin-bottom: 50px;
}
.main-nav__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav__item a {
  display: block;
  padding: 10px 25px;
  font-weight: 600;
  color: #0abab5;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 50px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-decoration: underline;
}
.main-nav__item a:hover, .main-nav__item a:focus {
  color: #ffffff;
  background-color: #0abab5;
  border-color: #0abab5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* カード型リスト共通 */
.point,
.howto,
.faq,
.support {
  list-style: none;
  padding: 0;
}

.point__item,
.howto__item,
.faq__item,
.support__item {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.point__item:hover,
.howto__item:hover,
.support__item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.point__title,
.howto__title,
.faq__question,
.support__title {
  font-size: 19px;
  font-weight: 600;
  color: #0abab5;
  margin-top: 0;
  margin-bottom: 10px;
}

/* ポイント */
.point ul {
  padding-left: 20px;
  margin-top: 15px;
  color: #555;
}

/* 手順 */
.howto {
  counter-reset: howto-counter;
  position: relative;
  padding-left: 30px;
  border-left: 4px solid #eaf2ff;
  list-style: none;
}
.howto__item {
  position: relative;
  padding: 15px 20px 15px 40px;
  margin-bottom: 30px;
  background-color: #fdfdfd;
  border: 1px solid #dee2e6;
  border-radius: 8px;
}
.howto__item:last-child {
  margin-bottom: 0;
}
.howto__item::before {
  counter-increment: howto-counter;
  content: counter(howto-counter);
  position: absolute;
  left: -53px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: bold;
  color: #0abab5;
  background-color: #ffffff;
  border: 4px solid #eaf2ff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 31px;
  z-index: 1;
}
.howto__title {
  font-size: 18px;
  margin-bottom: 10px;
}
.howto__paragraph {
  font-size: 14px;
  text-align: justify;
  line-height: 1.6;
}

/* FAQ アコーディオン */
.faq__item.active .faq__question::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq__item.active .faq__answer {
  padding-top: 15px;
  max-height: 200px; /* 十分な高さを確保 */
}
.faq a {
  text-decoration: underline;
  color: #0abab5;
}
.faq__question {
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}
.faq__question::after {
  content: "+";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: #0abab5;
  transition: transform 0.3s ease;
}
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding-top 0.5s ease;
  padding-top: 0;
}

/* 注意書き */
.caution {
  background-color: #fff9e6;
  border: 1px solid #ffecb3;
  color: #8a6d3b;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 30px;
}

/* 助成金検索 */
.joseikin-search {
  margin-bottom: 30px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #f8f9fa;
  padding: 15px 10px;
  margin: 0 -20px 30px -20px; /* 左右のネガティブマージンで幅を広げる */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.joseikin-search__select {
  width: 100%;
  max-width: 400px;
  padding: 6px 15px;
  font-size: 16px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background-color: #ffffff;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23343a40' d='M6 9l-6-6h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}
.joseikin-search__select:focus {
  outline: none;
  border-color: #0abab5;
  box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.2);
}

.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.joseikin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 12px;
}
.joseikin-table a {
  text-decoration: underline;
  color: #0abab5;
}
.joseikin-table th,
.joseikin-table td {
  border: 1px solid #dee2e6;
  padding: 12px 15px;
  text-align: left;
  vertical-align: middle;
}
.joseikin-table thead {
  background-color: #f8f9fa;
}
.joseikin-table thead th {
  font-weight: 600;
  color: #343a40;
  text-align: center;
}
.joseikin-table tbody tr:nth-child(even) {
  background-color: #fdfdfd;
}
.joseikin-table tbody tr:hover {
  background-color: #f1f9f9;
}
.joseikin-table .area-name {
  font-weight: bold;
  color: #0abab5;
}
.joseikin-table .datsumo-cell {
  text-align: center;
  font-weight: bold;
  font-size: max(16px, 1.2vw);
  color: #0abab5;
  vertical-align: middle;
}
.joseikin-table .datsumo-cell.no::before {
  content: "―";
  color: #6c757d;
}

.button-area {
  text-align: center;
  margin: 40px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}
.button-area .btn {
  display: inline-block;
  padding: 15px 20px;
  width: 100%;
  max-width: 350px;
  background-color: #0abab5;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
  box-sizing: border-box;
}
.button-area .btn:hover {
  background-color: rgb(9, 167.4, 162.9);
}

.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 4;
}

.floating-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #0abab5;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}
.floating-btn:hover {
  background-color: #089a94;
  color: #ffffff;
}
.floating-btn.btn-top::before {
  content: "";
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}

/* ===============================================
// レスポンシブ対応
// =============================================== */
@media screen and (max-width: 768px) {
  body {
    -webkit-text-size-adjust: 100%; /* iOSでの文字サイズ自動調整を無効化 */
  }
  main {
    margin: 0;
    padding: 20px;
    border-radius: 0;
    box-shadow: none;
  }
  .section__title {
    font-size: 22px;
    margin-bottom: 25px;
  }
  /* グリッド */
  .grid {
    flex-direction: column;
    gap: 20px;
  }
  /* ナビゲーション */
  .main-nav__list {
    gap: 10px;
  }
  .main-nav__item a {
    padding: 8px 18px;
    font-size: 14px;
  }
  /* 助成金検索（固定表示） */
  .joseikin-search {
    position: sticky;
    top: 100px;
    z-index: 10;
    background-color: #f8f9fa;
    padding: 15px 10px;
    margin: 0 -20px 30px -20px; /* 左右のネガティブマージンで幅を広げる */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  /* FAQ */
  .faq__question {
    padding-right: 25px;
  }
  /* フローティングボタン */
  .floating-buttons {
    right: 15px;
    bottom: 15px;
  }
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 12px;
  }
}/*# sourceMappingURL=style.css.map */