@charset "utf-8";
/* --------------------------------------------------
    ボタン
-------------------------------------------------- */
.btn a {
  min-width: 200px;
  background: #147a4a;
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  column-gap: 1em;
  line-height: 1.3;
  padding: 1em 3em;
  border-radius: calc(1px/0);
}
.btn a:hover {
  filter: brightness(1.2);
}
.btn a::after {
  width: 7px;
  height: 12px;
  content: "";
  background: url("../images/icon_btn_arrow.svg") no-repeat center / cover;
  display: block;
}
.c-btn a, .r-btn a, .l-btn a {
  height: 3em;
  background: #147a4a;
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  column-gap: 10px;
  padding: 4px 20px 4px 4px;
  border-radius: calc(1px/0);
}
.c-btn a:hover, .r-btn a:hover, .l-btn a:hover {
  filter: brightness(1.2);
}
.c-btn a::before, .r-btn a::before, .l-btn a::before {
  width: 2.5em;
  height: 2.5em;
  content: "";
  background: url("../images/icon_consult.svg") no-repeat center / cover;
}
.r-btn a {
  background: #f59300;
}
.r-btn a::before {
  background-image: url("../images/icon_reserve.svg");
}
.l-btn a {
  background: #00b800;
  column-gap: 0;
}
.l-btn a::before {
  background-image: url("../images/icon_line_circle.png");
}
@media screen and (max-width: 1024px) {
  .btn a {
    min-width: 160px;
    padding: .75em 2em;
  }
}
/* --------------------------------------------------
    アニメーション
-------------------------------------------------- */
@keyframes header-fixed {
  0% {
    visibility: hidden;
    opacity: 0;
  }
  100% {
    visibility: visible;
    opacity: 1;
  }
}
@keyframes scroll_down {
  0% {
    rotate: 0;
  }
  100% {
    rotate: 360deg;
  }
}
/* --------------------------------------------------
    メールフォーム
-------------------------------------------------- */
/* 送信ボタン */
.mfp_element_submit, #mfp_button_send {
  background: #222;
}
/* ラジオボタン・チェックボックス */
#mailformpro input[type="checkbox"] ~ span::after, #mailformpro input[type="checkbox"]:checked ~ span::before {
  border-color: #58b2dc;
}
#mailformpro label[for^="radio"]:after {
  background: #58b2dc;
}
/* --------------------------------------------------
    Pagination
-------------------------------------------------- */
.pagination a, .pagination span {
  color: #222;
}
.pagination a::before {
  border-color: #222;
}
.pagination a:hover, .pagination span:hover, .pagination .current span {
  background: #222;
}
.pagination a:hover, .pagination a:hover > span, .pagination li:hover > span {
  background: #222;
}
/* --------------------------------------------------
    Pager
-------------------------------------------------- */

/* --------------------------------------------------
    見出し
-------------------------------------------------- */
/* h1 */
h1.h1 {
  
}
/* h2 */
h2.h2 {
  
}
/* h3 */
h3.h3 {
  
}
/* h4 */
h4.h4 {
  
}
@media screen and (max-width: 1024px) {
  /* h1 */
  h1.h1 {

  }
  /* h2 */
  h2.h2 {

  }
  /* h3 */
  h3.h3 {

  }
  /* h4 */
  h4.h4 {

  }
}
/* --------------------------------------------------
    メインタイトル
-------------------------------------------------- */
#mainTitle {
  height: 480px;
  background: url("../images/mainTitle_bg.jpg") no-repeat center / cover;
  font-size: 32px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}
#mainTitle::before {
  width: calc(calc(100% - 1260px)/2);
  height: 3em;
  content: "";
  background: #fff;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
}
#mainTitle::after {
  content: "FUJII PHARMACY";
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: 3em;
  font-weight: bold;
  line-height: 1;
  position: absolute;
  bottom: -.125em;
  right: calc(calc(100% - 1260px)/2 + 30px);
  z-index: -1;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #fff;
  text-stroke: 2px #fff;
}
#mainTitle p {
  max-width: 1260px;
  height: 3em;
  color: #147a4a;
  line-height: 1.5;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
#mainTitle p span {
  min-width: 30%;
  height: 100%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  padding: 0 2em 0 30px;
  border-top-right-radius: 1rem;
  position: relative;
}
#mainTitle p span::after {
  width: 1rem;
  height: 1rem;
  content: "";
  background: url("../images/curve.svg");
  display: block;
  line-height: 1;
  position: absolute;
  bottom: 0;
  left: 100%;
  z-index: 1;
}
@media screen and (max-width: 1260px) {
  #mainTitle {
    height: 35vw;
    font-size: 2.75vw;
  }
  #mainTitle::after {
    font-size: 8vw;
    content: "FUJII\APHARMACY";
    right: 30px;
    -webkit-text-stroke-width: 1px;
    text-stroke-width: 1px;
    white-space: pre;
  }
}
@media screen and (max-width: 560px) {
  #mainTitle {
    height: 200px;
    font-size: 5.333vw;
    display: grid;
    place-content: center;
    padding-top: 70px;
  }
  #mainTitle::before, #mainTitle::after {
    content: none;
  }
  #mainTitle p {
    height: auto;
    position: static;
  }
  #mainTitle p span {
    min-width: inherit;
    height: auto;
    padding: 0 .125em;
    border-top-right-radius: 0;
  }
  #mainTitle p span::after {
    content: none;
  }
}
/* --------------------------------------------------
    下層共通
-------------------------------------------------- */
.heading-ttl {
  color: #147a4a;
  font-size: 32px;
  font-weight: bold;
  padding-top: .75em;
  margin-bottom: 1em;
  position: relative;
}
.heading-ttl::before {
  width: .9375em;
  height: .4375em;
  content: "";
  background: url("../images/icon_mark.svg") no-repeat center / contain;
  display: block;
  flex-shrink: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.heading-ttl.txtC::before {
  margin: auto;
  right: 0;
}
main [class$="-main"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2.5 / 1;
  border-radius: 1rem;
}
.grid-block {
  display: grid;
  column-gap: 4%;
}
.grid-block + .grid-block {
  margin-top: 40px;
}
.content-txt p:not(:last-child), .content-txt ul:not(:last-child) {
  margin-bottom: 1.5em;
}
.grid-block .img img {
  border-radius: 1rem;
}
main [id$="-flow"] h2 + p {
  text-align: center;
}
main [id$="-flow"] .flows > li {
  background: #faf9f5;
  display: grid;
  grid-template-columns: auto 300px;
  align-items: flex-start;
  column-gap: 3rem;
  padding: 3em;
  margin-top: 3em;
  border-radius: .5rem;
  position: relative;
}
main [id$="-flow"] .flows > li:not(:last-child)::after {
  width: 2em;
  height: 1em;
  content: "";
  background: #147a4a;
  display: block;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  margin: auto;
  position: absolute;
  bottom: -2em;
  left: 0;
  right: 0;
}
main [id$="-flow"] .flows .step {
  color: #147a4a;
  display: flex;
  align-items: center;
  column-gap: .5em;
  margin-bottom: 0;
}
main [id$="-flow"] .flows .step span {
  font-size: 2em;
  line-height: 1;
}
main [id$="-flow"] .flows h3 {
  font-size: 24px;
  font-weight: bold;
  margin: .5em 0;
}
main [id$="-flow"] .flows .contact {
  width: fit-content;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 1em 1.5em;
  border-radius: 1rem;
}
main [id$="-flow"] .flows .contact p {
  font-size: 13px;
  text-align: center;
  padding-right: 1.5em;
  margin: 0 1.5em 0 0;
  border-right: 1px solid #ccc;
}
main [id$="-flow"] .flows .tel {
  font-size: 28px;
  line-height: 1.2;
}
main [id$="-flow"] .flows .tel a {
  display: inline-flex;
  align-items: center;
  column-gap: 5px;
}
main [id$="-flow"] .flows .tel a::before {
  width: .75em;
  height: .833em;
  content: "";
  background: url("../images/icon_phone.svg") no-repeat center / contain;
  display: block;
}
main [id$="-flow"] .flows .r-btn a {
  width: 200px;
  justify-content: space-between;
}
main [id$="-flow"] .flows .r-btn a::after {
  content: "";
}
main [id$="-flow"] .flows .img img {
  border-radius: .5rem;
}
main .faq-list dl {
  background: #f7f7f7;
  padding: 1.5em;
  margin-top: 1.5em;
  border-radius: .5rem;
}
main .faq-list dt {
  font-size: 1.125em;
  font-weight: bold;
  display: flex;
  align-items: flex-start;
  column-gap: .5em;
}
main .faq-list dt::before {
  content: "Q";
  font-family: "Lato", sans-serif;
  font-size: 1.25em;
  line-height: 1.44;
}
main .faq-list dd {
  background: #fff;
  padding: 1em 1.5em;
  margin-top: 1em;
  border-radius: .5rem;
}
@media screen and (max-width: 1024px) {
  .heading-ttl {
    font-size: min(6.667vw, 26px);
  }
  main [class$="-main"] img {
    aspect-ratio: 16 / 9;
    border-radius: .5rem;
  }
  .grid-block {
    grid-template-columns: auto !important;
    row-gap: 1.5em;
  }
  .grid-block + .grid-block {
    margin-top: 2em;
  }
  .content-txt p:not(:last-child), .content-txt ul:not(:last-child) {
    margin-bottom: 1.25em;
  }
  .grid-block .img img {
    border-radius: .5rem;
  }
  main [id$="-flow"] h2 + p {
    text-align: left;
  }
  main [id$="-flow"] .flows > li {
    grid-template-columns: auto;
    align-items: flex-start;
    row-gap: 1.5rem;
    padding: 1.25em;
  }
  main [id$="-flow"] .flows > li:not(:last-child)::after {
    width: 1.6em;
    height: .8em;
    bottom: -1.9em;
  }
  main [id$="-flow"] .flows .step {
    font-size: 14px;
  }
  main [id$="-flow"] .flows h3 {
    font-size: 22px;
  }
  main [id$="-flow"] .flows .contact {
    width: 100%;
    flex-direction: column;
    padding: 1em;
    border-radius: .5rem;
  }
  main [id$="-flow"] .flows .contact p {
    font-size: 12px;
    padding: 0;
    margin: 0 0 1.5em 0;
    border-right: none;
  }
  main [id$="-flow"] .flows .tel {
    font-size: 26px;
  }
  main .faq-list dl {
    padding: .75em;
    margin-top: 1.25em;
  }
  main .faq-list dt {
    line-height: 1.5;
  }
  main .faq-list dt::before {
    line-height: 1.2;
  }
  main .faq-list dd {
    padding: .75em 1em;
    margin-top: 1em;
    border-radius: .5rem;
  }
}
/* --------------------------------------------------
    フジイ薬局の想い
-------------------------------------------------- */
#philosophy-history {
  padding-bottom: 100px;
  position: relative;
}
#philosophy-history::after {
  width: 100%;
  height: 325px;
  content: "";
  background: #faf9f5;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
}
#philosophy-history h2 {
  color: #147a4a;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin: -1.25em 0 .5em;
}
#philosophy-history h2 span {
  background: #fff;
  display: inline-block;
  padding: .5em 1.5em;
  border-radius: .5rem;
}
#philosophy-history .content-txt {
  padding-inline: 40px;
}
#philosophy-history .history-img {
  max-width: 800px;
  margin: 60px auto 0;
}
#philosophy-history .history-img img {
  border-radius: 1rem;
}
#philosophy-about .grid-block {
  grid-template-columns: 60% 36%;
  justify-content: flex-end;
}
#philosophy-about .grid-block + .grid-block {
  margin-top: 20px;
}
#philosophy-about .grid-block.rev {
  grid-template-columns: 36% 60%;
  justify-content: flex-start;
}
#philosophy-about .grid-block.rev .content-txt {
  order: 2;
}
#philosophy-about .grid-block.rev .content-txt {
  padding-top: 60px;
}
#philosophy-about .grid-block .img {
  padding: 0 40px 40px 0;
  position: relative;
}
#philosophy-about .grid-block .img::before {
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  content: "";
  background: #edf5f1;
  display: block;
  border-radius: 1rem;
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: -1;
}
#philosophy-about .grid-block.rev .img {
  padding: 40px 0 0 40px;
}
#philosophy-about .grid-block.rev .img::before {
  top: 0;
  left: 0;
}
#philosophy-strength h2 + p {
  text-align: center;
}
#philosophy-strength .strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2em;
  margin: 40px 0 60px;
  counter-reset: strength_cnt;
}
#philosophy-strength .strengths > li {
  padding: 3.5em 1.5em 1.5em;
  border: 1px solid #f59300;
  border-radius: .5rem;
  position: relative;
}
#philosophy-strength .strengths > li::before {
  content: counter(strength_cnt, decimal-leading-zero);
  counter-increment: strength_cnt;
  width: 3rem;
  height: 3rem;
  color: #f59300;
  font-family: "Lato", sans-serif;
  font-size: 1.25em;
  display: grid;
  place-content: center;
  border-bottom: 1px solid;
  position: absolute;
  top: 0;
  left: 0;
}
#philosophy-strength .strengths h3 {
  color: #f59300;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  padding: .125em;
  margin: 0 auto 1rem;
}
#philosophy-strength .grid-block {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
#philosophy-strength .grid-block .img {
  order: 2;
}
@media screen and (max-width: 1024px) {
  #philosophy-history {
    padding-bottom: 60px;
  }
  #philosophy-history::after {
    height: calc(25vw + 60px);
  }
  #philosophy-history h2 {
    font-size: 24px;
  }
  #philosophy-history h2 span {
    padding-inline: 1em;
  }
  #philosophy-history .content-txt {
    padding-inline: 0;
  }
  #philosophy-history .history-img {
    margin-top: 30px;
  }
  #philosophy-history .history-img img {
    border-radius: .5rem;
  }
  #philosophy-about .grid-block + .grid-block {
    margin-top: 30px;
  }
  #philosophy-about .grid-block.rev .img {
    order: 2;
  }
  #philosophy-about .grid-block.rev .content-txt {
    padding-top: 0;
  }
  #philosophy-about .grid-block .img {
    padding: 0 10px 10px 0;
    position: relative;
  }
  #philosophy-about .grid-block .img::before {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border-radius: .5rem;
    top: 10px;
    left: 10px;
  }
  #philosophy-about .grid-block.rev .img {
    padding: 0 0 10px 10px;
  }
  #philosophy-about .grid-block.rev .img::before {
    top: auto;
    bottom: 0;
  }
  #philosophy-about .grid-block .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
  }
  #philosophy-strength h2 {
    text-align: left;
  }
  #philosophy-strength h2::before {
    right: auto;
  }
  #philosophy-strength h2 + p {
    text-align: left;
  }
  #philosophy-strength .strengths {
    grid-template-columns: auto;
    row-gap: 1.5em;
    margin: 20px 0 40px;
  }
  #philosophy-strength .strengths > li {
    padding: .5em 1.25em 1.25em;
  }
  #philosophy-strength .grid-block .content-txt {
    order: 2;
  }
}
/* --------------------------------------------------
    漢方相談
-------------------------------------------------- */
#kampo-lead .kampo-main {
  position: relative;
}
#kampo-lead .kampo-main h2 {
  color: #147a4a;
  font-size: 40px;
  font-weight: bold;
  line-height: 1.8;
  position: absolute;
  top: 2em;
  left: 1em;
}
#kampo-lead .kampo-main h2 span {
  background: #fff;
  padding: 0 .25em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
#kampo-lead .kampo-main + p {
  font-size: 18px;
  text-align: center;
  margin-top: 1em;
}
#kampo-philosophy h2 + p {
  text-align: center;
  margin-bottom: 2em;
}
#kampo-philosophy .grid-block {
  grid-template-columns: 36% auto;
  align-items: center;
}
#kampo-philosophy .grid-block + .grid-block {
  margin-top: 0;
}
#kampo-philosophy .grid-block.rev {
  grid-template-columns: auto 36%;
}
#kampo-philosophy .grid-block.rev .img {
  order: 2;
}
#kampo-philosophy h3 {
  color: #f59300;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: .5em;
}
#kampo-philosophy h3 span {
  font-size: .5em;
  display: inline-block;
  vertical-align: middle;
  padding: .15em .5em;
  margin-right: 1em;
  border: 1px solid;
}
#kampo-medical {
  background: #faf9f5;
  padding-bottom: 100px;
  margin-top: 100px;
}
#kampo-trouble .troubles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
}
#kampo-trouble .troubles dl {
  padding: 1em 1.5em 1.5em;
  border: 1px solid #f59300;
  border-radius: .5rem;
}
#kampo-trouble .troubles dt {
  color: #f59300;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  padding-bottom: .25em;
  margin-bottom: 1em;
  border-bottom: 1px solid;
}
#kampo-trouble .troubles dd {
  word-break: auto-phrase;
}
@media screen and (max-width: 1024px) {
  #kampo-lead .kampo-main h2 {
    font-size: min(5.867vw, 32px);
    top: 1em;
  }
  #kampo-lead .kampo-main + p {
    font-size: 16px;
    text-align: left;
  }
  #kampo-philosophy h2 + p {
    text-align: left;
    margin-bottom: 2em;
  }
  #kampo-philosophy .grid-block {
    row-gap: 0;
  }
  #kampo-philosophy .grid-block + .grid-block {
    margin-top: 2em;
  }
  #kampo-philosophy .grid-block .content-txt {
    display: contents;
  }
  #kampo-philosophy .grid-block .content-txt p {
    order: 3;
  }
  #kampo-philosophy .grid-block .img {
    margin-bottom: 1em;
    order: 2;
  }
  #kampo-philosophy h3 {
    font-size: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 1;
    margin-bottom: 0;
  }
  #kampo-philosophy h3 span {
    font-size: 14px;
    margin: 0 0 .25em;
  }
  #kampo-medical {
    padding-bottom: 60px;
    margin-top: 60px;
  }
  #kampo-trouble .troubles {
    grid-template-columns: auto;
  }
}
/* --------------------------------------------------
    漢方ダイエット
-------------------------------------------------- */
#diet-about .grid-block {
  grid-template-columns: 1fr 1fr;
}
#diet-about .diet-merit {
  background: #faf9f5;
  font-weight: 500;
  padding: 3em 2em 2em;
  margin-top: 4em;
  border-radius: .5rem;
  position: relative;
}
#diet-about .diet-merit h3 {
  background: #f59300;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: .25em .75em;
  border-radius: .5rem;
  position: absolute;
  top: -1em;
  left: 2rem;
}
#diet-about .diet-merit .list {
  display: flex;
  align-items: center;
  column-gap: 2em;
}
#diet-reason .reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
  counter-reset: reasons_cnt;
}
#diet-reason .reasons > li {
  padding: 3.5em 1.5em 1.5em;
  border: 1px solid #f59300;
  border-radius: .5rem;
  position: relative;
}
#diet-reason .reasons > li::before {
  content: counter(reasons_cnt, decimal-leading-zero);
  counter-increment: reasons_cnt;
  width: 3rem;
  height: 3rem;
  color: #f59300;
  font-family: "Lato", sans-serif;
  font-size: 1.25em;
  display: grid;
  place-content: center;
  border-bottom: 1px solid;
  position: absolute;
  top: 0;
  left: 0;
}
#diet-reason .reasons h3 {
  color: #f59300;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  padding: .125em;
  margin: 0 auto 1rem;
}
@media screen and (max-width: 1024px) {
  #diet-about .diet-merit {
    padding: 2em 1.25em 1.5em;
    margin-top: 4em;
    border-radius: .5rem;
    position: relative;
  }
  #diet-about .diet-merit h3 {
    font-size: 18px;
    left: 1.25rem;
  }
  #diet-about .diet-merit .list {
    display: block;
  }
  #diet-reason .reasons {
    grid-template-columns: auto;
    row-gap: 1.5em;
  }
  #diet-reason .reasons > li {
    padding: .5em 1.25em 1.25em;
  }
  #diet-reason .reasons h3 {
    font-size: 20px;
    text-align: left;
    padding-left: 3rem;
  }
}
/* --------------------------------------------------
    アトピー性皮膚炎
-------------------------------------------------- */
#atopic-about .grid-block {
  grid-template-columns: auto 36%;
  align-items: flex-end;
}
#atopic-medical {
  background: #faf9f5;
  padding-bottom: 100px;
  margin-top: 100px;
}
#atopic-medical .grid-block {
  grid-template-columns: 1fr 1fr;
}
#atopic-medical .content-txt {
  background: #fff;
  padding: 1.5em;
  border-radius: .5rem;
}
#atopic-medical h3 {
  color: #f59300;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  padding-bottom: .25em;
  margin-bottom: 1em;
  border-bottom: 1px solid;
}
#atopic-remedy h2 + p {
  text-align: center;
  margin-bottom: 3em;
}
#atopic-remedy .remedies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2em;
}
#atopic-remedy .content-txt {
  padding: 1.5em;
  border: 1px solid #f59300;
  border-radius: .5rem;
}
#atopic-remedy h3 {
  color: #f59300;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  padding-bottom: .25em;
  margin-bottom: 1em;
  border-bottom: 1px solid;
}
@media screen and (max-width: 1024px) {
  #atopic-medical {
    padding-bottom: 60px;
    margin-top: 60px;
  }
  #atopic-remedy h2 + p {
    text-align: left;
    margin-bottom: 2em;
  }
  #atopic-remedy .remedies {
    grid-template-columns: auto;
    row-gap: 1.5em;
  }
}
/* --------------------------------------------------
    健康相談窓口
-------------------------------------------------- */
#flow-lead h2 {
  color: #147a4a;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  line-height: 1.7;
  margin: -2.5em 0 1em;
}
#flow-lead h2 > span {
  background: #fff;
  padding: 0 .5em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
#flow-lead h2 + p {
  text-align: center;
}
@media screen and (max-width: 1024px) {
  #flow-lead h2 {
    font-size: min(5.867vw, 24px);
    line-height: 1.5;
    margin-top: .5em;
  }
  #flow-lead h2 span {
    padding: 0;
  }
  #flow-lead h2 + p {
    text-align: left;
  }
}
/* --------------------------------------------------
    店舗案内
-------------------------------------------------- */
#about-message h2 {
  margin-bottom: 1.5em;
}
#about-message .about01 {
  grid-template-columns: 60% 36%;
}
#about-message .about01 .img img {
  border-radius: 1rem;
}
#about-message .about02 {
  grid-template-columns: 1fr 1fr;
}
#about-message h3 {
  color: #f59300;
  font-size: 24px;
  font-weight: 600;
  padding-bottom: .5em;
  margin-bottom: 1em;
  border-bottom: 1px solid;
}
#about-gallery .gallery {
  max-width: 960px;
  margin: 0 auto;
}
#about-gallery .main-gallery {
  position: relative;
}
#about-gallery .main-gallery .swiper-slide {
  border-radius: .5rem;
  overflow: hidden;
}
#about-gallery .thumb-gallery {
  margin-top: 20px;
}
#about-gallery .thumb-gallery .swiper-slide {
  background: #000;
  border-radius: .5rem;
  overflow: hidden;
  cursor: pointer;
}
#about-gallery .thumb-gallery .swiper-slide img {
  opacity: .6;
}
#about-gallery .thumb-gallery .swiper-slide-thumb-active img {
  opacity: 1;
}
#about-gallery .swiper-button-prev, #about-gallery .swiper-button-next {
  color: #fff;
  width: 4em;
  height: 4em;
}
#about-gallery .swiper-button-prev {
  left: -2em;
}
#about-gallery .swiper-button-next {
  right: -2em;
}
#about-gallery .swiper-button-prev::after, #about-gallery .swiper-button-next::after {
  width: 100%;
  height: 100%;
  background: #147a4a;
  font-size: 1.25em;
  display: grid;
  place-content: center;
  border-radius: 50%;
}
#about-outline .grid-block {
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
}
#about-outline table th, #about-outline table td {
  background: none;
  border-left: none;
  border-right: none;
}
#about-outline table th {
  font-weight: 600;
  text-align: left;
}
#about-outline table td {
  padding-left: 0;
}
#about-access .gmap iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 2;
  vertical-align: bottom;
}
#about-access .access {
  width: fit-content;
  display: flex;
  align-items: center;
  margin: 1.5em auto 0;
  border: 1px solid #f59300;
}
#about-access .access dt {
  width: 150px;
  background: #f59300;
  color: #fff;
  text-align: center;
  padding: .5em;
}
#about-access .access dd {
  padding: 0 2em;
}
@media screen and (max-width: 1024px) {
  #about-message h2 {
    margin-bottom: 1em;
  }
  #about-message .about02 {
    row-gap: 2em;
  }
  #about-message .about01 .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border-radius: .5rem;
  }
  #about-gallery .thumb-gallery {
    margin-top: 10px;
  }
  #about-gallery .swiper-button-prev, #about-gallery .swiper-button-next {
    width: 2.4em;
    height: 2.4em;
  }
  #about-gallery .swiper-button-prev {
    left: -5%;
  }
  #about-gallery .swiper-button-next {
    right: -5%;
  }
  #about-gallery .swiper-button-prev::after, #about-gallery .swiper-button-next::after {
    font-size: .75em;
  }
  #about-message h3 {
    font-size: 20px;
  }
  #about-outline table th:first-of-type, #about-outline table td:first-of-type {
    border-top: none;
  }
  #about-outline table th {
    padding-left: 0;
    padding-right: 1.5em;
  }
  #about-outline table td {
    padding-right: 0;
  }
  #about-access .gmap iframe {
    aspect-ratio: 1 / 1;
  }
  #about-access .access {
    align-items: stretch;
    margin-left: 0;
  }
  #about-access .access dt {
    width: auto;
    padding: .75em .5em;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
  }
  #about-access .access dd {
    display: flex;
    flex-grow: 1;
    align-items: center;
    padding: 1em;
  }
}
/* --------------------------------------------------
    相談リンク
-------------------------------------------------- */
#service-link {
  background: #faf9f5;
  padding: 40px 0;
}
#service-link .inner, #service-link ul {
  display: flex;
  align-items: center;
}
#service-link .inner {
  justify-content: center;
  column-gap: 5em;
}
#service-link .ttl {
  color: #147a4a;
  font-size: 22px;
  font-weight: bold;
}
#service-link ul {
  column-gap: 3em;
}
#service-link ul a {
  font-weight: 600;
  display: flex;
  align-items: center;
  column-gap: 1.5em;
  text-decoration: underline;
}
#service-link ul a:hover {
  color: #147a4a;
}
#service-link ul a::after {
  width: .65em;
  height: .75em;
  content: "";
  background: #147a4a;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
@media screen and (max-width: 1024px) {
  #service-link {
    padding: 40px 0;
  }
  #service-link .inner, #service-link ul {
    display: block;
  }
  #service-link .ttl {
    font-size: 24px;
    text-align: center;
    margin-bottom: .5em;
  }
  #service-link ul {
    column-gap: 3em;
  }
  #service-link ul li {
    border-bottom: 1px solid;
  }
  #service-link ul a {
    justify-content: space-between;
    text-decoration: none;
    padding: 1em;
  }
}
/* --------------------------------------------------
    新着
-------------------------------------------------- */
/* 一覧 */
#category .container .inner {
  display: grid;
  grid-template-columns: auto 240px;
  column-gap: 80px;
}
.news-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
}
#category .news-list {
  grid-template-columns: repeat(2, 1fr);
  gap: 4em;
}
.news-list .img {
  border-radius: .5em;
  overflow: hidden;
}
.news-list .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / .667;
  transition: scale .5s ease;
}
.news-list a:hover .img img {
  scale: 1.05;
}
.news-list .info {
  display: flex;
  justify-content: space-between;
  column-gap: .5em;
  margin: .5em 0 .5em;
}
.news-list .info .cat {
  font-weight: 500;
}
.news-list .info .date {
  color: #888;
}
.news-list .ttl-more {
  display: flex;
  justify-content: space-between;
  column-gap: 1.25em;
}
.news-list .post-ttl {
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.news-list .more {
  width: 2.5em;
  height: 2.5em;
  display: grid;
  place-content: center;
  flex-shrink: 0;
  margin-top: .5625em;
  border: 1px solid #ccc;
  border-radius: 50%;
  transition: background .2s ease;
}
.news-list a:hover .more {
  background: #147a4a;
}
.news-list .more::before {
  width: 7px;
  height: 12px;
  content: "";
  background: url("../images/icon_btn_arrow_green.svg") no-repeat center / cover;
  display: block;
  transition: .2s ease;
}
.news-list a:hover .more::before {
  background-image: url("../images/icon_btn_arrow.svg");
}
/* 詳細 */
#post .container .inner {
  display: grid;
  grid-template-columns: auto 240px;
  column-gap: 80px;
}
#post .post-info {
  display: flex;
  align-items: center;
  column-gap: 1em;
  margin-bottom: 1em;
}
#post .post-info .date {
  color: #888;
}
#post h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 2em;
}
.post_contents h2 {
  background: #147a4a;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  padding: .25em .75em;
  margin: 2em 0 1em;
}
.post_contents h3 {
  font-size: 24px;
  font-weight: bold;
  padding-left: 1.5rem;
  margin: 1.5em 0 .75em;
  position: relative;
}
.post_contents h3::before {
  width: .5rem;
  height: 100%;
  content: "";
  background: #147a4a;
  display: block;
  border-radius: calc(1px/0);
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (max-width: 1560px) {
  /* 一覧 */
  .news-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 1024px) {
  /* 一覧 */
  .news-list {
    grid-template-columns: repeat(2, 1fr);
  }
  #category .container .inner, #post .container .inner {
    grid-template-columns: auto;
    row-gap: 60px;
  }
}
@media screen and (max-width: 767px) {
  /* 一覧 */
  .news-list, #category .news-list {
    grid-template-columns: auto;
  }
  .news-list .post-ttl {
    line-height: 1.5;
  }
  .news-list .more {
    margin-top: .25em;
  }
  /* 詳細 */
  #post h1 {
    font-size: 24px;
    margin-bottom: 1.5em;
  }
  .post_contents h2 {
    font-size: 24px;
    padding: .25em .5em;
    margin: 1.5em 0 .75em;
  }
  .post_contents h3 {
    font-size: 22px;
  }
}
/* --------------------------------------------------
    トップページ
-------------------------------------------------- */
/* common */
section[id^="top"] {
  padding: 120px 0;
}
section[id^="top"] h2 {
  color: #147a4a;
  font-size: 32px;
  font-weight: bold;
  padding-top: .75em;
  margin-bottom: 1em;
  position: relative;
}
section[id^="top"] h2::before {
  width: .9375em;
  height: .4375em;
  content: "";
  background: url("../images/icon_mark.svg") no-repeat center / contain;
  display: block;
  flex-shrink: 0;
  position: absolute;
  top: 0;
  left: 0;
}
/* mainVisual */
#mainVisual {
  height: max(720px, 100vh);
  background: #edf5f1;
  font-size: .833vw;
  display: grid;
  grid-template-columns: 40% auto;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#mainVisual::before {
  content: "FUJII PHARMACY";
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: 10vw;
  font-weight: bold;
  line-height: 1;
  position: absolute;
  bottom: -.125em;
  left: -.075em;
  z-index: -1;
}
#mainVisual > * {
  opacity: 0;
  transition: opacity 1s .5s ease;
}
#mainVisual.is-active > * {
  opacity: 1;
}
.mv-copy {
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1.5;
  padding-left: 10vw;
  font-feature-settings: 'palt';
}
.mv-copy.is-active {
  opacity: 1;
}
.mv-copy > * {
  letter-spacing: .04em;
}
.mv-copy .copy {
  font-size: 2.667em;
  margin-bottom: .5em;
}
.mv-copy .copy .fcGreen span {
  font-size: 1.25em;
}
.mv-copy .sub span {
  display: inline-block;
  padding-bottom: .25em;
  border-bottom: 1px solid;
}
.mv-slider {
  height: 70%;
  margin-top: 120px;
  border-radius: .5em 0 0 .5em;
  overflow: hidden;
}
.mv-slider .swiper {
  width: min(100%, 960px);
  height: 100%;
  padding-right: 3em;
  margin-left: 0;
  overflow: visible;
}
.mv-slider .swiper-wrapper {
  transition-timing-function: linear;
}
.mv-slider .swiper-slide {
  border-radius: .5em;
  overflow: hidden;
}
.mv-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1.2 / 1;
}
.mv-scroll {
  width: 5vw;
  height: 5vw;
  display: grid;
  place-content: center;
  position: absolute;
  bottom: 5vw;
  left: 10vw;
  z-index: 1;
}
.mv-scroll::before {
  content: "";
  background: url("../images/scroll_down.svg") no-repeat center / cover;
  display: block;
  position: absolute;
  inset: 0;
  animation: scroll_down 10s linear infinite;
}
.mv-scroll img {
  rotate: 90deg;
}
/* topPhilosophy */
#topPhilosophy {
  padding: 144px 0;
}
#topPhilosophy .inner {
  max-width: 1920px;
  margin: 0 auto;
}
#topPhilosophy .conts {
  max-width: 640px;
  display: grid;
  place-content: center;
  margin: 0 auto;
}
#topPhilosophy h3 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 1.75em;
}
#topPhilosophy .conts p + p {
  margin-top: 1em;
}
#topPhilosophy .conts .btn {
  text-align: right;
  margin-top: 3em;
}
#topPhilosophy [class^="img"] {
  position: absolute;
}
#topPhilosophy .img01, #topPhilosophy .img02 li {
  border-radius: .5em;
  overflow: hidden;
}
#topPhilosophy .img01 {
  width: min(25vw, 480px);
  bottom: -2.5vw;
  left: 2.5vw;
}
#topPhilosophy .img01 img {
  border-radius: calc(1px/0) calc(1px/0) 0 0;
}
#topPhilosophy .img02 {
  width: min(30vw, 576px);
  top: -2.5vw;
  right: 2.5vw;
}
#topPhilosophy .img02 li:first-child img {
  border-radius: calc(1px/0) 0 0 calc(1px/0);
}
#topPhilosophy .img02 li:nth-child(2) {
  width: 66.6666%;
  margin: -2.5vw 0 0 25%;
}
#topPhilosophy .img02 li:nth-child(2) img {
  border-radius: 0 calc(1px/0) calc(1px/0) 0;
}
/* topInitiative */
#topInitiative {
  background: #147a4a;
}
#topInitiative .inner {
  max-width: inherit;
  display: flex;
  align-items: flex-start;
  column-gap: 5vw;
  padding: 0 0 0 10vw;
}
#topInitiative h2 {
  color: #fff;
  line-height: 1;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}
#topInitiative .initiativ_slider {
  width: 100%;
  padding-right: 10vw;
}
#topInitiative .initiativ_slider .swiper-wrapper {
  border-radius: .5em 0 0 .5em;
}
#topInitiative .initiativ_slider .swiper-slide {
  width: max(22.5%, 384px);
  background: #fff;
  padding: 2em 1.5em;
  border-radius: .75em;
}
#topInitiative .initiativ_slider h3 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: .5em 0;
}
#topInitiative .swiper-controls {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 20px;
  margin-top: 2em;
  position: relative;
}
#topInitiative .swiper-button {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4px;
}
#topInitiative .swiper-button > * {
  width: 48px;
  height: 48px;
  background: #fff;
  display: grid;
  place-content: center;
  cursor: pointer;
}
#topInitiative .swiper-button .prev {
  border-radius: 24px 4px 4px 24px;
}
#topInitiative .swiper-button .next {
  border-radius: 4px 24px 24px 4px;
}
#topInitiative .swiper-button > *::before {
  width: 18px;
  height: 14px;
  content: "";
  background: url("../images/icon_arrow.svg") no-repeat center / cover;
  display: block;
  translate: -25% 0;
}
#topInitiative .swiper-button .prev::before {
  translate: 25% 0;
  scale: -1 1;
}
#topInitiative .swiper-button .swiper-button-disabled {
  opacity: .6;
}
#topInitiative .swiper-scrollbar {
  width: 85%;
  height: 4px;
  background: #fff;
  position: static;
}
#topInitiative .swiper-scrollbar-drag {
  background: #0d5232;
  cursor: pointer;
}
/* topService */
#topService {
  background: #faf9f5;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
#topService h2 {
  text-align: center;
}
#topService h2::before {
  margin: auto;
  right: 0;
}
#topService .service-box {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  column-gap: 120px;
}
#topService .service-box.even {
  flex-direction: row;
}
#topService .service-box + .service-box {
  margin-top: 3em;
}
#topService .service-box .img {
  width: 480px;
  flex-shrink: 0;
  padding: 10px;
  border: 1px solid #ccc29b;
  border-radius: calc(1px/0) calc(1px/0) 0 0;
}
#topService .service-box .img img {
  border-radius: calc(1px/0) calc(1px/0) 0 0;
}
#topService .service-box h3 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 1em;
}
#topService .service-box p + p {
  margin-top: 1em;
}
#topService .service-box .btn {
  margin-top: 3em;
}
#topService [class^="bg0"] {
  position: absolute;
  z-index: -1;
}
#topService [class^="bg0"] {
  width: max(60%, 960px);
  height: 768px;
  border-radius: 1em;
  position: absolute;
  z-index: -1;
  overflow: hidden;
}
#topService .bg01 {
  top: 240px;
  left: 48px;
}
#topService .bg02 {
  bottom: 240px;
  right: 48px;
}
#topService [class^="bg0"] span {
  width: 100%;
  height: 100%;
  background: #fff;
  display: block;
  border-radius: 0 calc(1px/0) calc(1px/0) 0;
}
#topService .bg02 span {
  border-radius: calc(1px/0) 0 0 calc(1px/0);
}
/* topNews */
#topNews .inner {
  max-width: 2160px;
  padding: 0 10%;
}
#topNews .heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2em;
}
#topNews h2 {
  margin-bottom: 0;
}
#topNews .news-slider .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 2em;
}
#topNews .news-slider .img {
  border-radius: .5em;
  overflow: hidden;
}
#topNews .news-slider .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / .667;
  transition: scale .5s ease;
}
#topNews .news-slider a:hover .img img {
  scale: 1.05;
}
#topNews .news-slider .info {
  display: flex;
  justify-content: space-between;
  column-gap: .5em;
  margin: .5em 0 .5em;
}
#topNews .news-slider .info .cat {
  font-weight: 500;
}
#topNews .news-slider .info .date {
  color: #888;
}
#topNews .news-slider .ttl-more {
  display: flex;
  justify-content: space-between;
  column-gap: 1.25em;
}
#topNews .news-slider .post-ttl {
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
#topNews .news-slider .more {
  width: 2.5em;
  height: 2.5em;
  display: grid;
  place-content: center;
  flex-shrink: 0;
  margin-top: .5625em;
  border: 1px solid #ccc;
  border-radius: 50%;
  transition: background .2s ease;
}
#topNews .news-slider a:hover .more {
  background: #147a4a;
}
#topNews .news-slider .more::before {
  width: 7px;
  height: 12px;
  content: "";
  background: url("../images/icon_btn_arrow_green.svg") no-repeat center / cover;
  display: block;
  transition: .2s ease;
}
#topNews .news-slider a:hover .more::before {
  background-image: url("../images/icon_btn_arrow.svg");
}
@media screen and (max-width: 1560px) {
  #topPhilosophy h3 ~ p {
    padding: 0 5% 0 15%;
  }
  #topService .bg01 {
    left: -5%;
  }
  #topService .bg02 {
    right: -5%;
  }
  #topNews .inner {
    padding: 0 5%;
  }
  #topNews .news-slider .swiper-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  #topNews .news-slider .swiper-slide:nth-child(4) {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  /* common */
  section[id^="top"] {
    padding: 60px 0;
  }
  section[id^="top"] h2 {
    font-size: min(5.867vw, 24px);
  }
  /* mainVisual */
  #mainVisual {
    height: 100vh;
    font-size: min(3.733vw, 24px);
    grid-template-columns: auto;
    align-items: stretch;
    row-gap: 5%;
    padding: calc(80px + 5%) 0 12.5%;
  }
  #mainVisual::before {
    font-size: 12vw;
    white-space: nowrap;
  }
  .mv-copy {
    font-size: 1em;
    line-height: 1.4;
    padding-left: 10%;
  }
  .mv-copy .copy {
    font-size: 2.5em;
    margin-bottom: .25em;
  }
  .mv-slider {
    height: auto;
    max-height: 400px;
    margin-top: 0;
  }
  .mv-slider .swiper {
    padding-right: 20%;
  }
  .mv-scroll {
    width: min(20vw, 80px);
    height: min(20vw, 80px);
    bottom: 5%;
    left: 5%;
  }
  /* topPhilosophy */
  #topPhilosophy {
    padding: 100px 0 60px;
  }
  #topPhilosophy .inner {
    padding-bottom: min(20vw, 240px);
  }
  #topPhilosophy h3 {
    font-size: min(6.933vw, 32px);
    margin-bottom: 1.25em;
  }
  #topPhilosophy h3 ~ p {
    padding-left: 0;
  }
  #topPhilosophy .conts .btn {
    margin-top: 2em;
  }
  #topPhilosophy .img01 {
    width: min(35vw, 160px);
    bottom: -30px;
    left: 5vw;
  }
  #topPhilosophy .img02 {
    width: min(38vw, 200px);
    top: -70px;
    right: 5vw;
  }
  #topInitiative .inner {
    display: block;
    padding-left: 5%;
  }
  #topInitiative h2 {
    line-height: 1.5;
    -webkit-writing-mode: inherit;
    writing-mode: inherit;
  }
  #topInitiative .initiativ_slider {
    padding-right: 20%;
  }
  #topInitiative .initiativ_slider .swiper-slide {
    width: min(100%, 384px);
    font-size: 14px;
    padding: 1.25em;
  }
  #topInitiative .initiativ_slider h3 {
    font-size: 20px;
  }
  #topInitiative .swiper-controls {
    column-gap: 10px;
    margin-top: 1.25em;
  }
  #topInitiative .swiper-button > * {
    width: 40px;
    height: 40px;
  }
  #topInitiative .swiper-button > *::before {
    width: calc(18px * .8);
    height: calc(14px * .8);
  }
  #topInitiative .swiper-scrollbar {
    width: 100%;
  }
  /* topService */
  #topService .service-box {
    flex-direction: column !important;
    row-gap: .5em;
  }
  #topService .service-box + .service-box {
    margin-top: 3em;
  }
  #topService .service-box .img {
    width: min(80%, 320px);
    padding: 5px;
  }
  #topService .service-box h3 {
    font-size: 26px;
    text-align: center;
    margin-bottom: .5em;
  }
  #topService .service-box .btn {
    text-align: center;
    margin-top: 1.5em;
  }
  #topService [class^="bg0"] {
    width: 95%;
    height: 75vw;
    border-radius: 0;
  }
  #topService .bg01 {
    left: 0;
  }
  #topService .bg02 {
    bottom: 144px;
    right: 0;
  }
  /* topNews */
  #topNews .inner {
    max-width: 90%;
    padding: 0;
  }
  #topNews .news-slider .swiper-wrapper {
    display: flex;
    column-gap: 0;
  }
  #topNews .news-slider .swiper-slide:nth-child(4) {
    display: block;
  }
  #topNews .swiper-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 3em;
    margin-top: 2em;
  }
  #topNews .swiper-controls .prev, #topNews .swiper-controls .next {
    width: 26px;
    height: 20px;
    background: url("../images/icon_arrow.svg") no-repeat center / contain;
    cursor: pointer;
  }
  #topNews .swiper-controls .prev {
    scale: -1 1;
  }
  #topNews .swiper-controls .swiper-button-disabled {
    opacity: .6;
  }
  #topNews .swiper-controls .swiper-pagination {
    width: auto;
    display: flex;
    column-gap: 1em;
    position: static;
  }
  #topNews .swiper-controls .swiper-pagination-bullet {
    width: 1em;
    height: 1em;
    background: #ccc;
    display: block;
    margin: 0;
    opacity: 1;
  }
  #topNews .swiper-controls .swiper-pagination-bullet-active {
    background: #147a4a;
  }
}
@media screen and (max-width: 560px) {
  #mainVisual {
    height: min(100svh, 720px);
  }
}