@charset "UTF-8";

/* =========================================
   ニュース・ブログセクション (News & Blog)
   ========================================= */
.news-blog {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 9.9rem 13.8rem 0 13.8rem;
  background-color: #ffffff;
}

.news-blog__inner {
  width: 100%;
}

.news-blog__row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.news-blog__column {
  width: 45rem;
}

.news-blog__title {
  margin: 0 0 1.6rem 0;
}

.news-blog__title-img {
  height: auto;
}

.news-blog__box {
  width: 45rem;
  height: auto;
  min-height: 20.4rem;
  background-color: #f6f6f6;
  border-radius: 0.8rem;
  padding: 4rem 3.3rem 4.2rem 1.6rem;
}

.news-blog__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-blog__item {
  display: flex;
  align-items: center;
  padding: 1.6rem 0;
  border-bottom: 1px solid #cccccc;
}

.news-blog__item:first-child {
  padding-top: 0;
}

.news-blog__item:last-child {
  border-bottom: 1px solid #cccccc;
}

.news-blog__item-link {
  display: flex;
  align-items: center;
  width: 100%;
  text-decoration: none;
  transition: opacity 0.3s;
}

.news-blog__item-link:hover {
  opacity: 0.7;
}

.news-blog__date {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #222222;
  white-space: nowrap;
  margin-right: 2.4rem;
}

.news-blog__text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #222222;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-blog__link-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.3rem;
}

.news-blog__link {
  display: inline-flex;
  align-items: center;
  width: 11.9rem;
  height: 2.6rem;
  text-decoration: none;
  color: #222222;
  border-bottom: 1px solid #222222;
  padding-bottom: 0.6rem;
}

.news-blog__link-icon {
  font-size: 1rem;
  color: #222222;
  margin-right: 1.6rem;
}

.news-blog__link-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #222222;
}

.news-blog__reserve {
  margin-top: 10.8rem;
  padding-bottom: 6.2rem;
}

.news-blog__reserve-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.3rem;
  margin: 0 auto;
}

.news-blog__reserve-title {
  flex-shrink: 0;
}

.news-blog__reserve-img {
  height: auto;
}

.news-blog__reserve-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 39.2rem;
  height: 10rem;
  background-color: #3b4165;
  border-radius: 0.8rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.news-blog__reserve-btn:hover {
  opacity: 0.8;
}

.news-blog__reserve-btn-icon {
  width: 4rem;
  height: auto;
  margin-right: 1.6rem;
}

.news-blog__reserve-btn-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: #ffffff;
  margin-right: 1.6rem;
}

.news-blog__reserve-btn-arrow {
  font-size: 2rem;
  color: #ffffff;
  font-weight: bold;
}

@media (max-width: 1024px) {
  .news-blog {
    padding: 5rem 2rem 0 2rem;
  }

  .news-blog__title {
    height: 2.4rem;
    margin-bottom: 1.6rem;
  }

  .news-blog__title-img {
    height: 3.5rem;
    width: auto;
  }

  .news-blog__row {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
  }

  .news-blog__column {
    width: 100%;
    max-width: 45rem;
  }

  .news-blog__box {
    width: 100%;
    height: auto;
    min-height: 18rem;
    padding: 2.4rem 2rem;
  }

  .news-blog__item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 0;
  }

  .news-blog__item-link {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-blog__date {
    margin-right: 0;
    margin-bottom: 0.4rem;
    font-size: 1.3rem;
  }

  .news-blog__text {
    font-size: 1.3rem;
    white-space: normal;
  }

  .news-blog__link-wrapper {
    justify-content: flex-end;
    margin-top: 1rem;
  }

  .news-blog__link-text {
    font-size: 1.3rem;
  }

  .news-blog__reserve {
    margin-top: 6rem;
    padding-bottom: 4rem;
  }

  .news-blog__reserve-inner {
    flex-direction: column;
    width: 100%;
    gap: 2.4rem;
  }

  .news-blog__reserve-title {
    text-align: center;
  }

  .news-blog__reserve-img {
    max-width: 14rem;
  }

  .news-blog__reserve-btn {
    width: 100%;
    max-width: 32rem;
    height: 8rem;
  }

  .news-blog__reserve-btn-icon {
    width: 3.2rem;
    margin-right: 1.2rem;
  }

  .news-blog__reserve-btn-text {
    font-size: 1.8rem;
    margin-right: 1.2rem;
  }

  .news-blog__reserve-btn-arrow {
    font-size: 1.6rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .news-blog__column {
    max-width: 75rem; 
    width: 100%;
  }

  .news-blog__box {
    padding: 3.5rem 3rem;
    min-height: auto;
  }

  .news-blog__date {
    font-size: 1.6rem; 
    margin-bottom: 0.5rem;
  }

  .news-blog__text {
    font-size: 1.6rem; 
    line-height: 1.6;
  }

  .news-blog__link {
    width: 14rem;
    padding-bottom: 0.8rem;
  }
  .news-blog__link-text {
    font-size: 1.5rem;
  }

  .news-blog__reserve-btn {
    max-width: 60rem; 
    height: 10rem;    
  }

  .news-blog__reserve-btn-text {
    font-size: 2.4rem; 
  }

  .news-blog__reserve-btn-icon {
    width: 4rem; 
  }
}

/* =========================================
   3つの強みバナーセクション (Reason Banner)
   ========================================= */
.reason-banner {
  margin-top: 0;
  margin-bottom: 4rem;
}

.reason-banner__link {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 100rem;
  height: 24.9rem;
  margin: 0 auto;
  padding-bottom: 2.6rem;
  background: url('../images/bg_reason.jpg') no-repeat center center;
  background-size: cover;
  text-decoration: none;
}

.reason-banner__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 39.2rem;
  height: 5rem;
  background-color: #ffffff;
  color: #282828;
  font-size: 2rem;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.1em;
  border-radius: 2.5rem;
  transition: opacity 0.3s, box-shadow 0.3s;
}

.reason-banner__link:hover {
  opacity: 1;
}

.reason-banner__link:hover .reason-banner__btn {
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
  .reason-banner {
    margin-bottom: 2.5rem;
  }

  .reason-banner__link {
    max-width: 100%;
    height: auto;
    aspect-ratio: 835 / 249;
    padding-bottom: 1.5rem;
    background-image: url('../images/bg_reason_sp.jpg');
  }

  .reason-banner__btn {
    width: 60%;
    max-width: 24rem;
    height: 4rem;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 2rem;
    margin-bottom: -0.5rem;
  }
}

/* =========================================
   サービスセクション (Service)
   ========================================= */
.service {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding-top: 15rem;
}

.service__inner {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.service__title {
  background-image: url('../images/bg_service_title.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 76.5rem 15.2rem;
  width: 76.5rem;
  height: 15.2rem;
  margin: 0 auto;
  padding: 7rem 7.8rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.service__title-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 5.3rem;
  font-weight: bold;
  letter-spacing: 1.6rem;
  line-height: 3rem;
  color: #282828;
  margin: 0;
  white-space: nowrap;
}

.service__item {
  position: relative;
  width: 100%;
}

.service__item-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 29rem;
  background-color: var(--c-accent-beige);
  z-index: -1;
}

.service__item-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  max-width: 100rem;
  margin: 0 auto;
}

.service__item-info {
  width: 45rem;
  flex-shrink: 0;
}

.service__item-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text-main);
  margin: 0 0 2.1rem;
}

.service__item-heading-img {
  max-width: 90%;
  height: auto;
  display: block;
}

.service__item-desc {
  font-size: 1.8rem;
  line-height: 1.67;
  color: var(--c-text-main);
  margin: 0;
}

.service__item-image {
  flex-shrink: 0;
}

.service__item-image img {
  display: block;
  width: 50rem;
  height: auto;
}

.service__btn-wrapper {
  position: relative;
  z-index: 1;
}

.service__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40rem;
  height: 8rem;
  background-color: #3b4165;
  color: #ffffff;
  font-size: 2rem;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.1em;
  border-radius: 4rem;
  text-decoration: none;
  transition: opacity 0.3s;
}

.service__btn:hover {
  opacity: 0.8;
}

.service__item--thermal {
  margin-top: 0;
}

.service__item--thermal .service__item-content {
  justify-content: flex-start;
  padding-left: calc(50% - 50rem);
  margin-left: 5rem;
}

.service__item--thermal .service__item-info {
  padding-top: 8rem;
  padding-right: 5rem;
}

.service__item--thermal .service__item-image {
  padding-top: 4.6rem;
}

.service__item--thermal .service__btn-wrapper {
  margin-top: 4.5rem;
}

.service__item--thermal {
  margin-bottom: 11.5rem;
}

.service__item--reform .service__item-bg {
  height: 29rem;
}

.service__item--reform .service__item-content {
  flex-direction: row-reverse;
  justify-content: flex-start;
  padding-right: calc(50% - 50rem);
  padding-left: 0;
  margin-right: 5rem;
}

.service__item--reform .service__item-info {
  padding-top: 8rem;
  padding-left: 5rem;
  text-align: center;
}

.service__item--reform .service__item-image {
  padding-top: 4.6rem;
}

.service__item--reform .service__btn-wrapper {
  margin-top: 6rem;
  text-align: center;
}

.service__item--reform .service__btn {
  margin: 0 auto;
}

.service__item--reform {
  margin-bottom: 11.5rem;
}

.service__item--partner .service__item-bg {
  height: 29rem;
}

.service__item--partner .service__item-content {
  justify-content: flex-start;
  padding-left: calc(50% - 50rem);
  margin-left: 5rem;
}

.service__item--partner .service__item-info {
  padding-top: 8rem;
  padding-right: 5rem;
}

.service__item--partner .service__item-image {
  padding-top: 4.6rem;
}

.service__item--partner .service__btn-wrapper {
  margin-top: 6rem;
}

.service__public {
  margin-top: 11.5rem;
  margin-bottom: 8.6rem;
}

.service__public-box {
  width: 100rem;
  height: auto;
  min-height: 17.3rem;
  margin: 0 auto;
  background-color: #e5ddd5;
  border-radius: 10rem;
  display: flex;
  align-items: center;
  padding: 2rem 9.9rem;
}

.service__public-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  color: #272727;
  white-space: nowrap;
  margin-right: 5.4rem;
}

.service__public-desc {
  flex: 1;
  font-size: 1.6rem;
  line-height: 2.8rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #272727;
  text-align: left;
  margin-right: 2.9rem;
}

.service__public-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30rem;
  height: 5rem;
  background-color: var(--c-text-main);
  color: var(--c-text-white);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 2.5rem;
  text-decoration: none;
  transition: opacity 0.3s;
  gap: 1rem;
  flex-shrink: 0;
}

.service__public-btn:hover {
  opacity: 0.8;
}

.service__public-btn-icon {
  font-size: 1.2rem;
}

@media (max-width: 1024px) {
  .service {
    padding-top: 10rem;
  }

  .service__inner {
    max-width: 90%;
    padding: 0 2rem;
  }

  .service__title {
    width: 100%;
    max-width: 76.5rem;
    background-size: contain;
    height: auto;
    min-height: 12rem;
    padding: 5rem 4rem 0;
  }

  .service__title-text {
    font-size: 4rem;
    letter-spacing: 1rem;
  }

  .service__item-content {
    gap: 3rem;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .service__item-info {
    width: auto;
    flex: 1;
  }

  .service__item-heading {
    font-size: 2.6rem;
  }

  .service__item-desc {
    font-size: 1.6rem;
  }

  .service__item-image img {
    max-width: 40rem;
    height: auto;
  }

  .service__btn {
    width: 32rem;
    height: 7rem;
    font-size: 1.8rem;
  }

  .service__public-box {
    width: 100%;
    max-width: 90rem;
    height: auto;
    flex-direction: column;
    align-items: center;
    padding: 3rem 4rem;
    gap: 2rem;
  }

  .service__public-title {
    font-size: 2.6rem;
    margin-right: 0;
    text-align: center;
  }

  .service__public-desc {
    font-size: 1.6rem;
    margin-right: 0;
    text-align: center;
  }

  .service__public-btn {
    width: 28rem;
    font-size: 1.6rem;
  }
}

@media (max-width: 1024px) {
  .service {
    padding: 3rem 0 0;
  }

  .service__inner {
    max-width: 100%;
    padding: 0;
  }

  .service__title {
    width: 100%;
    background-size: 38rem auto;
    height: auto;
    min-height: 9.5rem;
    padding: 3.5rem 2rem 0;
    margin-bottom: -1rem;
  }

  .service__title-text {
    font-size: 2.8rem;
    font-weight: bold;
    letter-spacing: 0.6rem;
    line-height: 1.3;
  }

  .service__item {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .service__item-bg {
    display: none;
  }

  .service__item-content {
    flex-direction: column !important;
    gap: 0;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .service__item-image {
    order: 1;
    padding: 1.5rem 5% 0 !important;
    background: linear-gradient(to bottom, var(--c-accent-beige) 50%, var(--c-text-white) 50%);
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .service__item-image img {
    width: 90%;
    max-width: 40rem;
    height: auto;
  }

  .service__item-info {
    order: 2;
    padding: 2.5rem 2rem 1rem !important;
    background-color: var(--c-text-white);
    text-align: center !important;
    width: 100%;
  }

  .service__item-heading {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .service__item-heading-img {
    margin: 0 auto;
    max-width: 80%;
  }

  .service__item--thermal .service__item-heading-img {
    max-width: 60%;
  }

  .service__item-desc {
    font-size: 1.4rem;
    line-height: 1.8;
    text-align: center;
  }

  .service__btn-wrapper {
    order: 3;
    margin-top: 0 !important;
    padding-top: 2.5rem !important;
    padding-bottom: 4rem;
    background-color: var(--c-text-white);
    text-align: center;
    width: 100%;
  }

  .service__btn {
    width: 80%;
    max-width: 30rem;
    height: 5.5rem;
    font-size: 1.6rem;
    margin: 0 auto;
    display: inline-flex;
  }

  .service__item--reform .service__item-image {
    padding-top: 1.5rem !important;
  }

  .service__public {
    margin-top: -2rem;
    margin-bottom: 3rem;
    padding: 3rem 1.5rem;
  }

  .service__public-box {
    width: 100%;
    height: auto;
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 1.5rem;
    border-radius: 1.2rem;
  }

  .service__public-title {
    font-size: 2rem;
    text-align: center;
    margin-right: 0;
  }

  .service__public-desc {
    font-size: 1.4rem;
    line-height: 1.8;
    text-align: center;
    max-width: 100%;
    margin-right: 0;
  }

  .service__public-btn {
    width: 80%;
    max-width: 28rem;
    height: 5rem;
    font-size: 1.6rem;
  }
}

/* =========================================
   リンクエリアセクション (Links Area)
   ========================================= */
.links-area {
  width: 100%;
  height: 29.1rem;
  padding: 5rem 2rem;
  background-color: #ffffff;
  background-image: radial-gradient(circle, #d8d8d8 0.15rem, transparent 0.15rem);
  background-size: 1.8rem 1.8rem;
}

.links-area__inner {
  max-width: var(--w-content);
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20.8rem;
}

.links-area__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.links-area__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 8rem;
  margin-bottom: 1.2rem;
}

.links-area__icon img {
  width: auto;
  height: auto;
  max-height: 100%;
}

.links-area__title {
  font-family: var(--font-base);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-text-main);
  margin-bottom: 1.6rem;
  line-height: 1.4;
}

.links-area__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30rem;
  height: 5rem;
  background-color: #252525;
  color: var(--c-text-white);
  border-radius: 2.5rem;
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  transition: opacity 0.3s;
}

.links-area__btn:hover {
  opacity: 0.7;
}

.links-area__btn-icon {
  font-size: 1rem;
  margin-right: 1rem;
}

@media (max-width: 1024px) {
  .links-area {
    height: auto;
    padding: 4rem 1.5rem;
    background-size: 1.2rem 1.2rem;
  }

  .links-area__inner {
    gap: 4rem;
  }

  .links-area__icon {
    height: 6rem;
    margin-bottom: 1.2rem;
  }

  .links-area__icon img {
    transform: scale(0.75);
  }

  .links-area__title {
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
  }

  .links-area__btn {
    width: 16rem;
    height: 4rem;
    font-size: 1.2rem;
    border-radius: 2rem;
  }

  .links-area__btn-icon {
    font-size: 0.8rem;
    margin-right: 0.6rem;
  }
}

@media (max-width: 480px) {
  .links-area__inner {
    gap: 2.4rem;
  }

  .links-area__btn {
    width: 14rem;
    height: 3.6rem;
    font-size: 1.1rem;
  }
}