/*------------------------------------------*/
/* section contents
/*------------------------------------------*/

.section {
  width: calc(100% - 40px);
  margin: 0 auto;
}

.contents {
  background: var(--color-contents-rgba);
  border-radius: 20px;
  padding: 40px 20px;
}

@media screen and (min-width: 768px), print {
  .section {
    width: calc(100% - 80px);
  }

  .contents {
    padding: 40px 40px 60px 40px;
  }
}

@media screen and (min-width: 834px), print {
  .section {
    width: calc(100% - 120px);
  }

  .contents {
    padding: 60px 60px 100px 60px;
  }
}

@media screen and (min-width: 1400px), print {
  .section {
    width: 1220px;
  }
}


/*------------------------------------------*/
/* テキスト
/*------------------------------------------*/
.text {
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 1.8rem;
}

.text+.text {
  margin-top: 1em;
}

.text.maxwidth {
  max-width: 900px;
  margin: 0 auto;
}

/* 注意書き */
.notes {
  text-align: left;
  padding-left: 1em;
  text-indent: -1em;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-bold {
  font-weight: bold;
}

.text-red {
  color: var(--color-red);
}

.text-min {
  font-size: 0.8rem;
}


/*------------------------------------------*/
/* 改行
/*------------------------------------------*/

/* 強制改行 --------------------------------*/
.break-word {
  word-wrap: break-word;
}

/* 改行消し --------------------------------*/
@media screen and (max-width: 767px) {
  .br-sp-non {
    display: none;
  }
}

@media screen and (min-width: 768px), print {
  .br-pc-non {
    display: none;
  }
}


/*------------------------------------------*/
/* ボタン 角丸
/*------------------------------------------*/

.btn-type-rounded {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-main);
  border: solid 2px var(--color-main);
  border-radius: 40px;
  width: 240px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.1;
  letter-spacing: 0.1em;
  padding: 10px;
  margin: 0 auto;
  transition: all .3s ease;
}

@media screen and (min-width: 834px), print {
  .btn-type-rounded {
    width: 320px;
    padding: 15px;
  }
}

.btn-type-rounded.next::before,
.btn-type-rounded.back::before,
.btn-type-rounded.search::before {
  content: '';
  display: inline-block;
  height: auto;
  opacity: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all .3s ease;
}

.btn-type-rounded.next::before,
.btn-type-rounded.back::before {
  background: url('../img/common/icon_arrow_white.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 16/14;
  width: 16px;
  transform: translateY(-50%);
}

.btn-type-rounded.next::before {
  right: 20px;
}

.btn-type-rounded.back::before {
  transform: translateY(-50%) scaleX(-1);
  left: 20px;
}

.btn-type-rounded.search::before {
  background: url('../img/common/icon_search_white.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 1/1;
  width: 25px;
  left: 20px;
}

.btn-type-rounded:hover {
  text-decoration: none;
  background: transparent;
  color: var(--color-main);
}

.btn-type-rounded.next:hover::before,
.btn-type-rounded.back:hover::before {
  background: url('../img/common/icon_arrow.svg') no-repeat;
  background-size: 100%;
}

.btn-type-rounded.search:hover::before {
  background: url('../img/common/icon_search.svg') no-repeat;
  background-size: 100%;
}

/*------------------------------------------*/
/* ボタン サイトリンク
/*------------------------------------------*/
.btn-type-website {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-red-orange);
  border: solid 2px var(--color-red-orange);
  border-radius: 15px;
  width: 120px;
  height: 30px;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  padding-left: 20px;
  transition: all .3s ease;
}

.btn-type-website::before {
  content: '';
  display: inline-block;
  background: url('../img/common/icon_home_white.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 17/18;
  width: 17px;
  height: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  transition: all .3s ease;
}

.btn-type-website:hover {
  text-decoration: none;
  background: transparent;
  color: var(--color-red-orange);
}

.btn-type-website:hover::before {
  background: url('../img/common/icon_home.svg') no-repeat;
  background-size: 100%;
}


/*------------------------------------------*/
/* 表 下線
/*------------------------------------------*/
.table-type-underline {
  border-collapse: collapse;
  width: 100%;
}

.table-type-underline th,
.table-type-underline td {
  text-align: left;
  border-bottom: dashed 2px var(--color-bright-main);
  padding: 20px 0;
}

.table-type-underline th {
  font-weight: bold;
}

.table-type-underline.text-top th {
  vertical-align: text-top;
}

.table-type-underline td {
  text-align: justify;
  text-justify: inter-ideograph;
}

@media screen and (max-width: 767px) {

  .table-type-underline tr,
  .table-type-underline th,
  .table-type-underline td {
    display: block;
    width: auto;
  }

  .table-type-underline th,
  .table-type-underline td {
    font-size: 0.9rem;
    border-bottom: solid 2px var(--color-bright-main);
    padding: 10px 0;
  }

  .table-type-underline th {
    border-bottom: dashed 2px var(--color-bright-main);
  }
}

@media screen and (min-width: 768px), print {
  .table-type-underline th {
    width: 10em;
  }
}