@charset "UTF-8";
/* -------------------------------------------------------------------------------- */
/* 見出し 　　　　　　　　　　　　　                                        .mgs_title */
/* -------------------------------------------------------------------------------- */

.mgsblk-lr
{
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mgsblk-lr strong
{
  font-size: 1.5em;
  font-family: "Merriweather", serif;
  font-weight: 500;
}

.mgsblk-lr .image
{
  display: flex;
  align-items: center;
  justify-content: center;
}
.mgsblk-lr .image img
{
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像のアスペクト比を保持しつつdivの高さに合わせる */
}

.mgsblk-lr-1 .texts
{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 50px;
  color: #000;
  font-size: 14px;
}
.mgsblk-lr-1 .texts .text
{
  font-size: 14px;
}
.mgsblk-lr-1 .texts .subtitle
{
  color: #000;
  margin-bottom: 2px;
}
.mgsblk-lr-1 .texts .title
{
  font-size: 22px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
}
.mgsblk-lr-1 .texts .btn
{
  margin-top: 30px;
  background: #EFC7AC;
  display: inline-block;
  border-radius: 20px;
  padding: 10px 30px;
}

.mgsblk-lr-align-image-left .image{order: 1; min-height: 400px;}
.mgsblk-lr-align-image-right .image{order: 2; min-height: 400px;}
.mgsblk-lr-align-image-left .texts{order: 2;}
.mgsblk-lr-align-image-right .texts{order: 1;}


/* -------------------------------------------------------------------------------- */
/*        TABLET                                                                    */
/* -------------------------------------------------------------------------------- */
@media screen and (min-width: 740px) and (max-width: 899px)
{
  .mgsblk-lr-align-image-left .image{min-height: auto;}
  .mgsblk-lr-align-image-right .image{min-height: auto;}
}

/* -------------------------------------------------------------------------------- */
/*         MOBILE                                                                   */
/* -------------------------------------------------------------------------------- */
@media only screen and (max-width: 739px)
{
  .mgsblk-lr strong
  {
    font-size: 1.3em;
    font-family: "Merriweather", serif;
    font-weight: 500;
  }

  .mgsblk-lr
  {
    display: grid;
    grid-template-columns: 1fr;
  }
  .mgsblk-lr-1 .texts
  {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 30px;
    color: #000;
  }
  .mgsblk-lr-align-image-left .image{min-height: auto;}
  .mgsblk-lr-align-image-right .image{min-height: auto;}
}