﻿@charset "UTF-8";

/* SP版 */
.tab-wrapper {
   margin: 100px auto 40px;
}

.tab-title {
  width: fit-content;
  margin: 0 auto 28px;
  padding-bottom: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  color: #4C4F51;
  text-align: center;
  border-bottom: solid 1px #4C4F51;
}
  
.tab-title-sub {
  display: block;
  margin-top: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  text-align: center;
}
  
.tab-navigation {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
}
  
.tab-container {
  display: flex; 
  column-gap: 28px;
  text-align: center;
  width: fit-content;
  margin: auto;
  padding: 0 20px;
}
  
.tab-item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  border-bottom: 0.5px solid transparent;
  transition: border-bottom-color 0.3s ease-in-out;
  scroll-margin-right: 10px;
}

.tab-item:hover {
  border-bottom-color: #4C4F51;
}

.tab-item.active{
  border-bottom: 2px solid #4C4F51;
}
  
.tab-text {
  width: max-content;
  padding-bottom: 8px;
  color: #4C4F51;
  font-weight: 400;
  line-height: 1;
}
 
.step-prefix {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 300;
  margin-right: 4px;
}
  
.step-number {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  letter-spacing: 0;
}
  
.step-name {
  display: block;
  margin-top: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}

.step-name-all {
  display: flex;
  align-items: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
}

/* PC版 */
@media (min-width:768px) {
  .tab-wrapper {
    margin: 0 auto 80px;
  }

  .tab-title {
    font-size: 36px;
    margin: 0 auto 60px;
    padding-bottom: 14px;
  }
  
  .tab-title-sub {
    margin-top: 8px;
    font-size: 16px;
  }
  
  .tab-navigation::-webkit-scrollbar {
    background: #D9D9D9;
    width: calc(100% - 40px);
    height: 2px;
    border-radius: 1px;
  }

  .tab-navigation::-webkit-scrollbar-thumb {
    background-color: #4C4F51;
    border-radius: 1px;
  }
  
  .tab-container {
    justify-content: space-between;
    width: 1200px;
    column-gap: 8px;
    padding: 0;
  }
  
  .tab-item {
    width: 160px;
    height: 80px;
  }
  
  .tab-item.active{
    border-bottom: 2px solid #4C4F51;
  }
  
  .step-prefix {
    font-size: 24px;
  }
  
  .step-number {
    font-size: 32px;
  }
  
  .step-name {
    font-size: 14px;
    margin-top: 8px;
  }

  .step-name-all {
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
  }
}