@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* top-mv */
.mv-back-color {
	background: #5a5856;
    border-radius: 30px;
	height: 500px;
}

.top-mv-note-height {
	height: 60px;
	margin-bottom: 10px;
}

/* .top-mv-style 内で高さ揃えを実現 */
.top-mv-style .swell-block-columns__inner {
  display: flex;
  align-items: stretch; /* 子カラムの高さを揃える */
}

.top-mv-style .swell-block-column {
  display: flex;
  flex-direction: column;
}

.top-mv-style .wp-block-cover {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.top-mv-style .wp-block-cover__image-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* top-mvここまで */

.top-reason-training-style,
.top-reason-control-style,
.top-reason-program-style,
.top-reason-sendai-style {
  border-radius: 12px;
  padding: 1rem;
  box-sizing: border-box;
  border: 2px solid; /* 色は個別指定 */
}

.top-reason-training-style {
  border-color: #fd9f5c;
}

.top-reason-control-style {
  border-color: #aeb0ff;
}

.top-reason-program-style {
  border-color: #ffaceb;
}

.top-reason-sendai-style {
  border-color: #96c9ff;
}


/* 4つの理由テキスト用スタイル */
.reason-text {
  background-color: rgba(255, 255, 255, 0.8); /* 白＋透明感 */
  color: #000; /* 白背景なので黒文字推奨。どうしても白文字なら下記に変更可能 */
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* 軽い立体感で視認性UP */
  max-width: 800px;
  margin: auto;
}

/* 白文字にしたい場合はこちら（背景をもっと濃く） */
.reason-text.white-text {
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
}

/* 4つの理由テキスト用スタイルここまで */

.footer-ch-coppystyle {
  color: red;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
}

/* スマホ対応 */

/* メインビューの文字対応 */
@media screen and (max-width: 599px) {
	.mv-back-color {
		height: auto;
	}
}

@media screen and (max-width: 1120px) and (min-width: 960px) {
	.wp-block-group__inner-container .swell-block-button {
		--the-fz: 2em !important;
	}
	.top-mv-font-size {
   font-size: 2.5em !important;
  }
	.mv-back-color {
	  height: 450px;
  }
}

@media screen and (max-width: 959px) and (min-width: 600px) {
	.top-mv-yasetai-img {
		height: 380px;
	}
	.wp-block-group__inner-container .swell-block-button {
		--the-fz: 1.5em !important;
	}
	.top-mv-font-size {
   font-size: 1.5em !important;
  }
	.mv-back-color {
	  height: 200px;
		padding: 5px 0;
  }
}

@media screen and (max-width: 599px) {
	.top-mv-yasetai-img {
		height: 240px;
	}
	.wp-block-group__inner-container .swell-block-button {
		--the-fz: 1.2em !important;
	}
	.top-mv-font-size {
   font-size: 1.2em !important;
  }
	.mv-back-color {
	  height: 300px  !important;
  }
  .top-mv-note-height {
  	height: 120px;
  }
}

@media screen and (max-width: 529px) {
	.mv-back-color {
	  height: 270px !important;
  }
}

@media screen and (max-width: 499px) {
	.mv-back-color {
	  height: 260px !important;
  }
}
@media screen and (max-width: 469px) {
	.mv-back-color {
	  height: 250px !important;
  }
}
@media screen and (max-width: 449px) {
	.mv-back-color {
	  height: 240px !important;
  }
}
@media screen and (max-width: 429px) {
	.mv-back-color {
	  height: 230px !important;
  }
}
@media screen and (max-width: 399px) {
	.mv-back-color {
	  height: 220px !important;
  }
}
@media screen and (max-width: 299px) {
	.mv-back-color {
	  height: 160px !important;
  }
}
