﻿/* common */
.flex-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-line-pack: justify;
    align-content: space-between;
    box-sizing: border-box;
}
iframe{
  max-width: 100%;
}
@media screen and (max-width: 768px) {
  br.sp{
    display: block;
  }
  br.pc{
    display: none;
  }
}
@media screen and (min-width: 769px) {
  br.pc{
    display: block;
  }
  br.sp{
    display: none;
  }
}

.record__txt{
  width: 100%;
}
/* js-tab */
.js-tab-content {
    display: none;
    background: #fff;
    padding: 45px 25px 25px;
}
.js-tab{
  border:1px solid #ccc;
  margin-bottom: 45px;
}
.record_content-wrap .ttl,
.record_content-wrap figcaption{
  font-size: 18px;
  margin: 0 auto 1em;
  font-weight: 600;
  text-align: center;
}
.record_tab ul{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.record_tab ul li{
  width: 50%;
}
.record_tab ul li a{
  display: block;
  text-align: center;
  font-size: 18px;
  color: #262626;
  padding: 1em;
  width: 100%;
  border-top: 10px solid #777;
  background:#ccc;
  text-decoration: none;
}
.record_tab ul li span{
  font-size: inherit;
}
.record_tab ul li a.active{
  background: #fff;
}
.record_tab ul li.nagao a{
  border-color: #ddc654;
}
.record_content-wrap{
  width: 100%;
}
.record_content-wrap .flex-box{
  align-items: stretch;
  margin-bottom: 2.5%;
}
.record_content-wrap .tbl_case-wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.record_content-wrap .flex-box > *{
  position: relative;
  padding-top: 50px;
}
.record_content-wrap .flex-box .ttl{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.record_content-wrap .tbl_case-wrap{
  width: 57.5%;
  position: relative;
  /*padding: 0 0 8%;*/
}
.att-txt{
    color: #c00;
    right: 0;
    top: 0;
    /*bottom: 34px;*/
    width: 1em;
    height: 10em;
    z-index: 3;
    line-height: 1.3;
    font-size: 13px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.att-txt:before{
  content: "";
  position: absolute;
  left: -15px;
  width: 5px;
  height: 100%;
  border:2px solid #c00;
  border-left: none;
}
.tbl_case.record{
  margin:0 35px 0 auto;
  width: 100%;
  /*max-width: 320px;*/
}
.tbl_case.record.new{
  margin-bottom:0;
}

.record_content-wrap .tbl_case-wrap .tbl-inner{
  position: relative;
  padding: 0 35px 0 0;
}
.record_content-wrap .tbl_case-wrap .tbl-inner .tbl_case.record{
  margin: 0 0 0 auto;
}
.record_content-wrap .tbl_case-wrap .tbl-inner:nth-child(3) {
    position: relative;
    top: -1px;
}
.tbl_case.record th, .tbl_case.record td{
  padding: .3em .55em;
}
.tbl_case.record th{
  width: 38%;
  background: #fff;
}
.tbl_case.record th.th01{
  background: #ddc654;
}
.tbl_case.record th.th02{
  background: #ffff46;
}
.tbl_case.record tr.clr_red{
  color: #c00;
}

.tbl_case.record th.clr_02{
  background: #FF4471;
  color: #fff;
}
.tbl_case.record th.clr_01{
  background: #0E3EDA;
  color: #fff;
}

.tbl_case.record td{
  text-align: center;
}

.case_photos.record {
    width: 50%;
    padding: 0 20px 30px;
    margin-top:0;
}
#record_content02 .case_photos.record figure{
  margin-top: 50px;
}
.case_photos.record figure{
  margin-bottom: 0;
}
.case_photos.record figure img{
  max-width: 100%;
  width: 80%;
  height: auto;
  margin: 0 auto;
}
/*
.case_photos.record .slick-next,
.case_photos.record .slick-prev{
  display: none !important;
}
*/
.case_photos.record .slick-dots{
  bottom: 0;
}
/*
.sideNavi--wrap{
  display: none;
}
*/

.case_photos.record.new {
  width: 100%;
}
.case_photos.record.new .figure {
  width: 38%;
  max-width: 350px;
}

.case_photos.record .slick-track,
.case_photos.record .slick-list{
  height: 100%;
}
#record_content02 .slick-slide,
.case_photos.record.new .figure{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

@media screen and (min-width: 769px) {
  .att-txt.pc-1 {
      height: 45px;
  }
  .att-txt.pc-2 {
      height: 95px;
  }
  .att-txt.pc-3 {
      height: 140px;
  }
  .att-txt.pc-4 {
      height: 190px;
  }
  .att-txt.pc-5 {
      height: 240px;
  }
}
@media screen and (max-width: 768px) {
  .att-txt.pc-1 {
      height: 2.7em;
  }
  .att-txt.pc-2 {
      height: 5.2em;
  }
  .att-txt.pc-3 {
      height: 8em;
  }
  .att-txt.pc-4 {
      height: 10.6em;
  }
  .att-txt.pc-5 {
      height: 13.3em;
  }
  .att-txt{
    font-size: min(3.46vw, 15px);
  }
  /*
  .att-txt{
    bottom: 0;
  }
  */
}
@media screen and (max-width: 1024px) {
  .record_tab ul li span{
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .js-tab-content {
    padding: 4.5% 5vw 2.5%;
  }
  .record_content-wrap .flex-box > *{
    padding-top: 15px;
  }
  #record_content02 .case_photos.record figure{
    margin-top: 15px;
  }

  .record_content-wrap .ttl,
  .record_content-wrap figcaption{
    font-size: min(4vw,15px);
    margin: 0 auto 1em;
    font-weight: 600;
    text-align: center;
  }
  .record_tab ul li a {
      font-size: min(2.93vw,15px);
    line-height: 1.2;
      padding: .4em .2em;
      border-width: 5px;
  }
  .record_content-wrap .flex-box{
    display: block;
  }
  .case_photos.record{
    width: 100%;
    padding: 0 5px 30px;
  }/*
  .case_photos.record.new{
    padding: 0 5px 30px;
  }*/
  .case_photos.record figure,
  .case_photos.record.new .figure {
    margin: 0 auto;
  }
  .case_photos.record.new .figure {
    width: 70%;
  }
  .case_photos.record figure{
    width: calc(100% - 40px);
  }/*
  .case_photos.record.new figure {
    width: calc(100% - 40px);
    margin: 0 auto;
  }*/
  .case_photos.record figure img{
    width: 100%;
  }
  .case_photos.record .slick-next {
    right: -10px;
    top: 50vw;
  }
  .case_photos.record .slick-prev {
    left: -10px;
    top: 50vw;
  }
  .record_content-wrap .tbl_case-wrap{
    width: 100%;
    margin: 1.5% auto 0;
    padding-top: 30px;
  }
  .tbl_case.record{
    width: calc(100% - 35px);
    width: 100%;
    display: table;
    max-width: 100%;
  }
  .record_content-wrap .tbl_case-wrap .tbl-inner .tbl_case.record{
  }
  .tbl_case.record tr{
    display: table-row;
  }
  .tbl_case.record.new {
      margin: 0;
      width: 100%;
  }
  .tbl_case.record > *{
    display: table-row-group;
  }
  .tbl_case.record th, 
  .tbl_case.record td{
    display: table-cell;
  }
  .tbl_case.record th, 
  .tbl_case.record td{
    font-size: 13px;
    font-size: min(3.2vw, 15px);
    padding: 0em 0.7em;
    border: 1px solid #f0f0ee;
  }
  .case_photos.record .slick-dots{
    bottom:2.5%;
  }
  .record .sympton__ttl {
      padding-bottom: .5em;
  }
}
@media screen and (max-width: 375px) {
  .case_photos.record.new .slick-prev:before, 
  .case_photos.record.new .slick-next:before{
    content: "";
    display: inline-block;
    position: absolute;
    height: 0;
    width: 0;
    border-bottom: solid 5vw #666;
    border-left: solid 4.5vw transparent;
    border-right: solid 4.5vw transparent;
    top: 0;
  }
}

/* case  0616 */
.article_cases .about{
    margin: 0 auto 45px;
}
.tbl_case, .tbl_case td, .tbl_case th {
    border: solid 1px #f0f0ee;
    text-align: left;
    font-size: 18px;
    line-height: 2;
}
.tbl_case {
    border-collapse: collapse;
    margin: 85px auto 0;
}
.tbl_case th {
    background: #f8f8f8;
    text-align: center;
    width: 25%;
}
.tbl_case th, .tbl_case td {
    padding: 1em 1.5em;
    vertical-align: middle;
    height: auto;
}
.att_txt_case{
  max-width: 630px;
  font-size: 13px;
  margin:.5em auto 0;
}
.ba_photo-box{
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  position: relative;
}
.ba_photo-box figure{
  width: 40%;
  margin:0 0 1em;
}
.ba_photo-list{
  position: relative;
}
.ba_photo-list:before,
.ba_photo-list:after{
  content: "";
  position: absolute;
  z-index: 3;
}
.ba_photo-list:before {
    width: 54px;
    height: 27px;
    background: #e71f19;
    top: 50%;
    left: calc( 50% - 5px);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
.ba_photo-list:after {
    display: inline-block;
    height: 0;
    width: 0;
    border-bottom: solid 30px #e71f19;
    border-left: solid 27px #fff;
    border-right: solid 27px #fff;
    top: 50%;
    left: calc( 50% + 25px);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(90deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(90deg);
    transform: translateX(-50%) translateY(-50%) rotate(90deg);
}
.ba_photo-box figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.case-slider,
.case_photos{
  padding: 0 25px;
}

/* Arrows */
.case-slider .slick-prev, .case-slider .slick-next,
.case_photos .slick-prev, .case_photos .slick-next{
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 34px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}
.case-slider .slick-prev:hover,.case-slider.slick-prev:focus,
.case-slider .slick-next:hover, .case-slider .slick-next:focus,
.case_photos .slick-prev:hover, .case_photos .slick-prev:focus,
.case_photos .slick-next:hover, .case_photos .slick-next:focus{
    color: transparent;
    outline: none;
    background: transparent;
}
.case-slider .slick-prev:hover:before, .case-slider .slick-prev:focus:before,
.case-slider .slick-next:hover:before, .case-slider .slick-next:focus:before,
.case_photos .slick-prev:hover:before, .case_photos .slick-prev:focus:before,
.case_photos .slick-next:hover:before, .case_photos .slick-next:focus:before{
    opacity: 1;
}
.case-slider .slick-prev.slick-disabled:before, .case-slider .slick-next.slick-disabled:before, 
.case_photos .slick-prev.slick-disabled:before, .case_photos .slick-next.slick-disabled:before{
    opacity: .25;
}
.case-slider .slick-prev:before, .case-slider .slick-next:before,
.case_photos .slick-prev:before, .case_photos .slick-next:before{
    content: "";
    display: inline-block;
    position: absolute;
    height: 0;
    width: 0;
    border-bottom: solid 20px #666;
    border-left: solid 17px transparent;
    border-right: solid 17px transparent;
    top: 0;
}
.case-slider .slick-prev:before,
.case_photos .slick-prev:before{
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    right: 0;
}
.case-slider .slick-next:before,
.case_photos .slick-next:before{
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    left: 0;
}
.case-slider .slick-prev,
.case_photos .slick-prev{
    left: 0;
}
.case-slider .slick-next,
.case_photos .slick-next{
    right: 0;
}

/* Dots */
.case-slider.slick-dotted.slick-slider{
  padding-bottom: 30px;
    margin-bottom: 80px;
}
.case_photos .slick-dotted.slick-slider{
    margin-bottom: 30px;
}
.case-slider .slick-dots,
.case_photos .slick-dots{
    position: absolute;
    bottom: -25px;
    left: 0;

    display: block;

    width: 100%;
    padding: 0;
    margin: 0;

    list-style: none;

    text-align: center;
}

.case-slider .slick-dots{
    transform: unset;
}
.case-slider .slick-dots li,
.case_photos .slick-dots li{
    position: relative;

    display: inline-block;

    width: 20px;
    height: 20px;
    margin: 0 3px;
    padding: 0;

    cursor: pointer;
}
.case-slider .slick-dots button,
.case_photos .slick-dots li button{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 10px;
    height: 10px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: #666;
    border-radius: 100%;
    opacity: .5;
    color: #fff;
    margin: 0 auto;
}
.case-slider .slick-dots li button:hover, .case-slider .slick-dots li button:focus,
.case_photos .slick-dots li button:hover, .case_photos .slick-dots li button:focus{
    outline: none;
}
.case-slider .slick-dots li.slick-active button,
.case_photos .slick-dots li.slick-active button{
    opacity: 1;
}

@media screen and (max-width: 768px) {
  .case_photos .slick-dots li button{
    width: 7px;
    height: 7px;
    padding: 3.5px;
  }
  .case_photos .slick-dots li {
    width: 7px;
    height: 7px;
    margin: 0 5px;
  }
}
.navi-box_case{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
      
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.navi-box_case p {
    font-size: 13px;
    text-decoration: underline;
    margin-left: 1em;
}
@media screen and (max-width: 768px) {
    .tbl_case,
    .tbl_case > *,
    .tbl_case tr,
    .tbl_case th,
    .tbl_case td{
        display: block;
        width: 100%;
        font-size: 14px;
    }
    .tbl_case{
      border:none;
    }
    .tbl_case th{
      border-bottom:none;
    }
    .tbl_case td{
      border-top:none;
      margin-bottom: 5%;
    }
    .tbl_case th, .tbl_case td {
        padding: 1em 1.2em;
    }
    .article_cases .about{
        margin: 0 auto 15%;
    }
    .article_cases .policy__text {
        font-size: 14px;
    } 
    .case_photos {
        padding: 0;
    }
    .ba_photo-box figure {
      width: 100%;
  }
  .case_photos .slick-dots{
    -webkit-transform: unset;
    transform: unset;
  }
  .att_txt_case {
    font-size: 11px;
    line-height: 1.3;
  }
  .ba_photo-box{
    display: block;
  }
  .ba_photo-box figure{
    aspect-ratio: 4/3;
  }
  .ba_photo-box figure:first-child{
    margin: 0 auto 20vw;
  }
  .ba_photo-list:before {
    top: calc( 50% - 10vw);
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(90deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(90deg);
    transform: translateX(-50%) translateY(-50%) rotate(90deg);
    width: 12.5vw;
    height: 8vw;
  }
  .ba_photo-list:after{
    left: 50%;
    border-bottom: solid 8vw #e71f19;
    border-left: solid 7.5vw #fff;
    border-right: solid 7.5vw #fff;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(180deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(180deg);
    transform: translateX(-50%) translateY(-50%) rotate(180deg);
  }
  .navi-box_case{
      display: block;
  }
  .navi-box_case p{
    margin: 0 auto;
    text-align: center;
  }
}
.cta.cta-link2{
  margin:2.5em auto 5em;
}
.cta.cta-link2 .text__center {
  text-align: center;
  margin-bottom: 2em;
}
.cta.cta-link2 .link {
    justify-content: space-around;
}
.cta > p.address{
    text-align: center;
    margin: 1em auto 0;
    line-height: 1.5;
}

.cta > p.address,
.cta > p.address span{
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .02em;
}

@media screen and (max-width: 768px) {
  .cta > p.address span{
    display: block;
  }
  .cta > p.address,
  .cta > p.address span{
    font-size: 11px;
  }
}
@media screen and (min-width: 769px) {
  .cta > p.address{
    margin: 2em auto -1em;
  }
}
/* page-sinryo 調整 */
.sinryo-image-box_img{
  float: left;
}
.sinryo-image-box_txt{
  padding: 10px; 
  display: flow-root;
}
@media screen and (max-width: 768px) {
  .sinryo-image-box_img{
    float: none;
  }
}

@media screen and (max-width: 768px) {
  .accordion label.link-txt{
    cursor: pointer;
    z-index: 10;
    height: inherit;
    width: 100%;
    box-sizing: border-box;
    border:none;
    -webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
    right: 0;
    top: 0;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    overflow: hidden;
    text-indent: unset;
    display: block;
    position: relative;
    font-size: 16px;
    line-height: 1.4;
  }
  .accordion .toggle:checked+label.link-txt{
    transform:unset;
  }
  .sideNavi__menu__lower.sinryo .sideNavi__menu__item--sp.link-txt{
    font-weight:bold;
    background: #f0f0ee;
  }
}
