:root {
  --news-brown: #aa8b22;
}

.bg_pink {
  background: rgba(231, 53, 92, 0.07);
}

.pb-20 {
  padding-bottom: 20px;
}

.back_btn {
  display: block;
  width: fit-content;
  margin: 50px auto;
  padding: 1rem 1rem 0 6rem;
  color: var(--news-brown);
  border: var(--news-brown) 1px solid;
  position: relative;
}

.btn_arrow::before,
.btn_arrow::after {
  content: "";
  display: block;
  background: var(--news-brown);
  position: absolute;
  right: auto;
}

.btn_arrow::before {
  width: 3rem;
  top: 2rem;
  left: 1rem;
  height: 1px;
}

.btn_arrow::after {
  top: 1rem;
  left: 1rem;
  transform: rotate(45deg);
  transform-origin: left bottom;
  width: 1px;
  height: 1rem;
}

/*タイトル*/
.page-title {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.page-title .contents {
  padding: 0;
}

.p-title,
.news_details .p-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0;
}

#user .page-title,
.bg_pink {
  background: #FFF395;
}

#user .p-sub-title {
  color: #EE3823;
}

#company .page-title {
  background: rgba(64, 122, 191, 0.07);
}

#company .p-sub-title {
  color: var(--navy);
}

@media screen and (max-width: 687px) {
  .page-title {
    padding-bottom: unset;
  }
}

/*コンテンツ*/

/*news*/
.news_list {
  margin-bottom: 50px;
}

.p-news_list__content {
  padding: 4rem 4rem 0;
}

.news_list_box {
  display: flex;
  justify-items: left;
  align-items: center;
  padding: 15px 0;
  /* border-bottom:2px dotted var(--news-brown); */
  box-sizing: border-box;
  position: relative;
  height: 70px;
}

.news_list_box:after {
  content: "";
  width: 100%;
  margin: auto;
  height: 3px;
  background-size: cover;
  background-repeat: repeat-x;
  background-position: center;
  background-image: url("/img/dot_brown--long.svg");
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
}

.news_list dt {
  width: 20%;
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

.news_date {
  color: var(--news-brown);
}

.news_list dd {
  width: 75%;
  padding-right: 5%;
  text-align: left;
  display: inline-block;
  vertical-align: middle;
}

.news_list dd,
.news_list dt {
  font-size: 1.6rem;
  padding-left: 15px;
  letter-spacing: 2px;
  font-weight: 600;
}

.news_list dd a::after {
  position: absolute;
  display: inline-block;
  vertical-align: middle;
  content: "";
  transform: skew(45deg);
  width: 3rem;
  height: 1rem;
  border-right: 2px solid var(--news-brown);
  border-bottom: 2px solid var(--news-brown);
  right: 15px;
  top: 40%;
}

.no_long a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-wrap: break-word;

  /*IE対策*/
  line-height: 1.5em;
  max-height: 3em;
}

.news_title {
  width: calc(100% - 100px);
}

.news_title p{
  word-wrap: break-word;
}

@media screen and (max-width: 687px) {
  .news_list_box {
    display: block;
  }

  .news_list dd,
  .news_list dt {
    padding-left: 0;
    letter-spacing: 2px;
    font-weight: 600;
  }

  .news_list dd {
    width: 100%;
    padding-right: 35px;
  }

  .news_list dt {
    width: 100%;
  }

  .news_list dd a::after {
    right: 10px;
  }
}

/*お知らせ一覧*/

.news_head {
  display: flex;
  justify-items: left;
  align-items: center;
  padding: 15px 0;
  /* border-bottom: 2px dotted var(--news-brown); */
  box-sizing: content-box;
  position: relative;
}

.news_head:after {
  content: "";
  width: 100%;
  margin: auto;
  height: 3px;
  background-size: cover;
  background-repeat: repeat-x;
  background-position: center;
  background-image: url("/img/dot_brown--long.svg");
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.news_title {
  margin-right: auto;
}

.news_title p {
  text-align: left;
}

.news_details .news_date {
  width: 100px;
  margin-left: 5px;
  margin-top: auto;
  text-align: right;
}

.news_text {
  margin: 3rem auto;
}

.news_text p {
  text-align: left;
  font-weight: normal;
  color: var(--text-black);
  font-family: sans-serif;
}

@media screen and (max-width: 687px) {
  .news_head {
    display: block;
  }

  .news_details .news_date {
    margin-left: auto;
  }

  .news_details p {
    font-size: 1.6rem;
  }

  .news_list_box {
    height: 80px;
  }

  .news_list_box:after {
    top: 80px;
  }

  .p-news_list__content {
    padding: 2rem 2rem 0;
  }
}

.p-news__detail__link{
  width: fit-content;
  margin-bottom: 6rem;
}

/*faq*/

.qa_block h2 {
  text-align: left;
  width: 100%;
  font-size: 3rem;
  padding-top: 6rem;
}

#user .qa_block h2 {
  color: #EE3823;
  border-bottom: #EE3823 2px solid;
}

#company .qa_block h2 {
  color: var(--navy);
  border-bottom: var(--navy) 2px solid;
}

.question {
  font-size: 2.3rem;
  line-height: normal;
  font-weight: 600;
  font-style: normal;
  color: var(--text-black);
  margin-right: 20px;
  text-align: left;
}

.answer {
  font-size: 2rem;
  line-height: 1.7;
  font-style: normal;
  color: var(--text-black);
  margin-right: 20px;
  text-align: left;
}

.qa_box {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.qa_box > dl > dt {
  display: flex;
  align-items: baseline;
  padding: 3px 20px 3px;
  position: relative;
}

#user .qa_box > dl > dt {
  background: rgba(231, 53, 92, 0.1);
}

#company .qa_box > dl > dt {
  background: rgba(64, 122, 191, 0.1);
}

.qa_box > dl > dt .crossBar {
  width: 15px;
  height: 15px;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

.qa_box > dl > dt .crossBar::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform-origin: center center; /* 中心を基準にtransform */
  transform: translateX(-50%) rotate(0deg);
  transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.qa_box > dl > dt .crossBar::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 3px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

#user .qa_box > dl > dt .crossBar::before,
#user .qa_box > dl > dt .crossBar::after {
  background-color: #EE3823;
}

#company .qa_box > dl > dt .crossBar::before,
#company .qa_box > dl > dt .crossBar::after {
  background-color: var(--navy);
}

.qa_box > dl > dt > span {
  font-size: 2.5rem;
  line-height: normal;
  font-weight: 500;
  font-style: normal;
  margin-right: 20px;
}

.qa_box > dl > dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
  padding: 0 30px; /* paddingの上下を0にする */
  max-height: 0; /* max-heightを0にする、レスポンシブ対応 */
  overflow: hidden; /* overflow: hidden;を付けるのがポイント */
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

#user .qa_box > dl > dd {
  border: rgba(231, 53, 92, 0.1) solid 2px;
}

#company .qa_box > dl > dd {
  border: rgba(64, 122, 191, 0.1) solid 2px;
}

.qa_box > dl > dd > span {
  font-size: 2.5rem;
  line-height: 1.7;
  font-weight: 500;
  font-style: normal;
  margin-right: 20px;
}

#user .qa_box > dl > dt > span,
#user .qa_box > dl > dd > span {
  color: #EE3823;
}

#company .qa_box > dl > dt > span,
#company .qa_box > dl > dd > span {
  color: var(--navy);
}

/*マニュアル*/
.youtube_width {
  max-width: 900px;
  width: 100%;
  margin: auto;
}

.youtube_wrap {
  padding-top: 56.25%;
  box-sizing: border-box;
  width: 100%;
  height: fit-content;
  position: relative;
  margin: 4rem auto;
}

.youtube_wrap iframe{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/*9/14はマスク*/
.youtube_wrap--inactive {
  position: relative;
}

.youtube_wrap--inactive:after {
  content: "9/15公開予定";
  color: #fff;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  top: 0;
  left: 0;
  padding: 28% 2rem;
  font-size: 2.8rem;
}

.download_link {
  color: #58abf2;
  margin: 30px auto 60px;
}

.download_link i {
  padding: 1rem;
}

.p-pdf-icon--no-border {
  border-bottom: none;
}

.p-pdf-icon--no-border i {
  margin-right: 1rem;
}

@media screen and (max-width: 687px) {
  .download_link {
    margin: 30px auto 0;
  }
}

/* アニメーション後のスタイル */
.qa_box > dl > dd.is-open {
  /* heightとpaddingをアニメーション */
  max-height: fit-content;
  padding: 5px 20px 5px;
}

/* ＋ボタンのアニメーション */
.qa_box > dl > dt.is-open .crossBar::before {
  transform: translateX(-50%) rotate(90deg); /* 90度回転 */
}

/*コールセンター*/

.line-height0 {
  line-height: 0;
}

/*ご利用方法 howto.php*/

.link_contents {
  max-width: 800px;
  width: 80%;
  margin: 30px auto;
}

.link-box {
  display: flex;
}

.link-box_left {
  max-width: 350px;
  width: 45%;
  margin-right: auto;
  margin-top: 30px;
}

.link-box_right {
  max-width: 350px;
  width: 45%;
  margin-top: 30px;
  margin-left: auto;
}

.link-box_title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.link-box_left ul,
.link-box_right ul {
  padding: 2rem;
  font-size: 1.8rem;
}

.link-box_left ul li,
.link-box_right ul li {
  padding-bottom: 1rem;
}

.link-box_left ul li:last-of-type,
.link-box_right ul li:last-of-type{
  padding-bottom: 0;
}

.link-box_left ul li span,
.link-box_right ul li span {
  padding: 2rem;
}

@media (max-width: 687px) {
  .link-box {
    display: block;
  }

  .link-box_left,
  .link-box_right {
    margin: 30px auto 0;
    width: 270px;
  }
}

/*flow*/

.howto .p-howto .white_box .flow_no {
  color: #EE3823;
  font-weight: 200;
  font-size: 3rem;
  margin: 0;
  line-height: 1.5;
}

.p-howto__flow__text .flow_detail {
  font-weight: 600;
  padding-right: 2rem;
}

/*WEB申請*/

.web_application .p-howto__flow {
  align-items: flex-start;
}

.p-howto .web_application .p-howto__flow {
  align-items: flex-start;
}

.web_application .p-howto__flow__img {
  padding: 20px;
}

@media (max-width: 687px) {
  .web_application .flex {
    display: block;
  }

  .web_application .p-howto__flow__img {
    max-width: 300px;
    width: 100%;
    margin: auto;
    padding: 0;
  }

  .web_application .p-howto__flow__text {
    width: 90%;
    margin: auto;
  }

  .p-howto .u-flex-align-center{
    align-items: flex-start!important;
  }

}

/*ハガキ申請*/
.postcard_application .p-howto__flow {
  align-items: center;
}

@media (max-width: 687px) {
  .postcard_application .flex {
    display: block;
  }

  .postcard_application .p-howto__flow__img {
    max-width: 300px;
    width: 100%;
    margin: auto;
  }

  .postcard_application .p-howto__flow__text {
    width: 90%;
    margin: auto;
  }
}

/*当選通知*/
.election_notice .heading {
  padding-top: 20px;
}
.election_notice h2 {
  margin-bottom: 10px;
}
#user .election_notice .heading::before {
  content: none;
}

.election_notice .p-howto__flow__img {
  padding: 20px 0;
  width: 60%;
  margin: auto;
}

.election_notice .p-howto__flow__img img {
  width: 80%;
  margin: auto;
}

.election_notice .flow_text {
  width: 40%;
  align-self: center;
  text-align: left;
}

@media (max-width: 687px) {
  .election_notice .flex {
    display: block;
  }

  .election_notice .p-howto__flow__img {
    max-width: 300px;
    width: 100%;
    margin: auto;
  }

  .election_notice .flow_text {
    width: 90%;
    margin: auto;
  }
}

/*購入方法*/

.how_to_buy .heading {
  padding-top: 20px;
}

.how_to_buy h2 {
  margin-bottom: 10px;
}
#user .how_to_buy .heading::before {
  content: none;
}
.how_to_buy .p-howto__flow {
  align-items: flex-start;
}

.p-howto .how_to_buy .p-howto__flow {
  align-items: flex-start;
}

.how_to_buy .p-howto__flow__img {
  padding: 20px;
}

@media (max-width: 687px) {
  .how_to_buy .flex {
    display: block;
  }

  .how_to_buy .p-howto__flow__img {
    max-width: 300px;
    width: 100%;
    margin: auto;
  }

  .how_to_buy .p-howto__flow__text {
    width: 90%;
    margin: auto;
  }

  .how_to_buy .p-howto__flow__img {
    padding: 20px 0 0 0;
  }
}

/*ご利用方法*/
.icon-box {
  max-width: 400px;
  width: 80%;
  margin: 20px auto;
  display: flex;
  justify-content: center;
}

.apple,
.android {
  margin: 10px;
}

@media (max-width: 400px) {
  .app_download .flex {
    max-width: 200px;
    width: 100%;
    margin: 20px auto;
  }
}

/*アプリでの利用方法*/
.mpm .heading {
  margin-bottom: 40px;
}

/*リージョン新規登録*/

.howborderbox {
  padding: 50px;
  box-sizing: border-box;
  background: white;
  border-radius: 10px;
}

@media (max-width: 560px) {
  .howborderbox {
    padding: 30px 10px;
  }
}

.picblock {
  overflow-x: scroll;
}

.picblock .picwrwp {
  width: 123%;
  display: flex;
}

.picblock .picwrwp-big {
  width: 198%;
  display: flex;
}

.picblock .picinnerblock {
  width: 210px;
  padding: 10px 0;
  text-align: center;
}

.picinnerblock img {
  width: 100%;
}

.picblock .picsmallbloc {
  width: 40px;
  position: relative;
}

.picsmallbloc .small-triangle {
  position: absolute;
  top: 30px;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 15px solid #EE3823;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

.top-text {
  height: 50px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-black);
}

@media (max-width: 687px) {
  .picblock .picwrwp {
    width: 100%;
    display: block;
    text-align: center;
  }

  .picblock .picsmallbloc img {
    position: unset;
    width: 80%;
    width: 15px;
  }

  .picblock .picsmallbloc {
    width: 100%;
    transform: rotate(90deg);
    text-align: center;
    margin: 10px auto 20px;
  }

  .picsmallbloc .small-triangle {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .picblock .picinnerblock {
    width: 100%;
    padding: 10px 0;
  }

  .picblock .picinnerblock img {
    margin: auto;
  }

  .picblock {
    overflow-x: visible;
    width: 100%;
    margin: 0 auto;
  }

  .picblock .picwrwp-big {
    width: 100%;
    display: block;
    text-align: center;
  }

  .top-text {
    margin: 0 0 1rem 0;
    height: auto;
  }

  .picinnerblock img,
  .cell-inner img {
    width: 50%;
    margin: auto;
  }
}

/*リージョンチャージ*/

.cell-box {
  display: flex;
  justify-content: space-around;
}

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

.cell-inner {
  width: 250px;
  padding: 10px 0;
  text-align: center;
}

.cell-inner-se {
  position: relative;
  width: 5%;
}

.cell-inner-se img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cell-inner-se .small-triangle {
  position: absolute;
  top: 30px;
  bottom: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 15px solid #EE3823;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
}

/* 商品券について */
.p-overview__table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 10rem;
}

.p-overview__table th {
  background: #EE3823;
  color: #fff;
  border-bottom: 1px solid #C8C8C8;
  width: 19%;
  text-align: center;
}

.p-overview__table tr:last-of-type th {
  border-bottom: 2px solid #EE3823;
}

.p-overview__table td {
  background: #fff;
  color: var(--text-black);
  border: 1px solid #C8C8C8;
  width: 81%;
  text-align: left;
}

.p-overview__table2 td {
    width: 27%;
}

.p-overview__table th,
.p-overview__table td {
  padding: 1.5rem 2rem;
  font-size: 1.6rem;
}

@media (max-width: 687px) {
  .cell-box {
    display: block;
    justify-content: space-around;
  }

  .cell-inner {
    width: 100%;
    text-align: center;
  }

  .cell-inner img {
    margin: auto;
  }

  .cell-inner-se {
    transform: rotate(90deg);
    position: relative;
    width: 100%;
    height: 30px;
  }
  .cell-inner-se .small-triangle{
    top: 0;
  }

    .p-overview__table th,
    .p-overview__table td {
        padding: 1.5rem 1.2rem;
    }
}

/*紙券での使用*/

.cpm {
  padding-top: 50px;
}

.cpm h2 {
  margin-bottom: 40px;
}

.heading--navy {
  color: var(--navy);
  position: relative;
  font-size: 3rem;
}

.heading--navy::before {
  bottom: -10px; /* 線の位置 */
  background-color: var(--navy); /* 線の色 */
  content: "";
  height: 2px; /* 線の高さ */
  left: 50%; /* 線の中央寄せ */
  position: absolute;
  transform: translateX(-50%); /* 線の中央寄せ */
  width: 50px; /* 線の長さ */
}

.cpm .p-howto__flow__text,
.cpm .p-howto__flow__img {
  width: 100%;
}

@media (max-width: 687px) {
  .how_to_settlement .flex {
    display: block;
  }

  .how_to_settlement .p-howto__flow__img {
    max-width: 300px;
    width: 100%;
    margin: auto;
  }

  .how_to_settlement .p-howto__flow__text {
    width: 100%;
  }

  .lead_pink.p-lh-fix {
    line-height: 1.3;
  }
}


/*商品券取扱店舗検索*/

.mb_1rem{
  margin-bottom: 1rem;
}

.shop_list_comment{
  font-size: 1.6rem;
}

.seach-box div{
  font-size: 1.4rem;
}

.seach-title{
  color: #EE3823;
  margin-bottom: 1rem;
}

.border_gray{
  border-bottom: #ccc 1px solid;
  width:100%;
  margin:2rem auto;
}

.shop_list_comment ul li{
  text-align: left;
  color: var(--text-black);
}

.seach-box{
  border:  #EE3823 2px solid;
  border-radius: 5px;
  text-align: left;
  margin-top:40px;
  padding:30px;
}

/*チェックボタンカスタム*/
.input_pink {
  cursor: pointer;
}
.check-text {
  /* チェックボックスとテキストの上下を中央に */
  align-items: center;
  display: flex;
}
.input_pink input {
  display: none; /* デフォルトのチェックボックスを非表示 */
}
.input_pink input + .check-text::before {
  background-image: url("/img/icon/check_before.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 17px;
  position: relative;
  width: 17px;
}
.input_pink input:checked + .check-text::before {
  background-image: url("/img/icon/check_after.svg");
}

.input_pink img{
  width: 18px;
}

.seach-box .radio_pink{
  accent-color: #EE3823;
}

.genre_selector label{
width: 305px;
  display: inline-block;
  line-height: initial;
}

.genre_selector label img{
  display: inline-block;
  margin:0 1rem;
}

.genre_selector label img.genre__icon--vertical{
  width: 14px;
  margin: 0 1.2rem;
}

.seach-howto label{
  display: inline-block;
  margin-top:1rem;
  margin-right:3rem;
  line-height: initial;
}

.seach-howto input{
    margin-right:1rem;
  }


.seach-box button{
  border: none;
}

.seach-box button.seach-btn{
  padding: 1rem 2rem;
  max-width: 400px;
  width:80%;
  line-height: normal;
  margin:40px auto;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 6px 0 0 rgb(206, 50, 84);
  background: #EE3823;
  letter-spacing	:	10px	;
}
.seach-box button.seach-btn:hover{
  cursor:pointer;
}

/*プルダウン*/
select{
  border: 1px solid #888888;
  border-radius: 2px;

}

@media (max-width: 720px) {
  .seach-box div{
    font-size: 1.8rem;
  }
  .seach-box p {
    font-size: 2rem;
  }
}

/* スライダー 3つ */

.howto_sub_title {
  color: #EE3823;
  font-size: 2.6rem;
  margin-bottom: 3rem;
}
.howborderbox hr {
  height: 1px;
  background-color: #707070;
  border: none;
  margin-top: 2rem;
}
.cell-box-3col {
  justify-content: flex-start;
}
.cell-box-3col .cell-inner-3col {
  width: 190px;
}
.picblock-6col .picwrwp {
  width: 147%;
}
@media (max-width: 720px) {
  .picblock-6col .picwrwp {
    width: 100%;
  }
  .cell-box-3col .cell-inner-3col {
    width: 100%;
  }
  .password hr,
  .login hr
   {
    width: 95%;
    margin: auto;
  }
}