@charset "utf-8";

/* =========================================
 * 全体要素
 * ====================================== */

/* モバイル用
 ---------------------------------------- */

/* BODY */
body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #000000;
}

/* HEADER */
header {
  width: 90%;
  max-width: 560px;
  margin: 20px auto 0 auto;
}

/* HEADER内 見出し */
h1 {
  margin: 15px 0 0 0;
  padding: 10px 0;
  background: #007f3d;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  letter-spacing: 0.1rem;
}

h1 span {
  display: inline-block;
}

/* MAIN */
main {
  width: 90%;
  max-width: 560px;
  margin: 0px auto;
}

/* FOOTER */
footer {
  width: 90%;
  max-width: 560px;
  margin: 40px auto 30px auto;
  font-size: 0.8rem;
  color: #333333;
  text-align: center;
}

footer p {
  margin: 0;
  padding: 0;
}

footer p span {
  display: inline-block;
}

footer p span + span {
  padding-left: 0.5rem;
}

/* 画像余白調整 */
img {
  vertical-align: middle;
}

/* ホバー時透過 */
a:hover {
  cursor: pointer;
  opacity: 0.7;
}

/* PC用
 ---------------------------------------- */

@media screen and (min-width: 1024px) {
  /* HEADER */
  header {
    max-width: 680px;
  }

  /* MAIN */
  main {
    max-width: 680px;
  }

  /* FOOTER */
  footer {
    max-width: 680px;
  }
}

/* =========================================
 * 特典個別ページ【共通要素】
 * ====================================== */

/* モバイル用
 ---------------------------------------- */

/* 共通要素 枠 */
.benefit .main {
  margin: 0;
  padding: 0;
}

/* 共通要素 見出し */
.benefit .main h2 {
  margin: 30px 0 0 0;
  padding: 0.8rem 0 0.4rem 2.8rem;
  color: #007f3d;
  font-size: 1.3rem;
  line-height: 1.5;
  border-bottom: 2px solid #007f3d;
}

.benefit .main h2:nth-of-type(1) {
  background: url(img/waribiki-headicon-coupon.svg) no-repeat 0.2rem 50% / auto 2rem;
}

.benefit .main h2:nth-of-type(2) {
  background: url(img/waribiki-headicon-howto.svg) no-repeat 0.2rem 50% / auto 2rem;
}

.benefit .main h2:nth-of-type(3) {
  background: url(img/waribiki-headicon-notice.svg) no-repeat 0.3rem 50% / auto 1.8rem;
}

/* 共通要素 段落 */
.benefit .main p {
  margin: 20px 0 10px 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.benefit .main p + p {
  margin-top: 15px;
}

/* 共通要素 補足 */
.benefit .main span.supplement {
  font-size: 0.85rem;
}

/* 共通要素 強調 */
.benefit .main span.important {
  background: linear-gradient(transparent 60%, #dfefcd 60%);
  font-weight: 700;
}

/* 共通要素 注意事項 */
.benefit .main ul {
  display: table;
  list-style: none;
  width: 100%;
  margin: 20px 0 10px 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.benefit .main ul > li {
  display: table-row;
}

.benefit .main ul > li:before {
  content: '•';
  display: table-cell;
  padding-right: 0.4em;
}

.benefit .main ul > li:after {
  content: '';
  display: block;
  margin-top: 10px;
}

.benefit .main ul > li:nth-last-of-type(1):after {
  margin-top: 0;
}

.benefit .main ul + ul {
  border-top: 2px dotted #cccccc;
  padding-top: 20px;
}

/* 共通要素 表 */
.benefit .main table {
  border-collapse: collapse;
  margin: 20px 0 10px 0;
  border: 2px solid #333333;
}

.benefit .main table th,
.benefit .main table td {
  padding: 0.5rem 0.8rem;
  border: 1px solid #333333;
  line-height: 1.6;
  text-align: center;
}

.benefit .main table th {
  font-weight: 700;
  background: #dfefcd;
}

.benefit .main table th span {
  display: inline-block;
}

.benefit .main table td.subhead {
  font-weight: 700;
  text-align: left;
}

/* とじる */
.benefit .nav {
  display: flex;
  justify-content: center;
  margin: 50px 0 0 0;
}

.benefit .nav a {
  display: inline-block;
  flex: 1;
  padding: 12px 0;
  border-radius: 8px;
  background: #cccccc url(img/waribiki-icon-close.svg) no-repeat 0.8rem calc(50% - 1px) / 1.2rem auto;
  color: #000000;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.1em;
}

/* PC用
 ---------------------------------------- */

@media screen and (min-width: 1024px) {
  /* 電話番号リンク */
  .benefit a.phone {
    text-decoration: none;
    pointer-events: none;
    color: #000000;
  }

  /* 共通要素 申し込みボタン */
  .benefit .main div.apply a {
    flex: none;
    padding: 12px 6rem;
  }

  /* 一覧に戻る */
  .benefit .nav a {
    flex: none;
    padding: 12px 6rem;
  }
}
