﻿body {
  margin: 0;
  background-color: #ffed65;
  background-position: top left;
  background-repeat: repeat;
  line-height: 1.3;
}

img {
  height: auto;
  border: 0;
  vertical-align: top;
  width: 100%;
  max-width: 100%;
}

a:hover {
  cursor: pointer;
}

#wrapper {
  position: relative;
}

#header {
  width: 100%;
  height: 50px;
  color: #ffffff;
  background: #000000;
}

#header a {
  color: #ffffff;
}

#header .contents {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

#header h1 {
  float: left;
}

#header h1 img {
  width: 229px;
  height: 50px;
}

/*--[/header]--*/

/*--[header menu]--*/
#top_menu {
  float: right;
  font-size: 12px;
  height: 50px;
  position: relative;
  overflow: hidden;
  display: block;
}

#top_menu ul li {
  display: inline-block;
  font-size: 12px;
  overflow: hidden;
}

#top_menu ul li a {
  text-decoration: none;
  display: block;
  padding: 4px 10px;
  border-bottom: 4px solid #000;
}

#top_menu ul {
  margin-top: 13px;
}
#top_menu ul li a:hover {
  border-bottom: 4px solid #69d323;
}

#header .contents:after {
  content: "";
  display: block;
  clear: both;
}

/*--[/header menu]--*/

.contents_wrapper {
  max-width: 1920px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ------------------------------
    メインビジュアル
------------------------------ */

.main_vis.pc {
  text-align: center;
  margin: 0 auto;
}

.main_vis.sp {
  display: none;
}

.sub_title {
  width: 100%;
  position: relative;
  color: #fff;
  text-align: center;
  padding: 20px;
  background-color: #000;
}
.sub_title h1 {
  font-size: clamp(1.6rem, 2.4vw, 2.6rem);
  font-weight: 500;
}

.sub_title h1 strong {
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  color: #ffed65;
  font-weight: 500;
}

.sub_title::after {
  width: 0;
  height: 0;
  position: absolute;
  top: 100%;
  left: 50%;
  margin: 0 0 0 -20px;
  border: 20px solid transparent;
  border-top-color: #000;
  content: "";
}

.sec_caption {
  background-color: #ffed65;
  box-sizing: border-box;
  background: linear-gradient(
      to right,
      transparent 0%,
      transparent calc(50% - 510px),
      #ffed65 calc(50% - 510px),
      #ffed65 calc(50% + 510px),
      transparent calc(50% + 510px),
      transparent 100%
    ),
    url("../img/yellow_bg.png") center center / cover no-repeat;
  background-repeat: repeat-y;
  background-size: contain;
  background-position: center bottom;
}

.sec_caption > .txt_block {
  text-align: center;
}

/* ------------------------------
    MV　終わった時のマスク　<h1>の中に<span>終了</span>を足す、finishedつける
------------------------------ */

.main_vis h1 span {
  display: none;
}

.main_vis.finished h1 {
  position: relative;
}

.main_vis.finished h1::after {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
}

.main_vis.finished h1 span {
  z-index: 1;
  display: inline-block;
  padding: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(214, 0, 0, 0.9);
  color: #fff;
  font-weight: 500;
  font-size: clamp(14px, 2.5vw, 30px);
  line-height: 1.3;
  white-space: nowrap;
  border-radius: 4px;
  max-width: 100%;
}

/* ------------------------------
    賞品紹介エリア
------------------------------ */

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

.goods_area {
  background-image: url(../img/goods_area_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  padding: 50px 0 30px;
}

.goods_list {
  margin: 0 auto;
  /* box-sizing:border-box; */
  max-width: 1000px;
}

.goods_list.main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.item {
  .img {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.goods_list.main > div .img {
  position: relative;
}


.item_block h2 img {
  padding-bottom: 40px;
}

/* ------------------------------
   webアンケート
------------------------------ */

.item_list {
  /* display: grid; */
  justify-content: center;
  /* grid-template-rows:  auto; */
  /* grid-template-columns: 1fr 1fr; */
  /* gap: 10px; */
  margin: 0 auto;
}

.item_block {
  container-type: inline-size;
}

.item_list_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 5%;
}


@media (max-width: 900px) {
  .item_list {
    grid-template-rows: auto;
    grid-template-columns: 1fr;
  }

  .item_block:not(:last-child) {
    border-right: none;
  }
}


/* ------------------------------
    さらに
------------------------------ */

.center-image {
  display: block;
  width: 160px;
  height: auto;
  margin: 50px auto 20px;
}

/* ------------------------------
    インタビューエリア
------------------------------ */

.interview_area {
  position: relative;
  z-index: 0;
}

.interview_area::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1920px;
  height: 100%;
  background-image: url("../img/interview_area_bg.png");
  background-repeat: repeat;
  background-size: auto;
  z-index: -1;
  /* pointer-events: none; */
}
.interview_area.item_block {
  display: block;
}

.interview_inner {
  max-width: 1000px;
  margin: 0 auto;
}

.goods_3.pc {
  text-align: center;
  margin: 0 auto;
}

.goods_3.sp {
  display: none;
}

/* ------------------------------
    ユーザーインタビューについて
------------------------------ */

.explanatin_area {
  position: relative;
  z-index: 0;
  padding: 40px 0 70px;
  display: block;
}

.explanatin_area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1920px;
  height: 100%;
  background-image: url("../img/interview_area_bg.png");
  background-repeat: repeat;
  background-size: auto;
  z-index: -1;
  /* pointer-events: none; */
}

.explanatin_block {
  margin: 0 auto;
  max-width: 800px;
  width: 80%;
  background-color: #ffffff;
  border-radius: 12px;
  border: 6px solid #ffed65;
  padding: 20px;
}

.item_list_grid_2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 4%;
}

.explanatin_txt h4 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  font-weight: 500;
}
.explanation_img {
  margin: auto;
}
.explanatin_txt p {
  font-size: 1.6rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: start;
}
.explanatin_txt p span {
  font-size: 1.4rem;
}

.explanatin_block p strong {
  display: block;
  font-size: 2.6rem;
  font-weight: 600;
  text-align: center;
  color: #007b29;
}

/* ------------------------------
    応募方法
------------------------------ */

.caption_box {
  position: relative;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 40px 20px 20px 30px;
  border-radius: 12px;
  background: #fff;
  margin-top: 50px;
}

.caption_box .caption {
  position: absolute;
  top: 0;
  left: 50%;
  border: solid 3px #000000;
  padding: 6px 50px;
  margin: 0;
  min-width: 282px;
  max-width: 500px;
  text-align: center;
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-50%) translateX(-50%);
  font-size: clamp(1.8rem, 2vw, 2.6rem);
  font-weight: bold;
  clip-path: polygon(
    20px 0%,
    /* 左上 */ 150px 0,
    /* 左の直線終点 */ calc(100% - 20px) 0%,
    /* 右上菱形始点 */ 100% 50%,
    /* 右のとんがり */ calc(100% - 20px) 100%,
    /* 右下菱形終点 */ 20px 100%,
    /* 左下 */ 0 50% /* 左のとんがり */
  );
}

.info_txt {
  /* padding: 20px; */
  max-width: 1000px;
  margin: 0 auto;
}

.info_txt p strong {
  font-size: 3rem;
  color: #f51502;
  font-weight: 500;
  line-height: 32px;
  padding: 5px;
}

.info_txt p strong.mini {
  font-size: 2rem;
}

.period {
  text-align: center;
}

.info_txt p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 24px;
}

.info_txt li {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 24px;
  display: flex; /* 横並びにするが回り込みなし */
  align-items: flex-start; /* 縦の揃え */
  flex-wrap: nowrap; /* 折り返さず並べたいなら */
}


.dot {
  flex-shrink: 0; /* ・が縮まないように */
}

.txt_c {
  flex: 1; /* 残りスペースを使う */
  word-break: break-word; /* 長い語を折り返す */
}
.cap {
    margin-left: 1em;
}

li.emphasis {
  font-size: 2rem;
  line-height: 28px;
}

.caution {
  max-height: 200px;
  overflow-y: scroll;
}

.sp-br {
  display: none;
}

/* ------------------------------
    応募ボタン
------------------------------ */

.btn_block {
  margin: 40px auto 0;
  text-align: center;
  max-width: 500px;
  padding: 20px 20px 80px;
  text-align: center;
}

.btn_block a {
  display: block;
  padding: 15px 10px;
  background-color: #f51502;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 2.6rem;
  border: 4px solid #ffffff;
  outline: 5px solid #000000;
  box-shadow: 0 6px 0 5px #000000;
}

.btn_block a:hover {
  background-color: #ff948b;
  color: #000000;
  box-shadow: none;
  transform: translateY(7px);
}

/* 親 .btn_block.take_btn を hover した時（＝画像を含む子どれかに乗った時） */
.btn_block.take_btn:hover a {
  background-color: #ff948b;
  box-shadow: none;
  transform: translateY(7px);
}

.btn_block.take_btn:hover .btn_overlay_img {
  transform: translateY(7px);
}


.take_btn {
  position: relative;
  display: block;
  max-width: 800px;
  padding: 30px 20px 80px;
  margin-top: 120px;
}
.take_btn a {
  padding-left: 120px;
  font-size: 2.4rem;
}
.btn_overlay_img {
  position: absolute;
  top: -81px;
  left: calc(50% - 300px);
  transform: none;
  z-index: 2;
  pointer-events: none;
  max-width: 140px;
  display: block;
}
#footer {
  background-color: #000;
  padding: 40px 10px;
  box-sizing: border-box;
  text-align: center;
  color: #fff;
  font-size: 13px;
}

br.sp {
  display: none;
}

@media screen and (max-width: 1000px) {
  .goods_list {
    padding: 20px;
  }
.interview_inner {
  padding: 0 20px; 
}

  .info_txt {
    padding: 20px;
  }

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

  #top_menu ul li {
    display: inline-block;
    font-size: 12px;
  }

  #top_menu ul li.kanin a {
    margin-right: 15px;
  }

  .take_btn {
  margin-top: 100px;
  }
}

  @media screen and (max-width: 822px) {
    .sp-br {
    display: inline;
  }
  }

@media screen and (max-width: 768px) {
  .goods_area {
    padding: 20px 0 20px;
  }

  .item_list_grid {
    margin: 0;
  }

  .caption_box {
    padding: 40px 15px 20px 15px;
  }

    .sp-br {
    display: inline;
  }

  @media screen and (max-width: 760px) {
    #header h1 {
      float: none;
    }

    #header {
      height: 110px;
    }

    #top_menu ul li {
      min-height: 30px;
    }
  }

  @media screen and (max-width: 740px) {
    .sec_caption {
      display: block;
      width: 100%;
    }

    .caption_box .caption {
      padding: 6px 20px;
    }
  }


  @media screen and (max-width: 639px) {
    .btn_block a {
      padding: 15px 8px;
      font-size: 20px;
    }
    .btn_block a .block {
      display: block;
      margin-bottom: 8px;
    }
    .take_btn {
      margin-top: 60px;
    }

    .take_btn a {
      padding-left: 110px;
    }

    .btn_overlay_img {
      top: -60px;
      left: calc(50% - 260px);
      z-index: 2;
      max-width: 120px;
    }

    .center-image {
      width: 140px;
      margin: 30px auto 20px;
    }
  }

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

    .item_block {
      padding: 0;
    }

    .item_block:nth-child(even) {
      margin-top: 15px;
    }


    .item_list_grid_2 {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .take_btn a {
      padding-left: 110px;
    }

    .btn_overlay_img {
      top: -48px;
      left: calc(50% - 236px);
      z-index: 2;
      max-width: 110px;
    }
  }

  @media screen and (max-width: 545px) {
    .take_btn {
      margin-top: 60px;
    }

    .take_btn a {
      padding-left: 110px;
      font-size: 1.6rem;
    }

    .btn_overlay_img {
      top: -52px;
      left: calc(50% - 210px);
      z-index: 2;
    }
  }

  @media screen and (max-width: 510px) {
    .goods_list {
      margin-top: 15px;
    }

    .main_vis.pc {
      display: none;
    }

    .main_vis.sp {
      display: block;
      text-align: center;
      margin: 0 auto;
    }

    .goods_3.pc {
      display: none;
    }

    .goods_3.sp {
      display: block;
      text-align: center;
      margin: 0 auto;
    }

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

    #header {
      height: 130px;
    }

    #header #top_menu {
      height: 80px;
    }

    .item_list_grid {
      display: block;
    }

    .item {
      .img {
        margin-bottom: 20px;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }

    .info_txt p strong {
      font-size: 2.4rem;
      font-weight: 500;
      line-height: 32px;
      padding: 5px;
    }

    .info_txt p strong.mini {
      font-size: 1.6rem;
    }


    .take_btn a {
      padding-left: 110px;
      font-size: 1.6rem;
    }

    .btn_overlay_img {
      top: -40px;
      left: calc(50% - 190px);
      max-width: 100px;
    }
  }

  @media screen and (max-width: 480px) {
    .goods_area {
      padding: 10px 0 10px;
    }

    .info_txt .caution {
      font-size: 0.8rem;
    }

    .finished > .content {
      font-size: 1.5rem;
    }

    br.sp {
      display: block;
    }

    .main_vis.finished h1 span {
      text-align: left;
      padding: 15px;
      white-space: normal;
      width: 96%;
    }

    .take_btn {
      padding: 30px 20px 60px;
      margin-top: 40px;
    }

    .take_btn a {
      padding-left: 100px;
      font-size: 1.4rem;
    }

    .btn_overlay_img {
      top: -42px;
      left: calc(50% - 184px);
    }
  }

  @media screen and (max-width: 433px) {
    .take_btn a {
      padding-left: 110px;
      font-size: 1.5rem;
    }

    .btn_overlay_img {
      top: -42px;
      left: calc(50% - 182px);
    }
  }

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

    .goods_list {
      padding: 10px;
    }
    .interview_inner {
    padding: 0 10px; 
    }
    .btn_block a {
      padding: 15px 8px;
      font-size: 16px;
    }

    .take_btn {
      margin-top: 80px;
    }

    .take_btn a {
      padding: 15px 8px;
      font-size: 1.5rem;
    }

    .btn_overlay_img {
      top: -94px;
      left: 50%;
      transform: translateX(-50%);
    }

.btn_block a:hover {
    background-color: #f51502;
  box-shadow: none;
  transform: none;
}

/* 親 .btn_block.take_btn を hover した時（＝画像を含む子どれかに乗った時） */
.btn_block.take_btn:hover a {
  background-color: #f51502;
  box-shadow: none;
transform: none;
}

.btn_block.take_btn:hover .btn_overlay_img {
      transform: translateX(-50%);
}

  }

  @media screen and (max-width: 375px) {
    .btn_block a {
      font-size: 1.5rem;
    }
  }
}
