@charset "utf-8";

body {
  padding: 0;
  margin: 0;
  /* overflow: hidden; */
  font-family: Helvetica, helvetiva neue, san-serif, HiraKakuPro-W3,
    Hiragino Kaku Gothic Pro, "ヒラギノ角ゴ Pro W3", "osaka", "メイリオ",
    "Meiryo", "ＭＳ Ｐゴシック";
}

#pamad__anchor-ad {
  padding: 18px 28px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #666666;
  height: 110px;
}

.pamad__anchor-ad__inner {
  line-height: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.pamad__anchor-ad__head {
  margin: 6px 0 10px;
  font-size: 18px;
  line-height: 1.4;
  color: #333333;
}

.pamad__anchor-ad__text {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
}

.pamad__anchor-ad__inner > * {
  width: 100%;
}

.pamad__anchor-ad__button a {
  position: relative;
  width: 100%;
  height: 36px;
  background: #f08300;
  color: #fff;
  padding: 6px 27px 2px 5%;
  font-size: 16px;
  display: -ms-flexbox;
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  justify-content: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  text-decoration: none;
  vertical-align: middle;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  border-radius: 4px;
}

.pamad__anchor-ad__button a:hover {
  background-color: #ffeed9;
  color: #f08300;
}

.pamad__anchor-ad__button a::after {
  content: "";
  width: 14px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  position: absolute;
  right: 5%;
  top: 32%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@media (max-width: 400px) {
  .pamad__anchor-ad__head,
  .pamad__anchor-ad__text,
  .pamad__anchor-ad__button a {
    font-size: 4.5vw;
  }

  #pamad__anchor-ad {
    padding: 12px 10px;
  }
}

.rc_pamad_pr {
  text-align: center;
  margin: 70px 0 50px;
}

/*-----SPバナー表示サイズ調整-----*/
#sp_bnr01 {
  margin: 0 auto;
  width: 100%;
  text-align: center;
}
#sp_bnr01 a {
  display: block;
}
#sp_bnr01 a:hover {
  opacity: 1;
}
#sp_bnr01 a img {
  width: 100%;
  height: auto;
  max-width: 300px;
}

/*-----PCバナー表示調整-----*/
#pc_bnr01 a {
  display: block;
}
#pc_bnr01 a:hover {
  opacity: 0.7;
}

/* =========================================================
 パムアドオーバーレイ広告用
========================================================= */

.p-article__contents--free .pamad__anchor-ad__wrapper iframe {
  height: auto;
}

.pamad__anchor-ad__wrapper {
  margin: 0 auto;
  text-align: right;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1280px;
  transition: 0.5s;
  z-index: 1000;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: -webkit-transform 150ms ease-out;
  transition: -webkit-transform 150ms ease-out;
  transition: transform 150ms ease-out;
  transition: transform 150ms ease-out, -webkit-transform 150ms ease-out;
  will-change: transform;
  display: none;
}

.pamad__anchor-ad__wrapper.\--adHide {
  -webkit-transform: translateY(200px);
  transform: translateY(200px);
  -webkit-transition: -webkit-transform 300ms ease-out;
  transition: -webkit-transform 300ms ease-out;
  transition: transform 300ms ease-out;
  transition: transform 300ms ease-out, -webkit-transform 300ms ease-out;
}

.p-article__contents--free .pamad__anchor-ad__iframe {
  width: 420px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  margin-bottom: -8px;
  max-height: 110px;
}

.pamad__close {
  position: absolute;
  top: 0;
  right: 394px;
  cursor: pointer;
  background: #aaa;
  line-height: 24px;
  color: #fff;
  width: 26px;
  height: 26px;
  box-sizing: border-box;
  text-align: center;
  font-size: 20px;
}

@media (max-width: 400px) {
  .pamad__anchor-ad__wrapper.\--adHide {
    -webkit-transform: translateY(140px);
    transform: translateY(140px);
    transition: transform 300ms ease-out, -webkit-transform 300ms ease-out;
  }

  .p-article__contents--free .pamad__anchor-ad__iframe {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    margin-bottom: -8px;
    height: 110px;
  }

  .pamad__close {
    position: absolute;
    top: -30px;
    left: 0;
    background: #aaa;
    line-height: 0;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
  }
}

.l-side__ads_wrapper {
  /* border: 1px dashed #ccc;
  background-color: #eee; */
  margin: 0 auto 20px;
  padding: 0;
  width: 100%;
  max-width: 300px;
  overflow-x: hidden;
}

.l-side__ads_wrapper iframe {
  width: 100%;
}

.my_adslot {
  display: inline-block;
  width: 300px;
}

@media (min-width: 340px) {
  .my_adslot {
    display: inline-block;
    width: 300px;
  }
}

/*広告デザイン01*/
.adparts01 {
  margin-top: 2em;
  border: 2px solid #bedef3;
  padding: 1.5em;
}

.adparts01__title {
  border: none;
  text-align: center;
  margin: 1em 0 1em !important;
}

.p-article__contents--free {
  counter-reset: count-number-h2;
}

.p-article__contents--free h2:not(.adparts01__title)::before {
  content: counter(count-number-h2) ". ";
  counter-increment: count-number-h2;
  margin-right: 0.5em;
  display: inline-block;
}

.p-article__contents--free h2.adparts01__title::before {
  content: none;
}

.p-article__contents--free h2.adparts01__title:after {
  background: none;
}

.adparts01__image {
  width: 80%;
  margin: 0 auto 1em;
}

.adparts01__text {
}

.adparts01__btn {
  margin: 1em;
  text-align: right;
  margin-top: 1em;
}

.adparts01__btn a {
  background: #bedef3;
  padding: 0.5em 1.5em 0.5em 1em; /* border-radius:15px 15px; */
  text-decoration: none;
  color: #003894;
  height: 2em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.adparts01__btn a::before {
  content: "";
  border-width: 0.6em;
  border-style: solid;
  border-color: #ffffff #ffffff transparent transparent;
  width: 0;
  height: 0;
  display: inline-block;
  margin-left: 0.3em;
  position: absolute;
  top: 0;
  right: 0;
}

.adparts01__btn a::after {
  content: "";
  border-width: 0.6em;
  border-style: solid;
  border-color: transparent #ffffff #ffffff transparent;
  width: 0;
  height: 0;
  display: inline-block;
  margin-left: 0.3em;
  position: absolute;
  bottom: 0;
  right: 0;
}

/* 広告デザイン02*/
.adparts02 {
  margin-top: 2em;
  border-radius: 1.5em;
  background: #e9f1f6;
  padding: 1.5em;
}

.adparts02__title {
  border: none;
  text-align: center;
  margin: 1em 0 1em !important;
}

.p-article__contents--free {
  counter-reset: count-number-h2;
}

.p-article__contents--free h2:not(.adparts01__title)::before {
  content: counter(count-number-h2) ". ";
  counter-increment: count-number-h2;
  margin-right: 0.5em;
  display: inline-block;
}

.p-article__contents--free h2.adparts02__title::before {
  content: none;
}

.p-article__contents--free h2.adparts02__title:after {
  background: none;
}

.adparts02__image {
  width: 80%;
  margin: 0 auto 1em;
}

.adparts02__image img {
  border-radius: 5px;
}
.adparts02__text {
}

.adparts02__btn {
  /* margin: 1em; */
  text-align: right;
  margin-top: 1.5em;
}

.adparts02__btn a {
  background: #85caf6;
  padding: 0.5em 1em;
  border-radius: 15px 15px;
  text-decoration: none;
  color: #ffffff;
  display: inline-block;
}

.adparts02__btn a::after {
  content: "";
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-left: 0.3em;
}
/*広告デザイン03*/
.adparts03 {
  margin-top: 2em;
  border-top: 1px solid #ccc;
  padding-top: 2em;
}

.adparts03__title {
  border: none;
  margin: 1em 0 1em !important;
}

.p-article__contents--free {
  counter-reset: count-number-h2;
}

.p-article__contents--free
  h2:not(.adparts01__title):not(.adparts02__title):not(.adparts03__title)::before {
  content: counter(count-number-h2) ". ";
  counter-increment: count-number-h2;
  margin-right: 0.5em;
  display: inline-block;
}

.p-article__contents--free h2.adparts03__title::before {
  content: none;
}

.p-article__contents--free h2.adparts03__title:after {
  background: none;
}

.adparts03__image {
  width: 100%;
  margin: 0 auto 1em;
}

.adparts03__text {
}

.adparts03__btn {
  margin: 2em;
  text-align: center; /* margin-top: 1em; */
}

.adparts03__btn a {
  font-size: 1.2em;
  background: #003894;
  padding: 0.7em 1em;
  border-radius: 15px 15px;
  text-decoration: none;
  color: #ffffff;
  display: inline-block;
}

.adparts03__btn a::after {
  content: "";
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-left: 0.3em;
}

/*ボトム広告*/
#bottom-box {
  position: fixed;
  bottom: -150px;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  color: #333333;
  text-align: center;
  padding: 20px 40px;
  box-sizing: border-box;
  transition: bottom 0.5s ease;
  z-index: 1000;
  box-shadow: -3px -3px 10px rgba(0, 0, 0, 0.3);
}
#bottom-box.show {
  bottom: 0;
}
#close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
}

.bottom_btn {
  margin: 0 !important;
}
.bottom_btn a {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  background-color: #d8821f;
  padding: 0.5em 1em;
  border-radius: 8px;
}

.bottom_btn a::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
  margin-left: 5px;
}

/*リスト広告*/

.li_ad__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  margin-top: 50px;
}
.li_ad__item {
  display: flex;
  /* flex-direction: column; */
  width: 100%;
  margin-bottom: 15px;
  justify-content: space-between;
}

@media screen and (min-width: 768px) {
  .li_ad__item:nth-child(2n-1) {
    margin-right: 0;
  }
}

.li_ad__link {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.li_ad__image {
  border-radius: 5px;
  overflow: hidden;
  width: 100px;
}

.li_ad__image img {
  width: 100%;
  object-fit: cover;
  max-height: 300px;
  height: 100%;
  aspect-ratio: 4/3;
}

.li_ad__text-wrap {
  /* font-size: 1em !important; */
  margin: 10px 0 !important;
  width: calc(100% - 115px);
}

.li_ad__text {
  font-size: 1em !important;
  margin: 0 !important;
}

.li_ad__text::before {
  content: "PR";
  display: block;
  border: 1px solid #999999;
  margin: 0 0 2px;
  padding: 1px 2px;
  line-height: 1em;
  color: #999999;
  font-size: 10px;
  border-radius: 2px;
  width: 2em;
  text-align: center;
}

.li_ad__site {
  margin-top: 0.2em !important;
  font-size: 0.8em !important;
  color: #999999;
}

@media screen and (max-width: 767px) {
  .li_ad__item {
    /* display: block; */
    width: 100%;
  }

  .li_ad__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .li_ad__image {
    width: 100px;
  }

  .li_ad__image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
  }

  .li_ad__text-wrap {
    width: calc(100% - 110px);
    margin: 0 !important;
  }
}
