@charset "UTF-8";
/*-----------------------------------------------
	全体
---------------------------------------------- */
html {
  scroll-behavior: smooth;
}

.fixed-footer {
  width: 100%;
  max-width: 750px;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.95);
  z-index: 999;
  box-sizing: border-box;
}

.logo img{
  padding-left: 20px;
  height: 60px;
  width: auto;
  display: block;
}

.logo1 img{
  height: 80px;
  width: auto;
  display: block;
  margin-left: auto;
  margin-top: 10px;
}

.fv-title {
  margin: 0;
  padding: 0;
}

main {
  padding-top: 0;
  padding-bottom: 0;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  background-image: url(../images/bg.jpg);
  background-position: top center;
  background-repeat: repeat;/*繰り返さない場合は no-repeat*/
  background-attachment: fixed;/*背景を固定しない場合は消す*/
  background-size: auto;/*背景を画面いっぱいに広げる場合はcover*/

  font-size: 16px;
  font-family: 'Helvetica','Arial','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

img {
  display: block;
  margin: 0 auto;
  max-width: 100%; /* 20260625追加 */
  height: auto;    /* 20260625追加 */
}

/* 
div {
  margin: 0 auto;
} */

.container {
	max-width: 750px;/* コンテンツ幅 */
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  margin: 0 auto;
}

/*-----------------------------------------------
  表画像：PCは通常表示、スマホだけ横スクロール
---------------------------------------------- */
/* PCでは通常画像と同じ */
.table-scroll {
  width: 100%;
}

.table-scroll img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* スマホだけ、表を縮小しすぎず横スクロール */
@media screen and (max-width: 750px) {
  .table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .table-scroll img {
    width: 600px;      /* PCで見た時と同じ見え方に近づける */
    max-width: none;  /* 全体の img { max-width:100%; } を打ち消す */
    margin: 0;
  }
}

/*-----------------------------------------------
  メイカラで生まれた事業・サロンメンバーの声
---------------------------------------------- */

/* セクション全体 */
.project-slider,
.member-voice {
  width: 100%;
  box-sizing: border-box;
  padding: 1.5em 0;
  padding-bottom: 0em;
}

.project-slider {
  background: #fff;
}

.member-voice {
  background: #eaf6ff;
}

/* カード部分だけを横スクロール */
.project-slider__track,
.member-voice__track {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: 0 6% 10px;
  padding-bottom: 40px;

  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  scroll-snap-type: x mandatory;
  scroll-padding-left: 6%;

}

/* スクロールバー */
.project-slider__track,
.member-voice__track {
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.18) rgba(0,0,0,0.04);
}

.project-slider__track::-webkit-scrollbar,
.member-voice__track::-webkit-scrollbar {
  height: 6px;
}

.project-slider__track::-webkit-scrollbar-track,
.member-voice__track::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.04);
}

.project-slider__track::-webkit-scrollbar-thumb,
.member-voice__track::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.18);
  border-radius: 999px;
}

/* 事業サムネイルとスクロールバーの間だけ広げる */
.project-slider__track {
  padding-bottom: 75px;
}


/*-----------------------------------------------
  メイカラで生まれた事業
---------------------------------------------- */

.project-card {
  flex: 0 0 82%;
  max-width: 560px;
  display: block;
  box-sizing: border-box;
  overflow: hidden;

  scroll-snap-align: start;

  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #c8d5de;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.project-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/*-----------------------------------------------
  サロンメンバーの声
---------------------------------------------- */
.member-card {
  flex: 0 0 82%;
  box-sizing: border-box;
  padding: 1.2em;

  scroll-snap-align: start;

  display: flex;
  flex-direction: column;

  text-align: left;
  background: #fff;
  border-radius: 8px;
}

.member-card__photo {
  width: 132px;
  height: 132px;
  margin: 0 auto 1.8em;
  flex-shrink: 0;

  object-fit: cover;
  object-position: center;
  background-color: #eee;
  border-radius: 50%;
}

div.member-card__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.8em;
}

.member-card__name {
  margin: 0;
  padding: 0;
  min-height: 1.5em;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
}

.member-card__job {
  margin: 0.35em 0 0.7em;
  padding: 0;
  min-height: 4em;
  color: #333;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
}

.member-card__list {
  margin: 0;
  padding: 0;
}

.member-card__list dt {
  display: block;
  box-sizing: border-box;
  width: 100%; /* calc(100% - 24px)から変更 */
  margin: 0 auto 1em;
  padding: 0.65em 0.5em;

  color: #fff;
  background: #72afe0;
  border-radius: 3px;

  font-size: 1em; /* 1.1emから変更 */
  font-weight: bold;
  line-height: 1.45;
  text-align: center;
}

.member-card__list dd {
  margin: 0;
  padding: 0 4px;
  color: #333;
  font-size: 1.2em;
  line-height: 1.85;
}

/*-----------------------------------------------
  PC表示
---------------------------------------------- */

@media screen and (min-width: 751px) {
  .project-slider__track,
  .member-voice__track {
    padding-right: 4%;
    padding-left: 4%;
    scroll-padding-left: 4%;
  }

  .project-card,
  .member-card {
    flex-basis: calc((100% - 16px) / 2);
  }
    .member-card {
    padding: 1.4em;
  }

  .member-card__photo {
  width: 145px;
  height: 145px;
}
  .member-card__name {
    font-size: 1.7em;
  }

  .member-card__job {
    font-size: 1.2em;
    line-height: 1.65;
  }

  .member-card__list dt {
    padding: 0.65em 0.7em;
    font-size: 1.1em;
  }

  .member-card__list dd {
    font-size: 1.2em;
    line-height: 1.85;
  }
}

/*-----------------------------------------------
  スマホ表示
---------------------------------------------- */

@media screen and (max-width: 750px) {
  .project-card {
    flex-basis: 82%;
  }

  .member-card {
    flex-basis: 82%;
    padding: 1.6em 1em 2em;
  }

  .member-card__photo {
    width: 124px;
    height: 124px;
  }

  .member-card__name {
    font-size: 1.5em;
    line-height: 1.4;
  }

  .member-card__job {
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.5;
  }

  .member-card__list dt {
    padding: 0.55em 0.4em;
    font-size: 0.92em;
    line-height: 1.4;
  }

  .member-card__list dd {
    font-size: 1em;
    line-height: 1.8;
  }
}
/*-----------------------------------------------
	ボタンとフォーム
---------------------------------------------- */
.cta {
  position: relative;
}
.cta2 {
  position: relative;
}
/* ボタン */
.btn {
	position: absolute;
  width: 90%;/* ボタンの大きさ */
  bottom: -10%;/* ボタンの位置 */
  left: 0;
  right: 0;
  animation-name: pulse;/* アニメーション名 */
  animation-duration: 1s;/* アニメーションの間隔(秒) */
  animation-iteration-count: infinite;
}
@media (hover:hover) {
  .btn:hover,
  .form_btn:hover {
    filter:brightness(1.2);/* マウスオンでボタンを明るくする */
  }
}

/* フォームタグ */
form {
  position: absolute;
  width: 100%;
  margin: 0 auto;
  bottom: 10%;/* フォームの位置 */
  left: 0%;
  right: 0%;
}

/* フォーム入力欄 */
.mail {
  width: 90%;/* 入力欄の大きさ */
  aspect-ratio: 8 / 1;/* 縦横比 */
  font-size: 20px;
  border-radius: 6px;
  margin-bottom: 3%;/* ボタンまでの余白の大きさ */
  text-align: center;
  border: solid 3px #fcc786;
}
/* フォームボタン */
button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
}
.form_btn {
  width:90%;/* ボタンの大きさ */
  animation-name: pulse;/* アニメーション名 */
  animation-duration: 1s;/* アニメーションの間隔(秒) */
  animation-iteration-count: infinite;  
}

/*-----------------------------------------------
	テキストコーディング用
---------------------------------------------- */

/* ------------ 文章・文字装飾 ------------ */
.text {
  padding: 0 3%;
  text-align: left;
}
.text p {
  padding-bottom: 1.6em;
}
.text p:last-of-type {
  padding-bottom: 1em;
}
.red {
  color: #E30003;
}
.marker {
  background: linear-gradient(transparent 55%, #fffc79 55%);
}

/* ------------ 枠 ------------ */
.box-top {
  background: url("") no-repeat center bottom / 100% 100%;
  aspect-ratio: 0 / 0; /* 画像の実寸比率（横/縦） */
}
.box-body {
  background: url("") repeat-y center top / contain; /* 背景画像を入れる */
}
.box-bottom {
  background: url("") no-repeat center top / 100% 100%;
  aspect-ratio: 0 / 0; /* 画像の実寸比率（横/縦） */
}


/*-----------------------------------------------
	フッター
---------------------------------------------- */
.footer {
/*  background-color: #333; */
  background-color: #474749;
  padding: 20px 10px;
  margin-bottom: 110px;
	color: #fff;
	line-height: 2;
  font-size: 14px;
}

.footer a,
.copyright {
  color: #fff;
}
.footer a {
  display: inline-block;
  text-decoration: underline;
}
.footer p {
  padding: 0;
}
.copyright {
  text-align: center;
}


/*-----------------------------------------------
	スマホ
---------------------------------------------- */
@media screen and (min-width: 751px) {
	.sp_only {
    display: none;
  }
}

@media screen and (max-width: 750px) {
	.pc_only {
    display: none;
  }
  .space_sp {
    display: block;
    height: 1.6em;
  }
	
	/* フォーム入力欄 */
	.mail {
		font-size: 16px;
		border-radius: 2px;
		border-width: 2px;/* 枠線の太さ */
	}  
  
	/* 固定フッター調整用 */
  .fixed-footer {
    padding: 8px 12px;
    justify-content: center;
    gap: 20px;
  }

    .logo,
  .logo1 {
    flex: 0 0 auto;
    min-width: 0;
    margin: 0;
  }

  .logo img {
    width: clamp(110px, 34vw, 132px);
    height: auto;
    padding-left: 0;
    margin: 0;
    transform: translateY(-3px);
  }

  .logo1 img {
    width: clamp(160px, 48vw, 200px);
    height: auto;
    margin: 0;
    transform: translateY(3px);
  }

  main {
    padding-bottom: 0;
  }
}
