@charset "UTF-8";
/* RESET CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article,
aside, canvas, details, embed, figure,
figcaption, footer, header, hgroup, menu,
nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
a {text-decoration: none;}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote::before, blockquote::after,
q::before, q::after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
*, *::before, *::after {
  box-sizing: border-box;
}
img {max-width: 100%;}

@media screen and (max-width: 1024px) {
  html {
    font-size: 1.5625vw;
  }
}
@media screen and (max-width: 768px) {
  html {
    font-size: 4.2666666667vw;
  }
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
}

a {
    color: #222;
    text-decoration-line: none;
}
a:hover, .btn input:hover, .btn2 input:hover, .btn_att input:hover, .fbtn01:hover, input:hover {
    color: #5b9d4c;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
a img:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    -webkit-transition: 0.6s ease-in-out;
    -moz-transition: 0.6s ease-in-out;
    -o-transition: 0.6s ease-in-out;
    transition: 0.6s ease-in-out;
}
::selection{background: #ffff9e; color: #222;}
::-moz-selection{background: #ffff9e; color: #222;}



.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(80px);
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.3s; /* 写真より0.3秒遅れて */
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  padding-top: 3rem;
}

.footer__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding-left: 5rem;
  padding-right: 5rem;
  max-width: 1024px;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .footer__inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
}

.footer__top {
  padding-top: 1.625rem;
  position: relative;
  width: 108%;
}
@media screen and (max-width: 768px) {
  .footer__top {
    width: 100%;
  }
}

.footer__top::before {
  content: "";
  background-color: rgb(32, 86, 43);
  width: 54rem;
  max-width: 864px;
  height: 0.03125rem;
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (max-width: 768px) {
  .footer__top::before {
    width: 20.625rem;
  }
}

.footer__top-t {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  position: relative;
}
@media screen and (max-width: 768px) {
  .footer__top-t {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding-left: 1.875rem;
  }
}

.footer__top-t::before {
  content: "";
  background-color: rgb(32, 86, 43);
  width: 54rem;
  height: 0.03125rem;
  position: absolute;
  bottom: 3.2rem;
  max-width: 864px;
  left: 0;
}
@media screen and (max-width: 768px) {
  .footer__top-t::before {
    bottom: 14.8rem;
    width: 20.625rem;
  }
}

.footer__top-t::after {
  content: "";
  background-color: rgb(32, 86, 43);
  width: 54rem;
  height: 0.03125rem;
  position: absolute;
  bottom: 7.3rem;
  max-width: 864px;
  left: 0;
}
@media screen and (max-width: 768px) {
  .footer__top-t::after {
    bottom: 6.8rem;
    width: 20.625rem;
  }
}

.footer__top-t-logo {
  margin-top: 1rem;
  margin-left: 3.3125rem;
  margin-right: 3.5rem;
}
@media screen and (max-width: 768px) {
  .footer__top-t-logo {
    width: 6rem;
    padding-right: 1.875rem;
    margin-bottom: 1.25rem;
    margin-inline: auto;
  }
}

.footer__top-t-logo img {
  aspect-ratio: 88.82/76.35;
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
}

.footer__top-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.footer__top-flex-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.footer__link.kaigo {
  padding-left: 0.4375rem;
  position: relative;
}

.footer__link.kaigo.sp-ai {
  display: none;
}
@media screen and (max-width: 768px) {
  .footer__link.kaigo.sp-ai {
    display: block;
  }
}

.footer__link a {
  font-size: 0.875rem;
  font-weight: 300;
}
@media screen and (max-width: 768px) {
  .footer__link a {
    font-size: 0.75rem;
  }
}

.footer__link + .footer__link {
  margin-top: 0.4rem;
}

.footer__top-c {
  margin-left: 7.0625rem;
}
@media screen and (max-width: 768px) {
  .footer__top-c {
    margin-left: 1.875rem;
  }
}

.footer__top-r {
  margin-left: 4.9375rem;
}
@media screen and (max-width: 768px) {
  .footer__top-r {
    display: none;
  }
}

.footer__top-m {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-column-gap: 5.1875rem;
     -moz-column-gap: 5.1875rem;
          column-gap: 5.1875rem;
  margin-top: 2.4rem;
}
@media screen and (max-width: 768px) {
  .footer__top-m {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.footer__top-b {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-column-gap: 5.1875rem;
     -moz-column-gap: 5.1875rem;
          column-gap: 5.1875rem;
  margin-top: 2.5rem;
}
@media screen and (max-width: 768px) {
  .footer__top-b {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.footer__link.cente {
  padding-left: 0.4375rem;
  position: relative;
}

.footer__bottom {
  padding-bottom: 1.25rem;
  padding-right: 5rem;
  margin-top: 1.6875rem;
}
@media screen and (max-width: 768px) {
  .footer__bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 1.25rem;
    margin-top: 2.5rem;
    width: 100%;
  }
}

.footer__bottom-t {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-column-gap: 0.5625rem;
     -moz-column-gap: 0.5625rem;
          column-gap: 0.5625rem;
}
@media screen and (max-width: 768px) {
  .footer__bottom-t {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.footer__logo {
  width: 7.714375rem;
}
@media screen and (max-width: 768px) {
  .footer__logo {
    width: 6.875rem;
  }
}

.footer__name {
  font-size: 0.875rem;
  font-weight: 500;
  text-wrap: nowrap;
}
@media screen and (max-width: 768px) {
  .footer__name {
    font-size: 0.75rem;
    margin-top: 0.625rem;
  }
}

.footer__bottom-b {
  margin-top: 1.00625rem;
}

.footer__address {
  font-size: 0.8125rem;
  margin-left: 0.4375rem;
}
@media screen and (max-width: 768px) {
  .footer__address {
    text-indent: -1em;
  }
}

.footer__copy {
  background-color: #AF8865;
  padding: 0.4375rem 0 0.5rem;
  text-align: center;
}

.footer__copy small {
  color: #fff;
  font-size: 0.75rem;
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 10px 20px;
  z-index: 1000;
  height: 80px;
}
.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}
.logo {
  width: 117px;
  height: auto;
}
.main-nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
}
.main-nav a:hover {
  color: #5b9d4c;
}
a.contact-btn {
  background-color: #5B9D4C;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
}
a.contact-btn:hover {
  background-color: #4dc333;
  color: #fff;
}
.hero {
  margin-left: 15rem;
  position: relative;
  text-align: center;
}
.slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
}
.slideshow img {
  border-radius: 0 0 0 50px;
}
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide.active {
  opacity: 1;
}
.hero-text {
  position: absolute;
  top: 55%;
  left: -7rem;
  /*transform: translate(-50%, -50%);*/
  padding: 20px;
  max-width: 70%;
  text-align: left;
  font-size: 42px;
  color: #111;
  font-family: arial;
}
span.marker01 {
    background-color: #fff;
    margin: 0 10px 10px 0;
    display: inline-block;
}
.hero-text p {
  font-size: 20px;
  line-height: 4rem;
}
.txt_tate {
    writing-mode: vertical-lr;
    position: absolute;
    left: -14rem;
    bottom: 0;
    transform: rotate(180deg);
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.2rem;
  }
.att01 {color: #5B9D4C;}
section {
  padding: 60px 20px;
}
.message {text-align: center;}
.li_message {display: flex;flex-wrap: wrap;justify-content: space-around;align-items: stretch;flex-direction: revert;}
.li_message ul.img_message {width: 30%;}
.li_message div.bx_message_wrap {width: 65%;}
h2 span {color: #5B9D4C;font-size: 55px;font-family: arial;letter-spacing: 0.2rem;display: block;font-weight: normal;}
.bx_message h2 span {font-size: 23px;font-weight: bold;margin-bottom: -10px;height: auto;}
.bx_message {font-weight: bold;font-size: 130%;line-height: 2;position: relative;padding: 6em 2em;margin-bottom: 3rem;}
.bx_message:before,
.bx_message:after {position: absolute;content: '';}
.bx_message:after {left: 0;bottom: 0;width: 50px;height: 50px;border-left: 4px solid #5b9d4c;border-bottom: 4px solid #5b9d4c;}
.bx_message:before {right: 0;bottom: 0;width: 50px;height: 50px;border-right: 4px solid #5b9d4c;border-bottom: 4px solid #5b9d4c;}

.bx_message_wrap {position: relative;}
.bx_message_wrap:before,
.bx_message_wrap:after {position: absolute;content: '';}
.bx_message_wrap:after {top: 0;right: 0;width: 50px;height: 50px;border-top: 4px solid #5b9d4c;border-right: 4px solid #5b9d4c;}
.bx_message_wrap:before {top: 0;left: 0;width: 50px;height: 50px;border-top: 4px solid #5b9d4c;border-left: 4px solid #5b9d4c;}
#message-heading {
  background: url(/../centennials/images/top/bg_message.svg) bottom center no-repeat;
  padding-bottom: 20px;
  background-size: 140px auto;
}

a.btn01 {
  display: block;
  background: #5b9d4c; 
  color: #fff;
  padding: 24px 10px;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  width: 90%;
  max-width: 320px;
  border-radius: 60px;
  font-size: clamp(15px, 1.5vw, 2.5vh);
}

a.btn01::after {
  background: #34c514;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
a.btn01:hover {
  color: #fff;
  background: #4dc333;
}



.btn_li {display: flex;flex-wrap: wrap;justify-content: center;margin-bottom: 2rem;}
.btn_li li {width: 32%;margin-bottom: 10px;}
.btn_li li a, a.btn02 {
  display: block;
  width: 100%;
  border: 2px solid #5b9d4c;
  text-align: center;
  border-radius: 60px;
  padding: 24px 10px;
  color: #111;
  font-weight: bold;
  max-width: 320px;
  margin: 10px auto;
  background: #fff;
  font-size: clamp(15px, 1.5vw,2.5vh);
}
a.btn02 {width: 90%;}
.arrow, .arrow2 {
  display: inline-block;
  vertical-align: middle;
  color: #5b9d4c;
  line-height: 1;
  position: relative;
  width: 1em;
  height: 2px;
  background: currentColor;
  left: 1rem;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.arrow2 {background: #fff;}
.arrow2::before {  border: 2px solid #fff;}
.btn_li li a:hover, a.btn02:hover {background: #5b9d4c;color: #fff;}
.btn_li li a:hover .arrow, a.btn02:hover .arrow, .btn01:hover .arrow2 {
  left: 2rem;
}
.arrow2 {  color: #fff;}
.arrow::before, .arrow2::before {
  content: '';
  width: 0.65em;
  height: 0.65em;
  border: 2px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  transform-origin: top right;
  position: absolute;
  top: 50%;
  right: -0.05em;
  box-sizing: border-box;
}
.btn_li li a:hover .arrow, a.btn02:hover .arrow{background: #fff;}
.btn_li li a:hover .arrow::before, a.btn02:hover .arrow::before { border: 2px solid #fff;border-left: 0;border-bottom: 0;}

.service {
    background: url(/../centennials/images/top/img_service01.png) calc(100% - 3rem) 16rem no-repeat;
    background-size: 53% auto;
  }
.service h3 {font-size: 32px;font-weight: bold;margin: 6rem 0 3rem 3rem;}
.img_service02 {margin-left: 5%;width: 16%; height: auto;margin-bottom: 1rem;}
.news {background: #f9f9f9;padding: 4rem 1rem;}

h2 {margin-bottom: 2rem;font-size: 24px;text-align: center;}
.mb2 {margin-bottom: 2rem;}
.mb3 {margin-bottom: 3rem;}
.small {font-size: 80%;}
span.marker {
    background: linear-gradient(transparent 70%, #ffd53e 70%);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  max-width: 96%;
  margin-right:auto;
  margin-left:auto;
}

.tags li {
  flex: 1 0 20%;
  margin-bottom: 10px;
  padding: 0;
}

.tags li a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 80px;

  background-color: #e9f6e9;
  background-image: url(/../centennials/images/top/01.png);
  background-position: 16px center;
  background-repeat: no-repeat;
  background-size: auto 40px;
  
  padding: 15px 15px 15px 70px;
  border: 1px solid #ccc;
  border-radius: 20px;

  color: #5b9d4c;
  font-weight: bold;
  text-decoration: none;
  line-height: 1.5;

  transition: background-color 0.2s, color 0.2s;
}

.tags li a:hover {
  background-color: #e0e0e0;
  color: #000;
}

.tags li:nth-child(2) a {
  background-image: url(/../centennials/images/top/02.png);
  background-position: 18px center;
}
.tags li:nth-child(3) a {
  background-image: url(/../centennials/images/top/04.png);
  background-position: 12px center;
}
.tags li:nth-child(4) a {
  background-image: url(/../centennials/images/top/06.png);
  background-position: 20px center;
}
.tags li:nth-child(5) a {
  background-image: url(/../centennials/images/top/05.png);
  background-size: 40px auto;
}
.tags li:nth-child(6) a {
  background-image: url(/../centennials/images/top/03.png);
}
.tags li:nth-child(7) a {
  background-image: url(/../centennials/images/top/07.png);
}
.tags li:nth-child(8) a {
  background-image: url(/../centennials/images/top/08.png);
}

.news ul {
  list-style: none;
  padding: 0;
  width: 90%;
  max-width: 1000px;
  margin: 0 auto 3rem;
  font-size: 2.5vh;
}
.date {
  font-weight: bold;
  font-family: arial;
  margin-right: 10px;
  font-size: 90%;
}
.ico_news {background: #3b883b; padding: 0px 10px 1px 10px;text-align: center;color: #fff;font-size: 84%;border-radius: 20px; display: inline-block;margin-bottom: 10px;}

#back-to-top {
  width: 48px;
  height: 48px;
  background: #f0f0f0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s;
}

#back-to-top:hover {
  background: #ddd;
}

/* 上矢印（CSSの線） */
#back-to-top::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #333;
  border-left: 2px solid #333;
  transform: rotate(45deg);
  position: absolute;
  top: 54%;
  left: 50%;
  translate: -50% -50%;
}


.menu-toggle {
  display: none;
  font-size: 34px;
  background: none;
  border: none;
  cursor: pointer;
  margin-top: -10px;
}

@media (min-width: 768px) {
  .sp {display: none;}
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    border-top: 1px solid #eee;
    height: 100vh;
  }
  #back-to-top {display: none;}

  .main-nav a {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    margin-left: 0;
  }
  a.contact-btn {margin: 10px auto;width: calc(100% - 20px);}

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
  .menu-toggle.open {
    content: "×"; /* これは効かないのでJSで変える or 擬似要素を使う */
  }
  .main-nav {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }


  .hero {margin-left: 10px;}
  .hero-text {left: -20px;transform: initial;max-width: initial;font-size: 30px;}
  .hero-text p {font-size: 16px;line-height: 2rem;}
  .li_message ul.img_message, .li_message div.bx_message_wrap, .btn_li li {width: 100%;}
  .li_message {flex-direction:column-reverse}
  .bx_message {
      font-size: 90%;
      line-height: 2;
      padding: 2em 0;
      margin-bottom: 2rem;
  }
  .img_message {display: flex;gap: 10px;}
  h2 span {font-size: 34px;}
  h2 {font-size: 18px;margin-bottom: 1rem;}
  .service h3 {
      font-size: 20px;
      font-weight: bold;
      margin: 2rem 0.6rem 2rem 0.6rem;
  }
  .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-position: top right;
    object-fit: cover;
    object-position: 80% 50%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .service {
      background: url(/../centennials/images/top/img_service01.png) calc(100% - 3rem) 23% no-repeat;
      background-size: 70% auto;
  }
  .mb3 {margin-bottom: 1.5rem;}
  .tags {max-width: 100%;}
  .tags li {
    flex: 1 0 40%; /* 幅指定＆均等に並べる */
    margin-bottom: 10px;
    padding: 0; /* liのパディングは削除 */
  }

  /* aタグに見た目のスタイルを集約 */
  .tags li a {
    background: #e9f6e9 url(/../centennials/images/top/01.png) 10px center no-repeat;
    background-size: auto 36px;
    padding: 0 0 0 50px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 80px;
    border-radius: 20px;
    color: #5b9d4c;
    font-weight: bold;
    line-height: 1.5;
    font-size: 16px;
    text-decoration: none;
  }

  /* 個別アイコンもaタグに適用 */
  .tags li:nth-child(2) a {
    background: #e9f6e9 url(/../centennials/images/top/02.png) 10px center no-repeat;
    background-size: auto 36px;
  }
  .tags li:nth-child(3) a {
    background: #e9f6e9 url(/../centennials/images/top/04.png) 5px center no-repeat;
    background-size: auto 36px;
  }
  .tags li:nth-child(4) a {
    background: #e9f6e9 url(/../centennials/images/top/06.png) 10px center no-repeat;
    background-size: auto 36px;
  }
  .tags li:nth-child(5) a {
    background: #e9f6e9 url(/../centennials/images/top/05.png) 10px center no-repeat;
    background-size: 36px auto;
  }
  .tags li:nth-child(6) a {
    background: #e9f6e9 url(/../centennials/images/top/03.png) 10px center no-repeat;
    background-size: auto 36px;
  }
  .tags li:nth-child(7) a {
    background: #e9f6e9 url(/../centennials/images/top/07.png) 10px center no-repeat;
    background-size: auto 36px;
  }
  .tags li:nth-child(8) a {
    background: #e9f6e9 url(/../centennials/images/top/08.png) 10px center no-repeat;
    background-size: auto 36px;
  }
  .logo {
    width: 77px;
  }
  .site-header {height: 60px;}
  .slideshow {
    height: 75vh;
    width: calc(100% + 20px);
  }
  .news {padding: 2rem 1rem;}
  #message-heading {
    background: url(/../centennials/images/top/bg_message.svg) bottom center no-repeat;
    padding-bottom: 15px;
    background-size: 120px auto;
  }
    section {
      padding: 50px 20px;
  }
}


@media (max-width: 526px) {
  .service {
      background: url(/../centennials/images/top/img_service01.png) calc(100% - 20px) 30% no-repeat;
      background-size: 60% auto;
  }
}

.news-toggle {
    cursor: pointer;
    position: relative;
    padding: 1em 40px 1em 0;
    transition: background-color 0.3s;
}

.news-toggle:hover {
    background-color: #f5f5f5;
}

.news-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    width: 12px;
    height: 12px;
    border-top: 2px solid #555;
    border-right: 2px solid #555;
    transform: translateY(-50%) rotate(135deg);
    transition: transform 0.3s ease;
}

.news-toggle.is-open::after {
    transform: translateY(-50%) rotate(-45deg);
}

.news-detail {
    display: none;
    padding: 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}
/* お知らせ詳細のリンク設定 */
.news-detail a {
  text-decoration: none; /* 下線は消す */
  position: relative;
  padding-right: 14px;   /* アイコン用の余白を確保 */
}

/* リンクの右側に矢印アイコンを追加 */
.news-detail a::after {
  content: '›'; /* 表示するアイコン文字 */
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 1.2em; /* アイコンのサイズ */
}

/* マウスを乗せたら下線を表示 */
.news-detail a:hover {
  text-decoration: underline;
}


.news-item {
    border-bottom: 1px solid #ddd;
}
.news-toggle p {
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}
.news-title {
    margin-left: 1em;
}
