/* COMMON */
#rakuten .clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
#rakuten *,
#rakuten *:before,
#rakuten *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
#rakuten * {
  font-family: sans-serif;
  color: #000;
  text-align: center;
}
#rakuten ul,
#rakuten li,
#rakuten p,
#rakuten h1,
#rakuten h2,
#rakuten h3 {
  margin: 0;
  padding: 0;
  list-style: none;
}
#rakuten img {
  vertical-align: bottom;
}

@media screen and (min-width: 640px) {
  #rakuten .pc {
    display: block !important;
  }
  #rakuten .sp {
    display: none !important;
  }
  #rakuten a:hover img {
    opacity: 0.6 !important;
    filter: alpha(opacity=60);
    -moz-opacity: 0.6;
  }
}

@media screen and (max-width: 639px) {
  #rakuten .pc {
    display: none !important;
  }
  #rakuten .sp {
    display: block !important;
  }
  #rakuten img {
    vertical-align: bottom;
    max-width: 100%;
  }
  .hd_news {
    margin: 0 16px !important;
  }
}

/* mv */
#rakuten #mv {
  width: 100%;
  max-height: 400px;
  background: url(https://www.linkshare.ne.jp/wp-content/uploads/2024/09/mv_bg.jpg) no-repeat center top;
  background-size: 100% 100%;
}
#rakuten h1 {
  max-width: 1200px;
  text-align: center;
  margin: 0 auto;
}

@media screen and (max-width: 639px) {
  #rakuten #mv {
    background: none;
    height: auto;
  }
  #rakuten h1 {
    max-width: 100%;
  }
}

/* note */
#rakuten #note {
  width: 35em;
  margin: 25px auto;
}
#rakuten #note li {
  height: 25px;
  text-align: left !important;
  padding-left: 55px;
  margin-bottom: 5px;
  font-size: 14px;
}
#rakuten #note li:nth-child(1) {
  background: url(https://www.linkshare.ne.jp/wp-content/uploads/2024/09/icon_ls.png) no-repeat left top;
}
#rakuten #note li:nth-child(2) {
  background: url(https://www.linkshare.ne.jp/wp-content/uploads/2024/09/icon_tg.png) no-repeat left top;
}
#rakuten #note li:nth-child(3) {
  background: url(https://www.linkshare.ne.jp/wp-content/uploads/2024/09/icon_mono.png) no-repeat left top;
}
#rakuten #note li span {
  color: #bf0000;
  font-weight: bold;
}

@media screen and (max-width: 639px) {
  #rakuten #note {
    width: 100%;
    padding: 0 1%;
    overflow: hidden;
  }
  #rakuten #note li {
    height: 1.8em;
    text-align: left !important;
    padding-left: 12%;
    margin-bottom: 1%;
    font-size: 12px;
    max-width: 100%;
    overflow: hidden;
  }
  #rakuten #note li:nth-child(1) {
    background: url(https://www.linkshare.ne.jp/wp-content/uploads/2024/09/icon_ls.png) no-repeat left top;
    background-size: contain;
  }
  #rakuten #note li:nth-child(2) {
    background: url(https://www.linkshare.ne.jp/wp-content/uploads/2024/09/icon_tg.png) no-repeat left top;
    background-size: contain;
  }
  #rakuten #note li:nth-child(3) {
    background: url(https://www.linkshare.ne.jp/wp-content/uploads/2024/09/icon_mono.png) no-repeat left top;
    background-size: contain;
  }
  #rakuten #note li span {
    color: #bf0000;
    font-weight: bold;
  }
}

/* advertiser */
#rakuten #advertiser {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#rakuten #advertiser li {
  width: 550px;
  margin-right: 100px;
  margin-bottom: 40px;
}
#rakuten #advertiser li:nth-child(2n) {
  margin-right: 0 !important;
}
#rakuten #advertiser .flag {
  width: 100%;
  text-align: left;
  display: flex;
  flex-wrap: nowrap;
}
#rakuten #advertiser .flag div {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 6px 7px;
  margin-right: 10px;
  width: 4em;
}
#rakuten #advertiser .flag .ls {
  background-color: #bf0000;
  border-radius: 4px 4px 0 0;
}
#rakuten #advertiser .flag .tg {
  background-color: #219cd2;
  border-radius: 4px 4px 0 0;
}
#rakuten #advertiser .flag .mono {
  background-color: #333;
  border-radius: 4px 4px 0 0;
}
#rakuten #advertiser .adbox {
  width: 100%;
  border: 1px #333 solid;
  padding: 20px;
}
#rakuten #advertiser .adbox.mono {
  background-color: #fee5e5;
  border: 4px #333 solid;
}
#rakuten #advertiser h2 {
  font-size: 24px;
  font-weight: bold;
  color: #bf0000;
  margin-bottom: 20px;
}
#rakuten #advertiser .adtxt {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  text-align: left;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px #aaa solid;
}
#rakuten #advertiser .belowBox {
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: nowrap;
}
#rakuten #advertiser .details {
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  text-align: left;
}
#rakuten #advertiser .logo {
  width: 120px;
  margin-left: auto;
}
#rakuten #advertiser .logo img {
  width: 120px !important;
  max-width: inherit !important;
}
#rakuten #advertiser .adbox a {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  background-color: #bf0000;
  border-radius: 8px;
  padding: 15px 10px;
  width: 100%;
  display: block;
  text-decoration: none;
}

@media screen and (max-width: 639px) {
  #rakuten #advertiser {
    width: 100%;
  }
  #rakuten #advertiser li {
    width: 98%;
    display: block;
    margin: 0 auto 5%;
  }
  #rakuten #advertiser li:nth-child(2n) {
    margin-right: auto !important;
  }
  #rakuten #advertiser .flag {
    width: 100%;
    text-align: left;
    display: flex;
    flex-wrap: nowrap;
  }
  #rakuten #advertiser .flag div {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 1% 2%;
    margin-right: 2%;
    width: 4em;
  }
  #rakuten #advertiser .flag .ls {
    background-color: #bf0000;
    border-radius: 4px 4px 0 0;
  }
  #rakuten #advertiser .flag .tg {
    background-color: #219cd2;
    border-radius: 4px 4px 0 0;
  }
  #rakuten #advertiser .flag .mono {
    background-color: #333;
    border-radius: 4px 4px 0 0;
  }
  #rakuten #advertiser .adbox {
    width: 100%;
    border: 1px #333 solid;
    padding: 3%;
  }
  #rakuten #advertiser h2 {
    font-size: 18px;
    font-weight: bold;
    color: #bf0000;
    margin-bottom: 3%;
  }
  #rakuten #advertiser .adtxt {
    font-size: 12px;
    line-height: 1.6;
    color: #333;
    text-align: left;
    padding-bottom: 3%;
    margin-bottom: 3%;
    border-bottom: 1px #aaa solid;
  }
  #rakuten #advertiser .belowBox {
    width: 100%;
    margin-bottom: 3%;
    display: flex;
    flex-wrap: nowrap;
  }
  #rakuten #advertiser .details {
    font-size: 12px;
    line-height: 1.4;
    color: #333;
    text-align: left;
    padding-right: 2%;
    max-width: 70%;
  }
  #rakuten #advertiser .logo {
    max-width: 30%;
    margin-left: auto;
  }
  #rakuten #advertiser .logo img {
    max-width: 100% !important;
  }
  #rakuten #advertiser .adbox a {
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    background-color: #bf0000;
    border-radius: 8px;
    padding: 3%;
    width: 100%;
    display: block;
    text-decoration: none;
  }
}
