@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap");
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #fff;
  margin: 0;
  min-height: 100vh;
  border-top: 15px solid #4ecdc4;
  border-bottom: 15px solid #4ecdc4;
}

.main-container {
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 750px) {
  .main-container {
    padding: 20px;
  }
}

.top-image {
  width: 60%;
  margin: 0 auto 40px;
  max-width: 500px;
}
@media (max-width: 750px) {
  .top-image {
    width: 80%;
    margin-bottom: 20px;
  }
}

h1 {
  font-size: 3rem;
  font-family: "Zen Maru Gothic", sans-serif;
}
@media (max-width: 750px) {
  h1 {
    font-size: 2.5rem;
  }
}

.colorful-title span {
  display: inline-block;
}
.colorful-title span:nth-child(1) {
  color: #ff6b6b;
}
.colorful-title span:nth-child(2) {
  color: #4ecdc4;
}
.colorful-title span:nth-child(3) {
  color: #ffbc42;
}
.colorful-title span:nth-child(4) {
  color: #a55eea;
}
.colorful-title span:nth-child(5) {
  color: #20bf6b;
}
.colorful-title span:nth-child(6) {
  color: #eb3b5a;
}
.colorful-title span:nth-child(7) {
  color: #45aaf2;
}

h2 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  border-bottom: 1px solid #4ecdc4;
  padding-bottom: 15px;
  font-family: "Zen Maru Gothic", sans-serif;
}

.intro-text {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #333;
}

.nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 25px;
  margin-top: 20px;
}

.nav-card {
  display: block;
  text-decoration: none;
  padding: 2rem;
  border-radius: 25px;
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  border: 3px solid transparent;
  background-color: #fff;
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.nav-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
}
.nav-card:hover {
  -webkit-transform: translateY(-5px) scale(1.02);
          transform: translateY(-5px) scale(1.02);
  -webkit-box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
          box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}
@media (max-width: 750px) {
  .nav-card {
    padding: 1.5rem;
  }
}
.nav-card.parent-link {
  border-color: #e3f2fd;
}
.nav-card.parent-link::before {
  background-color: #3498db;
}
.nav-card.parent-link .link-title {
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}
@media (max-width: 750px) {
  .nav-card.parent-link .link-title {
    font-size: 1.3rem;
  }
}
.nav-card.parent-link .link-desc {
  color: #5d6d7e;
  font-size: 1rem;
}
.nav-card.parent-link:hover {
  background-color: #f0f8ff;
  border-color: #3498db;
}
.nav-card.child-link {
  border-color: #fff3e0;
}
.nav-card.child-link::before {
  background-color: #ffa500;
}
.nav-card.child-link .link-title {
  color: #d35400;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}
@media (max-width: 750px) {
  .nav-card.child-link .link-title {
    font-size: 1.3rem;
  }
}
.nav-card.child-link .link-desc {
  color: #8a6d3b;
  font-size: 1rem;
}
.nav-card.child-link:hover {
  background-color: #fffaf0;
  border-color: #ffa500;
}

.sub-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  padding-top: 30px;
  border-top: 1px dashed #ecd9cc;
}

.sub-link-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  color: #444;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
  text-align: left;
  line-height: 1.4;
}
.sub-link-btn::after {
  content: "›";
  margin-left: auto;
  font-size: 1.5rem;
  color: #adb5bd;
}
.sub-link-btn:hover {
  background-color: #fff;
  border-color: #4ecdc4;
  color: #4ecdc4;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  -webkit-transform: translateX(5px);
          transform: translateX(5px);
}
.sub-link-btn:hover::after {
  color: #4ecdc4;
}
@media (max-width: 750px) {
  .sub-link-btn {
    font-size: 0.85rem;
    padding: 12px 15px;
  }
}

ruby rt {
  font-size: 0.6em;
  color: #666;
}

footer {
  text-align: center;
  padding: 30px;
  color: #888;
  font-size: 0.9rem;
}
@media (max-width: 750px) {
  footer {
    padding: 20px;
  }
}/*# sourceMappingURL=portal_top.css.map */