/*-----------------------
color
------------------------*/
#mv {
  margin-bottom: 4rem;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #mv {
    margin-bottom: 2rem;
  }
}
@media screen and (max-width: 767px) {
  #mv {
    margin-bottom: 2rem;
  }
}
#mv img {
  width: 100%;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #mv img {
    height: 250px;
  }
}
@media screen and (max-width: 767px) {
  #mv img {
    height: 200px;
  }
}

#works .inner h2 {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  letter-spacing: 2px;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #works .inner h2 {
    margin-bottom: 1rem;
  }
}
@media screen and (max-width: 767px) {
  #works .inner h2 {
    margin-bottom: 1rem;
  }
}
#works .inner h2 span {
  font-size: 2.4rem;
  font-weight: 600;
  color: #526984;
  letter-spacing: 1px;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #works .inner h2 span {
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 767px) {
  #works .inner h2 span {
    font-size: 1.4rem;
  }
}
#works .inner .search {
  margin-bottom: 3rem;
}
#works .inner .search .sbox {
  background-color: #fff;
  padding: 0.7rem;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}
#works .inner .search .sbox form {
  display: grid;
  grid-template-columns: 1fr 45px;
  grid-gap: 15px;
}
#works .inner .search .sbox form input[type=search] {
  width: 100%;
  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid #999;
  background-color: #eeeeee;
}
#works .inner .search .sbox form input[type=submit] {
  background-color: #526984;
  background-image: url(../img/common/search_icon.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 60%;
  border: none;
  border-radius: 100px;
  text-indent: 200%;
  white-space: nowrap;
  overflow: hidden;
  display: block;
}
#works .inner .search .sbox form input[type=submit]:hover {
  background-color: #85a3c6;
  cursor: pointer;
}


#works .inner .search .category {
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-gap: 10px;
}
@media screen and (max-width: 767px) {
  #works .inner .search .category {
    grid-template-columns: 1fr;
  }
}
#works .inner .search .category span {
  display: block;
  padding-left: 30px;
  background-image: url(../img/common/search_sicon.webp);
  background-repeat: no-repeat;
}
#works .inner .search .category ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px 10px;
  list-style: none;
}
@media screen and (max-width: 767px) {
  #works .inner .search .category ul {
    gap: 5px;
  }
}
#works .inner .search .category ul li a {
  display: block;
  text-decoration: none;
  background-color: #526984;
  color: #fff;
  line-height: 1;
  border-radius: 100px;
  padding: 8px 15px;
  font-size: 0.8rem;
}
@media screen and (max-width: 767px) {
  #works .inner .search .category ul li a {
    padding: 5px 10px;
    font-size: 0.7rem;
  }
}
#works .inner .search .category ul li a:hover {
  background-color: #85a3c6;
  color: #fff;
}
#works .inner .num {
  text-align: right;
  margin-bottom: 1rem;
}
#works .inner .num p {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
#works .inner .num p span {
  background-color: #526984;
  color: #fff;
  line-height: 1;
  padding: 5px 15px;
  border-radius: 100px;
}
#works .inner > .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1.5rem;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #works .inner > .row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  #works .inner > .row {
    grid-template-columns: repeat(1, 1fr);
  }
}
#works .inner > .row .col {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-bottom: 50px;
}
#works .inner > .row .col > span {
  display: block;
  overflow: hidden;
}
#works .inner > .row .col > span img {
  width: 100%;
  height: 200px;
  /* -o-object-fit: cover;
     object-fit: cover; */
  -o-object-fit: contain;
     object-fit: contain;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  padding: 5px;
}
#works .inner > .row .col > span.logo {
  height: 200px;
  background-color: #eeeeee;
}
#works .inner > .row .col > span.logo figure {
  height: 100%;
  display: grid;
  justify-items: center;
  align-items: center;
}
#works .inner > .row .col > span.logo figure img {
  width: 80%;
  height: auto;
}
#works .inner > .row .col .txt {
  padding: 1rem;
}
#works .inner > .row .col .txt h2 {
  font-size: 1.2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
#works .inner > .row .col .txt span {
  display: block;
  margin-bottom: 0.5rem;
}
#works .inner > .row .col .txt p {
  font-size: 0.9rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
#works .inner > .row .col .txt ul {
  margin-top: 1rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}
#works .inner > .row .col .txt ul li {
  display: block;
  background-color: #526984;
  color: #fff;
  line-height: 1;
  border-radius: 100px;
  font-size: 0.8rem;
  padding: 3px 10px;
}
#works .inner > .row .col .btn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  display: block;
  background-color: #526984;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 0.8rem 1rem;
  transition: 0.3s;
  -webkit-transition: 0.3s;
}
#works .inner > .row .col a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
#works .inner > .row .col:hover span img {
  transform: scale(1.05);
}
#works .inner > .row .col:hover .btn {
  background-color: #85a3c6;
  transform: scale(1.05);
}
#works .inner .pager {
  padding: 3rem 0;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #works .inner .pager {
    padding: 2rem 0;
  }
}
@media screen and (max-width: 767px) {
  #works .inner .pager {
    padding: 2rem 0;
  }
}
/* #works .inner .pager ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 10px 10px;
  list-style: none;
}
#works .inner .pager ul li a {
  display: block;
  padding: 12px 15px;
  line-height: 1;
  border-radius: 10px;
  text-decoration: none;
}
#works .inner .pager ul li a.current {
  background-color: #526984;
  color: #fff;
}
#works .inner .pager ul li a.prev, #works .inner .pager ul li a.next {
  background-color: #999;
  color: #fff;
}
#works .inner .pager ul li a:hover {
  background-color: #85a3c6;
  color: #fff;
} */
#works.lower {
  padding-top: 3rem;
}
#works.lower .inner .info {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-gap: 40px;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #ccc;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #works.lower .inner .info {
    grid-template-columns: 220px 1fr;
  }
}
@media screen and (max-width: 767px) {
  #works.lower .inner .info {
    grid-template-columns: 1fr;
  }
}
#works.lower .inner .info > .img {
  height: 220px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  background-color: #fff;
  overflow: hidden;
}
#works.lower .inner .info > .img img {
  width: 100%;
  height: 220px;
  -o-object-fit: cover;
     object-fit: cover;
  padding: 5px;
}
@media screen and (max-width: 767px) {
  #works.lower .inner .info > .img {
    width: 220px;
    height: 220px;
    margin: auto;
  }
}
#works.lower .inner .info > .img.logo {
  display: grid;
  justify-items: center;
  align-items: center;
  background-color: #fff;
  padding: 1rem;
}
#works.lower .inner .info > .img.logo img {
  width: 100%;
  height: auto;
}
#works.lower .inner .info > .txt h2 {
  display: block;
  line-height: 1.4;
  font-size: 1.6rem;
  font-weight: normal;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #works.lower .inner .info > .txt h2 {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 767px) {
  #works.lower .inner .info > .txt h2 {
    font-size: 1.2rem;
    line-height: 1.2;
  }
}
#works.lower .inner .info > .txt p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #works.lower .inner .info > .txt p {
    font-size: 1rem;
  }
}
@media screen and (max-width: 767px) {
  #works.lower .inner .info > .txt p {
    font-size: 1rem;
  }
}
#works.lower .inner .info > .txt p span {
  display: inline-block;
  padding-right: 1rem;
}
#works.lower .inner .info > .txt ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px 10px;
  list-style: none;
}
@media screen and (max-width: 767px) {
  #works.lower .inner .info > .txt ul {
    gap: 5px;
  }
}
#works.lower .inner .info > .txt ul li {
  display: block;
  text-decoration: none;
  background-color: #526984;
  color: #fff;
  line-height: 1;
  border-radius: 100px;
  padding: 8px 15px;
  font-size: 0.8rem;
}
@media screen and (max-width: 767px) {
  #works.lower .inner .info > .txt ul li {
    padding: 5px 10px;
    font-size: 0.7rem;
  }
}
#works.lower .inner .contents {
  line-height: 2;
  padding-bottom: 4rem;
  font-size: 1.1rem;
}
@media screen and (max-width: 767px) {
  #works.lower .inner .contents {
    font-size: 1rem;
    line-height: 1.6;
  }
}
#works.lower .inner .contents h2 {
  font-size: 1.6rem;
  font-weight: normal;
  margin-bottom: 2rem;
  margin-top: 2rem;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #works.lower .inner .contents h2 {
    font-size: 1.4rem;
    line-height: 1.4;
  }
}
@media screen and (max-width: 767px) {
  #works.lower .inner .contents h2 {
    font-size: 1rem;
    line-height: 1.2;
    padding-left: 1.5rem;
  }
}
#works.lower .inner .contents h2:nth-of-type(1) {
  margin-top: 0;
}
#works.lower .inner .contents h2::before {
  content: "";
  display: block;
  width: 4px;
  height: 80%;
  position: absolute;
  top: 10%;
  left: 0;
  background-color: #526984;
}

#works.lower .inner .contents h2.red::before {
  background-color: #EF5350;
}

#works.lower .inner .contents h2.yellow::before {
  background-color: #FF9800;
}

#works.lower .inner .contents h2.green::before {
  background-color: #66BB6A;
}

#works.lower .inner .contents h2.purple::before {
  background-color: #AB47BC;
}

#works.lower .inner .contents .row {
  width: 100%;
  margin-bottom: 2rem;
}
#works.lower .inner .contents .row img {
  width: 100%;
  height: auto;
  border: 1px solid #CCCCCC;
}
#works.lower .inner .contents .row.col2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
}
@media screen and (max-width: 767px) {
  #works.lower .inner .contents .row.col2 {
    grid-template-columns: 1fr;
  }
}
#works.lower .inner .contents p {
  margin-bottom: 1rem;
}
#works.lower .inner .contents .pager {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #ccc;
}
#works.lower .inner .contents .pager a {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: auto;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid #ccc;
  line-height: 1;
  text-decoration: none;
  font-size: 0.9rem;
}
#works .other {
  padding-bottom: 4rem;
}
#works .other h2 {
  font-size: 1.2rem;
  font-weight: normal;
  color: #526984;
  margin-bottom: 1rem;
}
#works .other .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #works .other .row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  #works .other .row {
    grid-template-columns: 1fr;
  }
}
#works .other .row .col {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-bottom: 50px;
}
#works .other .row .col > span {
  display: block;
  overflow: hidden;
}
#works .other .row .col > span img {
  width: 100%;
  height: 200px;
  /* -o-object-fit: cover;
     object-fit: cover; */
  -o-object-fit: contain;
     object-fit: contain;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  padding: 5px;
}
#works .other .row .col > span.logo {
  display: grid;
  justify-items: center;
  align-items: center;
  height: 200px;
  background-color: #eeeeee;
}
#works .other .row .col > span.logo figure {
  height: 100%;
  display: grid;
  justify-items: center;
  align-items: center;
}
#works .other .row .col > span.logo figure img {
  width: 80%;
  height: auto;
}
#works .other .row .col .txt {
  padding: 1rem;
}
#works .other .row .col .txt h2 {
  font-size: 1.2rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
#works .other .row .col .txt span {
  display: block;
  margin-bottom: 0.5rem;
}
#works .other .row .col .txt p {
  font-size: 0.9rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
#works .other .row .col .txt ul {
  margin-top: 1rem;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}
#works .other .row .col .txt ul li {
  display: block;
  background-color: #526984;
  color: #fff;
  line-height: 1;
  border-radius: 100px;
  font-size: 0.8rem;
  padding: 3px 10px;
}
#works .other .row .col .btn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  display: block;
  background-color: #526984;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 0.8rem 1rem;
  transition: 0.3s;
  -webkit-transition: 0.3s;
}
#works .other .row .col a {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
#works .other .row .col:hover span img {
  transform: scale(1.05);
}
#works .other .row .col:hover .btn {
  background-color: #85a3c6;
  transform: scale(1.05);
}

#contact {
  padding-bottom: 4rem;
}
#contact .inner > .txt {
  display: grid;
  /* grid-template-columns: 100px 1fr; */
  /* grid-gap: 30px; */
  display: grid;
  justify-items: center;
  align-items: center;
  max-width: 80%;
  margin: auto;
  margin-bottom: 3rem;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #contact .inner > .txt {
    /* grid-template-columns: 100px 1fr; */
    max-width: 90%;
  }
}
@media screen and (max-width: 767px) {
  #contact .inner > .txt {
    /* grid-template-columns: 1fr; */
    max-width: 100%;
    /* grid-gap: 1rem; */
  }
}
#contact .inner > .txt .clogo {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  padding: 1rem;
  height: 100px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #contact .inner > .txt .clogo {
    width: 180px;
    height: 180px;
  }
}
@media screen and (max-width: 767px) {
  #contact .inner > .txt .clogo {
    width: 180px;
    height: 180px;
    padding: 0.5rem;
    margin: auto;
  }
}
#contact .inner > .txt .clogo img {
  max-width: 100%;
  max-height: 100%;
}
#contact .inner > .txt p {
  font-size: 1.2rem;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #contact .inner > .txt p {
    font-size: 1rem;
  }
}
@media screen and (max-width: 767px) {
  #contact .inner > .txt p {
    font-size: 0.9rem;
  }
}
#contact .inner h2 {
  font-size: 1.2rem;
  font-weight: normal;
  margin-bottom: 2rem;
  margin-top: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ccc;
}
#contact .inner h2:nth-of-type(1) {
  margin-top: 0px;
}
#contact .inner .tel {
  display: grid;
  grid-template-columns: 350px 1fr;
  grid-gap: 20px;
  align-items: center;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #contact .inner .tel {
    grid-template-columns: 40% 1fr;
  }
}
@media screen and (max-width: 767px) {
  #contact .inner .tel {
    grid-template-columns: 1fr;
  }
}
#contact .inner .tel p {
  font-size: 1.2rem;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #contact .inner .tel p {
    font-size: 1rem;
  }
}
@media screen and (max-width: 767px) {
  #contact .inner .tel p {
    text-align: center;
    font-size: 1rem;
  }
}
#contact .inner .tel p:nth-of-type(1) {
  font-size: 2.4rem;
  padding-left: 50px;
  position: relative;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #contact .inner .tel p:nth-of-type(1) {
    font-size: 2rem;
  }
}
@media screen and (max-width: 767px) {
  #contact .inner .tel p:nth-of-type(1) {
    font-size: 2rem;
    padding-left: 0;
  }
}
#contact .inner .tel p:nth-of-type(1)::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 100px;
  position: absolute;
  top: 10px;
  left: 0;
  background-image: url(../img/common/icon_tel.webp);
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #526984;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #contact .inner .tel p:nth-of-type(1)::before {
    top: 0;
  }
}
@media screen and (max-width: 767px) {
  #contact .inner .tel p:nth-of-type(1)::before {
    top: 0;
  }
}
#contact .inner .mail input[type=text], #contact .inner .mail input[type=email], #contact .inner .mail input[type=tel] {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #999;
  border-radius: 5px;
  box-sizing: border-box;
}
#contact .inner .mail textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #999;
  border-radius: 5px;
  box-sizing: border-box;
}
#contact .inner .mail select {
  border: 1px solid #999;
  border-radius: 5px;
  width: 30%;
  padding: 0.5rem;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  #contact .inner .mail select {
    width: 100%;
  }
}
#contact .inner .mail dl > div {
  border-bottom: 1px solid #ccc;
  display: grid;
  grid-template-columns: 20% 1fr;
  grid-gap: 20px;
  padding: 1.5rem 0;
}
@media screen and (max-width: 767px) {
  #contact .inner .mail dl > div {
    grid-template-columns: 1fr;
  }
}
#contact .inner .mail dl > div:last-child {
  border: none;
}
#contact .inner .mail dl > div dt {
  position: relative;
  padding-top: 0.5rem;
}
#contact .inner .mail dl > div dt span {
  display: block;
  position: absolute;
  top: 0.5rem;
  right: 0;
  background-color: #AF5C4C;
  line-height: 1;
  padding: 3px 5px;
  font-size: 0.8rem;
  color: #fff;
}
#contact .inner .mail .btn {
  text-align: center;
  padding: 2rem 0;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #contact .inner .mail .btn {
    padding: 1rem 0;
  }
}
@media screen and (max-width: 767px) {
  #contact .inner .mail .btn {
    padding: 1rem 0;
  }
}
#contact .inner .mail .btn input[type=submit] {
  background-color: #526984;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 1rem;
  width: 100%;
  max-width: 40%;
  font-size: 1.2rem;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #contact .inner .mail .btn input[type=submit] {
    max-width: 40%;
  }
}
@media screen and (max-width: 767px) {
  #contact .inner .mail .btn input[type=submit] {
    max-width: 80%;
    font-size: 1rem;
  }
}

#contact .inner .mail .btn .submit {
  background-color: #526984;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 1rem;
  width: 100%;
  max-width: 40%;
  font-size: 1.2rem;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #contact .inner .mail .btn .submit {
    max-width: 40%;
  }
}
@media screen and (max-width: 767px) {
  #contact .inner .mail .btn .submit {
    max-width: 80%;
    font-size: 1rem;
  }
}

#contact .inner .mail .btn .return {
  background-color: #757575;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 1rem;
  width: 150px;
  max-width: 40%;
  font-size: 1.2rem;
  margin-right: 30px;
}
@media screen and (max-width: 1024px) and (min-width: 768px) {
  #contact .inner .mail .btn .return {
    max-width: 40%;
  }
}
@media screen and (max-width: 767px) {
  #contact .inner .mail .btn .return {
    max-width: 80%;
    font-size: 1rem;
  }
}