@charset "UTF-8";
.inr-830 {
  max-width: 830px;
  width: 100%;
}
@media screen and (max-width: 1200px) {
  .inr-830 {
    max-width: 700px;
  }
}
@media screen and (max-width: 1000px) {
  .inr-830 {
    max-width: 600px;
  }
}
@media screen and (max-width: 800px) {
  .inr-830 {
    max-width: 500px;
  }
}
@media screen and (max-width: 768px) {
  .inr-830 {
    max-width: 440px;
  }
}
@media screen and (max-width: 599px) {
  .inr-830 {
    max-width: 340px;
  }
}
@media screen and (max-width: 480px) {
  .inr-830 {
    max-width: 260px;
  }
}

/* ttl
================================================== */
#about .ud-ttl-inr {
  margin-top: -80px;
}

/* ttl-img */
.about-ttl-img {
  position: absolute;
  bottom: 0;
  left: 30px;
  width: 200px;
  height: auto;
}

@media screen and (max-width: 1920px) {
  #about .ud-ttl-inr {
    margin-top: -72px;
  }
}

@media screen and (max-width: 1400px) {
  #about .ud-ttl-inr {
    margin-top: -40px;
  }
}

@media screen and (max-width: 960px) {
  #about .ud-ttl-inr {
    margin-top: -8px;
  }
}
@media screen and (max-width: 768px) {
  .about-ttl-img {
    width: 120px;
  }
}

@media screen and (max-width: 599px) {
  .about-ttl-img {
    width: 100px;
  }
}

@media screen and (max-width: 480px) {
  .about-ttl-img {
    width: 72px;
    bottom: 8px;
  }
}

/* nav 
================================================== */
.ud-nav-list {
  gap: 50px;
}

@media screen and (max-width: 1200px) {
  .ud-nav-list {
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .ud-nav-list {
    gap: 20px;
  }
}

@media screen and (max-width: 599px) {
  .ud-nav-list {
    gap: 10px;
  }
}

/* greeting
================================================== */
#greeting.bg-green::before {
  height: calc(100% - 70px);
}

#greeting .ud-sec-ttl img {
  max-width: 880px;
}

#greeting .gre-inr {
  position: relative;
  z-index: 1;
}
#greeting .gre-content {
  gap: 120px;
}
#greeting .gre-content-text {
  flex: 1;
}

#greeting .gre-content-text h4 {
  font-family: var(--font-mplus-rounded);
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: 0.05em;
}

#greeting .gre-content-text p {
  text-align: justify;
}

#greeting .gre-content-text .gre-content-name {
  font-weight: 800;
  letter-spacing: 0.18em;
  text-align: right;
}

#greeting .gre-content-text .gre-content-name .text1 {
  padding-right: 20px;
}

#greeting .gre-content-text .gre-content-name .text2 {
  font-size: var(--fs-md2);
}

#greeting .gre-content-img {
  width: 350px;
  aspect-ratio: 350/ 490;
  /* height: auto; */
  /* object-fit: contain; */
  /* object-position: center center; */
  flex: 1;
}

#greeting .gre-content-img-pc {
  display: block;
}
#greeting .gre-content-img-sp {
  display: none;
}
#greeting .gre-content-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media screen and (max-width: 1920px) {
  #greeting .gre-content {
    gap: 80px;
  }
  #greeting .gre-content-img img {
    max-width: initial;
  }
}

@media screen and (max-width: 1200px) {
  #greeting .gre-content {
    gap: 64px;
  }
}

@media screen and (max-width: 960px) {
  #greeting.bg-green::before {
    height: calc(100% - 50px);
  }
  #greeting .gre-content {
    flex-direction: column;
    gap: 40px;
  }
  #greeting .gre-content-text {
    flex: none;
    width: 100%;
  }

  #greeting .gre-content-text .gre-content-name .text1 {
    padding-right: 12px;
  }

  #greeting .gre-content-img {
    width: 70%;
    margin: 0 auto;
    aspect-ratio: 690/499;
  }
  #greeting .gre-content-img-pc {
    display: none;
  }
  #greeting .gre-content-img-sp {
    display: block;
  }
}

@media screen and (max-width: 780px) {
  #greeting.bg-green::before {
    height: calc(100% - 40px);
  }
}
@media screen and (max-width: 599px) {
  #greeting.bg-green::before {
    height: calc(100% - 30px);
  }
  #greeting .gre-content-img {
    width: 100%;
  }
  #greeting .gre-content {
    gap: 20px;
  }
}

@media screen and (max-width: 599px) {
  #greeting.bg-green::before {
    height: calc(100% - 20px);
  }
}

/* motto
================================================== */
#motto {
  background-color: var(--color-green-3);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

#motto .motto-inr {
  position: relative;
  width: 100%;
  border-radius: 100px;
  overflow: hidden;
  box-shadow: 16px 16px 6px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
}
#motto .motto-ttl-group {
  background-color: var(--color-white);
  padding: 0 120px 0 120px;
  margin: 0 auto;
}

#motto .motto-content {
  background-color: var(--color-beige);
  padding: 60px 120px 100px 120px;
}

#motto .motto-content img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  padding-left: 60px;
  padding-right: 60px;
}

#motto .motto-bg1,
#motto .motto-bg2 {
  position: absolute;
  z-index: -1;
  height: 100%;
}

#motto .motto-bg1 {
  bottom: 0;
  left: -3%;
}

#motto .motto-bg2 {
  top: 0;
  right: -3%;
  height: 90%;
}

#motto .motto-bg1 img,
#motto .motto-bg2 img {
  height: 100%;
  object-fit: contain;
}

@media screen and (max-width: 1400px) {
  #motto .motto-bg1 {
    left: -5%;
  }
  #motto .motto-bg2 {
    right: -8%;
  }
}

@media screen and (max-width: 1300px) {
  #motto .motto-bg1 {
    left: -8%;
  }
  #motto .motto-bg2 {
    right: -10%;
  }
}

@media screen and (max-width: 1200px) {
  #motto .motto-ttl-group {
    padding: 0 80px 0 80px;
  }

  #motto .motto-content {
    padding: 40px 80px 80px 80px;
  }
  #motto .motto-content img {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media screen and (max-width: 1100px) {
  #motto .motto-bg2 {
    height: 80%;
    bottom: 5%;
    top: initial;
  }
}

@media screen and (max-width: 1000px) {
  #motto .motto-ttl-group {
    padding: 0 60px 0 60px;
  }

  #motto .motto-content {
    padding: 40px 60px 60px 60px;
  }
  #motto .motto-content img {
    padding-left: 20px;
    padding-right: 20px;
  }
  #motto .motto-bg1 {
    height: 80%;
  }
  #motto .motto-bg2 {
    height: 70%;
  }
}

@media screen and (max-width: 768px) {
  #motto .motto-ttl-group {
    padding: 0 40px 0 40px;
  }
  #motto .motto-content {
    padding: 40px 40px 60px 40px;
  }
  #motto .motto-bg1 {
    height: 70%;
  }
  #motto .motto-bg2 {
    height: 60%;
  }
}

@media screen and (max-width: 599px) {
  #motto .motto-inr {
    border-radius: 60px;
  }
  #motto .motto-ttl-group {
    padding: 0 20px 0 20px;
  }
  #motto .motto-content {
    padding: 20px 20px 40px 20px;
  }
  #motto .motto-content img {
    padding-left: 0;
    padding-right: 0;
  }
  #motto .motto-bg1 {
    left: -10%;
  }
}

@media screen and (max-width: 480px) {
  #motto .motto-inr {
    border-radius: 40px;
  }
  #motto .motto-bg1 {
    left: -15px;
  }
  #motto .motto-bg2 {
    right: -56px;
  }
}

/*  goals,policy
================================================== */
#policy,
#goals {
  background-color: var(--color-green-3);
}

#policy .policy-inr,
#goals .goals-inr {
  background-color: var(--color-white);
  box-shadow: 16px 16px 8px rgba(0, 0, 0, 0.1);
}

#goals .goals-content,
#policy .policy-content {
  text-align: center;
  background-color: var(--color-beige);
  margin: 0 auto;
}

#policy .policy-content ul,
#goals .goals-content ul {
  padding-top: 40px;
  padding-bottom: 40px;
  margin: 0 auto;
  display: inline-block;
  text-align: left;
}

#policy .policy-content ul li,
#goals .goals-content ul li {
  font-weight: 800;
  font-size: var(--fs-md-lg);
}

@media screen and (max-width: 768px) {
  #goals .goals-content,
  #policy .policy-content {
    max-width: initial;
    width: calc(100% - 60px);
    margin-left: 30px;
    margin-right: 30px;
  }
}

/* facilities
================================================== */
#facilities {
  background-image: url(../../img/common/img_check_bg.webp);
  background-size: contain;
  background-position: center;
  background-repeat: repeat;
  box-shadow: 16px 16px 8px rgba(0, 0, 0, 0.2);
}
/* 施設紹介画像 */
.fac-img.cm-gallery {
  padding-top: 80px;
  background-image: url(../../img/common/img_check_bg.webp);
  background-size: contain;
  background-position: center;
  background-repeat: repeat;
}

@media screen and (max-width: 768px) {
  .fac-img.cm-gallery {
    padding-top: 40px;
  }
}

#facilities .fac-inr {
  position: relative;
}
/* 施設紹介背景 */
#facilities .fac-inr::before {
  content: "";
  display: block;
  width: 100%;
  height: 50%;
  background-color: var(--color-white);
  position: absolute;
  top: 0;
  z-index: 0;
}

#facilities .ud-cont-ttl {
  position: relative;
  z-index: 1;
}
#facilities .ud-cont-ttl .fac-map-bg {
  position: absolute;
  top: 20px;
  right: 0;
  width: 285px;
  height: 376px;
}
/* 施設紹介マップ */
#facilities .fac-map img {
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 1;
  position: relative;
}
#facilities .fac-map-sp1,
#facilities .fac-map-sp2 {
  display: none;
}

@media screen and (max-width: 960px) {
  #facilities .ud-cont-ttl .fac-map-bg {
    width: 200px;
    height: 260px;
    right: 30px;
  }
}

@media screen and (max-width: 768px) {
  #facilities .ud-cont-ttl .fac-map-bg {
    width: 160px;
    height: 210px;
  }
  #facilities .fac-map-pc {
    display: none;
  }
  #facilities .fac-map-sp1,
  #facilities .fac-map-sp2 {
    display: block;
    margin: 0 auto;
    max-width: 400px;
    width: 100%;
  }
}

@media screen and (max-width: 599px) {
  #facilities .ud-cont-ttl .fac-map-bg {
    width: 100px;
    height: 130px;
    right: 15px;
  }
}

/* 施設紹介 */
#facilities .fac-box-content {
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
#facilities .fac-box {
  width: calc(50% - 10px);
  position: relative;
  background-color: var(--color-off-white);
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);
  padding: 40px 32px;
  overflow: hidden;
}

#facilities .fac-box-num {
  position: absolute;
  top: 0;
  left: -4px;
  width: 83px;
  height: 92px;
}

#facilities .fac-box-num img,
#facilities .fac-box-num-sp img,
#facilities .fac-box-num-pc img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#facilities .fac-box-ttl {
  font-family: var(--font-mplus-rounded);
  font-weight: 800;
  font-size: var(--fs-md-base);
  color: var(--color-blue);
  padding-left: 72px;
  height: 64px;
  border-bottom: 1px solid var(--color-brown);
  display: block;
  line-height: 1.5;
}

#facilities .fac-box-desc {
  padding-top: 16px;
  padding-bottom: 16px;
}

#facilities .fac-box-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
  border-radius: 50px;
  aspect-ratio: 370/ 202;
}

#facilities .fac-box.fac-box-2 {
  width: calc(33.33333% - 14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#facilities .fac-box.fac-box-2 .fac-box-num {
  transform: translateX(-50%);
  left: 50%;
  top: -10px;
}

#facilities .fac-box.fac-box-2 .fac-box-num-sp {
  display: none;
}

#facilities .fac-box.fac-box-2 .fac-box-ttl {
  padding-left: 0;
  padding-top: 44px;
  padding-bottom: 16px;
  height: initial;
  text-align: center;
}

#facilities .fac-box.fac-box-2 .fac-box-img {
  aspect-ratio: 1/1;
}

#facilities .fac-box-content .fac-box:nth-child(6) .fac-box-img {
  object-position: top;
}
@media screen and (max-width: 960px) {
  #facilities .fac-box-content {
    max-width: initial;
    width: 100%;
  }
  #facilities .fac-box-num {
    width: 72px;
    height: 72px;
  }
  #facilities .fac-box-ttl {
    padding-left: 56px;
  }
  #facilities .fac-box-img {
    aspect-ratio: 370/ 180;
    border-radius: 30px;
  }
}

@media screen and (max-width: 768px) {
  #facilities .fac-box-content {
    flex-direction: column;
    align-items: center;
  }

  #facilities .fac-box,
  #facilities .fac-box.fac-box-2 {
    max-width: 438px;
    width: 100%;
    padding: 32px 24px;
  }
  #facilities .fac-box-num {
    width: 56px;
    height: 56px;
  }
  #facilities .fac-box.fac-box-2 .fac-box-num {
    transform: initial;
    left: -4px;
    top: 0;
  }

  #facilities .fac-box-ttl {
    padding-left: 48px;
    padding-bottom: 16px;
    height: initial;
  }

  #facilities .fac-box-desc {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  #facilities .fac-box.fac-box-2 .fac-box-num-sp {
    display: block;
  }
  #facilities .fac-box.fac-box-2 .fac-box-num-pc {
    display: none;
  }
  #facilities .fac-box.fac-box-2 .fac-box-ttl {
    padding-top: 0;
    padding-left: 48px;
    text-align: initial;
    height: initial;
  }
  #facilities .fac-box.fac-box-2 .fac-box-img {
    aspect-ratio: 370/ 180;
  }
  #facilities .fac-box-img {
    border-radius: 15px;
  }
}

/* bus
================================================== */
#bus .icon_ttl_blue {
  margin-right: auto;
  margin-left: auto;
}
#bus .bus-inr {
  flex-wrap: nowrap;
}
#bus .bus-content p {
  font-weight: 800;
}
#bus .bus-img {
  max-width: 370px;
  width: 100%;
  height: auto;
}
#bus .bus-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 960px) {
  #bus .bus-inr {
    gap: 24px;
  }
  #bus .bus-img {
    max-width: 270px;
  }
}

@media screen and (max-width: 768px) {
  #bus .bus-inr {
    gap: 16px;
  }
}

@media screen and (max-width: 599px) {
  #bus .bus-inr {
    flex-direction: column;
  }
  #bus .bus-img {
    max-width: initial;
  }
}

/* overview
================================================== */
#overview .ove-item {
  border-bottom: 0.5px solid var(--color-brown);
  padding-bottom: 30px;
  padding-top: 30px;
  font-weight: 800;
  font-size: var(--fs-md-lg);
  padding-left: 10px;
  padding-right: 10px;
}

#overview .ove-item:first-child {
  border-top: none;
}

#overview .ove-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#overview .ove-item dt {
  width: 200px;
}

#overview .ove-item dd .text1 {
  padding-bottom: 1em;
}

@media screen and (max-width: 768px) {
  #overview .ove-item {
    flex-direction: column;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  #overview .ove-item dt {
    width: 100%;
    margin-bottom: 8px;
    font-weight: 800;
  }

  #overview .ove-item dd {
    font-weight: 500;
  }
}
