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

　common style for modern browser
　Version: 4.0

/////////////////////////////////////////////// */
/* Base
----------------------------------------------- */
/*
　各要素のスタイルを初期化し、デフォルトのスタイルを定義
*/
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;700&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: #333;
  --color-background: #fff9f6;
  --color-pink: #f0506e;
  --gradient: linear-gradient(90deg, #f0506e, #fe8b3d);
  --font-base: "Zen Maru Gothic", serif;
}

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

: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;
}

/*
  LAYOUT
----------------------------------------------- */
.main-contents {
  background-color: var(--color-background);
  overflow: hidden;
}

/*
  HEADER
----------------------------------------------- */
.header {
  position: absolute;
  z-index: 2;
}
.header::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  background: url(../img/shape.png) no-repeat right bottom/cover;
  aspect-ratio: 940/380;
}
@media screen and (min-width: 961px) {
  .header {
    padding: 65px;
  }
  .header::before {
    width: calc(42.1875vw + 110px);
  }
}
@media screen and (max-width: 960px) {
  .header {
    padding: 15px;
  }
  .header::before {
    width: 260px;
  }
}
.header .logo {
  position: relative;
}
@media screen and (max-width: 960px) {
  .header .logo {
    width: 47px;
  }
}

/*
  CONTENTS
----------------------------------------------- */
/* 見出し */
.h2 {
  display: grid;
  gap: 0.6em;
  justify-items: center;
  letter-spacing: 0.07em;
}
.h2::before {
  width: 50px;
  height: 8px;
  content: "";
  background: var(--gradient);
  border-radius: 10px;
}
@media screen and (min-width: 961px) {
  .h2 {
    font-size: 45rem;
  }
}
@media screen and (max-width: 960px) {
  .h2 {
    font-size: 24px;
  }
  .h2::before {
    width: 25px;
    height: 4px;
  }
}

/* メインビジュアル */
.mainimg {
  position: relative;
}
@media screen and (min-width: 961px) {
  .mainimg {
    margin-left: 220px;
    display: grid;
    grid-template-columns: auto 62%;
    align-items: center;
    gap: 0 4.6875vw;
  }
}
@media screen and (max-width: 960px) {
  .mainimg {
    z-index: 1;
  }
}
.mainimg .image-1 {
  position: relative;
  z-index: 3;
  overflow: hidden;
}
@media screen and (min-width: 961px) {
  .mainimg .image-1 {
    align-self: flex-end;
    border-radius: 80px 0 80px 0;
  }
}
@media screen and (max-width: 960px) {
  .mainimg .image-1 {
    margin-top: 15px;
    margin-left: 20px;
    width: 55%;
    min-width: 200px;
    border-radius: 50px 0 50px 0;
  }
}
.mainimg .image-2 {
  border-radius: 0 0 0 80px;
  overflow: hidden;
}
@media screen and (min-width: 961px) {
  .mainimg .image-2 {
    grid-area: 1/2/3/3;
  }
}
.mainimg .text {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background: var(--gradient);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.45;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
@media screen and (min-width: 961px) {
  .mainimg .text {
    margin: auto;
    align-self: flex-start;
    font-size: clamp(40px, max(40px, 3.3854166667vw), 65px);
  }
}
@media screen and (max-width: 960px) {
  .mainimg .text {
    margin: 20px 30px 0 auto;
    font-size: 32px;
  }
}
.mainimg [class^=circle] {
  position: absolute;
  z-index: 2;
  aspect-ratio: 1;
  background: var(--gradient);
  border-radius: 50%;
  opacity: 0.4;
}
@media screen and (min-width: 961px) {
  .mainimg .circle-1 {
    top: 2.0833333333vw;
    right: calc(62% - 110px);
    right: 64%;
    width: 6.25vw;
  }
}
@media screen and (max-width: 960px) {
  .mainimg .circle-1 {
    left: calc(55% - 10px);
    bottom: calc(110px + 20%);
    width: 60px;
  }
}
@media screen and (min-width: 961px) {
  .mainimg .circle-2 {
    bottom: 0;
    right: 102%;
    width: 7.8125vw;
    -webkit-transform: translateY(50%);
            transform: translateY(50%);
  }
}
@media screen and (max-width: 960px) {
  .mainimg .circle-2 {
    bottom: 30px;
    left: 10px;
    width: 75px;
  }
}
@media screen and (min-width: 961px) {
  .mainimg .circle-3 {
    bottom: 0;
    right: 4.6875vw;
    width: 4.6875vw;
    -webkit-transform: translateY(70%);
            transform: translateY(70%);
  }
}
@media screen and (max-width: 960px) {
  .mainimg .circle-3 {
    bottom: 110px;
    right: 30px;
    width: 45px;
  }
}

/* アンカーナビ */
.anchor-nav {
  position: relative;
  z-index: 2;
  margin-top: 35px;
  text-align: center;
}
.anchor-nav ul {
  display: inline-flex;
  align-items: center;
  background-color: #fff;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (min-width: 961px) {
  .anchor-nav ul {
    height: 90px;
    padding: 0 80px;
    gap: 2em;
  }
}
@media screen and (max-width: 960px) {
  .anchor-nav ul {
    height: 55px;
    padding: 0 30px;
    padding-top: 5px;
    gap: 1.6em;
  }
}
.anchor-nav a {
  text-decoration: none;
  white-space: nowrap;
}
.anchor-nav a:hover {
  text-decoration: underline;
}
@media screen and (min-width: 961px) {
  .anchor-nav a {
    font-size: 20rem;
  }
}
@media screen and (max-width: 960px) {
  .anchor-nav a {
    font-size: 12rem;
    display: flex;
    flex-direction: column-reverse;
    gap: 3px;
  }
}
.anchor-nav i {
  font-size: 80%;
  color: var(--color-pink);
}
@media screen and (min-width: 961px) {
  .anchor-nav i {
    margin-right: 0.7em;
  }
}

/* ハピシア薬局とは */
.about {
  position: relative;
  background: url(../img/bg-1.jpg) no-repeat center top;
  padding-left: calc(50% - 550px);
  padding-right: calc(50% - 550px);
}
@media screen and (max-width: 1140px) {
  .about {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (min-width: 961px) {
  .about {
    margin-top: -120px;
    padding-top: 250px;
    background-size: max(100%, 1620px);
  }
}
@media screen and (max-width: 960px) {
  .about {
    margin-top: -240px;
    padding-top: 310px;
    background-size: 100%;
  }
}
.about h2 {
  margin-bottom: 60px;
}
@media screen and (max-width: 960px) {
  .about h2 {
    margin-bottom: 35px;
  }
}
.about > section {
  display: grid;
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
@media screen and (min-width: 961px) {
  .about > section {
    margin-top: 40px;
    border-radius: 60px 0 60px 0;
  }
}
@media screen and (max-width: 960px) {
  .about > section {
    margin-top: 25px;
    border-radius: 30px 0 30px 0;
  }
}
@media screen and (min-width: 961px) {
  .about > section:nth-of-type(odd) {
    grid-template-columns: 2fr 3fr;
    margin-right: 60px;
  }
}
@media screen and (max-width: 960px) {
  .about > section:nth-of-type(odd) {
    grid-template-columns: 35% 1fr;
  }
}
@media screen and (min-width: 961px) {
  .about > section:nth-of-type(even) {
    grid-template-columns: 3fr 2fr;
    margin-left: 60px;
  }
}
@media screen and (max-width: 960px) {
  .about > section:nth-of-type(even) {
    grid-template-columns: 1fr 35%;
  }
}
@media screen and (max-width: 960px) {
  .about > section:nth-of-type(3) .image img {
    -o-object-position: 59% 50%;
       object-position: 59% 50%;
  }
}
.about .image img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  max-width: inherit;
  max-height: inherit;
}
@media screen and (min-width: 961px) {
  .about .text {
    padding: 45px;
  }
}
@media screen and (max-width: 960px) {
  .about .text {
    padding: 17px 14px;
  }
}
.about h3 {
  color: var(--color-pink);
}
@media screen and (min-width: 961px) {
  .about h3 {
    margin-bottom: 0.8em;
    font-size: 27rem;
  }
}
@media screen and (max-width: 960px) {
  .about h3 {
    margin-bottom: 0.4em;
    font-size: 14.5px;
  }
}
@media screen and (min-width: 961px) {
  .about p {
    font-size: 19rem;
    line-height: 1.75;
  }
}
@media screen and (max-width: 960px) {
  .about p {
    font-size: 11.5px;
    line-height: 1.5;
  }
}

/* 拠点案内 */
.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: 130px;
  }
}
@media screen and (max-width: 960px) {
  .stores {
    padding-top: 60px;
  }
}
@media screen and (min-width: 961px) {
  .stores h2 {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 960px) {
  .stores h2 {
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 961px) {
  .stores .sotre-container {
    margin-top: -8em;
    display: grid;
    gap: 40px;
    align-items: end;
    grid-template-columns: repeat(2, 1fr);
    grid-template-columns: auto auto;
    font-size: 18rem;
  }
}
.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: var(--color-pink);
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  line-height: 1;
}
@media screen and (min-width: 961px) {
  .stores .name {
    font-size: 21rem;
  }
  .stores .name i {
    width: 24px;
    font-size: 18rem;
  }
}
@media screen and (max-width: 960px) {
  .stores .name {
    font-size: 14.5px;
  }
  .stores .name i {
    width: 14px;
    font-size: 12px;
  }
}
.stores .address {
  font-style: normal;
}
@media screen and (max-width: 960px) {
  .stores .address {
    font-size: 12px;
  }
}

/* 採用について */
.recruit {
  position: relative;
  z-index: 2;
  padding-left: calc(50% - 550px);
  padding-right: calc(50% - 550px);
  background-image: url(../img/bg-3.png), url(../img/bg-2.jpg);
  background-repeat: no-repeat;
  background-position: center bottom -1px, center top;
  background-color: #fdf8f4;
}
@media screen and (max-width: 1140px) {
  .recruit {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (min-width: 961px) {
  .recruit {
    margin-top: 60px;
    padding-top: 270px;
    padding-bottom: 110px;
    background-size: max(100%, 1620px);
  }
}
@media screen and (max-width: 960px) {
  .recruit {
    margin-top: 35px;
    padding-top: 90px;
    padding-bottom: 40px;
    background-size: 100%;
  }
}
.recruit .content {
  margin-top: 30px;
  display: grid;
}
@media screen and (min-width: 961px) {
  .recruit .content {
    grid-template-columns: 1fr auto;
    gap: min(100px, 7.8125vw) 30px;
    align-items: center;
  }
}
.recruit .image {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}
.recruit .image img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  max-width: inherit;
  max-height: inherit;
}
@media screen and (min-width: 961px) {
  .recruit .image {
    grid-area: 1/1/3/2;
  }
}
@media screen and (max-width: 960px) {
  .recruit .image {
    width: 290px;
    margin: 15px auto 0;
  }
}
.recruit .text {
  line-height: 2.4;
}
@media screen and (min-width: 961px) {
  .recruit .text {
    margin-top: auto;
    padding-top: 40px;
    white-space: nowrap;
    font-size: 25rem;
  }
}
@media screen and (max-width: 960px) {
  .recruit .text {
    font-size: 14.5px;
    text-align: center;
  }
}
.recruit .button {
  display: flex;
  align-items: center;
  background: var(--gradient);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
}
.recruit .button .ja {
  margin-right: auto;
  margin-left: 1em;
  padding-left: 1em;
  border-left: 2px solid rgba(255, 255, 255, 0.5);
}
.recruit .button i {
  font-size: 90%;
}
.recruit .button:hover {
  -webkit-filter: brightness(1.15);
          filter: brightness(1.15);
}
@media screen and (min-width: 961px) {
  .recruit .button {
    height: 90px;
    padding: 0 50px;
    margin-bottom: auto;
    margin-left: -100px;
  }
  .recruit .button .en {
    -webkit-transform: translateY(0.17em);
            transform: translateY(0.17em);
  }
  .recruit .button .ja {
    font-size: 21rem;
  }
}
@media screen and (max-width: 960px) {
  .recruit .button {
    width: 325px;
    height: 55px;
    padding: 0 35px;
    margin: -30px auto 0;
  }
  .recruit .button .en {
    width: 70px;
  }
  .recruit .button .ja {
    font-size: 13.5px;
  }
  .recruit .button i {
    font-size: 80%;
  }
}

/*
  FOOTER
----------------------------------------------- */
.footer {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  background-color: #fce3dc;
}
@media screen and (min-width: 961px) {
  .footer {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
@media screen and (max-width: 960px) {
  .footer {
    padding-top: 20px;
    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 #fe8b3d;
  line-height: 1;
  text-align: center;
  display: flex;
  align-items: center;
}
.footer .links li:first-child {
  border-left: 1px solid #fe8b3d;
}
.footer .links a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1.2em;
  text-decoration: none;
  white-space: nowrap;
  color: #4d4d4d;
}
.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;
    display: flex;
    align-items: center;
  }
}
@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 {
  color: #666;
  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: var(--color-pink);
  font-weight: normal;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: bold;
  white-space: nowrap;
}
.footer .pagetop::before {
  content: "";
  width: 1px;
  height: 46px;
  background-color: currentColor;
}
.footer .pagetop:hover::before {
  -webkit-animation: pagetopLine 0.9s;
          animation: pagetopLine 0.9s;
}
@media screen and (min-width: 961px) {
  .footer .pagetop {
    bottom: 340px;
    right: 40px;
    font-size: 17rem;
  }
}
@media screen and (max-width: 960px) {
  .footer .pagetop {
    top: -35px;
    right: 15px;
    font-size: 9px;
    display: none;
  }
  .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;
  }
}