@charset "UTF-8";
/* ===========================================
 * ----------------------------------
  Structure
  ----------------------------------
  00_common
  01_head
  02_parking lists
 * ======================================== */

/* ===========================================
 * 00_common
 * ======================================== */
/* head */
/* ======================================== */
.c-head__bg {
  background-image: url('../img/img_guide_head.webp');
}


/* ===========================================
 * 00_guide内common
 * ======================================== */
/* switch tab */
/* ======================================== */
.tab-pay__list,
.tab-tos__list {
  max-width: 900px;
  width: 100%;
  margin-inline: auto;
  gap: 0;
}
.tabs-pay__item,
.tabs-tos__item {
  border-radius: 0;
}

/* label */
/* ======================================== */
.guide__label {
  --clamp-min: 16;
  --clamp-max: 20;
  color: var(--color-font-wh);
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding: var(--spc-4-2) var(--spc-10-5);
  margin-right: var(--spc-10-5);
  z-index: 1;
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    transform: skewX(-10deg); /* マイナスの値で右上がりに傾斜させる */
    z-index: -1; /* 背景をテキストの後ろに配置 */
  }
}
.guide-tabs__items {
  display: grid;
  gap: var(--spc-60-30);
}
.guide-tabs__item-title {
  --clamp-min: 16;
  --clamp-max: 20;
  color: var(--color-font-or);
  padding-bottom: var(--spc-10-5);
}
.guide-tabs__item-text {
  --clamp-min: 16;
  --clamp-max: 20;
  &.--bold {
    font-weight: bold;
  }
}

.guide-tabs__content-title {
  --clamp-min: 18;
  --clamp-max: 30;
  font-weight: bold;
  display: flex;
  align-items: center;
  padding-bottom: var(--spc-20-10);

  &.--center {
    justify-content: center;
  }
  &.--color-or {
    color: var(--color-font-or);
  }
  &.--wide {
    padding-bottom: var(--spc-60-30);
  }
}

.guide-tabs__content-text {
  --clamp-min: 16;
  --clamp-max: 20;
  text-align: justify;

  &.--wide-20 {
    padding-bottom: var(--spc-20-10);
  }
  &.--wide {
    padding-bottom: var(--spc-60-30);
  }
  &.--bold {
    font-weight: bold;
  }
  &.--line-height {
    line-height: 1.8;
  }
  &.--indent {
    padding-left: 1em;
    text-indent: -1em;
  }
  &.--center {
    text-align: center;
  }
  &.--color {
    color: var(--color-font-or);
  }
}
@container (width <= 768px) {
  .guide-tabs__content-text {
    &.--center {
      text-align: left;
    }
  }
}

/* ===========================================
 * guide
 * ======================================== */
.guide {
  container-type: inline-size;
}
/* ===========================================
 * 02_guide tab
 * ======================================== */
.guide-tabs__contents {
  max-width: 900px;
}


/* --content1 */
/* ======================================== */


/* --content2 */
/* ======================================== */
.guide-tabs__scroll-wrap {
  display: grid;
  gap: var(--spc-40-20);
  max-height: 80vh;
  overflow-y: auto;
  padding: var(--spc-10-5);
}

.guide-tabs__content-paragraph {
  line-height: 1.8;
}


.guide-table__items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--color-border);
  text-align: center;
}
.guide-table__item {
  grid-template-rows: auto 1fr;
  
  &:not(:last-child) {
    border-right: 1px solid var(--color-border);
  }
  dt {
    background: var(--color-bg-lgr);
    padding: var(--spc-4-2);
  }
  dd {
    padding: var(--spc-8-4);
  }
}

@container (width <= 768px) {
  .guide-table__items {
    grid-template-columns: 1fr;
  }
  .guide-table__item {
    &:not(:last-child) {
      border-right: none;
      border-bottom: 1px solid var(--color-border);
    }
  }
}


/* --content3 */
/* ======================================== */
.guide-tabs_case {
  &.--center {
    margin-inline: auto;
  }
}
.guide-tabs__btn {
  --clamp-min: 16;
  --clamp-max: 20;
  font-weight: bold;
  color: var(--color-font-wh);
  background: var(--color-bg);
  border: 1px solid transparent;
  border-radius: 50px;
  padding: var(--spc-8-4) var(--spc-30-15);
  margin-inline: auto;
  transition: color 0.3s ease, background-color 0.3s ease, border 0.3s ease;
}
@media (hover: hover) {
  .guide-tabs__btn:hover {
    color: var(--color-font-or);
    background: var(--color-bg-wh);
    border: 1px solid var(--color-border-or);
  }
}
@container (width <= 768px) {
  .guide-tabs__btn {
    padding: var(--spc-20-10) var(--spc-30-15);
  }
}

/* --content4 trouble */
/* ======================================== */

.guide-tabs__troubles {
  display: grid;
  gap: var(--spc-60-30);
}
.guide-tabs__contact {
  &.--col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spc-20-10);
  }
}
@container (width <= 768px) {
  .guide-tabs__contact {
    &.--col {
      grid-template-columns: 1fr;
    }
  }
}