/* style parts --------------------------------------------------*/

body {
  background-color: white;
}

img {
  /*  max-width: 100%;*/
  width: 100%;
  height: auto;
  vertical-align: top;
}

.wrapper a:hover {
  opacity: 0.6;
}

.color1 {
  color: #05AF7A;
  font-weight: bold;
}

.pc {
  display: block;
}

.sp {
  display: none;
}


[class*="lyt-col"] {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
  justify-content: space-between;
}

.hdg {
  vertical-align: middle;
  padding-left: 16px;
  border-left: solid 3px #000;
  font-size: 32px;
  max-width: 994px;
  margin: 100px auto 40px;
}

.hdg.m30 {
  margin-top: 30px;
}

.mv_area {
  position: relative;
  top: -72px;
  padding-top: 72px;
  background-color: #FDE433;
}

.mv_inner {
  height: 250px;
  max-width: 1182px;
  margin: 0 auto;
  padding-top: 30px;
  background: url(../img/mv_bg.png) left bottom / 100% auto no-repeat;
}

.mv_area h1 {
  max-width: 982px;
  margin: 0 auto;
  font-size: 43px;
  font-feature-settings: "palt";
  line-height: 1.35;
}

.mv_area h1 span {
  font-size: 55px;
  color: #05AF7A;
}

.img_pic {
  display: block;
  width: 880px;
  margin: 0 auto 60px;
  border: 1px solid #CFCFCF;
  border-radius: 16px;
}

.box_nav {
  background-color: #FCF299;
  padding: 50px 0;
}

.box_nav .inner {
  max-width: 1032px;
  margin: 0 auto;
}

.box_nav .hdg {
  margin: 0 auto 40px;
}

.box_qa {
  background-color: #F2F2F2;
  padding: 50px 40px 100px;
}

.box_end {
  margin-top: 80px;
  margin-bottom: 60px;
}

.box_end>p {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 50px;
  font-weight: bold;
}

.box_end picture {
  display: block;
  max-width: 714px;
  margin: 40px auto 0;
}

.sub_nav {
  position: fixed;
  top: calc(50% - 230px);
  right: 0;
  transition: 0.3s;
  animation: slideInFromRight 1s forwards;
  z-index: 10;
}

.sub_nav li+li {
  margin-top: -5px;
}

@keyframes slideInFromRight {
  0% {
    right: -100%;
  }

  100% {
    right: 0;
  }
}

.list-type-1 {
  max-width: 1032px;
  padding-top: 0;
  margin: 0 auto;
}

.list-type-1 li {
  width: 48%;
}

.list-type-1 h3 {
  font-size: 2.2rem;
}

.list-type-1 a {
  width: 100%;
  min-height: 200px;
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 40px 20px 40px 230px;
  box-shadow: 0px 5px 14px 0px #E3D889;
  position: relative;
  letter-spacing: normal;
}

.list-type-1 p {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 1rem;
  letter-spacing: normal;
}

.list-type-1 img {
  position: absolute;
  width: 200px;
  left: 20px;
  top: calc(50% - 60px);
}

.list-type-1 a:hover {
  opacity: 0.7;
}

.txt_caption {
  text-align: center;
  font-size: 20px;
  margin-top: 70px;
}

.txt_caption a {
  font-size: 1.8rem;
  color: #0E63C1;
  font-weight: bold;
}

.txt_caption a:visited,
.txt_caption a:link {
  color: #0E63C1;
}

/* hack */
.stories__details__talk {
  max-width: 1058px;
  margin: 40px auto;
}

.talk--right.caption {
  max-width: 728px;
  margin: -20px auto 40px;
  padding: 0 10px 0 20px;
}

.stories__details__talk .talk__person {
  width: 96px;
}

.stories__details__talk .talk__person__img .person__img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
}

.stories__details .talk--right .talk__balloon {
  margin-right: 34px;
}

.stories__details .talk--left .talk__balloon {
  margin-left: 34px;
}

.stories__details__talk .talk__balloon {
  max-width: calc(100% - 260px);
}

/*三角と背景のハック*/
.stories__details__talk.talk--left .talk__balloon {
  border: none;
  background-color: #F0F0F0;
  width: 100%;
}

/* .talk__balloon span {
  display: inline;
  padding-bottom: 3px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 1) 81%, rgba(253, 228, 51, 1) 81%, rgba(253, 228, 51, 1) 100%);
  font-weight: bold;
}

.talk__balloon span.green {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 1) 81%, #05AF7A 81%, #05AF7A 100%);
} */

.talk__balloon span {
  display: inline;
  background: none;
  border-bottom: 3px solid rgba(253, 228, 51, 1);
}

.talk__balloon span.green {
  border-bottom: 3px solid #05AF7A;
}

.stories__details__talk.talk--left .talk__balloon::before,
.stories__details__talk.talk--left .talk__balloon::after {
  border-right: 20px solid #F0F0F0;
}

.stories__introduction img {
  width: 246px;
}

.animation.bow {
  width: 246px;
  height: 246px;
  margin: 0 auto;
}

.siteHeader__identity--logoSite {
  background-image: url(./../../../stories/img/common/logo_site_black.svg);
}

.headerNav--pc__item--newContract {
  background-image: url(./../../../stories/img/common/icon_new-contract_black.svg);
}

.headerNav--pc__item--addressChange {
  background-image: url(./../../../stories/img/common/icon_address-change_black.svg);
}

.headerNav--pc__item--BSContract {
  background-image: url(./../../../stories/img/common/icon_bs-contract_black.svg);
}

.stories__tagline--imageTagline {
  background-image: url(/jushinryo/info/stories/img/common/image_tagline_black2.svg);
}

.talk__balloon_no {
  margin: 20px 0 0 30px;
  font-size: 26px;
  font-weight: bold;
}



@media screen and (min-width: 813px) {

  .stories__introduction .arrow-link:after {
    margin: 0 0 7px 10px;
  }

  .stories__introduction__message p {
    font-size: 28px;
  }

  .stories__introduction .arrow-link {
    font-size: 34px;
  }

  .stories__introduction__reception-fee-message {
    font-size: 28px;
  }

  .stories__tagline--imageTagline {
    width: 100%;
    height: 4.4vw;
    max-height: 62px;
    margin: 96px auto 120px;
    background-size: auto 100%;
    background-position: center center;
  }

  .stories__tagline--imageTagline {
    max-width: 100%;
  }

}




/** SP *****************************************************************************************************************************************************/

@media screen and (max-width: 1039px) {

  .mv_area {
    position: initial;
    padding-top: 0;
  }

  .mv_inner {
    height: auto;
    padding: 12px 18px;
    background: url(../img/mv_bg_sp.png) right bottom / 100% auto no-repeat;
  }

  .mv_area h1 {
    font-size: 5vw;
    font-weight: bold;
    letter-spacing: normal;
  }

  .mv_area h1 span {
    font-size: 6vw;
    font-weight: bold;
    color: #05AF7A;
    letter-spacing: normal
  }

  .hdg {
    padding-left: 10px;
    font-size: 16px;
    margin: 30px auto 0px;
    letter-spacing: normal;
  }

  .hdg.m30 {
    margin: 40px 20px 20px;
  }

  .img_pic {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
  }

  .box_nav {
    padding: 30px 20px;
    margin-top: 40px;
  }

  .box_nav .hdg {
    margin-bottom: 20px;
  }

  .box_qa {
    background-color: #F2F2F2;
    padding: 10px 20px 40px;
  }

  .box_end {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .box_end>p {
    font-size: 1rem;
    margin: 0 30px 20px;
    text-align: left;
  }

  .box_end picture {
    display: block;
    max-width: 714px;
    margin: 20px;
  }

  .sub_nav {
    width: 100%;
    top: initial;
    bottom: 0;
    right: 0;
    transition: 0.3s;
    animation: slideInFromRight 1s forwards;
    padding: 5px 5px;
    background-color: rgba(0, 0, 0, 0.6);
  }

  .sub_nav ul {
    display: table;
  }

  .sub_nav li {
    display: table-cell;
    width: 50%;
    padding: 5px;
  }

  .sub_nav li+li {
    margin-top: 0;
  }

  @keyframes slideInFromRight {
    0% {
      bottom: -100%;
    }

    100% {
      bottom: 0;
    }
  }

  .list-type-1 li {
    width: 100%;
  }

  .list-type-1 li+li {
    margin-top: 18px;
  }

  .list-type-1 h3 {
    font-size: 28px;
    margin-bottom: 3px;
  }

  .list-type-1 a {
    min-height: 110px;
    border-radius: 8px;
    padding: 18px 20px 18px 145px;
    position: relative;
    letter-spacing: normal;
  }

  .list-type-1 p {
    font-size: 14px;
  }

  .list-type-1 img {
    width: 130px;
    left: 10px;
    top: calc(50% - 39px);
  }

  .list-type-1 a:hover {
    opacity: 0.7;
  }

  .txt_caption {
    text-align: left;
    font-size: 14px;
    margin-top: 30px;
    letter-spacing: normal;
  }

  .txt_caption a {
    font-size: 17px;
    letter-spacing: normal;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }


  /* hack */
  .talk--right.caption {
    margin: 10px 30px 40px;
    padding: 0;
    text-align: left;
    font-size: 12px;
    letter-spacing: normal;
  }

  .stories__details__talk {
    display: flex;
    margin: 0 auto 32px;
  }

  .stories__details__talk {
    margin: 20px 20px 0;
  }

  .stories__details__talk .talk__balloon {
    max-width: calc(100% - 80px);
  }

  .stories__details .talk--right {
    flex-flow: row nowrap;
    flex-direction: row-reverse;
    align-items: flex-start;
  }

  .stories__details__talk .talk__balloon p {
    /* font-size: 14px;
line-height: 1.4;
letter-spacing: normal; */
  }

  .stories__details .talk--right .talk__balloon {
    margin-right: 0;
    margin-left: 10px;
  }

  .stories__details .talk--left .talk__balloon {
    margin-left: 0;
    margin-right: 10px;
    width: 100%;
  }

  .stories__details__talk.talk--left .talk__balloon::after {
    border: none;
  }

  .stories__details__talk.talk--left .talk__balloon::before {
    border-bottom: 16px solid #F0F0F0;
  }

  .stories__details__talk.talk--left .talk__balloon {
    border: none;
    background-color: #F0F0F0;
  }

  .stories__details__talk.talk--left .talk__balloon::before,
  .stories__details__talk.talk--left .talk__balloon::after {
    border-right: 17px solid transparent;
  }

  .stories__tagline--imageTagline {
    background-image: url(./../../../stories/img/common/image_tagline_black2.svg);
  }

  .stories__details__talk .talk__person {
    width: 65px;
    height: 65px;
    margin: 0 15px;
  }

  .stories__details__talk .talk__person__img .person__img {
    width: 48px;
    height: 48px;
  }

  .stories__details__talk .talk__balloon {
    margin-top: 0px;
  }

  .stories__details .talk--right .talk__balloon::before,
  .stories__details .talk--left .talk__balloon::before {
    transform: scaleX(0.6) scaleY(0.7);
  }

  .stories__details .talk--right .talk__balloon::after,
  .stories__details .talk--left .talk__balloon::after {
    transform: scaleX(0.66) scaleY(0.78);
  }

  .stories__details .talk--right .talk__balloon::before {
    top: 5px;
    right: -28px;
    transform: scaleX(0.53) scaleY(0.53);
    border-left: 19px solid black;
  }

  .stories__details .talk--right .talk__balloon::after {
    top: 5px;
    right: -27px;
    transform: scaleX(0.5) scaleY(0.5);
    border-left: 20px solid white;
  }

  .stories__details .talk--left .talk__balloon::before {
    top: 5px;
    left: -26px;
    transform: scaleX(0.6) scaleY(0.7) rotate(-90deg);
  }

  .stories__introduction img {
    width: 120px;
  }

  .animation.bow {
    width: 120px;
    height: 120px;
  }

  .stories__details__talk .talk__balloon::before,
  .stories__details__talk .talk__balloon::after {
    display: block;
    position: absolute;
    top: 19px;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    content: '';
  }


}

.main a {
  display: inline-block;
}

.main .box_end a {
  display: block;
}

.wrapper .box_nav a:link,
.wrapper .box_nav a:active,
.wrapper .box_nav a:visited { color: black; }
