@charset "utf-8";

@media screen and (min-width:1100px) {
/* ============================================
 * ページタイトル 
============================================ */
	.contents_title {
		width: 1300px;
		margin: auto auto 30px auto;
	}

/* ============================================
 * 留学の体験談 
============================================ */
	.voice {
		width: 1000px;
		margin: auto auto 30px auto;
		padding-top: 60px;
		margin-top: -60px;
	}
	.voice h2 {
		margin-bottom: 24px;
	}
	.voice ul,
	.voice ul li {
		margin: 0;
		padding: 0;
	}
	.voice ul li {
		display: inline-block;
		width: 302px;
		height: 160px;
		margin-right: 8px;
		margin-bottom: 8px;
		background: #fff4df;
		overflow: hidden;
	}
	.voice ul li .photo {
		float: left;
		width: 100px;
		margin: 15px 0 15px 15px;
	}
	.voice ul li .photo p {
		font-size: 12px;
		line-height: 24px;
		text-align: center;
	}
	.voice ul li .data  {
		float: right;
		width: 157px;
		margin: 18px 15px 15px 15px;
		font-size: 14px;
		border-radius: 50%; line-height: 18px;
	}
	.voice ul li .data h3 {
font-size: 12px;
		font-weight: bold;
		color: #d40a29;
	}
	.voice ul li .data .text {
		margin-bottom: 6px;
		font-size: 12px;
		line-height: 16px;
		color: #221815;
	}
	.voice ul li .data .btn {
	}
	.voice ul li:nth-child(3n) {
		margin-right: 0;
	}
	
/*ポップアップ*/
.popup {
	display:  none;
	margin: auto;
	width: 620px;
}
.popup .inner {
	width: 100%;
	height: 512px;
	overflow: auto;
}
.popupInner {
	width: 540px;
	margin: auto;
}
.popup .popupInner .photo {
	float: left;
	width: 100px;
	margin: 30px 0 15px 0;
}
.popup .popupInner .photo img {
  width:100px;   
  height:auto;
}
.popup .popupInner .data {
	float: right;
	width: 360px;
	margin: 30px 0 15px 0;
}
.popup .popupInner .data .title {
	padding-bottom: 12px;
	border-bottom: 1px solid #afafaf;
	font-size: 20px;
	line-height: 27px;
}
.popup .popupInner .data .name {
	margin-top: 18px;
	font-size: 16px;
	line-height: 24px;
}
.popup .popupInner .moreText {
	clear: both;
}
.popup .popupInner .moreText .readText {
font-size: 14px;
		font-weight: bold;
		color: #d40a29;
}
.popup .popupInner .moreText h4 {
		font-size: 15px;
		font-weight: bold;
		margin-top: 8px;
		border-bottom: solid 1px;
}
}

.popup .popupInner {
  font-size: 14px;      /* 本文の基本サイズ */
  line-height: 1.7;     /* 行間を広めに */
}

.popup .popupInner p {
  margin: 0 0 1em;      /* 段落の間隔 */
}

.popup .popupInner h4 {
  margin: 1.2em 0 .6em; /* 見出しの余白 */
}


@media screen and (min-width:760px) and (max-width:1099px) {
/* ============================================
 * ページタイトル 
============================================ */
	.contents_title {
		width: 660px;
		margin: auto auto 30px auto;
	}
	.contents_title img {
		width: 100%;
	}
/* ============================================
 * お客様の声 
============================================ */
	.voice-menu {
		width: 660px;
		margin: auto auto 15px auto;
		background: #ffa200;
		overflow: hidden;
	}
	.voice-menu h2 {
		float: none;
		width: 100px;
		margin: 10px 10px 0 10px;
	}
	.voice-menu h2 img {
		width: 100%;
	}
	.voice-menu ul {
		float: none;
		width: 600px;
		margin: 5px 0 0 60px;
		padding: 0;
		overflow: hidden;
	}
	.voice-menu ul li {
		float: left;
		width: 200px;
		margin-right: 5px;
		margin-bottom: 10px;
		padding-left: 70px;
		font-size: 12px;
		line-height: 30px;
	}
	.voice-menu ul li:nth-child(even) {
		margin-right: 0;
	}
	.voice-menu ul li#n_voice_1 {
		background: url(../images/taiken/voice_1.png) no-repeat;
		background-size: 60px 30px;
	}
	.voice-menu ul li#n_voice_2 {
		background: url(../images/taiken/voice_2.png) no-repeat;
		background-size: 60px 30px;
	}
	.voice-menu ul li#n_voice_3 {
		background: url(../images/taiken/voice_3.png) no-repeat;
		background-size: 60px 30px;
	}
	.voice-menu ul li#n_voice_4 {
		background: url(../images/taiken/voice_4.png) no-repeat;
		background-size: 60px 30px;
	}
	.voice-menu ul li#n_voice_5 {
		background: url(../images/taiken/voice_5.png) no-repeat;
		background-size: 60px 30px;
	}
	.voice-menu ul li#n_voice_6 {
		background: url(../images/taiken/voice_6.png) no-repeat;
		background-size: 60px 30px;
	}
	.voice-menu ul li#n_voice_7 {
		background: url(../images/taiken/voice_7.png) no-repeat;
		background-size: 60px 30px;
	}
	.voice-menu ul li#n_voice_8 {
		background: url(../images/taiken/voice_8.png) no-repeat;
		background-size: 60px 30px;
	}	

/* ============================================
 * 語学留学の体験談 
============================================ */
	.voice {
		width: 660px;
		margin: auto auto 15px auto;
	}
	.voice h2 {
		margin-bottom: 24px;
	}
	.voice ul,
	.voice ul li {
		margin: 0;
		padding: 0;
	}
	.voice ul li {
		display: inline-block;
		width: 320px;
		height: 200px;
		margin-right: 10px;
		margin-bottom: 10px;
		background: #fff4df;
		overflow: hidden;
	}
	.voice ul li:nth-child(even) {
		margin-right: 0;
	}
	.voice ul li .photo {
		float: left;
		width: 100px;
		margin: 18px 0 15px 10px;
	}
	.voice ul li .photo img {
		width: 100%;
	}
	.voice ul li .photo p {
		font-size: 14px;
		line-height: 24px;
		text-align: center;
	}
	.voice ul li .data  {
		float: right;
		width: 176px;
		margin: 18px 10px 15px 10px;
		font-size: 14px;
		line-height: 18px;
	}
	.voice ul li .data h3 {
		font-weight: bold;
		color: #d40a29;
	}
	.voice ul li .data .text {
		margin-bottom: 6px;
		font-size: 14px;
		line-height: 18px;
		color: #221815;
	}
	.voice ul li .data .btn {
	}
	.voice ul li:nth-child(3n) {
		margin-right: 0;
	}


/*ポップアップ*/
.popup {
	display:  none;
	margin: auto;
	width: 620px;
}
.popup .inner {
	width: 100%;
	height: 512px;
	overflow: auto;
}
.popupInner {
	width: 540px;
	margin: auto;
}
.popup .popupInner .photo {
	float: left;
	width: 140px;
	margin: 30px 0 15px 0;
}
.popup .popupInner .data {
	float: right;
	width: 360px;
	margin: 30px 0 15px 0;
}
.popup .popupInner .data .title {
	padding-bottom: 12px;
	border-bottom: 1px solid #afafaf;
	font-size: 20px;
	line-height: 27px;
}
.popup .popupInner .data .name {
	margin-top: 18px;
	font-size: 16px;
	line-height: 24px;
}
.popup .popupInner .moreText {
	clear: both;
}
.popup .popupInner .moreText .readText {
		font-weight: bold;
		color: #d40a29;
}.popup .popupInner .moreText h4 {
		font-size: 13px;
		font-weight: bold;
		margin-top: 8px;
		border-bottom: solid 1px;
}
}


@media screen and (max-width:759px) {
/* ============================================
 * ページタイトル 
============================================ */
	.contents_title {
		width: 100%;
		margin: auto auto 15px auto;
	}
	.contents_title img {
		width: 100%;
	}
/* ============================================
 * お客様の声 
============================================ */
	.voice-menu {
		width: 95%;
		margin: auto auto 30px auto;
		background: #ffa200;
		overflow: hidden;
	}
	.voice-menu h2 {
		float: none;
		width: 100px;
		margin: 10px 10px 0 10px;
	}
	.voice-menu h2 img {
		width: 100%;
	}
	.voice-menu ul {
		float: none;
		width: 90%;
		margin: 5px 0 0 30px;
		padding: 0;
		overflow: hidden;
	}
	.voice-menu ul li {
		float: left;
		width:160px;
		margin-right: 5px;
		margin-bottom: 10px;
		padding-left: 60px;
		font-size: 12px;
		line-height: 20px;
	}
	.voice-menu ul li a {
		display: block;
	}
	.voice-menu ul li:nth-child(even) {
		margin-right: 0;
	}
	.voice-menu ul li#n_voice_1 {
		background: url(../images/taiken/voice_1.png) no-repeat;
		background-size: 50px 20px;
	}
	.voice-menu ul li#n_voice_2 {
		background: url(../images/taiken/voice_2.png) no-repeat;
		background-size: 50px 20px;
	}
	.voice-menu ul li#n_voice_3 {
		background: url(../images/taiken/voice_3.png) no-repeat;
		background-size: 50px 20px;
	}
	.voice-menu ul li#n_voice_4 {
		background: url(../images/taiken/voice_4.png) no-repeat;
		background-size: 50px 20px;
	}
	.voice-menu ul li#n_voice_5 {
		background: url(../images/taiken/voice_5.png) no-repeat;
		background-size: 50px 20px;
	}
	.voice-menu ul li#n_voice_6 {
		background: url(../images/taiken/voice_6.png) no-repeat;
		background-size: 50px 20px;
	}
	.voice-menu ul li#n_voice_7 {
		background: url(../images/taiken/voice_7.png) no-repeat;
		background-size: 50px 20px;
	}
	.voice-menu ul li#n_voice_8 {
		background: url(../images/taiken/voice_8.png) no-repeat;
		background-size: 50px 20px;
	}

/* ============================================
 * 語学留学の体験談 
============================================ */
	.voice {
		width: 300px;
		margin: auto auto 30px auto;
		padding-top: 120px;
		margin-top: -120px;
	}
	.voice h2 {
		width: 100%;
		margin-bottom: 6px;
	}
	.voice h2 img {
		width: 100%;
	}
	.voice ul,
	.voice ul li {
		margin: 0;
		padding: 0;
	}
	.voice ul li {
		display: inline-block;
		width: 300px;
		height: 180px;
		margin-right: 10px;
		margin-bottom: 10px;
		background: #fff4df;
		overflow: hidden;
	}
	.voice ul li:nth-child(even) {
		margin-right: 0;
	}
	.voice ul li .photo {
		float: left;
		width: 90px;
		margin: 18px 0 15px 10px;
	}
	.voice ul li .photo img {
		width: 100%;
	}
	.voice ul li .photo p {
		font-size: 14px;
		line-height: 24px;
		text-align: center;
	}
	.voice ul li .data  {
		float: right;
		width: 176px;
		margin: 18px 10px 15px 10px;
		font-size: 14px;
		line-height: 18px;
	}
	.voice ul li .data h3 {
		font-weight: bold;
		color: #d40a29;
	}
	.voice ul li .data .text {
		margin-bottom: 6px;
		font-size: 14px;
		line-height: 18px;
		color: #221815;
	}
	.voice ul li .data .btn {
	}
	.voice ul li:nth-child(3n) {
		margin-right: 0;
	}
	
/*ポップアップ*/
.popup {
	display:  none;
	margin: auto;
	width: 100%;
}
.popup .inner {
	width: 100%;
	height: 400px;
	overflow: auto;
}
.popupInner {
	width: 90%;
	margin: auto;
}
.popup .popupInner .photo {
	float: left;
	width: 100px;
	margin: 30px 0 15px 0;
}
	.popup .popupInner .photo img {
		width: 100%;
  height: auto;
	}
.popup .popupInner .data {
	float: right;
width: calc(100% - 100px); 
	margin: 30px 0 15px 20px;
}
.popup .popupInner .data .title {
	padding-bottom: 6px;
	border-bottom: 1px solid #afafaf;
	font-size: 18px;
	line-height: 21px;
}
.popup .popupInner .data .name {
	margin-top: 9px;
	font-size: 14px;
	line-height: 21px;
}
.popup .popupInner .moreText {
	clear: both;
}
.popup .popupInner .moreText .readText {
		font-weight: bold;
		color: #d40a29;
}.popup .popupInner .moreText h4 {
		font-size: 13px;
		font-weight: bold;
		margin-top: 8px;
		border-bottom: solid 1px;
}
}
@media screen and (max-width:380px) {
/*ポップアップ*/
.popup {
	display:  none;
	margin: auto;
	width: 95%;
}
.popup .inner {
	width: 100%;
	height: 80vh;
	overflow: auto;
}
.popupInner {
	width: 95%;
	margin: auto;
}
.popup .popupInner .photo {
	float: left;
	width: 100px;/* ←ここで写真のサイズを変更したら、必ず下のcalcも同じ数値に変更すること */
	margin: 30px 0 15px 0;
}
	.popup .popupInner .photo img {
		width: 100%;
	}
.popup .popupInner .data {
	float: right;
	width: calc(100% - 100px - 15px); 
	margin: 30px 0 15px 15px;
}
.popup .popupInner .data .title {
	padding-bottom: 6px;
	border-bottom: 1px solid #afafaf;
	font-size: 18px;
	line-height: 21px;
}
.popup .popupInner .data .name {
	margin-top: 9px;
	font-size: 14px;
	line-height: 21px;
}
.popup .popupInner .moreText {
	clear: both;
}
.popup .popupInner .moreText .readText {
		font-weight: bold;
		color: #d40a29;
}.popup .popupInner .moreText h4 {
		font-size: 13px;
		font-weight: bold;
		margin-top: 8px;
		border-bottom: solid 1px;
}
}

/* タイトル帯画像 */
@media screen and (max-width: 768px) {
  .contents_title {
    max-width: 100%;
    overflow: hidden;
  }

  .contents_title img.lazy {
    width: 100%;
    height: 100px;
    object-fit: cover;
    object-position: left center;
    display: block;
  }
}

.voice ul li .photo img {
  width: 100%;
  height: auto;
  display: block;
}

.program-card-title img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 1;
  object-fit: cover;
  display: block;
}

p.btn img{
  width:90px;   /* 横幅を画像本来のサイズに */
  height:auto;  /* 縦幅も画像本来のサイズに */
  margin-top:6px;
border-radius: 3px;
}

