@charset "utf-8";

/*　ボタン追加start  */

.top-text {
	font-size: 48px;
	letter-spacing: 1.5px;
}

.button-type02 span {
	margin-right: 10px;
}
.ap-lead {
	color: #000;
    text-align: center;
    display: flex;
    justify-content: center;
	margin: 20px auto 5px;
}
.ap-lead:before {
    transform: rotate(-35deg);
    margin-right: 2em;
}
@media (max-width: 769px) {
	.button-type02.gradation01 a{
		width: 67%;
		margin: 0 auto;
	}
	}
@media (min-width: 768px) {
.button-type02 {
    padding: 5px 140px 20px;
}
	.ap-lead:after, .ap-lead:before {
    height: 1.5em;
}
			.ap-lead b {
		font-size: 12px;
	}

}
.ap-lead:after {
    transform: rotate(35deg);
    margin-left: 2em;
}
.ap-lead:after, .ap-lead:before {
    content: "";
    width: 1px;
    background: #1a2833;
}
a:link, a:visited {
	text-decoration: none;
}

	/*　ボタン追加 end  */

/*見出し*/
#contents h2 {
    font-size: 20px;
    color: #494949;/*文字色*/
    background: #f4f4f4;/*背景色*/
    border-left: solid 5px #DD6546;/*左線*/
    border-bottom: solid 3px #d7d7d7;/*下線*/
    margin: 10px 0px 20px 0px;
	padding: 10px;
    clear: both;
	text-indent: 0.5em;
}

@media (max-width: 769px) {
	#contents h2 {
		background-image: none;
		text-align: center;
		height: auto;
	}
		/*#contents p {
			margin: auto;
		}*/
	.contents-in {
		margin: 20px 0;
	}
	}

#contents p {
	width: 100% !important;
}


/*　トップ */
.bannerback-pc {
	position: relative;
}
.bannertop-pc {
	position: absolute;
	top: 92px;
	left: 15px;
	z-index: 1;
	font-size: 50px;
	line-height: 4rem;
	letter-spacing: 0.5rem;
	color: #333333!important;
}

#contents h4 {
    font-size: 16px;
    color:#001E6D;/*文字色*/
	margin: 10px 0px;
}

.box-012 {
    max-width: 400px;
	font-size: 1.2em;
	line-height: 1.8em;
    margin: 0 auto;
	padding: 10px 35px;
    border: 2px solid #2589d0;
    border-radius: 3px;
    overflow: hidden;
}

.box-012 span {
    padding: 0.5em 0.8em;
    background-color: #2589d0;
    color: #fff;
}

.box-012 p {
    margin: 0;
    padding: 1em 1.5em;
    color: #333;
}

.heading-033 {
    border-bottom: 3px solid #e6edf3;
	font-size: 20px;
}

.heading-033 span {
    display: inline-block;
    position: relative;
    padding: 0.4em  0em;
    color: #333333;
}

.heading-033 span::before {
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2589d0;
    content: '';
}
/**/
.top_flex {
	display: flex;
	justify-content: center;
	background-image: url(../img/senzokusangyoui_back_top.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	margin: 0 10px;
	align-items: center;
	padding-left: 30px;
}
/* 男性画像 */
.display_sp {
	width: 160px;
}

@media screen and (max-width:700px) {
	.top_flex {
		padding-left: 10px;
	}
	.main_top {
		padding-bottom: 50px;
	}
}
.top_texts1,.top_texts2 {
	color: #231815;
	font-family: "Meiryo", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "sans-serif";
}
.top_texts1 {
	font-size: 22px;
	line-height: 0.5;
	margin-top: 15px;
}
.top_texts2 {
  position: relative;
  padding: 12px 10px;
  min-width: 120px;
  max-width: 100%;
  color: #040000;
  font-size: 16px;
  font-weight: bold;
  background: #FFF;
  border: solid 2px #040000;
  box-sizing: border-box;
  border-radius: 10px;
}
.top_texts2:before {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  margin-top: -12px;
  border: 12px solid transparent;
  border-left: 12px solid #FFF;
  z-index: 2;
}
.top_texts2:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  margin-top: -12px;
  border: 12px solid transparent;
  border-left: 12px solid #040000;
  z-index: 1;
}
@media screen and (max-width:700px) {
	.top_texts2:before,.top_texts2:after {
		display: none;
	}
}

/* トップ　ボタン　*/
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
.btntop,
a.btntop,
button.btntop {
  font-size: 20px;
  font-weight: 700;
  /*line-height: 1.5;*/
  position: relative;
  display: inline-block;
  /*padding: 1rem 4rem;*/
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

/**/
.btn-wrap {
	display: flex;
	justify-content: space-between;
	margin: 30px 40px 20px;
}

a.btn-p {
  font-size: 14px;
  width: 260px;
  position: relative;
  padding: 0px 20px 10px 20px;
  -webkit-box-shadow: 0 5px 0 #C2C1C1;
  box-shadow: 0 5px 0 #C2C1C1;
  border-radius: 80px;
  border: 2px solid #fff;
  text-align: center;
  text-decoration: none!important;
}
.btn_left {
	color: #fff;
	background: #EE761C;
}
/* ボタンの右矢印 */
.btn_left::before { /* くの字の表示設定 */
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 15px;
  width: 13px;    /* くの字を山なりに見た時、左側の長さ */
  height: 13px;   /* くの字を山なりに見た時、右側の長さ */
  border-top: 3px solid #fff;     /* くの字を山なりに見た時、左側の太さと色 */
  border-right: 3px solid #fff;   /* くの字を山なりに見た時、右側の太さと色 */
  transform: rotate(45deg);    /* くの字の向き */
}
.btn_right {
  background: #fff!important;
	color: #EE761C!important;
	border: 2px solid #EE761C!important;
	padding-bottom: 20px;
}
.btn_right::before { /* くの字の表示設定 */
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 15px;
  width: 13px;    /* くの字を山なりに見た時、左側の長さ */
  height: 13px;   /* くの字を山なりに見た時、右側の長さ */
  border-top: 3px solid #EE761C;     /* くの字を山なりに見た時、左側の太さと色 */
  border-right: 3px solid #EE761C;   /* くの字を山なりに見た時、右側の太さと色 */
  transform: rotate(45deg);    /* くの字の向き */
}

a.btn-p span {
  font-size: 11px;
  font-weight: 700;
  position: absolute;
  top: -20px;
  left: calc(50% - 100px);
  display: block;
  width: 200px;
  padding: 2px 0;
  border-radius: 100vh;
  /*-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);*/
}
.texts_btn_left {
  background: #fff;
	color: #231815;
	border: 2px solid #EE761C;
}
.texts_btn_right {
	background: #EE761C;
	color: #fff;
	border: 2px solid #fff;
}

a.btn-p span:before,
a.btn-p span:after {
  position: absolute;
  left: calc(50% - 10px);
  content: "";
}

a.btn-p span:before {
  bottom: -10px;
  border-width: 10px 10px 0 10px;

}
.texts_btn_left:before {
  border-style: solid;
  border-color: #EE761C transparent transparent transparent;
}
.texts_btn_right:before {
		  bottom: -10px;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}
.texts_btn_left:after {
  bottom: -7px;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}
.texts_btn_right:after {
  bottom: -7px;
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #EE761C transparent transparent transparent;
}
a.btn-p:hover {
  -webkit-transform: translate(0, 3px);
  transform: translate(0, 3px);
  color: #fff;
  background: #EE761C;
  -webkit-box-shadow: 0 2px 0 #EE761C;
  box-shadow: 0 2px 0 #EE761C;
}
a.texts_btn_left:hover {
	border: 2px solid #EE761C!important;
	background: #fff!important;
}
/* 訪問後のリンク */
a.btn-p:visited {
	color: #fff!important;
	text-decoration: none!important;
}
a.btn-p.btn_right:visited {
	color: #EE761C!important;
	text-decoration: none!important;
}
/**/
.top_left {
	font-weight: 700;
	line-height: normal;
	color: #231815;
	font-size: 15px;
}
.blue_top {
	color: #154fa1;
}
.text_flex {
	display: flex;
	align-items: center;
	margin-top: 8px;
}
.text_flex_btn {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px 0 0 0;
	height: 25px;
	/* 矢印アイコン用*/
	/*padding-right: 25px;*/
}
/* TOPレスポンシブ */
@media screen and (max-width:700px) {
		.blue_top {
		font-size: 16px;
	}
	.top-text {
		font-size: 30px!important;
	}
	.blue_top.top_size {
		font-size: 30px!important;
	}
	.top_texts1 {
		font-size: 16pX!important;
	}
	.text_flex {
		font-size: 13px!important;
	}
	a.btn-p {
		width: 95%;
		padding: 20px 0;
	}
	a.btn-p span {
		display: none!important;
	}
	.btn-wrap {
		display: block!important;
		text-align: center;
	}
	.btn_right {
		margin-top: 30px;
	}
	.text_flex_btn {
		padding: 0;
	}
}

@media screen and (max-width:550px) { 
	.display_sp { 
		display: none;
	}
	.top_flex {
		padding: 40px 0;
	}
	.text_flex {
		font-size: 12px!important;
}
	.top_flex {
		margin: 0;
	}
	.btn_left::before {
		display: none;
	}
	.btn_right::before {
		display: none;
	}
}
.btn_c {
  color: #fff;
}



/* 251119 */
.main_top { 
  /* background:#f4efe5;              /* 外側ベージュ */
  /* padding:16px; */
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
}

.sangyoui-fv__inner {
  background: #f4efe5;
  background-image:url("../img/cost_back.jpg"); /* パスを実際のURLへ */
  background-size: contain;
    background-repeat: no-repeat;
  max-width:980px;
  margin:0 auto;
  display:flex;
  align-items:center;
  padding: 20px;
}

/* 黒板エリア：背景に cost_back.jpg を敷く */
.sangyoui-fv__board {
  flex:1 1 auto;
  position:relative;
  /* background-image:url("../img/cost_back.jpg"); /* パスを実際のURLへ */
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  min-height:170px;
  display:flex;
  align-items:center;
  left: 4%;
  top: -10px;
}

/* 黒板の中身（テキスト） */
.sangyoui-fv__content {
  width:100%;
  /* padding:20px 40px 26px; */
  color:#fff;
  box-sizing:border-box;
}

.sangyoui-fv__lead {
  /* font-size:13px; */
      font-size: 20px;
  letter-spacing:0.12em;
  text-align:center;
  color:#ffe26f;
  /* margin:0 0 10px; */
  margin: 0 0 5px;
}

.sangyoui-fv__middle {
  display:flex;
  align-items:center;
  /* gap:20px; */
}

/* 左のアイコン画像 */
.sangyoui-fv__icon {
  flex:0 0 80px;
  text-align:center;
}
.sangyoui-fv__icon img {
  /* max-width:70px; */
  max-width:95px;
  height:auto;
}

/* テキスト */
.sangyoui-fv__texts {
  flex:1 1 auto;
}

.sangyoui-fv__sub {
  /* font-size:14px; */
  font-size:20px;
  letter-spacing:0.22em;
  text-align:center;
  /* margin:0 0 6px; */
}

.sangyoui-fv__title {
  font-size:2.7em;
  font-weight:700;
  /* letter-spacing:0.18em; */
  text-align:center;
  margin:0;
}

/* ピンクの波線（CSSで擬似再現） */
.sangyoui-fv__wave {
  display:block;
  width:70%;
  max-width:420px;
  height:6px;
  margin:3px auto 0;
  background-image:linear-gradient(
    -45deg,
    transparent 0 4px,
    #ff7dac 4px 8px
  );
  background-size:8px 6px;
}

.under {
padding-bottom: 6px;
background-repeat: repeat-x;
background-position: 0 100%;
background-size: auto 6px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='6'%3E%3Cpath d='M0 3 Q 2.5 1 5 3 T 10 3 T 15 3 T 20 3' fill='none' stroke='%23ff7dac' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* 先生イラスト */
.sangyoui-fv__doctor {
  flex:0 0 160px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  margin-left:10px;
}
.sangyoui-fv__doctor img {
  max-height:200px;
  width:auto;
}

.kanji-icon {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  /* width:80px;          /* 大きさはお好みで */
  /* height:80px; */
  background:#ffffff;  /* 白い四角 */
  color:#254b42;       /* 文字色（黒板っぽい緑） */
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
  font-weight:700;
  /* font-size:54px;      /* 文字の大きさ */
  line-height:1;
  box-sizing:border-box;
  margin-left: -7px;
  padding: 0 3px 2px;
}

/* スマホ用 */
@media (max-width:768px) {
  .sangyoui-fv__inner {
    align-items:flex-end;
    background-position: center;
    background-size:auto;
    display: block;
    padding: 20px 0;
  }

  .sangyoui-fv__board {
    min-height:150px;
    top: 0;
    left: 0%;
    justify-content: center;
  }

  .sangyoui-fv__content {
    padding:14px 16px 22px;
    width: auto;
  }

  .sangyoui-fv__middle {
    gap:12px;
    justify-content: center;
  }

  .sangyoui-fv__icon {
    flex:0 0 60px;
  }

  .sangyoui-fv__icon img {
    max-width: 80px !important;
  }

  .sangyoui-fv__sub {
    font-size:17px!important;
    letter-spacing:0.12em;
  }

  .sangyoui-fv__title {
    /* font-size:18px; */
    font-size: 2em !important;
    letter-spacing:0.12em;
  }

  .sangyoui-fv__doctor {
    flex:0 0 120px;
    margin-left:6px;
  }
  .sangyoui-fv__doctor img {
    max-height:180px;
      display: none;
  }
  .sangyoui-fv__texts {
    display: block;
    flex: none;
  }
  .kanji-icon {
    padding: 0 0px 3px 2px;
    margin-left: -12px;
  }
  .sangyoui-fv__lead {
    font-size: 0.;
  }
}

@media (max-width:450px) {
  .sangyoui-fv__lead {
  font-size: 15px!important;
  }
.sangyoui-fv__title {
  font-size: 1.7em !important;
}
}


