@charset "utf-8";


.page-dementia .page_header {
  background-image: url("../img/dementia/bg_dementia.webp");
}

.clr-red {color: #e94d48;}
.mgt-1em {margin-top:1em;}
.mgt-2em {margin-top:2em;}

section[class^="sec_dementia"] .sec_dementia_title_wrap {
  background-color: #e6e6e6;
  border-left: solid 1.0rem #e94d48;
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;

  .sec_dementia_title {
    color: #000;
    font-size: 2.0rem;
    font-weight: normal;
    line-height: 1.5;
    text-align: left;
  }
  @media screen and (max-width: 768px) {
    .sec_dementia_title {
      font-size: 1.8rem;
    }
  }
}

section[class^="sec_dementia"] .sec_text {
  font-size: 1.6rem;
  line-height: 1.75;
  text-align: left;
}

section[class^="sec_dementia"] .sec_sub_title {
  color: #e94d48;
  font-size: 2.0rem;
  font-weight: bold;
  line-height: 1.3;
  border-bottom: solid 1px #b3b3b3;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  text-align: left;
}


.sec_dementia {
  padding-bottom: 10rem;
}

@media screen and (max-width: 768px) {
  .sec_dementia {
    padding-bottom: 5rem;
  }
}

.sec_dementia .sec_text__top.sec_text {
  margin: 2rem 0 5rem;
}
@media screen and (min-width: 769px) {
  .sec_dementia .sec_text__top.sec_text {
    text-align: center;
  }
}

.anchor_link_list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 90.0rem;
  width: 100%;
  margin: 0 auto 5rem;

  & > li {
    flex-grow: 1;
    max-width: 28.5rem;
    width: 100%;
    text-align: left;

    @media screen and (max-width: 768px) {
      max-width: none;
    }
  }

  .anchor_link {
    display: block;
    margin: 0 auto;
    padding: 1em 1em;
    position: relative;
    line-height: 1;
    color: #000;
    border: solid 1px #e94d48;
    background-color: #FFF;
    border-radius: 3rem;
    font-size: 1.6rem;
    text-align: left;
    position: relative;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    transition: all 0.2s ease;

    &::after {
      content: '';
      position: absolute;
      display: inline-block;
      background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iX+ODrOOCpOODpOODvF8xIiBkYXRhLW5hbWU9IuODrOOCpOODpOODvF8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDEzIDguNCI+CiAgPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDMwLjQuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDIuMS40IEJ1aWxkIDIyNikgIC0tPgogIDxsaW5lIHgxPSIuOCIgeTE9IjQuMiIgeDI9IjEyLjIiIHkyPSI0LjIiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2U5NGQ0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgogIDxwb2x5bGluZSBwb2ludHM9IjkgNy43IDEyLjIgNC4yIDkgLjgiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2U5NGQ0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPgo8L3N2Zz4=');
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      width: 1.39rem;
      height: 0.9rem;
      top: 50%;
      right: 1em;
      transform: translateY(-50%);
    }

    &:hover {
      background-color: #e94d48;
      color: #FFF;
    }
  }
}


.sec_dementia .sec_dementia_block {
  max-width: 1000px;
  margin: 0 auto ;
}

.sec_dementia_block + .sec_dementia_block {
  margin-top: 5rem;
}

.dementia_flex_contents {
  display: flex;
  gap: min((100vw - 8rem) * 50 / 1000, 5rem);
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 5rem;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    gap: 2rem;
  }
  
  .dementia_flex_pic {
    width: 100%;
    flex-shrink: 0;
    position: relative;
  }
  @media screen and (min-width: 769px) {
    .dementia_flex_pic {
      width: 41.2rem;
    }
  }

  .dementia_flex--pic {
    border-radius: 1rem;
    overflow: hidden;
  }

  @media screen and (min-width: 769px) {
    .dementia_flex_txts {
      flex-grow: 1;
    }
  }
  @media screen and (min-width: 769px) {
    &.row-reverse {
      flex-direction: row-reverse;
    }
  }
}


.btn_mail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFF;
  background-color: #e94d48;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.4;
  white-space: nowrap;
  border-radius: 0.6rem;
  padding: 0.5em;
  padding-left: 1.2em;
  max-width: 26rem;
  width: 90%;
  margin: 0;
  margin-top: 2em;
  position: relative;
  transition: opacity 0.3s;
  @media screen and (max-width: 768px) {
    font-size: 1.5rem;
  }

  &::before {
    content: '';
    display: inline-block;
    background: url(../img/common/icon_mail_w.svg) center no-repeat;
    background-size: contain;
    width: 2.4rem;
    height: 1.6rem;
    position: absolute;
    left: 1em;
    top: 0.7em;
  }
}

.text_list__triangle {
  & li {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-bottom: 0.3em;
    padding: 1rem 0 1rem 2rem;
    position: relative;
    @media screen and (max-width: 768px) {  
      font-size: 1.5rem;
    }
  }
  & li::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.5em 0 0.5em 0.8em;
    border-color: transparent transparent transparent #e94d48;
    position: absolute;
    top: 0.95em;
    left: 0;
    margin: auto;
  }
}

.text_list__disc {
  & li {
    font-size: 1.6rem;
    line-height: 1.5;
    padding-left: 2.5rem;
    margin-bottom: 0.3em;
    position: relative;
  }
  & li::before {
    position: absolute;
    top: 0.7em;
    left: 0.5em;
    display: block;
    width: 0.4rem;
    height: 0.4rem;
    content: "";
    background-color: #e94d48;
    border-radius: 50%;
  }
}

.text_list__num {
  counter-reset: number 0;
  & > li {
    font-size: 1.6rem;
    line-height: 1.5;
    padding-left: 1.7em;
    margin-bottom: 0.3em;
    position: relative;
  }
  & > li::before {
    counter-increment: number 1;
    content: counter(number)".";
    position: absolute;
    left: 0;
    font-weight: 500;
    color: #e94d48;
  }
}

.pdf-link {
  position: relative;
  padding-right: 2em;
  &::after {
    content: "";
    display: inline-block;
    width: 1.5rem;
    height: 2.0rem;
    background-image: url('../img/common/icon_doc.svg');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 0px;
    bottom: 0.1em;
  }
}

.play-link {
  position: relative;
  padding-right: 3em;
  &::after {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-image: url('../img/common/icon_play.svg');
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 0px;
    bottom: 0.1em;
  }
}

.schedule_box {
  margin-top: 2rem;
}
.schedule_box + .schedule_box {
  margin-top: 4rem;
}

.dementia_dl {
  margin-top: 2rem;
}
.dementia_dl + .dementia_dl {
  margin-top: 4rem;
}



.tbl_schedule {
  border-collapse: separate;
  border: solid 1px #b4b3b3;
  border-radius: 1rem;
  overflow: hidden;
  width: 100%;
}
.tbl_schedule th,
.tbl_schedule td {
  padding: 1.5rem 2rem;
  font-size: 1.6rem;
  line-height: 1.3;
  text-align: left;
  vertical-align: middle;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .tbl th,
  .tbl td {
    font-size: 1.5rem;
    padding: 1rem;
  }
}

.tbl_schedule th {
  font-weight: bold;
}

.tbl_schedule thead th {
  background-color: #e94d48;
  color: #FFF;
  text-align: center;
}
.tbl_schedule thead th,
.tbl_schedule tr:not(:last-child) th,
.tbl_schedule tr:not(:last-child) td {
  border-bottom: solid 1px #b4b3b3;
}
.tbl_schedule th:not(:last-child) {
  border-right: solid 1px #b4b3b3;
}
.tbl_schedule td {
  color: #000;
  background-color: #FFF;
}
.tbl_schedule td:not(:last-child) {
  border-right: solid 1px #b4b3b3;
}
.tbl_schedule tr:nth-child(even) th,
.tbl_schedule tr:nth-child(even) td {
  background-color: #fdf1f0;
}
.tbl_schedule tbody th {
  width: 15%;
}
.tbl_schedule tbody td {
  width: auto;
}
@media screen and (max-width: 768px) {
  .tbl_schedule tbody th {
    width: 25%;
  }
}

.link_file {
  display: flex;
  justify-content: space-between;
  flex: 1;
}

.youtube_wrap {
  margin-top: 3rem;
  margin-bottom: 2rem;
  border-radius: 1rem;
  overflow: hidden;
}
.youtube_wrap iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* youtube動画のアスペクト比を指定 */
}

