@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=M+PLUS+1p&family=Zen+Maru+Gothic&display=swap');

.m-plus-1p-regular {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 400;
  font-style: normal;
}


* {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  width: 100%;
  vertical-align: bottom;
}

iframe {
  width: 100%;
}

a {
  text-decoration: none;
}

body {
  font-family: sans-serif;
  background: #FCFBF5;
  font-family: "Zen Maru Gothic", sans-serif;
}

/* 共通 ------------  */
main h2 {
  font-size: 40px;
  text-align: center;
}

.container {
  margin: 0 auto;
  padding: 100px 0;
}

/* header ------------ */
header {
  background: url(img/header-gb.png) left/cover;
  height: 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
}

h1 {
  font-family: "M PLUS 1p", sans-serif;
}

.pc-menu ul {
  display: flex;
  padding: 0;
}

header li {
  text-align: center;
  font-size: 24px;
}

header a {
  color: #010101;
}

.pc-menu li+li {
  margin-left: 24px;
}

header a:hover {
  color: #0000ff;
  text-decoration: underline;
}

.sp-menu {
  display: none;
}

/* topics ------------ */
#topics article {
  height: 328px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  font-size: 24px;
}

#topics.container {
  max-width: 1048px;
  padding: -30px 0 0 0;
}

.topics-btn {
  width: 30%;
}

.topics-btn {
  display: block;
  height: 64px;
  text-align: center;
  border-radius: 50px;
  color: #fff;
  line-height: 64px;
  background: #A6C483;
  margin: 216px 0 0 80px;
  box-shadow: 4px 4px 0px lightgray;
  transition: .3s;
}

.topics-btn:hover {
  color: #fff;
  background-color: #A6C483;
  opacity: 0.7;
  box-shadow: unset;
  transform: translate(4px 4px);
}

.topics-list {
  width: 90%;
  height: 242px;
  margin: 54px 116px 0px 96px;
}

.list {
  height: 64px;
  display: flex;
  align-items: center;
  border-radius: 50px;
  text-align: center;
  margin: 10px;
  padding: 0 40px;
  background: #fff;
}

.list dt {
  width: 20%;
  text-align: center;
  font-size: 20px;
}

.new {
  width: 10%;
  border-radius: 5px;
  background: red;
  text-align: center;
  font-size: 16px;
  color: #fff;
  margin: auto 12px;
}

.info {
  width: 70%;
  text-align: left;
  font-size: 24px;
}

.rev {
  flex-direction: row-reverse;
}

/* concept ------------  */
#concept {
  background: url(img/pharmacy-info-bg.png) center/cover no-repeat;
}

#concept .container {
  max-width: 1048px;
  padding: 100px 0;
}

.concept-txt {
  margin: 64px auto;
}

#concept p {
  font-size: 32px;
  line-height: 1.7;
  margin-top: 64px;
}

/* service ------------  */
#service .container {
  max-width: 1368px;
  padding: 96px 10px;
}

#service h3 {
  font-size: 32px;
  text-align: center;
  margin: 32px 0 88px;
  font-weight: normal;
}

#service ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
  color: #010101;
}

#service li {
  width: calc((100% - 48px) / 3);
  position: relative;
}

.service-4,
.service-5,
.service-6 {
  margin-top: 64px;
}

#service h4 {
  font-size: 36px;
  color: #fff;
  background: #A6C483;
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5% 8% 4%;
  line-height: 1;
}

#service p {
  font-size: 32px;
  color: #fff;
  text-shadow: 0 4px 4px #000000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -28px;
  width: 100%;
}

#service .service-5 p {
  margin-top: -48px;
  line-height: 54px;
}

.service-btn {
  display: block;
  height: 64px;
  text-align: center;
  border-radius: 50px;
  line-height: 64px;
  background: #A6C483;
  width: 25%;
  margin: 84px auto 0;
  font-size: 24px;
  color: #fff;
  box-shadow: 4px 4px 0px lightgray;
  transition: .3s;
}

.service-btn:hover {
  color: #fff;
  background-color: #A6C483;
  opacity: 0.7;
  box-shadow: unset;
  transform: translate(4px 4px);
}


/* store ------------  */
#store {
  background: #fff;
}

#store h2 {
  margin: 0 0 64px;
}

#store article {
  max-width: 1368px;
  margin: 0 auto;
  display: flex;
  gap: 5%;
}

.store-info-txt {
  width: 55%;
}

.store-info-txt p {
  font-size: 32px;
}

.store-btn {
  display: inline-block;
  height: 64px;
  text-align: center;
  border-radius: 50px;
  color: #fff;
  line-height: 64px;
  background: #A6C483;
  max-width: 488px;
  margin: 24px 0 0 0px;
  font-size: 32px;
  padding: 0 48px;
  box-shadow: 4px 4px 0px lightgray;
  transition: .3s;
}

.store-btn:hover {
  color: #fff;
  background-color: #A6C483;
  opacity: 0.7;
  box-shadow: unset;
  transform: translate(4px 4px);
}


.store-info-txt img {
  margin: 32px 0 0 0px;
}

.store-info-txt .tel p {
  font-size: 48px;
}

#store .map {
  width: 40%;
  aspect-ratio: 4 / 3;
}

#store .map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* qa ------------  */
label {
  font-size: 32px;

}

.content p {
  font-size: 32px;
  padding: 1em 3em 1em 1em;
}

#qa .container {
  max-width: 1048px;
}

#qa h2 {
  margin: 0 0 72px 0;
}

.accordion {
  max-width: 1004px;
  margin: 100px auto 0;
}

.option {
  border: 1px solid lightgray;
}

.option:not(:last-child) {
  margin-bottom: 1em;
}

.title {
  display: flex;
  background: #fff;
  padding: 1em 3em 1em 1em;
  position: relative;
}


.title::before,
.title::after {
  content: "";
  width: 2px;
  height: 12px;
  position: absolute;
  top: 48px;
  right: 1em;
  background: #010101;

}

.title::after {
  transform: rotate(90deg);
}

.content {
  max-height: 0;
  overflow: hidden;
  position: relative;
  transition: max-height 1s;
}

.content::before {
  position: absolute;
  font-size: 32px;

}

.content p {
  background: #F2FCFF;
  padding: 1em 2em 1em 1em;
  display: flex;
}

/*  toggleにチェックが入った時 */
.toggle:checked+.title+.content {
  max-height: 400px;

}

/* スイッチが入った時「-」になる */
.toggle:checked+.title::before {
  transform: rotate(90deg);

}

.toggle {
  display: none;
}

.qa {
  display: block;
  width: 1.5em;
}

.qa-txt {
  display: block;
  width: 90%;
}



/* prescription filling ------------  */
#prescription-filling .container {
  background: #fff;
  text-align: center;
}

#prescription-filling p {
  max-width: 1048px;
  margin: 64px auto 96px;
  font-size: 32px;
  text-align: left;
  line-height: 1.7;
}

.pc-btn {
  display: block;
}

.sp-btn {
  display: none;
}

.pc-btn {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border-radius: 50px;
  color: #fff;
  text-align: center;
  margin: 0 auto;
  background: #A6C483;
  height: 64px;
  max-width: 45%;
  box-shadow: 4px 4px 0px lightgray;
  transition: .3s;
}

.pc-btn:hover {
  color: #fff;
  background-color: #A6C483;
  opacity: 0.7;
  box-shadow: unset;
  transform: translate(4px 4px);
}


/* footer ------------  */
footer {
  background: #A6C483;
  color: #fff;
}

footer h2,
footer h3 {
  font-size: 40px;
  text-align: center;
}

footer .container {
  height: 240px;
  max-width: 1048px;
  padding: 64px 0 0 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 24px;
  margin: 32px 0 0 0;
}

footer p {
  text-align: right;
  color: #fff;
}

footer a:hover {
  color: #0000ff;
  text-decoration: underline;
}

small {
  display: block;
  text-align: center;
}

@media(max-width:1250px) {
  header li {
    text-align: center;
    font-size: 20px;
  }

  .topics-btn {
    width: 50%;
  }

  #concept .container {
    max-width: 1048px;
    padding: 72px 0;
  }

  /* service ------------  */
  #service .container {
    max-width: 1048px;
  }

  /* store ------------  */
  #store .container {
    background: #fff;
    max-width: 1048px;
  }

  .pc-btn {
    max-width: 55%;
  }

}

@media (max-width:1100px) {

  #concept .container,
  #service .container,
  #store .container,
  #qa .container,
  #prescription-filling .container {
    padding: 5% 2%;
  }

  /* ハンバーガーメニュー ------------  */
  .pc-menu {
    display: none;
  }

  .sp-menu {
    display: block;
  }

  .sp-menu ul {
    display: block;
  }

  .menu-btn {
    position: fixed;
    right: 10px;
    top: 10px;
    width: 60px;
    height: 60px;
    background: #A6C483;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
  }

  .menu-btn span,
  .menu-btn span::before,
  .menu-btn span::after {
    content: "";
    background: white;
    width: 25px;
    height: 3px;
    position: absolute;
    transition: .5s;
  }

  .menu-btn span::before {
    bottom: 8px;
  }

  .menu-btn span::after {
    top: 8px;
  }

  #menu-btn-check {
    display: none;
  }

  #menu-btn-check:checked+.menu-btn span {
    background: transparent;
  }

  #menu-btn-check:checked+.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #menu-btn-check:checked+.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .sp-menu-box {
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 100%;
    padding: 100px 10px 0;
    box-sizing: border-box;
    z-index: 50;
    transition: .5s;
  }

  .sp-menu-box li a {
    display: block;
    color: white;
    text-align: center;
    padding: 10px 15px;
    font-size: 24px;
    border-bottom: 1px solid white;
  }

  #menu-btn-check:checked~.sp-menu-box {
    left: 0;
  }


  main h2 {
    font-size: 32px;
  }

  /* topics ------------ */
  #topics .container {
    max-width: 800px;
  }

  .list {
    margin: 10px 0;
    text-align: left;
    padding: 0 16px;
  }

  .rev {
    flex-direction: row;
  }

  #topics article {
    height: 286px;
    display: block;
    justify-content: space-between;
    margin: 0 auto;
    font-size: 20px;
  }

  .topics-btn {
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    width: 40%;
  }

  .topics-list {
    width: 98%;
    margin: 24px auto 0px;
  }

  .info {
    width: 100%;
    font-size: 16px;
  }

  .list dt {
    width: 24%;
    text-align: left;
    font-size: 16px;
  }

  .new {
    width: 13%;
    margin: auto 30px auto 12px;
  }


  #concept p {
    font-size: 24px;
    margin: 16px auto;
  }

  #concept .container {
    max-width: 800px;
  }

  #service h3 {
    font-size: 24px;
  }

  #service h4 {
    font-size: 24px;
    color: #fff;
    background: #A6C483;
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5% 8% 4%;
    line-height: 1;
  }

  #service a {
    height: 40px;
    align-items: center;
    line-height: 42px;
    font-size: 20px;
    width: 40%;
  }

  #service p {
    font-size: 24px;
  }

  #service .service-5 p {
    margin-top: -36px;
    line-height: 36px;
  }

  .store-info-txt p {
    font-size: 24px;
  }

  .store-info-txt .tel p {
    font-size: 32px;
  }

  .store-info-txt a {
    display: inline-flex;
    height: 40px;
    text-align: center;
    align-items: center;
    border-radius: 50px;
    color: #fff;
    background: #A6C483;
    max-width: 488px;
    margin: 24px 0 0 0px;
    font-size: 20px;
    padding: 0 48px;
  }

  .container {
    padding: 32px 0;
  }


  /* qa ------------  */
  #qa h2 {
    margin: 0 0 24px 0;
  }


  #qa .container {
    max-width: 800px;
  }

  label {
    font-size: 24px;
  }

  .content p {
    background: #F2FCFF;
    padding: 1em 2em 1em 1em;
    display: flex;
    font-size: 16px;
  }

  .accordion {
    max-width: 800px;
    margin: 40px auto 0;
  }


  #prescription-filling p {
    max-width: 800px;
    margin: 16px auto;
    font-size: 24px;
    text-align: left;
    line-height: 1.7;
  }

  .pc-btn {
    display: none;
  }

  .sp-btn {
    display: block;
  }

  .sp-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 50px;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    background: #A6C483;
    height: 40px;
    max-width: 50%;
    box-shadow: 4px 4px 0px lightgray;
    transition: .3s;
  }

  .sp-btn:hover {
    color: #fff;
    background-color: #A6C483;
    opacity: 0.7;
    box-shadow: unset;
    transform: translate(4px 4px);
  }


}

@media (max-width:800px) {

  /* concept ------------  */
  #concept {
    background: url(img/pharmacy-info-bg-sp.png) center/cover no-repeat;
  }

  /* store ------------  */
  #store article {
    max-width: 496px;
    margin: 0 auto;
    display: block;
    justify-content: space-between;
  }

  #store h2 {
    margin: 0 0 8px;
    padding: 0 0 10px;
  }

  .store-info-txt,
  #store .map {
    width: 100%;
  }

  .store-info-txt p {
    font-size: 16px;
  }

  .store-info-txt .tel p {
    font-size: 20px;
  }

  .store-info-txt {
    text-align: center;
    /* テキスト中央寄せ */
  }

  .store-info-txt a {
    display: block;
    width: 60%;
    height: 40px;
    text-align: center;
    justify-content: center;
    border-radius: 50px;
    color: #fff;
    line-height: 40px;
    background: #A6C483;
    margin: 16px auto 8px;
    font-size: 20px;
  }

  #store img {
    margin: 16px 0;
  }

  #prescription-filling .sp-btn a {
    max-width: 60%;
  }

}

@media (max-width:600px) {

  h1 {
    font-size: 24px;
  }

  main h2 {
    font-size: 24px;
  }

  .topics-btn {
    width: 60%;
    margin: 0 auto;
  }

  .new {
    margin: 4px;
  }


  #concept .container {
    max-width: 500px;
  }

  /* service ------------  */
  #service .container {
    padding: 40px 10px;
  }

  #service li {
    width: calc((100% - 48px) / 2);
    margin: 16px 10px;
  }

  #service h3 {
    font-size: 16px;
    text-align: center;
    margin: 16px 0 32px;
    font-weight: normal;
  }

  #service h4 {
    font-size: 24px;
    color: #fff;
    background: #A6C483;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5% 8% 4%;
    line-height: 1;
  }

  #service p {
    font-size: 20px;
    margin-top: -15px;
  }

  #service .service-5 p {
    margin-top: -22px;
    line-height: 25px;
  }

  #service a {
    width: 60%;
    margin: 40px auto 0;
  }


  label {
    font-size: 16px;
  }

  #concept p {
    font-size: 16px;
  }

  .concept-txt {
    margin: 32px auto;
  }

  #prescription-filling p {

    font-size: 16px;
  }

  .title::before,
  .title::after {
    top: 27px;
    /* ←上下位置調整 */
    right: 1.5em;
    /* ←左右位置調整 */
  }

  footer h2,
  footer h3 {
    font-size: 24px;
    text-align: center;
  }

  footer .container {
    height: 150px;
    max-width: 1048px;
    padding: 32px 0 24px 0;
  }

}


@media (max-width:400px) {

  .topics-list .list {
    flex-wrap: wrap;
  }

  .topics-list .list dt {
    width: auto;
    margin-left: 16px;
  }

  .topics-list .list .new {
    width: auto;
  }

  .topics-list .list .info {
    width: 100%;
    margin-left: 16px;
  }

  .new {
    margin-left: 16px;
  }

}