* {
  margin: 0;
  padding: 0;
  outline: 0;
}

body {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #000;
  font-size: 14px;
  background-color: #fff;
  margin: 0;
  padding: 0;
  text-align: left;
  background-color: #fff;
  -webkit-text-size-adjust: none;
  _display: inline;
  _zoom: 1;
}

ol {
  list-style-position: outside;
  list-style-type: decimal;
}

ul {
  list-style: none;
}

img {
  border-style: none;
  vertical-align: bottom;
  -webkit-backface-visibility: hidden;
  -ms-interpolation-mode: bicubic;
  max-width: 100%;
}

a {
  color: #000;
  text-decoration: none;
  transition: all 0.3s;
}

a:hover,
a:active,
a:focus,
.btn input:hover {
  color: #000;
  opacity: 0.5;
  filter: alpha(opacity=50);
  text-decoration: none;
}

#fh-wrapper {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 130px);
}
#contents {
  max-width: 1200px;
  box-sizing: border-box;
  height: 100%;
  margin: 0 auto;
  padding: 0;
}

.thumb_box {
  display: flex;
  flex-wrap: wrap;
  padding-top: 30px;
}

.department {
  width: 100%;
  position: relative;
  margin: 0;
  padding: 30px 0 0;
  text-align: center;
  height: 160px;
  color: #333;
  font-weight: normal;
  transition: 0.3s;
  background-color: #f4f2ec;
  border: solid 2px #f4f2ec;
}

.department:hover {
  opacity: 0.5;
}

.ribbon-mark {
  position: relative;
  margin-left: 5px;
}

.ribbon {
  width: 84px;
  height: 84px;
  overflow: hidden;
  position: absolute;
  z-index: 1000;
}

.ribbon-mark .ribbon {
  width: 112px;
  height: 112px;
  overflow: hidden;
  position: absolute;
  z-index: 1000;
}

.ribbon::before,
.ribbon::after {
  position: absolute;
  z-index: -1;
  content: "";
  display: block;
  border: 3px solid #65563a;
}

.ribbon span {
  position: absolute;
  display: block;
  width: 126px;
  padding: 4px 0 6px 0;
  color: #fff;
  font: bold 17px/1 "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
  text-align: center;
  letter-spacing: 2px;
  background-color: #606d34;
}

.ribbon-mark .ribbon span {
  position: absolute;
  display: block;
  width: 205px;
  padding: 4px 0 6px 0;
  color: #fff;
  font: bold 15px/1 "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
  text-align: center;
  letter-spacing: 2px;
  background-color: #606d34;
}

.department-cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
}

.department-cont.threeline .department-inner {
  width: calc((100% - 80px) / 3);
  margin: 10px;
}

.department-cont .box1 .ribbon span {
  background-color: #3f5f7e;
}

.department-cont .box2 .ribbon span {
  background-color: #606d34;
}

.department-cont .box3 .ribbon span {
  background-color: #6d5c34;
}

.department-cont .box4 .ribbon span {
  background-color: #6e3546;
}

.ribbon-top-left {
  top: -8px;
  left: -8px;
}

.ribbon-top-left::before,
.ribbon-top-left::after {
  border-top-color: transparent;
  border-left-color: transparent;
}

.ribbon-top-left::before {
  top: 0;
  right: 0;
}

.ribbon-top-left::after {
  bottom: 0;
  left: 0;
}

.ribbon-top-left span {
  right: -15px;
  top: 15px;
  transform: rotate(-45deg);
}

.ribbon-mark .ribbon-top-left span {
  right: -37px;
  top: 35px;
  transform: rotate(-45deg);
}

.department-tit {
  font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
  font-size: 170%;
  line-height: 90%;
  font-weight: bold;
  margin-bottom: 20px;
}

.department-cont .box1 .department-tit {
  color: #3f5f7e;
}

.department-cont .box2 .department-tit {
  color: #606d34;
}

.department-cont .box3 .department-tit {
  color: #6d5c34;
}

.department-cont .box4 .department-tit {
  color: #6e3546;
}

.department p {
  font-size: 90%;
  line-height: 170%;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 10px;
}

.arrow {
  display: block;
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
  position: absolute;
  bottom: 20px;
  left: 46%;
}

/* 下向き矢印 */
.bottom {
  transform: rotate(135deg);
}

.department-cont .box1 .arrow {
  border-top: 2px solid #3f5f7e;
  border-right: 2px solid #3f5f7e;
}

.department-cont .box2 .arrow {
  border-top: 2px solid #606d34;
  border-right: 2px solid #606d34;
}

.department-cont .box3 .arrow {
  border-top: 2px solid #6d5c34;
  border-right: 2px solid #6d5c34;
}

.department-cont .box4 .arrow {
  border-top: 2px solid #6e3546;
  border-right: 2px solid #6e3546;
}

.tit_ribbon {
  font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
  position: relative;
  padding: 10px 20px;
  font-size: 20px;
  text-align: center;
  color: #fff;
  width: calc(50% - 80px);
  box-sizing: border-box;
  margin: 30px auto;
  background: #3f5f7e;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.tit_ribbon:before,
.tit_ribbon:after {
  content: "";
  position: absolute;
  top: 10px;
  height: 0;
  width: 0;
  border: 25px solid #3f5f7e;
  z-index: -1;
}

.tit_ribbon:before {
  right: -40px;
  border-right-color: transparent;
}

.tit_ribbon:after {
  left: -40px;
  border-left-color: transparent;
}

.tit_ribbon span {
  display: block;
}

.tit_ribbon span:before,
.tit_ribbon span:after {
  content: "";
  position: absolute;
  top: 100%;
  height: 0;
  width: 0;
  border: 5px solid transparent;
  border-top: 5px solid #36516b;
}

.tit_ribbon span:before {
  right: 0;
  border-left: 5px solid #36516b;
}

.tit_ribbon span:after {
  left: 0;
  border-right: 5px solid #36516b;
}

.tit_ribbon2 {
  font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
  position: relative;
  padding: 10px 20px;
  font-size: 20px;
  text-align: center;
  color: #fff;
  width: calc(50% - 80px);
  box-sizing: border-box;
  margin: 30px auto;
  background: #606d34;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.tit_ribbon2:before,
.tit_ribbon2:after {
  content: "";
  position: absolute;
  top: 10px;
  height: 0;
  width: 0;
  border: 25px solid #606d34;
  z-index: -1;
}

.tit_ribbon2:before {
  right: -40px;
  border-right-color: transparent;
}

.tit_ribbon2:after {
  left: -40px;
  border-left-color: transparent;
}

.tit_ribbon2 span {
  display: block;
}

.tit_ribbon2 span:before,
.tit_ribbon2 span:after {
  content: "";
  position: absolute;
  top: 100%;
  height: 0;
  width: 0;
  border: 5px solid transparent;
  border-top: 5px solid #4f592b;
}

.tit_ribbon2 span:before {
  right: 0;
  border-left: 5px solid #4f592b;
}

.tit_ribbon2 span:after {
  left: 0;
  border-right: 5px solid #4f592b;
}

.tit_ribbon3 {
  font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
  position: relative;
  padding: 10px 20px;
  font-size: 20px;
  text-align: center;
  color: #fff;
  width: calc(50% - 80px);
  box-sizing: border-box;
  margin: 30px auto;
  background: #6d5c34;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.tit_ribbon3:before,
.tit_ribbon3:after {
  content: "";
  position: absolute;
  top: 10px;
  height: 0;
  width: 0;
  border: 25px solid #6d5c34;
  z-index: -1;
}

.tit_ribbon3:before {
  right: -40px;
  border-right-color: transparent;
}

.tit_ribbon3:after {
  left: -40px;
  border-left-color: transparent;
}

.tit_ribbon3 span {
  display: block;
}

.tit_ribbon3 span:before,
.tit_ribbon3 span:after {
  content: "";
  position: absolute;
  top: 100%;
  height: 0;
  width: 0;
  border: 5px solid transparent;
  border-top: 5px solid #57492b;
}

.tit_ribbon3 span:before {
  right: 0;
  border-left: 5px solid #57492b;
}

.tit_ribbon3 span:after {
  left: 0;
  border-right: 5px solid #57492b;
}

.tit_ribbon4 {
  font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
  position: relative;
  padding: 10px 20px;
  font-size: 20px;
  text-align: center;
  color: #fff;
  width: calc(50% - 80px);
  box-sizing: border-box;
  margin: 30px auto;
  background: #6e3546;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.tit_ribbon4:before,
.tit_ribbon4:after {
  content: "";
  position: absolute;
  top: 10px;
  height: 0;
  width: 0;
  border: 25px solid #6e3546;
  z-index: -1;
}

.tit_ribbon4:before {
  right: -40px;
  border-right-color: transparent;
}

.tit_ribbon4:after {
  left: -40px;
  border-left-color: transparent;
}

.tit_ribbon4 span {
  display: block;
}

.tit_ribbon4 span:before,
.tit_ribbon4 span:after {
  content: "";
  position: absolute;
  top: 100%;
  height: 0;
  width: 0;
  border: 5px solid transparent;
  border-top: 5px solid #6e3546;
}

.tit_ribbon4 span:before {
  right: 0;
  border-left: 5px solid #6e3546;
}

.tit_ribbon4 span:after {
  left: 0;
  border-right: 5px solid #6e3546;
}

.resultbox .tit_ribbon,
.resultbox .tit_ribbon2,
.resultbox .tit_ribbon3,
.resultbox .tit_ribbon4 {
  width: calc(70% - 30px);
}

.department-link {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.department-link li {
  width: calc((100% - 10px) / 2);
}

.department-link li:nth-child(2n) {
  margin-left: 10px;
}

.department-link li:nth-child(3),
.department-link li:nth-child(4) {
  margin-top: 10px;
}

.department-link li a {
  display: block;
  padding: 10px 15px;
  text-align: center;
  font-weight: bold;
}

.department-link li.link1 a {
  color: #3f5f7e;
  border: solid 2px #3f5f7e;
}

.department-link .link1 a:hover,
.department-link .link1 .active {
  color: #fff;
  background-color: #3f5f7e;
}

.department-link li.link2 a {
  color: #606d34;
  border: solid 2px #606d34;
}

.department-link .link2 a:hover,
.department-link .link2 .active {
  color: #fff;
  background-color: #606d34;
}

.department-link li.link3 a {
  color: #6d5c34;
  border: solid 2px #6d5c34;
}

.department-link .link3 a:hover,
.department-link .link3 .active {
  color: #fff;
  background-color: #6d5c34;
}

.department-link li.link4 a {
  color: #6e3546;
  border: solid 2px #6e3546;
}

.department-link .link4 a:hover,
.department-link .link4 .active {
  color: #fff;
  background-color: #6e3546;
}

#main .titbox .number1 {
  background-color: #3f5f7e;
}

#main .titbox .number2 {
  background-color: #606d34;
}

#main .titbox .number3 {
  background-color: #6d5c34;
}

#main .titbox .number4 {
  background-color: #6e3546;
}

.detail dl {
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 30px;
}

.detail h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: 16px;
  padding-bottom: 5px;
}

.detail dl dt {
  width: 20%;
  font-weight: normal;
}

.detail dl dd {
  width: 80%;
}

.snsbtn {
  padding: 30px 0 20px 0;
  zoom: 1;
}

.snsbtn:after {
  content: "";
  clear: both;
  height: 0;
  display: block;
  visibility: hidden;
}

.snsbtn li {
  float: left;
  padding-right: 15px;
  margin-bottom: 10px;
}

.snsbtn li.mg {
  padding-bottom: 5px;
}

iframe.twitter-share-button {
  width: 95px !important;
}

input,
select {
  padding: 5px;
  vertical-align: middle;
  letter-spacing: 1px;
}

#myreset,
.button,
.message,
#submit {
  padding: 7px;
  margin-right: 7px;
}

.wtn_copyright {
  height: 0px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  margin: 0 !important;
  padding: 0;
  text-indent: -9999pxﾂ･9;
  /* IE8 and below */
  *text-indent: -9999px;
  /* IE7 and below */
  _text-indent: -9999px;
  /* IE6 */
}

.wtn_copyright:not(:target) {
  text-indent: -9999pxﾂ･9;
  /* IE9 */
}

.error {
  font-size: 105%;
  color: #900;
}

.btn {
  margin-top: 20px;
}

.btn a,
.btn input {
  font-size: 16px;
  display: block;
  padding: 12px 0;
  border: solid 2px #000;
  background-color: #fff;
  font-weight: bold;
  text-align: center;
  color: #000;
}

.btn a:hover,
.btn input:hover {
  color: #fff;
  background-color: #000;
}

.btn input {
  width: 100%;
  transition: all 0.3s;
}

.btn2 a {
  font-size: 12px;
  color: #333;
  display: block;
  padding: 8px 0;
  border: solid 1px #ccc;
  background-color: #fff;
  font-weight: bold;
  text-align: center;
  /*box-shadow*/
  box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
  -webkit-box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
  -moz-box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
}

.btn-red a,
.btn-red {
  color: #cc0000;
  font-size: 16px;
  display: block;
  padding: 12px 0;
  border: solid 2px #cc0000;
  background-color: #fff;
  font-weight: bold;
  text-align: center;
}

.btn-red a:hover {
  color: #fff;
  background-color: #cc0000;
}

.t_10 {
  font-size: 11px;
}

.t_red {
  color: #cc0000;
}

.graybox {
  background-color: #eee;
  padding: 3%;
}

.graybox2 {
  background-color: #eee;
  padding: 2% 0;
}

p.error_messe {
  margin: 5px 0;
  color: red;
}

@media screen and (min-width: 641px) {
  /* PC・タブレット用のスタイル */
  body {
    letter-spacing: 1px;
  }

  p,
  li,
  dt,
  dd,
  th,
  td {
    line-height: 200%;
  }

  #wrapper {
    padding: 0;
    overflow: hidden;
  }

  .box {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
  }

  #header {
    width: 100%;
    height: 50px;
    padding-bottom: 80px;
  }

  .home #header {
    width: 100%;
    height: 700px;
    background: url("../images/tit_img.jpg") 50% 50%;
    background-size: cover;
    /* 背景画像をhtml要素にフィット */
    padding-bottom: 0;
    margin-bottom: 60px;
  }

  #header #menu {
    width: 100%;
    position: fixed;
    z-index: 9999;
    padding: 15px;
    background-color: #666;
    box-sizing: border-box;
  }

  #header #menu div {
    max-width: 1180px;
    margin: 0 auto;
  }

  #header #menu h1 {
    float: left;
  }

  #gnav ul {
    float: right;
    padding-top: 4px;
  }

  #gnav ul li {
    float: left;
    margin-left: 30px;
  }

  #gnav ul li a {
    color: #fff;
    padding: 20px 0;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.04em;
  }

  #gnav ul li a:hover {
    text-decoration: none;
    opacity: 0.5;
    /* 透過レベル */
    filter: alpha(opacity=100);
  }

  #mainimg {
    width: 1200px;
    max-width: 100%;
    height: 700px;
    background-image: url(../images/tit.png);
    margin: 0 auto;
    text-align: center;
    background-repeat: no-repeat;
    background-position: top center;
  }

  #mainimg p {
    display: none;
  }

  .work_box {
    display: flex;
    flex-wrap: wrap;
  }

  .present_info {
    display: flex;
    padding: 40px 0 0 0;
  }
  .present_info .img {
    width: 55%;
  }
  .present_info img {
    width: 100%;
  }

  .present_info div {
    width: 45%;
    padding: 0 50px 0 30px;
  }
  .presentimg {
    display: flex;
    justify-content: space-between;
  }
  .presentimg img {
    width: 49.8%;
    height: auto;
  }
  .entrybox {
    padding: 60px 0;
  }

  .thumb_box li {
    position: relative;
    width: calc((100% - 120px) / 4);
    height: auto;
    margin: 15px;
    /*box-shadow*/
    box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
    -webkit-box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
    -moz-box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
  }

  .thumb_box li .thumb {
    width: 100%;
    height: 165px;
    position: relative;
    overflow: hidden;
  }

  .thumb_box li .thumb img {
    width: 100%;
    height: 100%;
    position: absolute;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .thumb_box li .number {
    font-family: "Times New Roman", Times, serif;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    background-color: #000;
    padding: 6px 9px;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .thumb_box li .titbox {
    width: 100%;
    padding: 15px 15px;
    box-sizing: border-box;
  }

  .thumb_box li .titbox p {
    padding-bottom: 8px;
  }

  .thumb_box .titbox .tit {
    line-height: 160%;
    margin-bottom: 30px;
  }

  .thumb_box .form {
    position: absolute;
    bottom: 10px;
    left: 15px;
    font-size: 12px;
  }

  .thumb_box .form input {
    padding: 0 0 8px 16px;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-position: 0 3px;
    background-color: inherit;
    border: none;
    font-weight: normal;
    color: #000;
  }
  /*締め切り後のリンクボタン*/
  .thumb_box .form-link {
    position: absolute;
    bottom: 10px;
    left: 15px;
  }
  .thumb_box .form-link a {
    padding: 0 0 8px 16px;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-position: 0 3px;
    background-color: inherit;
    border: none;
    font-size: 12px;
    font-weight: normal;
    color: #000;
  }

  .resultbox {
    padding: 0 0 30px 0;
  }

  .resultbox .thumb_box {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
  }

  .resultbox .thumb_box li {
    position: relative;
    width: calc((100% - 120px) / 4);
    height: auto;
    margin: 15px;
    /*box-shadow*/
    box-shadow: none !important;
  }

  .resultbox .thumb_box li .thumb {
    height: 180px;
  }

  .resultbox .thumb_box li .titbox {
    width: 100%;
    padding: 15px 0;
  }

  .resultbox .thumb_box .titbox .tit {
    line-height: 180%;
    font-weight: normal;
    margin-bottom: 0;
    height: 60px;
  }
  .resultbox .thumb_box li .detail {
    margin-top: 20px;
  }
  .resultbox .detail a {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: block;
    font-weight: bold;
    text-align: center;
    border: solid 2px #000;
    padding: 5px 0;
    box-sizing: border-box;
  }
  .resultbox .detail a:hover {
    color: #fff;
    background-color: #000;
  }

  #main {
    width: 69%;
    height: 100%;
    margin: 0 0 20px 0;
    padding: 0 50px 0 50px;
    box-sizing: border-box;
  }

  #main .inner {
    padding: 40px 60px;
    /*box-shadow*/
    box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
    -webkit-box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
    -moz-box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
  }

  #main .present {
    margin-bottom: 30px;
  }

  #main .present img {
    width: 100%;
  }

  #main .votebox {
    display: none;
  }

  #main .titbox {
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 30px;
  }

  #main .titbox .number {
    font-family: "Times New Roman", Times, serif;
    font-weight: bold;
    width: 75px;
    height: 64px;
    color: #fff;
    padding-top: 11px;
    margin-right: 23px;
    text-align: center;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    line-height: 180%;
  }

  #main .titbox .number span {
    font-size: 30px;
  }

  #main .titbox .tit {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    flex: 1;
  }

  #main .titbox .pd {
    padding-top: 11px;
  }

  .introduction {
    margin-bottom: 40px;
  }

  .introduction h3 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    padding-bottom: 10px;
    font-weight: bold;
  }

  figure.photo {
    text-align: center;
    padding-bottom: 30px;
  }

  figure.photo figcaption {
    color: #333;
    font-size: 12px;
    font-weight: bold;
    padding-top: 5px;
  }

  #aside {
    width: 31%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
    padding-right: 50px;
  }

  #sidebox {
    width: 100%;
    font-size: 12px;
  }

  #sidebox .banner img {
    width: 100%;
    margin: 10px 0 30px;
  }

  #sidebox .present {
    display: none;
  }

  #sidebox input[type="text"] {
    width: 100%;
    box-sizing: border-box;
  }

  .votebox {
    position: relative;
    display: inline-block;
    padding: 25px 30px;
    margin-bottom: 30px;
    width: 100%;
    text-align: center;
    background-color: #f4f2ec;
    z-index: 0;
    box-sizing: border-box;
  }

  .votebox:after {
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    margin-top: -10px;
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #eee transparent transparent;
  }

  .votebox p {
    font-size: 14px;
    font-weight: bold;
    line-height: 180%;
  }

  .votebox .fb {
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    padding: 20px 0 10px 15px;
  }

  .mform a {
    display: block;
    padding: 8px 0;
    border: solid 2px #000;
    background-color: #fff;
    font-weight: bold;
    text-align: center;
  }

  .mform a:hover {
    color: #fff;
    background-color: #000;
  }

  .snsbtn li.fb {
    display: none;
  }

  .info2 {
    display: none;
  }

  #footer {
    font-size: 12px;
    padding: 50px 0 20px 0;
    text-align: center;
    margin-top: auto;
  }

  #under-btn {
    display: none;
  }

  .pagenav {
    clear: both;
  }

  .pagenav ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .pagenav ul li {
    display: table-cell;
  }

  .pagenav a {
    font-family: "Times New Roman", Times, serif;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    font-size: 13px;
    font-weight: bold;
  }

  .basicTable {
    border-left: 1px solid #cccccc;
    border-top: 1px solid #cccccc;
    margin-top: 20px;
    width: 100%;
    font-size: 90%;
  }

  .basicTable tr th {
    text-align: left;
    padding: 0 15px;
    background-color: #f0f0f0;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    word-wrap: break-word;
  }

  .basicTable tr td {
    text-align: left;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    padding: 15px;
  }

  input.form1 {
    width: 40%;
  }

  #infobox .sp {
    display: none;
  }

  #infobox .midashi3 {
    margin: 40px;
  }

  #infobox .votebtn .btn {
    width: 48%;
    margin: 30px 0 0 0;
  }

  #infobox .left {
    float: left;
  }

  #infobox .right {
    float: right;
  }

  .midashi {
    font-size: 22px;
    font-weight: bold;
    line-height: 180%;
    margin-bottom: 20px;
  }

  .midashi2 {
    font-size: 16px;
    font-weight: bold;
    line-height: 180%;
    padding: 16px 0 14px 5px;
    margin-bottom: 25px;
    border-top: solid 3px #333;
    border-bottom: solid 1px #333;
    text-align: left;
  }

  .midashi3 {
    font-size: 15px;
    font-weight: bold;
    line-height: 180%;
    margin-bottom: 20px;
  }

  #notfoundbox {
    text-align: center;
  }

  #notfoundbox h2 {
    font-size: 50px;
    font-weight: bold;
    margin-top: 100px;
  }

  #notfoundbox p {
    margin-top: 50px;
  }
}

@media screen and (max-width: 1200px) {
  /* 1200px以下のスタイル記述 */
  #contents {
    padding: 0 20px;
  }
  .department-cont.threeline {
    justify-content: flex-start;
  }
  .department-cont .department-inner,
  .department-cont.threeline .department-inner {
    width: calc((100% - 40px) / 2);
    margin: 10px;
  }
}

@media screen and (max-width: 960px) {
  /* 960px以下のスタイル記述 */
  .thumb_box li {
    position: relative;
    width: calc((100% - 60px) / 3);
    height: auto;
    margin: 10px;
    /*box-shadow*/
    box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
    -webkit-box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
    -moz-box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
  }

  #main {
    width: 70%;
    padding: 0 20px 0 0;
  }

  #aside {
    width: 30%;
    padding: 0;
  }

  .votebox {
    padding: 10px;
  }
}

@media screen and (max-width: 640px) {
  /* スマホ用のスタイル記述 */
  p,
  li,
  dt,
  dd,
  th,
  td {
    line-height: 180%;
  }

  #wrapper {
    max-width: 640px;
    overflow: hidden;
  }

  #header {
    width: 100%;
    margin-bottom: 170px;
  }

  .home #header {
    width: 100%;
    margin-bottom: 20px;
  }

  #header #menu {
    width: 100%;
    background-color: #fff;
    text-align: center;
    position: fixed;
    z-index: 9999;
  }

  #header #menu div {
    padding: 10px 0 0 0;
  }

  #header #menu h1 img {
    width: 70%;
    height: auto;
    margin: 0 auto;
  }

  #gnav {
    margin: 15px 0 0 0;
  }

  #gnav:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }

  #gnav ul {
    border-left: 1px solid #ccc;
  }

  #gnav ul li {
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    margin: 0px;
    background-color: #999;
    background-position: right center;
    background-repeat: no-repeat;
    font-size: 11px;
    font-weight: bold;
  }

  #gnav ul li:nth-child(odd) {
    float: left;
    width: 50%;
  }
  #gnav ul li.insta {
    display: none;
  }
  #gnav ul li a {
    display: block;
    height: auto;
    margin: 0px;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
    color: #fff;
    letter-spacing: 1px;
  }

  #mainimg p img {
    margin-top: 130px;
    width: 100%;
  }

  #contents {
    margin-bottom: 10px;
    padding: 0 10px;
  }

  #main .present {
    margin-bottom: 30px;
  }

  #main img {
    width: 100%;
  }

  .present_info {
    width: 100%;
    padding: 0;
  }

  .present_info img {
    width: 100%;
    padding: 0;
    margin-bottom: 30px;
  }

  .present_info div {
    padding-bottom: 15px;
  }

  .present_info p {
    line-height: 140%;
  }

  .present_info h2 {
    font-size: 16px;
    text-align: center;
    line-height: 180%;
  }

  .cssgrid {
    padding: 0;
    margin: 0 0 50px;
  }

  .department {
    width: 100%;
    padding: 20px 0 0;
    height: 150px;
  }

  .department-cont .department-inner,
  .department-cont.threeline .department-inner {
    width: 100%;
  }

  .department-cont .department-inner {
    margin-left: 0;
  }

  .entrybox {
    padding: 20px 0;
  }

  .tit_ribbon,
  .tit_ribbon2,
  .tit_ribbon3,
  .tit_ribbon4 {
    width: calc(80% - 80px);
  }

  .thumb_box {
    padding: 30px 0;
  }

  .thumb_box li {
    position: relative;
    width: calc((100% - 20px) / 2);
    height: auto;
    margin: 5px;
    /*box-shadow*/
    box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
    -webkit-box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
    -moz-box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
  }

  .thumb_box li {
    position: relative;
    margin-top: 15px;
  }

  .thumb_box li .thumb {
    width: 100%;
    height: 110px;
    position: relative;
    overflow: hidden;
  }

  .thumb_box li .thumb img {
    width: 100%;
    height: 100%;
    position: absolute;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .thumb_box li .number {
    font-family: "Times New Roman", Times, serif;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #000;
    padding: 2px 6px 3px 6px;
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
  }

  .thumb_box li .titbox {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .thumb_box li .titbox p {
    font-size: 11px;
    font-weight: bold;
  }

  .thumb_box .titbox .tit {
    margin-bottom: 60px;
    line-height: 140%;
  }

  .thumb_box .form {
    position: absolute;
    bottom: 10px;
    left: 15px;
    padding: 10px 0 5px 0;
  }

  .thumb_box .form input {
    font-size: 12px;
    padding: 5px 0 5px 16px;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-position: 0 7px;
    background-color: inherit;
    border: none;
    color: #000;
  }
  /*締め切り後のリンクボタン*/
  .thumb_box .form-link {
    position: absolute;
    bottom: 10px;
    left: 15px;
    padding: 10px 0 5px 0;
  }
  .thumb_box .form-link a {
    font-size: 12px;
    padding: 5px 0 5px 16px;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-position: 0 7px;
    background-color: inherit;
    border: none;
    color: #000;
  }
  .resultbox .tit_ribbon,
  .resultbox .tit_ribbon2,
  .resultbox .tit_ribbon3,
  .resultbox .tit_ribbon4 {
    width: calc(80% - 50px);
  }

  .resultbox .tit_ribbon:before,
  .resultbox .tit_ribbon:after,
  .resultbox .tit_ribbon2:before,
  .resultbox .tit_ribbon2:after,
  .resultbox .tit_ribbon3:before,
  .resultbox .tit_ribbon3:after,
  .resultbox .tit_ribbon4:before,
  .resultbox .tit_ribbon4:after {
    top: 36px;
  }

  .resultbox .thumb_box {
    padding: 0 0 30px 0;
  }

  .resultbox .thumb_box li .thumb {
    height: 120px;
  }

  .resultbox .thumb_box li .titbox {
    padding: 6% 7% 0 7%;
  }

  .resultbox .thumb_box .titbox .tit {
    font-size: 13px;
    line-height: 170%;
    margin-bottom: 30px;
  }

  .resultbox .thumb_box li .titbox p {
    font-weight: normal;
  }

  .resultbox .thumb_box .detail a {
    font-size: 13px;
    padding: 18px 0 15px 16px;
    font-weight: bold;
    background-image: url(../images/icon.png);
    background-repeat: no-repeat;
    background-position: 0 20px;
  }

  .btn a {
    font-size: 12px !important;
  }

  #main {
    width: 100%;
  }

  #aside {
    width: 100%;
  }

  #main .present img {
    width: 100%;
  }

  .department-link li a {
    padding: 10px;
    font-size: 85%;
  }

  .department-link li {
    width: calc((100% - 10px) / 2);
  }

  .department-link li:nth-child(2n) {
    margin-left: 10px;
  }

  .department-link li:nth-child(3),
  .department-link li:nth-child(4) {
    margin-top: 10px;
  }

  #main .titbox {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
  }

  #main .titbox .number {
    font-family: "Times New Roman", Times, serif;
    font-weight: bold;
    width: 57px;
    height: 47px;
    color: #fff;
    float: left;
    padding-top: 9px;
    margin-right: 17px;
    text-align: center;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    line-height: 140%;
  }

  #main .titbox .number span {
    font-size: 22px;
    font-weight: bold;
  }

  #main .titbox .tit {
    font-size: 14px;
    font-weight: bold;
    line-height: 160%;
    padding-top: 3px;
    flex: 1;
  }

  #main .titbox .pd {
    padding-top: 14px;
  }

  .introduction {
    margin-bottom: 20px;
  }

  .introduction h3 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 16px;
    font-weight: bold;
    padding: 7px 0;
  }

  figure.photo {
    text-align: center;
    padding-bottom: 10px;
  }

  figure.photo figcaption {
    line-height: 160%;
    padding-top: 5px;
  }

  #aside {
    padding: 3%;
    width: 94%;
  }

  #aside .present img {
    width: 100%;
  }

  .votebox {
    width: 92%;
    padding: 20px 15px 15px 15px;
    margin-bottom: 10px;
    text-align: center;
    background-color: #f4f2ec;
  }

  .votebox p {
    font-size: 14px;
    font-weight: bold;
    line-height: 160%;
  }

  .votebox .fb {
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    padding: 15px 0 0 15px;
  }

  .mform a {
    display: block;
    padding: 8px 0;
    border: solid 2px #000;
    background-color: #fff;
    font-weight: bold;
    text-align: center;
  }

  .mform a:hover {
    color: #fff;
    background-color: #000;
  }

  .info {
    display: none;
  }

  .info2 img {
    width: 100%;
  }

  #sidebox .banner img {
    width: 100%;
    margin: 10px 0 30px;
  }

  .pagenav {
    clear: both;
  }

  .pagenav ul {
    display: table;
    table-layout: fixed;
    width: 100%;
  }

  .pagenav ul li {
    display: table-cell;
    text-align: center;
    border: solid 1px #fff;
  }

  .pagenav a {
    font-family: "Times New Roman", Times, serif;
    text-decoration: none;
    display: block;
    color: #fff;
    background-color: #999;
    padding: 5px 0;
    font-size: 12px;
    font-weight: bold;
  }

  #voteform {
    width: 94%;
    padding: 0 3% 50px;
  }

  #infobox .midashi3 {
    margin-bottom: 20px;
  }

  #infobox .box .btn {
    margin-bottom: 5px;
  }

  #infobox .btn a {
    font-size: 12px !important;
  }

  #infobox #mf,
  #infobox #fb,
  #infobox #ig {
    padding-top: 160px;
  }

  .basicTable {
    width: 100%;
    margin: 20px 0;
    border-top: solid 1px #ccc;
  }

  .basicTable th,
  .basicTable td {
    width: 94%;
    display: block;
    border-top: none;
    padding-top: 10px;
    padding-left: 3%;
    padding-right: 3%;
    text-align: left;
  }

  .basicTable td {
    padding-bottom: 15px !important;
    border-bottom: solid 1px #ccc;
  }

  .basicTable tr td span {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
  }

  .basicTable input {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    padding: 6px 10px;
    vertical-align: middle;
    font-size: 12px;
    width: 90%;
  }

  .basicTable select {
    margin-bottom: 10px;
  }

  input.form1 {
    width: 90%;
  }

  .basicTable select,
  .basicTable textarea {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    padding: 4px;
    font-size: 12px;
    min-width: 90%;
  }

  .error {
    color: #e7370d;
    font-weight: normal !important;
  }

  .button {
    font-weight: bold;
    padding: 15px;
    color: #fff;
    background: #000;
  }

  .button2 {
    font-weight: bold;
    padding: 15px;
    color: #666;
    background: #ccc;
  }

  #footer {
    font-size: 11px;
    padding: 10px 0;
    text-align: center;
    clear: both;
  }

  .midashi {
    font-size: 16px;
    font-weight: bold;
    line-height: 180%;
    margin-bottom: 15px;
    text-align: center;
  }

  .midashi2 {
    font-size: 14px;
    font-weight: bold;
    line-height: 180%;
    padding: 6px 0 7px 0;
    margin-bottom: 15px;
    border-top: solid 3px #333;
    border-bottom: solid 1px #333;
  }

  .midashi3 {
    font-weight: bold;
  }

  .bgcolor {
    background-color: #eee;
  }

  .bgcolor2 {
    background-color: #e2f3eb;
  }

  #topcontrol,
  #infobox .pc {
    display: none;
  }

  /*151226*/

  #sp_intro_box {
    width: 94%;
    padding: 10px 3% 20px 3%;
  }

  #sp_intro_box h2 img {
    width: 100%;
  }

  #sp_intro_box2 {
    width: 94%;
    padding: 10px 3% 20px 3%;
  }

  #sp_intro_box2 h2 img,
  #sp_prize_box .sp_prize_creator h2 img,
  #sp_prize_box .sp_prize_creator p img {
    width: 100%;
    height: auto;
  }

  #sp_prize_box .sp_prize_creator h2 {
    margin: 0 0 10px 0;
  }

  #sp_prize_box .btn {
    margin: 0 0 60px 0;
  }

  #sp_prize_box {
    width: 94%;
    padding: 10px 3% 20px 3%;
  }

  #notfoundbox {
    text-align: center;
    margin-bottom: 100px;
  }

  #notfoundbox h2 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 150px;
  }

  #notfoundbox p {
    margin-top: 50px;
  }
}

@media screen and (max-width: 320px) {
  /* スマホ用のスタイル記述2 */
  p,
  li,
  dt,
  dd,
  th,
  td {
    line-height: 180%;
  }

  #wrapper {
    max-width: 320px;
    overflow: hidden;
  }

  #header {
    width: 100%;
    margin-bottom: 15px;
  }

  #header #menu {
    width: 100%;
    background-color: #fff;
    text-align: center;
  }

  #header #menu div {
    padding-top: 0;
  }

  #header #menu h1 img {
    width: 90%;
    height: auto;
  }

  #gnav {
    margin: 25px 0 0 0;
  }

  #gnav:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }

  #gnav ul {
    border-left: 1px solid #ccc;
  }

  #gnav ul li {
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    margin: 0px;
    background-color: #999;
    background-position: right center;
    background-repeat: no-repeat;
    font-size: 11px;
    font-weight: bold;
  }

  #gnav ul li:nth-child(odd) {
    float: left;
    width: 50%;
  }

  #gnav ul li a {
    display: block;
    height: auto;
    margin: 0px;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
    color: #fff;
    letter-spacing: 1px;
  }

  #mainimg p img {
    width: 100%;
  }

  #contents {
    margin-bottom: 10px;
  }

  #main {
    padding: 3%;
  }

  #main img {
    width: 100%;
  }

  .thumb_box li {
    position: relative;
    width: 46%;
    height: auto;
    margin: 6px;
    /*box-shadow*/
    box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
    -webkit-box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
    -moz-box-shadow: 0 0 5px #fff, 0 0 5px #ccc, 0 0 1px #aaa;
  }
}

@media screen and (min-width: 641px) {
  .center-pc {
    text-align: center;
  }

  .br-sp {
    display: none;
  }

  figure.photo img {
    width: 600px;
  }
}

@media screen and (max-width: 640px) {
  .br-pc {
    display: none;
  }
}

/*151226*/
#intro_box {
  width: 554px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 0 0;
}

#intro_box {
  width: 554px;
  margin: 0 auto;
  text-align: center;
}

#intro_box2 {
  width: 554px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 0 40px;
}

.cssgrid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  grid-auto-rows: 1fr;
  padding: 0;
}

.cssgrid2 > div {
  min-width: 0;
  padding: 0;
}

@media screen and (max-width: 640px) {
  .cssgrid2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

#prize_box {
  padding-top: 60px;
}

.prize_creator {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  position: relative;
  padding: 20px 0 60px;
}

.prize_creator .creator {
  width: 50%;
  height: auto;
  padding-right: 50px;
  box-sizing: border-box;
}

.prize_creator .comment {
  padding: 25px 0;
}

.prize_creator .img {
  width: 50%;
  overflow: hidden;
}
.prize_creator img {
  height: auto;
}
.prize_creator .img ul {
  width: 100%;
  overflow: hidden;
  position: relative;
  zoom: 1;
}

.prize_creator .img li {
  float: left;
}
.prize_creator .img img {
  width: 100%;
  height: auto;
}
.prize_creator .img .first {
  width: 100%;
  padding: 0 0 10px 0;
}
.prize_creator .img .thumb {
  width: 32.33333%;
}
.prize_creator .img .mid {
  padding: 0 1.5%;
}
.prize_creator .btn {
  width: 100%;
}
@media screen and (max-width: 640px) {
  .prize_creator .creator {
    width: 100%;
    padding-right: 0;
  }
  .prize_creator .creator img {
    width: 100%;
  }
  .prize_creator .img {
    width: 100%;
    padding-bottom: 30px;
  }

  .detail {
    padding: 20px 0;
  }
}

.float_btn a {
  display: inline-block;
  text-decoration: none;
  width: 90px;
  height: 80px;
  border-radius: 50%;
  padding-top: 10px;
  text-align: center;
  vertical-align: middle;
  overflow: hidden;
  transition: 0.4s;
  position: fixed;
  bottom: 80px;
  right: 15px;
}
.float_btn a.contact {
  background: #333;
  border: 1px solid #333;
  color: #fff;
  bottom: 80px;
  right: 15px;
}
.float_btn a.insta {
  background: #fff;
  border: 1px solid #333;
  color: #333;
  bottom: 180px;
  right: 15px;
}
.float_btn a.insta i {
  padding-top: 3px;
  font-size: 23px;
}
.float_btn p {
  line-height: 120%;
  padding-top: 5px;
}
.float_btn a.insta p {
  line-height: 120%;
  padding-top: 0;
}
.float_btn a:hover {
  background: #999;
}

.float_btn .txt {
  font-size: 90%;
}

#pageTop {
  position: fixed;
  bottom: 20px;
  right: 40px;
}

#pageTop a {
  font-size: 160%;
  display: block;
  z-index: 999;
  padding: 6px 0 0 0;
  width: 40px;
  height: 35px;
  background-color: #ccc;
  color: #fff;
  text-decoration: none;
  text-align: center;
  opacity: 1;
}

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.2;
}

@media screen and (max-width: 768px) {
  .float_btn a {
    width: 70px;
    height: 64px;
    padding-top: 8px;
    bottom: 15px;
  }

  .float_btn a:hover {
    background: #999;
  }
  .float_btn a.contact {
    bottom: 20px;
    right: 15px;
  }
  .float_btn a.insta {
    bottom: 96px;
    right: 15px;
  }
  .float_btn p {
    line-height: 110%;
    padding-top: 5px;
  }

  .float_btn .txt {
    font-size: 10px;
  }

  #pageTop {
    display: none !important;
  }
}

/*-------------------------------
メールフォーム
-------------------------------*/
.mfp_element_text,
.mfp_element_number,
.mfp_element_select-one,
.mfp_element_email,
.mfp_element_tel,
.mfp_element_textarea,
.mfp_element_date,
.mfp_element_password {
  border: solid 1px #ccc;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 10px 8px !important;
  margin: 0 !important;
  vertical-align: middle;
}

.mfp_element_submit {
  border-radius: 0 !important;
  padding: 8px 25px !important;
  border: none !important;
  background: #000 !important;
  color: #fff !important;
  text-shadow: none !important;
  font-size: 16px !important;
  cursor: pointer;
  outline: none !important;
  transition: all 0.3s;
}

.mfp_element_reset {
  border-radius: 0 !important;
  margin-left: 10px !important;
  padding: 8px 25px !important;
  border: none !important;
  background: #ccc !important;
  color: #000 !important;
  text-shadow: none !important;
  font-size: 16px !important;
  cursor: pointer;
  outline: none;
  transition: all 0.3s;
}

.mfp_element_submit:hover,
.mfp_element_reset:hover {
  opacity: 0.7;
  box-shadow: none;
}

.mfp_element_submit:hover {
  background: #000;
}

.mfp_element_reset:hover {
  background: #ccc;
}

#mailformpro input[type="text"],
#mailformpro input[type="email"] {
  width: 100%;
  font-size: 16px;
}

.mfp_element_all {
  max-width: 100%;
  box-sizing: border-box;
}
