@charset "utf-8";
/* ========================================


    --------------------
    stamp_rally.css
    -------------------



========================================== */
/* variable
------------------------------ */
:root {
  --main-bg-color: #fff;
  --main-txt-color: #333;

  --border-color: #eaebee;
  --primary-color: #222;
  --secondary-color: #f6f6f6;
  --danger-color: #cf0000;

  --placeholder-text-color: #999;
  --disabled-text-color: #c1bdb7;
  --disabled-color: #e8e8e8;
  --font-add: "Roboto", sans-serif;
}

/* base
------------------------------ */
.svg_parts {
  display: none;
}

html {
  font-size: 62.5%;
}
html,
body {
  -webkit-text-size-adjust: none;
  background: var(--main-bg-color);
  height: 100%;
}
body {
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-justify: inter-ideograph;
  font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt";
}
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
ul {
  list-style: none;
}
button,
input,
select,
textarea {
  margin: 0;
}
img,
embed,
iframe,
object,
audio,
video {
  height: auto;
  max-width: 100%;
}
iframe {
  border: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
  text-align: left;
}
i {
  font-style: normal;
}
img {
  max-width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}
::selection {
  background: #0d0d0d;
  color: #fff;
}
::-moz-selection {
  background: #0d0d0d;
  color: #fff;
}

a {
  color: var(--main-txt-color);
}
/*
*,
*::before,
*::after {
transition: all 0.3s ease;
}
*/

/* form
------------------------------ */
/* placeholder */
::-webkit-input-placeholder {
  color: var(--placeholder-text-color);
}
::-moz-placeholder {
  color: var(--placeholder-text-color);
  opacity: 1;
}
:-ms-input-placeholder {
  color: var(--placeholder-text-color);
}
:-moz-placeholder {
  color: var(--placeholder-text-color);
}

/* autofill */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px var(--main-bg-color) inset;
}

select,
input,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="text"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="email"],
input[type="password"] {
  display: inline-block;
  width: 100%;
  padding: 0.5em 0.8em;
  background-color: var(--main-bg-color);
  font-weight: normal;
  border-radius: 3px;
  border: 1px solid var(--border-color);
  font-size: 15px;
  line-height: 1.8;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

textarea {
  display: inline-block;
  width: 100%;
  padding: 0.5em 0.8em;
  background-color: var(--main-bg-color);
  font-weight: normal;
  border-radius: 3px;
  border: 1px solid var(--border-color);
  font-size: 15px;
  line-height: 1.8;
}
.form--input {
  margin: 1em 0;
}

.form__checkbox .form--item .btn {
  margin: 1em 0;
}

.form__checkbox input[type="checkbox"] {
  -webkit-appearance: none;
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
}

.form__checkbox label .txt--basic {
  padding: 0.5em 0.5em 0.5em 1.6em;
  position: relative;
  display: inline-block;
  font-weight: bold;
}

.form__checkbox label .txt--basic.attention_02 {
  display: none;
}

.form__checkbox label .txt--sub {
  padding: 0 0 0 2.2em;
}
.form__checkbox label .txt--basic::before {
  content: "";
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  border-radius: 0.2em;
  border: 1px solid var(--border-color);
  background: var(--main-bg-color);
  position: absolute;
  top: 0.8em;
  left: 0;
}
.form__checkbox label .txt--basic::after {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.4em;
  border: 2px solid var(--main-bg-color);
  border-top: none;
  border-right: none;
  position: absolute;
  top: 1.1em;
  left: 0.1em;
  transform: rotate(-45deg);
  opacity: 0;
}
.form__checkbox :checked ~ .txt--basic::before {
  background: var(--main-txt-color);
  border-color: var(--main-txt-color);
}
.form__checkbox :checked ~ .txt--basic::after {
  opacity: 1;
}
.label-stamp input.input_submit,
.label-keyword input.input_submit {
  margin: 0 auto;
  padding: 4px 0.75em;
  display: block;
  border-radius: 3em;
  background-color: var(--main-bg-color);
  border: 2px solid #eaebee;
  color: var(--main-txt-color);
  font-size: 1.2rem;
  font-weight: bold;
  min-width:95%;
  max-width: 100%;
  white-space: break-spaces;
}

.form__checkbox .form--item.disabled .btn--main {
  background-color: var(--disabled-color);
  color: var(--disabled-text-color);
  box-shadow: 0 0 0 2px e1e0e0 inset;
  transition: all 0.3s ease;
}

/* 1.2 clearfix
------------------------------ */
.clearfix::after {
  display: table;
  content: "";
  clear: both;
}

body {
  color: var(--main-txt-color);
  font-family: YakuHanJP, -apple-system, sans-serif;
  font-size: 1.5rem; /* 15px */
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.05em;
  position: relative;
  background: transparent;
}
#wrap {
  min-height: 100%;
  position: relative;
  background-color: #fbfbfb;
}

#wrap .section--detail {
  padding: 30px 4%;
}


#wrap img {
  width: 100%;
}

#wrap #stamp {
  background: var(--main-bg-color);
  border: 1px solid var(--border-color);
  padding: 20px;
}

/* typography */
h2 {
  font-size: 1.6rem; /*16px*/
  font-weight: bold;
}

h3 {
  font-size: 1.4rem; /*14px*/
  font-weight: bold;
}

.stamp-tit {
  padding: 0 0 2%;
  margin: 0 0 10%;
  font-size: 1.4rem; /*14px*/
  font-weight: bold;
  border-bottom: 2px solid #eaebee;
}
.lead {
  text-align: center;
  font-size: 15px;
  margin: 0 0 20px 0;
  font-weight: bold;
  color: #008bd2;
}
.bold {
  font-weight: bold;
}
.txt--basic {
  font-size: 1.5rem;
}
.txt--sub {
  font-size: 1.1rem;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}
.left {
  text-align: left;
}
.blu {
  color: #00a7ec;
}
.text {
  font-size: 13px;
  line-height: 1.4;
}
.text p {
  padding: 0 0 10px;
  text-align: left;
}
.text p:last-of-type {
  padding: 0;
}
.red {
  color: var(--danger-color);
}


/* list */
.block--benefit .btn{
  margin: 0 0 30px;
}


.list--rally {
  position: relative;
  margin: 0 0 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  line-height: 0;
  border: 1px solid var(--border-color);
  background-color: var(--main-bg-color);
  padding: 20px;
  border-radius: 8px;
  opacity: 0;
}
.loaded .list--rally {
  -webkit-animation: upIn 0.8s ease 1.2s 1 forwards;
  animation: upIn 0.8s ease 1.2s 1 forwards;
}

.stamp .btn{
  margin: 0 0 30px;
}
.list--rally.clearfix::after {
  width: 46%;
}
.list--rally li {
  position: relative;
  width: 46%;
  padding: 0 0 40px;
  line-height: 0;
}

.list--rally .item--rally .title {
  margin-top: 0.75em;
  font-size: 1.4rem;
  line-height: 1.4;
}

.list--rally .item--rally .form--post {
  margin-top: 1em;
}

/* date */
.stamp-get-time {
  margin-bottom: 1em;
}


/* btn
------------------------------ */
.block--btn {
  display: flex;
  justify-content: center;
}
.btn {
  margin: 30px 0;
  text-align: center;
}

.btn a {
  display: block;
  padding: 1.25em 2em;
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--main-txt-color);
  text-decoration: none;
}
.btn .chevron {
  display: inline-block;
  width: 14px;
  height: 14px;
  transform: translateY(3px);
  margin-left: 2px;
}

.btn.complete {
  background: #d9816b;
}
.btn.sitetop {
  font-size: 1.2rem;
  display: inline-block;
  margin: 0 2em;
}
.btn.sitetop a {
  padding: 0.25em 0;
}

.btn .benefit {
  width: 60%;
}

.btn a.web_stamp {
  position: absolute;
  top: 32.5%;
  left: 15%;
  width: 70%;
}
.btn .btn--main {
  padding: 1.25em 2em;
  display: inline-block;
  border-radius: 3em;
  border: none;
  font-weight: bold;
  min-width: 60%;
  background: var(--primary-color);
  color: var(--main-bg-color);
  font-size: 1.4rem;
}

.btn .btn--sub {
  padding: 1.25em 2em;
  display: inline-block;
  border-radius: 3em;
  background: transparent;
  border: 2px solid #eaebee;
  color: var(--main-txt-color);
  font-size: 1.4rem;
  font-weight: bold;
  min-width: 60%;
}


.motion {
  margin: 0 0 30px 0;
  border-radius: 10px;
}


/* dummy */
.ph,
.stampGet,
.stampImage {
  position: relative;
  line-height: 0;
}
.ph::before,
.stampGet::before {
  position: absolute;
  top: 0;
  left: 0;
  content: url("../img/dummy.png");
  width: 100%;
  height: 100%;
}
/* #stamp .stampImage {
  margin-bottom: 1em;
} */
#stamp .stampImage + .rally-tag {
  margin-top: 1em;
}

/* animation */

.block--stamp {
  opacity: 0;
}
.loaded .block--stamp {
  -webkit-animation: upIn 0.8s ease 1.2s 1 forwards;
  animation: upIn 0.8s ease 1.2s 1 forwards;
}
.item--rally .ph {
  opacity: 0;
}

.loaded .item--rally .ph {
  -webkit-animation: stampIn 1.5s cubic-bezier(0, 0, 0.83, 1.12) 1.4s 1 forwards;
  animation: stampIn 1.5s cubic-bezier(0, 0, 0.83, 1.12) 1.4s 1 forwards;
}

@keyframes upIn {
  0% {
    opacity: 0;
    -webkit-transform: translate(0, 30px);
    transform: translate(0, 30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}

@keyframes stampIn {
  0% {
    visibility: visible;
    opacity: 0;
    transform: rotate(-30deg) scale(2.5);
  }
  30% {
    visibility: visible;
    opacity: 0.8;
    transform: scale(1.04);
  }
  100% {
    visibility: visible;
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

/* header
------------------------------ */
#wrap header h1 {
  display: none;
}

/* footer
------------------------------ */
footer {
  width: 100%;
  position: sticky;
  top: 100%;
}
footer .copyright {
  font-size: 10px;
  text-align: center;
  padding: 14px 0;
  color: #bfc5c8;
}

/* page
------------------------------ */
h2.no-bnr {
  display: none;
}

.block--head-bnr h2,
.bnr-tit {
  line-height: 0;
}
.block--head-bnr .rally-tit {
  display: none;
}

/* 入力 */
.page--input.error .txt--link {
  text-align: center;
}
.page--input.error .txt--basic {
  margin-top: 1em;
}
.page--input.error .txt--link .input_submit {
  border: none;
  background: transparent;
  padding: 0.25em;
  display: inline-block;
  text-decoration: underline;
  color: var(--main-txt-color);
  font-family: YakuHanJP, -apple-system, sans-serif;
  letter-spacing: 0.05em;
}

.page--input.error .txt--link .chevron{
  display: inline-block;
  width: 14px;
  height: 14px;
  transform: translateY(3px);
  margin-left: 2px;
}

/* 特典 */
.page--benefit .section-tit {
  font-size: 2.2rem;
  margin-bottom: 0.75em;
}

.page--benefit .block--form {
  margin: 24px 0 48px;
  background: #fddfdf;
  border-radius: 8px;
  border: 2px solid #fd6675;
  padding: 5% 4%;
}
.block--benefit-check {
  margin-bottom: 40px;
}
.block--benefit-check .block--detail.complete .default{
  text-align: center;
  display: block;
}
.block--benefit-check + .block--benefit-check {
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

/* 特典引き換え */
.page--benefit.check .block--benefit-area {
  margin-bottom: 60px;
}
.page--benefit.check .block--benefit-area .block--benefit-tag {
  margin-bottom: 30px;
}
.page--benefit.check .section--complete{margin-bottom: 30px;}
.page--benefit.check .section--complete .complete{
text-align: center;
}

/* 一覧 */
.page--list .block--lead.complete {
  margin: 30px 0 30px;
}

.page--list .complete .section-tit .txt.default {
  /* デフォルト */
  font-size: 3rem;
  font-family: var(--font-add);
  font-weight: bold;
  display: block;
  margin: 0 auto;
}
/* エラー 、特典引き換え*/
.page--error .section-tit,
.page--benefit.check .section-tit {
  display: none;
}

.page--error .block--error{
  margin-bottom: 30px;
}

/* pc */
@media screen and (min-width: 961px) {
  #footer {
    margin: 100px 0 10px;
  }
  a,
  input.input_submit {
    cursor: pointer;
  }

  input.btn--main.input_submit:hover,
  .btn--main:hover,
  .btn--sub .btn a:hover {
    filter: brightness(180%);
  }

  body {
    height: 100vh;
    position: relative;
  }
  .wrap {
    height: 95.05208vh;
    overflow-y: scroll;
    overflow-x: hidden;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    margin: auto;
  }

  .container {
    position: relative;
    background: #fbfbfb;
    width: 448px;
    margin: 0 auto;
    box-shadow: 0px 8px 15px rgb(0 0 0 / 10%);
  }

  .list--rally .item--rally .title {
    font-size: 1.6rem;
  }

  .label-stamp input.input_submit,
  .label-keyword input.input_submit {
    width: 94%;
    font-size: 1.4rem;
  }

  .stamp-tit {
    font-size: 1.6rem;
  }
}
