@charset "UTF-8";
/* front-page.css
   front-page.php 固有のスタイル
   import.css(base.css / base_sp.css)より後に functions.php から読み込む
=================================================================== */

/* 更新情報 (CPT: site_update)
=================================================================== */
.top_updates{
  margin: 24px auto;
  padding: 0 16px;
}

.top_updates h2 {
  font-size: 20px;
  margin: 0 0 10px;
  text-align: center;
}

.top_updates__box {
  max-height: 170px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 10px 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.top_updates__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.top_updates__item {
  margin: 0 0 1em;
}

.top_updates__date {
  display: block;
  margin-bottom: 0.3em;
  font-size: 1.3rem;
  line-height: 1.5;
}

.top_updates__content {
  min-width: 0;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.top_updates__link {
  text-decoration: underline;
}

.top_updates__link {
  display: inline;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease;
}

.top_updates__link:hover {
  border-bottom-color: currentColor;
}

@media screen and (min-width: 601px) {
  .top_updates__box {
    padding: 12px 14px;
  }
}

@media screen and (min-width: 769px) {
  .top_updates__item {
    display: flex;
    align-items: baseline;
    gap: 1.5em;
  }

  .top_updates__date {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .top_updates__content {
    flex: 1;
  }
}

.top_updates__more {
  margin-top: 1.6rem;
  text-align: right;
}

.top_updates__more a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.35);
}

.top_updates__more a:hover,
.top_updates__more a:focus-visible {
  border-bottom-color: currentColor;
}

/* top
=================================================================== */
.top .fv {
  /*background-image: url(../img/fv.jpg);*/
  background-size: cover;
  background-position: center;
}


/* PC用：768px以上の時だけ画像を割り当てる */
@media screen and (min-width: 768px) {
  .top .fv {
    background-image: url(../img/fv.jpg);
  }
	.top .fv .article--l {
	  height: 100vh;
	  position: relative;
	}
}

/* スマホ用：767px以下の時だけ画像を割り当てる */
@media screen and (max-width: 767px) {
  .top .fv {
    background-image: url(../img/fv_m.jpg);
  }
	.top .fv .article--l {
	  height: 92vh;
	  position: relative;
	}
}

.top .fv .article--l h1 {
  position: absolute;
  left: 0;
  bottom: 5rem;
}
.top .fv .article--l h1 span {
  font-size: 4rem;
  letter-spacing: 0.5rem;
  margin-top: 1rem;
  padding: 0 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  background: #fff;
  display: inline-block;
}
.top .top__lead {
  background-color: var(--gray1);
  padding-bottom: 12rem;
}
.top .top__lead .flex {
  margin-bottom: 10rem;
}
.top .top__lead .flex img {
  width: 46rem;
  margin-right: 6rem;
}
.top .top__lead .flex .textarea {
  flex: 1;
}
.top .top__lead .flex .textarea h2 {
  font-size: 3rem;
  margin-bottom: 8rem;
  line-height: 2;
}
.top .top__lead .flex .textarea h2 span {
  display: block;
  color: #4291E0;
  font-size: 5.6rem;
}
.top .top__lead .flex .textarea p {
  font-size: 2rem;
  font-weight: 700;
}
.top .top__sns .flex {
  margin-bottom: 8em;
}
.top .top__sns .flex > div {
  width: calc(50% - 2rem);
}
.top .top__sns .sns--in {
  margin-bottom: 8em;
}
.top .top__sns .sns--in h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* top (SP)
=================================================================== */
@media only screen and (max-width: 768px) {
  /* top
  =================================================================== */
  .top .fv .article--l h1 {
    bottom: 2rem;
  }
  .top .fv .article--l h1 span {
    font-size: 2.6rem;
    letter-spacing: 0;
    margin-top: 0.8rem;
    padding: 0 0.5rem;
  }
  .top .top__lead {
    padding-bottom: 8rem;
  }
  .top .top__lead .flex {
    margin-bottom: 8rem;
  }
  .top .top__lead .flex img {
    width: 100%;
    margin-right: 0;
    margin-bottom: 5rem;
  }
  .top .top__lead .flex .textarea h2 {
    font-size: 2.5rem;
    margin-bottom: 5rem;
    line-height: 1.7;
  }
  .top .top__lead .flex .textarea h2 span {
    font-size: 3.6rem;
  }
  .top .top__lead .flex .textarea p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  .top .top__sns {
	/*2026/2/10 iijima 10rem -> 0rem*/
	/*padding-bottom: 10rem;*/
	padding-bottom: 0rem;

  }
  .top .top__sns .flex {
    margin-bottom: 4em;
  }
  .top .top__sns .flex > div {
    width: 100%;
    margin-bottom: 3rem;
  }
}

/* front-page.php 内にあった <style> を移設(元の順序のまま) */
.supporter-static {
  margin: 0;
  padding: 0;
  text-align: center;
}

.supporter-static h3 {
  margin-top: 0;
  font-size: 1rem;
  color: #555;
  margin-bottom: 16px;
  font-weight: bold;
}

.supporter-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 10px 18px;
  max-width: 100%;
}

.supporter-name {
  color: #555;
  line-height: 1.4;
}

.supporter-name.size-large {
  font-size: 1.5rem;
  font-weight: bold;
  color: #a65d3f;
}

.supporter-name.size-medium {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6b4a36;
}

.supporter-name.size-small {
  font-size: 0.85rem;
  color: #777;
}

.sns-x-card {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  min-height: 200px;
  background-color: #fff;
  border: 1px solid #e9d9c7;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.sns-x-card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.sns-x-card__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sns-x-card__icon svg {
  width: 26px;
  height: 26px;
  fill: #333;
}

.sns-x-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.sns-x-card__label {
  font-size: 0.9rem;
  color: #999;
}

.sns-x-card__name {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sns-x-card__handle {
  font-size: 1.1rem;
  color: #666;
}

.sns-x-card__cta {
  margin-top: 6px;
  display: inline-block;
  font-size: 1rem;
  color: #d9534f;
  font-weight: bold;
}

.sns-note-map-pair {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.sns-note-map-pair>div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sns-note-map-pair>div iframe {
  flex: 1;
}

@media (max-width: 768px) {
  .sns-note-map-pair {
    flex-direction: column;
  }

  .sns-note-map-pair>div iframe {
    min-height: 480px;
  }
}

.banner-pair {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.banner-pair>div {
  flex: 1;
}

.banner-pair>div a {
  display: block;
}

.banner-pair>div img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .banner-pair {
    flex-direction: column;
  }
}


/*
 * Front Page Specific Styles
 */

 /* notice
  * 260922 西脇さんによる追加
  *---------------------------------- */
 .top-notice {
  padding-top: 0;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.top-notice__figure {
  margin: 0;
  padding: 2rem;
  background-color: #fcf8f2;
  border: 2px solid #e9d9c7;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.top-notice__image {
  display: block;
  width: 100%;
  max-width: 50rem;
  height: auto;
  margin-inline: auto;
  border-radius: 6px;
}
