@charset "UTF-8";

/* =============================================
   Features page specific styles
   ============================================= */

/* Hero */
.p-pageMv__title {
  color: #5b5b5bff;
  text-shadow: none;
}

/* ===== about-intro ===== */
.about-intro {
  padding: 50px 0 24px;
}

.about-intro__title {
  font-size: 2.8rem;
  color: #9bc81e;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid;
  border-bottom: 1px solid;
}

.about-intro__lead {
  font-size: var(--fs-lg);
  font-family: var(--ff-serif);
  padding: 40px 0;
  width: 100%;
  text-align: left;
}

.about-intro__text {
  text-align: left;
}

@media (min-width: 769px) {
  .about-intro {
    padding: 50px 0 100px;
  }

  .about-intro__title {
    font-size: 3.5rem;
  }

  .about-intro__lead {
    text-align: center;
  }

  .about-intro__text {
    text-align: center;
  }
}

/* ===== philosophy ===== */
.philosophy {
  position: relative;
  background-color: #fcfaf6;
  padding-bottom: 100px;
  margin-top: 100px;
  overflow: visible;
}

.philosophy::after {
  bottom: 0;
  transform: none;
  z-index: 2;
}

.philosophy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'><path fill='%23fcfaf6' d='M0,80 C480,160 960,0 1440,80 L1440,160 L0,160 Z'/></svg>") no-repeat center top;
  background-size: cover;
  transform: translateY(-100%);
  z-index: 2;
}

.philosophy > * {
  position: relative;
  z-index: 3;
}

.philosophy__title {
  font-size: var(--fs-3xl);
  line-height: 1;
  padding-bottom: var(--space-10);
  color: #ee7d80;
}

.philosophy__lead {
  font-size: var(--fs-xl);
  padding-bottom: var(--space-10);
  text-align: center;
}

.philosophy__content {
  text-align: center;
}

.philosophy .c-bgHome {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: none;
  pointer-events: none;
  z-index: 1;
}

.philosophy .c-inner {
  position: relative;
  z-index: 3;
  padding-top: 80px;
}

@media (min-width: 769px) {
  .philosophy::before {
    height: 160px;
  }

  .philosophy .c-inner {
    padding-top: 200px;
  }
}

/* ===== strengths ===== */
.strengths {
  position: relative;
  background-color: #fcfaf6;
  padding: 0;
  padding-bottom: 160px;
  overflow: visible;
}

.strengths::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'><path fill='%23ffffff' d='M0,80 C480,0 960,160 1440,80 L1440,160 L0,160 Z'/></svg>") no-repeat center bottom;
  background-size: cover;
  transform: translateY(0);
  z-index: 1;
}

.strengths__title {
  font-size: var(--fs-2xl);
  line-height: 1.2;
  padding-bottom: var(--space-10);
  color: #ee7d80;
  text-align: center;
}

.strengths__lead {
  padding-bottom: var(--space-10);
}

.strengths__list {
  padding-bottom: 0;
}

.strengths__items {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.strengths__item {
  flex: 1 1 100%;
  width: 100%;
  min-width: 300px;
  box-sizing: border-box;
  padding-bottom: var(--space-10);
}

.strengths__item--featured {
  position: relative;
  padding: var(--space-6);
  background: #fff;
  border: none;
  border-radius: var(--radius-3);
  overflow: hidden;
}

.strengths__item--featured .strengths__item-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  font-size: var(--fs-lg);
  font-family: var(--ff-sans);
  color: var(--color-text);
  line-height: 1.25;
  margin: 0 0 0.5rem;
  padding-bottom: 0.5rem;
}

.strengths__item--featured .strengths__item-title > span {
  display: inline-flex;
  align-items: center;
  padding: 0.2em 0.7em;
  font-size: var(--fs-base);
  color: #fff;
  background: linear-gradient(135deg, var(--color-danger, #eb5d57), var(--brand-accent-alt));
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  letter-spacing: 0.06em;
  white-space: nowrap;
  margin-bottom: 0.25rem;
}

.strengths__item--featured .strengths__item-text {
  margin-top: 0.25rem;
  line-height: 1.8;
}

.strengths__item--featured::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 0, 0, 0.12), transparent 60%);
  border-radius: 3px;
  opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
  .strengths__item--featured {
    transition: none;
  }
}

@media (min-width: 769px) {
  .strengths::after {
    height: 160px;
  }

  .strengths__title {
    font-size: var(--fs-3xl);
  }

  .strengths__list {
    padding-bottom: 60px;
  }

  .strengths__items {
    flex-direction: row;
  }

  .strengths__item {
    flex: 1 1 calc(50% - 20px);
  }

  .strengths__item--featured .strengths__item-title {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--fs-xl);
    padding-bottom: 0;
  }

  .strengths__item--featured .strengths__item-title > span {
    margin-bottom: 0;
  }
}

/* ===== gh-info ===== */
.gh-info {
  padding: 50px 0;
}

.gh-info__title {
  font-size: var(--fs-2xl);
  line-height: 1.2;
  padding-bottom: var(--space-10);
  color: #ee7d80;
  text-align: center;
}

.gh-info__intro {
  padding-bottom: var(--space-10);
}

.gh-info__intro-text {
  text-align: left;
  padding-bottom: var(--space-10);
}

.gh-info__features-title {
  font-size: var(--fs-2xl);
  line-height: 1.2;
  padding-bottom: var(--space-10);
  color: #ee7d80;
  text-align: center;
}

.gh-info__feature-items {
  padding: var(--space-6);
  background: #fff;
  border: 1px solid var(--color-border, #ddd);
  border-radius: 0.75rem;
  list-style: none;
  margin: 0 auto;
  max-width: 100%;
  box-sizing: border-box;
}

.gh-info__feature-item {
  position: relative;
  padding-left: 1.5em;
  list-style: none;
  font-weight: var(--fw-light);
}

.gh-info__feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6em;
  width: .6em;
  height: .6em;
  background: var(--brand-secondary);
  border-radius: 50%;
}

.gh-info__note {
  margin-top: 1rem;
  padding: 0 5px;
}

.gh-info__link-anchor {
  font-size: 14px;
}

.text-end {
  text-align: left;
}

.gh-info__types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0;
  align-items: start;
}

.gh-info__type {
  padding: var(--space-4);
  background: #fff;
  border: 1px solid var(--color-border, #ddd);
  border-radius: 0.75rem;
  align-self: start;
}

.gh-info__type-title {
  position: relative;
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: var(--fs-lg);
  font-family: var(--ff-sans);
  font-weight: 600;
  color: var(--brand-secondary);
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

.gh-info__type-title:hover {
  background: #f5f5f5;
}

.gh-info__type-title::after {
  content: "＋";
  position: absolute;
  right: 1rem;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.gh-info__type-title.active::after {
  content: "－";
}

.gh-info__type-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease,
    opacity 0.3s ease;
}

.gh-info__type-content.open {
  max-height: 1000px;
  padding: 0.5rem 1rem 1rem;
  opacity: 1;
}

.gh-info__type-text {
  margin: 0;
  line-height: 1.8;
  font-size: var(--fs-base);
}

.gh-info__link {
  padding: var(--space-6);
  text-align: right;
  font-size: var(--fs-1xl);
}

@media (min-width: 769px) {
  .gh-info__title {
    font-size: var(--fs-3xl);
  }

  .gh-info__intro-text {
    text-align: center;
  }

  .gh-info__features-title {
    font-size: var(--fs-3xl);
  }

  .gh-info__note {
    padding: 0 25px;
  }

  .gh-info__link-anchor {
    font-size: inherit;
  }

  .text-end {
    text-align: right;
  }

  .gh-info__types {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .gh-info__link {
    padding: var(--space-10);
  }
}

/* ===== gh-compare ===== */
.gh-compare {
  padding: 50px 0;
}

.orange1 {
  color: var(--brand-accent) !important;
}

.orange2 {
  background-color: #fff7e7;
}

.gh-compare__title {
  font-size: var(--fs-2xl);
  line-height: 1.3;
  padding-bottom: var(--space-10);
  color: #ee7d80;
  text-align: center;
}

.gh-compare__lead {
  text-align: center;
  padding-bottom: var(--space-10);
}

.gh-compare__table,
.gh-compare__table thead,
.gh-compare__table tbody,
.gh-compare__table tr,
.gh-compare__table th,
.gh-compare__table td {
  display: block;
  width: 100%;
}

.gh-compare__table {
  border: none;
}

.gh-compare__table thead {
  display: none;
}

.gh-compare__cell--label {
  width: 100px;
}

.gh-compare__table tr {
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 0.75rem;
  background: #fff;
  padding: 0;
}

.gh-compare__table th {
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  border: none;
  padding: 0.5rem;
  text-align: center;
  background-color: #f5f5f5;
}

.gh-compare__table td {
  border: none;
  padding: 0.75rem 0;
}

.gh-compare__table tr td:nth-of-type(1)::before {
  content: "日中支援型グループホーム";
  display: block;
  font-weight: bold;
  color: var(--color-text, #333);
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.gh-compare__table tr td:nth-of-type(1) {
  border-radius: 0.5rem;
  padding: 1.75rem;
  margin-bottom: 0.75rem;
}

.gh-compare__table tr td:nth-of-type(2)::before {
  content: "ソーシャルインクルーホーム";
  display: block;
  font-weight: bold;
  color: var(--brand-accent);
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.gh-compare__table tr td:nth-of-type(2) {
  background: #fff7e7;
  border-radius: 0.5rem;
  padding: 1.75rem;
  margin: 0;
}

@media (min-width: 769px) {
  .gh-compare__table,
  .gh-compare__table thead,
  .gh-compare__table tbody,
  .gh-compare__table tr,
  .gh-compare__table th,
  .gh-compare__table td {
    display: table;
    display: revert;
    width: auto;
  }

  .gh-compare__table {
    border: 1px solid #ddd;
    border-radius: 0.75rem;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
  }

  .gh-compare__table thead {
    display: table-header-group;
  }

  .gh-compare__head {
    border-bottom: 2px solid #ddd;
  }

  .gh-compare__head th {
    font-size: var(--fs-lg);
    color: var(--brand-accent);
    line-height: 1.2;
    text-align: center;
    padding: 20px 0;
    background-color: #fafafa;
    border-bottom: 2px solid #ddd;
    border-bottom: none;
  }

  .gh-compare__head th:first-child {
    background-color: #f5f5f5;
    font-weight: 400;
    font-size: var(--fs-mg);
  }

  .gh-compare__head th:nth-child(2) {
    background-color: #ffffff;
  }

  .gh-compare__head th:nth-child(3) {
    background-color: #fff7e7;
  }

  .gh-compare__head th:last-child {
    border-right: none;
  }

  .gh-compare__table tr {
    margin-bottom: 0;
    border: none;
    border-radius: 0;
    padding: 0;
  }

  .gh-compare__table tr:last-child td {
    border-bottom: none;
  }

  .gh-compare__table tbody td:nth-of-type(1) {
    background-color: #ffffff;
  }

  .gh-compare__table tbody td:nth-of-type(2) {
    background-color: #fff7e7;
  }

  .gh-compare__cell {
    padding: 1.25rem 1.5rem;
    line-height: 1.8;
  }

  .gh-compare__cell--label {
    width: 150px;
    background-color: #f5f5f5;
  }

  th.gh-compare__cell--label {
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 400;
    font-size: 1.8rem;
    color: #333;
    padding: 1rem;
  }

  .gh-compare__table th {
    vertical-align: middle;
  }

  .gh-compare__table td {
    border-bottom: 1px solid #e5e5e5;
    padding: 1.25rem 1.5rem;
    line-height: 1.8;
  }

  .gh-compare__table tr:last-of-type td {
    border-bottom: none;
  }

  .gh-compare__table tr td:nth-of-type(1)::before,
  .gh-compare__table tr td:nth-of-type(2)::before {
    content: none;
    display: none;
  }

  .gh-compare__table tr td:nth-of-type(1),
  .gh-compare__table tr td:nth-of-type(2) {
    border-radius: 0;
    padding: 1.25rem 1.5rem;
    margin: 0;
  }
}

/* ===== parents ===== */
.parents {
  position: relative;
  background-color: var(--color-bg-gn, #f9fbf8);
  overflow: visible;
  margin-top: 80px;
  padding: 40px 0 120px 0;
}

.parents::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'><path fill='%23f9fbf8' d='M0,80 C480,160 960,0 1440,80 L1440,160 L0,160 Z'/></svg>") no-repeat center top;
  background-size: cover;
  transform: translateY(-100%);
  z-index: 2;
}

.parents::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'><path fill='%23ffffff' d='M0,80 C480,0 960,160 1440,80 L1440,160 L0,160 Z'/></svg>") no-repeat center bottom;
  background-size: cover;
  transform: translateY(0);
  z-index: 1;
}

.parents__title {
  font-size: var(--fs-3xl);
  line-height: 1.4;
  padding-bottom: var(--space-10);
  color: var(--brand-secondary);
  text-align: center;
  position: relative;
  z-index: 2;
}

.parents__content {
  max-width: var(--width-md);
  margin: 0 auto;
}

.parents__text {
  padding-bottom: var(--space-3);
  position: relative;
  z-index: 2;
}

.p-recruit {
  padding: 80px 0;
}

@media (min-width: 769px) {
  .parents {
    margin-top: 180px;
    padding-bottom: 160px;
  }

  .parents::before {
    height: 160px;
  }

  .parents::after {
    height: 160px;
  }
}
