
.contents {
  padding: 2rem 0 8rem;
}
.content-wrap {
  padding: 2rem;
  margin: 0 auto;
}
.content-wrap h1 {
    text-align: left;
    color: #000;
    font-size: 16pt;
    margin: 80px 0 40px;
}
.contents-title{
  position: relative;
  padding-left: 14px;
  text-align: left;
  width: 100%;
  color: #005787;
  margin: 10px;
  font-size: 20pt;
  font-weight: bold;
}

.contents-title::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: #005787;
  border-radius: 2px;
}
.content-wrap .content-wrap-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: normal;
  border: 1px solid #005787;
  background: #f7faff;
  margin-bottom: 2rem;
  justify-content: center;
}
.content-wrap .content-wrap-flex p{
  margin:0;
  vertical-align: middle;
}
.content-wrap p.title {
  display: flex;
  font-weight: bold;
  background: #ffba73;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.content-wrap p.nigyou{
  padding-top: 0.8rem;
}
.content-wrap .content-img,
 .content-wrap .content-img-color{
  flex-basis: 25%;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #005787;
  height: auto;
}
.content-wrap .content-img-color p{
  font-size: 1.2rem;
 }
 .content-wrap p.txt {
   font-size: 14px;
 }
.content-wrap .content-text,
.content-wrap .content-text-color {
  flex-basis: 75%;
  margin: 0;
  padding: 1rem;
  border-bottom: 1px solid #005787;
  border-left: 1px solid #005787;
  height: auto;
}
.content-wrap .content-img.bottom{
  border-bottom: none !important;
}
.content-wrap .content-wrap-flex div:last-child {
  border-bottom: none !important;
}
.content-wrap .content-img-center{
  text-align: center;
  width: 100%;
}
.content-wrap .button-flex{
  display: flex;
  justify-content: flex-start;
}
.content-wrap a {
  text-decoration: none;
}
.link{
  text-align: left;
}
.link a{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  position: relative;
  text-decoration: underline;
  text-decoration-color: #005787;
  color: #005787;
}
.link a:hover{
  opacity: 0.7;
}
a, li  {
  color: #005787 !important; 
  text-decoration: underline !important;
  text-decoration-color: #005787;
  text-underline-offset: 4px;
}
.more {
  display: flex;
  flex-wrap: wrap;
  align-items: center; 
}
.more-text {
  margin: 0;
}

/********スマホ版********/
@media screen and (max-width: 480px){
  .content-title p{
    top: 75%;
  }
  .content-wrap {
    max-width: 750px;
    padding:1rem 0.4rem;
    margin-top: 0;
    margin-bottom: 2rem;
}
.content-wrap h3 {
  margin: 0;
  font-size: 18pt;
}
.content-wrap p {
  padding: 0 0 0 10px;
}
.content-wrap .content-wrap-flex {
  flex-direction: column;
  width: 100%;
}
.link a p {
    font-size: 16px;
}
.content-wrap .content-img{
  text-align: center;
}
.content-wrap .content-img img{
  width: 60%;
  margin:2rem auto;
}
.content-img-center img {
    width: 100%;
    margin: 2rem auto;
}
section {
  max-width: unset;
  margin: 3rem auto;
}
.content-wrap .button-flex {
  display: block;
}
.content-wrap .button-flex section {
  margin: 1rem;
}
.content-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
}
/**googleサイト内検索調整css**/
table.gsc-search-box td {
  vertical-align: middle;
  border: none;
}

@media screen and (max-width: 480px) {
  table.gsc-search-box td {
    vertical-align: middle;
    max-width: 200px;
    width: 100% !important;
  }
  .content-wrap p.nigyou {
    padding-top: 2.5rem;
}
}

/**googleサイト内検索調整css おわり**/