@charset "UTF-8";

/* ----------------------------------------------------------
   アワード受賞事例検索
------------------------------------------------------------- */
section {
  max-width: 1000px;
  margin: 0 auto 50px;
  font-family: "じゅん 201", "M PLUS Rounded 1c", sans-serif;
}
h2 img {
  border-radius: 20px;
  margin-bottom: 50px;
}
h3 {
  font-family: "じゅん 501", "M PLUS Rounded 1c", sans-serif;
  text-align: center;
  font-size: 26px;
  margin-bottom: 20px;
  color: #f8b600;
}
.lead {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 50px;
  text-align: center;
}

.box {
  background-color: #fffbd5;
  padding: 20px;
  border-radius: 20px;
  margin-bottom: 30px;
}
.flex {
  display: flex;
  justify-content: space-between;
}
.flex > .box {
  width: 31.5%;
}
.matter {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  /* max-width: 700px; */
  max-width: 940px;
  width: 100%;
  margin: 0 auto;
  gap: 2%;
}
.matter li {
  width: 23.5%;
  border-radius: 10px;
  text-align: center;
  padding: 10px 10px 10px 80px;
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 70px;
}
.matter li:nth-of-type(n + 5) {
  margin-top: 10px;
}
.matter li:hover {
  opacity: 0.6;
}
.matter #sport {
  background: url("../images/award/search/icon-a.png") left 0px bottom no-repeat;
  background-color: #fff;
  background-size: 72px;
  border: solid 2px #eba415;
}
.matter #eat {
  background: url("../images/award/search/icon-b.png") left 0px bottom no-repeat;
  background-color: #fff;
  background-size: 72px;
  border: solid 2px #ec7c7d;
}
.matter #sleeping {
  background: url("../images/award/search/icon-g.png") left 0px bottom no-repeat;
  background-color: #fff;
  background-size: 72px;
  border: solid 2px #891c86;
}
.matter #womanHealth {
  background: url("../images/award/search/icon-f.png") left 0px bottom no-repeat;
  background-color: #fff;
  background-size: 72px;
  border: solid 2px #56b8e9;
}
.matter #nosmoke {
  background: url("../images/award/search/icon-c.png") left 0px bottom no-repeat;
  background-color: #fff;
  background-size: 72px;
  border: solid 2px #169d71;
}
.matter #exam {
  background: url("../images/award/search/icon-d.png") left 0px bottom no-repeat;
  background-color: #fff;
  background-size: 72px;
  border: solid 2px #285ca9;
}
.matter #other {
  background: url("../images/award/search/icon-e.png") left 0px bottom no-repeat;
  background-color: #fff;
  background-size: 72px;
  border: solid 2px #a9955b;
}
.matter .active {
  color: #fff;
}
.matter .active#sport {
  background: url("../images/award/search/icon-aw.png") left 0px bottom
    no-repeat;
  background-size: 72px;
  background-color: #eba415;
}
.matter .active#eat {
  background: url("../images/award/search/icon-bw.png") left 0px bottom
    no-repeat;
  background-size: 72px;
  background-color: #ec7c7d;
}
.matter .active#sleeping {
  background: url("../images/award/search/icon-gw.png") left 0px bottom
    no-repeat;
  background-size: 72px;
  background-color: #990099;
}
.matter .active#womanHealth {
  background: url("../images/award/search/icon-fw.png") left 0px bottom
    no-repeat;
  background-size: 72px;
  background-color: #56b8e9;
}
.matter .active#nosmoke {
  background: url("../images/award/search/icon-cw.png") left 0px bottom
    no-repeat;
  background-size: 72px;
  background-color: #169d71;
}
.matter .active#exam {
  background: url("../images/award/search/icon-dw.png") left 0px bottom
    no-repeat;
  background-size: 72px;
  background-color: #285ca9;
}
.matter .active#other {
  background: url("../images/award/search/icon-ew.png") left 0px bottom
    no-repeat;
  background-size: 72px;
  background-color: #a9955b;
}

@media screen and (max-width: 768px) {
  .matter {
    display: block;
  }
  .matter li {
    width: 80%;
    margin-inline: auto;
  }
  .matter li:nth-of-type(n + 2) {
    margin-top: 10px;
  }
}

/* ----------------------------------------------------------
   フォーム
------------------------------------------------------------- */
/* フォーム */
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
select,
option {
  outline: 0;
  box-shadow: none;
  border: solid 1px #c5c5c5;
  background-color: #fff;
}
select {
  width: 100%;
  padding: 16px;
}
.area {
  display: flex;
  justify-content: space-between;
}
.area li {
  width: calc(50% - 5px);
}

/* ボタン */
button {
  border: none;
  padding: 12px;
  border-radius: 10px;
  display: block;
  margin: auto;
  position: relative;
  cursor: pointer;
  margin-bottom: 50px;
  font-family: "じゅん 501", "M PLUS Rounded 1c", sans-serif;
}
button:hover {
  opacity: 0.8;
}
button.search {
  width: 100%;
  background-color: #f8b600;
  font-size: 26px;
}
button.search {
  color: #fff;
}
button.link {
  width: 100%;
  font-size: 20px;
  margin-bottom: 100px;
  border: solid 2px #236bb6;
  background-color: #fff;
  padding: 20px;
  position: relative;
}
button.link::after {
  position: absolute;
  width: 20px;
  height: 20px;
  content: "";
  border-top: solid 2px #236bb6;
  border-right: solid 2px #236bb6;
  transform: rotate(45deg);
  top: calc(50% - 10px);
  right: 30px;
}

/* ----------------------------------------------------------
   検索結果
------------------------------------------------------------- */
h2.result {
  background-color: #f8b600;
  color: #fff;
  font-family: "じゅん 501", "M PLUS Rounded 1c", sans-serif;
  font-size: 28px;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
}
.key {
  text-align: center;
  font-size: 20px;
  margin: 40px;
}
.items {
  margin-bottom: 100px;
}
.item {
  border: solid 2px #f8b600;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 30px;
  display: flex;
}
.item figure {
  width: 280px;
}
.item > div {
  padding: 0;
  flex: 1;
}
.item .name {
  font-size: 16px;
  margin-bottom: 12px;
}
.item .title {
  font-family: "じゅん 501", "M PLUS Rounded 1c", sans-serif;
  font-size: 22px;
  margin-bottom: 14px;
}
.item .title a {
  color: #f8b600;
}
.item .tag {
  margin-bottom: 20px;
}
.item .tag li {
  display: inline-block;
  font-size: 13px;
  margin-right: 10px;
}
.item .tag li:first-child {
  border: solid 1px #ccc;
  color: #666;
  background-color: #fff;
  padding: 2px 10px 4px 10px;
  border-radius: 4px;
}
.item .tag li:last-child {
  margin-right: 0;
}
.item .tag li a {
  text-decoration: underline;
}
.interview {
  display: block;
  border: solid 2px #236bb6;
  border-radius: 20px;
  padding: 8px 40px 10px 20px;
  position: relative;
}
.interview span {
  font-family: "じゅん 501", "M PLUS Rounded 1c", sans-serif;
  font-size: 17px;
}
.interview:hover {
  background-color: #cfe3ee;
}
.interview::after {
  position: absolute;
  width: 10px;
  height: 10px;
  content: "";
  border-top: solid 2px #236bb6;
  border-right: solid 2px #236bb6;
  transform: rotate(45deg);
  top: calc(50% - 5px);
  right: 20px;
}

/* 受賞事例検索に戻る */
.result-back {
  text-align: center;
  margin: 60px auto 100px;
}
.result-back a {
  display: inline-block;
  font-size: 20px;
  color: #236bb6;
  border: solid 2px #236bb6;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px 60px;
  position: relative;
  font-family: "じゅん 501", "M PLUS Rounded 1c", sans-serif;
}
.result-back a::before {
  position: absolute;
  width: 12px;
  height: 12px;
  content: "";
  border-left: solid 2px #236bb6;
  border-bottom: solid 2px #236bb6;
  transform: rotate(45deg);
  top: calc(50% - 6px);
  left: 30px;
}
.result-back a:hover {
  opacity: 0.8;
}

@media only screen and (max-device-width: 640px),
  only screen and (max-device-width: 667px),
  only screen and (max-width: 480px) {
  section h2 {
    margin: 20px auto;
  }
  h2 img {
    margin: 0;
  }
  .matter {
    display: block;
  }
  .matter li {
    width: 100%;
    margin-bottom: 20px;
  }
  .matter li:nth-of-type(n + 4) {
    margin-top: 0;
  }
  .flex {
    display: block;
  }
  .flex > .box {
    width: 100%;
  }
}
