main{
  flex-grow: 1; 
}
/* header */
.header-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.header-inner {
  height: 86px;
  display: flex;
  justify-content: space-between;
}

#header-logo {
  align-self: center;
  flex: 0 0 396px;
}


.header-tabnavi {
  align-self: end;
  padding-right: 32px;
  flex: 1 1 auto;
}

.tabnavi-body {
  display: flex;
  justify-content: end;
  gap: 16px;
}

.tabnavi-body a {
  padding: clamp(6px, calc((10 / 390) * 100vw), 12px) 0;
  width: clamp(80px, calc((104 / 390) * 100vw), 125px);
  color: #000;
  font-weight: 500;
  font-size: clamp(1.2rem, calc((14 / 390) * 100vw), 1.7rem);
  text-align: center;
  box-shadow: 1px 4px 3px 0px rgba(0, 0, 0, 0.15);
}
.header-tabnavi .tabnavi-body a {
  border-top-left-radius: 8.5px;
  border-top-right-radius: 8.5px;
}

.bottom-tabnavi .tabnavi-body a {
  border-bottom-left-radius: 8.5px;
  border-bottom-right-radius: 8.5px;
}
.--aceti {
  background: var(--color-acetobacter);
}

.--hya {
  background: var(--color-hyaluronicAcid);
}

.--colin {
  background: var(--color-colin);
}


/* menu */
.header-gnavi {
  position: relative;
  flex: 0 1 auto;
  align-self: end;
  padding-bottom: 8px;
}

.gnavi-icon {
  display: block;
  position: relative;
  width: 28px;
  cursor: pointer;
  font-weight: bold;
  color: #F57B46;
  z-index: 200;
  text-align: center;
  font-size: 1rem;
}
.gnavi-txt{
    line-height: 1;
    letter-spacing: 0;
}
.gnavi-icon span:not(.gnavi-txt) {
  display: block;
  height: 3.5px;
  margin: 4.5px 0 0;
  background: #F57B46;
  border-radius: 3px;
  transition: all .4s ease;
}

#gnavi-toggle:checked+.gnavi-icon {
  top: 20px;
  right: 30px;
  width: 38px;
  position:fixed;
}

#gnavi-toggle:checked+.gnavi-icon span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
  width: 38px;
}

#gnavi-toggle:checked+.gnavi-icon span:nth-child(2),
#gnavi-toggle:checked+.gnavi-icon span.gnavi-txt {
  opacity: 0;
}

#gnavi-toggle:checked+.gnavi-icon span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
  width: 38px;
}

.gnavi-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all .4s ease;
  z-index: 1;
}

.gnavi-menu {
  position: fixed;
  top: 0;
  right: -380px;
  width: 380px;
  height: 100%;
  background: var(--note-bg);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  transition: right .4s ease;
  z-index: 100;
  padding-top: 72px;
}

#gnavi-toggle:checked~.gnavi-menu {
  right: 0;
}

.gnavi-bg-note {
  height: 100%;
  background-image: linear-gradient(180deg, var(--note-line) 1px, transparent 1px);
  background-size: 100% 38px;
  padding-bottom: 1px;
  border-top: 3px solid var(--note-line);
}


.gnavi-menu ul {}

.gnavi-menu li {
  padding-left: 32px;
  height: 38px;
  display: flex;
  align-items: center;
  margin-bottom: 1px;
}

.gnavi-menu a {
  text-decoration: none;
  color: var(--black);
  font-size: 1.6rem;
  transition: all .4s ease;
}

.gnavi-menu a:hover {
  color: var(--red);
}

.gnavi-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all .4s ease;
  z-index: 90;
}

#gnavi-toggle:checked~.gnavi-overlay {
  opacity: 1;
  pointer-events: auto;
}

@container wrapper (width <=768px) {
  .header-inner {
    height: 13vw;
  }

  #header-logo {
    flex:0 0 calc((286 / 390) * 100vw);
  }

  .header-logo {
    flex:0 0 calc((286 / 390) * 100vw);
  }

  .header-tabnavi {
    display: none;
  }

.header-gnavi {
    padding-bottom: 1.02vw;
}
  .gnavi-icon {
    width: 7.17vw;
  }

  .gnavi-menu {
    right: -80%;
    width: 80%;
    padding-top: 13vw;
  }

  .gnavi-bg-note {
    background-size: 100% 9.74vw;
    padding-bottom: 1px;
    border-top: 3px solid var(--note-line);
  }

  .gnavi-menu li {
    padding-left: 5vw;
    height: 9.74vw;
  }

  .gnavi-menu a {
    font-size: 3.84vw;
  }

  #gnavi-toggle:checked+.gnavi-icon {
    top: 1vw;
    right: 2px;
    position:inherit;
  }
}


/* パンクズ */
@media (min-width: 768px) {
  .breadcrumb-container {
    background: var(--gray-2);
  }

  .breadcrumb-body {
    display: flex;
    gap: 0 12px;
    list-style: none;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.38rem;
    color: #333333;
    padding-left: calc(var(--gap-base) * 2);
  }

  .breadcrumb-body li {
    display: flex;
    align-items: center;
    padding: var(--gap-base) 0;
  }

  .breadcrumb-body li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: .5em;
    height: .5em;
    margin-left: 10px;
    border-top: 1px solid #333333;
    border-right: 1px solid #333333;
    content: '';
  }

  .breadcrumb-body a {
    color: #333333;
    text-decoration: none;

  }

  .breadcrumb-body a:hover {
    color: var(--red);
  }
}

@container wrapper (width <=768px) {
  .breadcrumb-container {
    display: none;
  }
}

.contetns-container {
  container: contetns-container / inline-size;
  overflow: hidden;
  height: 100%;
}

/* footer */
footer {
  margin-top: auto;
}

/* media */
.footer-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 91px;
  padding: var(--gap-x3) 0;
}

.footer-media--item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--gap-base) *2);
  position: relative;
}

.footer-media--item dt {
  font-size: clamp(1.6rem, calc((18 / 390) * 100vw), 2.35rem);
  font-weight: 500;
  line-height: 1;
}

.footer-media--item a {
  display: inline-block;
}

.footer-media--item a+a {
  margin-left: 16px
}

.footer-media--item:not(:last-child):after {
  content: '';
  position: absolute;
  right: -47px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--black);
  width: 1px;
  height: 60%;
}

.icon-prtimes {
  width: 157px;
  height: auto;
  filter: invert(20%) sepia(99%) saturate(409%) hue-rotate(175deg) brightness(102%) contrast(89%);
}

.icon-line,
.icon-insta {
  display: inline-block;
  width: 48px;
  height: auto;
}

/* footerlink */
.footer-link {
  padding: var(--gap-x2) 0;
  background: #FFEEEA;
}

.footer-link--item {
  display: flex;
  gap: 0 90px;
  padding: 0 var(--gap-x2);
}

.footer-link--item a {
  font-size: clamp(1.4rem, calc((15 / 390) * 100vw), 1.9rem);
}

.footer-link--item a:hover {
  color: var(--red);
}

.footer-copyright {
  padding: var(--gap-x1-5) 0;
  display: flex;
  align-items: center;
}

.footer-logo {
  flex: 0 0 382px;
}

.copyright {
  color: #989898;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  flex: 1 1 auto;
  text-align: center;
}



@container wrapper (width <=768px) {
  .footer-media {
    flex-direction: column;
    gap: calc(var(--gap-base) * 1.2);
    background: var(--gray-2);
    padding: var(--gap-x1-5) 0;
  }

  .footer-media--item:not(:last-child):after {
    content: none;
  }

  .footer-media--item dt {
    width: 22vw;
  }

  .footer-media--item dd {
    width: 30vw;
  }

  .icon-line,
  .icon-insta {
    width: calc((45 / 390) * 100vw);
  }

  .icon-prtimes {
    width: calc((104 / 390) * 100vw);
  }

  .footer-link {
    padding: 8vw 0;
  }

  .footer-link--item {
    flex-direction: column;
    align-items: start;
    gap: var(--gap-base);
    padding: 0 calc(var(--gap-base) * 2);
  }
.footer-copyright {
  flex-direction: column;
  padding: calc((24 / 390) * 100vw) 0;
}

.footer-logo {
  flex: 0 0 calc((40 / 390) * 100vw);
  width: calc((286 / 390) * 100vw);
}

.copyright {
  font-size: calc((12 / 390) * 100vw);
}


}


@container wrapper (width <=375px) {
.header-inner {
height: 15vw;
}
  .header-logo {
    flex:0 0 calc((240 / 375) * 100vw);
  }


}

















.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-maru-gothic-medium {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.zen-maru-gothic-bold {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.klee-one-regular {
  font-family: "Klee One", cursive;
  font-weight: 400;
  font-style: normal;
}

.klee-one-semibold {
  font-family: "Klee One", cursive;
  font-weight: 600;
  font-style: normal;
}

.noto-sans-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.amatic-sc-regular {
  font-family: "Amatic SC", sans-serif;
  font-weight: 400;
  font-style: normal;
}