.article-detail-head {
  margin-bottom: 40px;
}

.article-detail-tag {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0 40px;
}

.article-detail-tag>li {
  margin-right: 0.8em;
  color: #881414;
  line-height: 1.5;
  font-size: 1.4rem;
}

.article-detail-ttl {
  font-size: 3.6rem;
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #0159C4;
}


.article-detail i{
  color: #FF00FF;
}

.article-detail strong{
  /*color: #0035BD;*/
  font-weight: bold;
  font-size: 1.8rem;
}

.article-detail em{
  color: #E30000;
  font-weight: bold;
  font-size: 1.8rem;
}
.article-detail .article-detail-item span{
  color: #0159C4;
}

.article-detail-item *{
  max-width: 100%;
}


.article-detail a{
  color: #15B5E5;
}

.article-detail-category>span {
  background: #F0F0F0;
  text-align: center;
  padding: 10px 40px;
  font-size: 1.8rem;
}

.article-detail-ba {
  margin-top: 60px;
  margin-bottom: 80px;
}

.article-detail-ba .bg {
  margin-bottom: 0px;
}

.article-detail-ba .msg {
  margin-top: 20px;
  line-height: 1.6;
}

.article-detail-btn {
  border-top: 1px solid #b5b5b5;
  text-align: center;
  padding-top: 80px;
  margin-top: 80px;
  margin-bottom: 80px;
}

.article-detail-btn .btn-b {
  margin: 0 auto;
}

.article-detail-ba .group {
  display: flex;
  justify-content: space-between;
}

.article-detail-ba .group .before,
.article-detail-ba .group .after {
  position: relative;
  width: calc((100% - 50px) / 2);
}

.article-detail-ba .before .bg::after {
  content: "";
  position: absolute;
  display: none;
  width: 0;
  height: 0;
  right: -34px;
  top: 50%;
  margin-top: 0;
  border-style: solid;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #881414;
  z-index: 2;
}

.article-detail-ba .group .ttl {
  color: #881414;
  margin-bottom: 15px;
}

.article-detail-ba .group .bg {
  position: relative;
  padding-top: 75%;
}

.article-detail-ba .group .bg .bgcover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
}

.article-detail-map>li {
  margin-bottom: 30px;
}


.article-detail-map .group .before,
.article-detail-map .group .after {
  position: relative;
  display: block;
  width: 100%;
  /*width: calc( ( 100%  -  50px ) / 2 );*/
}

.article-detail-map .group .before {
  margin-bottom: 42px;
}


.article-detail-map .before::after {
  content: "";
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  right: 50%;
  bottom: 0%;
  margin-right: -12px;
  margin-bottom: -28px;
  border-style: solid;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent #881414;
  z-index: 2;
  transform: rotate(90deg);
}

.article-detail-map .group .ttl {
  color: #881414;
  margin-bottom: 15px;
}

.article-detail-map .group .bg {
  position: relative;
  padding-top: 100%;
  border: 1px solid #959595;
}

.article-detail-map .group i {
  position: absolute;
  right: 13px;
  bottom: 18px
}

.article-detail-map .group .bg .bgcover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}


.article-detail-info {
  display: flex;
  font-size: 1.4rem;
  margin-bottom: 40px;
}

.article-detail-info>i {
  color: #881414;
}

.article-detail-info>time {
  margin-right: 1em;
}




@media screen and (max-width:1100px) {

  .article-detail-tag {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0 20px;
  }

  .article-detail-tag>li {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .article-detail-ba .group .before,
  .article-detail-ba .group .after {
    position: relative;
    width: calc((100% - 40px) / 2);
  }

  .article-detail-ba .before::after {
    right: -29px;
  }

  .article-detail-ba {
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
  }

  .article-detail-ba .msg {
    line-height: 1.6;
    font-size: 1.2rem;
  }

  .article-detail-ba .before .bg::after {
    margin-top: -4px;
    right: -29px;
  }


  .article-detail-map {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .article-detail-map>li {
    width: calc((100% - 40px) / 2);
    margin-bottom: 20px;
  }

  .article-detail-map .group .ttl {
    color: #881414;
    margin-bottom: 15px;
  }

  .article-detail-map .group .bg {
    position: relative;
    padding-top: 100%;
    border: 1px solid #959595;
  }

  .article-detail-map .group i {
    position: absolute;
    right: 9px;
    bottom: 0px;
    width: 19px;
  }

}


/*
article-detail
*/
.article-detail {
  font-weight: normal;
}

.article-detail-info {
  display: flex;
  /*margin-bottom: 15px;*/
}

.article-detail-teikei {
  text-align: right;
  margin-bottom: 0.5em;
  margin-right: 1em;
}

.article-detail-teikei h2 {
  font-weight: 300;
}

.article-detail-time {
  font-size: 1.4rem;
}

.article-detail img {
  max-width: unset;
  width: 100%;
}

.article-detail .block {
  margin: 2em 0;
}

.article-detail-txt {
  font-size: 1.6rem;
}

.sup,
.article-detail-ttl>sup,
.article-detail sup {
  font-size: 1.2rem;
  vertical-align: super;
}

.work-detail h1,
.work-detail h2,
.work-detail h3,
.work-detail h4,
.work-detail h5 {
  line-height: 1.4;
  font-weight: bold;
}

.work-detail-btn {
  margin-bottom: 80px;
}

.work-detail-btn a {
  margin: 0 auto;
}


.news-detail h1,
.news-detail h2,
.news-detail h3,
.news-detail h4,
.news-detail h5 {
  line-height: 1.4;
  font-weight: bold;
}

.article-detail-single-img {
  padding: 0;
  margin: 30px 0;
}


.article-detail-single-img img {
  width: auto;
  max-width: 100%;
}

.article-detail-item {
  font-weight: normal;
  font-size: 1.6rem;
  margin-bottom: 30px;
}


.article-detail-ttl-l {
  position: relative;
  font-size: 2.4rem;
  margin-bottom: 0.8em;
  padding-left: 22px;
}

.article-detail-ttl-l::after{
  content:"";
  position: absolute;
  display: block;
  width: 5px;
  height: 40px;
  top:-6px;
  left:0;
  background: #0159C4;
}


.article-detail-ttl-m {
  font-size: 2rem;
  margin-bottom: 0.5em;
}

.article-detail-ttl-s {
  margin-bottom: 0.4em;
  font-size: 1.6rem;
}


.article-detail-tbl {
  width: 100%;
  margin: 10px 0 10px;
}

.article-detail-tbl th{
  width: 250px;
  font-weight: bold;
}

.article-detail-ytb {
  position: relative;
  padding-top: 56.25%;
  margin-bottom: 30px;
}

.article-detail-ytb iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.article-detail-tbl tr {
  border-bottom: 1px dotted #8E8E8E;
}

.article-detail-tbl tr>th {
  padding: 0.8em 0;
  text-align: left;
  vertical-align: middle;
  text-align: left;
  font-weight: normal;
  white-space: nowrap;
}

.article-detail-tbl tr>td {
  padding: 0.8em 1em;
  text-align: left;
  vertical-align: middle;
}

.article-detail-tbl.type2 tr>th {
  width: 350px;
  background: #fff;
  text-align: left;
}

.article-detail-note {
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 1.3rem;
}

.article-detail-note>li {
  position: relative;
  padding-left: 1.5em;
}

.article-detail-note>li::after {
  content: "※";
  position: absolute;
  display: block;
  width: 1em;
  height: 1em;
  top: 0;
  left: 0;
}

.article-detail-list {
  margin-bottom: 30px;
}

.article-detail-list>li {
  position: relative;
  padding-left: 1em;
}

.article-detail-list>li::after {
  content: "・";
  position: absolute;
  display: block;
  width: 1em;
  height: 1em;
  top: 0;
  left: 0;
}


.article-detail-ast>li {
  position: relative;
  padding-left: 2em;
  list-style-type: none;
  margin-left: 0;
  counter-increment: number;
  font-size: 1.3rem;
}

.article-detail-ast>li::after {
  position: absolute;
  display: block;
  width: auto;
  height: 1em;
  top: 0px;
  left: 0.5em;
  content: counter(number);
}


.article-detail-ast>li::before {
  content: "*";
  left: 0;
  position: absolute;
  display: block;
  width: 1em;
  height: 1em;
  top: 0;
  left: 0;
}



.article-detail-ast>li>i>sup {
  text-align: top;
  font-size: 1.6rem;
}


.article-detail-link-box {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap:15px;
  font-size: 1.3rem;
  text-align:   left;
}


.article-detail-link {
  position: relative;
  display: inline-block;
  color: #15B5E5;
  display: inline-block;
  font-weight: bold;
}


.article-detail figcaption {
  display: block;
  padding: 5px 0;
  font-size: 1.3rem;
  text-align: center;
}


.article-detail-two-img,
.article-detail-three-img {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.article-detail-two-img>figure {
  width: 49%;
  text-align: center;
}

.article-detail-three-img>figure {
  width: 32%;
  text-align: center;
}

.article-detail-two-img figure img,
.article-detail-three-img figure img {
  width: auto;
  max-width: 100%;
}


.article-detail-four-img {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.article-detail-four-img>figure {
  width: 23.5%;
  margin-right: 2%;
}

.article-detail-four-img>figure:nth-child(4n) {
  margin-right: 0;
}

.article-detail-four-img>figure>figcaption {
  text-align: left;
}



.article-detail-block {
  overflow: hidden;
  line-height: 1.6;
  margin: 20px 0px 40px;
}

.article-detail-block .article-detail-ttl-m {
  color: #000;
  font-size: 1.6rem;
}

.article-detail-block.left figure {
  /*width: 40%;*/
  margin-right: 30px;
  margin-bottom: 10px;
  float: left;
  text-align: center;
}

.article-detail-block.right figure {
  /*width: 40%;*/
  margin-left: 30px;
  margin-bottom: 10px;
  float: right;
  text-align: center;
}

.article-detail-block.left figure img,
.article-detail-block.right figure img {
  width: auto;
  max-width: 100%;
}

.article-detail-clear .article-detail-block {
  display: flex;
  width: 100%;
}

.article-detail-clear .article-detail-block.right {
  flex-direction: row-reverse;
}

.article-detail-clear .article-detail-block.right figure,
.article-detail-clear .article-detail-block.left figure {
  float: none;
}

.article-detail-clear .article-detail-block.right figure img,
.article-detail-clear .article-detail-block.left figure img {
  width: auto;
}

.article-detail-clear .article-detail-txt {
  width: 75%;
}



.article-detail-block figure {
  margin-bottom: 15px;
}

.article-detail-block figcaption {
  font-size: 1.3rem;
  text-align: left;
}



.article-detail-contact {
  border: 4px solid #CCCCCC;
  padding: 20px;
  font-size: 1.6rem;
  margin: 50px 0;
}

.article-detail-contact-ttl {
  margin-bottom: 15px;
}

.article-detail-contact-msg {
  font-size: 1.6rem;
}

.article-detail-contact-link {
  color: #00468C;
  text-decoration: underline;
}


.article-detail-caution ul>li {
  display: flex;
  font-size: 1.3rem;
}

.article-detail-caution ul>li>i {
  white-space: nowrap;
  display: block;
  margin-right: 0.4em;
}

.article-detail-dl {
  text-align: center;
  margin-bottom: 50px;
}

.article-detail-link-smaple {
  display: flex;
  margin-top: 15px;
  margin-bottom: 50px;
  justify-content: center;
  align-items: center;
}

.article-detail-link-smaple>div {
  font-weight: bold;
  padding-right: 15px;
}

.article-detail small {
  font-size: 1.3rem;
}

@media screen and (max-width:768px) {
  .article-detail-ttl {
    font-size: 2.4rem;
  }

  .article-detail-item {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .article-detail-ttl-l {
    font-size: 2rem;
    margin-bottom: 0.5em;
  }

  .article-detail-ttl-l::after{
    width: 5px;
    height: 30px;
    top:-4px;
    left:0;
  }

  .article-detail-ttl-m {
    font-size: 1.6rem;
    margin-bottom: 0.5em;
    color: #00688C;
  }

  .article-detail-ttl-s {
    margin-bottom: 0.4em;
    font-size: 1.4rem;
  }

  .article-detail-category>span {
    background: #F0F0F0;
    text-align: center;
    padding: 5px 30px;
    font-size: 1.4rem;
  }

  .article-detail-txt {
    font-size: 1.6rem;
    clear:both;
  }
  .article-detail-block.left figure,
  .article-detail-block.right figure  {
    width: auto;
    max-width: 100%;
    float:none;
    margin-bottom: 20px;
    text-align: left;
  }





  .article-detail-tbl-wrap {
    overflow-x: auto;
    margin-bottom: 30px;
  }

  .article-detail-tbl,
  .article-detail-tbl>tbody>tr ,
  .article-detail-tbl>tbody>tr>th ,
  .article-detail-tbl>tbody>tr>td {
    display: block;
  }

  .article-detail-tbl>tbody>tr>th {
    font-weight: bold;
  }

  .article-detail-tbl>tbody>tr>td {
    padding: 0 0 10px;

  }

  .article-detail-contact {
    padding: 15px;
    font-size: 1.3rem;
    margin: 30px 0;
  }

  .article-detail-caution ul>li {
    display: flex;
    font-size: 1rem;
  }

  .article-detail-ast,
  .article-detail-note {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .article-detail-ast>li,
  .article-detail-note>li {
    position: relative;
    font-size: 1rem;
  }

  .article-detail-ast>li>i>sup {
    font-size: 1.3rem;
  }

  .article-detail-two-img,
  .article-detail-three-img {
    margin-bottom: 20px;
  }

  .article-detail-block {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .article-detail-block.left figure {
    margin-right: 15px;
  }

  .article-detail-block.right figure {
    margin-left: 15px;
  }


  .article-detail-clear .article-detail-block {
    display: block;
    width: 100%;
  }

  .article-detail-clear .article-detail-block.left,
  .article-detail-clear .article-detail-block.right {
    display: block;
    width: 100%;
    padding: 0;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 20px;
  }


  .article-detail-clear .article-detail-block.left figure,
  .article-detail-clear .article-detail-block.right figure {
    width: auto;
    margin-right: 0;
    margin-left: 0;
    text-align: center;
    margin-bottom: 20px;
  }

  .article-detail-clear .article-detail-img,
  .article-detail-clear .article-detail-txt {
    width: 100%;
  }

  .article-detail-tbl.type2 {
    width: 100%;
  }

  .article-detail-tbl.type2 tr>td,
  .article-detail-tbl.type2 tr>th {
    width: 50%;
    white-space: normal;
    background: #fff;
  }


  .article-detail-dl {
    margin-bottom: 0;
  }

  .article-detail-btn {
    border-top: 1px solid #b5b5b5;
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
  }


  .work-detail-btn {
    margin-bottom: 80px;
  }

  .work-detail-btn a {
    margin: 0 auto;
  }
}
/*------------------
.article-detail-image-list
------------------*/
.article-detail-image-list{
  display: flex;
  flex-wrap:wrap;
  gap:15px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.article-detail-image-list>li{
  background: #EAEAEA;
  width: calc( (100% - 30px) / 3 );
}
.article-detail-image-list>li img{
  width: 100%;
}

.article-detail-image-list>li p{
  padding: 1em 1em;
  line-height: 1.75;
}
@media screen and (max-width:1100px){

  .article-detail-image-list{
    display: flex;
    flex-wrap:wrap;
    gap:15px;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .article-detail-image-list>li{
    width: calc( (100% - 15px) / 2 );
  }

}

@media screen and (max-width:425px){

  .article-detail-image-list{
    display: flex;
    flex-wrap:wrap;
    flex-direction: column;
    gap:10px;
    margin-top: 30px;
    margin-bottom: 40px;
  }

  .article-detail-image-list>li{
    width: 100%;
  }

}


.article-detail-gallery {
  margin-bottom: 40px;
}

.gallery-top .swiper-slide .bg {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
}

.gallery-top .swiper-slide .bgcover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: contain, auto;
}

.gallery-top .swiper-slide .msg {
  margin: 20px 0 40px;
}

.gallery-top .swiper-button-prev {
  padding: 0;
  margin-top: 0;
  top: 0;
  width: 40px;
  transform: none;
  height: auto;
  left: 0;
  padding-top: 74.5%;
  background: transparent;
  outline: none;
}

.gallery-top .swiper-button-next {
  padding: 0;
  margin-top: 0;
  top: 0;
  width: 40px;
  transform: none;
  height: auto;
  right: 0;
  padding-top: 74.5%;
  background: transparent;
  outline: none;
}


.gallery-top .swiper-button-prev::before {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.2);
  width: 40px;
  height: 40px;
  left: 0;
  top: 50%;
  margin-top: -20px;
  z-index: 1;
}

.gallery-top .swiper-button-next::before {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.2);
  width: 40px;
  height: 40px;
  right: 0;
  top: 50%;
  margin-top: -20px;
  z-index: 1;
}

.gallery-top .swiper-button-prev:hover {
  opacity: 0.5;
}

.gallery-top .swiper-button-next:hover {
  opacity: 0.5;
}

.gallery-top .swiper-button-prev::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 17px;
  width: 10px;
  height: 10px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(0, -50%) rotate(45deg);
  margin-top: 0;
  z-index: 2;
}



.gallery-top .swiper-button-next::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 17px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(0, -50%) rotate(-45deg);
  margin-top: 0;
  z-index: 2;
}



.gallery-thumbs-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.gallery-thumbs .gallery-thumbs-slide {
  width: 10% !important;
  margin-right: 2.8%;
  overflow: hidden;
  margin-bottom: 15px;
}

.gallery-thumbs .gallery-thumbs-slide:nth-child(8n) {
  margin-right: 0;
}

.gallery-thumbs .gallery-thumbs-slide .bg {
  position: relative;
  padding-top: 100%;
}

.gallery-thumbs .gallery-thumbs-slide .bg .bgcover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.gallery-thumbs .gallery-thumbs-slide.active {
  opacity: 0.5;
}


.article-detail-dl dl {
  display: flex;
}


.article-detail-dl {
  width: calc(100% + 26px);
  border-collapse: separate;
  border-spacing: 13px 0;
  margin-left: -13px;
}

.article-detail-dl tr {}

.article-detail-dl tr th {
  width: 10%;
  white-space: nowrap;
  border-bottom: 1px solid #881414;
  padding: 10px 5px 10px 0;
  color: #881414;
}

.article-detail-dl tr td {
  width: 90%;
  padding: 10px 5px 10px 0;
  border-bottom: 1px solid #a0a0a0;
  text-align: left;
}

@media screen and (max-width:1100px) {

  .article-detail-gallery {
    margin-bottom: 0px;
  }

  .gallery-thumbs .gallery-thumbs-slide {
    width: 16% !important;
    margin-right: 0.8%;
    overflow: hidden;
    margin-bottom: 10px;
  }

  .gallery-thumbs .gallery-thumbs-slide:nth-child(8n) {
    margin-right: 0.8%;
  }

  .gallery-thumbs .gallery-thumbs-slide:nth-child(6n) {
    margin-right: 0;
  }

  .article-detail-dl {
    width: 100%;
    display: block;
    margin-left: 0;
  }

  .article-detail-dl tbody {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .article-detail-dl tr {
    display: flex;
    justify-content: space-between;
    width: 47%;
  }

  .article-detail-dl tr th {
    display: block;
    white-space: nowrap;
    width: 29%;
    padding: 5px 5px 5px 0;
  }

  .article-detail-dl tr td {
    display: block;
    width: 69%;
    padding: 5px 5px 5px 0;
  }

  .gallery-top .swiper-slide .msg {
    margin: 10px 0 20px;
    font-size: 1.3rem;
  }


}

@media screen and (max-width:768px) {


  .article-detail-dl tr {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }

  .article-detail-dl tr th {
    display: block;
    white-space: nowrap;
    width: 29%;
    padding: 5px 5px 5px 0;
  }

  .article-detail-dl tr td {
    display: block;
    width: 69%;
    padding: 5px 5px 5px 0;
  }


}

.article-detail-feature{
  margin-top: 100px;
  margin-bottom: 90px;
}

.article-detail-requirement{
  margin-bottom: 0px;
}

.article-contact{
  padding-top: 100px;
}

@media screen and (max-width:768px){

  .article-detail-feature{
    margin-top: 50px;
    margin-bottom: 40px;
  }

  .article-detail-requirement{
    margin-bottom: 0px;
  }

  .article-contact{
    padding-top: 60px;
  }


}



.article-news-ttl {
  font-size: 3.6rem;
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-weight: bold;
}
.article-news-button{
  border-top:1px solid #707070;
  padding-top: 50px;
  display: flex;
  justify-content: center;
}

.article-news-category{
  margin-bottom: 50px;
}
.article-news-category>span{
  color: #0159C4;
  border-radius: 10px;
  border:1px solid #0159C4;
  padding: 5px 20px;
  font-size: 1.8rem;

}

.article-news-time {
  font-weight: bold;
  font-size: 1.6rem;
  margin-bottom: 5px;
}
@media screen and (max-width:768px){

  .article-news-ttl {
    font-size: 2.4rem;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-weight: bold;
  }
/*
  .article-news-category>span {
      padding: 3px 15px;
      font-size: 1.4rem;
      border-radius: 5px;
  }*/

  .article-news-category {
      margin-bottom: 30px;
  }

}
