@charset "utf-8";
html {
  font-size: 62.5%;
}
@media screen and (min-width:768px){
  html {
    /* タブレット端末用*/
    font-size: 11.66px;
  }
}

@media screen and (min-width:1024px){
  html {
    /* デスクトップ端末用*/
    font-size: 13.33px;
  }
}
body {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "メイリオ", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  color: #333;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-feature-settings: 'palt' 1;
  font-feature-settings: 'palt' 1;
  letter-spacing: .1em;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.clearfix:before {
  content: "";
  display: block;
  clear: both;
}

.clearfix {
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  word-break: break-all;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: #337AB7;
}

a:hover {
  opacity: .8;
}

p {
  margin: 0;
}

dl {
  margin: 0;
}
dd {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.inner {
  max-width: 800px;
  margin: 0 auto;
  /* padding: 0 15px; */
}

/* Header */
#header {
  background: #fff;
}
.header-inner {
  padding: 15px 0;
}
.logo {
  margin: 0;
}
.logo-link {
  display: block;
}
@media (max-width:750px) {
  .logo {
    width: 80%;
  }
  .toggle {
    position: relative;
  }
}

/* Nav */
#nav {
  background: rgba(255,255,255,.9);
  z-index: 10;
}
.nav-list {
  font-size: 16px;
}
.nav-link {
  color: #021664;
}
@media (751px <= width < 1100px) {
  .nav-item__br {
    display: block;
  }
}
@media (max-width:991px) {
  .nav-list {
    font-size: 14px;
  }
}
@media (max-width:750px) {
  .active .layer {
    background: rgb(2 22 100 / 70%);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10;
  }
  .active .nav-toggle {
    z-index: 1000;
  }
  .active .nav-toggle span:nth-of-type(1) {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: auto;
    bottom: 0;
  }
  .active .nav-toggle span:nth-of-type(2) {
    display: none;
  }
  .active .nav-toggle span:nth-of-type(3) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #nav {
    background: #fff;
    padding: 65px 20px;
    position: fixed;
    width: 80%;
    top: 0;
    right: -80%;
    height: 100%;
    transition: all 0.6s;
  }
  #nav.open {
    right: 0;
  }
  .nav-list {
    font-size: 20px;
    border-top: solid 1px #E6E6E6;
  }
  .nav-item {
    border-bottom: solid 1px #E6E6E6;
  }
  .nav-link {
    display: block;
    padding: 15px 0;
  }
  .header-inner {
    display: flex;
    align-items: center;
  }
  .nav-toggle {
    position: relative;
    width: 23px;
    height: 18px;
    display: inline-block;
    box-sizing: border-box;
    margin-left: auto;
  }
  .nav-toggle span {
    position: absolute;
    left: 0;
    height: 2px;
    width: 23px;
    background-color: #021664;
    display: inline-block;
    box-sizing: border-box;
  }
  .nav-toggle span:nth-of-type(1) {
    top: 0;
  }
  .nav-toggle span:nth-of-type(2) {
    bottom: 8px;
  }
  .nav-toggle span:nth-of-type(3) {
    bottom: 0;
  }
}
@media (min-width:751px) {
  #home #nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  #nav {
    padding: 8px 0;
  }
  .nav-list {
    display: flex;
  }
  .nav-item {
    flex: 1;
    border-left: solid 1px #021664;
    display: grid;
    place-items: center;
  }
  .nav-item:last-of-type {
    border-right: solid 1px #021664;
  }
  .nav-link {
    display: block;
    padding: 20px 0;
    text-align: center;
  }
}

/* slider */
#slider {
  overflow: hidden;
}
.swiper-container {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  list-style: none;
  padding: 0;
  z-index: 1;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
}
.slider-img {
  width: 100%;
  object-fit: cover;
}
.swiper-pagination {
  text-align: center;
  transition: 300ms opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
}
.swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  display: inline-block;
  border-radius: 100%;
  background: #fff;
  border: solid 1px #337AB7;
  cursor: pointer;
  margin: 0 4px;
}
.swiper-pagination-bullet-active {
  background: #A5DCF0;
}
@media (max-width:750px) {
  #info-box__pc {
    display: none;
  }
  .slider-img {
    height: 70vw;
  }
  .info-box {
    border: solid 2px #021664;
    padding: 20px;
    margin: 45px 0 15px 0;
  }
  .hours-label,
  .closed-label {
    display: block;
    font-size: 18px;
    text-align: center;
    color: #021664;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .hours-text {
    color: #021664;
    font-weight: 600;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: solid 2px #021664;
  }
  .hours-text,
  .closed-text {
    font-size: 16px;
    text-align: center;
  }
}
@media (max-width:599px) {
  .swiper-pagination {
    bottom: 2px;
  }
  .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
  }
}
@media (min-width:751px) {
  #info-box__sp {
    display: none;
  }
  .slider-img {
    width: 100%;
    height: 600px;
  }
  #info-box__pc {
    position: absolute;
    top: 8%;
    left: 0;
    right: 0;
    z-index: 1;
  }
  .info-box {
    max-width: 320px;
    background: rgba(255,255,255,.9);
    border-radius: 10px;
    margin-left: auto;
  }
  .hours {
    background: rgb(2 22 100 / 80%);
    color: #fff;
    font-weight: 600;
    border-radius: 10px 10px 0 0;
    padding: 15px 0;
    text-align: center;
  }
  .hours-label {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
  }
  .hours-text {
    font-size: 17px;
  }
  .closed {
    padding: 15px 0;
    text-align: center;
  }
  .closed-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #021664;
  }
  .closed-text {
    font-size: 16px;
  }
}
@media (min-width:1600px) {
  .slider-img {
    height: 800px;
  }
}
@media (min-width:1600px) {
  #info-box__pc {
    top: 10%;
  }
}

/* contents */
#contents {
  position: relative;
}
#main {
  background: #F8F8F8;
}
.section {
  padding: 45px 0;
  background: #fff;
}
#contents .section:not(:first-of-type) {
  margin-top: 45px;
}
.section-title {
  color: #021664;
  font-size: 28px;
  text-align: center;
  margin: 0 0 30px 0;
}
.section-subtitle {
  font-size: 18px;
  border-left: solid 5px #021664;
  padding-left: 15px;
  margin-bottom: 15px;
}
@media (max-width:599px) {
  .section-title {
    font-size: 26px;
  }
}

/* introduction */
.introduction-text {
  font-size: 24px;
  text-align: center;
}
@media (max-width:599px) {
  .section.introduction {
    padding: 30px 0;
  }
  .introduction-text {
    font-size: 20px;
  }
  .introduction-text br {
    display: none;
  }
}

/* お知らせ */
.news-box {
  margin-top: 45px;
  background: #fff;
  padding: 45px 40px;
}
.news-item:not(:last-of-type) {
  padding-bottom: 30px;
}
.news-info {
  display: flex;
  align-items: center;
}
.news-date {
  color: #747474;
}
.news-label {
  background: #8ABFED;
  color: #fff;
  max-width: 88px;
  min-width: 88px;
  display: block;
  text-align: center;
  padding: 2px 0;
  margin-left: 15px;
}
.guide-label {
  background: #EFBB74;
}
.report-label {
  background: #A0CC75;
}
.important-label {
  background: #E66670;
}
.research-label {
  background: #334484;
}
.news-link {
  text-decoration: underline;
}
@media (max-width:750px) {
  .news-info {
    flex-direction: row-reverse;
    justify-content: flex-end;
    padding-bottom: 15px;
    font-size: 12px;
  }
  .news-label {
    margin: 0 15px 0 0;
  }
}
@media (max-width:599px) {
  .news-box {
    margin: 45px -15px 0 -15px;
    padding: 45px 15px;
  }
}
@media (min-width:751px) {
  .news-item {
    display: flex;
    align-items: baseline;
  }
  .news-text {
    margin-left: 30px;
  }
}

/* 診療を希望される患者様 */
.subject {
  display: flex;
  background: rgb(2 22 100 / 6%);
  border-radius: 4px;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 20px;
}
.subject-label {
  color: #fff;
  background: #021664;
  border-radius: 4px 0 0 4px;
  display: block;
  padding: 8px 15px;
}
.subject-name {
  display: block;
  padding: 8px 15px;
}
.link-box {
  padding-top: 20px;
}
.link-btn {
  background: #FDD000;
  border-radius: 5px;
  display: block;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  padding: 20px 0;
  box-shadow: -1px 4px 8px #a9a9a98c;
}
.link-btn__label {
  background: #fff;
  color: #000;
  border-radius: 100px;
  max-width: 280px;
  padding: 2px;
  display: block;
  margin: 10px auto 0 auto;
  text-align: center;
}
.button {
  background: #021664;
  color: #fff;
}
@media (max-width:599px) {
  .subject {
    font-size: 18px;
  }
}
@media (max-width:750px) {
  .link-btn:first-of-type {
    margin-bottom: 25px;
  }
}
@media (min-width:751px) {
  .link-box {
    display: flex;
    justify-content: space-between;
  }
  .link-btn {
    width: 48.5%;
  }
}

/* はじめに / メモリークリニックの特徴 */
.text-box p {
  line-height: 2;
}
.text-box p:not(:last-of-type) {
  margin-bottom: 1em;
}

/* Footer 写真 */
.bottom-cover {
  display: flex;
}
.bottom-item {
  flex: 1;
}
.bottom-item .img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}
@media (max-width:599px) {
  .bottom-item .img {
    height: 80px;
  }
}
@media (min-width:2000px) {
  .bottom-item .img {
    height: 300px;
  }
}

/* Footer */
#footer {
  background: #021664;
  color: #fff;
  padding: 40px 0 30px 0;
}
.footer-box {
  display: flex;
  justify-content: center;
}
.site-name {
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 15px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav__link {
  font-size: 16px;
  color: #fff;
  padding: 0 10px;
}
.footer-nav__list:not(:last-of-type) {
  border-right: solid 1px #fff;
}
.address {
  text-align: center;
  padding-top: 40px;
}
.copyright {
  margin: 30px 0 0 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.8);
  letter-spacing: 0;
}
@media (max-width:750px) {
  .footer-box {
    flex-direction: column;
  }
  .footer-nav:not(:last-of-type) {
    margin-bottom: 5px;
  }
  .footer-nav__link {
    font-size: 14px;
    padding: 0 5px;
  }
  .address {
    padding-top: 30px;
  }
}
@media (min-width:751px) {
  .footer-nav:not(:last-of-type) {
    border-right: solid 1px #fff;
  }
}


/* 下層ページ */
#breadcrumb {
  padding: 20px 0;
}
#page #main {
  padding-bottom: 70px;
}
.breadcrumb-list {
  font-size: 12px;
}
.page-content {
  background: #fff;
  padding: 60px 15px 30px 15px;
}
.page-title {
  font-size: 26px;
  border-bottom: solid 2px #FDD000;
  padding-bottom: 3px;
  margin-bottom: 30px;
}
.page-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  background: #021664;
  margin-top: 15px;
}
.block-title {
  font-size: 26px;
  color: #021664;
  border-left: solid 4px #021664;
  border-bottom: solid 1px #021664;
  padding: 15px 15px;
  margin-bottom: 30px;
}
.page-content p {
  margin-bottom: 30px;
  line-height: 2;
  word-break: break-all;
}
.page-content ul {
  list-style: disc;
  margin-left: 1.5em;
  margin-bottom: 30px;
}
.page-content ul li {
  margin-bottom: .5em;
  line-height: 2;
}
.page-content figure {
  text-align: center;
  padding-bottom: 40px;
}
.page-content .figure {
  display: inline-block;
}
.page-content .figcaption {
  font-size: 14px;
  text-align: left;
  line-height: 1.6;
}
.author {
  text-align: right;
  margin-top: 10px;
}
.btn-box {
  padding: 20px 0 50px 0;
}
.btn-box .link-btn {
  position: relative;
  font-size: 24px;
  margin: 0 auto;
}
.arrow-right::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 14px;
  border-color: transparent transparent transparent #ffffff;
  position: absolute;
  right: 30px;
  top: 28px;
}
.text-line {
  display: inline;
  background: linear-gradient(transparent 60%, rgb(253 208 1) 60%);
}
@media (max-width:750px) {
  #breadcrumb {
    padding: 15px 0;
  }
  .breadcrumb-list {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #page #main {
    padding-bottom: 25px;
  }
  .page-content {
    margin: 0 -15px;
    padding: 30px 15px 15px 15px;
  }
  .page-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .block-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .page-content figure {
    margin: 30px 0 0 0;
    padding: 0 0 15px 0;
  }
  .page-content .figcaption {
    margin-top: 15px;
  }
  .btn-box {
    padding: 0 0 30px 0;
  }
}

/* 2カラム */
#side {
  background: #fff;
}
.side-header {
  background: #021664;
  border-bottom: #fdd001 4px solid;
  color: #fff;
  padding: 15px 5px;
  text-align: center;
  font-size: 16px;
}
.side-menu__item {
  border-bottom: solid 1px #021664;
}
.side-menu__link {
  display: block;
  padding: 15px 15px;
  color: #011764;
}
.side-menu__link:hover,
.side-menu__link.active {
  background: rgb(2 22 100 / 8%);
}
.side-menu__link.active {
  font-weight: 600;
}
@media (max-width:768px) {
  #side {
    margin: 50px 0 25px 0;
  }
}
@media (min-width:768px) {
  .page-wrap {
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
  }
  .page-wrap .page-content {
    width: 76%
  }
  #side {
    flex: 1;
    margin-right: 25px;
  }
}

.list-group {
  background: #f1f1f1;
  padding: 1em 1em 1em 3em;
  margin: 0 0 30px 0;
  border-radius: 4px;
}
.list-group__item:not(:last-of-type) {
  margin-bottom: 1em;
}

.notes-box {
  display: grid;
  grid-template-columns: 5em 1fr;
  margin-bottom: 30px;
  gap: 10px 5px;
}
.notes-box dt {
  display: flex;
  font-weight: 600;
}
.notes-box dt::after {
  content: ":";
  display: inline-block;
  margin-left: auto;
}