@charset "utf-8";

#pg_index section {
    margin: 0 auto 70px;
}
.cont_header.visual :is(h1,p){
    color: #fff;
}
.txt_catch {
	font-size: 2rem;
	font-weight: bold;
}
.base_wrap.wide {
	max-width: 1100px;
}

/* 768px */
@media only screen and (max-width: 768px) {
    .cont_header.visual h1 {
        font-size: 4rem;
        text-align: center;
    }
	.txt_catch {
		font-size: 1.6rem;
	}
}


/* ------------------------------------
    cont_index
------------------------------------ */
.cont_index {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.cont_index li {
    position: relative;
    width: 23.64%;
    z-index: 0;
    text-align: center;
    font-weight: bold;
    transition: opacity 0.2s ease-out;
    margin: 0 1.5% calc(1.81% + 1.3rem);
    overflow: hidden;
}
.cont_index li:first-child {
    background: transparent url(../img/pattern_01/contents_01.jpg) center center / cover no-repeat;
}
.cont_index li:nth-child(2) {
    background: transparent url(../img/pattern_01/contents_02.jpg) center center / cover no-repeat;
}
.cont_index li:nth-child(3) {
    background: transparent url(../img/pattern_01/contents_03.jpg) center center / cover no-repeat;
}
.cont_index li::before {
    content: '';
    display: block;
    padding-top: 100%;
}
.cont_index li::after {
  content: "";
  background-color: #FFFFFF;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: .2s
}
.cont_index li:hover::after {
  opacity: .5;
}
/*.cont_index li:nth-child(3)::after {
    content: "";
    position: absolute;
    right: 9px;
    bottom: 9px;
    z-index: 1;
    background: url("../img/pattern_01/ico_blank.png") no-repeat center center / contain;
    width: 15px;
    height: 15px;
}*/
.cont_index li a {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
    font-size: 2rem;
    line-height: 1.6;
    padding: 6.25% 5%;
}
/*.cont_index li a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: rgba(255,255,255,0.8);
    opacity: 1;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .9em;
    text-align: center;
    color: #333;
    transition: .2s;
}
.cont_index li:first-of-type a::after{
    content: 'トップメッセージ';
}
.cont_index li:nth-of-type(2) a::after{
    content: '2025年3月期これまでの取り組み';
}
.cont_index li:nth-child(3) a::after{
    white-space: pre-wrap;
    content: '2024年3月期決算説明会\A【動画】';
    margin: 0;
}
.cont_index li a:hover::after {
    height: 100%;
}*/
.cont_index li a p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: #fff;
  opacity: .9;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: .9em;
  text-align: center;
  color: #333;
  padding: 0 5% 0 5%;
  line-height: 1.2;
}
.cont_index li a p::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  border: 8px solid #002D78;
  border-left: 8px solid transparent;
  border-top: 8px solid transparent;
}  
/*.cont_index li a p::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background: transparent url("../img/ico_arrow_r.png") center center no-repeat ;
  background-size: 100%;
  position: absolute;
  right: 5%;
}*/
/* 1080px-769px */
@media only screen and (max-width: 1080px) and (min-width: 769px){
  .cont_index li a::after{
    font-size: clamp(.7em,calc(100vw * 20 / 1080),.9em);
  }
}

/* 768px */
@media only screen and (max-width: 768px) {
    .btn_area {
        margin: 30px auto 20px;
    }
    .cont_index{
        display: block;
    }
    .cont_index li{
        width: 100%;
        margin: 0 0 20px;
        text-align: left;
    }
    .cont_index li:first-child {
        background: transparent url(../img/pattern_01/contents_01_sp.jpg) center center / cover no-repeat;
    }
    .cont_index li:nth-child(2) {
        background: transparent url(../img/pattern_01/contents_02_sp.jpg) center center / cover no-repeat;
    }
    .cont_index li:nth-child(3) {
        background: transparent url("../img/pattern_01/contents_03_sp.jpg") center center / cover no-repeat;
    }
    /*.cont_index li:nth-child(3) a::after{
        content: '2024年3月期決算説明会【動画】';
    }*/
    .cont_index li::before {
        padding-top: 60%;
    }
    .cont_index li a{
        align-items: center;
        padding: 3.125% 10%;
    }
    .cont_index li a::after {
        line-height: 1.2;
    }
}


/* ------------------------------------
    btn_area
------------------------------------ */
.btn_area{
    margin: 10px auto 20px;
}
.btn_area a {
    border-width: 1px;
    width: 500px;
    max-width: 48%;
    margin: 10px 1%;
    white-space: nowrap;
    width: 31%;
}

/* 768px */
@media only screen and (max-width: 768px) {
    .btn_area a{
        width: 100%;
        max-width: 100%;
        margin: 5px 0;
    }
}