@charset "UTF-8";

.agf_text18 .__caption {
  font-size: 77.777777777777778%;
}
.agf_top_link1 a {
  display: block;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  font-weight: bold;
  padding: 20px 10px;
  background-color: #14993b;
  border-radius: 6px;
  border: none;
  text-align: center;
  position: relative;
  cursor: pointer;
  font-size: 100%;
}
.agf_top_link1 a::after {
  display: inline-block;
  content: '';
  width: 21px;
  height: 21px;
  background: url(/agefree/facility_care/agefree-house/assets/images/common/icon_arrow03.svg) no-repeat center center;
  background-size: contain;
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
}
.agf_top_link1 a:hover {
  filter: brightness(1.05);
}

.agf_top_content {
  box-sizing: border-box;
  max-width: 1220px;
  margin-inline: auto;
  padding: 0 10px;
}

.agf_top_bg1 {
  position: relative;
  background-color: #fff;
}
.agf_top_search_box1 {
  background-color: #fff;
  padding: 40px 10px;
}
.agf_top_pickup {
  padding: 40px 0 60px;
}
.agf_top_pickup_slide {
  box-sizing: border-box;
  position: relative;
  margin-top: 40px;
  padding: 0 40px;
}
.agf_top_pickup_slide .slick-slide > a {
  display: block;
  margin: 0 5px;
}
.agf_top_pickup_slide .slick-arrow {
  display: block;
  box-sizing: border-box;
  position: absolute;
  z-index: 2;
  -webkit-appearance: none;
  appearance: none;
  font-size: 0;
  width: 40px;
  height: 100%;
  padding: 0;
  background-color: #fff;
  top: 0;
  border: none;
  cursor: pointer;
}
.agf_top_pickup_slide .slick-arrow:hover {
  filter: brightness(1.25);
}
.agf_top_pickup_slide .slick-arrow.slick-prev {
  left: 0;
}
.agf_top_pickup_slide .slick-arrow.slick-next {
  right: 0;
}
.agf_top_pickup_slide .slick-arrow::after {
  box-sizing: border-box;
  position: absolute;
  display: block;
  content: '';
  width: 25px;
  height: 25px;
  top: calc(50% - 13px);
}
.agf_top_pickup_slide .slick-arrow.slick-prev::after {
  border-left: 3px solid #007626;
  border-bottom: 3px solid #007626;
  left: 18px;
  transform: rotate(45deg);
}
.agf_top_pickup_slide .slick-arrow.slick-next::after {
  border-right: 3px solid #007626;
  border-bottom: 3px solid #007626;
  right: 18px;
  transform: rotate(-45deg);
}
.agf_top_section {
  background: url(../images/common/bg_01.jpg) no-repeat top center #fdf7e9;
  background-size: 100%;
  padding-bottom: 60px;
}
.agf_top_section.__bg_white {
  background-image: none;
  background-color: #fff;
}
.agf_top_section_bg {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 200px;
}
.agf_top_section_title {
  box-sizing: border-box;
  max-width: 1200px;
  width: 90%;
  margin-inline: auto;
  margin-top: -50px;
  background-color: #fdf7e9;
  padding: 40px 10px 50px;
}
.agf_top_section.__bg_white .agf_top_section_title {
  background-color: #fff;
}
.agf_top_about_box1 {
  width: calc(100% - 20px);
  margin-inline: auto;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.agf_top_about_box1 > .__text {
  grid-column: 1 / 3;
  background: url(../images/top/about_bg01.png) no-repeat center center;
  background-size: auto 100%;
  padding: 40px 10px;
}
.agf_top_about_box2 {
  margin-top: 50px;
  padding: 0 10px;
}
.agf_top_about_box3 {
  box-sizing: border-box;
  margin-top: 50px;
  padding: 0 10px;
}
.agf_top_about_box3 > .__img_wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 600px;
  margin-inline: auto;
}
.agf_top_about_box4 {
  margin-top: 60px;
  padding: 0 10px;
}
.agf_top_about_box5 {
  max-width: 1200px;
  margin: 30px auto 60px;
  background-color: #fff;
  border: 1px solid #e1e1e2;
  border-radius: 5px;
}
.agf_top_about_box5 > div {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 15px;
}
.agf_top_about_box5 > div > p:first-child {
  text-align: center;
}
.agf_top_about_box5 > div > p:last-child {
  padding-left: 8.36%;
}
.agf_top_about_box5 > div:nth-child(1) img {
  width: 53px;
}
.agf_top_about_box5 > div:nth-child(2) img {
  width: 51px;
}
.agf_top_about_box5 > div:nth-child(3) img {
  width: 32px;
}

.agf_top_search_box2 {
  background: url(../images/top/bg02.jpg) repeat-y center top;
  background-size: 100% auto;
  padding: 60px 10px;
}
.agf_top_search_box2 > .__inner {
  background-color: #fff;
  padding: 40px 10px;
}
.agf_top_search_box2 .search_current {
  max-width: 400px;
  margin-inline: auto;
}

.agf_top_search_box3 {
  background-color: #fff;
  padding: 40px 10px;
}
.agf_top_series_box_wrapper {
  margin-bottom: 50px;
  padding: 0 10px;
}
.agf_top_series_ttl {
  font-family: "游明朝体", "Yu Mincho", YuMincho, serif;
  margin-top: 50px;
  margin-bottom: 40px;
}
.agf_top_series_ttl b {
  display: inline-block;
  font-weight: normal;
  font-family: "游明朝体", "Yu Mincho", YuMincho, serif;
  font-size: 135%;
}
.agf_top_series_box1 {
  max-width: 400px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.agf_top_series_detail {
  max-width: 1200px;
  margin-inline: auto;
  padding-bottom: 60px;
}
.agf_top_series_detail_switch {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 80%;
  max-width: 500px;
  margin-inline: auto;
  padding: 17px 10px 16px;
  cursor: pointer;
  user-select: none;
  background-color: #14993b;
  border: 1px solid #007626;
  border-radius: 6px;
  transition: opacity .3s ease;
}
.agf_top_series_detail_switch:hover {
  opacity: .8;
}
.agf_top_series_detail_switch span {
  color: #fff;
}
.agf_top_series_detail_switch .__plus,
.agf_top_series_detail_switch .__minus {
  position: relative;
  width: 20px;
  height: 20px;
}
.agf_top_series_detail_switch .__plus::before,
.agf_top_series_detail_switch .__plus::after,
.agf_top_series_detail_switch .__minus::after {
  position: absolute;
  display: block;
  content: '';
  background-color: #fff;
}
.agf_top_series_detail_switch .__minus::after {
  background-color: #007626;
}
.agf_top_series_detail_switch .__plus::before {
  width: 2px;
  height: 100%;
  left: 9px;
  top: 0;
}
.agf_top_series_detail_switch .__plus::after,
.agf_top_series_detail_switch .__minus::after {
  width: 100%;
  height: 2px;
  left: 0;
  top: 9px;
}
.agf_top_series_detail_switch .__plus {
  display: inline-block;
}
.agf_top_series_detail_switch .__minus {
  display: none;
}
#chkTopSeriesDetail {
  display: none;
}
#chkTopSeriesDetail:checked + .agf_top_series_detail_switch {
  background-color: #f3f3f3;
  border-color: #fff;
}
#chkTopSeriesDetail:checked + .agf_top_series_detail_switch span {
  color: #007626;
}
#chkTopSeriesDetail:checked + .agf_top_series_detail_switch .__plus {
  display: none;
}
#chkTopSeriesDetail:checked + .agf_top_series_detail_switch .__minus {
  display: inline-block;
}

.agf_top_series_detail_wrapper {
  display: grid;
  transition: grid-template-rows 0.35s ease-in-out, opacity 0.35s linear;
  grid-template-rows: 0fr;
  opacity: 0;
}
.agf_top_series_detail_wrapper > .__inner {
  overflow: hidden;
}
#chkTopSeriesDetail:checked ~ .agf_top_series_detail_wrapper {
  grid-template-rows: 1fr;
  opacity: 1;
}


.agf_top_series_detail_content {
  padding: 40px 10px;
  border-top: 1px solid #007626;
  border-bottom: 1px solid #007626;
}
.agf_top_series_table_wrapper {
  margin-top: 40px;
  width: 100%;
  overflow-x: auto;
}
.agf_top_series_table {
  border-collapse: separate;
  border-spacing: 0;
}
.agf_top_series_table thead tr:first-child th:first-child {
  border-top-left-radius: 10px;
}
.agf_top_series_table thead tr:first-child th:last-child {
  border-top-right-radius: 10px;
}
.agf_top_series_table tbody tr:last-child th:first-child {
  border-bottom-left-radius: 10px;
}
.agf_top_series_table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}
.agf_top_series_table thead tr:first-child th:not(:first-child) {
  font-size: 112.5%;
  line-height: 1.25;
  color: #fff;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #e4e4e4;
  border-bottom-width: 0;
  white-space: nowrap;
  padding: 1em 1em 60px;
}
.agf_top_series_table thead tr:last-child {
  position: relative;
  top: -10px;
  height: 1px;
}
.agf_top_series_table thead tr:last-child div {
  position: relative;
}
.agf_top_series_table thead tr:last-child div span {
  position: absolute;
  display: inline-block;
  background-color: #fff;
  border-radius: 15px;
  font-size: 87.5%;
  font-weight: bold;
  line-height: 2;
  text-align: center;
  width: 20em;
  left: 50%;
  top: 0;
  transform: translate(-50%, -45px);
}
.agf_top_series_table thead tr:last-child th:first-child div span {
  color: #003d2c;
}
.agf_top_series_table thead tr:last-child th:last-child div span {
  color: #003b5c;
}
.agf_top_series_table th:first-child:not([colspan]) {
  font-size: 100%;
  line-height: 1.25;
  color: #fff;
  font-weight: bold;
  background-color: #b4ae99;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #e4e4e4;
  white-space: nowrap;
  padding: 1em;
}
.agf_top_series_table thead tr:first-child th:nth-child(2) {
  background-color: #00a33e;
}
.agf_top_series_table thead tr:first-child th:nth-child(3) {
  background-color: #003d2c;
}
.agf_top_series_table thead tr:first-child th:nth-child(4) {
  background-color: #00a5a8;
}
.agf_top_series_table thead tr:first-child th:nth-child(5) {
  background-color: #003b5c;
}
.agf_top_series_table tbody td {
  font-size: 100%;
  line-height: 1.25;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #e4e4e4;
  padding: 1em;
  background-color: #feffd8;
}
.agf_top_series_table tbody td.__gray {
  color: #bfbfbf !important;
  background-color: #f2f2f2 !important;
}
.agf_top_series_table tbody td span {
  display: inline-block;
  font-size: 250%;
  line-height: 1;
  margin-bottom: 5px;
}
.agf_top_series_table tbody tr:first-child td {
  text-align: left;
  vertical-align: top;
}
.agf_top_series_table tbody tr:nth-child(2) td {
  padding-top: 1.8em;
  padding-bottom: 1.8em;
}
.agf_top_series_table tbody tr:nth-child(3) td {
  padding-top: 2em;
  padding-bottom: 2em;
}
.agf_top_series_table tbody tr:nth-child(6) td {
  box-sizing: border-box;
  padding-top: 2em;
  padding-bottom: 2em;
}
.agf_top_series_table tbody tr:not(:first-child) td {
  white-space: nowrap;
}
.agf_top_series_table tbody td:nth-child(2) {
  color: #00a33e;
}
.agf_top_series_table tbody td:nth-child(3) {
  color: #003d2c;
}
.agf_top_series_table tbody td:nth-child(4) {
  color: #00a5a8;
}
.agf_top_series_table tbody td:nth-child(5) {
  color: #003b5c;
}
.agf_top_series_table tbody td:last-child {
  border-right-width: 2px;
}
.agf_top_series_table tbody tr:last-child td {
  border-bottom-width: 2px;
}

.agf_top_movie_box {
  max-width: 900px;
  margin-inline: auto;
}
.agf_top_living_box {
  margin-top: 60px;
}
.agf_top_living_list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.agf_top_living_list .__item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #bfbfbf;
  border-radius: 6px;
  overflow: hidden;
  transition: background-color .3s ease;
  color: inherit;
}
.agf_top_living_list .__item:hover {
  background-color: #efefef;
  color: inherit;
}
.agf_top_living_list .__text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
}
.agf_top_living_list .__text::after {
  box-sizing: border-box;
  position: absolute;
  display: inline-block;
  content: '';
  border-right: 2px solid #bfbfbf;
  border-bottom: 2px solid #bfbfbf;
  width: 10px;
  height: 10px;
  top: calc(50% - 7px);
  right: 18px;
  transform: rotate(-45deg);
}
.top_living_img_box_wrapper {
  background-color: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-top: 60px;
}
.top_living_img_box {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.top_living_img_box .__ttl {
  width: 70%;
}
.top_living_img_box .__graph {
  width: 80%;
}
.top_living_img_box .__caption p.agf_text12 {
  font-size: 62.5%;
  line-height: 1.6;
}


.agf_top_news_box {
  margin-top: 60px;
}
.agf_top_link_box {
  margin-top: 60px;
}
.agf_top_link_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.agf_top_link_list .__item {
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #bfbfbf;
  border-radius: 6px;
  overflow: hidden;
  transition: background-color .3s ease;
  color: inherit;
}
.agf_top_link_list .__item:hover {
  background-color: #efefef;
  color: inherit;
}
.agf_top_link_list .__img {
  width: 100px;
  flex-shrink: 0;
  flex-grow: 0;
}
.agf_top_link_list .__img img {
  vertical-align: bottom;
}
.agf_top_link_list .__text {
  height: 100%;
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agf_top_link_list .__text::after {
  position: absolute;
  display: inline-block;
  content: '';
  width: 20px;
  height: 20px;
  background-image: url(../images/common/icon_external_link.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  right: 15px;
  bottom: 15px;
}

@media screen and (max-width: 400px) {
  .agf_top_series_detail_content .agf_title33 {
    font-size: 6.5vw;
  }
}
@media screen and (max-width: 640px) {
  #visual .catch {
    width: 235px;
    margin-top: 0;
  }
  .agf_top_about_box2 .agf_text18.TC {
    text-align: left;
    padding-left: 1em;
    text-indent: -1em;
  }
  .agf_top_about_box5 > div:nth-child(-n+2) {
    border-bottom: 1px solid #e1e1e2;
  }
  .agf_top_living_list {
    width: 90%;
    max-width: 400px;
    margin-inline: auto;
  }
  .agf_top_link_list {
    width: 96%;
    max-width: 400px;
    margin-inline: auto;
  }
}

@media screen and (min-width: 641px) {
  #visual {
    padding-left: 0;
    padding-right: 0;
  }
  #visual .catch {
    width: 330px;
    height: auto;
    top: 50px;
    transform: translate(-50%, 0);
  }
  #slider {
    height: 550px;
  }
  .agf_top_search_box1 {
    box-sizing: border-box;
    max-width: 1200px;
    margin-inline: auto;
    transform: translateY(-100px);
  }
  .agf_top_pickup {
    margin-top: -80px;
    padding: 60px 0 100px;
  }
  .agf_top_pickup_slide {
    max-width: 1280px;
    margin-inline: auto;
    padding: 0 25px;
  }
  .agf_top_pickup_slide .slick-slide > a {
    margin: 0 15px;
  }
  .agf_top_pickup_slide .slick-arrow::after {
    width: 39px;
    height: 39px;
    top: calc(50% - 20px);
  }
  .agf_top_pickup_slide .slick-arrow.slick-prev::after {
    left: 5px;
  }
  .agf_top_pickup_slide .slick-arrow.slick-next:after {
    right: 5px;
  }

  .agf_top_section {
    background-position: center top 280px;
    padding-bottom: 100px;
  }
  .agf_top_section_bg {
    height: 280px;
  }
  .agf_top_section_title {
    margin-top: -100px;
    padding: 100px 20px 60px;
  }
  .agf_top_about_box1 {
    max-width: 660px;
    margin-inline: auto;
  }
  .agf_top_about_box2 {
    margin-top: 100px;
  }
  .agf_top_about_box3 > .__img_wrap {
    max-width: 1240px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
  .agf_top_about_box4 {
    margin-top: 100px;
  }
  .agf_top_about_box5 {
    margin-top: 50px;
    margin-bottom: 100px;
    display: flex;
    justify-content: space-between;
  }
  .agf_top_about_box5 > div {
    width: 33.3%;
    border-left: 1px solid #e1e1e2;
  }
  .agf_top_about_box5 > div:nth-child(1) > p:last-child {
    padding-left: 4.18%;
  }

  .agf_top_search_box2 {
    padding: 140px 10px 240px;
  }
  .agf_top_search_box2 > .__inner {
    box-sizing: border-box;
    max-width: 1200px;
    margin-inline: auto;
    padding: 60px 10px;
  }
  .agf_top_search_box2 .search_current {
    max-width: 1030px;
    margin-inline: auto;
  }

  .agf_top_search_box3 {
    box-sizing: border-box;
    max-width: 1200px;
    margin-inline: auto;
    transform: translateY(-100px);
    padding-top: 100px;
    padding-bottom: 60px;
    margin-bottom: -100px;
  }
  .agf_top_series_box_wrapper {
    margin-bottom: 60px;
  }
  .agf_top_series_ttl {
    margin-top: 70px;
  }
  .agf_top_series_box1 {
    max-width: 1200px;
    flex-direction: row;
    gap: 40px;
  }
  .agf_top_series_detail {
    padding-bottom: 100px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .agf_top_series_detail_content {
    padding: 60px 0;
  }
  .agf_top_series_table_wrapper {
    margin-top: 60px;
  }

  .agf_top_series_table thead tr:first-child th:not(:first-child) {
    font-size: 125%;
    padding-bottom: 50px;
  }
  .agf_top_series_table thead tr:last-child div span {
    font-size: 93.75%;
    transform: translate(-50%, -30px);
  }
  .agf_top_series_table th:first-child:not([colspan]) {
    font-size: 112.5%;
    padding: 1em 1.5em;
  }
  .agf_top_series_table tbody td {
    font-size: 112.5%;
  }
  .agf_top_series_table tbody td span {
    font-size: 312.5%;
    margin-bottom: 2px;
  }
  .agf_top_series_table tbody tr:nth-child(3) td,
  .agf_top_series_table tbody tr:nth-child(6) td {
    padding-top: 1.75em;
    padding-bottom: 1.75em;
  }
  .agf_top_series_table tbody tr:nth-child(4) td,
  .agf_top_series_table tbody tr:nth-child(5) td {
    padding-top: .75em;
    padding-bottom: .75em;
  }

  .agf_top_living_box {
    margin-top: 100px;
  }
  .agf_top_living_list {
    margin-top: 60px;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .top_living_img_box_wrapper {
    margin-top: 100px;
    max-width: 1070px;
    margin-inline: auto;
    padding: 60px 40px;
  }
  .top_living_img_box {
    display: grid;
    max-width: 900px;
    margin-inline: auto;
    grid-template-columns: 50% 40%;
    justify-content: center;
    column-gap: 10%;
  }
  .top_living_img_box .__ttl {
    width: 100%;
  }
  .top_living_img_box .__graph {
    width: 100%;
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }
  .top_living_img_box .__caption {
    grid-column: 1 / 2;
    grid-row:  2 / 3;
    align-self: flex-start;
  }
  .top_living_img_box .__caption p.agf_text12 {
    font-size: 75%;
  }
  .agf_top_news_box {
    margin-top: 80px;
  }
  #news .newArchive {
    width: auto;
    max-width: 780px;
  }
  .agf_top_link_box {
    margin-top: 100px;
  }
  .agf_top_link_list {
    gap: 25px;
  }
  .agf_top_link_list .__img {
    width: 134px;
    flex-shrink: 0;
    flex-grow: 0;
  }
}
@media screen and (min-width: 641px) and (max-width: 1050px) {
  .agf_top_about_box5 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .agf_top_about_box5 > div {
    width: 100%;
  }
  .agf_top_about_box5 > div:nth-child(1) {
    grid-column: 1 / 3;
    border-bottom: 1px solid #e1e1e2;
  }
  .agf_top_link_list {
    max-width: 400px;
    margin-inline: auto;
  }
}
@media screen and (min-width: 1051px) {
  .agf_top_about_box1 {
    max-width: 1200px;
    margin-inline: auto;
    grid-template-columns: 27.5% auto 27.5%;
    gap: 0;
  }
  .agf_top_about_box1 > .__text {
    height: 100%;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    background-size: 282px auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .agf_top_about_box1 > div:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    padding-right: 10px;
  }
  .agf_top_about_box1 > div:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }
  .agf_top_search_box2 {
    background-size: 1980px auto;
    background-repeat: repeat;
  }
  .agf_top_living_list {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .agf_top_link_list {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (min-width: 1151px) {
  .agf_top_series_ttl {
    max-width: 1200px;
    margin-inline: auto;
    background: url(../images/top/series_bg01.png) no-repeat center left 10px,
    url(../images/top/series_bg02.png) no-repeat center right 10px;
    background-size: 198px auto, 198px auto;
  }
  .agf_top_series_table {
    width: 100%;
  }
  .agf_top_series_table thead tr:first-child th:not(:first-child) {
    box-sizing: border-box;
    width: 252px;
  }
  .agf_top_link_list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}