@charset "Shift_JIS";
#RelatedLinks * {
 box-sizing: border-box;
}
#RelatedLinks a {
 color: #ffffff;
 text-decoration: none;
}

/**/
#RelatedLinks {
 background-color: #ffffff;
 text-align: center;
 padding: 60px 0 65px;
}
#RelatedLinks .bg {
 background-color: #F4EDD9;
 text-align: center;
 padding: 70px 0 50px;
 margin: 0 auto;
}
#RelatedLinks h2.title {
 background: none;
 padding: 0;
 margin: 0;
 border: none;
 color: #333333;
 font-weight: bold;
 text-align: center;
}

/* tab */
#RelatedLinks .tab {
 display: flex;
 justify-content: space-between;
 width: 675px;
 margin-top: 30px;
 margin-left: auto;
 margin-right: auto;
}
#RelatedLinks .tab .item {
 width: 300px;
 height: 160px;
 background-color: #998675;
 padding: 0.5em;
 border-radius: 15px;
 color: #ffffff;
 cursor: pointer;
}
#RelatedLinks .tab .item:hover, 
#RelatedLinks .tab .item.current {
 background-color: #736357;
}
#RelatedLinks .tab img {
 width: 154px;
  max-width: 100%;
 display: inline-block;
}
/* tab_content */
#RelatedLinks .tab_content {
 display: none;
 position: relative;
 max-width: 1155px;
 padding: 65px 15px 0;
 margin-right: auto;
 margin-left: auto;
}
#RelatedLinks .tab_content ul {
 min-height: 260px;
 text-align: left;
 /* padding: 35px 75px;*/
 padding: 2em 4.5em;
 background-color: #ffffff;
 background-repeat: no-repeat;
 position: relative;
}
/* tab_content > bg */
#RelatedLinks .tab_content.column ul {
 background-image: url("/anniversary/image/relatedlink_column_bg.png");
 background-size: 253px 182px;
 background-position: right 58px center;
}
#RelatedLinks .tab_content.case ul {
 background-image: url("/anniversary/image/relatedlink_case_bg.png");
 background-size: auto 182px;
 background-position: right 86px center;
}
/* tab_content > arrow */
#RelatedLinks .tab_content ul::before {
 content: "";
 display: block;
 width: 0;
 height: 0;
 border-right: 35px solid transparent;
 border-bottom: 35px solid #ffffff;
 border-left: 35px solid transparent;
 position: absolute;
 top: -35px;
}
#RelatedLinks .tab_content.column ul::before {
 right: calc(50% + 150px);
}
#RelatedLinks .tab_content.case ul::before {
 left: calc(50% + 150px);
}
/* tab_content > icon調整 */
#RelatedLinks .LinkListStyle1 li:not(:first-child) {
 margin: 10px 0 0 0;
}
#RelatedLinks .LinkListStyle1 a {
 color: #333333;
 text-decoration: underline;
 padding: 0 38px 0 0;
}
#RelatedLinks .LinkListStyle1 a:link, 
#RelatedLinks .LinkListStyle1 a:visited {
 background-size: 28px 28px;
 -webkit-background-size: 28px 28px;
 background-position: right center;
}
/* close_btn */
#RelatedLinks .close_btn {
 content: "";
 display: block;
 width: 20px;
 height: 20px;
 background-color: transparent;
 background-image: url("/anniversary/image/relatedlink_closebtn.png");
 background-repeat: no-repeat;
 background-size: 20px 20px;
 position: absolute;
 top: 80px;
 right: 35px;
 border: 0;
 cursor: pointer;
}
/* related_links_nav */
#RelatedLinks .related_links_nav {
 background-color: #000000;
}
#RelatedLinks .related_links_nav ul {
 display: flex;
 justify-content: space-between;
 width: 675px;
 margin-left: auto;
 margin-right: auto;
 /*padding: 10px 15px;*/
 padding: 0.6em 1em;
}
#RelatedLinks .related_links_nav ul a {
 padding-right: 30px;
 background: url("/image/jp/r1/icon/icon_link_right_white_hd.gif") no-repeat right center;
 background-size: 28px 28px;
}
@media screen and (min-width: 995px) and (max-width: 1304px){
  #RelatedLinks {
  margin-right: -15px;
  margin-left: -15px;
 }
}
@media screen and (min-width: 995px) and (max-width: 1185px) {/*max-width: 1155px;のため*/
  /* tab_content */
#RelatedLinks .tab_content {
 margin-right: 15px;
 margin-left: 15px;
}
}
@media screen and (max-width: 994px) {

}
@media screen and (max-width: 767px) {
#RelatedLinks {
 padding: 35px 0 65px;
}
#RelatedLinks .bg {
 padding: 55px 0 50px;
}

 /* tab */
 #RelatedLinks .tab {
  width: calc(100% - 30px);
  margin-top: 24px;
 }
 #RelatedLinks .tab .item {
  width: calc((100% - 15px) / 2);
  height: auto;
 }

 /* tab_content */
 #RelatedLinks .tab_content {
  padding: 55px 15px 0;
 }
 #RelatedLinks .tab_content ul {
  padding: 2em 3em;
 }
 
 /* tab_content > bg */
 #RelatedLinks .tab_content.column ul, 
#RelatedLinks .tab_content.case ul {
  background-position: center;
  padding: 2em 3.5em;
 }
 
 /* tab_content > arrow */
 #RelatedLinks .tab_content ul::before {
  border-right: 28px solid transparent;
  border-bottom: 28px solid #ffffff;
  border-left: 28px solid transparent;
  top: -28px;
 }
 #RelatedLinks .tab_content.column ul::before {
  right: 70%;
 }
 #RelatedLinks .tab_content.case ul::before {
  left: 70%;
 }
 
 /* tab_content > icon調整 */
 #RelatedLinks .LinkListStyle1 a {
  padding: 0 32px 0 0;
 }
 #RelatedLinks .LinkListStyle1 a:link, 
#RelatedLinks .LinkListStyle1 a:visited {
  background-size: 22px 22px;
  -webkit-background-size: 22px 22px;
 }

 /* close_btn */
 #RelatedLinks .close_btn {
  top: 70px;
 }

 /* related_links_nav */
 #RelatedLinks .related_links_nav ul {
  display: block;
  width: 100%;
 }
 #RelatedLinks .related_links_nav ul a {
  padding-right: 26px;
  background-size: 24px 24px;
 }
}

/* フォントサイズまとめて設定
----------------------------------------------*/
#RelatedLinks h2.title {
 /*font-size: 1.375rem;*/
 font-size: 22px;
}
#RelatedLinks .tab p,
#RelatedLinks .tab_content ul {
 /*font-size: 1.25rem;*/
 font-size: 20px;
}
#RelatedLinks .related_links_nav ul {
 /*font-size: 1.125rem;*/
 font-size: 18px;
}
@media screen and (max-width: 767px) {
 #RelatedLinks h2.title {
  font-size: 18px;
 }
 #RelatedLinks .tab p,
 #RelatedLinks .tab_content ul {
  font-size: 16px;
 }
 #RelatedLinks .related_links_nav ul {
  font-size: 14px;
 }
}
