@charset "UTF-8";

main p {
  text-align: justify;
}

section {
  margin: 64px 0;
}

section section {
  margin: 32px 0;
}

h2 {
  margin: 0 0 16px;
  text-align: center;
}

h2:after {
  display: block;
  margin-top: .4em;
  color: #E60111;
  font-family: Pacifico, cursive;
  font-weight: 400;
  font-size: 20px;
  content: attr(data-en);
}

h3 {
  margin: 0 0 16px;
  font-family: "FOT-筑紫ゴシック Pro E", sans-serif;
  font-size: 5.31401vw;
  text-align: center;
}

h4 {
  margin: 0 0 1em;
  color: #E60111;
  font-family: "FOT-筑紫ゴシック Pro U", sans-serif;
  font-size: 1em;
}

.btn2 {
  display: block;
  line-height: 1;
  max-width: 300px;
  margin: 0 auto;
  padding: 20px;
  border: 0;
  border-radius: 28px;
  background: #E60111;
  color: #fff;
  font-family: "FOT-筑紫ゴシック Pro U", sans-serif;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
}

.btn2:before {
  content: none;
}

.btn2--guideline {
  box-shadow: 0 0 0 3px currentColor inset;
  background: #fff;
  color: #111;
}

.btn2--instagram {
  background: linear-gradient(to right, #E60111, #00712F);
}

.site-header {
  overflow: hidden;
}

.site-header-content {
  position: relative;
}

.slide {
  position: relative;
  height: 66.6667vw;
  max-height: 853px;
}

.slide__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: 1s;
}

.no-js .slide__item {
  opacity: 1;
}

.no-js .slide__item:first-child {
  z-index: 1;
}

.slide__item[data-active="true"] {
  opacity: 1;
  z-index: 1;
}

.slide__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: "object-fit: cover";
}

.site-title {
  position: absolute;
  right: 0;
  bottom: -132px;
  left: 0;
  z-index: 10;
  width: 210px;
  height: 210px;
  margin: auto;
  padding: 19px 0 0;
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

.site-title img {
  width: 98px;
}

.page-header {
  margin-top: 24px;
  text-align: center;
}

.sub-title {
  max-width: 750px;
  line-height: 1;
  margin: 0 auto 16px;
  padding: 0 7.4vw;
}

.page-title {
  font-family: "FOT-筑紫ゴシック Pro U", sans-serif;
  font-size: 10.14493vw;
}

.page-title:before {
  display: block;
  height: 24px;
  margin-bottom: 16px;
  background: url(../images/photo-contest/deco_h1.svgz) no-repeat 50% 0;
  content: "";
}

.page-title:after {
  display: block;
  margin-top: .2em;
  color: #E60111;
  font-family: Pacifico, cursive;
  font-weight: 400;
  font-size: 20px;
  content: attr(data-en);
}

.head-image {
  max-width: 640px;
  margin: 0 auto;
}

.site-footer {
  background: #1D671A;
  color: #fff;
}

.tagline {
  line-height: 1.6;
  margin: 0 0 1.1111em;
  font-family: "FOT-筑紫ゴシック Pro U", sans-serif;
  font-size: 8.69565vw;
  text-align: center;
}

.text {
  font-size: .875em;
}

.contest-period {
  line-height: 1.6;
  margin-bottom: 32px;
  font-family: "FOT-筑紫ゴシック Pro U", sans-serif;
  font-weight: 700;
  font-size: 4.83092vw;
  text-align: center;
}

.contest-period > span {
  display: inline-block;
}

.contest-class-link {
  display: flex;
  justify-content: space-between;
  text-align: center;
  max-width: 360px;
  margin: 0 auto;
}

.contest-class-link__item {
  flex: 0 0 47.626%;
  max-width: 168px;
}

.contest-class-link__link {
  display: block;
  line-height: 1.375;
  padding: 1.125em 0;
  border: 6px solid;
  color: #E60111;
  font-family: "FOT-筑紫ゴシック Pro U", sans-serif;
  font-weight: 700;
  font-size: 3.86473vw;
  text-decoration: none;
}

.contest-class-link__link:after {
  display: block;
  width: 0;
  margin: .25em auto 0;
  border: solid transparent;
  border-width: .375em .375em 0;
  border-top-color: currentColor;
  content: "";
}

.contest-class-link__link[href="#instagram-class"] {
  color: #00712F;
}

.contest-class-link__link:before,
.award-part:before {
  display: block;
  width: 10.145vw;
  max-width: 42px;
  height: 10.145vw;
  max-height: 42px;
  margin: 0 auto .5em;
  background: url(../images/photo-contest/icon_camera.svgz) no-repeat;
  background-size: 100%;
  content: "";
}

.contest-class-link__link[href="#instagram-class"]:before,
.award-part--instagram:before {
  background-image: url(../images/photo-contest/icon_mobile.svgz);
}

.award {
  padding: 24px 0;
  background: #EBE7E1;
}

.award-part {
  margin: 0 0 24px;
}

.award-part:last-child {
  margin-bottom: 0;
}

.award-part__heading {
  color: #E60111;
  font-family: "FOT-筑紫ゴシック Pro U", sans-serif;
  font-weight: 700;
  font-size: 4.34783vw;
  text-align: center;
}

.award-part--instagram .award-part__heading {
  color: #00712F;
}

.award-list {
  font-family: "FOT-筑紫ゴシック Pro E", sans-serif;
  font-weight: 700;
  font-size: 4.34783vw;
}

.award-list__item {
  display: flex;
  justify-content: center;
}

.award-list__item > dt:after {
  content: "：";
}

.contest-entry-part,
.contest-guideline {
  padding: 4.9215vw;
  border: 6px solid;
}

.contest-entry-part {
  border-color: #E60111;
}

.contest-entry-part--instagram {
  border-color: #00712F;
}

.contest-entry-part__heading {
  color: #E60111;
  font-family: "FOT-筑紫ゴシック Pro U", sans-serif;
  font-size: 4.83092vw;
}

.contest-entry-part__heading > small {
  display: block;
  font-size: .8em;
}

.contest-entry-part--instagram .contest-entry-part__heading {
  color: #00712F;
}

.contest-entry-step__heading {
  color: inherit;
  font-size: 5.31401vw;
  text-align: center;
}

.contest-entry-step__image {
  max-width: 300px;
  margin: 0 auto;
}

.instagram-tag {
  margin-bottom: 1.09091em;
  font-family: "FOT-筑紫ゴシック Pro E", sans-serif;
  font-weight: 700;
  font-size: 5.31401vw;
  text-align: center;
}

.instagram-photos {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

#sb_instagram #sbi_images {
  float: none;
  max-width: 1280px;
  overflow: hidden;
  margin: 0 auto;
}

.sbi_photo {
  transition: none;
}

.instagram-link {
  margin-top: 40px;
}

.contest-guideline-part ul {
  list-style: disc;
  margin: 0;
  padding-left: 1em;
}

.contest-guideline-part > p {
  margin: 0;
}

.contest-guideline-part__heading--print {
  color: #E60111;
}

.contest-guideline-part__heading--instagram {
  color: #00712F;
}

.contest-guideline-address {
  line-height: 1.5;
}

@media print, screen and (min-width: 414px) {
  h3 {
    font-size: 22px;
  }

  .page-title {
    font-size: 42px;
  }

  .tagline {
    font-size: 36px;
  }

  .contest-period {
    font-size: 20px;
  }

  .contest-class-link__link {
    font-size: 16px;
  }

  .award-part__heading {
    font-size: 18px;
  }

  .award-list {
    font-size: 18px;
  }

  .contest-entry-part__heading {
    font-size: 20px;
  }

  .contest-entry-step__heading {
    font-size: 22px;
  }

  .instagram-tag {
    font-size: 22px;
  }
}

@media print, screen and (min-width: 487px) {
  .contest-entry-part,
  .contest-guideline {
    padding: 24px;
  }
}

@media print, screen and (min-width: 750px) {
  .sub-title {
    padding-right: 55px;
    padding-left: 55px;
  }

  .sbi_item {
    width: 16.666% !important;
  }

  .sbi_photo {
    height: 16.666vw !important;
    max-height: 213px;
  }
}