@charset "UTF-8";

/* vari */

:root {
  --mincho: "游明朝", YuMincho, "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  --key-color: #FF8C8B;
  --base-color: #7b5632;
}

/* common */

.pc-only{display: block;}
.sp-only{display: none;}

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

.cm_youtube_box{
  display: flex;
  justify-content: center;
  gap: 40px;

  @media screen and (max-width: 640px) {
    flex-direction: column;
    gap: 20px;
  }
}

p{
  color: var(--base-color);
}

main.renewWrap{padding: 0;}

.youtube_wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube_wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.senryu_title {
  color: var(--base-color);
  font-size: 34px;
  line-height: 1.2;
  font-weight: 600;
  margin-bottom: 28px;
  font-family: var(--mincho);
  text-align: center;
  position: relative;
  z-index: 0;

  & b{
    font-family: sans-serif;
    color: var(--key-color);
  }
}

/* section */

.fvimg{

  & img{
    width: 100%;
    display: block;
  }

  @media screen and (max-width: 640px) {
    padding-top: 50px;
  }
}

.total-num{
  background: #F9F8F8;
  background-image: url('../image/back_sakura.png');
  background-size: 100px;
  padding: 40px 0;

  & > div{
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    font-size: 38px;
    font-family: var(--mincho);
    color: var(--base-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;

    & > span{
      padding: 10px;
      background: #fff;
      border-radius: 10px;
      line-height: 1;
    }

    & > b{
      font-size: 78px;
      font-weight: 500;
      letter-spacing: 4px;
      color: var(--key-color);
    }

    & > i{
      position: relative;
      top: 10px;
      font-style: normal;
    }

    @media screen and (max-width: 640px) {
      font-size: 28px;

      & > b{
        font-size: 64px;
      }

      & > i{
        font-size: 36px;
        top: 7px;
        left: -6px;
      }

    }

  }
}

.sec_wrapper {
  & .sec_box{
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
  }

  &.senryu_cm{
    background: #fff;
    padding: 80px 0;

    @media screen and (max-width: 640px) {
      padding: 80px 20px 60px;
    }

    & .senryu_title{
      margin: 0 auto 30px;

      & .deco_line{
        left: -25px;

        &.dl_right{
          right: -25px;
        }
      }

      &::after{
        width: 220px;
        position: absolute;
        content: url('../image/cm_title_uline.svg');
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
      }

      & img{
        width: 100%;
      }
    }

    & .youtube_wrap{
      max-width: 560px;
      margin: 0 auto;
      box-shadow: 0 0 0 10px #fff;
      border-radius: 20px;
      overflow: hidden;

      @media screen and (max-width: 640px) {
        box-shadow: none;
      }

      & .youtube_thumb {
        width: 100%;
        height: 100%;
        cursor: pointer;

        & img, iframe {
          width: 100%;
          height: 100%;
          display: block;
          border: 0;
          object-fit: cover;
        }
      }
    }
  }
}


/* 賞 */

.senryu-result {
  background: #FFFBEA;
  background-image: url('../image/back_sakura.png');
  background-size: 150px;
  padding: 100px 20px 70px;

  @media screen and (max-width: 640px) {
    padding: 100px 20px 30px;
  }

  &.senryu-result03{
    background: #F9FFEB;
    background-image: url('../image/back_sakura.png');
    background-size: 150px;
    padding: 100px 20px 50px;
  }

  & .senryu-result_inner {
    width: min(100%, 800px);
    margin: 0 auto;
  }

  & .result_title {
    text-align: center;
    position: relative;

    &::before,
    &::after{
      position: absolute;
      content: "";
      display: block;
      width: 38%;
      height: 1px;
      background: #C9A84C;
      top: 50%;
      transform: translateY(-50%);

      @media screen and (max-width: 640px) {
        width: 28%;
        height: 6px;
        background:
        radial-gradient(
          circle,
          #c3a85a 0 1px,
          transparent 2px
        )
        left center / 10px 3px repeat-x;
      }

    }

    &::before{left: 0;}
    &::after{right: 0;}

    @media screen and (max-width: 640px) {
      margin-bottom: 20px;
    }

    & > h2 {
      font-family: var(--mincho);
      color: var(--base-color);
      font-size: 34px;
      font-weight: 600;
      line-height: 1.3;
      margin-bottom: 60px;
      position: relative;

      &::before{
        display: block;
        width: 80px;
        position: absolute;
        content: url('../image/triple_star.svg');
        top: -60px;
        left: 50%;
        transform: translateX(-50%);
      }

      @media screen and (max-width: 640px) {
        font-size: 34px;
        margin-bottom: 20px;
      }
    }
  }

  & .sec_result_01{
    margin-bottom: 120px;

    & .result_title h2{
      margin-bottom: 30px;

      @media screen and (max-width: 640px) {
        margin-bottom: 25px;
      }
    }

    & .result01_wrapper{
      max-width: 640px;
      margin: 0 auto;

      @media screen and (max-width: 640px) {
        width: 100%;
      }
    }
  }

  & .sec_result_02{
    margin-bottom: 30px;

    & .result_title{
      margin-bottom: 40px;

      @media screen and (max-width: 640px) {
        margin-bottom: 25px;
      }


      &::before,
      &::after{
        background: var(--key-color);
        width: 40%;

        @media screen and (max-width: 640px) {
          width: 32%;
          height: 6px;
          background:
          radial-gradient(
            circle,
            var(--key-color) 0 1px,
            transparent 2px
          )
          left center / 10px 3px repeat-x;
        }

      }
    }

    & .result_title > h2::before{
      content: url('../image/triple_star_pink.svg');
    }

    & .result01_wrapper{
      max-width: 640px;
      margin: 0 auto;
    }
  }

  & .sec_result_03{

    & .result_title{
      margin-bottom: 40px;

      @media screen and (max-width: 640px) {
        margin-bottom: 25px;
      }

      &::before,
      &::after{
        background: #34A734;
        width: 40%;

        @media screen and (max-width: 640px) {
          width: 28%;
          height: 3px;
          background:
          radial-gradient(
            circle,
            #34A734 0 1px,
            transparent 2px
          )
          left center / 10px 3px repeat-x;
        }
      }
    }

    & .result_title > h2::before{
      content: url('../image/triple_star_green.svg');
    }
  }

  & .result_wrapper{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 740px;
    margin: 0 auto;

    @media screen and (max-width: 640px) {
      grid-template-columns: repeat(1, 1fr);
    }
  }
}


.senryu_item{
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;

  @media screen and (max-width: 640px) {
    flex-direction: column;
    gap: 10px;
  }

  & .senryu_box{
    flex: 1;
    background: #fff;
    padding: 20px;
    font-size: 28px;
    font-family: var(--mincho);
    color: var(--base-color);
    border: 1px solid var(--base-color);
    box-shadow: 8px 8px #E2CF98;
    border-radius: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    z-index: 2;
    box-sizing: border-box;

    &.vertical{
      writing-mode: vertical-rl;
      margin: 0 auto 20px;
      font-size: 40px;
      letter-spacing: 6px;
      line-height: 1.6;
      padding: 40px 20px 30px;
      text-align: left;
    }

    @media screen and (max-width: 640px) {
      writing-mode: vertical-rl;
      margin: 0 auto 20px;
      font-size: 40px;
      letter-spacing: 6px;
      line-height: 1.6;
      padding: 40px 20px 30px;
      flex: initial;
    }
  }

  & .senryu_info{
    flex: 2;
  }

  & .penname{
    font-size: 20px;
    font-weight: bold;
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;

    &::before{
      content: "";
      display: block;
      width: 14px;
      height: 14px;
      border-radius: 100px;
      border: 2px solid #C6A753;
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
    }

    & span{
      margin-left: 10px;
    }
  }

  & .senryu_num{
    position: absolute;
    top: -40px;
    left: 30px;
    background: var(--key-color);
    color: #fff;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 14px;
    border-radius: 100px 100px 0 0;
    z-index: 1;

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

.sec_result_02 .senryu_box{
  box-shadow: 8px 8px #FFD4D7;
  text-align: center;
}

.sec_result_02 .penname::before{
  border-color: var(--key-color);
}

.sec_result_03 .result_wrapper{
  grid-template-columns: repeat(3, 1fr);
  max-width: 860px;
  gap: 60px 30px;

  @media screen and (max-width: 640px) {
    grid-template-columns: repeat(1, 1fr);
    gap: 0;
  }
}


.sec_result_03 .senryu_item{
  flex-direction: column;
  gap: 10px;
}

.sec_result_03 .senryu_box{
  flex: initial;
  width: auto;
  box-shadow: 8px 8px #DEF6E2;
  text-align: center;
  /* height: 10em; */
  @media screen and (max-width: 640px) {
    width: auto;
  }
}

.sec_result_03 .senryu_num{
  background: #34A734;
}

.result_subtext{
  /* max-width: 22em; */
  font-size: 16px;
  margin: 0 auto;
}

/* フォーム */

.sec_contact_area{
  padding: 60px 0 70px;
  background: #fbfbfb;
  background-image: url('../image/back_sakura.png');
  background-size: 150px;


  @media screen and (max-width: 640px) {
    padding: 60px 20px;
  }
}

.senryu_form_intro {
  text-align: center;
  @media screen and (max-width: 640px) {
    margin-bottom: 0;
  }

  & .senryu_title{
    display: table;
    margin: 0 auto 50px;

    &::before{
      display: block;
      width: 30px;
      position: absolute;
      content: url('../image/icon_contact.svg');
      top: 50%;
      left: -40px;
      transform: translateY(-50%);

      @media screen and (max-width: 640px) {
        content:none;
      }
    }
  }

  & .lead {
    color: var(--base-color);
    font-size: 18px;
    line-height: 2;
    margin-bottom: 40px;
  }

  & .notice_box {
    max-width: calc(980px - 200px);
    text-align: left;
    border-radius: 28px;
    background: #fff;
    padding: 48px 100px 42px;
    margin: 0 auto;
    position: relative;
    font-size: 16px;
    line-height: 1.8;

    @media screen and (max-width: 640px) {
      padding: 20px;
    }
  }

  & .notice_title {
    color: var(--base-color);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 10px;
  }

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

    & .senryu_title {
      font-size: 36px;
      margin-bottom: 20px;
    }

    & .lead {
      font-size: 16px;
      line-height: 1.8;
      margin-bottom: 32px;
    }

    & .notice_title {
      font-size: 20px;
      margin-bottom: 14px;
    }

    & .notice_title::before {
      width: 32px;
      height: 32px;
      font-size: 22px;
    }
  }
}

.senryu_subtext{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--base-color);
  font-weight: bold;

  @media screen and (max-width: 640px) {
    font-size: 15px;
  }

  & .deco_line {
    flex: 1;
    max-width: 40px;
    height: 2px;
    background: var(--base-color);
    position: relative;
    left: -20px;


    &::after {
      content: "";
      width: 8px;
      height: 8px;
      border: 2px solid var(--base-color);
      border-radius: 50%;
      position: absolute;
      top: 50%;
      right: -10px;
      transform: translateY(-50%);
    }

    &.dl_right {
      left: auto;
      right: -20px;
      &::after{
        right: auto;
        left: -10px;
      }
    }
  }

  & > p {
    color: var(--base-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
  }

  & b {
    color: var(--key-color);
    font-size: 1.8em;
    line-height: 1;

    @media screen and (max-width: 640px) {
      font-size: 1.4em;
    }
  }
}

.content_btn{
  background: #f3efec;
  padding: 60px 0;
}


/*　slick slider用ページャーCSS*/
:is(.result_spslide02, .result_spslide03) .slick-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  position: static;
  width: 100%;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;

  @media screen and (max-width: 640px) {
    gap: 12px;
  }
}

:is(.result_spslide02, .result_spslide03) .slick-dots li {
  width: auto;
  height: auto;
  margin: 0;
}

:is(.result_spslide02, .result_spslide03) .slick-dots button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #FFE0E0;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

& .result_spslide03 .slick-dots button {
  background: #DEF7E2;
}

/* 現在表示中のページャー */
:is(.result_spslide02, .result_spslide03)
.slick-dots
.slick-active
button {
  background: #FF8B8B;
}

& .result_spslide03 .slick-dots .slick-active button {
  background: #34A736;
}

/* slick-theme.css標準の点を消す */
:is(.result_spslide02, .result_spslide03)
.slick-dots
button::before {
  display: none;
}

& .slick-slider {
  position: relative;

  & .slick-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    height: auto;
    padding: 0;
    border: 0;
    font-size: 0;
    cursor: pointer;
    z-index: 2;
    transform: none;

    &::before {
      content: "";
      position: absolute;
      top: 40%;
      width: clamp(28px, 5vw, 40px);
      aspect-ratio: 1;
      border-top: 2px solid #765638;
      border-right: 2px solid #765638;
      opacity: 1;

      @media screen and (max-width: 640px) {
        top: 30%;
      }
    }

    &.slick-prev {
      left: -15%;

      &::before {
        left: 55%;
        transform: translate(-50%, -50%) rotate(-135deg);
      }

      @media screen and (max-width: 640px) {
        left: 0;
      }
    }

    &.slick-next {
      right: -15%;

      &::before {
        right: 55%;
        transform: translate(50%, -50%) rotate(45deg);
      }

      @media screen and (max-width: 640px) {
        right: 0;
      }

    }
  }
}
