.fs-l-pageMain {
  background-color: #c0c9ce;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}
.sp_only {
  display: none;
}

#valentine {
  max-width: 1200px;
  width:100%;
  margin: 0 auto;
  background-color: #c0c9ce;
  color: #2a2730;
}

#valentine .contents:not(:last-of-type) {
  margin-bottom: 20px;
}
.content_detail {
  margin-bottom: 60px;
}
.content_detail .inner {
  position: relative;
}

.content_detail_box {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background-color: #ebeae8;
    padding: 50px 110px;
}

.content_detail_box ::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 40px 0 0;
  border-color: #4857a0 transparent transparent transparent;
}

.content_detail_box ::after {
  position: absolute;
  bottom: 0;
  right: 0;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 40px;
  border-color: transparent transparent #4857a0 transparent;
}

.content_detail_head {
  margin-bottom: 30px;
  font-size: 40px;
  color:#4857a0;
  letter-spacing: 0.01em;
  text-align: left;
  font-family: interstate-condensed, sans-serif;
  font-weight: 500;
  font-style: normal;
}
.content_detail_text {
    font-size: 14px;
    font-family: "Noto Sans CJK JP";
    line-height: 1.571;
    text-align: left;
}
.contents {
  max-width: 900px;
  margin: 0 auto;
  background-color: #fff;
}

.contents .inner {
  padding: 60px 90px;
}

.gift_name {
  margin-bottom: 60px;
    padding-left: 20px;
    border-left: 4px solid #4857a0;
    font-size: 26px;
    font-family: "Noto Sans CJK JP";
    line-height: 1.077;
    letter-spacing: 0.01em;
    text-align: left;
}
.gift_images {
  margin-bottom: 87px;
}
.gift_info {
  position: relative;
  border-left: 1px solid #c0c9ce;
  border-right: 1px solid #c0c9ce;  
  border-bottom: 1px solid #c0c9ce;
  margin-bottom: 40px;
  padding: 47px 0 40px 87px;
}

.gift_info::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 140px;
  height: 1px;
  background-color:#c0c9ce;
}

.gift_info::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 140px;
  height: 1px;
  background-color: #c0c9ce;
}

.gift_info_comment {
  width: 100%;
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  font-family: "Noto Sans CJK JP";
  color: rgb(0, 0, 0);
  line-height: 1.3;
  text-align: center;
  letter-spacing: -0.02em;
}
.gift_info_comment-blue {
  font-size: 160%;
  color: #4857a0;
  letter-spacing: 0.05em;
  font-weight: bold;
}
.gift_info_explanation {
  display: table;
}

.gift_info_explanation_head {
  display: table-cell;
  text-align: center;
  padding: 0 8px;
  background-color: #ebeae8;
  font-size: 16px;
  font-family: "Noto Sans CJK JP";
  line-height: 1.5;
  vertical-align: middle;
}
.gift_info_explanation_head span {
  display: block;
}

.gift_info_explanation_detail {
  display: table-cell;
  padding-left: 20px;
  font-size: 14px;
  font-family: "Noto Sans CJK JP";
  line-height: 1.714;
  text-align: left;
}
.gift_info_explanation_list {
  list-style-type: none;
}
.gift_info_explanation_list_item:not(:first-of-type) {
  margin-top: 1em;
}
.gift_info_explanation_attention {
  margin-top: 0.5em;
  display: block;
  font-size: 80%;
  color: #c0c9ce;
}
#valentine .more_button {
  position: relative;
  margin: 0 auto;
  display: block;
  max-width: 400px;
  width: 100%;
  height: 60px;
  line-height: 60px;
  text-align: center;
  color: #fff;
  border-radius: 5px;
  background-color: #4857a0;
  font-size: 18px;
  font-family: "Noto Sans CJK JP";
  letter-spacing: 0.05em;
}
#valentine .more_button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  width: 9px;
  height: 9px;
  transform: rotate(45deg) translateY(-50%);
}

#valentine .more_button-big {
  max-width: 720px;
  width: 100%;
  margin: 40px auto 80px;
  background-color: #2a2730;
  letter-spacing: 0.05em;
}

#gift02 .gift_info_comment{
  top: -25px;
  line-height: 1;
}

#gift02 .gift_info::before,
#gift02 .gift_info::after {
  width: 45px;
}

#gift03 .gift_info_comment{
  top: -20px;
  line-height: 1;
}

#gift03 .gift_info::before,
#gift03 .gift_info::after {
  width: 30px;
}

.gift_2col {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  list-style-type: none;
}

.gift_2col .gift_2col_item {
  width: 47%;
  margin-bottom: 50px;
}

.gift_2col .gift_2col_item .item_thumbnail {
  display: block;
  overflow: hidden;
  border: 1px solid #e5eaed;
  margin-bottom: 10px;
}
.gift_2col .gift_2col_item .item_thumbnail img {
  transition: transform .2s ease-in;
}

.gift_2col .gift_2col_item .item_thumbnail:hover img {
  transform: scale(1.05);
}

.gift_2col .gift_2col_item .item_name {
    margin-bottom: 22px;
    font-size: 14px;
    font-family: "Noto Sans CJK JP";
    color: rgb(42, 39, 48);
    line-height: 1.143;
    letter-spacing: .01em;
}

.gift_2col .gift_2col_item:nth-last-of-type(1),
.gift_2col .gift_2col_item:nth-last-of-type(2) {
  margin-bottom: 0;
}

#valentine .gift_2col .more_button {
  width: 100%;
}

@media screen and (max-width:1200px) {
  #valentine {
    max-width: 100vw;
    width:100%;
  }
  
  #valentine .contents:not(:last-of-type) {
    margin-bottom: 1.667vw;
  }
  
  .content_detail_box {
      padding: 4.167vw 9.167vw;
  }
  
  .content_detail_box ::before{
    border-width: 3.333vw 3.333vw 0 0;
  }
  
  .content_detail_box ::after {
    border-width: 0 0 3.333vw 3.333vw;
  }
  
  .content_detail_head {
    margin-bottom: 2.5vw;
    font-size: 3.333vw;
    letter-spacing: 0.01em;
  }
  .content_detail_text {
      font-size: 1.167vw;
  }
  .contents .inner {
    padding: 5vw 7.5vw;
  }
  
  .gift_name {
    margin-bottom: 5vw;
      padding-left: 1.667vw;
      border-left: 4px solid #4857a0;
      font-size: 2.167vw;
      letter-spacing: 0.01em;
  }
  .gift_images {
    margin-bottom: 7.25vw;
  }
  .gift_info {
    margin-bottom: 3.333vw;
    padding: 3.917vw 0 3.333vw 7.25vw;
  }
  
  .gift_info::before {
    width: 11.667vw;
    height: 0.083vw;
  }
  
  .gift_info::after {
    width: 11.667vw;
    height: 0.083vw;
  }
  
  .gift_info_comment {
    width: 100%;
    top: -3.167vw;
    transform: translateX(-50%);
    font-size: 1.667vw;
    line-height: 1.3;
  }
  .gift_info_comment-blue {
    font-size: 160%;
    color: #4857a0;
    letter-spacing: 0.05em;
    font-weight: bold;
  }
  .gift_info_explanation {
    display: table;
  }
  
  .gift_info_explanation_head {
    display: table-cell;
    text-align: center;
    padding: 0 0.667vw;
    background-color: #ebeae8;
    font-size: 1.333vw;
    font-family: "Noto Sans CJK JP";
    line-height: 1.5;
  }
  
  .gift_info_explanation_detail {
    padding-left: 1.667vw;
    font-size: 1.167vw;
  }

  #valentine .more_button {
    max-width: 33.333vw;
    height: 5vw;
    line-height: 5vw;
    font-size: 1.5vw;
  }
  #valentine .more_button::after {
    right: 1.667vw;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    width: 0.75vw;
    height: 0.75vw;
  }
  
  #valentine .more_button-big {
    max-width: 60vw;
    width: 100%;
    margin: 40px auto 80px;
    letter-spacing: 0.05em;
  }
  
  #gift02 .gift_info_comment{
    top: -1.667vw;
  }
  
  #gift02 .gift_info::before,
  #gift02 .gift_info::after {
    width: 3.75vw;
  }
  
  #gift03 .gift_info_comment{
    top: -1.667vw;
  }
  
  #gift03 .gift_info::before,
  #gift03 .gift_info::after {
    width: 2.5vw;
  }

  .gift_2col .gift_2col_item {
    margin-bottom: 4.167vw;
  }
  
  .gift_2col .gift_2col_item .item_thumbnail {
    margin-bottom: 0.833vw;
  }
 
}

@media screen and (max-width:640px) {

  .sp_only {
    display: block;
  }
  
  #valentine .contents {
    width: 95%;
  }
  #valentine #gift01 {
    margin-top: 40px;
  }
  #valentine .contents:not(:last-of-type) {
    margin-bottom: 40px;
  }
  
  .content_detail {
    margin-bottom: 0;
  } 

  .content_detail_box {
      position: relative;
      max-width: 900px;
      margin: 0 auto;
      padding: 5% 10%;
  }
  
  .content_detail_box ::before{
    border-width: 20px 20px 0 0;
  }
  
  .content_detail_box ::after {
    border-width: 0 0 20px 20px;
  }
  
  .content_detail_head {
    margin-bottom: 30px;
    font-size: 25px;
  }
  .content_detail_text {
      font-size: 12px;
      line-height: 1.6;
  }
  
  .contents .inner {
    padding: 5% 6%;
  }
  
  .gift_name {
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 4px solid #4857a0;
    font-size: 18px;
    line-height: 1.5;
  }
  .gift_images {
    margin-bottom: 57px;
  }
  .gift_info {
    margin-bottom: 40px;
    padding: 15% 5%;
  }
  
  .gift_info::before {
    width: 5%;
  }
  
  .gift_info::after {
    width: 5%;
  }
  
  .gift_info_comment {
    width: 100%;
    font-size: 14px;
    top: -28px;
    line-height: 1.25 !important;
  }
  .gift_info_explanation {
    display: block;
  }
  
  .gift_info_explanation_head {
    display: block;
    text-align: center;
    padding: 0 8px;
    background-color: #ebeae8;
    font-size: 16px;
    font-family: "Noto Sans CJK JP";
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .gift_info_explanation_head span {
    display: inline-block;
  }
  
  .gift_info_explanation_detail {
    padding-left: 0;
    font-size: 14px;
    font-family: "Noto Sans CJK JP";
    line-height: 1.714;
    text-align: left;
  }
  .gift_info_explanation_list {
    list-style-type: none;
  }
  .gift_info_explanation_list_item:not(:first-of-type) {
    margin-top: 1em;
  }
  .gift_info_explanation_attention {
    margin-top: 0.5em;
    display: block;
    font-size: 80%;
    color: #c0c9ce;
  }
  #valentine .more_button {
    position: relative;
    margin: 0 auto;
    display: block;
    max-width: 400px;
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    background-color: #4857a0;
    font-size: 18px;
    font-family: "Noto Sans CJK JP";
    letter-spacing: 0.05em;
  }
  #valentine .more_button::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    width: 9px;
    height: 9px;
    transform: rotate(45deg) translateY(-50%);
  }
  
  #valentine .more_button-big {
    max-width: 720px;
    width: 95%;
    margin: 40px auto 80px;
    background-color: #2a2730;
    letter-spacing: 0.05em;
    font-size: 16px;
    height: auto;
    padding: 10px;
  }
  
  #valentine .more_button-big::after {
    display: none;
    
  }

  #gift02 .gift_info_comment{
    top: -20px;
  }
  
  #gift02 .gift_info::before,
  #gift02 .gift_info::after {
    width: 45px;
  }
  
  #gift03 .gift_info_comment{
    top: -25px;
  }
  
  #gift03 .gift_info::before,
  #gift03 .gift_info::after {
    width: 30px;
  }
  
  .gift_2col {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    list-style-type: none;
  }
  
  .gift_2col .gift_2col_item {
    width: 47%;
    margin-bottom: 50px;
  }
  
  .gift_2col .gift_2col_item .item_thumbnail {
    display: block;
    overflow: hidden;
    border: 1px solid #e5eaed;
    margin-bottom: 10px;
  }
  .gift_2col .gift_2col_item .item_thumbnail img {
    transition: transform .2s ease-in;
  }
  
  .gift_2col .gift_2col_item .item_thumbnail:hover img {
    transform: scale(1.05);
  }
  
  .gift_2col .gift_2col_item .item_name {
      margin-bottom: 22px;
      font-size: 14px;
      font-family: "Noto Sans CJK JP";
      color: rgb(42, 39, 48);
      line-height: 1.143;
      letter-spacing: .01em;
  }
  
  .gift_2col .gift_2col_item:nth-last-of-type(1),
  .gift_2col .gift_2col_item:nth-last-of-type(2) {
    margin-bottom: 0;
  }
  
  #valentine .gift_2col .more_button {
    width: 100%;
    font-size: 12px;
  }

}

@media screen and (max-width:375px) {

  .gift_name {
    font-size: 16px;
  }

}

@media screen and (max-width:320px) {
  .gift_name {
    font-size: 15px;
  }
  .gift_info_comment {
    font-size: 13px;
  }

  .gift_info_comment-blue {
    font-size:140%;
  }
  .gift_info_explanation_detail {
    font-size: 12px;
  }
  #valentine .more_button::after {
    right: 15px;
    width: 7px;
    height: 7px;
  }

}