/*コンポーネントのスタイル*/

/*テキスト*/

.h1 {
  font-size: var(--headline-h1-size);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.h1-text {
  margin: 0;
  position: relative;
  font-size: inherit;
  line-height: 125%;
  font-weight: 500;
  font-family: inherit;
  display: inline-block;
}

.h2 {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.h2-text {
  font-size: var(--headline-h2-size);
  line-height: 125%;
  font-weight: 500;
  align-self: stretch;
  margin: 0;
  position: relative;
  display: inline-block;
}

.h3 {
  position: relative;
  font-size: var(--headline-h3-size);
  align-self: stretch;
  line-height: 125%;
  font-weight: 500;
}

.body-medium-bold {
  position: relative;
  letter-spacing: 0.25px;
  line-height: 160%;
  font-weight: 500;
  font-size: var(--body-medium-size);
}

.body-medium {
  position: relative;
  letter-spacing: 0.25px;
  line-height: 160%;
}

.body-small {
  position: relative;
  letter-spacing: 0.25px;
  line-height: 175%;
  font-size: var(--body-small-size);
}

.label-small {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--xs);
}

.label-small-text {
  font-size: var(--label-small-size);
  position: relative;
  letter-spacing: 0.5px;
  line-height: 110%;
  display: inline-block;
}

.btn-text {
  position: relative;
  font-size: var(--label-small-size);
  letter-spacing: 0.5px;
  line-height: 110%;
  display: inline-block;
  color: var(--text-high-emphasis);
  text-align: center;
}

/*SP表示*/

@media screen and (max-width: 768px) {

  .h1 {
    font-size: var(--headline-h2-size);
  }

}

/* ボタン */

.small {
  cursor: pointer;
  border: 1px solid var(--border-low-emphasis);
  padding: var(--s1) var(--m);
  background-color: var(--surfase-primary);
  border-radius: var(--l1);
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--xs);
  min-width: 160px;
  transition: background-color 0.3s;
}

.small:hover{
  background-color: var(--surfase-secodary);
}

/*アイコン*/

.icon-wrapper {
  width: 20px;
  height: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.line-icon {
  display: flex;
  align-self: stretch;
  width: 1px;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  max-height: 100%;
}

  /* 色 */

.bd-primary{
  background-color: var(--surfase-accent-primary-light);
}

.table-strip-gray{
  background-color: var(--surfase-secodary);
}

.table-strip-dark-gray{
  background-color: var(--surfase-tertiary);
}

  /* 架線 */

.divider {
  border: 1px solid var(--border-low-emphasis);
  width: 100%;
  margin: 0;
}


/* ホバー時のアニメーション */

.pointer{
  cursor: pointer;
}

.hover-text {
  position: relative;
  display: inline-block;
  cursor: pointer; /* カーソルをポインターに設定 */
}

/* リンク */

.link {
  cursor: pointer;
  z-index: 10;
}

.link:hover {
  opacity: 0.75;
  transition: opacity 0.3s ease-in-out;
}

.link-black-underline {
  position: relative;
  text-decoration: none;
}

.link-black-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--border-high-emphasis);
  visibility: hidden;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.3s ease-in-out;
}

.link-black-underline:hover::after {
  visibility: visible;
  transform: scaleX(1);
}

.link-blue-underline {
  position: relative;
  text-decoration: none;
}

.link-blue-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--border-link);
  visibility: hidden;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.3s ease-in-out;
}

.link-blue-underline:hover::after {
  visibility: visible;
  transform: scaleX(1);
}