@charset "UTF-8";

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: 80px;
}

@media (max-width: 767px) {

  .section {
    padding-block: 60px;
  }
  .container {
    padding-inline: 16px;
  }

}

/* =================================================
HEADER
================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.site-header__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo img {
  width: clamp(150px, 24vw, 220px);
  height: auto;
}
.global-nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
}
.global-nav ul li {
  min-width: 60px;
}
.global-nav a {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.global-nav a:hover {
  color: var(--c-orange);
  opacity: 1;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--c-text);
  transition: transform 0.25s, top 0.25s, opacity 0.25s;
}
.nav-toggle span:nth-child(1) {
  top: 12px;
}
.nav-toggle span:nth-child(2) {
  top: 19px;
}
.nav-toggle span:nth-child(3) {
  top: 26px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}
.global-nav--mobile {
  display: none;
  background: #fff;
  border-top: 1px solid var(--c-rule);
}
.global-nav--mobile ul {
  padding: 8px 0;
}
.global-nav--mobile a {
  display: block;
  padding: 14px var(--gutter);
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--c-rule);
}
@media (max-width: 960px) {

  .global-nav {
    display: none;
  }
  .nav-toggle {
    display: inline-block;
  }
  .global-nav--mobile.is-open {
    display: block;
  }

}
@media (max-width: 767px) {

  .site-header__inner {
    padding: 14px 16px;
  }

}

/* =================================================
HERO
================================================= */
.hero {
  background: var(--c-orange);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 66px var(--gutter) 0;
}
.hero__copy {
  margin-bottom: 45px;
}
.hero__eyebrow {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}
.hero__title {
  font-size: 54px;
  letter-spacing: 0.045em;
  line-height: 1.5;
  font-weight: 700;
  margin: 0;
}
.hero__title span {
  display: inline-block;
}
.hero__gallery {
  display: flex;
  gap: 45px;
}
.hero__gallery01 {
  margin-bottom: 45px;
}
.hero__gallery02 {
  position: relative;
  z-index: 1;
}
.hero__gallery02::before {
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  z-index: -1;
  translate: -50%;
  width: 100vw;
  background-image: linear-gradient(180deg, var(--c-orange) 0%, var(--c-orange) 50%, #FFF 50%, #FFF 100%);
  content: "";
}
.hero__gallery figure {
  flex: 1 1 336px;
  margin: 0;
}
.hero__gallery01 figure:nth-child(2) {
  flex: 1 1 518px;
}
.hero__gallery02 figure:nth-child(1) {
  flex: 1 1 518px;
}
.hero__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 960px) {

  .hero__gallery {
    gap: 30px;
  }
  .hero__gallery01 {
    margin-bottom: 30px;
  }

}
@media (max-width: 767px) {

  .hero__eyebrow {
    font-size: 20px;
  }
  .hero__title {
    font-size: 42px;
  }
  .hero__gallery {
    gap: 10px;
  }
  .hero__gallery01 {
    margin-bottom: 10px;
  }

}

/* =================================================
SECTION HEADERS
================================================= */
.section-head {
  margin-bottom: 40px;
  text-align: center;
}
.section-head__eyebrow {
  color: var(--c-orange);
  letter-spacing: 0.045em;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.section-head__title {
  font-size: 54px;
  letter-spacing: 0.045em;
  margin-bottom: 12px;
}
.section-head__title small {
  font-size: 40px;
  margin-left: 0.2em;
}
.section-head__icon {
  display: flex;
  justify-content: center;
}
.section-head__icon img {
  width: 110px;
}
.section-head--left {
  text-align: left;
}
.section-head--left .section-head__title {
  margin-bottom: 0;
}
.section-head__nav {
  display: flex;
  gap: 12px;
  align-self: end;
}
.round-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--c-rule);
  background: #fff;
  color: #444;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 960px) {

  .section-head__title {
    font-size: 48px;
  }
  .section-head__title small {
    font-size: 34px;
  }

}
@media (max-width: 767px) {

  .section-head__title {
    font-size: 32px;
  }
  .section-head__title small {
    font-size: 22px;
  }
  .section-head__eyebrow {
    font-size: 16px;
  }
  .section-head--left {
    text-align: center;
  }

}

/* =================================================
モーダル
================================================= */
.modal {
	display: none;
	position: fixed;
  inset: 0;
  z-index: 1000;
}
.modal.is-open {
  display: grid;
	place-items: center;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgb(0 0 0 / 0.6);
}
.modal__container {
	position: relative;
	width: 90%;
  max-width: 900px;
  max-height: 80vh;
  padding: 80px 60px 60px;
  overflow-y: auto;
  background-color: #fff;
}
.modal__button {
	position: absolute;
  top: 20px;
	right: 20px;
	width: 35px;
  height: 35px;
	cursor: pointer;
}
.modal__button::before,
.modal__button::after {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 2px;
  background-color: #222;
  content: "";
}
.modal__button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal__button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.modal__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.045em;
  margin-bottom: 30px;
  text-align: center;
}
.modal__sub-title {
  margin: 30px 0 16px;
  font-size: 19px;
}
.modal__sub-title:not(:first-child) {
  margin: 40px 0 16px;
}
.modal__border-title {
  margin-bottom: 16px;
  font-size: 19px;
}
.modal__border-title::before,
.modal__border-title::after {
  display: inline-block;
  translate: 0 -6px;
  width: 30px;
  height: 2px;
  background-color: currentColor;
  content: "";
}
.modal__content p {
  margin-bottom: 20px;
  font-weight: 500;
}
.modal__content p strong {
  font-weight: 700;
}
.modal__img {
  margin: 30px 0;
  text-align: center;
}
.modal__img img {
  display: inline;
}
.modal__imgs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}
.modal__imgs.w-30-auto {
  grid-template-columns: 30% 1fr;
}
.modal__imgs .modal__img {
  display: grid;
  place-items: center;
  margin: 0;
}
.modal__imgs .modal__img .w-50 {
  width: 50%;
}
.modal__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
}
.modal__list li::before {
  display: inline-block;
  translate: 0 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  content: "";
}
.modal__list li a {
  color: var(--c-orange);
  text-decoration: underline;
}
.modal__list02-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  font-weight: 500;
}
.modal__list02-item dt {
  font-weight: 700;
}
.modal__list02-item dd {
  margin: 0;
}
.modal__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}
.modal__gallery-item .modal__img {
  margin: 0;
}
.modal__gallery-text-box {
  border: 1px solid #222;
  padding: 10px;
}
.modal__gallery-text-box p {
  margin-bottom: 20px;
  font-weight: 700;
  text-decoration: underline;
}
.modal__gallery-text-box .modal__list li {
  column-gap: 3px;
  margin-bottom: 30px;
}
.modal__gallery-text-box .modal__list li:last-child {
  margin-bottom: 0;
}
.modal__gallery-text-box .modal__list li::before {
  content: none;
}
.modal__bottom {
  margin-top: 40px;
  text-align: center;
}
.modal__close {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  padding: 6px 30px;
  border: 1px solid var(--c-orange);
  color: var(--c-orange);
  transition: background-color 0.3s, color 0.3s;
}
.modal__close:hover {
  color: #fff;
  background-color: var(--c-orange);
}
@media (max-width: 767px) {

  .modal__button {
    width: 30px;
    height: 30px;
  }
  .modal__button::before,
  .modal__button::after {
    width: 30px;
  }
  .modal__title {
    font-size: 24px;
  }
  .modal__sub-title {
    font-size: 18px;
  }
  .modal__border-title {
    font-size: 18px;
  }
  .modal__close {
    font-size: 15px;
  }
  .modal__container {
    padding: 80px 20px 40px;
  }
  .modal__gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .modal__imgs {
    grid-template-columns: 1fr;
  }
  .modal__imgs.w-30-auto {
    grid-template-columns: 1fr;
  }
  .modal__imgs .modal__img {
    margin: 0;
  }

}

/* =================================================
お知らせ
================================================= */
.news-list {
  max-height: 410px;
  overflow-y: auto;
  border-top: 1px solid #707070;
}
.news-item {
  display: grid;
  grid-template-columns: 90px 210px 1fr;
  align-items: center;
  padding: 20px 10px;
  border-bottom: 1px solid #707070;
}
.news-item__date {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.045em;
}
.news-category {
  margin-left: 10px;
}
.news-tag {
  display: inline-block;
  height: fit-content;
  padding: 3px 10px;
  border: 1px solid;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.045em;
}
.news-tag--rehab {
  color: var(--c-orange);
}
.news-tag--koryu {
  color: #2F5D3A;
}
.news-tag--support {
  color: #C92E2E;
}
.news-item__text {
  margin: 0 0 0 30px;
}
.news-item__text a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  font-size: 18px;
  font-weight: 700;
  transition: all 0s;
}
.news-item__text a span:first-child {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.news-item__text a svg {
  border-radius: 50%;
  transition: background-color 0.3s;
}
.news-item__text a svg text {
  transition: fill 0.3s;
}
.news-item__text a:hover {
  opacity: 1;
  text-decoration: underline;
  color: var(--c-orange);
}
.news-item__text a:hover svg {
  background-color: var(--c-orange);
}
.news-item__text a:hover svg text {
  fill: #fff;
}
@media (max-width: 767px) {

  .news-list {
    max-height: 440px;
  }
  .news-item {
    display: flex;
    flex-wrap: wrap;
  }
  .news-item__date {
    width: 80px;
    font-size: 16px;
  }
  .news-category {
    width: calc(100% - 90px);
  }
  .news-tag {
    font-size: 14px;
  }
  .news-item__text {
    width: 100%;
    margin: 10px 0 0;
  }
  .news-item__text a {
    gap: 20px;
    font-size: 16px;
  }
  .news-item__text a svg {
    width: 24px;
    height: 24px;
  }

}

/* =================================================
むすびプロジェクトについて
================================================= */
.about__panel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 0 100px;
  border: 1px solid #4c4c4c;
  border-radius: 320px;
}
.about__branch {
  position: absolute;
  width: 130px;
  pointer-events: none;
  opacity: 0.85;
}
.about__branch--left {
  left: -50px;
  top: 30px;
}
.about__branch--right {
  right: -50px;
  top: 30px;
}
.about__panel-inner p {
  max-width: 530px;
  margin: 0 auto 30px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.045em;
}
.about__panel-inner p:nth-child(2) {
  margin-bottom: 0;
}
.about__btn {
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 50%;
  font-size: 20px;
  font-weight: 700;
  background-color: #fff;
  padding: 7px 46px;
  border-radius: 9999px;
  border: 1px solid;
  overflow: hidden;
}
.about__btn::before {
  position: absolute;
  left: 0px;
  top: 0px;
  height: 100%;
  width: 100%;
  content: "";
  background-color: #222;
  transform: scaleX(0);
  transform-origin: right top;
  border-radius: inherit;
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1), -webkit-transform 0.5s;
}
.about__btn span {
  position: relative;
  z-index: 1;
}
.about__btn:hover {
  opacity: 1;
  color: #fff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 30px;
}
.about__btn:hover::before {
  transform: scale(1);
  transform-origin: left bottom;
}
.about .modal .modal__img img {
  width: 60%;
  max-width: 400px;
}
@media (max-width: 1200px) {

  .about__panel {
    max-width: 860px;
  }

}
@media (max-width: 1000px) {

  .about__panel {
    max-width: 680px;
  }
  .about__panel-inner p {
    max-width: 480px;
  }
  .about__branch {
    width: 90px;
  }
  .about__branch--left {
    left: -20px;
  }
  .about__branch--right {
    right: 0;
  }

}
@media (max-width: 767px) {

  .about__panel {
    padding: 80px 60px 100px;
  }
  .about__panel-inner p {
    font-size: 16px;
  }
  .about__branch {
    width: 60px;
  }
  .about__branch--left {
    top: -10px;
    left: 0;
  }
  .about__branch--right {
    top: unset;
    bottom: 20px;
  }
  .about__btn {
    font-size: 16px;
    padding: 5px 36px;
  }

}

/* =================================================
取り組み
================================================= */
.attempt-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
}
.attempt-card__link {
  display: inline-grid;
  grid-template-columns: 1fr 34px;
  gap: 20px;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.045em;
}
.attempt-card__media {
  position: relative;
  padding: 10px;
  border: 1px solid #4c4c4c;
  border-radius: 9999px;
  width: 220px;
  max-width: 80%;
  aspect-ratio: 1 / 1.4;
  margin: 0 auto 20px;
}
.attempt-card__media::before {
  position: absolute;
  top: 10px;
  left: -30px;
  width: 80px;
  aspect-ratio: 141 / 217;
  background-image: url(../images/icon-flower01.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
}
.attempt-card__media::after {
  position: absolute;
  bottom: 10px;
  right: -30px;
  width: 80px;
  aspect-ratio: 134 / 188;
  background-image: url(../images/icon-flower02.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
}
.attempt-card__media img {
  position: relative;
  z-index: 1;
  border-radius: 9999px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.attempt-card__title {
  font-size: 22px;
  letter-spacing: 0.045em;
  margin-bottom: 16px;
}
.attempt-card__arrow {
  rotate: 90deg;
}
.attempt-card__arrow svg {
  border-radius: 50%;
  transition: background-color 0.3s;
}
.attempt-card__arrow svg text {
  transition: fill 0.3s;
}
.attempt-card__desc {
  width: fit-content;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-align: left;
  margin: 0 auto;
}
.attempt-card__title a:hover {
  opacity: 1;
  text-decoration: underline;
  color: var(--c-orange);
}
.attempt-card__title a:hover svg {
  background-color: var(--c-orange);
}
.attempt-card__title a:hover svg text {
  fill: #fff;
}
@media (max-width: 960px) {

  .attempt-cards {
    gap: 30px;
  }
  .attempt-card__media::before {
    width: 60px;
  }
  .attempt-card__media::after {
    width: 60px;
  }

}
@media (max-width: 767px) {

  .attempt-cards {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .attempt-card__link {
    font-size: 22px;
  }
  .attempt-card__desc {
    font-size: 16px;
  }
  .attempt-card__arrow {
    display: inline-block;
    margin-top: 5px;
  }
  .attempt-card__arrow svg {
    width: 28px;
    height: 28px;
  }

}

/* =================================================
取り組み（詳細）
================================================= */
.detail-section {
  padding-block: 80px;
}
.detail-section .container {
  max-width: 1350px;
}
.detail-section__wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}
.detail-section__head {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  align-items: center;
}
.detail-section.detail-section--support .detail-section__head {
  display: block;
  max-width: 730px;
}
.detail-section__icon {
  height: 180px;
  margin-top: 50px;
  padding-right: 10px;
  border-right: 1px solid #707070;
  color: var(--c-orange);
  font-size: 18px;
  font-weight: 500;
}
.detail-section.detail-section--support .detail-section__icon {
  margin-top: 0;
}
.detail-section__icon img {
  margin-bottom: 10px;
}
.detail-section__title {
  font-size: 32px;
  margin-bottom: 14px;
  letter-spacing: 0.045em;
}
.detail-section__title small {
  font-size: 24px;
}
.detail-section__body p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.detail-section__media img {
  border-radius: 20px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 80px 0 90px;
}
.cta-row:last-child {
  margin-bottom: 0;
}
.cta-btn {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 65px;
  min-width: 350px;
  padding: 6px 30px;
  border: 2px solid;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.045em;
}
.cta-btn--line {
  border-color: #3EC755;
  color: #3EC755;
}
.cta-btn--youtube {
  gap: 10px;
  padding: 4px 20px 4px 16px;
  border-color: #F40034;
  color: #F40034;
}
.cta-btn:hover {
  opacity: 1;
  transform: translateY(-3px);
}
.cta-btn:hover span {
  text-decoration: underline;
}
.btn {
  display: inline-grid;
  place-items: center;
  min-width: 300px;
  min-height: 60px;
  padding: 12px 24px;
  border: 2px solid var(--c-orange);
  color: var(--c-orange);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}
.btn:hover {
  background: var(--c-orange);
  color: #fff;
  opacity: 1;
}
.btn--orange {
  background: var(--c-orange);
  color: #fff;
  padding: 10px 28px;
}
.btn--orange:hover {
  background: var(--c-orange-dark);
  opacity: 1;
}
.btn--round {
  position: relative;
  border: none;
  min-width: 200px;
  min-height: unset;
  padding: 9px 20px;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--c-orange);
  color: #fff;
}
.btn--round::before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  content: "";
  background-color: #b11c41;
  border-radius: inherit;
  -webkit-transform: scale(0, 1);
  transform: scaleX(0);
  -webkit-transform-origin: top right;
  transform-origin: top right;
  transition: -webkit-transform .5s cubic-bezier(.86, 0, .07, 1);
  -webkit-transition: -webkit-transform .5s cubic-bezier(.86, 0, .07, 1);
  transition: transform .5s cubic-bezier(.86, 0, .07, 1);
  transition: transform .5s cubic-bezier(.86, 0, .07, 1), -webkit-transform .5s cubic-bezier(.86, 0, .07, 1);
  transition-timing-function: cubic-bezier(.86, 0, .07, 1);
}
.btn--round:hover {
  opacity: 1;
}
.btn--round:hover:before {
  -webkit-transform: scale(1, 1);
  transform: scale(1);
  -webkit-transform-origin: bottom left;
  transform-origin: bottom left;
}
.btn--round span {
  position: relative;
  z-index: 1;
}
.tabs {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 40px;
}
.tabs::before {
  position: absolute;
  top: 50%;
  left: 0;
  translate: 0 -50%;
  width: 100%;
  height: 1px;
  background-color: #222;
  content: "";
}
.tabs__btn {
  position: relative;
  z-index: 1;
  min-width: 240px;
  padding: 8px 24px;
  font-size: 22px;
  font-weight: 700;
  border: 1px solid var(--c-orange);
  background-color: #fff;
  color: var(--c-orange);
  transition: background-color 0.3s, color 0.3s;
}
.tabs__btn.is-active {
  background: var(--c-orange);
  color: #fff;
}
.tabs__btn:nth-child(n+2) {
  border-left: none;
}
.tab-panel {
  padding-block: 16px;
}
.tab-panel p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 700;
}
.tab-panel p a:hover {
  opacity: 1;
  color: var(--c-orange);
}
.tab-panel p a:hover span {
  text-decoration: underline;
}
.tab-panel .line {
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
}
.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.thumb-grid li {
  aspect-ratio: 360 / 240;
  overflow: hidden;
}
.thumb-grid li iframe {
  width: 100%;
  height: 100%;
}
.empty-text {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 32px 0;
}
.case-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 20px;
  margin: 80px 0 80px;
}
.case-card {
  position: relative;
  padding-left: 85px;
}
.case-card__media {
  position: absolute;
  top: 40px;
  left: 0;
  z-index: 1;
  width: 244px;
  aspect-ratio: 244 / 200;
  overflow: hidden;
}
.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.3s;
}
.case-card:hover .case-card__media img {
  scale: 1.1;
}
.case-card__body {
  height: 100%;
  padding: 40px 30px 60px 180px;
  outline: 1px solid #707070;
  border: 9px solid #fff;
  background: var(--c-navy);
  color: #fff;
}
.case-card__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.case-card__body p {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}
@media (max-width: 1350px) {

  .case-card {
    padding-left: 75px;
  }
  .case-card__media {
    width: 220px;
  }
  .case-card__body {
    padding: 40px 30px 60px 160px;
  }

}
@media (max-width: 1300px) {

  .btn--round {
    min-width: 160px;
    font-size: 16px;
  }

}
@media (max-width: 1200px) {

  .detail-section__icon {
    margin-top: 10px;
  }
  .detail-section__head {
    grid-template-columns: 1fr;
  }
  .tabs__btn {
    min-width: 200px;
    padding: 12px 40px;
    font-size: 20px;
  }
  .case-cards {
    grid-template-columns: 1fr;
  }

}
@media (max-width: 1000px) {

  .detail-section__wrap {
    grid-template-columns: 1fr;
  }
  .detail-section__icon {
    height: auto;
    border-right: none;
    padding-right: 0;
  }

}
@media (max-width: 767px) {

  .detail-section__wrap {
    gap: 20px;
  }
  .detail-section__head {
    gap: 30px;
  }
  .detail-section__title {
    font-size: 28px;
  }
  .detail-section__title small {
    font-size: 20px;
  }
  .detail-section__body p {
    font-size: 16px;
  }
  .detail-section__media img {
    border-radius: 10px;
  }
  .cta-row {
    gap: 20px;
    margin: 60px 0 70px;
  }
  .cta-btn {
    gap: 10px;
    width: 100%;
    min-width: unset;
    padding: 10px 20px;
    font-size: 18px;
  }
  .cta-btn span {
    text-align: center;
  }
  .cta-btn--line img {
    width: 40px;
  }
  .cta-btn--youtube {
    padding: 4px 20px 4px 10px;
  }
  .cta-btn--youtube img {
    width: 60px;
  }
  .tabs {
    flex-direction: column;
    margin-bottom: 30px;
  }
  .tabs__btn {
    width: 100%;
    min-width: unset;
    font-size: 16px;
  }
  .tabs__btn:nth-child(n+2) {
    border-left: 1px solid var(--c-orange);
    border-top: none;
  }
  .tab-panel p {
    max-width: 350px;
  }
  .tab-panel .line {
    max-width: 350px;
  }
  .thumb-grid {
    grid-template-columns: 1fr;
  }
  .empty-text {
    font-size: 16px;
    padding: 20px 0;
  }
  .btn {
    width: 100%;
    min-width: unset;
    font-size: 18px;
  }
  .btn--round {
    display: block;
    width: 160px;
    margin: 0 auto;
    font-size: 16px;
  }
  .case-cards {
    margin: 60px 0 0;
  }
  .case-card {
    padding: 12px;
    outline: 1px solid #707070;
    border: 9px solid #fff;
    background: var(--c-navy);
  }
  .case-card__media {
    position: static;
    width: 100%;
  }
  .case-card__body {
    outline: none;
    border: none;
    background: none;
    padding: 30px 20px;
    height: auto;
  }
  .case-card__title {
    font-size: 22px;
  }
  .case-card__body p {
    font-size: 16px;
  }

}

/* =================================================
プロジェクト通信
================================================= */
.newsletter {
  background: #F7F7F7;
}
.newsletter .container {
  max-width: 1300px;
}
.carousel {
  position: relative;
  padding-block: 80px 32px;
}
.carousel__nav {
  display: grid;
  place-items: center;
  position: absolute;
  top: -44px;
  right: 0;
  z-index: 2;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid var(--c-rule);
  box-shadow: 0 21px 10px #0404040d;
  font-size: 40px;
  transition: all 0.3s;
}
.carousel__nav:hover {
  color: #fff;
  border-color: var(--c-orange);
  background-color: var(--c-orange);
}
.carousel__nav--prev {
  right: 86px;
}
.carousel__nav span {
  display: inline-block;
  translate: 0 -5px;
  line-height: 1;
}
.carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 16px;
}
.carousel__track::-webkit-scrollbar {
  display: none;
}
.newsletter-card {
  flex: 0 0 calc((100% - 80px) / 5);
  scroll-snap-align: start;
}
.newsletter-card a {
  display: block;
}
.newsletter-card img {
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  width: 100%;
}
.newsletter-card p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.045em;
}
.carousel__progress {
  width: 600px;
  height: 4px;
  background: #707070;
  position: relative;
  margin: 20px auto 0;
}
.carousel__progress span {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--c-orange);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.year-tabs {
  display: flex;
  margin: 32px 0 40px;
}
.year-tab {
  width: 240px;
  padding: 8px 20px;
  border: 1px solid var(--c-orange);
  color: var(--c-orange);
  font-size: 24px;
  font-weight: 700;
}
.year-tab:nth-child(n+2) {
  border-left: none;
}
.year-tab.is-active {
  background: var(--c-orange);
  color: #fff;
}
@media (max-width: 1000px) {

  .carousel {
    padding-block: 100px 32px;
  }
  .carousel__nav {
    top: -24px;
  }
  .newsletter-card {
    flex: 0 0 calc((100% - 60px) / 4);
  }
  .year-tab {
    width: 200px;
  }

}
@media (max-width: 767px) {

  .carousel {
    padding-block: 50px 32px;
  }
  .carousel__nav {
    width: 40px;
    height: 40px;
    font-size: 32px;
    box-shadow: 0 11px 10px #0404040d;
  }
  .carousel__nav--prev {
    right: 56px;
  }
  .carousel__progress {
    width: 200px;
  }
  .newsletter-card {
    flex: 0 0 calc((100% - 20px) / 2);
  }
  .year-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .year-tab {
    width: auto;
    padding: 6px 10px;
    font-size: 18px;
  }
  .year-tab:nth-child(n+2) {
    border-left: 1px solid var(--c-orange);
  }
  .year-tab:nth-child(3n+2),
  .year-tab:nth-child(3n+3) {
    border-left: none;
  }
  .year-tab:nth-child(n+4) {
    border-top: none;
  }

}

/* =================================================
むすびプロジェクト研修会
================================================= */
.training__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.training__hero {
  margin: 0;
  padding: 12px;
  background-color: #F7F7F7;
}
.training__hero figcaption {
  margin-top: 20px;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 500;
}
.training__list {
  display: grid;
  gap: 30px;
}
.training-item a {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 24px;
  align-items: center;
}
.training-item a:hover {
  opacity: 1;
}
.training-item__media {
  aspect-ratio: 246 / 187;
  overflow: hidden;
}
.training-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.3s;
}
.training-item a:hover img {
  scale: 1.1;
}
.training-item__tag {
  display: inline-block;
  padding: 2px 10px;
  margin: 0 0 8px;
  border: 1px solid var(--c-orange);
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 500;
}
.training-item__date {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-orange);
  margin: 0 0 4px;
}
.training-item__title {
  font-size: 20px;
  font-weight: 500;
  margin: 0;
}
.training-item a:hover .training-item__title {
  color: var(--c-orange);
  text-decoration: underline;
}
.training__btn {
  margin-top: 20px;
}
@media (max-width: 1000px) {

  .training__layout {
    grid-template-columns: 1fr;
  }
  .training__btn {
    text-align: center;
  }

}
@media (max-width: 767px) {

  .training-item a {
    grid-template-columns: 1fr;
  }
  .training-item__title {
    font-size: 16px;
  }

}

/* =================================================
患者様の声
================================================= */
.voice {
  position: relative;
}
.voice .container {
  max-width: 1300px;
}
.voice-list {
  display: flex;
  gap: 90px;
  margin: 24px 0 50px;
  padding-top: 100px;
}
.voice-card {
  position: relative;
  flex: 0 0 calc((100% - 90px) / 2);
  scroll-snap-align: start;
  background: #fff;
  border: 2px solid #f2f2f2;
  padding: 120px 40px 40px;
}
.voice-card__avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 12px solid #fff;
  outline: 1px solid #c1c1c1;
  box-shadow: 0 21px 10px #0404040d;
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
}
.voice-card__avatar img {
  border-radius: 50%;
}
.voice-card__name {
  font-size: 24px;
  font-weight: 700;
  margin: 8px 0 40px;
  text-align: center;
}
.voice-card p {
  font-size: 18px;
  font-weight: 700;
}
.voice__indicator {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  gap: 10px;
}
.voice__indicator span {
  width: 60px;
  height: 3px;
  background: #d8d1c2;
  border-radius: 2px;
}
.voice__indicator span.is-active {
  background: var(--c-red);
}
@media (max-width: 1000px) {

  .voice-list {
    gap: 60px;
  }
  .voice-card {
    flex: 0 0 calc((100% - 60px) / 2);
    padding: 120px 30px 40px;
  }
  .voice-card__avatar {
    width: 150px;
    height: 150px;
  }

}
@media (max-width: 767px) {

  .voice-list {
    padding-top: 80px;
    margin: 0px 0 40px;
  }
  .voice-card {
    flex: 0 0 100%;
    padding: 90px 20px 20px;
  }
  .voice-card__avatar {
    width: 120px;
    height: 120px;
    border-width: 10px;
  }
  .voice-card__name {
    margin: 8px 0 30px;
    font-size: 22px;
  }
  .voice-card p {
    font-size: 16px;
  }

}

/* =================================================
グループ病院
================================================= */
.hospitals .container {
  max-width: 1300px;
}
.hospital-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 32px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 16px;
}
.hospital-list a {
  padding: 5px 0;
  display: inline-block;
  border-bottom: 1px dotted transparent;
}
.hospital-list a:hover {
  color: var(--c-orange);
  border-bottom-color: var(--c-orange);
  opacity: 1;
}
@media (max-width: 1000px) {

  .hospital-list {
    grid-template-columns: repeat(3, 1fr);
  }

}

@media (max-width: 767px) {

  .hospital-list {
    grid-template-columns: repeat(2, 1fr);
    font-size: 14px;
  }

}

/* =================================================
FOOTER
================================================= */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #b11c41;
  color: #fff;
  box-shadow: 0 0 5px #0000001a;
  padding-top: 3px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s ease-out;
}
.back-to-top.is-active {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  opacity: 0.7;
}
.back-to-top span {
  display: inline-block;
  width: 10px;
  height: 10px;
  rotate: -135deg;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.site-footer {
  background: var(--c-orange);
  position: relative;
  overflow: hidden;
}
.site-footer__top {
  padding: 60px 0 50px;
  border-bottom: 1px solid #222;
  color: #fff;
}
.site-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1350px;
}
.site-footer__logo img {
  width: 300px;
}
.social-list {
  display: flex;
  gap: 12px;
}
.social-list a {
  position: relative;
  width: 65px;
  height: 65px;
  line-height: 65px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}
.social-list a:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: #b11c41;
  border-radius: 50%;
  scale: 0;
  transition: all 0.3s ease;
}
.social-list a:hover {
  border-color: #b11c41;
  opacity: 1;
}
.social-list a:hover::before {
  scale: 1;
}
.social-list a i {
  position: relative;
  z-index: 1;
}
.site-footer__contact {
  padding: 36px 0;
  color: #fff;
}
.site-footer__contact .container {
  max-width: 1200px;
}
.site-footer__heading {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: 0.045em;
}
.site-footer__contact address {
  font-size: 16px;
  font-weight: 700;
}
.site-footer__contact address a:hover {
  opacity: 1;
  text-decoration: underline;
}
.site-footer__bottom {
  padding: 14px 0 60px;
  color: #fff;
}
.site-footer__bottom .container {
  max-width: 1200px;
}
.site-footer__privacy {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.site-footer__privacy a:hover {
  opacity: 1;
  text-decoration: underline;
}
@media (max-width: 767px) {

  .site-footer__logo img {
    width: 200px;
  }
  .social-list a {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .site-footer__heading {
    font-size: 20px;
  }
  .site-footer__contact address {
    font-size: 14px;
  }
  .site-footer__privacy {
    font-size: 14px;
  }

}
