/************************************
** トップページ専用
************************************/
.home .content {
  margin-top: 0;
}

.home #content-in.content-in.wrap {
  width: 100%;
  max-width: none;
  padding-bottom: 0;
}

.home .main {
  padding: 0;
}

.front-page-home {
  padding-bottom: 4rem;
}

.front-page-home__hero {
  position: relative;
  width: 100%;
  margin: 0 0 5.5rem;
  max-height: 520px;
  overflow: visible;
  background: #f6f0e7;
}

.front-page-home__slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.front-page-home__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: front-page-hero-crossfade 18s ease-in-out infinite both;
  will-change: opacity;
  backface-visibility: hidden;
  pointer-events: none;
}

.front-page-home__slide--1 {
  animation-delay: 0s;
}

.front-page-home__slide--2 {
  animation-delay: 6s;
}

.front-page-home__slide--3 {
  animation-delay: 12s;
}

.front-page-home__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.18) 100%);
}

.front-page-home__slide-image,
.front-page-home__slide-placeholder {
  width: 100%;
  height: 100%;
}

.front-page-home__slide-image {
  display: block;
  object-fit: cover;
}

.front-page-home__slide-placeholder {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4), transparent 24%),
    linear-gradient(135deg, rgba(255, 184, 77, 0.95), rgba(22, 112, 192, 0.85));
}

.front-page-home__slide--2 .front-page-home__slide-placeholder {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.28), transparent 22%),
    linear-gradient(135deg, rgba(0, 176, 80, 0.92), rgba(22, 112, 192, 0.88));
}

.front-page-home__slide--3 .front-page-home__slide-placeholder {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.32), transparent 20%),
    linear-gradient(135deg, rgba(255, 31, 31, 0.9), rgba(255, 184, 0, 0.88));
}

.front-page-home__hero-overlay {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: grid;
  place-items: center;
  padding: 7rem 24px 10rem;
}

.front-page-home__catchcopy-image {
  display: block;
  width: min(60%, 520px);
  height: auto;
}

.front-page-home__catchcopy-fallback {
  width: min(90%, 760px);
  padding: clamp(24px, 4vw, 48px);
  text-align: center;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.front-page-home__catchcopy-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.front-page-home__catchcopy-text {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.7;
}

.front-page-home__catchcopy-path {
  margin: 1rem 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  opacity: 0.92;
}

.front-page-home__hero-nav {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: min(95vw, 1120px);
  transform: translate(-50%, 50%);
}

.front-page-home__hero-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.front-page-home__hero-button-item {
  margin: 0;
}

.front-page-home__hero-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 1rem 1.2rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.front-page-home__hero-button:hover {
  color: #fff;
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.front-page-home__hero-button.is-red {
  background-color: var(--keycolor__red);
}

.front-page-home__hero-button.is-green {
  background-color: var(--keycolor__green);
}

.front-page-home__hero-button.is-orange {
  background-color: #f4aa1c;
}

.front-page-home__hero-button.is-blue {
  background-color: var(--keycolor__blue);
}

.front-page-home__content {
  padding-inline: 24px;
}

.front-page-home__content-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.front-page-home__section {
  width: 100%;
  margin-inline: 0;
  padding: 5.5rem 24px;
}

.front-page-home__section--about {
  background-color: #fff;
}

.front-page-home__section--support {
  background-color: #f7f3e9;
}

.front-page-home__section--support .front-page-home__section-inner {
  max-width: 1080px;
}

.front-page-home__section--activities {
  background-color: #fff;
}

.front-page-home__section--activities .front-page-home__section-inner {
  max-width: 900px;
}

.front-page-home__section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.front-page-home__section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.front-page-home__section-eyebrow::after {
  width: 120px;
  background: linear-gradient(
    to right,
    #ff1f1f 0 33.33%,
    #17a34a 33.33% 66.66%,
    #1670c0 66.66% 100%
  );
}

.front-page-home__section-title {
  margin: 0.8rem 0 0;
  font-size: 2.125em;
  line-height: 1.25;
}

.front-page-home__about-body {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

.front-page-home__about-logo,
.front-page-home__about-logo-placeholder {
  max-width: min(250px, 70vw);
  width: 100%;
}

.front-page-home__about-logo {
  display: block;
  height: auto;
}

.front-page-home__about-copy {
  max-width: 760px;
  text-align: center;
  line-height: 1.95;
}

.front-page-home__about-copy p {
  margin: 0;
}

.front-page-home__about-copy p + p {
  margin-top: 0.85rem;
}

.front-page-home__about-break {
  display: none;
}

.front-page-home__features {
  display: grid;
  gap: 1.5rem;
}

.front-page-home__feature {
  display: grid;
  grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  align-items: center;
  gap: 3rem;
}

.front-page-home__feature.is-image-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 40%);
}

.front-page-home__feature.is-image-right .front-page-home__feature-media {
  order: 2;
}

.front-page-home__feature.is-image-right .front-page-home__feature-content {
  order: 1;
}

.front-page-home__feature-media {
  width: 100%;
}

.front-page-home__feature-image,
.front-page-home__image-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
}

.front-page-home__feature-image {
  object-fit: cover;
}

.front-page-home__image-placeholder,
.front-page-home__about-logo-placeholder {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 24%),
    linear-gradient(135deg, rgba(230, 217, 191, 0.95), rgba(174, 156, 130, 0.92));
}

.front-page-home__feature-content {
  display: grid;
  gap: 1rem;
}

.front-page-home__feature.is-image-left .front-page-home__feature-content {
  padding-right: clamp(28px, 4vw, 72px);
}

.front-page-home__feature.is-image-right .front-page-home__feature-content {
  padding-left: clamp(28px, 4vw, 72px);
}

.front-page-home__feature-title {
  margin: 0;
  font-size: 1.8725em;
  line-height: 1.35;
}

.front-page-home__feature-description {
  margin: 0;
  line-height: 1.95;
}

.front-page-home__support-summary {
  width: fit-content;
  max-width: 100%;
  margin: 4rem auto 3.5rem;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

@media screen and (min-width: 600px) {
  .front-page-home__support-summary {
    width: 780px;
  }
}

.front-page-home__support-summary-title {
  margin: 0;
  padding: 0.9rem 1rem;
  text-align: center;
  font-weight: 700;
  color: #fff;
  background-color: #7a6451;
  font-size:110%;
}

.front-page-home__support-summary-card-title {
  margin: 0;
  padding: 0.9rem 1.25rem 0.2rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.front-page-home__support-summary-list-wrap {
  padding: 0 15px 0.3rem;
}

@media screen and (min-width: 600px) {
  .front-page-home__support-summary-list-wrap {
    padding: 1rem clamp(3px, calc(15px + (100vw - 600px) * 0.083333), 30px) 0.7rem;
  }
}

.front-page-home__support-summary-list {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  list-style: none;
  text-align: left;
  line-height: 1.7;
}

.front-page-home__support-summary-list li + li {
  margin-top: 0;
}

.front-page-home__support-summary-list li {
  padding-left: 0;
}

.front-page-home__support-summary-card-title strong {
  font-weight: 700;
}

.front-page-home__section-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.front-page-home__section-actions--dual {
  gap: 18px;
  flex-wrap: wrap;
}

.front-page-home__cta-button,
.front-page-home__cta-button.btn {
  min-width: 300px;
  border: none !important;
  box-shadow: none !important;
}
.front-page-home__section-actions .btn-l{
  padding:14px 40px !important;
}


.front-page-home__mini-button,
.front-page-home__mini-button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  width: fit-content;
  min-height: 34px;
  margin-top: 0.35rem;
  margin-left: auto;
  padding: 0.8rem 2.5rem;
  border: none !important;
  box-shadow: none !important;
  background-color: #7a6351;
  font-size: 0.86rem;
  line-height: 1.2;
  gap: 0.45rem;
  text-align: center;
}

.front-page-home__mini-button::after {
  content: "＞";
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
  margin-right: 0;
}

.front-page-home__cta-button.btn:hover,
.front-page-home__mini-button.btn:hover {
  border: none !important;
  color: var(--cocoon-custom-text-color, #fff);
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15) !important;
}

.front-page-home__activity-list {
  max-width: 100%;
  margin: 0 auto;
  border-top: 1px solid rgba(22, 112, 192, 0.25);
  margin-top:4rem;
  margin-bottom:3rem;
}

.front-page-home__activity-item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(22, 112, 192, 0.25);
  color: inherit;
  text-decoration: none;
}

.front-page-home__activity-item:hover {
  color: inherit;
  background-color: rgba(22, 112, 192, 0.03);
  opacity: 1;
}

.front-page-home__activity-taxonomy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 0.3rem 1rem;
  background-color: #1670c0;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.front-page-home__activity-date {
  font-weight: 700;
  white-space: nowrap;
}

.front-page-home__activity-date{
  font-size:92%;
}

.front-page-home__activity-title {
  min-width: 0;
  font-size:105%;
  padding-left:0.5em;

}

.front-page-home__activity-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #ff1f1f;
  border-bottom: 2px solid #ff1f1f;
  transform: rotate(45deg);
}

.front-page-home__activity-empty {
  margin: 0;
  padding: 1.5rem 0.75rem;
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .front-page-home__catchcopy-image,
  .front-page-home__catchcopy-fallback {
    min-width: 560px;
  }
}

@media screen and (min-width: 960px) {
  .front-page-home__about-break {
    display: block;
  }
}

@keyframes front-page-hero-crossfade {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  38% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .front-page-home__slide {
    animation: none;
    opacity: 0;
  }

  .front-page-home__slide--1 {
    opacity: 1;
  }
}

@media screen and (max-width: 1023px) {
  .front-page-home {
    padding-bottom: 3rem;
  }

  .front-page-home__hero {
    height: min(70vh, 560px);
    min-height: min(70vh, 560px);
    margin-bottom: 8rem;
  }

  .front-page-home__hero-overlay {
    padding: 5rem 20px 10.5rem;
  }

  .front-page-home__hero-nav {
    width: min(95vw, 1120px);
    transform: translate(-50%, 58%);
  }

  .front-page-home__hero-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .front-page-home__hero-button {
    min-height: 56px;
    padding: 0.9rem 1rem;
    font-size: 0.88rem;
  }

  .front-page-home__content {
    padding-inline: 16px;
  }

  .front-page-home__section {
    padding: 4.5rem 16px;
  }

  .front-page-home__feature {
    gap: 2rem;
  }

  .front-page-home__activity-item {
    grid-template-columns: auto auto 1fr auto;
    gap: 12px;
  }
}

@media screen and (max-width: 599px) {
  .front-page-home__hero {
    height: min(64vh, 560px);
    min-height: min(64vh, 560px);
    margin-bottom: 9rem;
  }

  .front-page-home__hero-overlay {
    padding-bottom: 11.5rem;
  }

  .front-page-home__catchcopy-image,
  .front-page-home__catchcopy-fallback {
    width: 90vw;
    max-width: 90vw;
  }

  .front-page-home__hero-buttons {
    grid-template-columns: 1fr;
  }

  .front-page-home__section {
    padding: 4rem 16px;
  }

  .front-page-home__section-header {
    margin-bottom: 2.25rem;
  }

  .front-page-home__section-title {
    font-size: 1.8rem;
  }

  .front-page-home__feature {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .front-page-home__feature.is-image-right {
    grid-template-columns: 1fr;
  }

  .front-page-home__feature-content,
  .front-page-home__feature.is-image-left .front-page-home__feature-content,
  .front-page-home__feature.is-image-right .front-page-home__feature-content {
    padding-inline: 0;
  }

  .front-page-home__feature.is-image-right .front-page-home__feature-media,
  .front-page-home__feature.is-image-right .front-page-home__feature-content {
    order: initial;
  }

  .front-page-home__support-summary-list-wrap {
    padding-inline: 1rem;
  }

  .front-page-home__cta-button {
    width: 100%;
    min-width: 0;
  }

  .front-page-home__activity-item {
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 10px 12px;
  }

  .front-page-home__activity-taxonomy {
    grid-column: 1;
    width: fit-content;
  }

  .front-page-home__activity-date {
    grid-column: 1;
  }

  .front-page-home__activity-title {
    grid-column: 1;
  }

  .front-page-home__activity-arrow {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
  }
}
