@charset "utf-8";

/* ==================================================== */

/*  フォント
/* ==================================================== */
.serif {
  font-family: "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "ＭＳ Ｐ明朝", "ＭＳ 明朝", 'Noto Serif JP', serif;
}

/* ==================================================== */

/*  基本
/* ==================================================== */
html, body {
  width: 100%;
  height: 100%;
  font-size: 62.5%;
}

body {
  position: relative;
  color: #80584f;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "yu-gothic-pr6n", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", sans-serif;
  font-size: 1.45em;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  letter-spacing: .05em;
}

body.fix {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

main {
  display: block;
}

main.subpage {
  background: url(../img/common/bg.png) repeat-y;
  background-size: 100% auto;
  background-position: top center;
}

@media screen and (max-width:767px) {
  main.subpage {
    background: none;
  }

  main.subpage:before {
    content: "";
    display: inline-block;
    position: fixed;
    top: 0;
    right: 0;
    background: url(../img/common/bg.png) no-repeat;
    background-position: center;
    -webkit-background-position: center;
    background-size: cover;
    -webkit-background-size: cover;
    width: 100%;
    height: 100vh;
    z-index: -1;
  }

}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

@media screen and (max-width:1024px) {
  a a[href^="tel"] {
    pointer-events: none;
  }

  a:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }

}

img {
  width: 100%;
  height: auto;
}

img[src$=".svg"] {

  /*IEでimgタグのsrcにsvgを指定した時に崩れる防止*/
  width: 100%;
  height: auto;
}

sup {
  font-size: 70%;
  vertical-align: top;
  position: relative;
  top: -0.1em;
}

sub {
  font-size: 70%;
  vertical-align: bottom;
  position: relative;
  bottom: -0.1em;
}

/* ==================================================== */

/*  全ページ共通（common）クラス
/* ==================================================== */
.flex {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  -js-display: flex;
  display: flex;
}

.c-pc-only {
  display: inline-block !important;
}

.c-tab-only {
  display: none !important;
}

.c-sp-only {
  display: none !important;
}

.c-tab-over {
  display: inline-block !important;
}

.c-tab-less {
  display: none !important;
}

.clear {
  clear: both !important;
}

.c-justify {
  text-align: justify;
  text-justify: inter-ideograph;
  text-justify: inter-character;
}

@media screen and (min-width:768px) and (max-width:1024px) {
  .c-pc-only {
    display: none !important;
  }

  .c-tab-only {
    display: inline-block !important;
  }

  .c-sp-only {
    display: none !important;
  }

  .c-tab-over {
    display: inline-block !important;
  }

  .c-tab-less {
    display: inline-block !important;
  }

}

@media screen and (max-width:767px) {
  .c-pc-only {
    display: none !important;
  }

  .c-tab-only {
    display: none !important;
  }

  .c-sp-only {
    display: inline-block !important;
  }

  .c-tab-over {
    display: none !important;
  }

  .c-tab-less {
    display: inline-block !important;
  }

}

/*ページ内リンク*/
.page-link {
  display: inline-block;
  margin-top: -80px;
  padding-top: 80px;
}

@media screen and (max-width:1024px) {
  .page-link {
    margin-top: -20px;
    padding-top: 20px;
  }

}

/* ==================================================== */

/*  変数
/* ==================================================== */

/*ベージュグラデーション*/:root {
  --main-gradation: linear-gradient(105deg, #d4996d 0%, #a67764 100%);
}

/*グリーングラデーション*/
:root {
  --green-gradation: linear-gradient(105deg, #a0ca29 0%, #68850a 100%);
}

/* ==================================================== */

/*  全ページ共通レイアウト
/* ==================================================== */

/*固定ボタン*/
.fixed-button {
  position: fixed;
  bottom: 25px;
  right: 29px;
  justify-content: space-between;
  z-index: 100;
  width: 366px;
  overflow: hidden;
}

.fixed-button a {
  display: inline-block;
  width: 177px;
  line-height: 1;
  color: #fff;
  font-size: 1.8rem;
  text-align: center;
  padding: 14px 0;
}

.fixed-button a.fixed-button_contact {
  float: right;
  background-color: #a0ca29;
  background-image: var(--green-gradation);
  transition: all 0.3s ease;
}

.fixed-button a.fixed-button_contact:hover {
  background: linear-gradient(255deg, #bee152 0%, #809831 100%);
  opacity: 1;
}

.fixed-button a.fixed-button_buy {
  float: left;
  background-color: #a67764;
  background-image: var(--main-gradation);
  transition: all 0.3s ease;
}

.fixed-button a.fixed-button_buy:hover {
  background-color: #a77966;
  background-image: linear-gradient(255deg, #dfb392 0%, #a77966 100%);
  transition: all 0.3s ease;
  opacity: 1;
}

@media screen and (max-width:767px) {
  .fixed-button {
    width: 310px;
    right: calc(50% - 155px);
    bottom: 25px;
  }

  .fixed-button a {
    width: 147px;
    font-size: 1.6rem;
  }

}

/* ==================================================== */

/*  医療関係者の方へ　モーダル
/* ==================================================== */
.modal_medical {
  text-align: center;
}

.modal_medical .modal_medical_p {
  font-size: clamp(19px, calc(19px + (28 - 19) * ((100vw - 768px) / (1366 - 768))), 28px);
  margin-bottom: 20px;
  /*padding-top: 20px;*/
}

.modal_medical a {
  display: inline-block;
  width: 190px;
  line-height: 1;
  color: #fff;
  font-size: 1.8rem;
  text-align: center;
  margin: 0 20px;
  padding: 14px 0;
  background: var(--green-gradation);
}

@media screen and (max-width:767px) {
  .modal_medical p {
    text-align: left;
  }

  .modal_medical .modal_medical_p {
    text-align: center;
    font-size: calc(1.6rem + ((1vw - 0.3rem) * 0.8889));
    font-weight: bold;
    letter-spacing: 0;
  }

  .modal_medical a {
    margin-bottom: 15px;
  }

}

/* ==================================================== */

/*  header
/* ==================================================== */
header {
  position: fixed;
  width: 100%;
  top: 0;
  margin: 0 auto;
  background: var(--main-gradation);
  z-index: 998;
}

.globalnav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1430px;
  font-size: clamp(14px, 1.245vw, 17px);
  color: #fff;
  /*padding: 13px 44px;*/
  height: 71px;
  margin: 0 auto;
  transition: all .3s ease;
}

header .logo {
  position: absolute;
  top: 50%;
  left: 3.5%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: clamp(30px, calc(30px + (47 - 30) * ((100vw - 768px) / (1366 - 768))), 47px);
  transition: all .3s ease;
}

.globalnav {
  display: flex;
  align-items: center;
  margin-right: 1%;
}

.globalnav .btn_medical a {
  display: block;
  color: #80584f;
  padding: 10px 20px;
  margin: 0 0 auto auto;
  background-color: #fff;
  text-align: center;
  font-size: clamp(12px, calc(12px + (15 - 12) * ((100vw - 768px) / (1366 - 768))), 15px);
}

.globalnav ul.globalnav__main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.globalnav .globalnav__main li {
  display: block;
  line-height: 1.2;
  text-align: center;
  padding: 8px clamp(8px, calc(8px + (20 - 8) * ((100vw - 768px) / (1366 - 768))), 25px);
  border-right: 1px solid #fff;
  transition: all ease 0.3s;
}

.globalnav .globalnav__main li:hover {
  color: #693a2f;
}

.globalnav .globalnav__main li a:hover {
  opacity: 1;
}

.globalnav .globalnav__main li:last-of-type {
  border-right: none;
}

.globalnav .globalnav__main li div.img-nav:before {
  content: '';
  display: inline-block;
  max-height: 32px;
  height: 2.1vw;
}

.globalnav .globalnav__main li div.nav-journal:before {
  background: url(../img/common/nav-journal.svg) no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: middle;
  width: clamp(76px, calc(76px + (86 - 76) * ((100vw - 768px) / (1366 - 768))), 86px);
  transition: all ease 0.3s;
}

.globalnav .globalnav__main li a:hover div.nav-journal:before {
  background: url(../img/common/nav-journal-hover.svg) no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: middle;
}

.globalnav .globalnav__main li div.nav-news:before {
  background: url(../img/common/nav-news.svg) no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: middle;
  width: clamp(94px, calc(94px + (104 - 94) * ((100vw - 768px) / (1366 - 768))), 104px);
}

.globalnav .globalnav__main li a:hover div.nav-news:before {
  background: url(../img/common/nav-news-hover.svg) no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: middle;
}

.globalnav .globalnav__main li div.nav-faq:before {
  background: url(../img/common/nav-faq.svg) no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: middle;
  width: clamp(26px, calc(26px + (36 - 26) * ((100vw - 768px) / (1366 - 768))), 36px);
}

.globalnav .globalnav__main li a:hover div.nav-faq:before {
  background: url(../img/common/nav-faq-hover.svg) no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: middle;
}

.globalnav .globalnav__main li div.nav-onlineshop:before {
  background: url(../img/common/nav-onlineshop.svg) no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: middle;
  width: clamp(96px, calc(96px + (106 - 96) * ((100vw - 768px) / (1366 - 768))), 106px);
}

.globalnav .globalnav__main li a:hover div.nav-onlineshop:before {
  background: url(../img/common/nav-onlineshop-hover.svg) no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: middle;
}

.globalnav .globalnav__main li img {
  max-height: 32px;
  height: 2.1vw;
  width: auto;
}

.globalnav .globalnav__main li.sp-only-nav {
  display: none;
}

.globalnav .dropdown-btn {
  position: relative;
  display: block;
  cursor: pointer;
}

.globalnav .dropdown {
  display: none;
  position: absolute;
  top: clamp(14px, calc(14px + (30 - 14) * ((100vw - 768px) / (1366 - 768))), 30px);
  left: 50%;
  transform: translateX(-50%);
  /*width: 200px;*/
  width: 110%;
  background-color: #fff;
  border: 1px solid #a77966;
  transition: all .4s ease-out;
}

.globalnav .dropdown li {
  padding: 10px 5px;
  border-bottom: 1px solid #a77966;
}

.globalnav .dropdown li:last-of-type {
  border-bottom: none;
}

.globalnav .dropdown li a {
  display: block;
  padding: 8px 0;
  font-size: clamp(10px, 1.2vw, 17px);
  color: #80584f;
}

.globalnav .dropdown li a:hover {
  opacity: 0.7;
}

.globalnav .nav-button-wrap, .globalnav .open {
  display: block;
}

.globalnav .close {
  display: block;
}

@media screen and (min-width:1px) and (max-width:1024px) {
  header {
    position: fixed;
    width: 100%;
    background: none;
  }

  header .logo {
    display: none;
  }

  header.show .globalnav-wrap div {
    display: none;
    transition: all .3s ease;
  }

  header .globalnav-wrap.open h1, header.show .globalnav-wrap.open h1 {
    position: absolute;
    display: block;
    top: 25px;
    transition: all .3s ease;
    z-index: 9999;
  }

  .globalnav .close {
    display: none;
  }

  .globalnav-wrap {
    display: block;
    color: #80584f;
    font-size: 1.6rem;
  }

  .globalnav-wrap.open .globalnav-wrap div {
    display: none;
  }

  .globalnav {
    display: none;
  }

  .globalnav-wrap.open .globalnav {
    display: block;
    padding: 94px 0 140px 0;
    position: fixed;
    left: 0;
    top: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 999;
  }

  .open .globalnav ul.globalnav__main {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .globalnav .globalnav__main li {
    padding: 0;
    border-bottom: 1px solid #E3E3E3;
    text-align: left;
    width: 80%;
  }

  .globalnav .globalnav__main li.sp-only-nav {
    display: block;
    width: 80%;
  }

  .globalnav .globalnav__main li .menu_parent {
    padding: 25px 5%;
    background: url(../img/common/icon_plus.svg) no-repeat;
    background-position: 95% 50%;
    background-size: 14px 14px;
  }

  .globalnav .globalnav__main li .menu_parent.open {
    background: url(../img/common/icon_minus.svg) no-repeat;
    background-position: 95% 50%;
  }

  .globalnav .dropdown li a::after {
    top: 15px;
  }

  .globalnav-wrap.open .globalnav .dropdown {
    display: none;
    position: relative;
    top: 0px;
    width: 100%;
    background: transparent;
    border: none;
  }

  .globalnav .dropdown li {
    width: 100%;
    border-bottom: 1px solid #E3E3E3;
  }

  .globalnav .dropdown li:last-child {
    border-bottom: none;
  }

  .globalnav .dropdown li a {
    display: block;
    position: relative;
    padding: 8px 15px;
    font-weight: normal;
    color: #80584f;
    cursor: default;
  }

  .globalnav .dropdown li a:before {
    content: "- ";
    margin-right: 5px;
  }

  .globalnav .dropdown li a::after {
    top: 12px;
  }

  .globalnav .globalnav__main li a {
    /*display: block;*/
    display: flex;
    font-size: 1.6rem;
    width: 100%;
    padding: 23px 5%;
    position: relative;
  }

  .globalnav .globalnav__main li a::after {
    position: absolute;
    top: 27px;
    right: 5%;
    width: 7px;
    height: 7px;
    content: "";
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border: 1px solid #80584f;
    border-bottom: none;
    border-left: none;
  }

  .globalnav .globalnav__main li img {
    height: 14px;
  }

  .globalnav .globalnav__main li:nth-child(5) img {
    height: 12px;
  }

  .globalnav .btn_medical {
    display: block;
    line-height: 1.2;
    margin: 0 auto;
    border-bottom: 1px solid #E3E3E3;
    text-align: left;
    width: 80%;
    border-right: 1px solid #fff;
    transition: all ease 0.3s;
  }

  .globalnav .btn_medical a {
    display: flex;
    width: 100%;
    padding: 23px 5%;
    position: relative;
    background-color: #fff;
    color: #80584f;
    font-size: 1.6rem;
  }

  /*.globalnav .btn_medical a::after {
    top: 28px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border: 1px solid #FFF;
    border-bottom: none;
    border-left: none;
  }*/

  .globalnav .btn_medical a::after {
    position: absolute;
    top: 27px;
    right: 5%;
    width: 7px;
    height: 7px;
    content: "";
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border: 1px solid #80584f;
    border-bottom: none;
    border-left: none;
  }

  .nav-button-wrap {
    display: block;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 1000;
    cursor: pointer;
    padding: 10px 12px;
    height: 43px;
    background-color: #fff;
  }

  .nav-button, .nav-button span {
    display: inline-block;
    transition: all 0.3s;
  }

  .nav-button {
    z-index: 20;
    width: 28px;
    height: 22px;
    position: relative;
    z-index: 1000;
  }

  .nav-button span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #80584f;
  }

  .nav-button span:nth-of-type(1) {
    top: 0;
  }

  .nav-button span:nth-of-type(2) {
    top: 10px;
  }

  .nav-button span:nth-of-type(3) {
    bottom: 0;
  }

  .active .nav-button span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
  }

  .active .nav-button span:nth-of-type(2) {
    opacity: 0;
  }

  .active .nav-button span:nth-of-type(3) {
    transform: translateY(-10px) rotate(45deg);
  }

}

/* ==================================================== */

/*  モーダル
/* ==================================================== */
.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}

.modal__bg {
  background: rgba(0, 0, 0, 0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}

.modal__content {
  background: #fff;
  left: 50%;
  padding: 40px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 760px;
  width: 85%;
}

.modal__content time {
  display: block;
  margin-bottom: 10px;
}

.modal__content h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.modal__content p {
  margin-bottom: 15px;
}
.modal__content p:last-child {
  margin-bottom: 0;
}

.modal__content p a {
  text-decoration: underline;
}

.modal-close {
  display: inline-block;
  position: absolute;
  right: 0;
  top: -40px;
  width: 25px;
}

@media screen and (max-width:1024px) {
  .modal__content {
    padding: 25px;
    max-height: 80%;
    overflow: scroll;
  }
  .close__box {
    position: relative;
    display: block;
    width: 95%;
    margin: 0 auto;
  }
  .close__box .close__box-icon {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
  }
  .close__box .close__box-icon .modal-close {
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    width: 25px;
  }
}

@media screen and (max-width:767px) {}

/* ==================================================== */

/*  footer
/* ==================================================== */
#footer {
  position: relative;
  color: #fff;
  font-size: clamp(14px, calc(14px + (15.76 - 14) * ((100vw - 768px) / (1366 - 768))), 15.76px);
  line-height: 1.4;
  padding: 36px 4.327vw 0 1.923vw;
  background: var(--main-gradation);
  z-index: 3;
}

#footer .footer_content {
  flex-wrap: wrap;
}

#footer .footer_content .text_box {
  max-width: 250px;
  width: 18.302vw;
  margin-right: auto;
}

#footer .footer_content .link_area .flex {
  justify-content: space-between;
  flex-wrap: wrap;
}

#footer .footer_content .link_area .flex ul {
  margin-right: 4.832vw;
}

#footer .footer_content .link_area .flex ul:last-of-type {
  margin-right: 0;
}

#footer .footer_content .link_area .flex ul li {
  margin-bottom: 1.5em;
}

#footer .footer_content .link_area .flex ul li a {
  transition: all ease 0.3s;
}

#footer .footer_content .link_area .flex ul li a:hover {
  color: #693a2f;
  opacity: 1;
}

#footer .footer_content .link_area .flex ul li ul li {
  margin-bottom: 0;
  padding-left: 1.5em;
  text-indent: -1.5em;
}

#footer .footer_content .link_area .flex ul li ul li.footer-sub:before {
  content: '';
  display: inline-block;
  width: 13px;
  height: 16px;
  padding-right: 4px;
  margin-left: 4px;
  background: url(../img/common/footer-sub.svg) no-repeat;
  background-size: contain;
  vertical-align: top;
}

.copyright {
  padding: 145px 0 25px;
  text-align: center;
  width: 100%;
}

.inner {
  /* 1040px; */
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.c-inner-l {
  /* 924px; */
  max-width: 1004px;
  margin: 0 auto;
  padding: 0 40px;
}

.c-inner-middle {
  /* 857px; */
  max-width: 937px;
  margin: 0 auto;
  padding: 0 40px;
}

.c-inner-s {
  /* 795px; */
  max-width: 875px;
  margin: 0 auto;
  padding: 0 40px;
}

.c-inner-max {
  max-width: 1600px;
  margin: auto;
}

@media screen and (max-width:1024px) {
  .copyright {
    padding: 20px 4% 105px;
    font-size: 10px;
  }

  .inner,
  .c-inner-middle,
  .c-inner-l,
  .c-inner-s {
    width: 100%;
    padding: 0 5%;
  }

  #footer {
    padding: 36px 4.327vw 0;
  }

  #footer .footer_content .text_box {
    width: 210px;
    margin-bottom: 30px;
  }

  #footer .footer_content .link_area {
    width: 100%;
  }

  #footer .footer_content .link_area .flex ul {
    margin-right: 0;
  }

}

@media screen and (max-width:767px) {
  #footer {
    padding: 36px 15vw 0;
  }

  #footer .footer_content .text_box {
    margin: 0 auto 30px;
  }

  #footer .footer_content .link_area .flex {
    flex-direction: column;
  }

  #footer .footer_content .link_area .flex ul li {
    margin-bottom: 1em;
  }

  #footer .footer_content .link_area .flex ul li ul li.footer-sub:before {
    width: 8px;
    height: 11px;
  }

}

/* A4縦でPCレイアウトを印刷させる
==================================================== */
@media print {
  html, html body {
    *zoom: 0.65;
  }

  body {
    width: 960px;
  }

}