@charset "UTF-8";


/*  tailwind CSS  */

.page-main {
  max-width: 1100px;

  margin-left: auto;
  margin-right: auto;

  padding-left: 1.5rem;
  padding-right: 1.5rem;

  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* タイトルエリア */

.title-area-inner {
  max-width: 80rem; /* max-w-7xl */

  margin-left: auto;
  margin-right: auto;

  padding-left: 1rem;
  padding-right: 1rem;

  padding-top: 2.5rem;

  text-align: center;
}

.title-area-heading {
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.title-area-text {
  color: #4b5563; /* gray-600 */
}

/* 講座一覧 */

.course-section {
  /* max-width: 96rem; max-w-8xl */
  max-width: 1536px;
  
  margin-left: auto;
  margin-right: auto;

  padding-top: 1px;
  padding-bottom: 3rem;
  
  overflow: hidden;
  }

.course-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 1.5rem;

  margin-left: auto;
  margin-right: auto;

  margin-bottom: 1.5rem;
}

/* sm:grid-cols-3 */
@media screen and (min-width: 640px) {

  .course-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

/* md:text-3xl */
@media screen and (min-width: 768px) {

  .title-area-heading {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

}

/* md:py-24 */
@media screen and (min-width: 768px) {

  .course-section {
    padding-top: 2rem;
    padding-bottom: 1rem;
  }

}

.course-card {
  position: relative;
  display: flex;

  min-height: 200px;

  border-width: 4px;
  border-style: solid;
  border-color: #6366f1; /* indigo-500 */

  background-color: #ffffff;

  transition: all 0.2s ease;
}

.course-card-inner {
  display: flex;
  flex-direction: column;

  gap: 1rem;

  height: 100%;

  padding: 2.5rem;
}

.course-card-title {
  font-size: 1.5rem;
  font-weight: 700;

  text-align: center;
}

.course-card-line {
  width: 100%;

  border-top-width: 2px;
  border-top-style: solid;
  border-top-color: #6366f1;
}

.course-card-body {
  display: flex;

  gap: 0.75rem;

  align-items: flex-start;

  margin-bottom: 1.25rem;
}

.course-card-image {
  width: 8rem;

  aspect-ratio: 1 / 1;

  flex-shrink: 0;

  overflow: hidden;

  background-color: #f3f4f6; /* gray-100 */
}

.course-card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.course-card-text {
  color: #4b5563; /* gray-600 */
}

/* md:text-3xl */
@media screen and (min-width: 768px) {

  .course-card-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

}

.cta {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: auto;

  padding-top: 1.5rem;
  padding-bottom: 1.5rem;

  padding-left: 3rem;
  padding-right: 3rem;

  font-weight: 700;
  color: #ffffff;

  background-color: #fb923c; /* orange-400 */

  border-radius: 0.25rem;

  box-shadow: 0 3px 0 #747474;

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.cta:hover {
  background-color: #fdba74; /* orange-300 */
}

.cta-arrow {
  position: absolute;

  right: 1.5rem;
}

.related-issues-grid {
  display: grid;

  grid-template-columns: 1fr;

  gap: 0.5rem;
}

.related-issues-box {
  background-color: #ffffff;
}

.related-issues-inner {
  padding: 1.5rem;
}

.related-issues-title {
  margin-bottom: 0.5rem;

  font-size: 2.25rem;
  font-weight: 600;

  text-align: center;
}

.related-issues-line-wrap {
  display: flex;
  justify-content: center;

  margin-top: 0.2rem;
  margin-bottom: 1.25rem;
}

.related-issues-line {
  width: 8rem;
  height: 0.5rem;

  border-radius: 9999px;

  background-color: #f97316;
}

.related-issues-list {
  display: grid;

  grid-template-columns: 1fr;

  gap: 0.5rem;

  font-weight: 700;
  color: #ffffff;

  text-align: center;
}

.related-issues-item {
  background-color: #2563eb;
}

.related-issues-item.current {
  background-color: #93c5fd;
}

.related-issues-link {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;

  padding: 2rem;

  font-size: 1.875rem;
  line-height: 2.25rem;
}

.related-issues-arrow {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 2.5rem;
  height: 2.5rem;

  border-radius: 9999px;

  background-color: #ffffff;

  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  color: #f97316;
}

.related-issues-arrow.cta-arrow.current {
  display: none;
}


/* md:grid-cols-3 */
@media screen and (min-width: 768px) {

  .related-issues-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

/*  /tailwind CSS  */


     
  .recommend {
    position: absolute;
    top: -4px;
    left: -4px;
    display: inline-block;
    padding: 10px ;
    font-weight: bold;
    color: #fff;
    background: #ff0033;
    z-index: 10;
  }

  .recommend:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border-bottom: solid 10px transparent;
    border-left: solid 10px #c2410c;
  }
  
  .card-text-text strong {
  color: #0070C0;
  font-weight: bold;
  }
  
  .section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 3rem;
  }

.section-title::before {
  content: "";
    display: block;
    
    background-image: url(img/midashi.png);
    background-size: contain;
    background-repeat: no-repeat;
    
    width: 46px; 
    height: 50px;
    
    margin-right: -24px;
    z-index: -1;
}

.back-link-wrap {
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  
  margin-top: 3em;

  font-size: 1.8rem;
  color: #4b5563;

  text-decoration: none;

  padding: 0.4rem 0.8rem;

  border-radius: 9999px;

  background-color: #f3f4f6;

  transition: 0.2s;
}

.back-link:hover {
  background-color: #e5e7eb;
  color: #111827;
}

  .top-fukidashi {
  padding: 6rem;

  background-image: url(img/top_fukidashi.png);
  background-repeat: no-repeat;

background-position: center 5px;

  color: #333;
  }



