/*
Theme Name: WordPress Customize Vanilla Theme
Theme URI: 
Author: fastcoding.inc
Author URI: https://fastcoding.jp/
Description: This theme is most basicly theme for WordPress Development. All our future will start this "Vanilla".
Version: 3.1
License: Plate.inc
License URI: 
Tags: Vanila Basic
Text Domain: wpcvanilla

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*
* Native styles for wisiwyg editor
*/
.the_content {
  overflow: hidden;
  zoom: 1;
}

.the_content:after {
  display: block;
  clear: both;
  content: "";
}

.the_content p {
  display: block;
  margin: 1em 0;
}

strong {
  font-weight: bold;
}

/*em { font-style: italic; }*/
blockquote {
  display: block;
  -webkit-margin-before: 1em;
  -webkit-margin-after: 1em;
  -webkit-margin-start: 40px;
  -webkit-margin-end: 40px;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

@media screen and (min-width: 768px),
print {
  .alignright {
    float: right;
  }

  .alignleft {
    float: left;
  }
}

img[class*="wp-image-"],
img[class*="attachment-"] {
  max-width: 100%;
  height: auto;
}

@media screen and (min-width:767px) {
  .img[class*="vest2-"]{
    margin-right: 0px !important;
    width: 33% !important;
    height: 352px; 
  }
}


.the_content a {
  text-decoration: underline;
}

@media screen and (min-width: 768px),
print {
  .u-pcnone {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .u-spnone {
    display: none;
  }
}


.l-top-last {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px 20px;
  grid-template-areas:
    "l-top-last__01 l-top-last__03"
    "l-top-last__02 l-top-last__04";
  margin-bottom: 50px;
}

.l-top-last__01 {
  grid-area: l-top-last__01;
}

.l-top-last__03 {
  grid-area: l-top-last__03;
  /* #region 0117edit */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
  /* #endregion 0117edit */
}

.l-top-last__02 {
  grid-area: l-top-last__02;
}

.l-top-last__04 {
  grid-area: l-top-last__04;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
}

/* #region 0117edit */
  .l-top-last__03-1 {
    width: 100%;
    height: 48.5%;
  }

  .l-top-last__03-2 {
    width: 100%;
    height: 48.5%;
  }
/* #endregion 0117edit */

.l-top-last__04-1 {
  width: 100%;
  height: 48.5%;
}

.l-top-last__04-2 {
  width: 100%;
  height: 48.5%;
}

.last-block .l-top-last .block-link {
  margin-right: 0;
}

.l-top-last__04 img,
.l-top-last__03 img {
  width: 100%;
}

.l-top-last__04 a {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  border: 2px solid #28903f;
  border-radius: 2px;
  background: #e2f0e5 url(img/common/icon04.png) no-repeat 98% center;
  padding: 7px;
  box-sizing: border-box;
}

.l-top-last__04 .img-spec {
  width: 20%;
}

.l-top-last__04 .txt {
  width: calc(80% - 20px);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.02em;
  color: #333;
}

.l-top-last__03 a {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  border: 2px solid #28903f;
  border-radius: 2px;
  background: #e2f0e5 url(img/common/icon04.png) no-repeat 98% center;
  padding: 7px;
  box-sizing: border-box;
}

.l-top-last__03 .img-spec {
  width: 40%;
  /* #region 0117edit */
    width: 20%;
  /* #endregion 0117edit */
}

.l-top-last__03 .txt {
  /* width: calc(60% - 20px); */
  /* #region 0117edit */
    width: calc(80% - 20px);
  /* #endregion 0117edit */
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.02em;
  color: #333;
}

@media screen and (max-width: 768px) {
  .l-top-last {
    display: block;
  }

  /* #region 0117edit */
    /* .l-top-last__03 .img-spec {
      width: 50%;
    }
    
    .l-top-last__03 .txt {
      width: calc(50% - 20px);
    } */
  /* #endregion 0117edit */

  .l-top-last>div:not(:last-child) a,
  .l-top-last__04 a {
    margin-bottom: 10px !important;
  }

  .l-top-last>div {
    display: block;
  }

  .last-block .l-top-last .block-link {
    margin-bottom: 0;
  }

  .l-top-last__03 .txt,
  .l-top-last__04 .txt {
    font-size: 11px;
  }
}

a.cm {
   /* color: #28903f;
    font-size: 16px;
    font-weight: bold; */
    display: inherit;
    text-align: center;
    margin: 10px auto -10px;
    width: 320px;
}
