@charset "UTF-8";

.saikei_header{
  background: url(../img/bg.jpg) center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 1rem;
  text-align: center;
}
.saikei_header h1 {
  text-align: center;
  margin: 0.5rem auto 1rem;
}
.saikei_header h1 img{
  width: 100%;
}
.saikei_info {
  padding: 2rem 0;
}
.info_item {
  margin-bottom: 15px;
}
.info_label {
  display: inline-flex;   
  justify-content: center; 
  align-items: center;  
  background-color: #1E4565;
  color: #fff;
  padding: 5px 10px;
  border: 2px solid #1E4565;
  margin-bottom: 5px;
  border-radius: 3px;
  font-weight: bold;
}
.info_text {
  display: block;
  margin-top: 5px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
  text-shadow:
           1px 1px 0px #fff, -1px -1px 0px #fff,
          -1px 1px 0px #fff,  1px -1px 0px #fff,
           1px 0px 0px #fff, -1px  0px 0px #fff,
           0px 1px 0px #fff,  0px -1px 0px #fff;
}

.saikei_topimg {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.saikei_subimg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.subimg {
  width: 100%; 
  height: auto;
  display: block; 
}
.saikei_subimg img {
  border-radius: 5px;
}

.saikei_box {
  color: #000;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0rem 1.8rem 1.8rem 1.8rem;
  background:#fff;
  max-width: 86rem;
  margin: 1rem auto 2rem;
  text-align: center;
}
.saikei_header p{
  color: #000;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.5;
  padding: 2rem 0;
}
.saikei_footer {
  margin: 0 auto;
  padding: 1rem 3rem;
  text-align: center;
}
.saikei_footer a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #1E4565;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: 0.3s ease;
}
.saikei_footer img {
  width: 100%;
  max-width: 300px;
  border: 1px solid #1E4565;
  display: block;
  margin: 0 auto 1rem;
  background-color: #fff;
}
.saikei_footer_text {
  font-size: 1.4rem;
}
.sp{
  display: none;
}




@media screen and (min-width:768px) {
  .saikei_header {
    background: url(../img/bg_header.jpg) center0 no-repeat;
    background-size: cover;
    text-align: center;
    padding: 4rem 1.5rem 3rem;
  }
  .saikei_header h1 {
    margin: 0.5rem auto 0 ;
    width: 90rem;
  }
  .saikei_header h1 img {
    border-radius: 20px;
  }
  .saikei_info {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 10px 30px;
    padding: 3rem;
  }
  .info_item {
    display: contents;
  }
  .info_label {
    width: 100px;
    text-align: center;
    margin-bottom: 0;
  }
  .info_text {
    margin-top: 0;
    align-self: center;
    font-size: 2.8rem;
    text-align: left;
  }
	
  .saikei_topimg {
    max-width: none;
	  
  }
  .saikei_box {
    padding: 2rem 2rem 3rem;
  }
  .saikei_box p{
    font-size: 1.8rem;
    line-height: 2;
    text-align: center;
  }
  .saikei_footer {
    margin: 4rem auto 2rem;
}
  .saikei_footer_text {
    font-size: 1.8rem;
}
  .sp{
    display: inline;
}
  
	
	
}