html {
	margin: 0;
	padding: 0;
	font-weight: 500;
	color:#333;
}

body {
	-webkit-text-size-adjust: 100%;
	font-family: 'Noto Sans Japanese',"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
	font-weight: 500;
	color:#333;
}

.en {
	font-family: "Montserrat", sans-serif;
}

#wrapper {
	width: 100%;
	min-width:320px;
}

.unpinned {
  -webkit-transform: translateY(-150%);
  transform: translateY(-150%);
}

/* ------------------------------
コンテンツベース
------------------------------ */

.bg {
	width: 100%;
}

.bg_red {
	background:#770000;
}

.bg_glay {
	background:#F2F2F2;
}

.bg_history {
	min-width:1200px;
	background: url(../images/base/history.jpg);
	background-size: cover;
}

@media print, screen and (max-width:1200px) {

.bg_history {
	min-width:auto;
}

}

.contents {
	width: 100%;
	min-width:1200px;
}

.box {
	width:1200px;
	margin-right: auto;
	margin-left: auto;
	padding-top:80px;
	padding-bottom:80px;
}

.title {
	width:100%;
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
	margin-bottom:40px;
}

.title .ja {
	display: block;
	width:100%;
	font-size:28px;
	font-weight: bold;
	letter-spacing:1px;
}

.title .en {
	display: block;
	width:100%;
	font-size:44px;
	font-weight: bold;
	letter-spacing:3px;
	color:#770000;
	margin-bottom:20px;
}

.lead_txt {
	display: block;
	width:100%;
	text-align:center;
	font-size:16px;
	line-height:2;
	font-weight: bold;
	letter-spacing:1px;
}

.txt {
	font-size:16px;
	line-height:2;
}

.flex {
	display: flex;
	justify-content:space-between ;
}

@media print, screen and (max-width:1200px) {

.contents {
	min-width: auto;
}

.box {
	width:100%;
	padding-left:20px;
	padding-right:20px;
}

}

@media screen and (max-width:767.98px) {

.box {
	padding-top:60px;
	padding-bottom:60px;
	padding-left:20px;
	padding-right:20px;
}

.title {
	margin-bottom:30px;
}

.title .en {
	font-size:34px;
}

.title .ja {
	font-size:22px;
}

}

/* ------------------------------
メインビジュアル
------------------------------ */

#main_visual {
	width:100%;
	position:relative;
	background:#333;
}

.overlay {
	background: rgba(0,0,0,0.2);
	position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
    z-index: 1;
	transition: all 1000ms linear 0s;
}

.rev {
	background: #fff;
}

.logo {
	/*margin-top:-100px;*/
	width: 100%;
	opacity: 0;
}

.logo img{
	width:250px;
	display:block;
	margin:0 auto;
}

.main_lead {
	width: 100%;
	transition: all 1000ms linear 0s;
	opacity: 0;
}

.main_lead h1{
	width: 100%;
}

.main_lead h1 img{
	display:block;
	margin:0 auto;
}

@media screen and (max-width: 1000px) {

.main_lead h1 img{
	width:100%;
	padding:0 30px;
}

}

.main_txt {
	width: 100%;
	opacity: 0;
}

.main_txt h2 {
  font-size: 26px;
  letter-spacing:2px;
  line-height:1.8;
  font-weight:bold;
  color:#FFF;
  text-align: center;
  text-shadow: 3px 1px 8px #000000;
}

.shadow{
	filter: drop-shadow(5px 5px 5px #333);
}

.shadow_w{
	filter: drop-shadow(0px 0px 9px #FFF);
}


#ri-grid ul li{
	background-color: #fff;	
}

#ri-grid ul li:nth-child(n+13) {
	display: none;
}

#ri-grid ul li a {
	background-size: cover;
	background-image: url(../images/top/000.jpg);
}

#ri-grid ul li a img {
	transition: all 500ms linear 0s;
	opacity: 0;
	width:100%;
}

@media screen and (max-width:767.98px) {

.logo img{
	width:250px;
}

.main_txt h2 {
  font-size: 20px;
  padding:0 20px;
}

}

@media screen and (max-width:479.98px) {

#ri-grid ul li:nth-child(n+7) {
	display: none;
}

}



/* ------------------------------
 ご挨拶
------------------------------ */

.greeting {
	padding:120px 180px;
	background:#FFF;
}

.greeting_title {
	width:100%;
	position: relative;
	font-size:40px;
	font-weight:bold;
	text-align:center;
	margin-bottom:60px;
}

.greeting_title:after  {
  content: "";
  margin: 30px auto 0;
  display: block;
  width: 240px;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(25deg, #770000, #770000); 
}

.flex{
	width: 100%;
	display: flex;
	justify-content: space-between;
}

div.flex_img{
	flex-shrink: 0;
	width:260px;
}

div.flex_img img{
	width:100%;
	margin:0;
	padding:0;
}

div.flex_text{
	flex-grow: 1;
}

@media print, screen and (max-width:1200px) {

.greeting {
	padding:120px 60px;
}

}

@media screen and (max-width:767.98px) {

.greeting {
	padding:60px 25px;
}

.greeting_title {
	font-size:26px;
	margin-bottom:30px;
}

.greeting_title:after  {
  margin: 20px auto 0;
  width: 200px;
  height: 4px;
}

.flex{
	display:flex;
	flex-flow: column;
}

div.flex_img{
	width:100%;
	margin-bottom:20px;
}

div.flex_img img{
	width:100%;
	margin:0;
	padding:0;
}

}

/* ------------------------------
 歴史
------------------------------ */

.history {
	width:100%;
	display: flex;
	flex-flow: column;
	justify-content: center;
}

.his_btn{
	width:180px;
	margin:10px auto 0;
	font-size:30px;
	font-weight:bold;
	color:#FFF;
	background:#666666;
	padding:15px;
	text-align:center;
	transition: color 0.5s;
	transition: background-color 0.5s;
}
.close{
	background:#770000;
}

.his_child{
	width:100%;
	display:none;
	background:#FFF;
	margin-top:40px;
	margin-bottom:40px;
	
}

.his_child li{
	width:100%;
	display: flex;
	align-items: flex-start;
	padding:30px 40px;
	border-bottom:solid 1px #770000;
}

.his_child li:last-child{
	border-bottom:none;
}

.his_child li .his_year{
	width:130px;
	margin-right:30px;
	display:block;
	text-align:center;
	background:#770000;
	padding:5px;
	font-weight:bold;
	color:#FFF;
}

.his_child li .his_year span{
	font-size:22px;
}

.his_child li p{
	flex:1;
	font-size:20px;
	font-weight:bold;
	padding-top:5px;
}

@media screen and (max-width:767.98px) {

.his_child li{
	width:100%;
	display: flex;
	flex-flow: column;
	padding:0;
}
.his_child li .his_year{
	margin:0;
}

.his_child li .his_year span{
	font-size:20px;
}

.his_child li p{
	width:100%;
	font-size:16px;
	padding:15px;
}

}

/* ------------------------------
卒業生インタビュー
------------------------------ */

.ineterview_list {
	width:100%;
	list-style:none;
	display: flex;
	flex-wrap: wrap;
}

.ineterview_list li {
	display:block;
	width:25%;
	padding:0 12px;
	margin-bottom:30px;
}

.ineterview_list li a {
	width:100%;
	display: flex;
	flex-flow: column;
	justify-content: center;
	text-decoration: none;
	color:#333;
}

.ineterview_list li a span.ineterview_img {
	display:block;
	width:100%;
	border: solid 1px #FFF;
}

.ineterview_list li a span.ineterview_img img{
	width:100%;
}

.ineterview_list li a span.ineterview_name {
	display:block;
	margin-top:10px;
	width:100%;
	text-align:center;
	font-size:18px;
	font-weight:bold;
	color:#FFF;
}

.ineterview_list li a h5 {
	display:flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
	text-align:center;
	width:100%;
	font-size:16px;
	font-weight:bold;
	margin-top:20px;
	color: #DFD6BF;
}

@media print, screen and (max-width:1200px) {

.ineterview_list li {
	width:25%;
	padding:0 10px;
}

}

@media screen and (max-width:767.98px) {

.ineterview_list li {
	width:50%;
}

.ineterview_list li a span.ineterview_name {
	font-size:15px;
}

.ineterview_list li a h5 {
	font-size:13px;
	color: #B19962;
}

}

/* ------------------------------
卒業生インタビュー詳細
------------------------------ */

section#interview .box{
	width:1000px;
	margin-right: auto;
	margin-left: auto;
	padding-top:40px;
	padding-bottom:40px;
}

section#interview ul{
	list-style:none;
	width: 100%;
	display:flex;
	flex-flow: column;
}

section#interview ul li{
	width: 100%;
	margin-top: 40px;
	display: flex;
	justify-content: space-between;
}

section#interview ul li div.i_img{
	flex-shrink: 0;
	width:480px;
}

section#interview ul li div.i_img img{
	width:100%;
	margin:0;
	padding:0;
}

section#interview ul li div.i_text{
	flex-grow: 1;
}

section#interview ul li div.i_text h3{
	margin:0;
	padding:0;
	border:none;
	display:flex;
	align-items: center;
	font-size: 18px;
	line-height: 1.4;
	font-weight: 500;
	color:#000;
	border:solid 1px #CCC;
	padding:15px 20px 15px;
	margin-bottom:20px;
}

section#interview ul li div.i_text h3 span{
	margin:0;
	padding:0;
	font-size: 32px;
	line-height: 1.4;
	font-weight: 700;
	color: #770000;
	margin-right:20px;
	margin-top:-4px;
}	

section#interview ul li div.i_text p{
	margin:0;
	padding:0;
	border:none;
	align-items: center;
	font-size: 16px;
	line-height: 1.9;
	font-weight: normal;
	padding:18px 25px;
	background:#F3F0E9;
}

section#interview ul li div.i_text p strong{
	font-weight:bold;
}

section#interview ul li div.t_text{
	flex-grow: 1;
}

section#interview ul li div.t_text p{
	display:block;
	margin:0;
	padding:0;
	border:none;
	align-items: center;
	font-size: 16px;
	line-height: 1.8;
	font-weight: normal;
	padding:18px 10px;
}

section#interview ul li div.t_text p strong{
	font-weight:bold;
}

.rr { 
	flex-direction: row-reverse;
}

.ml-40 { 
	margin-left:40px;
}

.mr-40 { 
	margin-right:40px;
}

@media screen and (max-width:767.98px) {

section#interview .box{
	width:100%;
}

section#interview ul{
	list-style:none;
	width: 100%;
	display:flex;
	flex-flow: column;
}

section#interview ul li{
	width:100%;
	margin-top: 30px;
	display: flex;
	flex-flow: column;
}

section#interview ul li div.i_img{
	width:100%;
	margin-bottom:20px;
}

section#interview ul li div.i_img img{
	width:100%;
	margin:0;
	padding:0;
}

section#interview ul li div.i_text{
	flex-grow: 1;
}

section#interview ul li div.i_text h3{
	margin:0;
	padding:0;
	border:none;
	display:flex;
	align-items: center;
	font-size: 18px;
	line-height: 1.4;
	font-weight: 500;
	color:#000;
	border:solid 1px #CCC;
	padding:15px 20px 15px;
	margin-bottom:20px;
}

section#interview ul li div.i_text h3 span{
	font-size: 28px;
	margin-right:20px;
	margin-top:-4px;
}	

section#interview ul li div.i_text p{
	padding:15px 20px;
}

section#interview ul li div.t_text{
	flex-grow: 1;
}

section#interview ul li div.t_text p{
	padding:10px 0px;
}

.rr { 
}

.ml-40 { 
	margin-left:0;
}

.mr-40 { 
	margin-right:0;
}

}

/* ------------------------------
お祝いメッセージ
------------------------------ */

.celebration_list {
	width:100%;
	list-style:none;
	display: flex;
	flex-wrap: wrap;
}

.celebration_list li {
	display:block;
	width:25%;
	padding:0 12px;
	margin-bottom:30px;
}

.celebration_list li a {
	width:100%;
	display: flex;
	flex-flow: column;
	justify-content: center;
	text-decoration: none;
	color:#333;
}

.celebration_list li a span.cele_img {
	display:block;
	width:100%;
	border: solid 1px #770000;
}

.celebration_list li a span.cele_img img{
	width:100%;
}

.celebration_list li a span.cele_name {
	display:block;
	width:100%;
	text-align:center;
	font-size:18px;
	font-weight:bold;
}

.celebration_list li a h5 {
	display:flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
	text-align:center;
	height:40px;
	width:100%;
	font-size:16px;
	font-weight:bold;
	margin-top:10px;
	color: #B19962;
}

@media print, screen and (max-width:1200px) {

.celebration_list li {
	width:25%;
	padding:0 10px;
}

}

@media screen and (max-width:767.98px) {

.celebration_list li {
	width:50%;
}

.celebration_list li a span.cele_name {
	font-size:15px;
}

.celebration_list li a h5 {
	font-size:13px;
	color: #B19962;
}

}

.modal_open{
	cursor:pointer;
}
 
.modal_box {
    position: fixed;
    z-index: 7777;
	display: flex;
	flex-flow: column;
	justify-content: center;
    display: none;
    width: 83%;
    max-width: 800px;
	max-height: calc(100vh - 100px);
	overflow-y:scroll;
    -ms-overflow-style: none;
    scrollbar-width: none; 
    margin: 0;
    padding: 60px 30px 80px;
    border: 2px solid #aaa;
    text-align: center;
    background: #fff;
}

.modal_box::-webkit-scrollbar {  /* Chrome, Safari 対応 */
	display:none;
}

.modal_box h4 {
	width:100%;
	font-size:22px;
	font-weight:bold;
	margin-bottom:20px;
}

.modal_box h5 {
	width:100%;
	font-size:18px;
	font-weight:bold;
	margin-bottom:20px;
	color:#B19962;
}

.modal_box p {
	width:100%;
	display:block;
	font-size:16px;
	text-align:left;
}

.modal_close {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 30px;
    font-size: 30px;
    color: #000;
    line-height: 30px;
    text-align: center;
    background: #e6e6e6;
	cursor:pointer;
}
 
.modal_close i {
    line-height: 30px;
    vertical-align: bottom;
}
 
.modal_bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 6666;
    display: none;
    width: 100%;
    height: 120%;
    background-color: rgba(0,0,0,0.7);
}
 
.link_area {
    overflow: hidden;
    max-width: 320px;
    margin: 40px auto 0;
}

.link_area ul{
	display: flex;
	justify-content: center;
}

.link_area .modal_link {
    display: block;
}
 
.link_area .modal_link a {
    display: block;
    width: 120px;
    color: #000;
    line-height: 2.5;
    text-decoration: none;
    margin: 0 10px;
    background: #e6e6e6;
	text-align:center;
	cursor:pointer;
}

.link_area .modal_link a {
    display: block;
    width: 120px;
    color: #000;
    line-height: 2.5;
    text-decoration: none;
    margin: 0 10px;
    background: #e6e6e6;
	text-align:center;
	cursor:pointer;
}
 
@media screen and (max-width: 769px) {
 
  .modal_box {
      padding: 50px 15px 40px;
  }
 
  .modal_close {
      width: 40px;
      line-height: 40px;
      font-size: 30px;
  }
 
  .modal_close i {
      line-height: 44px;
  }
 
  .link_area {
      margin: 25px auto 0;
  }
 
}

/* ------------------------------
 メッセージ
------------------------------ */

.message {
	width:100%;
	padding:0 20px 60px;
	display: flex;
	flex-wrap: wrap;
}

.mes_txt {
	width:100%;
	text-align:center;
	font-size:18px;
	font-weight:bold;
	color:#FFF;
	margin-bottom:20px;
}

.mes_btn {
	width:1200px;
	margin:0 auto;
	display: flex;
	justify-content: center;
	margin-bottom:30px;
}

.mes_btn button{
	width:23%;
	margin-left:1%;
	margin-right:1%;
	font-size:30px;
	font-weight:bold;
	color:#FFF;
	padding:20px;
	text-align:center;
	border:solid 1px #FFF;
	transition: color 0.5s;
	transition: background-color 0.5s;
}

.mes_btn button:hover{
	color:#770000;
	background:#FFF;
}

.mes_box {
	display: flex;
	width:25%;
	padding:4px;
}

.mes_box div {
	width:100%;
	display: flex;
	flex-flow: column;
	background:rgba(255,255,255,0.98);
	padding:30px 15px;
	border-radius: 20px;
}

.mes_box div h5 {
	width:100%;
	font-size:16px;
	font-weight:bold;
	letter-spacing:1px;
	color:#770000;
	padding-left:10px;
	margin-bottom:15px;
}

.mes_box div p {
	display:block;
	width:100%;
	font-size:14px;
	line-height:2;
}

@media print, screen and (max-width:1200px) {

.mes_btn {
	width:100%;
}

.mes_btn button{
	font-size:26px;
	padding:10px 15px;
}

.mes_box {
	width:33.333%;
}

}

@media screen and (max-width:767.98px) {

.mes_btn {
	display: flex;
	flex-flow: column;
	margin-bottom:0;
}

.mes_btn:last-child {
	margin-bottom:30px;
}

.mes_btn button{
	width:100%;
	font-size:22px;
	padding:10px;
	border-bottom:none;
}

.mes_btn button.bbw {
	border-bottom: solid 1px #FFF;
}

.mes_box {
	width:100%;
}

}

/* ------------------------------
フッター
------------------------------ */

footer {
	width:100%;
}

.footer {
	width:1200px;
	margin:0 auto;
	padding:40px 20px;
	display: flex;
	flex-flow: column;
	justify-content: center;
}

.footer_main {
	display: flex;
	flex-flow: column;
	justify-content: center;
	width:100%;
}

.footer_main .footer_logo {
	width:300px;
	margin:0 auto;
}

.footer_main .footer_logo img {
	width:100%;
}

.footer_list  {
	width:100%;
	display: flex;
	justify-content: center;
	margin-top:20px;
}

.footer_list li {
	font-size:14px;
}

.footer_list li a{
	color:#333;
}

@media print, screen and (max-width:1200px) {

.footer {
	width:100%;
}

}

@media screen and (max-width:767.98px) {

.footer {
	padding:30px 20px;
}

.footer_main .footer_logo {
	width:200px;
}

}

.pc { display:block; }
.sp { display:none; }

@media screen and (max-width:767.98px) {
  .pc { display:none; }
  .sp { display:block; }
}

/* br */

.pcbr { display:inline; }
.spbr { display:none; }

@media screen and (max-width:767.98px) {
  .pcbr { display:none; }
  .spbr { display:inline; }
}

/* scrollin */
.fadein {
	opacity : 0;
	transform : translate(0, 60px);
	transition : all 500ms;
	}

.fadein.scrollin {
	opacity : 1;
	transform : translate(0, 0);
	}

/* page_top */
#page_top{
	width: 40px;
	height: 40px;
	position: fixed;
	right: 0;
	bottom: 10px;
	background: #B19962;
	opacity: 0.8;
	display:none;
}
#page_top a{
	position: relative;
	display: block;
	width: 40px;
	height: 40px;
	text-decoration: none;
}

#page_top a::after{
	content: '▲';
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	position: absolute;
	top: 10px;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
}