@charset "UTF-8";
/* ///////////////////////////////////////////////

　common style for modern browser
　Version: 4.0

/////////////////////////////////////////////// */
/* Base
----------------------------------------------- */
/*
　各要素のスタイルを初期化し、デフォルトのスタイルを定義
*/
@import url("https://fonts.googleapis.com/css2?family=STIX+Two+Text&family=Shippori+Mincho:wght@600&family=Zen+Old+Mincho:wght@500;600&display=swap");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:where([hidden]:not([hidden=until-found])) {
  display: none !important;
}

:where(html) {
  -webkit-text-size-adjust: none;
}

@supports not (min-block-size: 100dvb) {
  :where(html) {
    block-size: 100%;
  }
}
:where(body) {
  block-size: 100%;
  block-size: 100dvb;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role=button], [role=option]) {
  cursor: pointer;
}

:where(:disabled) {
  cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
  cursor: not-allowed;
}

:where(button) {
  border: none;
  background: none;
  outline: none;
  -webkit-appearance: none;
          appearance: none;
}

:where(a) {
  text-underline-offset: 0.1ex;
}

:where(ul, ol) {
  list-style: none;
}

:where(img, svg) {
  max-inline-size: 100%;
  block-size: auto;
  vertical-align: bottom;
}

:where(p, li, dt, dd, th, td, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

:where(hr) {
  border: none;
  -webkit-border-before: 1px solid;
          border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}

:where(table) {
  border-collapse: collapse;
  border-spacing: 0;
}

:where(picture) {
  display: block;
}

:where(i, em) {
  font-style: normal;
}

/* Module
----------------------------------------------- */
.ul-disc > li {
  list-style: disc;
  margin-left: 1.5em;
}

.ol-decimal > li {
  list-style: decimal;
  margin-left: 1.5em;
}

/* State
----------------------------------------------- */
.hidden {
  display: none;
}

.hidden-pc {
  display: none;
}

@media (max-width: 960px) {
  .hidden-pc {
    display: block;
  }
  .hidden-pc.inline {
    display: inline-block;
  }
  .hidden-tab {
    display: none;
  }
}
@media (max-width: 520px) {
  .hidden-tab {
    display: block;
  }
  .hidden-tab.inline {
    display: inline-block;
  }
  .hidden-sp {
    display: none;
  }
}
@media (orientation: landscape) and (max-width: 960px) {
  .hidden-land {
    display: none;
  }
}
/* Utillity
----------------------------------------------- */
/* Text */
.taR {
  text-align: right;
}

.taL {
  text-align: left;
}

.taC {
  text-align: center;
}

.indent {
  padding-left: 1em;
  text-indent: -1em;
}

/* Image */
a img {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  transition: all 0.2s;
}
@media (hover: hover) {
  a:hover img {
    opacity: 0.8;
  }
}

*[class|=logo] a:hover {
  text-decoration: none;
}
*[class|=logo] a:hover img {
  opacity: 1;
}

a.tel {
  text-decoration: none;
}
a.tel img {
  opacity: 1;
}

/* button */
.btn {
  display: inline-block;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  text-decoration: none;
  transition: opacity 0.2s;
}
@media (hover: hover) {
  .btn:hover {
    text-decoration: none;
    opacity: 0.8;
  }
  .btn:hover img {
    opacity: 1;
  }
}

/* ///////////////////////////////////////////////

　サイト全般のスタイル
　header,footer,modules

/////////////////////////////////////////////// */
:root {
  scroll-behavior: smooth;
  font-size: 1px;
  --color-text-base: #1a1a1a;
  --color-beige: #fdfcfa;
  --font-base: "Zen Old Mincho", serif;
  --font-shippori: "Shippori Mincho", serif;
  --font-en: "STIX Two Text", serif;
}

body {
  color: var(--color-text-base);
  font-size: 16rem;
  font-family: var(--font-base);
  font-weight: 500;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  letter-spacing: 0.05em;
}

:is(p) {
  line-height: 1.85;
}

:is(li, dt, dd, th, td) {
  line-height: 1.6;
}

:is(input, textarea, select) {
  font-size: 16rem;
}

:is(a) {
  color: inherit;
}
:is(a):hover {
  text-decoration: none;
}

.ffM {
  font-family: var(--font-shippori);
  font-weight: 600;
}

.ffE {
  font-family: var(--font-en);
  font-weight: 600;
}

/*
  LAYOUT
----------------------------------------------- */
.main-contents {
  overflow: hidden;
}

/*
  HEADER
----------------------------------------------- */
@media screen and (min-width: 961px) {
  .header {
    position: absolute;
    width: 230px;
    padding-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
@media screen and (max-width: 960px) {
  .header {
    padding: 20px;
  }
}
@media screen and (max-width: 960px) {
  .header .logo {
    width: 49px;
  }
}

/*
  CONTENTS
----------------------------------------------- */
/* 見出し */
.h2 {
  color: #333;
  letter-spacing: 0.06em;
}
@media screen and (min-width: 961px) {
  .h2 {
    font-size: 36rem;
  }
}
@media screen and (max-width: 960px) {
  .h2 {
    font-size: 22.5px;
  }
}

/* メインビジュアル */
@media screen and (min-width: 961px) {
  .mainimg {
    margin: 0 40px 0 230px;
    margin: 0 120px 0 230px;
    display: grid;
    grid-template-columns: 57% auto;
    align-items: center;
    display: flex;
    gap: 50px;
  }
}
@media screen and (max-width: 960px) {
  .mainimg {
    display: flex;
    flex-direction: column-reverse;
  }
}
.mainimg::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  content: url(../img/line-1.svg);
}
@media screen and (min-width: 961px) {
  .mainimg::after {
    width: 31.25vw;
  }
}
@media screen and (max-width: 960px) {
  .mainimg::after {
    width: 320px;
  }
}
.mainimg .text {
  color: #4d4d4d;
  letter-spacing: 0.04em;
  line-height: 1.6;
  white-space: nowrap;
}
@media screen and (min-width: 961px) {
  .mainimg .text {
    padding-top: 2.6041666667vw;
    font-size: clamp(30px, max(30px, 3.3854166667vw), 65px);
  }
}
@media screen and (max-width: 960px) {
  .mainimg .text {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 20px auto;
    font-size: 31.5px;
  }
}

/* アンカーナビ */
@media screen and (min-width: 961px) {
  .anchor-nav {
    padding: 0 120px;
    padding-top: 30px;
    padding-bottom: 40px;
  }
}
@media screen and (max-width: 960px) {
  .anchor-nav {
    padding: 20px;
    padding-top: 25px;
    padding-bottom: 25px;
  }
}
@media screen and (min-width: 961px) {
  .anchor-nav ul {
    display: flex;
    justify-content: center;
    gap: 1.5em;
  }
}
@media screen and (max-width: 960px) {
  .anchor-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8em 2em;
    max-width: 20em;
    margin: auto;
  }
}
.anchor-nav a {
  text-decoration: none;
  white-space: nowrap;
}
.anchor-nav a:hover {
  text-decoration: underline;
}
.anchor-nav a i {
  margin-right: 0.4em;
  font-size: 80%;
  color: #468958;
}
@media screen and (min-width: 961px) {
  .anchor-nav a {
    font-size: 18rem;
  }
}
@media screen and (max-width: 960px) {
  .anchor-nav a {
    font-size: 12rem;
  }
}

/* ハピシア薬局とは */
.about {
  position: relative;
  padding-left: calc(50% - 550px);
  padding-right: calc(50% - 550px);
  background-color: var(--color-beige);
}
@media screen and (max-width: 1140px) {
  .about {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (min-width: 961px) {
  .about {
    margin-top: 60px;
    padding-top: 100px;
    padding-bottom: 140px;
  }
}
@media screen and (max-width: 960px) {
  .about {
    margin-top: 15px;
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
.about::after {
  position: absolute;
  content: url(../img/line-2.svg);
}
@media screen and (min-width: 961px) {
  .about::after {
    right: calc(50% + 390px);
    bottom: -150px;
    width: 530px;
  }
}
@media screen and (max-width: 960px) {
  .about::after {
    left: 0;
    bottom: -61px;
    width: 270px;
  }
}
.about h2 {
  margin-bottom: 20px;
}
.about .text {
  line-height: 2.4;
}
@media screen and (min-width: 961px) {
  .about .text {
    background: url(../img/img-about.2.jpg) no-repeat right center;
    background-size: auto 100%;
    padding: 1.5em 0 0.5em;
    font-size: 20rem;
  }
}
@media screen and (max-width: 960px) {
  .about .text {
    font-size: 13.5px;
  }
}
@media screen and (min-width: 961px) {
  .about .image {
    display: none;
  }
}
@media screen and (max-width: 960px) {
  .about .image {
    margin-top: 25px;
  }
}

/* 拠点案内 */
.stores {
  padding-left: calc(50% - 550px);
  padding-right: calc(50% - 550px);
  position: relative;
}
@media screen and (max-width: 1140px) {
  .stores {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (min-width: 961px) {
  .stores {
    padding-top: 120px;
  }
}
@media screen and (max-width: 960px) {
  .stores {
    padding-top: 55px;
  }
}
.stores h2 {
  position: absolute;
  left: 0;
  right: 0;
}
@media screen and (min-width: 961px) {
  .stores h2 {
    padding-left: calc(50% - 550px);
    padding-right: calc(50% - 550px);
  }
}
@media screen and (min-width: 961px) and (max-width: 1140px) {
  .stores h2 {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.stores h2 span {
  display: block;
  margin-left: auto;
  border-bottom: 1px solid #ccc;
  padding: 1em 0.7em 0.5em;
}
@media screen and (min-width: 961px) {
  .stores h2 span {
    width: 45%;
  }
}
@media screen and (max-width: 960px) {
  .stores h2 span {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding-right: 30px;
  }
}
@media screen and (min-width: 961px) {
  .stores .sotre-container {
    margin-top: -21em;
    display: grid;
    gap: 40px;
    align-items: end;
    grid-template-columns: repeat(2, 1fr);
    grid-template-columns: auto auto;
    font-size: 16rem;
  }
}
.stores .store {
  margin-top: 1.5em;
  letter-spacing: 0;
}
.stores .name {
  display: flex;
  gap: 0.2em;
  align-items: center;
}
.stores .name i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding-bottom: 0.15em;
  background-color: #436f44;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  line-height: 1;
}
@media screen and (min-width: 961px) {
  .stores .name {
    font-size: 20rem;
  }
  .stores .name i {
    width: 24px;
    font-size: 16rem;
  }
}
@media screen and (max-width: 960px) {
  .stores .name {
    font-size: 13.5px;
  }
  .stores .name i {
    width: 14px;
    font-size: 11px;
  }
}
.stores .address {
  font-style: normal;
  font-weight: 600;
}
@media screen and (max-width: 960px) {
  .stores .address {
    font-size: 11px;
  }
}
.stores .notification {
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
}
.stores .notification ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1em;
}
@media screen and (min-width: 961px) {
  .stores .notification {
    margin-top: 70px;
    padding: 25px;
    justify-content: center;
  }
  .stores .notification h3 {
    border-right: 1px solid #ccc;
    padding-right: 1.5em;
    margin-right: 1.4em;
    font-size: 22rem;
    line-height: 1;
    white-space: nowrap;
  }
  .stores .notification li {
    font-size: 18rem;
  }
}
@media screen and (max-width: 960px) {
  .stores .notification {
    margin-top: 25px;
    padding: 10px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .stores .notification h3 {
    margin: -10px 0 0 -10px;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    font-size: 12.5px;
  }
  .stores .notification ul {
    width: 100%;
  }
  .stores .notification li {
    font-size: 11px;
  }
}

/* 採用について */
.recruit {
  padding-left: calc(50% - 550px);
  padding-right: calc(50% - 550px);
  background: url(../img/bg-recruit.jpg) no-repeat right center/auto 100%;
  background-color: var(--color-beige);
  position: relative;
}
@media screen and (max-width: 1140px) {
  .recruit {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (min-width: 961px) {
  .recruit {
    margin-top: 100px;
    padding-top: 130px;
    padding-bottom: 140px;
  }
}
@media screen and (max-width: 960px) {
  .recruit {
    margin-top: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    background-image: url(../img/bg-recruit-sp.png);
    background-size: auto 190px;
    background-position: right 30px;
  }
}
.recruit::after {
  position: absolute;
  content: url(../img/line-3.svg);
}
@media screen and (min-width: 961px) {
  .recruit::after {
    left: calc(50% + 440px);
    top: 100%;
    width: 460px;
  }
}
@media screen and (max-width: 960px) {
  .recruit::after {
    right: 0;
    top: calc(100% - 50px);
    width: 200px;
  }
}
.recruit h2 {
  margin-bottom: 0.8em;
}
.recruit h2 .en {
  color: #8ea98f;
  font-weight: 400;
}
@media screen and (min-width: 961px) {
  .recruit h2 .en {
    font-size: 58rem;
  }
  .recruit h2 .ja {
    margin-left: 0.5em;
  }
}
@media screen and (max-width: 960px) {
  .recruit h2 {
    display: grid;
    gap: 5px;
  }
  .recruit h2 .en {
    font-size: 34px;
  }
  .recruit h2 .ja {
    font-size: 10px;
  }
}
.recruit .text {
  line-height: 2.1;
}
@media screen and (min-width: 961px) {
  .recruit .text {
    font-size: 22rem;
  }
}
@media screen and (max-width: 960px) {
  .recruit .text {
    font-size: 13.5px;
  }
}
.recruit .button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #436f44, #468958);
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}
.recruit .button i {
  font-size: 60%;
}
.recruit .button:hover {
  -webkit-filter: brightness(1.15);
          filter: brightness(1.15);
}
@media screen and (min-width: 961px) {
  .recruit .button {
    margin-top: 60px;
    width: 540px;
    height: 90px;
    padding: 0 60px;
    border-radius: 5px;
    font-size: 20rem;
  }
}
@media screen and (max-width: 960px) {
  .recruit .button {
    margin-top: 50px;
    width: 100%;
    max-width: 540px;
    height: 60px;
    padding: 0 30px;
    font-size: 13.5px;
  }
}

/* ハピシア薬局をご利用の皆様へ */
.users {
  position: relative;
  padding-left: calc(50% - 450px);
  padding-right: calc(50% - 450px);
}
@media screen and (max-width: 940px) {
  .users {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (min-width: 961px) {
  .users {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}
@media screen and (max-width: 960px) {
  .users {
    padding-top: 60px;
    padding-bottom: 70px;
  }
}
.users h2 {
  margin-bottom: 1em;
}
@media screen and (min-width: 961px) {
  .users h2 {
    text-align: center;
  }
}
@media screen and (max-width: 960px) {
  .users h2 {
    line-height: 1.7;
  }
}
.users details {
  overflow: hidden;
}
.users details summary {
  list-style-type: none;
  position: relative;
}
.users details summary::-webkit-details-marker {
  display: none;
}
.users details + details {
  margin-top: 1.3em;
}
.users summary {
  border-bottom: 1px solid #ccc;
  padding: 1em 20px;
  padding-right: 40px;
  line-height: 1.4;
}
.users summary::before, .users summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 15px;
  height: 1px;
  content: "";
  background-color: #666;
}
.users summary::after {
  rotate: 90deg;
  -webkit-transform: translateX(-0.5px);
          transform: translateX(-0.5px);
  transition: 0.2s;
}
@media screen and (min-width: 961px) {
  .users summary {
    font-size: 20rem;
  }
}
@media screen and (max-width: 960px) {
  .users summary {
    padding-left: 0;
    padding-right: 30px;
    font-size: 13.5px;
  }
  .users summary::before, .users summary::after {
    right: 0px;
    width: 13px;
  }
}
.users [open] summary::after {
  opacity: 0;
  rotate: 0deg;
}
.users .detailsContent p {
  padding: 0.7em 0;
}
.users .detailsContent a {
  color: #436f44;
}
@media screen and (min-width: 961px) {
  .users .detailsContent {
    padding: 0 20px;
    font-size: 17rem;
  }
}
@media screen and (max-width: 960px) {
  .users .detailsContent {
    font-size: 12.5px;
  }
}

/*
  FOOTER
----------------------------------------------- */
.footer {
  position: relative;
  display: grid;
  justify-items: center;
  background-color: #f6f9f5;
}
@media screen and (min-width: 961px) {
  .footer {
    padding-top: 70px;
    padding-bottom: 30px;
  }
}
@media screen and (max-width: 960px) {
  .footer {
    padding-top: 40px;
    padding-bottom: 20px;
  }
}
@media screen and (max-width: 960px) {
  .footer .logo {
    width: 65px;
  }
}
.footer .logo{
  display: grid;
  justify-items: center;
}
.logo_txt{
  margin-top: 20px;
}
@media screen and (max-width: 960px) {
  .logo_txt {
    font-size: 0.5em;
  }
}
.footer .links ul {
  display: flex;
  justify-content: center;
}
.footer .links li {
  border-right: 1px solid #ccc;
  line-height: 1;
  text-align: center;
  display: flex;
  align-items: center;
}
.footer .links li:first-child {
  border-left: 1px solid #ccc;
}
.footer .links a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1.3em;
  text-decoration: none;
  white-space: nowrap;
}
.footer .links a:hover {
  text-decoration: underline;
}
@media screen and (min-width: 1221px) {
  .footer .links {
    display: flex;
  }
  .footer .links ul + ul li:first-child {
    border-left: none;
  }
}
@media screen and (min-width: 961px) {
  .footer .links {
    margin: 60px 20px 60px;
  }
  .footer .links a {
    font-size: 18rem;
  }
}
@media screen and (max-width: 1220px) {
  .footer .links ul + ul {
    margin-top: 20px;
  }
}
@media screen and (max-width: 960px) {
  .footer .links {
    margin: 35px 0 45px;
    flex-wrap: wrap;
  }
  .footer .links a {
    font-size: 10px;
  }
}
.privacy_txt{
  margin-bottom: 20px;
}
.privacy_txt a {
  text-decoration: none;
}
.privacy_txt a:hover {
  text-decoration: underline;
}
.footer .copyright {
  font-size: 12rem;
}
@media screen and (max-width: 960px) {
  .footer .copyright {
    font-size: 8px;
  }
}
.footer .pagetop {
  position: absolute;
  -webkit-writing-mode: vertical-lr;
      -ms-writing-mode: tb-lr;
          writing-mode: vertical-lr;
  color: #808080;
  font-weight: normal;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.footer .pagetop::before {
  content: "";
  width: 1px;
  height: 46px;
  background-color: #ccc;
}
.footer .pagetop:hover::before {
  -webkit-animation: pagetopLine 0.9s;
          animation: pagetopLine 0.9s;
}
@media screen and (min-width: 961px) {
  .footer .pagetop {
    top: -23px;
    right: 40px;
  }
}
@media screen and (max-width: 960px) {
  .footer .pagetop {
    top: -35px;
    right: 15px;
    font-size: 9px;
  }
  .footer .pagetop::before {
    height: 23px;
  }
}

@-webkit-keyframes pagetopLine {
  0% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    -webkit-transform-origin: center top;
            transform-origin: center top;
  }
  50% {
    -webkit-transform: scale(1, 0);
            transform: scale(1, 0);
    -webkit-transform-origin: center top;
            transform-origin: center top;
  }
  51% {
    -webkit-transform: scale(1, 0);
            transform: scale(1, 0);
    -webkit-transform-origin: center bottom;
            transform-origin: center bottom;
  }
  100% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    -webkit-transform-origin: center bottom;
            transform-origin: center bottom;
  }
}

@keyframes pagetopLine {
  0% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    -webkit-transform-origin: center top;
            transform-origin: center top;
  }
  50% {
    -webkit-transform: scale(1, 0);
            transform: scale(1, 0);
    -webkit-transform-origin: center top;
            transform-origin: center top;
  }
  51% {
    -webkit-transform: scale(1, 0);
            transform: scale(1, 0);
    -webkit-transform-origin: center bottom;
            transform-origin: center bottom;
  }
  100% {
    -webkit-transform: scale(1, 1);
            transform: scale(1, 1);
    -webkit-transform-origin: center bottom;
            transform-origin: center bottom;
  }
}