/* 研修制度
----------------------------------*/

.main_area {
  padding-top: 5%;
  padding-bottom: 5%;
  position: relative;
  padding-right: 0px;
  padding-left: 0px;
}
@media (max-width: 991px) {
 .main_area {  
  padding-bottom: 0%;
	 padding-right: 5%;
  padding-left: 5%;
}
}
#o-top-training_bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 95%;
    background-color: rgba(18,150,143,0.1);
    top: 10vh;
    bottom: 0;
    height: 80%;
    border-bottom-right-radius: 100px;
}
/* メイン背景設定
----------------------------------*/
.training {
    background-image: url("../img/training/main_img.svg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 50vw auto;
}
@media screen and (max-width: 991px) {
.training {
    background-image: none;    
}
}

.training_list {
    display: flex;
    flex-wrap: wrap;
	/*justify-content:center;*/
    gap: 30px 20px;
    margin-top: 0%;
	margin-bottom: 5%;
}
.training_list li {
    padding-top: 1%;
    padding-right: 1%;
    padding-bottom: 1%;
    padding-left: 1%;
    /*border: 1px solid #E3E3E3;   */ 
    background-color: rgba(255,255,255,1.00);
}
.training_list > li {
    width: calc( ( 100% / 3 ) - 20px ); 
}
@media screen and (max-width: 991px) {
.training_list > li {
    width: calc( ( 100% / 2 ) - 20px ); 
}
}
@media screen and (max-width: 575px) {
.training_list > li {
    width: calc( 100% ); 
}
}
/*.shop_list > li:nth-child( 2n ) {
    margin: 5% 0px 0 0;
}*/
/*.shop_list > li:nth-child( 3n+1 ) {
    margin: 0px 20px 0 0;
}
.shop_list > li:nth-child( 3n+2 ) {
    margin: 5% 20px 0 0;
}
.shop_list > li:nth-child( 3n ) {
    margin: 10% 0px 0 0;
}*/
.training_list_ttl {
    font-size: 19px;
    font-feature-settings: "palt";
    letter-spacing: 0.07em;
    font-weight: bold;  /*color: #000;*/    
	padding: 0.5rem 1rem 0.5rem 1.5rem;
    margin-bottom: 1.6rem;
    background-image:
        linear-gradient(#009e96 50%, #ccc 50%);
    background-repeat: no-repeat;
    background-size: 0.5rem 100%;
}
@media screen and (max-width: 575px) {
.training_list_ttl {
    font-size: 17px;
}
}

.training_list_tx {
    font-size: 15px;
    padding-top: 10px;
    font-feature-settings: "palt";
    line-height: 1.8;
}
a .training_list_tx {
    color: #000000;    
}
.training_list li .image01 {  
	line-height: 0;
  overflow: hidden;
	/*border-radius: 20px;*/
}
.training_list li .image01 img {
    width: 100%;
    height: auto;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.training_list li .image01:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
h3 {
    font-size: 24px;
    padding-bottom: 5px;
    margin-bottom: 30px;
    font-weight: bold;
    font-feature-settings: "palt";
    color: #12968F;
	padding-top: 5%;
}
@media screen and (max-width: 575px) {
h3 {
    font-size: 17px;
}
}
p {
    font-size: 17px;
    line-height: 1.8;    
    /*margin-bottom: 3%;*/
	padding-top: 1%;
}
@media screen and (max-width: 575px) {
p {
    font-size: 14px;
}
}

.training_photo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 20px;
}
@media screen and (max-width: 575px) {
.training_photo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px 10px;
}
}
/* トリミング
---------------------------------*/
.trimming {
  overflow: hidden;
  position: relative;
  padding-top: 65%;
  margin-bottom: 15px;
}
.photo {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.nav-below {	
	margin-bottom: 5%;	
	margin-top: 5%;
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
    flex-grow: 0;
}
.wp-block-gallery .blocks-gallery-item figcaption {
    padding: 0 10px;
}

.wp-block-columns {
    margin-bottom: 1%;	
}

/*.insta-like.wp-block-gallery.has-nested-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px,35vw), 1fr));
    gap: 10px;
}

.insta-like .wp-block-gallery.has-nested-images figure.wp-block-image {
    width: unset !important;
    margin: 0 !important;
}

.insta-like .wp-block-gallery.has-nested-images figure.wp-block-image img {
    aspect-ratio: 1/1;
}*/

