.contain {
  display: block;
  width: 70%;
  margin: 0 auto;
  color: #44433d;
}

.formarea {
  width: 70%;
  margin: 0 auto;
}

.formmidashi {
  padding: 0.25em 0.5em;
  color: #506499;
  text-align: center;
}

@media screen and (max-width:600px) {
  formarea {
    width: 100%;
    margin: 0 auto;
  }
}


@media screen and (max-width:600px) {
  .contain {
    width: 95%;
    margin: 0 auto;
  }
}

.top {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0;
}

.midashi {
  padding: 0.25em 0.5em;
  color: #506499;
  background: transparent;
  border-left: solid 5px #506499;
  margin-top: 3em;
}

.midashi2 {
  margin-top: 1em;
  color: #506499;
}

.midashi3 {
  margin-top: 1em;
  color: #506499;
}

.mokuji ul {
  color: #003968;
  border-top: solid #003968 1px;
  border-bottom: solid #003968 1px;
  padding: 0.5em 0 0.5em 1.5em;
  line-height: 1.5;
}

.mokuji ul li,
ol li {
  padding: 0;
  line-height: 1.5;
  list-style-type: none;
}

.mokuji a {
  color: #003968;
  text-decoration: underlined;
}

@media screen and (max-width:600px) {
  img {
    width: 100%;
  }
}

blockquote {
  position: relative;
  padding: 10px 10px 10px 32px;
  box-sizing: border-box;
  font-style: italic;
  color: #545454;
  background: #EFECEB;
}

blockquote:before {
  display: inline-block;
  position: absolute;
  top: -6px;
  left: -15px;
  content: "“";
  font-family: sans-serif;
  color: #EFECEB;
  font-size: 70px;
  line-height: 1;
  z-index: 2;
}

blockquote:after {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  border-width: 0 0 40px 40px;
  border-style: solid;
  border-color: transparent #ffffff;
}

blockquote p {
  position: relative;
  padding: 0;
  margin: 10px 0;
  z-index: 3;
  line-height: 1.7;
}

blockquote cite {
  display: block;
  text-align: right;
  color: #545454;
  font-size: 0.9em;
}

a .btn-flat-simple{
text-decoration: none!important;
color:white;
}

.btn-flat-simple {
  position: relative;
  display: inline-block;
  font-weight: bold;
  border-radius:5px;
  padding: 0.25em 0.5em;
  color: white!important;
  background: #506499;
  transition: .4s;
text-decoration: none!important;
}

.btn-flat-simple:hover {
  background: #8492b7;
  color: white;
}

.link-card-wrapper {
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid gray;
    border-radius: 8px;
    margin: 0;
    padding: 10px;
}

.link-card a{
text-decoration: none!important;
}

.link-card, a:hover, a:focus {
    text-decoration: none!important;
    outline: none!important;
    color: #333!important;
}

.link-card-image,.link-card-text {
    width: 100%;
}

.link-card-image img {
    width: 100%;
    max-width: 100%;
}

.link-card-title {
    font-size: 140%;
    line-height: 1.5;
    font-weight: bold;
    margin: 0 0 10px 0;
}

blockquote {
    font-size: 17px;
    margin: 0 0 10px 0;
    padding: 0 20px;
    border-left: 5px solid #ddd;
}

.card-blockquote p {
    margin: 0;
    padding: 5px 0;
}

.link-card-description {
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.link-card-domain {
    display: flex;
}

.link-card-domain img {
    width: 16px;
    height: 16px;
    margin: 0 8px 0 0;
}

.link-card-domain p {
    display: inline-block;
    margin: 0 10px 0 0;
    color: gray;
    font-size: 14px;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .link-card-content {
        width: 100%;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto 1fr;
    }

    .link-card-title {
        margin: 0;
    }

    #grid-content-1 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    #grid-content-2 {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    #grid-content-3 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        display: grid;
        grid-template-rows: auto 1fr;
        margin-top: 5px;
        padding-left: 20px;
    }

    .link-card-image {
        width: 100%;
        margin: 5px 0;
    }

    .link-card-image img {
        width: 150px;
    }

    .link-card-description {
        margin: 0 0 10px 0;
    }

    .link-card-domain {
        align-items: end;
        margin-bottom: 5px;
    }
}
