@charset "utf-8";

/* 基本レイアウト
================================================== */

html {
  font-size: 62.5%;
}

body {
  color: #222;
  font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Arial, verdana, sans-serif;
  font-size: 1.8em;
  line-height: 1.5;
  background-color: #FFF;
  /*background: url(NintomoMap_PC_v0705.jpg) no-repeat top center;*/
  counter-reset: cntStar;
}

h1, h2, h3, h4, h5, h6,
#newsArea p,
#about #main p {
  font-family: "M PLUS Rounded 1c";
}

#gNav a {
  font-family: "M PLUS Rounded 1c";
  transform: rotate(0.03deg);
}

#skipNav {
  position: absolute;
}

#skipNav a:focus,
#skipNav a:active {
  display: block;
  height: auto;
  width: 15em;
  top: 5px;
  left: 5px;
  clip: auto;
  z-index: 1000;
  font-size: 1.8rem;
  padding: 5px;
  background-color: #FFF;
  border: #CCC solid 1px;
  text-align: center;
}

#wrap,
.inner {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

#gHeader {
  text-align: center;
}

.headerLine {
  height: 142px;
  border-bottom: #000 7px solid;
  background: #ffb75c url(../images/bg_header.png) no-repeat bottom center;
  box-sizing: border-box;
}


#logo {
  margin: 30px 0;
  line-height: 1;
}

#logo a {
  display: block;
  max-width: 45%;
  margin: 0 auto;
}

#title {
  margin-bottom: 18px;
}

#title a {
  display: block;
  max-width: 80%;
  margin: 0 auto;
}

.snsArea {
  text-align: center;
}

.snsArea li {
  display: inline-block;
  margin: 0 2px;
}

.snsArea img {
  max-width: 45px;
}

#gFooter {
  background-color: #ffb85c;
  text-align: center;
  padding: 2em;
}

#fLogo {
  display: inline-block;
  max-width: 320px;
  width: 60%;
}

#fSns {
  text-align: center;
  padding: 3em 0 2em;
}

#toTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 5vw;
  text-align: center;
}

#toTop a {
  display: block;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  opacity: 0.5;
  height: 64px;
  box-sizing: border-box;
}

#toTop a:hover {
  opacity: 0.7;
}

#toTop img {
  position: relative;
  top: -5px;
  vertical-align: bottom;
}

article h1{
  margin-bottom: 1.5em;
  text-align: center;
  font-size: 3.8rem;
  letter-spacing: 0.1em;
}

article h2 {
  margin-bottom: 1em;
  text-align: center;
  font-size: 3.8rem;
  letter-spacing: 0.1em;
}

article h3 {
  margin-bottom: 1em;
  text-align: center;
  font-size: 3.4rem;
  letter-spacing: 0.1em;
}

.marker {
  display: inline-block;
  padding: 0 0.5em;
  font-weight: bold;
  background:linear-gradient(transparent 60%, #fbebd2 60%);
}

.hideTB {
  display: flex;
}

.showTB {
  display: none;
}

#findArea .hideTB > p {
  width: 50%;
  border: none;
  background: none;
  font-size: 3rem;
  text-align: center;
}

#findArea [role="tabpanel"] {
  display: inline-block;
  width: 49%;
  padding: 1em;
  text-align: center;
  box-sizing: border-box;
  vertical-align: top;
}

article p {
  margin-bottom: 1em;
}

#newsArea {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 0.75em 10px;
  border-bottom: #979797 1px solid;
}

#newsArea a {
  display: block;
}

#newsArea p,
#newsArea h2 {
  display: inline-block;
  margin-bottom: 0;
  font-size: 2.4rem;
  font-weight: bold;
}

#newsArea h2::after {
  content: "｜";
}

.arrow::after {
  display: inline-block;
  position: relative;
  top: 0.2em;
  margin-left: 0.35em;
  content: "";
  width: 0;
  height: 0;
  border-left: 12px solid black;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

#aboutArea .arrow::after,
#newsArea .arrow::after {
  top: 0.1em;
}

.lineLink a,
a.lineLink {
  color: #187fc4;
  text-decoration: underline;
}

#lead {
  line-height: 1.8;
  margin-bottom: 1em;
}

/* 汎用 */

.sub {
  font-size: 80%;
}

.btn {
  display: inline-block;
  min-width: 260px;
  border-radius: 3em;
  border: solid 2px #000;
  padding: 0.5em 0.4em 0.4em;
  box-sizing: border-box;
  background-color: #fdf4cb;
  font-weight: bold;
  text-align: center;
}

.icon {
  display: inline-block;
  /*
  background-color: #D83518;
  color: #FFF;
  */
  padding: 0.15em 0.3em 0.05em;
  font-size: 70%;
  color: #D83518;
  border: #D83518 solid 1px;
  border-radius: 5px;
  vertical-align: top;
  position: relative;
  top: 0.2rem;
}

.icon.pdf {
  border: #CCC solid 1px;
  background-color: #FFF;
  padding: 0.3em 0.3em 0.01em;
  color: #D83518;
  box-sizing: border-box;
  margin-left: 0.5em;
}

.disc {
  list-style: disc;
  margin: 0 0 1em 1em;
}

.disc li {
  margin-bottom: 0.5em;
}

.disc > li > ul {
  list-style-type: disc;
  margin: 0 0 1.5em 1em;
}

.deadline {
  display: inline-block;
}

.attn {
  color: #D83518;
}

.finished {
  color: #666;
}

.num {
  font-family: "M PLUS Rounded 1c","Arial Black","HiraKakuProN-W6","Gadget",sans-serif;
}

strong.num {
  font-size: 200%;
  color: #da3a0e; /*#ea7150 e25731;*/
}

.btnList li {
  display: inline-block;
  margin: 0 0.5em 1em;
}

.btnList a {
  /*transition: background 0.3s linear;*/
  display: block;
  border-radius: 0.5em;
  border: 3px solid #000;
  background-color: #FFF;
  padding: 0.2em 0.5em;
  min-width: 100px;
  box-sizing: border-box;
  color: #000;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

.btnList a[aria-selected="true"] {
  border: #cebbb5 solid 1px;
  background-color: #fae3dd;
}

.boxLink a {
  /*transition: background 0.3s linear;*/
}

.boxLink a:hover,
.btnList a:hover,
.btnList a[data-selected="true"] {
  background-color: #fbebd2;
}

.imgTxtList li:not(:last-child) {
  border-bottom: 1px solid #CCC;
}

.imgTxtList li img {
  vertical-align: bottom;
}

.imgTxtList .imgArea {
  width: 20%;
}

.imgTxtList .txtArea {
  width: 77%;
}

.imgTxtList li a {
  padding: 10px 0;
}

.imgTxtList li a h3 {
  color: #0e4c76;
  padding: 10px 0;
}

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

.boxList a {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 15px;
  background-color: #fcf4ca;
}

.boxList .imgBox {
  display: flex;
}

.boxList .imgBox[aria-hidden="true"] {
  display: none;
}

.radiusBox {
  border-radius: 15px;
}

.boxList .imgArea {
  border-radius: 20px 20px 0 0;
}

.boxList .imgArea.container figure {
  display: flex;
  width: 100%;
  height: auto;
}


.imgBox a {
  width: 100%;
  /*transition: background linear 0.2s;*/
}

.lineList a {
  display: block;
  padding: 10px;
}

.lineList a:not(last-child) {
  border-bottom: 1px solid #EEE;
}

.halfColumn .boxList.shadow li {
  width: 100%;
  margin-bottom: 2vh;
}

.boxList.shadow .imgArea {
  margin: 0 auto 0;
  box-sizing: border-box;
}

.imgArea.container {
  background-color: #EEE;
  position: relative;
  display: flex;
  box-sizing: border-box;
}

.imgArea.container img {
  width: 100%;
  height: auto;
  margin: auto;
}

.imgBox .imgArea {
  position: relative;
  width: 100%;
  background: #b1b1b1;
  overflow: hidden;
}

.imgBox .txtArea {
  padding: 10px;
}

.ie .imgBox .txtArea {
  margin-bottom: 1em;
}

.imgBox .txtArea h4 {
  margin-bottom: 0.75em;
  font-size: 2.2rem;
}

.imgBox .txtArea .tag li {
  display: inline-block;
  padding: 0 0.5em;
  border: #c60000 solid 1px;
  border-radius: 5px;
  color: #c60000;
  font-size: 80%;
}

.imgBox .city {
  margin-top: auto;
  padding: 0.25em 0.5em;
  border-radius: 0 0 15px 15px;
  background-color: #ffb85c;
  width: 100%;
  text-align: right;
  font-weight: bold;
  box-sizing: border-box;
}


aside .imgBox .txtArea h3 {
  min-height: inherit;
}

aside .boxList li {
  margin-bottom: 2vh;
  width: 100%;
}

aside .boxList li .imgArea  {
  background-color: #FFF;
}

.imgBox .txtArea p {
  margin-bottom: 0;
}

.sideImg {
  display: flex;
  justify-content: space-between;
}

.dlList {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.dlList > dl {
  background-color: #fae3dd;
  width: 49%;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}

.dlList dt {
  font-size: 2.4rem;
}

.tableArea {
  text-align: center;
  margin-bottom: 3em;
}

.tableArea table.alignCenter th,
.tableArea table.alignCenter td {
  text-align: center;
}

.tableArea table {
  margin: 0 auto 0.5em;
  border: #CCC solid 1px;
  min-width: 80%;
}

.tableArea caption {
  font-weight: bold;
  margin-bottom: 0.5em;
}

.tableArea table th {
  background-color: #EEE;
}

.tableArea table th,
.tableArea table td {
  padding: 10px;
  border: #CCC solid 1px;
  text-align: left;
  font-size: 1.6rem;
  font-weight: normal;
}

.simpleBox {
  border: solid 1px #CCC;
  padding: 15px;
}

/* トップ */

#home h1 {
  font-size: 3.4rem;
  margin-bottom: 1.3em;
}

#home #aboutArea h2 {
  font-size: 3.4rem;
  margin-bottom: 1.5em;
}

#home #aboutArea {
  padding-top: 25px;
  border-bottom: #000 7px solid;
  background: #ffb75c url(../images/bg_header.png) no-repeat bottom center;
  box-sizing: border-box;
}

#home #aboutArea #aboutLink {
  text-align: center;
  font-size: 120%;
}

#home #aboutArea {
  padding: 25px 0 120px;
  box-sizing: border-box;
}

#home #aboutArea .imgArea {
  width: 38%;
  margin: 0 0 0 9%;
}

#home #aboutArea .imgArea img {
  border-radius: 20px;
}

#home #aboutArea .txtArea {
  width: 45%;
  margin: 0 5% 0 3%;
}

#home #aboutArea .txtArea p {
  margin-bottom: 1.5em;
  font-size: 2rem;
  line-height: 1.6;
  font-weight: bold;
  text-align: left;
}

#home .bottomArea {
  max-width: 960px;
  margin: 1em auto 0;
  padding: 0 10px;
  text-align: center;
}

#home .bottomArea p {
  margin-bottom: 1.5em;
  text-align: left;
}

#resultArea .imgBox {
  width: 31.5%;
  margin: 0 0.525% 1.5em;
}

#tagList {
  margin-left: 10%;
  text-align: left;
  margin-top: 1em;
}

#findArea [role="tabpanel"]{
  position: relative;
}

#mapInfo {
  position: absolute;
  top: 4em;
  left: calc(50% - 180px);
  text-align: left;
  width: 200px;
}

/* 募集要項 */

#about article {
  max-width: 970px;
  margin: 2.5em auto 0;
  line-height: 1.8;
  padding: 0 10px;
}

#about article section {
  margin-bottom: 4.5em;
}

#about article h2 {
  font-size: 3.2rem;
  margin-bottom: 1.5em;
}

#about article h3 {
  font-size: 1.8rem;
  margin-bottom: 0;
  text-align: left;
}

#about article p,
#about article ol,
#about #schedule dl {
  font-weight: bold;
}


#about #criteria ol {
  max-width: 440px;
  margin: 0 auto;
}

#about #criteria ol li {
  margin-bottom: 1.3em;
}

#about #committee {
  margin-bottom: 2em;
}

#about #committee ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 740px;
  margin: 0 auto;
}

#about #committee ul li {
  width: 42%;
  font-size: 1.4rem;
  margin-bottom: 3em;
  text-align: left;
}

#about #schedule p {
  text-align: center;
}

#about #schedule dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 540px;
  margin: 0 auto;
}

#about #schedule dt {
  width: 23%;
  text-align: right;
  margin-bottom: 1em;
}

#about #schedule dd {
  width: 70%;
  margin-bottom: 1em;
}


#about #awards {
  text-align: center;
  margin-bottom: 3em;
}

#about #awards p {
  margin-bottom: 3em;
}

/* JavaScript */

.fadeIn {
  display: inherit;
  opacity: 1;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  0% {
    display: none;
    opacity: 0;
  }

  1% {
    display: inherit;
    opacity: 0;
  }

  100% {
    display: inherit;
    opacity: 1;
  }
}

@media screen and (max-width: 1260px) {

  #newsArea {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  #newsArea h2 {
    text-align: left;
  }

  #home main .inner {
    margin: 0 10px;
  }

  #gNav li {
    font-size: 1.6rem;
  }

  #gNav a {
    padding: 0 1vw;
  }

  .coverImg {
    width: 100%;
    height: 52.5vw;
    max-height: 30em;
  }

  .coverImg img {
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
  }

  .btnList a {
    font-size: 2.6rem;
  }
}

@media screen and (max-width: 1000px) {

  #newsArea h2::after {
    display: none;
  }

  #tagList {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
  }

  #tagList li {
    width: 46%;
    margin: 0 2% 1em;
  }
}

@media screen and (max-width: 896px) {

  .hideTB {
    display: none;
  }

  [role="tablist"] {
    display: flex;
    padding: 0 5%;
    border-bottom: #000 solid 2px;
  }

  #findArea .showTB > button {
    position: relative;
    top: 2px;
    width: 49%;
    padding: 10px 1% 7px;
    border: #000 solid 2px;
    border-radius: 25px 25px 0 0;
    background: none;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    margin: 0 1%;
  }

  #findArea .showTB > button[aria-selected="true"] {
    border-bottom-color: #FFF;
  }

  #findArea .showTB > button[aria-selected="false"] {
    background-color: #fbebd2;
  }

  #findArea [role="tabpanel"][aria-hidden="false"] {
    width: 100%;
    padding: 2.5em 0;
  }

  #findArea [role="tabpanel"][aria-hidden="true"] {
    display: none;
  }

  article p {
    font-size: 1.6rem;
  }

  /* トップ */
  #resultArea .imgBox {
    width: 48%;
    margin: 0 1% 1.5em;
  }

  /* 募集要項 */

  #about h1 {
    font-size: 3rem;
  }

}

@media screen and (max-width: 640px) {

  #logo {
    margin: 10px;
  }

  #newsArea p,
  #newsArea h2 {
    font-size: 1.8rem;
  }

  #header h1 {
    font-size: 2rem;
  }

  .headImg {
    width: 100%;
    left: 0;
  }

  article h2 {
    font-size: 2.4rem;
  }

  article h3 {
    font-size: 2.2rem;
  }

  #findArea [role="tab"] {
    font-size: 2rem;
  }

  .boxList .imgBox a {
    flex-direction: row;
    justify-content: flex-start;
    border-radius: 10px;
  }

  .imgBox .txtArea {
    width: 54%;
    padding: 10px 3% 10px 1%;
  }

  .boxList.spLine .imgArea {
    width: 40%;
    padding: 15px 3%;
    background: none;
    border-radius: 0;
    box-sizing: border-box;
  }

  .boxList .imgArea.container figure {
    display: block;
  }

  .boxList .imgArea.container img {
    border-radius: 5px;
  }

  .boxList .imgBox .city {
    width: 100%;
    font-size: 1.6rem;
  }

  .imgTxtList li a {
    padding: 10px 0;
  }

  .imgTxtList li a h3 {
    color: #0e4c76;
    padding: 10px 0;
  }

  .coverTxt .btnArea,
  .coverTxt p {
    display: none;
  }

  .headerLine {
    height: 15vw;
    border-bottom: #000 3px solid;
    background-size: 100% auto;
  }

  #home h1 {
    margin-bottom: 0;
  }


  #home #aboutArea h2 {
    font-size: 2.4rem;
  }

  #home #aboutArea {
    padding: 25px 0 80px;
    border-bottom: #000 3px solid;
    background-size: 100% auto;
  }

  #home #aboutArea .flex {
    flex-direction: column;
  }

  #home #aboutArea .txtArea {
    width: 100%;
    margin: 0;
    padding: 0 3% 0;
    font-size: 1.6rem;
    box-sizing: border-box;
  }

  #home #aboutArea .txtArea p {
    font-size: 1.8rem;
  }

  #home #aboutArea .imgArea {
    width: 100%;
    margin: 0;
    padding: 0 3% 1em;
    box-sizing: border-box;
  }

  #resultArea .imgBox {
    width: 100%;
  }

  .btnList a {
    padding: 0.5em;
    font-size: 1.6rem;
  }

  /* 募集要項 */

  #about h1 {
    font-size: 2.4rem;
  }

  #about article {
    margin-top: 3rem;
  }

  #about article section {
    margin-bottom: 4rem;
  }

  #about article h2 {
    font-size: 2rem;
  }

  #about #criteria ol,
  #about #committee h3,
  #about #schedule dt,
  #about #schedule dd {
    font-size: 1.6rem;
  }

  #about #criteria ol {
    margin-left: 1.5em;
  }
}

@media screen and (max-width: 480px) {
  .hideSP {
    display: none;
  }

  #newsArea p,
  #newsArea h2 {
    font-size: 1.6rem;
  }

  #title {
    margin-bottom: 12px;
  }

  [role="tablist"] {
    padding: 0 2%;
  }

  #findArea .showTB > button {
    border-radius: 15px 15px 0 0;
    font-size: 1.6rem;
  }

  #gNav li {
    font-size: 1.4rem;
  }

  .imgBox .txtArea h4 {
    font-size: 1.8rem;
  }

  .imgBox .txtArea p {
    font-size: 1.4rem;
  }

  #mapInfo {
    top: 6em;
    left: 10%;
    width: 50%;
    font-size: 1.4rem;
  }

  /* 募集要項 */

  #about #main .txtArea p {
    font-size: 1.6rem;
  }

  #about #committee ul {
    max-width: 320px;
  }

  #about #committee ul li {
    width: 100%;
    margin-bottom: 2em;
    text-align: left;
  }

  #about #schedule dt {
    width: 35%;
  }

  #about #schedule dd {
    width: 60%;
  }

  #about #awards p {
    text-align: left;
  }
}
@media screen and (max-width: 375px) {

  .boxList .imgArea {
    margin: 5px 0 5px 5px;
  }

  .coverTxt h3 {
    font-size: 1.6rem;
  }

  .imgBox .txtArea h3 {
    font-size: 1.6rem;
  }

  #hSearch button {
    height: 44px;
    width: 44px;
    right: 0;
    top: -5px;
  }

}
