@charset "utf-8";
@import url(https://fonts.googleapis.com/earlyaccess/notosansjapanese.css);

html {
  font-size: 62.5%;
}

body {
  font-family: 'Noto Sans Japanese',メイリオ,Meiryo,'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック','MS PGothic',sans-serif;
  font-size: 1.8rem;
  font-weight: 200;
  color: #444;
  background: #d9b376;
  background-image: url(../img/bg.png);
  background-repeat: repeat;
  background-position: left top;
  background-attachment: fixed;

  /* background-image loop */
  animation: loopX 9s linear infinite;
}

/* background-image loop */
@keyframes loopX {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -220px 0;
  }
}

@media (max-width:767px){
  body {
    font-size: 1.3rem;
  }
}

@media (max-width:575px){
  body {
    background-image: url(../img/bg2.png);
    font-size: 1.3rem;
  }
  @keyframes loopX {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: -150px 0;
    }
  }
}

img{
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-touch-callout: none;
  -moz-user-select: none;
  touch-callout: none;
  user-select: none;
}

a:link,
a:visited {
  text-decoration: underline;
  color: #e50112;
  font-weight: 300;
}

@media (min-width:576px){
  a:hover {
    text-decoration: none;
    color: #ea3441;
  }
  a:hover img {
    opacity: 0.8;
  }
}
@media (max-width:575px){
  a:active {
    text-decoration: none;
    color: #ea3441;
  }
}


/* ----- header ----- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

h1 {
  margin: 0;
  display: inline-block;
}

h1 a {
  display: block;
  padding: 15px 0;
}
@media (max-width:928px){
  h1 a {
    padding: 10px;
  }
}

.logo {
  width: 160px;
  height: auto;
}
@media (max-width:575px){
  .logo {
    width: 140px;
    height: auto;
  }
}



/* ----- main ----- */
main {
  margin-top: 90px;
}

@media (max-width:575px){
  main {
    margin-top: 45px;
  }
}

.headline p {
  text-align: left;
  font-size: 1.8rem;
  font-weight: 600;
}

@media (max-width:575px){
  .headline p {
    font-size: 1.4rem;
    font-weight: 500;
  }
}

article {
  max-width: 928px;
  margin: 0 auto;
  background: #fff;
}

main article:not(.headline){
  margin-top: 50px;
}

@media (max-width:575px){
  main article:not(.headline){
    margin-top: 30px;
  }
}


@media (max-width:927px){
  main article:not(.headline){
    margin-left: 20px;
    margin-right: 20px;
  }
}


h3 {
  padding: 20px;
  text-align: center;
  background: #000;
}

.gp1 {
  border-bottom: 5px solid #fde100;
}

.gp2 {
  border-bottom: 5px solid #ccc;
}

.gp3 {
  border-bottom: 5px solid #e50039;
}

@media (max-width:575px){
  h3 {
    padding: 10px;
  }
  h3 img {
    width: 60%;
  }
}

.inner {
  padding: 30px;
}

@media (max-width:575px){
  .inner {
    padding: 15px;
  }
}

hr.dashed {
  border-top: 1px dashed #ccc;
}

.strong {
  font-size: 120%;
  font-weight: 600;
  color: #e50039;
}

@media (min-width:576px) {
  .w-sm-75 {
    width: 75%;
  }
}

/* ----- footer ----- */
footer {
  width: 100%;
  background: #e50112;
}

footer article {
  margin-bottom: 0;
}

footer .inner {
  text-align: center;
  background: #e50112;
  color: #fff;
}

footer p,
address{
  font-size: 1.2rem;
}

@media (max-width:767px){
  footer p {
    text-align: left;
  }
}


/* Page scroll */
#page-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  margin: 0;
  line-height: 0;
}

@media (max-width:575px){
  #page-top {
    right: 10px;
  }
}

#page-top a {
  display: block;
  width: 50px;
  height: 50px;
  background: #b0000e;
  border-radius: 50%;
}

#page-top a:hover {
  background: #e50112;
  transition: 0.3s;
}

#page-top::after {
  content: '';
  width: 10px;
  height: 10px;
  border: 0px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  right: 50%;
  margin-top: -4px;
  margin-right: -4px;
}