#hpi-particles {
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: -100;
}

.f-icon {
  color: #0097b2;
  font-size: 1.4rem;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: none;
  border-radius: 5px;
  /* 角を丸くする */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* 軽いシャドウを追加 */
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
  background-color: #3067c2;
}

.btn-primary:hover {
  background-color: #4a85e1;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  background-color: #4a85e1;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:focus {
  outline: none;
}

.bg-main {
  background-image: url('../img/bg_main.png');
  text-align: center;
  height: 350px;
}

.bg-main-text {
  padding-top: 140px;
  position: relative;
  text-shadow: 0 3px 6px rgba(0, 0, 0, .45);
  font-size: 50px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
}

/*container */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  background-color: #FFFFFF;
  flex: 1;
}

.sample-img {
  width: 200px;
}

.sidebar {
  background-color: steelblue;
}

.sidebar-div {
  max-width: 200px !important;
  min-height: 100vh !important;
}

.youtube-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.youtube-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.profile {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6em;
}

.none-event {
  pointer-events: none;
}

.h2-gra {
  color: #fff;
  border-radius: 100vh;
  background-color: #0a405c;
}

.bg-notice {
  background-color: #FFF5CE;
}

.thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition-duration: 0.3s;
}

.fw-big-blue {
  font-weight: 600;
  font-size: 1.125rem;
  color: #FF0409;
}

.fw-small-black {
  font-size: 0.9rem;
  color: #000000;
}

.max-width-200p {
  max-width: 200px;
}

.href:hover {
  background: #e0e0e0;
  cursor: pointer;
}

.width-100p {
  width: 100px !important;
}

.width-max-700p {
  width: 700px !important;
}

.radius-30 {
  border-radius: 30px;
}

.img-link-parent:hover {
  background-color: #e0e0e0;
}

.img-link-parent:hover img {
  transform: scale(1.2, 1.2);
}

.a-noefect {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.a-noefect:focus {
  outline: none;
  /* デフォルトのフォーカスアウトラインを消す */
  color: inherit;
  /* フォーカス時も通常の色を維持する */
  background-color: inherit;
  /* 背景色も継承する */
  text-decoration: none;
  /* 下線を消す */
}

.a-notline {
  position: relative;
  color: inherit;
  text-decoration: none;
}

.a-notline::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #0097b2;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: center top;
  /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;
  /*変形の時間*/
}

.a-notline:hover {
  color: #0097b2 !important;
}

.a-notline:hover::after {
  transform: scale(1, 1);
  /*ホバー後、x軸方向に1（相対値）伸長*/
}

.hover-gray:hover {
  background-color: #e0e0e0 !important;
}

.top-image-div {
  text-align: center;
  width: 100%;
}

.top-images {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
}

.top-images li {
  flex: 0 0 100%;
}

.top-image {
  margin: auto;
  padding: 0px;
  height: 100%;
  object-fit: cover;
}

.ml-auto {
  margin-left: auto;
}

.item-center {
  justify-content: center;
  align-items: center;
}

.a-uline::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  /*  background: #ffffff;*/
  bottom: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.a-uline:hover::after {
  visibility: visible;
  bottom: 12px;
  opacity: 1;
}

.h-border {
  border-bottom: 3px solid #000;
}

.summary-wrap {
  padding: 30px 0 30px 0;
}

.summary-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #0097b2;
  letter-spacing: .2em;
}

.summary-list {
  border: 1px solid #0097b2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 20px 0;
  background-color: #fff;
  margin-top: 60px;
}

.summary-items {
  width: 31%;
  height: 113px;
  position: relative;
  padding: 63px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #0097b2;
  counter-increment: num;
  line-height: 1.77;
}

.summary-items:nth-child(-n + 3) {
  margin-bottom: 77px;
}

.summary-items:not(:nth-child(3n)):after {
  content: "";
  width: 1px;
  height: 100%;
  background-color: #E0D7C0;
  position: absolute;
  top: 19px;
  right: -17px;
}

.summary-items:before {
  content: counter(num);
  width: 69px;
  height: 69px;
  background-color: #fff;
  border: 1px solid #0097b2;
  border-radius: 50%;
  box-sizing: border-box;
  padding: 0 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -36px;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 32px;
  font-weight: 700;
  color: #0097b2;
}

.pj-item {
  margin-bottom: 24px;
  border: 2px solid #dddddd;
  border-radius: 5px;
}

.pj-item-img {
  width: 268px;
  overflow: hidden;
  flex-shrink: 0;
  height: 100%;
  padding: 1px;
}

.accent-color {
  color: #f39801 !important;
}

.section-title {
  width: 100%;
  display: inline-block;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin: 2rem auto 2rem auto;
  padding: 0.5rem 2rem;
  color: #0097b2;
  /* Bootstrap success color */
  border-radius: 45px;
}

.pj-type {
  padding: 0.25em;
  color: #ffffff;
  border-radius: 30px;
}

.bg-disabled {
  background-color: #555555;
}

.bg-active {
  background-color: #0097b2;
}

.pj-img {
  width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pj-info-area {
  font-family: 'Arial', sans-serif;
  line-height: 1.3;
  margin: auto;
  padding: 5px;
  font-size: 0.9em;
}

.pj-list-item {
  display: flex;
  margin: 8px 0;
  padding: 4px 0;
  border-bottom: 1px dashed #ccc;
}

.pj-item-title {
  font-size: 1rem;
  font-weight: bold;
  width: 220px;
  text-align: left;
}

.pj-item-value {
  font-size: 1rem;
  text-align: left;
}

.pj-item-area::after {
  content: "";
  display: table;
  clear: both;
}

.card-custom {
  border-radius: 30px;
}

.card-header-custom {
  border-radius: 30px 30px 0px 0px !important;
  background-color: #1a55b1;
  color: white;
}

.card-img-top {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.img-300h {
  height: 300px;
  width: auto;
}

.link-custom {
  color: #000000;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
}

.link-custom:hover {
  font-size: 1.3rem;
  color: #276749;
}

.input-wrapper {
  max-width: 400px;
  margin: 0 auto;
}

.input-section {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.input-section-header {
  background-color: #0097b2;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.input-section-body {
  padding: 1.25rem;
}

/* スピナーのスタイル */
.spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 3rem;
  height: 3rem;
  margin-top: -1.5rem;
  margin-left: -1.5rem;
  border: 0.5rem solid rgba(0, 0, 0, 0.1);
  border-top: 0.5rem solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1050;
}

/* オーバーレイのスタイル */
.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
}

.error-msg {
  display: block;
  color: #dc3545;
  font-size: 1.1rem;
}

.input-label {
  display: block;
  margin-bottom: 1px;
  position: relative;
  padding-left: 10px;
  font-size: 1.1rem;
}

.input-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #0097b2;
}

.favorite-item {
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  text-align: right;
  top: 10px;
  right: 10px;
  z-index: 1000;
}

.favorite-icon {
  display: flex;
  align-items: center;
  font-size: 1em;
  color: #e67e22;
}

.favorite-icon .star {
  font-size: 1.5em;
  margin-right: 5px;
}

.btn-favorite {
  background-color: #e67e22;
}

table th,
table td {
  white-space: nowrap;
  padding: 1px;
}

thead th {
  position: sticky !important;
  top: 0;
  background-color: #ffffff !important;
  /* ヘッダーの背景色を白に設定 */
  z-index: 1000;
  /* Zインデックスを高く設定 */
  border-bottom: 2px solid #dee2e6;
  /* 境界線を追加して視覚的に分離 */
}

.table-card {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

/* ステップインジゲータ start */
.stepper-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 0 10px;
  position: relative;
}

.stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  flex: 1;
}

.stepper-item .step-counter {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #6c757d;
  color: white;
  font-weight: bold;
  z-index: 1;
}

.stepper-item.active .step-counter {
  background-color: #0097b2;
}

.stepper-item .step-name {
  margin-top: 10px;
  color: #6c757d;
}

.stepper-item.active .step-name {
  color: #0097b2;
}

.stepper-line {
  flex: 1;
  height: 2px;
  background-color: #ced4da;
  position: relative;
  top: -15px;
  margin-left: -100px;
  margin-right: -100px
    /* ステップカウンターの中心に合わせる */
}

.stepper-item.active+.stepper-line {
  background-color: #0097b2;
}

/* ステップインジゲータ end */

.user-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  max-height: 400px;
  height: auto;
  z-index: 1000;
  opacity: 1;
  /*  opacity: 0;*/
  transition: opacity 0.5s ease-in-out;
}

/*.user-header.visible {*/
/*  opacity: 1;*/
/*}*/

.bg-second {
  background-color: #f5f0ea;
}

.img-box {
  position: relative;
  /* オーバーレイのために必要 */
  overflow: hidden;
  /* オーバーレイを要素にフィットさせる */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: white;
  transition: margin 0.3s ease, transform 0.3s ease;
}

.img-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
}

.img-box .icon,
.img-box h4,
.img-box p {
  position: relative;
  z-index: 2;
}

.bg-opacity {
  background-color: transparent;
  color: black;
}

.thinking-area {
  padding: 10px;
  text-align: center;
  background-color: #1a1d7a;
  color: #ffffff;
  font-weight: bold;
}

.thinking-l {
  position: relative;
  margin: 2em 0 2em 40px;
  padding: 15px;
  color: #1a1d7a;
  background-color: #ffffff;
  border-radius: 30px;
}

.thinking-l:before {
  content: "";
  position: absolute;
  left: -38px;
  width: 13px;
  height: 12px;
  bottom: 0;
  color: #1a1d7a;
  background-color: #ffffff;
  border-radius: 50%;
}

.thinking-l:after {
  content: "";
  position: absolute;
  left: -24px;
  width: 20px;
  height: 18px;
  bottom: 3px;
  color: #1a1d7a;
  background-color: #ffffff;
  border-radius: 50%;
}

.thinking-r {
  position: relative;
  margin: 2em 0 2em 40px;
  padding: 15px;
  color: #1a1d7a;
  background-color: #ffffff;
  border-radius: 30px;
}

.thinking-r:before {
  content: "";
  position: absolute;
  right: -38px;
  width: 13px;
  height: 12px;
  bottom: 0;
  color: #1a1d7a;
  background-color: #ffffff;
  border-radius: 50%;
}

.thinking-r:after {
  content: "";
  position: absolute;
  right: -24px;
  width: 20px;
  height: 18px;
  bottom: 3px;
  color: #1a1d7a;
  background-color: #ffffff;
  border-radius: 50%;
  border-radius: 50%;
}

@media (min-width: 721px) {
  .thinking-r {
    left: 80px;
  }

  .thinking-l {
    right: 80px;
  }
}

@media (max-width: 720px) {

  .thinking-r,
  .thinking-l {
    font-size: 0.9rem;
    margin: 0;
    padding: 5px;
    max-width: calc(100% - 20%);
    box-sizing: border-box;
  }

  .thinking-r {
    margin-left: auto !important;
  }

  .thinking-r:before,
  .thinking-l:before,
  .thinking-r:after,
  .thinking-l:after {
    display: none !important;
  }
}

.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 2s ease-in-out, transform 2s ease-in-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.js-delayed {
  background-color: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

a.card-link {
  color: inherit;
  /* 親要素の色を継承 */
  text-decoration: none;
  /* 下線をなくす */
  display: block;
  /* ブロック要素として扱う */
}

a.card-link:hover {
  text-decoration: none;
  /* ホバー時の下線もなくす */
}

.card-link {
  transition: transform 0.2s;
  /* カード全体にホバーエフェクトを追加 */
}

.card-link:hover {
  transform: translateY(-10px);
  /* ホバー時に少し浮かせる */
}

.fit-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.top-section {
  border-radius: 0 0 0 20px;
  background-color: #1a55b1;
  height: 165px;
  display: flex;
  align-items: flex-end;
  padding-left: 50px;
  padding-bottom: 20px;
  box-sizing: border-box;
  margin-left: 50px;
  margin-bottom: 80px;
}

.top-title {
  color: #ffffff;
  /* テキストの色を白に設定 */
  font-size: 36px;
  /* フォントサイズ */
  margin: 0;
  font-weight: bold;
  /* 太字に設定 */
}

.container-siteitem {
  max-width: 1000px;
}

.user-footer {
  background-color: #fafafa;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
}