/*---mainVisual---*/
div.mainVisual{
  margin: 0 auto 50px;
}
div.mainVisualimg{
  margin-left: 50%;
  width: calc(100vw - 50%);
  height: 400px;
  background-image: url("../images/common/bg_vi2.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
div.mainVisualimg:before{
  content: "";
  position: absolute;
  background-color: #FFF;
  transform-origin: left top;
  transform: rotate(67deg);
  z-index: -1;
  width: 100vw;
  height: 500px;
}
div.mainvisualTxt{
  height: 385px;
  width: calc(100vw - 50% + 160px);
  margin-right: -50%;
  background: url("../images/top/bg_vc.png"), -moz-linear-gradient(right, transparent 200px, #0098DB 500px);
  background: url("../images/top/bg_vc.png"), -webkit-linear-gradient(right, transparent 200px, #0098DB 500px);
  background: url("../images/top/bg_vc.png"), linear-gradient(to left, transparent 200px, #0098DB 500px);
  background-repeat: no-repeat;
  background-position: bottom right;
  position: absolute;
  top: 50px;
  z-index: 100;
}
div.mainvisualTxt div.txt{
  position: absolute;
  bottom: 30px;
  right: 306px;
  padding-left: 20px;
  width: 348px;
}
p.verticalTxt{
  position: absolute;
  top: -180px;
  color: #FFF;
  font-size: 10px !important;
  transform: rotate(90deg);
  transform-origin: top left;
  left: -30px;
}
p.verticalTxt span{
  margin-left: 160px;
}
p.verticalTxt::before{
  display: inline-block;
  content: "";
  border-top: 1px solid #3E3B39;
  width: 150px;
  position: absolute;
  top: 6px;
}
p.verticalTxt::after{
  display: inline-block;
  content: "";
  border-top: 1px solid #FFF;
  width: 123px;
  position: absolute;
  top: 6px;
  left:27px;
}
@media screen and (max-width: 1170px) {
  div.mainvisualTxt div.txt{
    left: 60px;
  }
}
/*---info---*/
div.info {
  max-width: 980px;
  margin: 0 auto;
}
div.info div.inner_wrap {
  margin: 0 20px;
  padding: 38px 0 48px 0;
}
div.info h2 {
  font-size: 18px;
  padding-bottom: 30px;
}
div.info p:last-of-type {
  margin-bottom: 0;
}
/*---navto2nd---*/
nav.toSecond ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
nav.toSecond ul li {
  min-width: 150px;
  width: 23%;
  height: inherit;
  position: relative;
}
nav.toSecond ul li:before {
  display: block;
  content: "";
  padding-top: 100%;
}
nav.toSecond ul li a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 0;
}
nav.toSecond ul li a img {
  width: 100%;
  height: auto;
  -webkit-transition: 1s;
  transition: 1s;
  position: relative;
  z-index: 0;
}
nav.toSecond ul li:hover img {
  transform: scale(1.2);
  -webkit-transition: 1s;
  transition: 1s;
  opacity: 10;
}
nav.toSecond ul li span {
  position: absolute;
  display: block;
  padding: 10px;
  width: 100%;
  left: 0;
  bottom: 0;
  background-color: rgba( 69, 59, 57, 0.8);
  background-image: url("../images/common/ico_next.png");
  background-repeat: no-repeat;
  background-position: calc(100% - 5px) center;
  background-size: 14px 26px;
  color: #FFF;
  z-index: 1;
  font-size: 16px;
}
nav.toSecond ul li.outlink span{
  background-image: url("../images/common/ico_outlink_wh.png");
  background-size: 13px 9.5px;
}
/*---news---*/
div.news {
  max-width: 980px;
  margin: 0 auto;
  padding: 50px 20px;
}
div.news h2 {
  font-size: 22px;
  padding-bottom: 30px;
  text-align: center;
  align-items: center;
  justify-content: center;
}
div.news div.innerWrap{
  margin-bottom: 80px;
}
div.news h3{
  border-left: 5px solid #236BAC;
  padding: 5px 0 5px 14px;
  font-size: 18px;
  color: #236BAC;
}
div.news span.newsLink{
  display: block;
  margin-bottom: 10px;
  text-align: right;
  font-size: 13px;
}
div.news span.newsLink:before{
  display: inline-block;
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-top: 1px solid #236BAC;
  border-right: 1px solid #236BAC;
  transform: rotate(45deg);
}
div.news span.newsLink a{
  color: #236BAC;
}
div.news div.innerWrap ul {
  border-top: 1px solid #C8C8C8;
}
div.news ul li{
  display: flex;
  padding: 15px 20px 15px 5px;
  border-bottom: 1px solid #C8C8C8;
  position: relative;
}
div.news ul li:after{
  display: block;
  content: "";
  position: absolute;
  right: 0;
  top: calc(50% - 3px);
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-top: 1px solid #3E3B39;
  border-right: 1px solid #3E3B39;
  transform: rotate(45deg);
}
div.news ul li span{
  margin: 1px 10px 0 0;
  font-size: 12px;
  width: 90px;
}
div.news ul li a:hover{
  color: #236BAC;
}
/*---news twoColumn---*/
div.news div.innerWrap.twoColumn{
  display: flex;
  justify-content: space-between;
}
div.twoColumn > section{
  width: 47%;
}
div.news div.twoColumn ul li{
  display: block;
}
div.news div.twoColumn ul li span{
  margin: 0 10px 0 0;
  width: 100%;
}
/*---partner---*/
div.partner{
  padding: 80px 20px;
  background-color: #DCDCD2;
  box-shadow: inset 10px 15px 10px -15px rgba(150, 150, 150, .5);
}
div.partner h2{
  padding-bottom: 30px;
  font-size: 18px;
  text-align: center;
}
div.partner ul{
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}
div.partner ul li{
  width: 48%;
  background-color: #FFF;
}
div.partner ul li a{
  display:flex;
  align-items: center;
  padding: 15px;
  height: 100%;
}
div.partner ul li img{
  margin-right: 15px;
  width: 40%;
  max-width: 165px;
  height: auto;
}
@media screen and (max-width: 640px) {
  /*---mainVisual---*/
  div.mainVisual{
    margin: 0 auto 190px;
  }
  div.mainVisualimg{
    margin-left: 20px;
    width: calc(100% - 20px);
    height: 185px;
  }
  div.mainvisualTxt{
    height: 185px;
    width: calc(100% - 60px);
    margin-right: 0;
    top: 160px;
  }
  div.mainvisualTxt div.txt{
    position: static;
    padding: 38px 0 0 65px ;
    width: 100%;
  }
  div.mainvisualTxt div.txt img{
    height: auto;
    width: 180px;
  }
  p.verticalTxt{
    top: -64px;
    font-size: 7px !important;
    left: 30px;
  }
  p.verticalTxt span{
    margin-left: 100px;
  }
  p.verticalTxt::before{
    width: 80px;
  }
  p.verticalTxt::after{
    width: 26px;
    left:63px;
  }
  /*---navto2nd---*/
  nav.toSecond ul li {
    width: calc(50% - 10px);
    margin-bottom: 20px;
  }
  /*---news---*/
  div.news div.innerWrap,
  div.news div.innerWrap.twoColumn{
    display: block;
    margin-bottom: 0;
  }
  div.news h3{
    position: relative;
    border: 1px solid #236BAC;
    padding: 10px;
    margin-bottom: 10px;
    transition: .3s;
    cursor: pointer;
  }
  div.news h3:after{
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2px solid #236BAC;
    position: absolute;
    right: 10px;
    top: 50%;
  }
  div.news h3:before{
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2px solid #236BAC;
    position: absolute;
    right: 16px;
    top: calc(50% - 6px);
    transform: rotate(90deg);
  }
  div.news div.newsPanel{
    display: none;
    padding-bottom: 60px;
  }
  div.news div.innerWrap ul {
    width: 100%;
  }
  div.news ul li{
    display: block;
  }
  div.news ul li span{
    margin: 0 10px 0 0;
    width: 100%;
  }
  /*open*/
  div.news h3.open,
  div.news h3:hover{
    background-color: #236bac61;
  }
  div.news h3.open:before{
    display: none
  }
  /*---news twoColumn---*/
  div.twoColumn > section{
    width: 100%;
  }
  div.news a.btn.contact{
    margin-top: 30px;
  }
  /*---partner---*/
  div.partner{
    padding: 60px 20px;
  }
  div.partner ul{
    display: block;
  }
  div.partner ul li{
    width: 100%;
    margin-bottom: 20px;
  }
  div.partner ul li:last-child{
    margin-bottom: 0;
  }
}
@media screen and (max-width: 499px) {
  div.partner ul li a{
    display: block;
    padding: 15px;
  }
  div.partner ul li img{
    display: block;
    margin: 0 auto 10px;
  }
}
@media screen and (max-width: 370px) {
  div.mainvisualTxt div.txt{
    position: static;
    padding: 38px 83px 0 47px ;
    width: 100%;
  }
  div.mainvisualTxt div.txt img{
    height: auto;
    width: 100%;
  }
}
/* ============================
   株主優待バナー（トップページ用）
   ============================ */
.yutai-banner {
  position: relative;
  z-index: 200;
  max-width: 980px;
  margin: 0 auto 50px;
  padding: 30px 20px 0;
}
.yutai-banner-inner {
  display: flex;
  align-items: flex-start;
  background: #e8f1fa;
  border-radius: 5px;
  overflow: hidden;
}
.yutai-banner-left {
  flex: 1;
  padding: 36px 0 36px 40px;
  min-width: 0;
}
.yutai-banner-label {
  display: block;
  font-size: 11px;
  font-weight: bold;
  color: #236BAC;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.yutai-banner-title {
  font-size: 22px;
  font-weight: bold;
  color: #1a3050;
  margin: 0 0 16px;
  text-indent: 0;
  line-height: 1.4;
}
.yutai-banner-desc {
  font-size: 13px;
  line-height: 2;
  color: #555;
  margin: 0;
  text-indent: 0;
}
.yutai-banner-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 36px 36px;
  flex-shrink: 0;
  width: 300px;
}
.yutai-banner-condition {
  background: #fff;
  border-radius: 5px;
  padding: 18px 24px;
  text-align: left;
  width: 100%;
}
.yutai-banner-condition-label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
  border-bottom: 1px solid #e3e8e8;
  padding-bottom: 8px;
}
.yutai-banner-condition-text {
  font-size: 15px;
  line-height: 1.8;
  color: #1a3050;
  font-weight: bold;
  margin: 0;
  text-indent: 0;
}
.yutai-banner-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #236BAC;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 14px 24px;
  border-radius: 5px;
  transition: background 0.3s;
}
.yutai-banner-btn:hover {
  background: #1a3050;
  color: #fff;
  opacity: 1;
}
@media screen and (max-width: 640px) {
  .yutai-banner {
    margin: 0 20px 40px;
    padding: 0;
  }
  .yutai-banner-inner {
    flex-direction: column;
  }
  .yutai-banner-left {
    padding: 28px 24px 20px;
  }
  .yutai-banner-right {
    width: 100%;
    padding: 0 24px 28px;
    gap: 14px;
  }
  .yutai-banner-title {
    font-size: 18px;
  }
  .yutai-banner-desc {
    font-size: 12px;
  }
}
