/*トップページ用css*/
#content {
  position: static !important;
  width: auto !important;
  height: auto !important;
}
.home #content,
.home #main-content-outer{
  padding: 0;
  margin: 0;
  height: auto;
  width: 100%;
}
.home #main-content-outer{
  padding-left: 60px;
  padding-top: 60px;
}
#content{
  width: 100%;
}
/* フロントページのみ記事タイルを非表示 */
.home #content .tile {
  display: none !important;
}
/* aタグの挙動を打ち消す */
a:focus,
a:hover {
  color: inherit;
  text-decoration: none;
}
/* ===========================
   CSS Variables
   =========================== */
:root {
  --color-green: #73B16C;
  --color-green-hover: #55934E;
  --color-beige: #FDF8EE;
  --color-text-dark: #2c3b2a;
  --color-text-mid: #4a5e47;
  --color-tag-border: #7a9a76;
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-en: 'Cinzel Decorative', serif;
}

#content {
  background: #f9f8f5;
  font-family: var(--font-sans);
  color: var(--color-text-dark);
}

/* ===========================
   共通見出しスタイル
   =========================== */
.section-heading-en {
  display: block;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.15em;
  color: #E7855F;
}

.section-heading-ja {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 900;
  color: var(--color-text-dark);
  letter-spacing: 0.04em;
  margin: 0;
}

.section-heading-bar {
  display: inline-block;
  width: 6px;
  height: 24px;
  background: #E7855F;
  flex-shrink: 0;
  margin-top: 4px;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  position: relative;
  width: 100%;
  min-height: 450px;
  display: flex;
  align-items: center;
  padding: 40px;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 1100px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text-mid);
  border: 1px solid var(--color-tag-border);
  border-radius: 20px;
  padding: 5px 14px;
  width: fit-content;
  background: rgb(240 246 232);
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  color: var(--color-text-dark);
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 20px;
  max-width: 580px;
}

.hero-description {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-mid);
  line-height: 1.7;
  letter-spacing: 0.04em;
}

/* ===========================
   Activities Section
   =========================== */
.activities {
  position: relative;
  background-color: var(--color-beige);
  padding: 36px 40px 80px;
}

.activities-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.activities-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.activities-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.activities-heading {
  margin-bottom: 50px;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 253px);
  gap: 40px 30px;
  justify-content: center;
}

.hex-item {
  position: relative;
  display: block;
  text-decoration: none;
  width: 253px;
}

.hex-svg {
  width: 100%;
  height: auto;
  display: block;
}

.hex-item:hover .hex-fill {
  fill: #55934E;
  transition: fill 0.25s ease;
}
.hex-item:hover  {
  color: #fff;
  text-decoration: none;
  transition: fill 0.25s ease;
}
.hex-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-bottom: 20px;
}

.hex-icon {
  width: 60px;
  height: 60px;
}

.hex-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hex-name {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  padding-bottom: 8px;
}

.hex-arrow {
  width: 27px;
  height: 27px;
}

.hex-arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===========================
   Welcome Section
   =========================== */
.welcome {
  position: relative;
  background: linear-gradient(
    to right,
    rgba(164, 202, 104, 0.3) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(164, 202, 104, 0.3) 100%
  );
  padding: 32px 40px 0;
}

.welcome-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.welcome-heading {
  width: 60%;
  text-align: center;
  padding: 16px 0;
  margin-bottom: 18px;
  border-top: 2px solid #A4CA68;
  border-bottom: 2px solid #A4CA68;
}

.welcome-title {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 600;
  color: #2c3b2a;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin: 0;
}

.welcome-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.welcome-body p {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: #3a4a38;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.welcome-image {
  max-width: 538px;
  line-height: 0;
}

.welcome-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* ===========================
   News Section
   =========================== */
.news {
  background: #fff;
  padding: 60px 40px;
  border-top: 1px solid #A4CA68;
  border-bottom: 1px solid #A4CA68;
}

.news-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.news-heading {
  margin-bottom: 50px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 24px;
  margin-bottom: 50px;
}

.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  transition: opacity 0.2s ease;
}

.news-card:hover {
  opacity: 0.75;
}

.news-card-thumb {
  width: 100%;
  aspect-ratio: 230 / 106;
  background: #f0ede8;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dcdcdc;

}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-body {
  padding: 12px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-card-date {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #888;
  letter-spacing: 0.04em;
}

.news-card-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #3a4a38;
  line-height: 1.7;
  letter-spacing: 0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.news-more {
  display: flex;
  justify-content: center;
}

.news-more-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: #73B16C;
  letter-spacing: 0.06em;
  border: 1px solid #73B16C;
  border-radius: 4px;
  padding: 12px 40px;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.news-more-btn:hover {
  background-color: #73B16C;
  color: #fff;
}
/* ===========================
   CTA Section
   =========================== */
.cta {
  background: #FDF8EE;
  padding: 50px 40px 70px;
}
 
.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
 
/* Card */
.cta-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
 
/* Header row: icon + 2段テキスト */
.cta-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
 
.cta-card-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
 
.cta-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
 
.cta-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
 
.cta-icon-line {
  background: #06C755;
}
 
.cta-icon-mail {
  background: #E7855F;
}
 
.cta-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0.03em;
}
 
/* Title */
.cta-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: #2c3b2a;
  margin: 0;
  letter-spacing: 0.02em;
}
 
/* Text */
.cta-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #555;
  line-height: 1.8;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
 
/* Button */
.cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 0;
  letter-spacing: 0.04em;
  transition: opacity 0.2s ease;
}
 
.cta-btn:hover {
  opacity: 0.85;
  color: #fff !important;
  text-decoration: none !important;
}
 
.cta-btn-line {
  background: #06C755;
}
 
.cta-btn-mail {
  background: #E7855F;
}
 
/* ===========================
   Footer
   =========================== */
.site-footer {
  background: #73B16C;
  padding: 24px 60px 8px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Top block */
.footer-top {
  margin-bottom: 32px;
}

/* Logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-logo-icon {
  width: 152px;
  object-fit: contain;
}

.footer-logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.12em;
}

/* Info text */
.footer-info p {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.02em;
}

/* Bottom row */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}
/* ===========================
   Responsive
   =========================== */

/* タブレット */
@media (max-width: 1024px) {
/* ===========================
   Activities Section
   =========================== */
.activities-grid {
  grid-template-columns: repeat(2, 253px);
  gap: 40px 30px;
}
}

/* スマホ */
@media (max-width: 767px) {
.home #main-content-outer{
  padding-left: 0px;
  padding-top: 0px;
}
/* ===========================
   Hero Section
   =========================== */
.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6); 
}
.hero {
  padding: 10px;
  min-height: 370px;
}
.hero-image {
  width: 140%; 
  height: 117%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-content {
  top: -32px;
}
/* ===========================
   Activities Section
   =========================== */
.activities {
  padding: 36px 10px 40px;
}
  .activities-bg-image {
    display: none;
  }
.activities-heading {
  margin-bottom: 24px;
}
  .activities-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.hex-item {
  width: 100%;
}

/* SVGを非表示 */
.hex-svg {
  display: none;
}

/* hex-contentを通常のブロックに */
.hex-content {
  position: static;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: var(--color-green);
  border-radius: 8px;
  padding: 12px 30px;
  gap: 0;
}

.hex-content:hover {
  background: var(--color-green-hover);
}

/* アイコンとテキストを横並び左寄せ */
.hex-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.hex-name {
  flex: 1;
  text-align: center;
  font-size: 22px;
  padding-bottom: 0;
  margin-left: -18px;
}

.hex-arrow {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}
/* ===========================
   Welcome Section
   =========================== */
.welcome {
  padding: 32px 10px 0;
}
.welcome-heading {
  width: 100%;
  padding: 16px 0;
  margin-bottom: 18px;
}
.welcome-title {
  font-size: 20px;
  font-weight: bold;
}
  .welcome-body p {
  font-size: 16px;
}
  /* ===========================
   News Section
   =========================== */
.news {
  padding: 23px 10px 48px;
}

.news-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.news-heading {
  margin-bottom: 29px;
}


.news-more-btn {
  width: 100%;
  text-align: center;
}

.news-more-btn:hover {
  background-color: #73B16C;
  color: #fff;
}
.news-grid {
  grid-template-columns: repeat(1, 1fr);
  gap: 30px 24px;
}
/* ===========================
   CTA Section
   =========================== */
.cta {
  background: #FDF8EE;
  padding: 32px 10px 40px;
}

.cta-inner {
  grid-template-columns: 1fr;
  gap: 16px;
}
/* ===========================
   Footer
   =========================== */
.site-footer {
  background: #73B16C;
  padding: 24px 10px 8px;
}
.footer-info p {
  font-size: 12px;
}
.footer-bottom {
  flex-direction: column-reverse;
}
.footer-links {
  margin-bottom: 16px;
}
}
