@charset "utf-8";

/* トップページ
   ========================================================================== */

.home section {
	background: rgba(255,255,255,0.5);
	padding: 20px;
	margin: 20px 20px 0 20px !important;
	border-radius: 30px;
}
.home section h2 {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
.home section h2 figure {
	width: 60px;
	text-align: center;
}
.home section h2 span {
	display: block;
	flex: 1;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.5;
	margin-left: 10px;
}
.home section .explanation {
	background-color: #faf7dd;
	padding: 20px;
	margin-top: 20px;
	border-radius: 30px;
}
.home section > figure {
	text-align: center;
	margin-top: 20px;
}
.home section figure img {
	margin: 0 auto;
}
.home section p:first-of-type {
	margin-top: 0;
}
.home section figure + p {
	margin-top: 1em !important;
}
.home section .reference {
	font-size: 1.2rem;
}
@media (min-width:769px){
	.home section {
		width: 1100px;
		padding: 40px;
		margin: 60px auto 0 auto !important;
		border-radius: 50px;
	}
	/*.home section:first-of-type {
		margin-top: 0 !important;
	}*/
	.home section h2 {
		margin-bottom: 40px;
	}
	.home section h2 figure {
		width: 150px;
		text-align: left;
	}
	.home section h2 span {
		font-size: 3.3rem;
		font-weight: normal;
		line-height: 1.5;
		margin-left: 0;
	}
	.home section .explanation {
		padding: 40px;
		margin-top: 40px;
		border-radius: 50px;
	}
	.home section > figure {
		margin-top: 40px;
	}
	.home .sec-01 {
		margin-top: 0 !important;
	}
	.home section p {
		font-size: 2.2rem;
	}
	.home section .reference {
		font-size: 1.8rem;
	}
}


.home article > section section {
	background: 0;
	padding: 0;
	margin: 30px 0 0 0 !important;
	border-radius: 0;
}
@media (min-width:769px){
	.home article > section section {
		width: 100%;
		padding: 0;
		margin: 40px auto 0 auto !important;
		border-radius: 0;
	}
}



.main-image-wrap {
	background-image: url("../img/gcd-main-bg.jpg");
	background-repeat: no-repeat;
	background-position: top center;
	background-size: auto 600px;
}
.main-image-area {
	padding: 20px;
}
.main-image-area figure {
}
.main-image-area figure img {
	margin: 0 auto;
}
.lead-txt {
	line-height: 1.7;
	margin-top: 20px;
}
@media (min-width:769px){
	.main-image-wrap {
		display: flex;
		background-size: cover;
		align-items: center;
		height: 680px;
		margin-bottom: 50px;
	}
	.main-image-area {
		position: relative;
		width: 1100px;
		padding: 0;
		margin: 0 auto;
	}
	.main-image-area figure {
		text-align: center;
	}
	.lead-txt {
		text-align: left;
		font-size: 2.2rem;
		font-weight: bold;
		line-height: 1.7;
		padding: 0 30px;
		margin-top: 50px;
	}
}



/* その1. 吸収性をアップ！γオリゴ糖
   ====================================== */
.sec-03-block {
	margin-top: 20px;
}
.sec-03-block figure {
	margin-top: 20px;
}
.sec-03-block .movie p {
	font-size: 1.2rem;
	text-align: center;
	margin-top: 1em !important;
}
@media (min-width:769px){
	.sec-03-block {
		display: flex;
		margin-top: 40px;
	}
	.sec-03-block figure {
		flex: 1;
		margin-top: 0;
	}
	.sec-03-block .movie {
		margin: 0 0 0 30px;
	}
	.sec-03-block .movie p {
		font-size: 1.8rem;
	}
}

/* youtube
   ====================================== */
.yt-wrap {
  position: relative;
  height: 0;
  padding-bottom: 56.25%; 
  overflow: hidden;
  margin-top: 10px;
}
.yt-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (min-width:768px) {
  .yt-wrap {
    /*height: 304px;*/
    height: 357px;
    padding-bottom: 0;
    margin-top: 0;
    overflow: visible;
  }
  .yt-wrap iframe {
    position: relative;
    width: 540px;
    /*height: 304px;*/
    height: 357px;
  }
}



/* その1. 吸収性をアップ！γオリゴ糖
   ====================================== */
.sec-05-block_01 {
	margin-top: 20px;
}
.sec-05-block_02 {
	margin-top: 30px;
}
.sec-05-block_01 figure,
.sec-05-block_02 figure {
	margin-top: 20px;
}
.sec-05-block_01 figcaption,
.sec-05-block_02 figcaption {
	font-size: 1.2rem;
	text-align: center;
	margin-top: 1em !important;
}
@media (min-width:769px){
	.sec-05-block_01,
	.sec-05-block_02 {
		display: flex;
		margin-top: 40px;
	}
	.sec-05-block_02 {
		align-items: flex-end;
	}
	.sec-05-block_01 figure,
	.sec-05-block_02 figure {
		flex: 1;
		margin-top: 0;
	}
	.sec-05-block_01 figure:last-of-type,
	.sec-05-block_02 figure:last-of-type {
		margin: 0 0 0 30px;
	}
	.sec-05-block_01 figcaption,
	.sec-05-block_02 figcaption {
		font-size: 1.8rem;
	}
}



/* けいじ先生
   ====================================== */
.teacher {
	margin-top: 20px;
}
.teacher-conts {
	top: 30px;
	width: 100%;
	background: url("../img/gcd-bg-3.png");
	box-shadow: 0 4px 0px 0px rgba(0,0,0,0.1);
}
.teacher-conts .inner {
	padding: 20px;
}
.teacher-conts .inner > figure {
	text-align: center;
}
.teacher-conts .inner > figure img {
	width: 80%;
}
.teacher-conts-block {
	margin-top: 20px;
}
.teacher-conts-block .txt div {
	line-height: 1.7;
}
.teacher-conts-block .txt .name {
	font-size: 2.2rem;
	font-weight: bold;
	margin-bottom: 10px;
}
.teacher-conts-block .txt table {
	margin: 10px 0;
}
.teacher-conts-block .txt th {
	text-align: left;
	padding-right: 20px;
}
.teacher-conts-block .txt th,
.teacher-conts-block .txt td {
	line-height: 1.7;
}
.teacher-conts-block .link {
	display: flex;
	justify-content: space-between;
	line-height: 1.7;
}
.teacher-conts-block figure {
	text-align: center;
	margin-top: 20px;
}
@media (min-width:769px){
	.teacher {
		position: relative;
		margin-top: 60px;
	}
	.teacher > figure {
		position: absolute;
		top: 0;
		left: 50%;
		z-index: 5;
		transform: translateX(-50%);
		background-color: transparent;
	}
	.teacher-conts {
		position: absolute;
		top: 30px;
		box-shadow: 0 6px 0px 0px rgba(0,0,0,0.1);
	}
	.teacher-conts .inner {
		width: 1100px;
		padding: 126px 40px 40px 40px;
		margin: 0 auto;
	}
	.teacher-conts-block {
		display: flex;
	}
	.teacher-conts-block .txt {
		flex: 1;
	}
	.teacher-conts-block .txt .name {
		font-size: 3.4rem;
		margin-bottom: 20px;
	}
	.teacher-conts-block .txt table {
		margin: 20px 0 0 0;
	}
	.teacher-conts-block .txt th {
		padding-right: 30px;
	}
	.teacher-conts-block .link {
		display: block;
		margin-top: 10px;
	}
	.teacher-conts-block .link a {
		display: inline-block;
		margin-top: 10px;
	}
	.teacher-conts-block figure {
		margin: 0 0 0 40px;
	}
}
