@charset "utf-8";
/* CSS Document */
/* ssk-support: 特定技能外国人のスキルアップと働きやすい職場づくり支援 */

/* ========================================
   カラーパレット（BEM modifier用）
   ======================================== */
:root {
  --ssk-skill-bg: #c5efff;
  --ssk-skill-border: #64d7ff;
  --ssk-skill-accent: #006695;
  --ssk-skill-bar: #00a7e0;
  --ssk-workplace-bg: #ffd8a7;
  --ssk-workplace-border: #ffb255;
  --ssk-workplace-accent: #7e4500;
  --ssk-workplace-bar: #f39c12;
  --ssk-daily-bg: #d4eda9;
  --ssk-daily-border: #aadd56;
  --ssk-daily-accent: #1e7600;
  --ssk-daily-bar: #43a047;
  --ssk-btn-bg: #00c0ff;
  --ssk-btn-hover: #0091c9;
  --ssk-text: #363b43;
  --ssk-text-light: #666;
}

/* ========================================
   ベース
   ======================================== */
.ssk-support {
  /*font-family: "HiraMaruPro W4-83pv-RKSJ-H*", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "Rounded Mplus 1c", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;*/
  color: var(--ssk-text);
  @media screen and (max-width: 768px) {
    padding-bottom: 36px;
  }
}

/* メイン見出し */
.ssk-support__heading {
  position: relative;
  padding-left: 16px;
  margin-bottom: 1em;
  font-size: clamp(20px, 4vw, 24px);
  font-weight: bold;
  line-height: 1.4;
  @media screen and (max-width: 680px) {
    padding-left: 12px;
    margin-bottom: 0.8em;
  }
}

.ssk-support__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 4px;
  background: var(--ssk-skill-bar);
  border-radius: 2px;
  @media screen and (max-width: 680px) {
    width: 3px;
  }
}

/* リード文 */
.ssk-support__lead {
  margin-bottom: 2em;
  font-size: clamp(15px, 3.5vw, 16px);
  line-height: 1.8;
  @media screen and (max-width: 680px) {
    margin-bottom: 1.5em;
    margin-top: 40px;
  }
}

/* ========================================
   カテゴリ概要ボックス
   ======================================== */
.ssk-support__category-carousel {
  margin-bottom: 2em;
}

.ssk-support__category-carousel-viewport {
  overflow: visible;
}

.ssk-support__category-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  @media screen and (max-width: 1000px) {
    gap: 16px;
  }
  @media screen and (max-width: 680px) {
    display: flex;
    grid-template-columns: unset;
    gap: 16px;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 680px) {
  .ssk-support__category-carousel {
    margin-bottom: 30px;
  }

  .ssk-support__category-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ssk-support__category-carousel-viewport::-webkit-scrollbar {
    display: none;
  }
}

.ssk-support__category-item {
  padding: 24px 20px;
  border-radius: 12px;
  text-align: center;
  transition: box-shadow 0.2s;
  @media screen and (max-width: 1000px) {
    padding: 20px 16px;
  }
  @media screen and (max-width: 680px) {
    flex: 0 0 auto;
    width: calc(100vw - 120px);
    min-width: 260px;
    max-width: 320px;
    padding: 14px 20px;
    scroll-snap-align: start;
  }
}

.ssk-support__category-item:nth-child(1) {
  background: var(--ssk-skill-bg);
  border-color: var(--ssk-skill-border);
}

.ssk-support__category-item:nth-child(1) .ssk-support__category-title {
  color: var(--ssk-skill-accent);
}

.ssk-support__category-item:nth-child(2) {
  background: var(--ssk-workplace-bg);
  border-color: var(--ssk-workplace-border);
}

.ssk-support__category-item:nth-child(2) .ssk-support__category-title {
  color: var(--ssk-workplace-accent);
}

.ssk-support__category-item:nth-child(3) {
  background: var(--ssk-daily-bg);
  border-color: var(--ssk-daily-border);
}

.ssk-support__category-item:nth-child(3) .ssk-support__category-title {
  color: var(--ssk-daily-accent);
}

.ssk-support__category-icon {
  margin-bottom: 12px;
  gap: 10px;
  display: flex;
  align-items: center;
  text-align: left;
}

.ssk-support__category-icon img {
  width: 73px;
  height: 84px;
  object-fit: contain;
  @media screen and (max-width: 1000px) {
    width: 50px;
    height: 50px;
  }
  @media screen and (max-width: 680px) {
    width: 52px;
    height: 52px;
  }
}

.ssk-support__category-title {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
  @media screen and (max-width: 1000px) {
    font-size: 18px;
  }
}

.ssk-support__category-desc {
  margin: 0;
  font-size: 16px;
  text-align: left;
  line-height: 1.6;
  color: var(--ssk-text);
  @media screen and (max-width: 1000px) {
    font-size: 13px;
  }
}

/* ========================================
   案内文
   ======================================== */
.ssk-support__notice {
  margin-bottom: 90px;
  font-size: clamp(15px, 3.5vw, 16px);
  line-height: 1.8;
  @media screen and (max-width: 680px) {
    margin-bottom: 60px;
  }
}

/* ========================================
   セクション
   ======================================== */
.ssk-support__section {
  margin-bottom: 70px;
  @media screen and (max-width: 768px) {
    margin-bottom: 60px;
  }
}

.ssk-support__section-heading {
  position: relative;
  margin: 0 0 0.5em;
  padding: 14px 20px 14px 52px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  border-radius: 6px 6px 0 0;
  @media screen and (max-width: 680px) {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 20px 30px 20px 103px;
    font-size: 18px;
    border-radius: 0;
    box-sizing: border-box;
    margin-bottom: 20px;
  }
}

.ssk-support__section-heading::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  @media screen and (max-width: 680px) {
    width: 65px;
    height: 65px;
    left: 20px;
  }
}

.ssk-support__section:nth-of-type(2) .ssk-support__section-heading {
  background: var(--ssk-skill-bg);
  color: var(--ssk-skill-accent);
}

.ssk-support__section:nth-of-type(2) .ssk-support__section-heading::before {
  background-image: url(/support-service/files/lineup-icon1.svg);
}

.ssk-support__section:nth-of-type(2) .ssk-support__card {
  border-color: var(--ssk-skill-border);
}

.ssk-support__section:nth-of-type(3) .ssk-support__section-heading {
  background: var(--ssk-workplace-bg);
  color: var(--ssk-workplace-accent);
}

.ssk-support__section:nth-of-type(3) .ssk-support__section-heading::before {
  background-image: url(/support-service/files/lineup-icon2.svg);
}

.ssk-support__section:nth-of-type(3) .ssk-support__card {
  border-color: var(--ssk-workplace-border);
}

.ssk-support__section:nth-of-type(4) .ssk-support__section-heading {
  background: var(--ssk-daily-bg);
  color: var(--ssk-daily-accent);
}

.ssk-support__section:nth-of-type(4) .ssk-support__section-heading::before {
  background-image: url(/support-service/files/lineup-icon3.svg);
}

.ssk-support__section:nth-of-type(4) .ssk-support__card {
  border-color: var(--ssk-daily-border);
}

.ssk-support__section-desc {
  margin: 0 0 0 24px;
  display: inline-block;
  color: #363b43;
  font-size: clamp(15px, 3.5vw, 16px);
  @media screen and (max-width: 680px) {
    margin-bottom: 1.2em;
    font-size: 14px;
    margin-left: 0;
    margin-bottom: 0;
  }
}

/* ========================================
   サービスカード
   ======================================== */
.ssk-support__card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  @media screen and (max-width: 1000px) {
    gap: 20px 16px;
  }
  @media screen and (max-width: 680px) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.ssk-support__card {
  /* display: flex;
  flex-direction: column; */
  padding: 24px 20px;
  background: #fff;
  border: 4px solid;
  border-radius: 5px;
  transition: box-shadow 0.2s;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  gap: 0;
  @media screen and (max-width: 680px) {
    padding: 16px 20px;
  }
}

.ssk-support__card-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 84px;
  width: 100%;
  margin: 0 auto 20px;
}

.ssk-support__card-icon img{
  width: 98px;
}

/* .ssk-support__card:nth-child(4) .ssk-support__card-icon,
.ssk-support__card:nth-child(5) .ssk-support__card-icon{
  min-height: 100px;
}
.ssk-support__section:nth-of-type(3) .ssk-support__card:nth-child(1) .ssk-support__card-icon,
.ssk-support__section:nth-of-type(3) .ssk-support__card:nth-child(2) .ssk-support__card-icon,
.ssk-support__section:nth-of-type(3) .ssk-support__card:nth-child(3) .ssk-support__card-icon{
  min-height: 102px;
}

.ssk-support__section:nth-of-type(3) .ssk-support__card:nth-child(4) .ssk-support__card-icon,
.ssk-support__section:nth-of-type(3) .ssk-support__card:nth-child(5) .ssk-support__card-icon{
  min-height: 101px;
}

.ssk-support__section:nth-of-type(3) .ssk-support__card:nth-child(4) .ssk-support__card-icon{
  margin-bottom: 49px;
  @media screen and (max-width: 768px) {
    margin-bottom: 20px;
  }
}

.ssk-support__section:nth-of-type(3) .ssk-support__card:nth-child(5) .ssk-support__card-icon{
  min-height: 101px;
}

.ssk-support__section:nth-of-type(4) .ssk-support__card:nth-child(1) .ssk-support__card-icon,
.ssk-support__section:nth-of-type(4) .ssk-support__card:nth-child(2) .ssk-support__card-icon{
  min-height: 111px;
} */

.ssk-support__card:nth-child(2) .ssk-support__card-icon img{
  width: 145px;
}
.ssk-support__card:nth-child(3) .ssk-support__card-icon img{
width: 121px;
}
.ssk-support__card:nth-child(4) .ssk-support__card-icon img{
  width: 105px;
}

.ssk-support__section:nth-of-type(3) .ssk-support__card:nth-child(1) .ssk-support__card-icon img{
  width: 112px;
}
.ssk-support__section:nth-of-type(3) .ssk-support__card:nth-child(2) .ssk-support__card-icon img{
  width: 123px;
}
.ssk-support__section:nth-of-type(3) .ssk-support__card:nth-child(3) .ssk-support__card-icon img{
  width: 105px;
}
.ssk-support__section:nth-of-type(3) .ssk-support__card:nth-child(4) .ssk-support__card-icon img{
  width: 133px;
}
.ssk-support__section:nth-of-type(3) .ssk-support__card:nth-child(5) .ssk-support__card-icon img{
  width: 145px;
}

.ssk-support__section:nth-of-type(4) .ssk-support__card:nth-child(1) .ssk-support__card-icon img{
  width: 129px;
}
.ssk-support__section:nth-of-type(4) .ssk-support__card:nth-child(2) .ssk-support__card-icon img{
  width: 199px;
}

.ssk-support__card-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  color: var(--ssk-text);
  text-align: center;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ssk-support__card-desc {
  flex: 1;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ssk-text);
  @media screen and (max-width: 680px) {
    font-size: 13px;
  }
}

.ssk-support__card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--ssk-btn-bg);
  color: #fff !important;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none !important;
  border-radius: 8px;
  transition: background 0.2s;
  margin-top: auto;
  min-width: inherit;
  @media screen and (max-width: 680px) {
    padding: 10px 16px;
    font-size: 14px;
  }
}

a.blue_btn.ssk-support__card-link {
  min-width: inherit;
  font-size: 16px;
  box-shadow: none;
  padding: 0.8em 1em;
  margin-bottom: 0;
}

.ssk-support__card-link:hover {
  background: var(--ssk-btn-hover);
  color: #fff !important;
}

.ssk-support__card-link.arrow_b {
  position: relative;
  padding-right: 36px;
}

.ssk-support__card-link.arrow_b::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath fill='%23fff' d='M1 0L7 7 1 14V0z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

/* ========================================
   パンフレット
   ======================================== */
.ssk-support__pamphlet {
  margin-top: 2.5em;
  padding-top: 2em;
  @media screen and (max-width: 680px) {
    margin-top: 2em;
    padding-top: 1.5em;
  }
}

.ssk-support__pamphlet-text {
  margin: 0 0 12px;
  font-size: clamp(15px, 3.5vw, 16px);
  line-height: 1.8;
}

.ssk-support__pamphlet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: bold;
  color: var(--ssk-skill-accent) !important;
  text-decoration: underline !important;
  transition: color 0.2s;
  @media screen and (max-width: 680px) {
    font-size: 15px;
  }
}

.ssk-support__pamphlet-link:hover {
  color: var(--ssk-btn-hover) !important;
}

.ssk-support__pamphlet-link.arrow_b {
  position: relative;
  padding-left: 24px;
}

.ssk-support__pamphlet-link.arrow_b::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%230091c9' d='M4 0l8 6-8 6V6L12 6V0H4z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.ssk-support__pamphlet-link.pdf_back {
  position: relative;
  padding-right: 28px;
}

.ssk-support__pamphlet-link.pdf_back::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url(/shared/img/icon/pdf.png) no-repeat center;
  background-size: contain;
}
