/**
 * COMMON
 */

html {
  font-size: 62.5%;
}

body {
  background-color: #f5f5f6;
  color: #2d303b;
  font-family: 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'Yu Gothic', YuGothic, Verdana, Helvetica, 'ＭＳ Ｐゴシック', sans-serif;
  font-size: 1.6rem;
  margin: 0;
}

.box-shadow {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 5px 5px 20px rgba(34, 34, 34, 0.1);
}

a {
  color: #fa5456;
}

p:last-child {
  margin-bottom: 0;
}

@media (max-width: 599px) {
  img {
    height: auto;
    max-width: 100%;
  }
}

@media (min-width: 600px) {
  html {
    min-width: 960px;
  }

  .inner {
    box-sizing: border-box;
    margin: 0 auto;
    width: 960px;
  }

  .outer {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/**
 * HEADER
 */

.layout_header {
  background-color: #fff;
}

.header-inner {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 48px;
  justify-content: space-between;
  padding: 0 20px;
}

.header-sakura-logo {
  line-height: 1;
  margin: 0 0 10px;
  width: 150px;
}

.header-sakura-logo img {
  height: auto;
  vertical-align: middle;
  width: 100%;
}

.header-social-buttons {
  align-items: center;
  display: flex;
}

.header-social-buttons .social-button {
  height: 28px;
  margin-left: 18px;
  width: 28px;
}

.social-button img {
  width: 100%;
}

.social-button a:hover {
  opacity: 0.7;
}

@media (min-width: 600px) {
  .header-inner {
    height: 72px;
    padding: 0;
  }

  .header-sakura-logo {
    width: 210px;
  }

  .header-social-buttons .social-button {
    height: 40px;
    margin-left: 24px;
    width: 40px;
  }
}

/**
 * FOOTER
 */

.layout_footer {
  background-color: #f598aa;
  padding: 0 0 64px;
  text-align: center;
}

.footer-copyright {
  color: #fff;
  font-size: 1.4rem;
}

@media (min-width: 600px) {
  .layout_footer {
    text-align: right;
  }
}

/*
 * MAIN
 */

.layout_main {
  line-height: 2;
}

/*
 * HERO
 */
.hero-wrap {
  background: url(../images/hero_bg.png) no-repeat top center #ffdea4;
  background-size: 1920px 1134px;
  background-size: cover;
  padding: 0 0 226px;
}

.hero {
  background: url(../images/img_traiangle_colorful-2x.jpg) no-repeat top center;
  background-size: 1600px 775px;
  padding: 0 20px;
}

.hero-img {
  margin: 0 15px 84px;
  padding-top: 67px;
}

.hero-scroll-btn {
  color: #fa5456;
  font-family: 'Noto Sans', sans-serif;
  line-height: 1;
  margin: 0 auto;
  text-align: center;
  width: 5em;
}

.hero-scroll-btn a {
  outline: none;
  text-decoration: none;
}

.hero-scroll-btn .fa {
  font-size: 5rem;
  transition: transform 200ms;
}

.hero-scroll-btn a:hover .fa {
  -webkit-transform: translateY(0.5rem);
  transform: translateY(0.5rem);
}

@media (min-width: 600px) {
  .hero-wrap {
    padding: 0 0 488px;
  }

  .hero {
    background-size: 1920px 930px;
  }

  .hero-img {
    margin-bottom: 60px;
    text-align: center;
  }

  .hero-lead {
    margin: 0 auto 16px;
    text-align: center;
    width: 550px;
  }
}

@media (min-width: 1201px) {
  .hero-wrap {
    background-size: cover;
  }
}

/*
 * CONTENTS
 */

.headline {
  color: #fff;
  font-family: 'Noto Sans', sans-serif;
  font-size: 2.4rem;
  margin: 0;
  text-align: center;
}

.layout-section > .outer {
  background: url(../images/img_triangle_white.png) no-repeat bottom left;
  padding: 0 0 96px;
}

@media (min-width: 600px) {
  .headline {
    font-size: 3.2rem;
  }
}

/* 説明 */

.section-explanation {
  margin: -100px 20px 0;
}

.explanation-inner {
  padding: 80px 20px;
  font-size: 1.8rem;
}

.explanation-logo {
  margin: 0 20px 80px;
}

.section-explanation .small {
  font-size: 1.4rem;
  margin-top: 1.6rem;
}

@media (min-width: 600px) {
  .section-explanation {
    margin: -342px 0 0;
  }

  .explanation-inner {
    padding: 80px 120px;
  }

  .explanation-logo {
    margin: 0 auto 64px;
    text-align: center;
  }

  .section-explanation .small {
    text-align: right;
  }
}

/* COMMENTS */

.section-comments {
  position: relative;
  padding-top: 36px;
}

.comment-bg-triangle-pink {
  background: url(../images/img_triangle_pink.png) no-repeat left top;
}

.section-comments::before {
  background-color: #f77186;
  border-radius: 0 4px 4px 0;
  content: "";
  display: block;
  height: 360px;
  left: 0;
  position: absolute;
  top: 0;
  width: calc(100% - 40px);
  z-index: -1;
}

.comment-bg-triangle-green {
  background: url(../images/img_triangle_green_right.png) no-repeat bottom right;
}

.section-comments::after {
  background-color: #69d1d6;
  border-bottom-left-radius: 4px;
  bottom: 96px;
  content: "";
  display: block;
  height: 80px;
  position: absolute;
  right: 0;
  width: calc(100% - 80px);
  z-index: -1;
}

.comments-headline {
  margin: 0 0 60px;
}

.comment-wrap {
  padding: 0 0 60px;
  position: relative;
}

.comment-wrap:first-of-type {
  background: url(../images/img_dot_gray.png) no-repeat right bottom;
}

.comment-wrap:last-of-type {
  padding-bottom: 80px;
}

.comment-wrap .from {
  box-sizing: border-box;
  font-size: 1.2rem;
  font-weight: bold;
  height: 128px;
  left: 20px;
  margin: 0;
  padding: 16px;
  position: absolute;
  top: -20px;
  width: 200px;
}

.comment-wrap .from::after {
  background-color: #f77186;
  content: "";
  display: block;
  height: 4px;
  margin-top: 0.5rem;
  width: 3em;
}

.comment-wrap .from .title {
  font-weight: normal;
}

.comment-wrap .from .name {
  font-size: 1.4rem;
}

.comment-wrap .comment {
  margin: 0 0 0 40px;
  padding: 148px 20px 40px;
}

@media (max-width: 599px) {
  .comment-wrap .comment {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

@media (min-width: 600px) {
  .section-comments::before {
    width: calc(50% + 280px);
  }

  .section-comments::after {
    height: 240px;
    width: calc(50% + 280px);
  }

  .comment-wrap {
    padding-bottom: 80px;
  }

  .comment-wrap:first-of-type {
    padding-right: 121px;
  }

  .comment-wrap .from {
    height: 200px;
    left: 0;
    padding: 32px 24px;
    top: -40px;
  }

  .comment-wrap .comment {
    padding: 56px 40px 56px 200px;
  }

  .comment-wrap:last-of-type {
    padding-left: 121px;
  }

  .comment-wrap:last-of-type .from {
    left: 120px;
  }
}

/* RESULT */

.result-inner {
  background-color: #ffab41;
}

.result-inner .outer {
  background: url(../images/img_triangle_yellow.png) no-repeat left top;
  position: relative;
}

.result-inner .outer.down {
  background-position: bottom left;
  padding: 70px 0 80px;
}

.result-item {
  position: relative;
}

.result-item::before {
  background: url(../images/img_dot_yellow.png) no-repeat top left;
  content: "";
  display: block;
  height: 200px;
  left: -40px;
  position: absolute;
  top: -128px;
  width: 200px;
}

.result-headline {
  align-items: center;
  display: flex;
  font-size: 1.4rem;
  margin: 0;
}

.result-item > .inner {
  position: relative;
}

.result-item:first-of-type .result-headline {
  font-size: 1.6rem;
}

.result-headline .icon-award {
  margin-right: 0.8rem;
  width: 3rem;
}

.result-info {
  box-sizing: border-box;
  font-size: 1.2rem;
  height: 128px;
  left: 20px;
  margin: 0;
  padding: 16px;
  position: absolute;
  top: -88px;
  width: 200px;
  z-index: 2;
}

.voting-result {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.6;
  margin: 0;
}

.voting-result strong {
  font-size: 1.6rem;
}

.result-name {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 4px 0 0;
}

.result-logo {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 207px;
  margin: 121px 0 0 40px;
  padding: 0 20px;
  position: relative;
  width: calc(100% - 40px);
  z-index: 1;
}

@media (max-width: 599px) {
  .result-item:last-of-type::before {
    display: none;
  }

  .result-logo {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

@media (min-width: 600px) and (max-width: 1039px) {
  .result-inner {
    overflow: hidden;
  }
}

@media (min-width: 600px) {
  .result-inner {
    position: relative;
  }

  .result-inner .outer.down {
    padding: 96px 0;
  }

  .result-info {
    padding: 32px;
    top: -40px;
  }

  .result-logo img {
    height: auto;
    width: 100%;
  }

  .result-item:last-of-type .result-logo {
    margin: 0 0 0 auto;
  }

  .result-item:first-of-type .result-info {
    height: 264px;
    left: 0;
    width: 264px;
  }

  .result-item:first-of-type .result-headline {
    font-size: 2.4rem;
  }

  .result-item:first-of-type .icon-award {
    width: 4.4rem;
  }

  .result-item:first-of-type .result-logo {
    height: 266px;
    margin-top: 80px;
    padding: 84px 38px 84px 262px;
    width: 920px;
  }

  .result-item:last-of-type .result-info {
    left: 64px;
    height: 200px;
  }

  .result-item:last-of-type .result-headline {
    font-size: 1.8rem;
  }

  .result-item:last-of-type .icon-award {
    width: 3rem;
  }

  .result-item:last-of-type .result-logo {
    height: 226px;
    margin-top: 76px;
    padding: 73px 36px 72px 200px;
    width: 856px;
  }

  .voting-result {
    font-size: 1.4rem;
    margin-top: 8px;
  }

  .voting-result strong {
    font-size: 1.8rem;
  }

  .result-name {
    font-size: 1.4rem;
    margin-top: 8px;
  }

  .result-name .company {
    font-size: 1rem;
  }

  .result-item::before {
    left: 50%;
    margin-left: -525px;
    top: -80px;
  }

  .result-item:last-of-type::before {
    margin-left: 320px;
    top: -50px;
  }

  .result-item.outer {
    background: none;
  }
}

@media (min-width: 1040px) {
  .result-outer {
    background-color: #ffd48c;
    padding: 40px;
  }

  .result-inner {
    border-radius: 4px;
    position: relative;
  }
}

/* TOPICS */

.section-topics {
  padding-top: 37px;
  position: relative;
}

.section-topics > .outer {
  background: url(../images/img_triangle_green_left.png) no-repeat -75px -100px;
}

.section-topics::before {
  background-color: #69d1d6;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  content: "";
  display: block;
  height: 355px;
  position: absolute;
  top: 0;
  width: calc(100% - 20px);
  z-index: -1;
}

.topic-lead {
  color: #fff;
  margin: 51px 20px 40px;
  text-align: center;
}

.topics-box {
  align-items: flex-start;
  box-sizing: border-box;
  display: flex;
  flex-direction: row-reverse;
  margin: 26px auto 0;
  min-height: 111px;
  padding: 16px;
  width: calc(100% - 80px);
}

.topics-link {
  font-size: 1.4rem;
  font-weight: normal;
  text-decoration: none;
  transition: transform 300ms;
  color: #2d303b;
}

.topics-link:hover {
  text-decoration: underline;
  transform: translateY(-12px);
}

.topics-headline {
  flex-grow: 1;
  font-size: 1.4rem;
  font-weight: normal;
  margin: 0;
  line-height: 1.75;
}

.topics-image {
  margin-right: 16px;
  transition: opacity 300ms;
  width: 36%;
}

.topics-link:hover .topics-image {
  opacity: 0.7;
}

.coming-soon {
  align-items: center;
}

.coming-soon .topics-headline {
  font-weight: bold;
}

@media (min-width: 600px) {
  .section-topics::before {
    background-color: #69d1d6;
    height: 240px;
    width: calc(50% + 397px);
  }

  .topic-lead {
    margin: 51px auto 40px;
    width: 758px;
  }

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

  .topics-box {
    margin: 0;
    padding: 32px;
    width: 464px;
  }

  .topics-headline {
    font-size: 1.6rem;
  }

  .topics-image {
    width: 181px;
  }
}

/* RS */

.section-rs {
  background: #f598aa;
  padding: 64px 20px;
}

.section-rs .box-shadow {
  background-color: #f5f5f6;
  padding: 80px 20px;
}

.section-rs .headline {
  color: #5b5d65;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.7;
  margin: 0 0 40px;
}

.rs-logo {
  background-color: #fff;
  border-radius: 4px;
  margin: 40px 0;
  padding: 80px 50px;
}

.btn-goto-top {
  background-color: #f77186;
  border-radius: 4px;
  color: #fff;
  display: block;
  font-size: 1.8rem;
  line-height: 6.4rem;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
  max-width: 24.4rem;
  width: 100%;
}

.btn-goto-top:hover {
  opacity: 0.7;
}

@media (min-width: 600px) {
  .section-rs {
    padding: 64px 0;
  }

  .section-rs .box-shadow {
    box-sizing: border-box;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 80px 80px 80px calc(50% - 480px);
    position: relative;
    width: calc(50% + 480px);
  }

  .rs-inner {
    font-size: 1.8rem;
    margin-left: 80px;
    width: 365px;
  }

  .section-rs .headline {
    font-size: 3.2rem;
    margin-bottom: 35px;
  }

  .btn-goto-top {
    margin: 45px auto 0 0;
  }

  .rs-logo {
    bottom: 0;
    box-sizing: border-box;
    height: 320px;
    margin: auto;
    padding: 88px 60px;
    position: absolute;
    right: 80px;
    top: 0;
    width: 320px;
  }

  .rs-logo img {
    height: auto;
    width: 100%;
  }
}