@charset "UTF-8";
:root {
  --color-main: #333;
  --color-white: #fff;
  --color-gold: #AB8E67;
  --color-dark-green: #255459;
  --color-blue: #C4E2F2;
  --color-green: #ADDDD3;
}

.page-egift .wrap {
    padding-top: 151px;
}
@media screen and (max-width: 1024px) {
    .page-egift .wrap {
        padding-top: 206px;
    }
}
@media screen and (max-width: 767px) {
  .page-egift .wrap {
      padding-top: 181px;
  }
}
@media screen and (max-width: 639px) {
  .page-egift .wrap {
      padding-top: 74px;
  }
}
@media screen and (max-width: 700px){
    .header {
        min-width: 640px;
    }
    .header_meganav .nav_li_a {
        width: 136px;
    }
}
@media only screen and (max-width: 639px) {
    .header {
        min-width: 100%;
        position: fixed;
    }
}
.br-m {
    display: block;
}
.br-s {
    display: none;
}
.br-ss {
    display: none;
}
@media screen and (max-width: 780px){
    .br-s {
        display: block;
    }
    .br-m {
        display: none;
    }
}
@media screen and (max-width: 420px){
    .br-ss {
      display: block;
    }
  }
.egift-page {
  margin: 0 auto 80px;
}
.egift-hero {
  max-width: 1280px;
  margin: 0 auto;
}
.egift-hero__title img{
  vertical-align: bottom;
}
.egift-tabs {
  max-width: 1020px;
  margin: 80px auto;
  padding-inline: 16px;
}

.egift-tabs__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.egift-tabs__item a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
  background: #fff;
  color: var(--color-dark-green);
  border: 1px solid var(--color-dark-green);
  text-align: center;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

.egift-tabs__item a::before {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  left: 1px;
  border: 1px solid var(--color-dark-green);
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.egift-tabs__item a img {
  position: absolute;
  right: 20px;
  width: 11px;
  height: auto;
  transition: filter 0.3s ease;
}

.egift-tabs__item a:hover {
  background: var(--color-dark-green);
  color: #fff;
  border-color: #fff;
  opacity: 1;
}

.egift-tabs__item a:hover::before {
  border-color: #fff;
}

.egift-tabs__item a:hover img {
  filter: brightness(0) invert(1);
}

@media screen and (max-width: 780px) {
  .egift-tabs {
  margin: 40px auto;
}
  .egift-tabs__list {
    grid-template-columns: repeat(2, 1fr);

  }
  .egift-tabs__item {
    font-size: 0.75em;
    line-height:1.83;
  }
  .egift-tabs__item a {
    padding: 0.8em;
  }
  .egift-tabs__item:last-child {
    grid-column: 1 / 3;
    justify-self: center;
    width: 100%;
    max-width: 50%;
  }
  .egift-tabs__item a img {
    width: 9px;
    right: 12px;
  }
}
@media screen and (max-width: 400px) {
  .egift-tabs__item:last-child {
    max-width: 60%;
  }
}

.egift-content {
  margin: 0 auto;
  text-align: center;
}

.egift-content__inner {
  max-width: 1020px;
  padding-inline: 16px;
  margin-inline: auto;
}

.egift-content__title {
  text-align: center;
  line-height: 1.4;
  font-size: 2.25rem;
  letter-spacing: 0.02em;
  margin-bottom: 64px;
}
@media screen and (max-width: 780px) {
  .egift-content__title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
}

.egift-content__title-sub {
  position: relative;
  display: inline-block;
  padding: 0 82px;
  font-size: 1.375rem;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  font-family: adobe-garamond-pro, serif;
  -webkit-font-smoothing: antialiased;
  margin-bottom: 0.2em;
}
@media screen and (max-width: 780px) {
  .egift-content__title-sub {
    font-size: 1rem;
    padding: 0 56px;
  }
}

.egift-content__title-sub:before,
.egift-content__title-sub:after {
  position: absolute;
  top: 50%;
  width: 65px;
  height: 3px;
  content: '';
  border-top: solid 1px var(--color-gold);
  border-bottom: solid 1px var(--color-gold);
  transform: translateY(-50%);
}
@media screen and (max-width: 780px) {
  .egift-content__title-sub:before,
  .egift-content__title-sub:after {
    border-top: solid 0.5px var(--color-gold);
    border-bottom: solid 0.5px var(--color-gold);
    height: 2px;
    width: 48px;
  }
}
.egift-content__title-sub:before {
  left: 0;
}
.egift-content__title-sub:after {
  right: 0;
}
.egift-content__title-main {
  display: block;
}
.egift-content__text {
  line-height: 2;
}
.egift-about__features {
  display: flex;
  width: 90%;
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 40px auto;
}
.egift-about__features li {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  gap: 20px;
}
.egift-about__feature-item img{
  max-width: 80px;
}
.egift-about__feature-item figcaption {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: #333333;
  line-height: 1.75;
}

@media screen and (max-width: 780px) {
  .egift-about__features {
    flex-wrap: wrap;
  }
  .egift-about__features li {
    flex: 1 1 calc(50% - 32px);
    box-sizing: border-box;
  }
  .egift-about__feature-item figcaption {
    font-size: 0.8em;
  }
}
@media screen and (max-width: 576px) {
  .egift-about__feature-item img{
    max-width: 60px;
  }
}
.egift-about__send-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.egift-about__send-step-item {
  background: var(--color-blue);
  padding: 50px 40px;
  border-radius: 30px;
  flex: 1 1 320px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;    
}
.egift-about__send-steps li:first-child {
  background: var(--color-blue);
}
.egift-about__send-steps li:last-child {
  background: var(--color-green);
}

.egift-about__send-step-item dt {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.625rem;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
}

.egift-about__send-step-item img {
  width: 100%;
  vertical-align: bottom;
  max-width: 374px;
  height: auto;
}

.egift-about__send-arrow {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  background: url(../img/egift/item_arrow.png) center/contain no-repeat;
  align-self: center;
}

@media (max-width: 780px) {
  .egift-content__text {
  font-size:0.85em;
}
  .egift-about__send-steps {
    flex-direction: column;
    align-items: center;
  }
  .egift-about__send-arrow {
    transform: rotate(90deg);
    width: 40px;
    height: 40px;
  }
  .egift-about__send-step-item dt {
  font-size: 1.3rem;
  }
  .egift-about__send-step-item {
    flex: auto;
    width: 100%;
    padding: 32px 20px;
  }
  .egift-about__send-step-item img {
    max-width: 450px;
    width: 100%;
  }
}
.egift-content__secondary {
  background-color: #F2F2F2;
  padding: 80px 0;
  padding-inline: 16px;
  margin: 80px 0;
}
.egift-content__sub-title {
  display: inline-block; 
  align-items: center;
  gap: 8px;      
  position: relative;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.4;
  padding: 0 40px;
  color: var(--color-dark-green);
}

.egift-content__sub-title::before,
.egift-content__sub-title::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url(../img/egift/ttl_ico.svg) center/contain no-repeat;
}

.egift-content__sub-title::before {
  left: 0;
}
.egift-content__sub-title::after {
  right: 0;
  transform: translateY(-50%) rotate(180deg);
}

@media (max-width: 780px) {
  .egift-content__secondary {
  padding: 40px 0;
  margin: 40px 0;
}
  .egift-content__sub-title {
    font-size: 1.3rem;
    line-height: 1.2;
    padding: 0 40px;
  }
  .egift-content__sub-title-highlight {
    display: block;
    margin-bottom: 0.25em;
  }
  .egift-content__sub-title::before,
.egift-content__sub-title::after {
  width: 24px;
  height: 24px;
}
}
.egift-content__usage-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 1.5em;
}
.egift-content__usage-item {
  max-width: 500px;
}
.egift-content__usage-item img {
  height: auto;
}
.egift-howto__section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 3rem;
  box-sizing: border-box;
  background-color: #F2F2F2;
  margin-bottom: 80px;
}

.egift-howto__steps {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
}

.egift-howto__step {
  flex: 1 1 0;
  background: var(--color-white);
  border-radius: 0.75rem;
  padding: 1.5rem 1.5rem 0;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.egift-howto__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -29px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url(../img/egift/g_arrow.svg) no-repeat center center;
  background-size: contain;
}

.egift-howto__num {
  background-color: var(--color-gold);
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 0.6rem;
  text-align: center;
  margin: 0 auto 1rem; 
}

.egift-howto__num span {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  font-family: "Ovo", serif;
  font-size: 1.7rem;
}

.egift-howto__step-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.egift-howto__text {
  font-size: 0.9rem;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 1rem;
}

.egift-howto__step img {
  width: 100%;
  max-width: 204px;
  height: auto;
  border-radius: 0.5rem;
  display: block;
}

@media (max-width: 768px) {
  .egift-content__usage-list {
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
    margin-top: 0;
  }
  .egift-content__usage-item {
    max-width: 100%;
  }
  .egift-howto__steps {
    flex-direction: column;
    align-items: center;
  }

  .egift-howto__step {
    padding: 1rem 0 0;
    width: 100%;
  }

  .egift-howto__step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -29px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .egift-howto__section {
  padding: 40px 16px;
  margin: 0 16px 40px;
  }
  .egift-howto__text {
    max-width: 500px;
    padding: 0 16px;
  }
}
.egift-cta {
  max-width: 330px;
  margin: 0 auto;
}
.egift-cta__link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
  background: var(--color-dark-green);
  color: #fff;
  border: 1px solid #fff;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
.egift-cta__link:visited {
  color: #fff;
}
.egift-cta__link::before {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  left: 1px;
  border: 1px solid #fff;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.egift-cta__link img {
  position: absolute;
  right: 20px;
  width: 11px;
  height: auto;
  transition: filter 0.3s ease;
  transform: rotate(270deg);
  filter: brightness(0) invert(1);
}

.egift-cta__link:hover {
  background: #1a393d;
  opacity: 1;
}

.egift-cta__link:hover img {
  transform: rotate(270deg) translateY(2px);
  transition: transform 0.3s ease;
}

.egift-faq {
  margin: 80px 0;
}
.egift-faq__title {
  text-align: center;
  font-size: 1.75rem;
  line-height: 2;
  margin-bottom: 64px;
}
.egift-faq__list {
  border-bottom: solid 1px #E5E5E5;
}

.egift-faq__answer {
  display: none;
  padding: 16px 28px 16px 54px;
  line-height: 2;
}

.egift-faq__header {
  background-color: #FFF;
  padding: 16px 30px 16px 16px;
  transition: background .3s ease;
  cursor: pointer;
  position: relative;
  line-height: 2;
}

.egift-faq__header::before,
.egift-faq__header::after{
  position:absolute;
  content:'';
  top:1px;
  right:20px;
  bottom:0;
  width:16px;
  height:1px;
  margin:auto;
  background:var(--color-gold);
}
.egift-faq__header::after{
  transform:rotate(-90deg);
  transition:transform 0.3s;
}
.egift-faq__header.active::after{transform:rotate(0deg);}

.accordion-content {
  background-color: #FFF;
  padding: 12px 20px 10px;
}

.egift-faq__header span{
  padding-left: 40px;
  position: relative;
}
.egift-faq__answer span{
  position: relative;
}

.egift-faq__header span::before{
  position: absolute;
  content:"Q";
  top: -7px;
  left: 0;
  color: var(--color-gold);
  font-size: 1.25em;
  font-family: adobe-garamond-pro, serif;
}

.egift-faq__answer span::before{
  position: absolute;
  content:"A";
  top: -7px;
  left: -36px;
  color: #FF5C33;
  font-size: 1.25em;
}
.answer-link {
  border-bottom: solid 1px var(--color-main);
}
.answer-link:hover {
  border-bottom: solid 1px #FF5C33;
  color: #FF5C33;
}
  .egift-faq__answer ul {
    padding-top: 16px;
  }
  .egift-faq__answer ul li {
    padding-left: 16px;
    font-size: 0.85rem;
  }

@media (max-width: 768px) {
  .egift-faq {
      margin: 40px 0;
      font-size: 0.85rem;
  }
  .egift-faq__title {
    margin-bottom: 24px;
    font-size: 1.5rem;
  }
  .egift-faq__header {
    font-size: 0.85rem;
    padding: 16px 48px 16px 37px;
  }
  .egift-faq__answer {
  font-size: 0.85rem;
  }
  .egift-faq__answer ul li {
    padding-left: 16px;
    font-size: 0.75rem;
  }
  .egift-faq__header span{
  padding-left: 0;
}
  .egift-faq__header span::before{
  top: 50%;
  left: -25px;
  transform: translateY(-50%);
  }
}