img {
  vertical-align: bottom;
  height: auto;
}
.imabari h2 {
  text-align: center;
  background-color: #f7f7f4;
  margin: 100px auto 50px;
  box-shadow: 0px 0px 0px 7px #f7f7f4;
  border-top: dashed 1px #3CA9BB;
  border-bottom: dashed 1px #3CA9BB;
  padding: 0.3em 0;
  color: #5e5e5e;
}
.imabari .limited_wrap {
  max-width: 1000px;
  margin: auto;
}
.imabari .flexbox {
  width: 94%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 30px;
}
.imabari .flexbox > * {
  width: calc((100% - 30px ) / 2 );
}
.imabari .mv {
  background-image: none;
  background-color: #efeff1;
  text-align: center;
}
.imabari .mv h1 {
  padding: 0;
  margin: 0;
}
.imabari .lead  {
  margin-top: 50px;
  padding: 0 1.5em;
}
.imabari .lead .lead__txt {
  text-align: center;
  font-size: 16px;
  line-height: 2em;
  padding: 1.2em 0;
  margin: 0;
}
.imabari .certification .w25 {
  width: 25%;
}
.imabari .certification .strong {
  font-size: 120%;
  font-weight: 700;
}
.imabari .recommend .recommend-item {
  position: relative;
}
.imabari .recommend .recommend-item h3 {
  font-size: 24px;
  padding-left: 12px;
  border-left: 7px solid #3CA9BB;
}
.imabari .recommend .recommend-item h3 .catch {
  display: block;
  font-size: 20px;
  font-weight: 500;
}
.imabari .recommend .recommend-item .gridbox {
  width: 94%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: 30px;
}
.imabari .recommend .recommend-item .gridbox h3 {
  grid-row: 1;
  grid-column: 2;
}
.imabari .recommend .recommend-item .gridbox picture {
  grid-row: 1 / 3;
  grid-column: 1;
}
.imabari .recommend .recommend-item .gridbox .description {
  grid-row: 2;
  grid-column: 2;
}
  
.imabari .recommend .recommend-item:nth-last-of-type(2n) .gridbox h3 {
  grid-row: 1;
  grid-column: 1;
}
.imabari .recommend .recommend-item:nth-last-of-type(2n) .gridbox picture {
  grid-row: 1 / 3;
  grid-column: 2;
}
.imabari .recommend .recommend-item:nth-last-of-type(2n) .gridbox .description {
  grid-row: 2;
  grid-column: 1;
}
.imabari .recommend .recommend-item .certification {
  position: absolute;
  flex-direction: column;
  align-items: flex-start;
  width: 280px;
  bottom: 20px;
  left: 20px;
  gap: 0;
  text-align: center;
}
.imabari .recommend .recommend-item .detail {
  line-height: 1.6em;
  margin-top: 1em;
}
.imabari .recommend .recommend-item .detail a {
  text-decoration: underline;
}
/* .imabari .recommend .recommend-item .detail a:hover {
    text-decoration: none;
} */
.imabari .recommend .recommend-item .notes {
  font-size: 90%;
  margin-top: 1em;
}
.imabari .recommend .recommend-item .staff-recommend {
  position: relative;
  width: 60%;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 25px;
  margin: 50px auto 0;
  padding: 20px;
  background: #e7fcfe;
  outline: 2px solid #6cb0b6;
  outline-offset: 2px;
}
.imabari .recommend .recommend-item .staff-recommend::before {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  content: "";
  height: 20px;
  width: 15px;
  background: #fff;
  border-right: 2px solid #6cb0b6;
  transform: skew(25deg);
}
.imabari .recommend .recommend-item .staff-recommend dt {
  position: relative;
  width: 100%;
  text-align: center;
  font-size: 24px;
}
.imabari .recommend .recommend-item .staff-recommend dt::before {
  position: absolute;
  content: "";
  top: 1.2em;
  left: 50%;
  transform: translateX(-50%);
  width: 10em;
  height: 5px;
  background: rgba(108, 176, 182, 0.6);
}
.imabari .recommend .recommend-item .staff-recommend dd.img {
  width: calc(25% - (25px / 2));
}
.imabari .recommend .recommend-item .staff-recommend dd.img img {
  border-radius: 100vh;
}
.imabari .recommend .recommend-item .staff-recommend dd.txt {
  width: calc(75% - (25px / 2));
}
.imabari .recommend .recommend-item .staff-recommend dd.txt a {
  text-decoration: underline;
}
.imabari .recommend .recommend-item .staff-recommend dd.txt a:hover {
  text-decoration: none;
}
.imabari .recommend .recommend-item + .recommend-item {
  margin-top: 150px;
} 
.imabari .last {
  text-align: center;
  margin-top: 100px;
}
.imabari .last p {
  font-size: 18px;
}
.imabari .last h3 {
  font-size: 24px;
  background: none;
}

@media screen and (max-width: 768px) {
  .imabari h2 {
    margin: 50px auto 25px;
  }
  .imabari .flexbox {
    flex-direction: column;
    row-gap: 20px;
  }
  .imabari .flexbox > * {
    width: 100%;  
  }
  .imabari .lead  {
    margin-top: 25px;
    padding: 0 0.5em;
  }
  .imabari .lead .lead__txt {
    font-size: 15px;
  }
  .imabari .about p {
    font-size: 15px;
  } 
  .imabari .certification p {
    font-size: 15px;
  }
  .imabari .certification .flexbox:last-child {
    margin-top: 25px;
    flex-direction: row;
  }
  .imabari .certification .flexbox:last-child .w25 {
    width: 40%;
  }
  .imabari .recommend .recommend-item .gridbox {
    display: block;   
  }
  .imabari .recommend .recommend-item picture img {
    margin-bottom: 10px;
  }
  .imabari .recommend .recommend-item h3 {
    font-size: 22px;
  }
  .imabari .recommend .recommend-item h3 .catch {
    font-size: 18px;
  }
  .imabari .recommend .recommend-item .certification {
    position: relative;
    flex-direction: column;
    width: 100px;
    margin: -10px auto 20px 10px;
    bottom: unset;
    left: unset;
    gap: 0;
    text-align: center;
    float: right;
  }
  .imabari .recommend .recommend-item .description .certification p {
    font-size: 10px;
  }
  .imabari .recommend .recommend-item p.txt {
    font-size: 15px;
  }
  .imabari .recommend .recommend-item .detail {
    line-height: 1.8em;
    clear: both;
  }
  .imabari .recommend .recommend-item .staff-recommend.flexbox {
    width: 90%;
    flex-direction: row;
    gap: 10px;
    margin: 35px auto 0;
    padding: 10px;
  }
  .imabari .recommend .recommend-item .staff-recommend::before {
    height: 15px;
    width: 12px;
  }  
  .imabari .recommend .recommend-item .staff-recommend dt {
    font-size: 22px;
  }
  .imabari .recommend .recommend-item .staff-recommend dd.img {
    width: calc(35% - (10px / 2));
  }
  .imabari .recommend .recommend-item .staff-recommend dd.txt{
    width: calc(65% - (10px / 2));
    font-size: 14px;
  }
  .imabari .recommend .recommend-item + .recommend-item {
    margin-top: 50px;
  } 
  .imabari .last p {
    font-size: 16px;
  }
  .imabari .last h3 {
    font-size: 20px;
  }
}


.gift_contents  {
  max-width: 1000px;
  margin: 0 auto 100px;
}
.gift_contents .gift_contents_catch {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0.5em;
}
.gift_contents .gift_contents_icon_txt {
  text-align: center;
  font-size: 16px;
  margin-bottom: 1.5em;
}
.gift_contents .gift_contents_icon {
  display: inline;
  width: auto;
  height: 1.2em;
  vertical-align: text-top;
} 
.gift_contents .section__title__02.h_title_section__01 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0 40px;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  letter-spacing: .05em;
  line-height: 1;
  height: 59px;
  background: url(/img/usr/event/imabari/h_title_section__01.png) no-repeat top center;
  border: none;
}
.gift_contents .wrapping_detail_box {
  display: flex;
  margin: 0 auto 30px;
}
.gift_contents .wdb_paid {
  width: 100%;
  min-width: 658px;
  margin: 0 20px 0 0;
}
.gift_contents .wdb_paid h3, .gift_contents .wdb_myself h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  height: 45px;
  margin: 0 auto 25px;
  background: #EBF6F9;
}
.gift_contents .wdb_myself h3 {
  background: #F9F4F4;
}
.gift_contents .wdb_inner {
  display: flex;
  justify-content: space-between;
}
.gift_contents .wdb_paid_noshi, .gift_contents .wdb_paid_wrapping, .gift_contents .wdb_myself_bag {
  width: 319px;
  flex-shrink: 0;
  padding: 10px 12px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
}
.gift_contents .wdb_paid_catch, .gift_contents .wdb_myself_catch {
  display: table;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin: 0 auto 3px;
  padding: 0 15px;
}
.gift_contents .wdb_paid_noshi .wdb_paid_catch {
  color: #19598A;
  background: url(/img/usr/event/imabari/wdb_paid_noshi_chach-l.png) no-repeat bottom 3px left, url(/img/usr/event/imabari/wdb_paid_noshi_chach-r.png) no-repeat bottom 3px right;
  background-size: 10px auto, 10px auto;
}
.gift_contents .wdb_paid_wrapping .wdb_paid_catch {
  color: #1989AC;
  background: url(/img/usr/event/imabari/wdb_paid_wrapping_chach-l.png) no-repeat bottom 3px left, url(/img/usr/event/imabari/wdb_paid_wrapping_chach-r.png) no-repeat bottom 3px right;
  background-size: 10px auto, 10px auto;
}
.gift_contents .wdb_myself_bag .wdb_myself_catch {
  color: #6D070B;
  background: url(/img/usr/event/imabari/wdb_myself_catch-l.png) no-repeat bottom 3px left, url(/img/usr/event/imabari/wdb_myself_catch-r.png) no-repeat bottom 3px right;
  background-size: 10px auto, 10px auto;
}
.gift_contents h4.wdb_paid_heading, .gift_contents h4.wdb_myself_heading {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  height: 49px;
  margin: 0 auto 20px;
  padding: 0;
  border: none;
}
.gift_contents .wdb_paid_noshi h4.wdb_paid_heading {
  background: #19598A;
}
.gift_contents .wdb_paid_wrapping h4.wdb_paid_heading {
  font-size: 18px;
  background: #1989AC;
}
.gift_contents .wdb_myself_bag h4.wdb_myself_heading {
  background: #6D070B;
}
.gift_contents img {
  display: block;
  margin: 0 auto;
}
html[data-browse-mode="P"] .gift_contents .wdb_paid_wrapping img.wdb_paid_img,
html[data-browse-mode="P"] .gift_contents .wdb_myself_bag img.wdb_myself_img {
  max-width: 283px;
}
.gift_contents p.wdb_paid_txt, .gift_contents p.wdb_myself_txt {
  font-size: 16px;
  min-height: 120px;
  margin: 15px auto;
  line-height: 1.9;
}
.gift_contents .gift_contents_btn {
  position: relative;
  display: block;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  width: 80%;
  max-width: 300px;
  margin: 0 auto 20px;
  padding: 0.5em;
  line-height: 1;
  background: #928149;
  color: #fff;
  border: 1px solid #928149;
  border-radius: 100vh;
}
.gift_contents .gift_contents_btn::before {
  content: "";
  position: absolute;
  right: 15px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.gift_contents .gift_contents_btn:hover {
  background: #fff;
  color: #928149;
  border: 1px solid #928149;
}
.gift_contents .gift_contents_btn:hover::before {
  border-top: 2px solid #928149;
  border-right: 2px solid #928149;;
}

@media screen and (max-width: 768px) {
  .gift_contents  {
    padding: 0 15px 40px;
    width: 100%;
    box-sizing: border-box;
    margin: auto;
  }
  .gift_contents .gift_contents_catch {
    font-size: 18px;
  }
  .gift_contents .gift_contents_icon_txt {
    font-size: 12px;
  }
  .gift_contents .section__title__02.h_title_section__01 {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 15px;
    height: calc(72 * (100vw / 393));
    background: url(/img/usr/event/imabari/h_title_section__01_sp.png) no-repeat top center;
    background-size: contain;
  }
  .gift_contents .wrapping_detail_box {
    display: block;
    margin: 0 auto 30px;
  }
  .gift_contents .wdb_paid {
    min-width: 100%;
    margin: 0 0 20px;
  }
  .gift_contents .wdb_paid h3, .gift_contents .wdb_myself h3 {
    font-size: 17px;
    letter-spacing: -1px;
    height: 35px;
    margin: 0 auto 25px;
  }
  .gift_contents .wdb_inner {
    display: block;
  }
  .gift_contents .wdb_paid_noshi, .gift_contents .wdb_paid_wrapping, .gift_contents .wdb_myself_bag {
    width: 100%;
    margin: 0 0 30px;
    padding: 8px 20px;
  }
  .gift_contents h4.wdb_paid_heading, .gift_contents h4.wdb_myself_heading {
    font-size: 18px;
    height: 40px;
    margin: 0 auto 10px;
  }
  .gift_contents p.wdb_paid_txt, .gift_contents p.wdb_myself_txt {
    min-height: auto;
  }
  .gift_contents .gift_contents_btn {
    font-size: 14px;
    }
}