html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  word-wrap: break-word;
  color: rgb(var(--black));
  cursor: pointer;
}

body {
  max-width: 100%;
  margin: 0;
}

.body {
  background-color: rgb(var(--gray));
}

.body-top {
  background-color: rgb(var(--gray));
}

img {
  vertical-align: middle;
}

p{
  overflow-wrap: break-word;
}

div{
  overflow-wrap: break-word;
}

h1{
  overflow-wrap: break-word;
}

h2{
  overflow-wrap: break-word;
}

h3{
  overflow-wrap: break-word;
}


#page-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  cursor: pointer;
  color: rgb(var(--white));
  background-color: rgb(var(--blue));
  padding: 8px;
  border-radius: 4px;
  transform: rotate(90deg);
  font-size: 200%;
}

/**
  jdsのアイコン
**/
.jds-icon {
    display: block;
    padding: 5px;
    width: 100%;
    color: rgb(var(--white));
    background-color: rgb(var(--blue));
    text-align: center;
    position: relative;
}

.jds-icon:hover {
  opacity: var(--opacity);
}

.jds-icon-title {
    font-size: 300%;
    font-weight: bold;
    height: 50px;
    margin-top: 10px;
}

.jds-icon-body {
  font-size: 60%;
  line-height: 1.5;
	min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jds-icon-deco1 {
  position: absolute;
  width: 20%;
  height: 20%;
  background: rgb(var(--blue));
}

.jds-icon-deco2 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 20%;
  height: 20%;
  background: rgb(var(--green));
}

/**slide */
.slide img {
  width: 100%;
  object-fit: cover;
}

/* パンくず */
.topic-list {
  margin-bottom: 40px;
}

.topic-list a {
  color: rgb(var(--blue));
}

.topic-list a:first-child {
  background-color: rgb(var(--blue));
  border-radius: 4px;
  color: rgb(var(--white));
  padding: 2px 8px;
}

/* gotoボタン */
.back-btn {
  font-size: 90%;
  text-align: center;
  display: block;
  padding: 8px 0;
  font-weight: bold;
  width: 40%;
  min-width: 230px;
  color: rgb(var(--blue));
  margin: 80px auto 0 auto;
  border-radius: 24px;
  border: 1.6px solid rgb(var(--blue));
}

/* blueボタン */
.blue-btn {
 /* font-size: 90%;*/
  text-align: center;
  display: block;
  padding: 8px 0;
  font-weight: bold;
  width: 40%;
  min-width: 230px;
  color: rgb(var(--white));
  margin: 0 auto;
  border-radius: 24px;
  border: 1.6px solid rgb(var(--blue));
  background-color: rgb(var(--blue));
}

/* Life in Japanの黒の矢印 */
.triangle-black{
 margin-top: 2px
}

/* SPサイズ */
@media screen and (max-width: 960px) {
  body {
    font-size: 85%;
    min-width: 320px;
    overflow-x: hidden !important;
    margin-bottom: -100px;
  }

  .body {
    margin-bottom: -100px;
  }

  .slide img {
    height: calc(390 / 750 * 100vw);
    /*width: 150%;*/
  }

  .category-contents {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

.back-btn {
  width: 100%;
}
}

/* PCサイズ */
@media screen and (min-width: 960px) {
  body {
    min-width: var(--content-size);
  }

  .content-size {
    max-width: var(--content-size);
    min-width: var(--content-size);
    margin: 0 auto;
  }

  .slide img {
    height: 550px;
  }
}
