/*↓StyleCSSにスタイルを定義　文字コードUTF-8*/
@charset "utf-8";
*{
      margin:0px;
      padding:0px;        
    }


/*HTML全体-----*/
body {
  font-family: 'Zen Maru Gothic',
               "メイリオ",
               "Meiryo",
               "ヒラギノ角ゴ ProN W3",
               "Hiragino Kaku Gothic ProN",
               sans-serif;
  background-color: #FCFBCA;
  margin: 0;

}
html {
  scroll-padding-top: 80px;
}
.container {  
    max-width: 1500px;
    margin: 0 auto;
    
  position: relative;
  padding: 0 24px;  /* ← ここが超重要 */ 　    
}


/*header部分－－－－－－－－－－－－－－－－－－－－－－－－*/

/*ヘッダーのメニュー*/
/* ヘッダー基本 */
.header { 
  padding-top: 20px; /* ヘッダーの高さ分 */
  border-bottom: 1px solid #ddd;
  padding-bottom: 16px;    
  position: fixed;
  width: 100%;
  background: #f7f7f7; /* 固定時は必須 */
  z-index: 999;   /* ハンバーガーより上 */
   
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;   /* ← これが最重要 */
  margin: 0 auto;     /* ← 中央寄せ */
  padding: 0 16px;    /* ← 左右の余白 */
  height: 30px;
}
.header h1 {
  margin: 0;
}
.site-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  margin: 0;
}
.site-logo {
  height: 40px;   /* PCサイズ */
  width: auto;
}
/* ナビ */
nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 20px;    
}
nav ul li a:hover {
  font-weight: 700;
}

/* ナビ終了 */
/* ハンバーガー（初期は非表示） */
.hamburger {
  display: none;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  margin: 5px 0;
  border-radius: 2px;
}
/* ハンバーガー（初期は非表示）終了*/
/*header部分終了－－－－－－－－－－－－－－－－－－－－－－－－*/

/*main部分－－－－－－－－－－－－－－－－－－－－－－－－*/
main{
    padding-top: 65px; /* ← 固定ヘッダー対策 */
}
section{
    margin-bottom: 100px;
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* 文字全体の位置 */
.hero-text {
  position: absolute;
  top: 10%;              /* 上寄り */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* 各文字 */
.hero-text span {
  display: inline-block;
  font-size: 70px;
  font-weight: 700;
  letter-spacing: 0.15em;

  color: transparent;                 /* 中を透明に */
  -webkit-text-stroke: 2px #ffffff;   /* 白ぶち */
  text-stroke: 2px #ffffff;

  opacity: 0;
  transform: translateY(20px);
  animation: floatUp 0.6s ease forwards;
}

/* 浮き上がり */
@keyframes floatUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2{
 margin-bottom: 50px;
 text-align: center;  
 font-size: 36px; /* ← 好きな大きさに統一 */
 font-weight: 700;
 line-height: 1.4; 
}


/*　　新着情報　　*/

.news {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin: 60px auto;    
}

.news ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news li {
  border-bottom: 1px solid #ddd;
  padding: 12px 0;
}
.news li:last-child {
  border-bottom: none;
}
.news time {
  display: block;
  font-size: 18px;
  color: #666;
  margin-bottom: 4px;
}
.news a {
  color: #333;
  text-decoration: none;
}
.news a:hover {
  text-decoration: underline;
}
/*　　新着情報終了　　*/

/*「まるごとスタイル」で実現したいこと/法人創立の想い*/

/* section全体の背景 */
#section-about {
  background-color: #ECDAA1;
  padding: 80px 0;
}

/* 中央寄せ */
#section-about .container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* h2 + p を囲む白い四角 */
.about-box {
  background: #ffffff;
  padding: 48px 40px;
  border-radius: 16px;
  box-sizing: border-box; 
  max-width: 720px;   /* ← ここで横幅を制限 */
  margin: 0 auto;     /* ← 中央配置 */    
    
}

/* 本文 */
.about-box p {
  margin: 0;
  font-size: 18px;
  line-height: 1.9;
}


/* リストをカードレイアウトに */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  list-style: none;
  padding: 0 16px;
  margin: 0 auto;
    
 max-width: 1300px;    
}
.cloud-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(circle at 15% 25%, #fff 28%, transparent 29%),
    radial-gradient(circle at 35% 10%, #fff 32%, transparent 33%),
    radial-gradient(circle at 55% 12%, #fff 30%, transparent 31%),
    radial-gradient(circle at 75% 22%, #fff 32%, transparent 33%),

    radial-gradient(circle at 90% 45%, #fff 30%, transparent 31%),
    radial-gradient(circle at 80% 70%, #fff 32%, transparent 33%),

    radial-gradient(circle at 60% 92%, #fff 32%, transparent 33%),
    radial-gradient(circle at 40% 95%, #fff 30%, transparent 31%),
    radial-gradient(circle at 20% 80%, #fff 32%, transparent 33%),

    radial-gradient(circle at 5% 55%, #fff 30%, transparent 31%);

  background-repeat: no-repeat;
}
/*取組みのステップーーーーーーーーーーーーー*/
/* カード */
.service-list li {
  position: relative;
  background: #fff;
  border: 2px solid #222;
  border-radius: 16px;
  padding: 50px 30px 30px;
  text-align: center;
}

/* 丸い番号 */
.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: #00b3c4;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
}

/* タイトル */
.service-list strong {
  display: block;
  font-size: 22px;
  margin-bottom: 20px;
}

/* 説明文 */
.service-list p {
  font-size: 18px;
  line-height: 1.7;
  text-align: left;
}

/* まぜこぜの会--------------- */
.information {
  width: 100%;
  margin: 40px auto;
  padding: 80px 0;
background-color: #ECDAA1;
}

/* お知らせ1件 */
.information-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s;
}

.information-item:hover {
  background-color: #f5f5f5;
}

.information-date {
  font-size: 18px;
  color: #777;
  white-space: nowrap;
}

.information-label {
  background-color: #B4B490;
  color: #fff;
  font-size: 18px;
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.information-text {
  flex: 1;
}
.information-p{
    font-size: 18px;
}
/* まぜこぜの会終了--------------- */
/*メンバー紹介ーーーーーーーーーーーーーーーーー*/
.member-list {
  max-width: 1300px;
  margin: 0 60px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;   /* ← 縦並び */
  gap: 30px;
}

/* =========================
   メンバーカード（1人分）
========================= */
.member-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  display: flex;          /* ← 横並びはここ */
  gap: 40px;
  align-items: flex-start;    
}

/* =========================
   左：プロフィール（写真＋名前）
========================= */
.member-profile {
  width: 200px;          /* 全員そろえる */
  flex-shrink: 0;
  text-align: center;
}
/* 写真 */
.member-photo img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* 写真が無い場合は写真枠だけ消す */
.member-photo:empty {
  display: none;
}
/* 名前 */
.member-name {
  font-size: 20px;
  margin: 4px 0 0;
}

/* 役職 */
.member-role {
  font-size: 15px;
  color: #666;
  margin-top: 2px;
}

/* =========================
   右：説明文
========================= */
.member-text {
  flex: 1;
  font-size: 18px;
  line-height: 1.7;
}



/*footerCSS--------------------*/
/* フッター全体 */
.site-footer {
  background-color: #f6f6f4;
  border-top: 1px solid #ddd;
  padding: 40px 20px 20px;
/*  font-size: 30px;*/
  color: #333;
}

/* 中央寄せ */
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

/* 法人名 */
.footer-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

/* ナビ */
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-nav a {
  color: #333;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  font-size: 16px;    
    
}

/* ホバーで下線 */
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: #333;
  transition: width 0.3s ease;
}

.footer-nav a:hover::after {
  width: 100%;
}

/* コピーライト */
.footer-copy {
  font-size: 15px;
  color: #666;
}
/*footerCSS終了--------------------*/

/*画面サイズ800以下開始－ーー－－－－－－－－－*/

@media(max-width:900px){
/*header　スマホ用－－ーーーー－－－－－－－－－－*/
 .header h1 {
    font-size: 18px;        /* 少し小さく */
    white-space: nowrap;   /* 改行させない */
    overflow: hidden;
    text-overflow: ellipsis; /* 万一はみ出たら… */
  }
  .site-logo {
    height: 36px; /* スマホでは少し小さく */
  } 
    
/*ハンバーガーメニュー　スマホ用　　*/
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9); /* ← 白さはここ */
  z-index: 999;
  display: none;
  pointer-events: none;    
}
.menu-overlay.active {
    display: block;
    pointer-events: auto;}
    
/*ハンバーガー表示 スマホ用*/
  .hamburger {
    display: block;
    position: relative;
    z-index: 999;  
  }

/*ナビ非表示 スマホ用*/
  #nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent; /* 背景は overlay に任せる */
    display: none;
  }
  #nav.active {
    display: block;
  }    
  #nav ul {
    flex-direction: column;
    gap: 0;
  }
  #nav li {
    border-bottom: 1px solid #eee;
  }
  #nav a {
    display: block;
    padding: 16px;
    text-align: center;
    font-size: 24px; /* スマホは少し大きめ */
  }
    
/*ハンバーガー → × スマホ用　　 */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/*ハンバーガーアニメーション スマホ用　　*/
.hamburger span {
  transition: all 0.3s ease;
}
/*ハンバーガーメニュー終了　スマホ用　*/
/*header終了 スマホ　--------------- */    
/*取り組みのステップ　スマホ用ーーーーーーーー*/
.service-list {
    grid-template-columns: 1fr;
}
.member-card {
    gap: 20px; 
  }    

/*画面サイズ800以下終了ー－－－－－－－－－*/


/*画面サイズ640以下開始－－ーーーー－－－－－－－－－－　　　　　　　　　　　　　　　　　　　　　*/
@media(max-width:640px){
    
/*HTML全体　スマホ用*/
  html {
    scroll-padding-top: 100px;
  } 
    
    
/*main開始　スマホ   --------------- */
h2{
 font-size: 24px; /* ← 好きな大きさに統一 */
}        
/*main画像　スマホ用ーーーーーーーーーーーーーーーーーー*/
.hero {
    height: calc(70vh - 70px);    画面の縦いっぱい 
    overflow: hidden;
    
  }

  .hero img {
    height: 100%;
  width: 100%;
  min-width: 100%;
  object-fit: cover;
  object-position: center;      
      
  }
      
  .hero-text span {
    font-size: 40px;
    -webkit-text-stroke: 1.5px #ffffff;
    letter-spacing: 0.1em;
  }

  .hero-text {
    top: 20%;
  } 
       
/*main画像　スマホ用　終了*/ 
/*取り組みのステップ　スマホ用終了ーーーーーーーー*/ 
/*　　理事紹介　スマホ用　*/
.member-list {
  margin: 0 auto;
}    
 .member-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px; 
  }

  .member-profile {
    width: auto;
  }

  .member-text {
    margin-top: 16px;
    text-align: left;
  }
}   
/*　　理事紹介　スマホ用　終了　*/     

/*mainスマホ　終了   --------------- */  
/*スマホfooter開始    */
  .site-footer {
    padding: 32px 16px 16px;
  }

  .footer-name {
    font-size: 15px;
  }

  .footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;

    width: 80%;
    padding: 0 4px;          /* ← 左右の余白を最小限に */
    margin: 0 auto 12px;
    gap: 2px;                /* ← li（a）同士の間隔を縮小 */
  }

  .footer-nav a {
    font-size: clamp(9px, 2.6vw, 11px); /* ← さらに小さく */
    white-space: nowrap;
    letter-spacing: -0.04em;            /* ← 日本語を少し圧縮 */
    padding: 2px 0;                      /* ← 縦方向もコンパクト */
  }

/*スマホfooter終了*/
 
}
/*画面サイズ640以下終了－－－－－－－－－－－－－*/

