@charset "utf-8";
/* レイアウトのためのCSS */

body{
    background:#f0f0f0;
    font-family:'Baskervville', serif,"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
	color: #333;
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
}

.wf-mplus1p { font-family: "M PLUS 1p"; }

.menbur-ttl{
  margin: auto;
  margin-bottom: 20px;
  text-align: center;
  font-family: "M PLUS 1p";
  color: #333;
  font-size: 40px;
  font-weight: bolder;
}

.text-glow{
    text-shadow:
      0 0 4px rgba(0,0,0,.45),
      0 0 12px rgba(0,0,0,.35);
  }

  .section-wrap {
    padding: 10px 0;
    max-width: 1400px;
    margin: auto;
    margin-top: 50px;
}

.section-inner {
    width: 100%;
    margin: 0 auto;
}


.container {
    display: flex;
    justify-content:center;  
    align-items:center;
    text-align: center;
    flex-wrap:wrap;
    gap: 20px; 
    row-gap:50px;  
    margin: auto;
    margin-bottom: 200px;
  }

.item img{
    display:block;   
    width: 300px;
    border-radius: 10px;
    margin: auto;
}

.intro-p{
    margin: auto;
    margin-top:15px;
}

.item{
  max-width: 1400px;
  display: flex;
  justify-content:center;
  flex-wrap:wrap;
  margin: auto;
}


/* メンバー紹介 */
/* ===== メンバー一覧：可変カラム ===== */
.menubar-grup-box{
  display: grid;
  gap: 24px;
  /* 画面幅に応じて自動で列数が変化 */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
}

/* 見出しは1行占有 */
.menbur-ttl{
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

/* カード本体：幅はカードが管理。中央寄せ */
.menubar-grup-box .item{
  /* 既存の .item にある max-width:1400px / display:flex / flex-wrap / margin:auto を上書き */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 320px;    /* カードの最大幅（お好みで 280〜340px など） */
  margin: 0 auto;
}

/* 画像まわり：カード幅にフィットさせる */
.item img{            /* 既存の 300px 固定を上書き */
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;   /* ここでは角丸を外し、丸型はthumb-card側で */
  margin: 0;
}

/* サムネを正円で中央トリミング */
.thumb-card{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
}

/* 中身の画像はカードいっぱい＆中央トリミング */
.thumb{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 名前+アイコンの並び */
.name-sns{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  width: 100%;
  padding: 0 16px;     /* 既存の 40px は狭い画面で窮屈になりやすいので控えめに */
  text-align: initial;
}

.name-sns .intro-p{
  margin: 0;
  text-align: center;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.8rem;    
}

.name-sns .insta-color-icon{
  width: 40px;
  height: 40px;
  margin: 6px;
}


/* グリッド自体は幅いっぱいで */
.menubar-grup-box{
  display: grid !important;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 35px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* グリッド直下のカードに、汎用 .item の影響を打ち消す */
.menubar-grup-box > .item{
  display: block !important;       /* flexを打ち消し */
  max-width: none !important;      /* 1400px制限を解除 */
  margin: 0 !important;            /* autoセンタリングを解除（セル内で自然に収まる） */
}

/* 画像サイズの固定幅を打ち消し、カード幅に追従 */
.menubar-grup-box > .item img{
  /* width: 100% !important; */
  height: auto;
  display: block;
  border-radius: 0;
  margin: 0;
}

/* 正円トリミング（必要なら） */
.menubar-grup-box > .item .thumb-card{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
}

  /*  */
.naka-p{
     margin-top: 50px;
     font-size: 20px;
     font-weight: bolder;
     color: #fff;
}

.anba-icon-box{
    margin-top: 50px;
    margin-bottom: 0px;
}

.anba-icon{
    width: 200px;
}

.back-color-area{
    background: var(--free-grad);
    width: 100%;
    margin-top: 100px;
   padding-bottom: 100px;
}

/* バナー */
.container-banner{
    display: flex;
    max-width: 1200px;
    justify-content:center; 
    align-items: center;
    gap: 5px;              
    flex-wrap: wrap; 
    margin: auto;  
    margin-top: 50px;   
  }

  .banner-box{
    max-width: 550px;
    margin: auto; 
    margin-top: 20px;  
  }
  
  .banner-img-link{ display: block; }
  
  .banner-img{
    display: block;
    max-width: 100%;
    height: auto;
  }

/* フッター */
.footer{
   color: #fff;
   padding: 50px auto 30px;
   width: 100%;
   height: 80px;
   margin: auto;
   margin-top: 60px;
   text-align: center;
}


/* ============================= */
/* メディアクエリ */
/* ============================= */

/* 初期表示（PC想定） */
.pc { display: block !important; }
.sp { display: none !important; }


@media screen and (max-width:768px) {
    .pc { display: block !important; }
    .sp { display: none !important; }
  

body{
	font-size:0.8rem;
	}
}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #fff;
    outline: none;
}

a:hover,
a:active{
	text-decoration: none;
}

/* heading */

.heading-block{
    position: absolute;
    top:50%;
    left:50%;
    width: 90%;
    transform: translate(-50%,-50%);
    color: #fff;
    text-align: center;
}

.heading-block h1,
h2{
    font-family: 'La Belle Aurore', cursive;
    font-weight: normal;
    font-size:6vw;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #fff;
}

.heading-block p{
    font-size:1.2vw;
    letter-spacing: 0.5em;
}

.top-p{
margin: auto;
margin-top: 50px;
font-size:3em;
font-weight: bolder;

}




/*横幅が768px以下になった際の指定*/
@media only screen and (max-width:768px) {
    .pc { display: none !important; }
    .sp { display: block !important; }

.heading-block h1,
    h1{
    font-size:3em;
    line-height: 1;
    
    }
.heading-block p{
    font-size:1.2em;
    letter-spacing: 0.2em;
    }
}

#box3 h2{
    color: #925410;
}



.logo-icon img{
width: 50px;
}

.logo-icon{
    position: fixed;
    left: 20px;
    top: 20px;
    display: flex;
    z-index: 1000;
}

/* sns icon */
#sns-icon img{
    width: 40px;
}

#sns-icon{
    position: fixed;
    right:20px;
    top:20px;
    display: flex;
    z-index: 1000;
}

#sns-icon li{
     margin:0 10px;   
}

#sns-icon a{
    transition: all .5s;
}

#sns-icon a:hover{
    opacity: 0.7;
}

/* profile-area*/

.profile-area{
    width:100%;
    max-width: 300px;
    background:rgba(255,255,255,0.8);
    padding:40px;
    margin: 0 0 0 40px;
    text-align: left;
    letter-spacing: 0.03em;
}

@media screen and (max-width:768px) { 
.profile-area{
     margin:0;
    } 
}


.profile-area h2{
    font-size: 0.9rem;
    margin:0 0 40px 0;
    line-height: 1.8;
    color: #333;
    font-family: 'Baskervville', serif;
    text-align: center;
}

.profile-area h2 span{
    font-size: 1.3rem;
     display: block;
    text-transform: uppercase;
}

.profile-area p{
    margin:0 0 40px 0;
}


/* form */

.form-list{
    width:100%;
    max-width: 500px;
    margin: 0 auto;
}

.modaal-content-container h3{
    text-align: center;
    margin: 50px 0;
}

@media screen and (max-width:768px) { 
.modaal-content-container h3{
    margin:0 0 20px 0;
}   
}

input , button , textarea , select {
	margin:0;
	padding:0;
	border:none;
	outline:none;
	background:none;
    font-size: 16px;
}

.form-list input[type='text'] , 
.form-list input[type='email'] , 
.form-list textarea{
	width:100%;
	border:1px solid #ccc;
	background:#f8f9fa;
	padding: 10px;
	-webkit-appearance:none;
	   -moz-appearance:none;
	        appearance:none;
}

.form-list input[type='text'] , input[type='email'] {
	height:50px;
}

.submit-btn{
    width:152px;
    margin: 0 auto;
}

input[type='submit']{
    background: #333;
    color: #fff;
    text-align: center;
    padding: 5px 20px;
    width:152px;
    margin: 0 auto;
}

input[type='submit']:hover{
    background: #555;
} 

.form-list dl{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
	padding:0 0 20px 0;
}

.form-list dt{
    width:30%;
}

.form-list dd{
    width:66%;
}

.form-list textarea {
	height:200px;
}

@media screen and (max-width:900px) {
.form-list dt{
	margin:0 0 10px 0;
}
.form-list dt,
.form-list dd{
    width:100%;
}

.menbur-ttl {
    font-size: 28px;
}

/* === SPでは3列に固定（最後に追記） === */
.menubar-grup-box{
    /* 3列固定＆余白を小さく */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    row-gap: 30px;
    padding: 0 15px;
  }

  /* 汎用 .item の影響を完全に打ち消す */
  .menubar-grup-box > .item{
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
  }

  /* 画像はセル幅に追従（コメントアウトしてたら戻す） */
  .menubar-grup-box > .item img{
    height: auto;
  }

  /* 文字とアイコンを詰める（オプション） */
  .name-sns{
    padding: 0 6px;
    gap: 6px;
    /* 窮屈なら縦積みにする場合は次行を有効化 */
    /* flex-direction: column; align-items: center; */
  }
  .name-sns .intro-p{
    font-size:12px;
  }
  .name-sns .insta-color-icon{
    width: 18px; height: 18px; margin: 4px;
  }

  .container-banner {
    padding: 0 30px;
}

.container{
    margin-bottom: 50px;
}

}

