/*********************************************************/
/* Navigation Bar                                        */
/*********************************************************/
.navbar .nav-link {
  color: rgb(255, 255, 255, 1) !important;
  font-size: 15px;
  font-weight: 800;
  text-shadow: 1px 1px 0 rgba(60, 60, 60, 0.7),
    /* 右下 */ -1px 1px 0 rgba(60, 60, 60, 0.7),
    /* 左下 */ 1px -1px 0 rgba(60, 60, 60, 0.7),
    /* 右上 */ -1px -1px 0 rgba(60, 60, 60, 0.7); /* 左上 */
}

/* Dropdown styles */
.dropdown-menu {
  background-color: #f8f9fa;
  border: none;
  border-radius: 0; /* 角をなくす */
  box-shadow: none; /* 影は不要なら消す */
  margin-top: 0.5rem; /* 少し間をあける */

  /* animation */
  opacity: 0;
  transform: translateY(10px); /* 下から少しスライド */
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.dropdown-item {
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 800;
  text-shadow: 1px 1px 0 rgba(60, 60, 60, 0.7),
    -1px 1px 0 rgba(60, 60, 60, 0.7),
    1px -1px 0 rgba(60, 60, 60, 0.7),
    -1px -1px 0 rgba(60, 60, 60, 0.7);
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
}
/* ドロップダウンのキャレットの枠線の色を変更 */
.nav-link.dropdown-toggle::after {
  /* display: inline-block; */
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid #c5c5c5; /* 枠線の色を設定 */
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
  border-bottom: 0; /* 下の枠線はなし */
}
/* ドロップダウンのキャレットがホバー時に変わるようにする */
.nav-link.dropdown-toggle:hover::after {
  border-top-color: #ff5733; /* ホバー時の枠線の色（例：赤） */
}

/*********************************************************/
/* Top Section                                           */
/*********************************************************/
.top-section {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 3em 1em;
}
/* .logo { // 20250505
  max-width: 50%;
  min-width: 400px;
  height: auto;
} */
.logo {
  max-width: 100%;
  width: auto;
  height: auto;
}
.top-font-jp {
  font-family: "Kosugi Maru", sans-serif;
}
.top-font-zh {
  font-family: "Kosugi Maru", sans-serif;
}
.top-font-en {
  font-family: "Open Sans", sans-serif;
}
.pink-text {
  color: #feabc5;
}
.blue-text {
  color: #262865;
}


/*********************************************************/
/* Service Section                                       */
/*********************************************************/
.service-section {
  background-color: #262865ff;
  padding: 5em 1em;
  position: relative;
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); /* 上端を斜めに */
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 94%); /* 下端を斜めに */
}
.services-title {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin-bottom: 10px;
}
.service-card {
  width: 100%;
  max-width: 220px;
  height: 300px;
  background: linear-gradient(white 39%, #1d1d53 39%, #1d1d53 41%, #feabc5ff 0%);
  border-radius: 0px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 20px auto;
}
.service-circle {
  width: 150px;
  height: 150px;
  background-color: white;
  border-radius: 70%;
  border: 15px solid #262865ff;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}
.service-circle img {
  width: 80%;
  height: 80%;
}
.service-text-card {
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 50px;
  z-index: 1;
}
@media (max-width: 768px) {
  .service-card {
    max-width: 200px;
    height: 300px;
  }
  .service-circle {
    width: 120px;
    height: 120px;
    border: 10px solid #262865ff;
    top: 40px;
  }
}
@media (max-width: 576px) {
  .service-card {
    max-width: 170px;
    height: 240px;
  }
  .service-circle {
    width: 100px;
    height: 100px;
    border: 8px solid #262865ff;
    top: 30px;
  }
}

.service-background-filler {
  background-color: #feabc5ff; /* news-section と同じ色 */
  height: 80px; /* 境界の高さ調整。必要に応じて変更 */
  margin-top: -60px; /* 被せて段差を埋める */
  z-index: -1;
  position: relative;
}


/*********************************************************/
/* News Section                                          */
/*********************************************************/
.news-section {
  color: #262865;
  font-family: "Open Sans", sans-serif;
  font-weight: 600; /* フォントの太さ */
  background-color: #feabc5ff;
  padding: 3em 1em;
  clip-path: polygon(0 -2%, 100% 0, 100% 90%, 0 100%);
}
.news-title {
  font-size: 2rem;
  font-weight: bold;
  color: #262865ff;
  margin-bottom: 20px;
}
.news-date {
  margin-left: 1em;
  width: auto;
  min-width: 70px;
}
.news-text {
  margin-left: 0;
}
.news-text a {
  color: #08a3a3;
}

@media (max-width: 576px) {
  .news-date {
    font-size: 0.85rem;
    flex: 0 0 110px; 
  }
  .news-text {
    font-size: 0.85rem;
    flex: 1;
  }
}

@media (min-width: 1200px) {
  .news-date {
      font-size: 1.1rem;
      flex: 0 0 140px; 
  }
  .news-text {
    font-size: 1.1rem;
    max-width: 755px;  
    flex: 1;
  }
}

/*********************************************************/
/* Contact Section                                       */
/*********************************************************/
.contact-section {
  text-align: center;
  margin: 50;
  padding: 10em 0;
}
.contact-title {
  font-size: 2rem;
  font-weight: bold;
  color: #232a5c;
  margin-bottom: 10px;
}
.contact-icon {
  width: 48px;
  height: auto;
}
.contact-email {
  font-size: 1.5rem;
  color: #3a3a3a;
  text-decoration: underline;
}


/*********************************************************/
/* Fotter                                                */
/*********************************************************/
footer {
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  color: gray;
  text-align: center;
  position: relative;
  width: 100%;
  padding-bottom: 400px;
  bottom: 0;
}


/*********************************************************/
/* Utilities                                             */
/*********************************************************/
.display-none {
  display: none;
}

/****** --- 未使用 --- ******/
.dropdown-toggle-transparent {
  background-color: transparent;
  border: 1px solid #6c757d; /* 元のボタンの枠線の色と同じに設定 */
  box-shadow: none; /* ボックスシャドウを削除 */
}
.dropdown-toggle-transparent:hover,
.dropdown-toggle-transparent:focus {
  background-color: transparent;
  box-shadow: none; /* フォーカス時のボックスシャドウを削除 */
}
