#ai-r .line {
  position: relative;
  z-index: 0;
}
#ai-r .line:before {
  content: "";
  width: 100%;
  height: 1rem;
  background: #ffa79a;
  position: absolute;
  bottom: 0.2rem;
  left: 0;
  right: 0;
  margin: auto;
  z-index: -1;
}
#ai-r .mainContents__level2Section {
  margin-top: 6rem;
  padding-top: 6rem;
}
#ai-r .pageView__lead--l {
  color: #000;
  font-size: 1.6rem;
}
#ai-r .contentsWrapper__main {
  padding-top: 4rem;
}
#ai-r .badge__wrapper {
  height: fit-content;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3rem;
  margin: auto;
}
#ai-r .badge {
  width: 6.5rem;
  height: 5.7rem;
  display: grid;
  place-items: center;
  position: relative;
  background: white;
  clip-path: polygon(23% 0, 77% 0, 100% 50%, 77% 100%, 23% 100%, 0 50%);
}
#ai-r .badge::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #505457;
  clip-path: inherit;
}
#ai-r .badge span {
  width: 6.5rem;
  height: 5.7rem;
  background-size: 44%;
  background-position: center;
  position: relative;
  z-index: 1;
  font-size: 0;
}
#ai-r .num__01 .badge span {
  background-image: url(../imgs/num_01.svg);
}
#ai-r .num__02 .badge span {
  background-image: url(../imgs/num_02.svg);
}
#ai-r .num__03 .badge span {
  background-image: url(../imgs/num_03.svg);
}
#ai-r .issues__list {
  padding-top: 3rem;
}
#ai-r .issues__item + .issues__item {
  margin-top: 3rem;
}
#ai-r .issues__link {
  font-size: 2.8rem;
  color: #000;
  line-height: 1.5;
  min-height: 12rem;
  background: #4C5256;
  background: linear-gradient(90deg,rgba(76, 82, 86, 1) 0%, rgba(76, 82, 86, 1) 8%, rgba(238, 239, 239, 1) 8%, rgba(238, 239, 239, 1) 100%);
  border: 2px solid #4c5256;
  border-radius: 100rem;
  padding-left: 12rem;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: .3s;
}
#ai-r .issues__link:before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 1.1rem solid transparent;
  border-bottom: 1.1rem solid transparent;
  border-left: 1.4rem solid #4c5256;
  border-right: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 3rem;
  margin: auto;
}
#ai-r .issues__link:hover {
  background: #ebdcd1;
  background: linear-gradient(90deg,rgba(113, 0, 2, 1) 0%, rgba(113, 0, 2, 1) 8%, rgba(235, 220, 209, 1) 8%, rgba(235, 220, 209, 1) 100%);
  border: 2px solid #710002;
}
#ai-r .issues__link:hover .badge::before {
  background: #710002;
}
#ai-r .issues__link:hover:before {
  border-left: 1.4rem solid #710002;
}
#ai-r .issues__content {
  margin-top: 6rem;
  border-top: 1px solid #BEBEBE;
}
#ai-r .issues__sec {
  padding-top: 6rem;
  margin-bottom: 6rem;
}
#ai-r .issues__sec-ttl {
  font-size: 2.8rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: #000;
  text-align: center;
  line-height: 1.3;
  min-height: 10rem;
  background: #4C5256;
  background: linear-gradient(90deg,rgba(76, 82, 86, 1) 0%, rgba(76, 82, 86, 1) 8%, rgba(238, 239, 239, 1) 8%, rgba(238, 239, 239, 1) 100%);
  border-radius: 1rem;
  margin-bottom: 6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
#ai-r .issues__sec-ttl:before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 1.1rem solid transparent;
  border-left: 1.1rem solid transparent;
  border-top: 1.4rem solid #4c5256;
  border-bottom: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3.5rem;
  margin: auto;
}
#ai-r .demo .mainContents__lead {
  margin-bottom: 1rem;
}
#ai-r .demo__note {
  display: inline-block;
  font-size: 1.4rem;
  margin-top: 2rem;
}
#ai-r .demoContents__img {
  margin: 6rem 0 3rem;
  text-align: center;
}
#ai-r .demo__txt {
  font-size: 1.6rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
}
#ai-r .actContents__wrapper {
  margin-top: 6rem;
}
#ai-r .act__movie-wrapper {
  background: #f2f2f2;
  padding-top: 3rem;
  margin-bottom: 3rem;
  border-radius: 0 0 1rem 1rem;
}
#ai-r .act__movie-iframe-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}
#ai-r .act__movie-iframe {
  width: calc(80rem + 2px);
  height: calc(45rem + 2px);
  display: block;
  border: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}
#ai-r .act__movie-comment {
  padding: 1rem 2rem 4rem;
}
#ai-r .act__movie-ttl {
  font-family: "Noto Serif JP", serif;
  color: #710002;
  font-size: 2.8rem;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid #6d767c;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}
#ai-r .act__movie-txt {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.75;
  text-align: justify;
}
#ai-r .tabs {
  padding-top: 7rem;
}
#ai-r .tabs__head-txt {
  color: #710002;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0; 
}
#ai-r .tabs__head-txt:before,
#ai-r .tabs__head-txt:after {
  content: "";
  flex: 1;
  height: 1px;
  background: #710002;
}
#ai-r .tab-buttons,
#ai-r .tab-thumbnails {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  transition: 0.3s;
}
#ai-r .tab-buttons {
  margin: 2rem 0 3rem;
}
#ai-r .tab-buttons button {
  color: #4c5256;
  font-size: 2.2rem;
  min-width: 16rem;
  padding: 0.4rem 0 0.7rem;
  border: 2px solid #4c5256;
  border-radius: 999px;
  background: #eeefef;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
#ai-r .tab-buttons button.is-active {
  color: #710002;
  background: #ebdcd1;
  border-color: #710002;
}
#ai-r .tab-thumbnails {
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background: #ffffff;
  background: linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(243, 242, 243, 1) 50%, rgba(255, 255, 255, 1) 100%);
}
#ai-r .tab-thumbnails button {
  width: 15rem;
  padding: 0;
  border: 0.3rem solid #555;
  cursor: pointer;
  filter: brightness(70%);
}
#ai-r .tab-thumbnails img {
  display: block;
  width: 100%;
}
#ai-r .tab-thumbnails button.is-active {
  border-color: #710002;
  filter: brightness(100%);
}
#ai-r .tab-buttons button,
#ai-r .tab-thumbnails button {
  transition: 0.3s;
}
#ai-r .tab-buttons button:hover,
#ai-r .tab-thumbnails button:hover {
  opacity: 0.7;
}
#ai-r .tab-panel {
  display: none;
  overflow: hidden;
}
#ai-r .tab-panel.is-active {
  display: block;
}
#ai-r .tab__contact-txt {
  font-size: 2.8rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  margin-top: 6rem;
}
#ai-r .tab__contact-img {
  margin-top: 2rem;
}
#ai-r .tabs .contactAi-r {
  margin-top: 2.5rem;
}
#ai-r .tabs .contactAi-r .btn {
  margin-bottom: 0;
}
#ai-r .tabs .contactAi-r__back {
  display: none;
}
#ai-r .Contents__flex {
  display: flex;
  align-items: baseline;
}
#ai-r .issues .Contents__flex {
  align-items: center;
}
#ai-r .Contents__flex-txt {
  padding-left: 3rem;
  position: relative;
  top: -0.5rem;
}
#ai-r .issues .Contents__flex-txt {
  width: 63%;
}
#ai-r .issues .Contents__flex img {
  width: 37%;
}
#ai-r .contactAndBack .btn {
  margin-bottom: 0;
}
#ai-r .contactAndBack__back {
  display: none;
}
@media screen and (max-width: 767px) {
    #ai-r .line:before {
      height: 0.5rem;
      bottom: 0.1rem;
    }
    #ai-r .mainContents__level2Section {
      margin-top: 3rem;
      padding-top: 3rem;
    }
    #ai-r .pageView__lead--l {
      font-size: 1.05rem;
    }
    #ai-r .heading__copy {
      text-align: center;
    }
    #ai-r .mainContents__lead {
      margin-top: 4rem;
    }
    #ai-r .intro .ai-r__logo {
      width: 21.1rem;
    }
    #ai-r .intro .ai-r__logo img {
      width: 100%;
    }
    #ai-r .badge__wrapper {
      left: 1.2rem;
    }
    #ai-r .badge {
      width: 3.25rem;
      height: 2.85rem;
    }
    #ai-r .badge::before {
      inset: 0.2rem;
    }
    #ai-r .badge span {
      width: 3.25rem;
      height: 2.85rem;
    }
    #ai-r .issues__list {
      padding-top: 0;
    }
    #ai-r .issues__item + .issues__item {
      margin-top: 1.5rem;
    }
    #ai-r .issues__link {
      font-size: 1.4rem;
      min-height: 6rem;
      border: 0.2rem solid #4c5256;
      padding-left: 5.5rem;
    }
    #ai-r .issues__link:before {
      border-top: 0.55rem solid transparent;
      border-bottom: 0.55rem solid transparent;
      border-left: 0.7rem solid #4c5256;
      right: 1.5rem;
    }
    #ai-r .issues__link:hover {
      border: 0.2rem solid #710002;
    }
    #ai-r .issues__link:hover:before {
      border-left: 0.7rem solid #710002;
    }
    #ai-r .issues__content {
      margin-top: 3rem;
    }
    #ai-r .issues__sec {
      padding-top: 3rem;
      margin-bottom: 3rem;
    }
    #ai-r .issues__sec-ttl {
      font-size: 1.6rem;
      min-height: 6rem;
      border-radius: 0.5rem;
      margin-bottom: 3rem;
      padding-left: 4rem;
    }
    #ai-r .issues__sec-ttl:before {
      border-right: 0.55rem solid transparent;
      border-left: 0.55rem solid transparent;
      border-top: 0.7rem solid #4c5256;
      bottom: -1.75rem;
    }
    #ai-r .demo__note {
      font-size: 0.8rem;
      margin-top: 1rem;
    }
    #ai-r .demoContents__img {
      margin: 3rem 0 1.5rem;
    }
    #ai-r .demo__txt {
      font-size: 0.8rem;
    }
    #ai-r .actContents__wrapper {
      margin-top: 3rem;
    }
    #ai-r .act__movie-wrapper {
      padding-top: 1.5rem;
      margin-bottom: 1.5rem;
      border-radius: 0 0 0.5rem 0.5rem;
    }
    #ai-r .act__movie-iframe {
      width: calc(100% + 2px);
      height: calc(19rem + 2px);
    }
    #ai-r .act__movie-comment {
      padding: 1.5rem 1rem 2rem;
    }
    #ai-r .act__movie-ttl {
      font-size: 1.6rem;
      margin-bottom: 0.5rem;
      padding-bottom: 0.5rem;
    }
    #ai-r .act__movie-txt {
      font-size: 1.4rem;
    }
    #ai-r .tabs {
      padding-top: 3.5rem;
    }
    #ai-r .tabs__head-txt {
      font-size: 0.9rem;
      gap: 0.7rem;
    }
    #ai-r .tab-buttons,
    #ai-r .tab-thumbnails {
      gap: 0.6rem;
    }
    #ai-r .tab-buttons {
      margin: 1rem 0 1.5rem;
    }
    #ai-r .tab-buttons button {
      font-size: 1.3rem;
      min-width: 8rem;
      padding: 0.8rem 0;
      border: 0.2rem solid #4c5256;
    }
    #ai-r .tab-thumbnails {
      margin-top: 1.5rem;
      margin-bottom: 1.5rem;
      padding: 1rem 0;
    }
    #ai-r .tab-thumbnails button {
      width: 7.5rem;
      border: 0.15rem solid #555;
    }
    #ai-r .tab__contact-txt {
      font-size: 1.8rem;
      margin-top: 3rem;
    }
    #ai-r .tab__contact-img {
      margin-top: 1rem;
    }
    #ai-r .tabs .contactAi-r {
      margin-top: 1.25rem;
    }
    #ai-r .Contents__flex {
      display: block;
    }
    #ai-r .Contents__flex img {
      width: 15rem;
    }
    #ai-r .Contents__flex-txt {
      padding-left: 0;
      top: 0;
      display: block;
      margin-top: 1rem;
    }
    #ai-r .issues .Contents__flex-txt {
      width: auto;
    }
    #ai-r .issues .Contents__flex img {
      width: 15rem;
    }
}