@charset 'utf-8';

/* =========================================================
 PC・スマホ共通
========================================================= */
body {
  box-sizing: border-box;
}

/* =========================================================
 PC用
========================================================= */
@media screen and (min-width: 981px) {
  .application {
    position: relative;
    margin: 30px auto 51px;
  }

  h3 {
    height: 60px;
    line-height: 1.1;
    font-size: 24px;
    text-align: center;
    margin-bottom: 15px;
    padding-top: 10px;
    box-sizing: border-box;
    letter-spacing: 2px;
    width: 100%;
  }

  h3 span {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-family: mrs-eaves, serif;
    letter-spacing: 0;
  }

  article>p {
    text-align: center;
    font-family: heisei-mincho-std, serif;
    font-size: 32px;
    font-weight: bold;
    margin: 33px auto 0;
  }

  .appLink {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 67%;
    margin: 45px auto 55px;
  }

  .appBox {
    width: 45%;
  }

  .appBox>img {
    width: 280px;
    margin: 0 auto 12px;
    display: block;
    border: 1px solid #bbbbbb;
    box-sizing: border-box;
    padding: 20px;
  }

  .appBox a img {
    height: 80px;
    width: auto;
    display: block;
    margin: 0 auto;
  }

  .shopCode {
    color: #b30000;
    text-align: center;
    margin-bottom: 50px;
  }

  .shopCode p:first-of-type {
    font-size: 18px;
  }

  .shopCode p:last-of-type {
    color: #b30000;
    font-family: heisei-mincho-std, serif;
    font-size: 70px;
    font-weight: bold;
    line-height: 100px;
  }

  .howtoBlock {
    display: flex;
    flex-wrap: wrap;
    margin-top: 28px;
  }

  section:last-of-type .howtoBlock {
    margin-top: 50px;
  }

  .howto {
    width: 270px;
    margin: 0 85px 44px 0;
    position: relative;
  }

  .howto:nth-child(3n) {
    margin-right: 0;
  }

  .howto:not(:nth-child(3n))::after {
    content: "";
    background: url(/img/appli_member/icon_arrow.png) no-repeat center;
    display: block;
    width: 56px;
    height: 26px;
    position: absolute;
    top: 221px;
    right: -72px;
  }

  .howto:last-child::after, .howto:nth-child(5)::after {
    content: none;
  }

  .howto p {
    width: 90%;
    margin: 12px auto 0;
    font-size: 16px;
    line-height: 1.7;
  }

  section:first-of-type .howto p span {
    color: #b30000;
  }

  section:last-of-type .howto p span {
    color: inherit;
    font-size: 15px;
  }

  .howto.phone {
    text-align: center;
  }

  .howto.phone p {
    font-family: heisei-mincho-std, serif;
    font-size: 22px;
    font-weight: bold;
    margin: 0px auto 7px;
    width: 100%;
  }

  .howto.phone img {
    width: 249px;
  }

  /* 上部コンテンツ */
  .upperCont {
    margin-bottom: 128px;
  }

  .caption {
    position: relative;
    padding: 36px 30px;
    margin-bottom: 31px;
  }

  .caption::after {
    content: "";
    background: url(/img/system/img_phone.png) no-repeat center;
    background-size: contain;
    display: block;
    position: absolute;
    top: 9px;
    right: 26px;
    width: 175px;
    height: 295px;
    transform: rotate(17.3deg);
    z-index: 1;
  }

  .caption h2 {
    background-color: transparent;
    color: #c2ad61;
    font-size: 66px;
    font-weight: bold;
    height: auto;
    text-align: left;
    padding: 0;
    line-height: 1.35;
    letter-spacing: 0;
    margin-bottom: 0;
  }

  .caption p {
    background-color: #b30000;
    color: #ffffff;
    font-family: inherit;
    text-align: center;
    font-size: 28px;
    margin: 15px auto 0 5px;
    letter-spacing: 0.5pt;
    width: 680px;
    height: 67px;
    line-height: 65px;
    position: relative;
    /* padding-left: 70px; */
    box-sizing: border-box;
  }

  .caption p span {
    color: #b30000;
    background-color: #ffffff;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    line-height: 55px;
    display: inline-block;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translate(0, -50%);
    margin-right: 13px;
  }

  .upperCont .contentsWrapper {
    padding-bottom: 70px;
  }

  .upperCont .contentsWrapper h3 {
    background-color: #c2ad61;
    color: #ffffff;
    border: none;
    font-size: 52px;
    font-weight: bold;
    height: 100px;
    line-height: 113px;
    padding: 0;
    letter-spacing: 2pt;
  }

  .upperCont .contentsWrapper h3 span {
    display: inline;
    font-family: inherit;
    font-size: 40px;
    font-weight: inherit;
  }

  .upperCont .contentsWrapper h3 span.number {
    font-size: 60px;
  }

  .textBox {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
  }

  .textBox p {
    font-family: inherit;
    font-size: 22px;
    font-weight: normal;
    letter-spacing: 0.1pt;
    line-height: 1.8;
  }

  .upperCont .contentsWrapper p span, .howto p span {
    color: #b30000;
    font-size: inherit;
  }

  .upperCont .contentsWrapper .note {
    margin-bottom: 40px;
  }

  .upperCont .contentsWrapper .note h4 {
    color: #b30000;
    border: 1px solid #b30000;
    box-sizing: border-box;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    height: 50px;
    line-height: 47px;
  }

  .upperCont .contentsWrapper .note ul {
    width: 61%;
    margin: 21px auto 0;
  }

  .upperCont .contentsWrapper .note li {
    font-size: 16px;
    line-height: 1.8;
  }

  .others>p {
    color: #c2ad61;
    font-size: 30px;
    position: relative;
    margin: 2px auto 19px;
  }

  .others>p::before, .others>p::after {
    content: "";
    display: inline-block;
    background-color: #c2ad61;
    width: 40px;
    height: 2px;
    position: relative;
    top: -8px;
  }

  .others>p::before {
    transform: rotate(45deg);
  }

  .others>p::after {
    transform: rotate(-45deg);
  }

  .others ul {
    border: 1px solid #c2ad61;
    padding: 27px 0 14px 72px;
    box-sizing: border-box;
  }

  .others li {
    font-family: heisei-mincho-std, serif;
    font-size: 40px;
    font-weight: bold;
    line-height: 1.8;
  }

  .contentsWrapper img {
    display: block;
    width: 620px;
    height: auto;
    margin: 0 auto 50px;
  }

  .contentsWrapper img.stamp02 {
    margin-bottom: 30px;
  }

}

/* =========================================================
 スマホ用
========================================================= */
@media screen and (max-width: 980px) {
  * {
    max-width: 100%;
  }

  #infoContentsBox {
    margin: 7vw auto 13vw;
  }

  .application {
    position: relative;
    padding: 4.5vw 0;
    width: 97%;
    margin: 0 auto;
  }

  h3 {
    height: 10vw;
    box-sizing: border-box;
    letter-spacing: 0.2vw;
    width: 100%;
  }

  h3 span {
    font-size: 3.2vw;
    font-family: mrs-eaves, serif;
    letter-spacing: 0;
    top: 75%;
  }

  article>p {
    text-align: center;
    font-family: heisei-mincho-std, serif;
    font-size: 4.5vw;
    font-weight: bold;
    margin: 5vw auto 0;
  }

  .appLink {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 94%;
    margin: 6vw auto 8vw;
  }

  .appBox>img {
    display: none;
  }

  .appBox a img {
    height: 12.5vw;
    width: auto;
    display: block;
    margin: 0 auto;
  }

  .shopCode {
    color: #b30000;
    text-align: center;
    margin-bottom: 6vw;
  }

  .shopCode p:first-of-type {
    font-size: 3vw;
  }

  .shopCode p:last-of-type {
    color: #b30000;
    font-family: heisei-mincho-std, serif;
    font-size: 9vw;
    font-weight: bold;
    line-height: 1.7;
  }

  .howtoBlock {
    display: flex;
    flex-wrap: wrap;
    margin: 6vw auto 0;
    width: 95%;
  }

  section:last-of-type .howtoBlock {
    margin-top: 50px;
  }

  .howto {
    width: 45%;
    margin: 0 10% 7vw 0;
    position: relative;
  }

  .howto:nth-child(even) {
    margin-right: 0;
  }

  .howto:nth-of-type(odd)::after {
    content: "";
    background: url(/img/appli_member/icon_arrow.png) no-repeat center;
    background-size: contain;
    display: block;
    width: 6.2vw;
    height: 2.9vw;
    position: absolute;
    top: 40%;
    right: -19%;
  }

  .howto:last-child::after, .howto:nth-child(5)::after {
    content: none;
  }

  .howto p {
    width: 95%;
    margin: 1vw auto 0;
    font-size: 3vw;
    line-height: 1.5;
  }

  .application:first-of-type .howto p span {
    color: #b30000;
  }

  .application:last-of-type .howto p span {
    color: inherit;
    font-size: 80%;
  }

  .howto.phone {
    text-align: center;
  }

  .howto.phone p {
    font-family: heisei-mincho-std, serif;
    font-size: 3.2vw;
    font-weight: bold;
    margin: 0px auto 7px;
    width: 100%;
    line-height: 1.7;
  }

  .howto.phone img {
    width: 92.2%;
  }

  /* 上部コンテンツ */
  .upperCont {
    margin-bottom: 15vw;
  }

  .caption {
    width: 94%;
    margin: 0 auto 7vw;
  }

  .caption h2 {
    background-color: transparent;
    color: #c2ad61;
    font-size: 8vw;
    font-weight: bold;
    height: auto;
    padding: 0;
    line-height: 1.35;
    letter-spacing: 0;
    margin-bottom: 0;
  }

  .caption p {
    background-color: #b30000;
    color: #ffffff;
    font-family: inherit;
    font-size: 3.9vw;
    margin-top: 3vw;
    height: 10vw;
    line-height: 9.8vw;
    position: relative;
    /* padding-left: 10vw; */
    box-sizing: border-box;
    /* text-align: left; */
  }

  .caption p span {
    color: #b30000;
    background-color: #ffffff;
    border-radius: 50%;
    width: 7.5vw;
    height: 7.5vw;
    line-height: 7.5vw;
    display: inline-block;
    font-size: 3vw;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    top: 50%;
    left: 1.3vw;
    transform: translate(0, -50%);
    margin-right: 1.3vw;
  }

  .upperCont .contentsWrapper {
    padding-bottom: 7vw;
  }

  .upperCont .contentsWrapper h3 {
    background-color: #c2ad61;
    color: #ffffff;
    border: none;
    font-size: 5.5vw;
    font-weight: bold;
    height: 12.5vw;
    line-height: 14vw;
    padding: 0;
    letter-spacing: 0;
  }

  .upperCont .contentsWrapper h3 span {
    display: inline;
    font-family: inherit;
    font-size: 70%;
    font-weight: inherit;
    position: static;
  }

  .upperCont .contentsWrapper h3 span.number {
    font-size: 115%;
  }

  .textBox {
    /* width: 89%; */
    margin: 4vw auto 6vw;
    text-align: center;
  }

  .textBox p {
    font-family: inherit;
    font-size: 3.8vw;
    font-weight: normal;
    letter-spacing: 0.1pt;
    line-height: 1.8;
    margin-bottom: 3vw;
  }

  .upperCont .contentsWrapper p span, .howto p span {
    color: #b30000;
    font-size: inherit;
  }

  .upperCont .contentsWrapper p span {
    font-weight: bold;
  }

  .upperCont .contentsWrapper .note {
    margin-bottom: 7vw;
  }

  .upperCont .contentsWrapper .note h4 {
    color: #b30000;
    border: 1px solid #b30000;
    padding: 1.5vw 0;
    box-sizing: border-box;
    font-size: 4vw;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    width: 97%;
    margin: 0 auto;
  }

  .upperCont .contentsWrapper .note ul {
    width: 92%;
    margin: 4vw auto 0;
  }

  .upperCont .contentsWrapper .note li {
    font-size: 2.9vw;
    line-height: 1.5;
    text-indent: -1em;
    padding-left: 1em;
    margin-bottom: 2vw;
  }

  .others>p {
    color: #c2ad61;
    font-size: 5vw;
    position: relative;
    margin: 0 auto 2vw;
  }

  .others>p::before, .others>p::after {
    content: "";
    display: inline-block;
    background-color: #c2ad61;
    width: 6.3vw;
    height: 2px;
    position: relative;
    top: -1.8vw;
  }

  .others>p::before {
    transform: rotate(45deg);
  }

  .others>p::after {
    transform: rotate(-45deg);
  }

  .others ul {
    border: 1px solid #c2ad61;
    padding: 2.8vw 0 2vw;
    box-sizing: border-box;
    width: 97%;
    margin: 0 auto;
  }

  .others li {
    font-family: heisei-mincho-std, serif;
    font-size: 4.3vw;
    font-weight: bold;
    line-height: 1.8;
    text-indent: 1.5vw;
  }

  .contentsWrapper img {
    display: block;
    width: 96%;
    height: auto;
    margin: 0 auto 8vw;
  }

  .contentsWrapper img.stamp02 {
    margin-bottom: 4vw;
  }

}
