@charset "UTF-8";
/******************************
 初期設定
******************************/
html {
  scroll-behavior: smooth; /*　スムーススクロール */
}


body {
  margin:0 auto;
  padding:0;
  width: 100vw;
  background-color:#ECE9E0;
  font-size: 16px;
  font-family: sans-serif;
  letter-spacing: 0.06em;
}

a{
	text-decoration: underline;
	color: #09F;
	text-align: center;
	font-family: sans-serif;
}

.link{
	color:#03C;
	text-decoration:underline;
}

/******************************
 header CSS
******************************/
.header {
  width: 100%;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

.sp-menu{
  display: none;
}

@media screen and (max-width: 768px) {
  .header {
    padding: 10px 0;
  }
}

.header__wrap {
  width: 85%;
  margin:0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


@media screen and (max-width: 768px) {
  .header__wrap {
    flex-direction: column;
    width: 100%;
  }
 
  .sp-menu{
  display: block;
}
  .sp-menu__box {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background: #3584bb;
}
.sp-menu__box span,
.sp-menu__box span:before,
.sp-menu__box span:after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #ffffff;
  position: absolute;
}
.sp-menu__box span:before {
  bottom: 8px;
}
.sp-menu__box span:after {
  top: 8px;
}
#sp-menu__check {
  display: none;
}
#sp-menu__check:checked ~ .sp-menu__box span {
  background: rgba(255, 255, 255, 0);
}
#sp-menu__check:checked ~ .sp-menu__box span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#sp-menu__check:checked ~ .sp-menu__box span::after {
  top: 0;
  transform: rotate(-45deg);
}
.sp-menu__list {
  padding: 70px 10px 0;
}
.sp-menu__item {
  border-bottom: solid 1px #ffffff;
  list-style: none;
}
.sp-menu__link {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 15px 10px 0;
}

/* ハンバーガーボタンを押してチェックがONの時だけ
   スマホ用メニューを画面左端に移動する */
#sp-menu__check:checked ~ .sp-menu__content {
  left: 0;
}
/* 変更箇所はコメントの項目のみ */
.sp-menu__content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;

  /* 普段は画面外にするために左端を画面右端の位置にする */
  left: 100%;

  z-index: 90;
  background-color: #3584bb;
  
  /* 右端からゆっくり移動するように表示 */
  transition: all 0.5s;
}
}

.header__logo {
  width: 63px;
  height: 63px;
}

@media screen and (max-width: 768px) {
  .header__logo {
    width: 63px;
    margin-bottom: 10px;
  }
}

.header__logo img{
  display: block;
  position:absolute;
}
.header__logo img[class="header_logo"]:hover {
content: url(../image/title/main_title.bottom.png);
position: relative;
top: 0;
left: 0;
}

.header__menu{
}
@media screen and (max-width: 768px) {
  .header__menu{
    width: 100%;
  }
}

.header__menu ul {
  display: flex;
 justify-content: right;
  align-items: right;
  list-style: none;
}
@media screen and (max-width: 768px) {
  .header__menu ul {
    width: 100%;
  }
}

.header__menu ul li {
  width: 105px;
  text-align: center;
  padding:0 1px;
}

@media screen and (max-width: 768px) {
  .header__menu ul li{
    width: calc(100% / 4);
  }
.header__menu ul li a{
  display: none;
}
}
@media screen and (max-width: 768px) {
  .header__menu ul li a{
    font-size: 13px;
  }
  
}

/* ページサブメニュー */

ul#contents_navi_sp{
	width:98%;
	height:22px;
	display:flex;
	flex-wrap: wrap;
	margin:25px 0 0 5px;
	padding:0;
	list-style:none;
	border-bottom:3px solid #663399;
}

#contents_navi_sp {
	margin:0;
	padding:0 2px 0 0;
	float:left;
}

#contents_navi_sp li a{
	width:63px;
	height:22px;
	margin:0;
	padding:0;
	display:block;
	text-indent:-9999px;
	text-decoration:none;
	overflow:hidden;
}

ul#contents_navi{
	width:88vw;
	height:35px;
	margin:15px 0 0 15px;
	padding:0 5px 0 10px;;
	list-style:none;
	border-bottom:3px solid #663399;
}

#contents_navi li{
	margin:0;
	padding:0 2px 0 0;
	float:left;
}

#contents_navi li a{
	width:100px;
	height:35px;
	margin:0;
	padding:0;
	display:block;
	text-indent:-9999px;
	text-decoration:none;
	overflow:hidden;
}



/* 由利明誠高等学院 */
#co_menu1 a{
	background:url(../image/menu/co_menu_01.s.png);
}

#co_menu1 a:hover{
	background-position:0 -22px;
}

/* 地域社会貢献 */
#co_menu2 a{
	background:url(../image/menu/co_menu_02.s.png);
}

#co_menu2 a:hover{
	background-position:0 -22px;
}

/* 夏季スポーツキャンプ */
#co_menu3 a{
	background:url(../image/menu/co_menu_03.s.png);
}

#co_menu3 a:hover{
	background-position:0 -22px;
}

/* 災害ボランティア */
#co_menu4 a{
	background:url(../image/menu/co_menu_04.s.png);
}

#co_menu4 a:hover{
	background-position:0 -22px;
}

/* 森林ボランティア */
#co_menu5 a{
	background:url(../image/menu/co_menu_05.s.png);
}

#co_menu5 a:hover{
	background-position:0 -22px;
}

/* 赤十字献血ボランティア */
#co_menu6 a{
	background:url(../image/menu/co_menu_06.s.png);
}

#co_menu6 a:hover{
	background-position:0 -22px;
}

/* 設立趣旨 */
#co_menu7 a{
	background:url(http://www.grape.or.jp/image/menu/co_menu_07.png);
}

#co_menu7 a:hover{
	background-position:0 -22px;
}

/* 活動趣旨(更新) */
#co_menu7-b a{
	background:url(http://www.grape.or.jp/image/menu/co_menu_7-b.png);
}

#co_menu7 a:hover{
	background-position:0 -22px;
}

/* 法人概要 */
#co_menu8 a{
	background:url(http://www.grape.or.jp/image/menu/co_menu_08.png);
}

#co_menu8 a:hover{
	background-position:0 -22px;
}

/* 児童自立援助ホーム概要 */
#co_menu9 a{
	background:url(../image/menu/co_menu_09.png);
}

#co_menu9 a:hover{
	background-position:0 -35px;
}

/* 施設案内 */
#co_menu10 a{
	background:url(../image/menu/co_menu_10.png);
}

#co_menu10 a:hover{
	background-position:0 -35px;
}


/**********************************
 main
**********************************/
.main{
	padding-top: 60px;
}
@media screen and (max-width: 768px) {
  .main {
    padding-top: 40px;
  }
}
.main section {
  width: 85%;
  margin:0 auto 20px;
}

.main__kv {
  width: auto;
  height: 70vh;
  display: flex;
  align-items: center;
  background: url(../image/back/grape.jpg) center/cover no-repeat;
  font:bold 20px/1.8 sans-serif;
  color:#FFFFFF;
  padding-left: 6%;
}
@media screen and (max-width: 768px) {
  .main__kv{
    height: 50vh;
    font-size: 18px;
  }
}

.main__about {
  padding: 0 10px 80px;
}
@media screen and (max-width: 768px) {
  .main__about {
    padding: 40px 0 10px;
  }
}

.main__about--ttl {
  margin-bottom:60px;
  text-align: center;
  color: #060606;
  font-size: 28px;
  letter-spacing: 4px;
  margin-bottom: 60px;
}
@media screen and (max-width: 768px) {
  .main__about--ttl {
    margin-bottom: 30px;
    font-size: 18px;
	font-weight: bold;
  }
}

.sub_title {
    margin-bottom: 10px;
    font-size: 18px;
	font-weight: bold;
}
.main__about--logo {
  width: 100%;
  margin:0 5px;
}
@media screen and (max-width: 768px) {
  .main__about--logo {
    width: 60%;
  }
}

.main__about--txt {
  margin: 45px 0 60px;
  text-align: center;
  padding:0 20px;
  font:normal 16px/2 sans-serif;
  letter-spacing: 4px;
}

.main__about .img-box {
width:100%;
display:block;
text-align:center;
margin-bottom:10px;
}

.main__about .img-box img {
text-align:center;
}

@media screen and (max-width: 768px) {
  .main__about--txt {
    width: 80%;
    margin: 30px auto 40px;
    font-size: 13px;
  }
}

 .main__about--ttl {
    margin: 0 auto;
    font-size: 16px;
	font-weight:bold;
	color:#000;
 }
 
/* スケジュール */
@media screen and (min-width:1081px){
.sp_wrapper{
	display:none;
}
}
@media screen and (min-width:769px) and ( max-width:1080px) {
.wrapper {
  margin: 0 auto;
  overflow: hidden;
  width: 100vw;
}

.sp_wrapper{
	display:none;
}
}

@media screen and (max-width: 768px) {
.wrapper{
 display:none!important;
   }
.sp_wrapper {
  width:100%;
  margin: 0 auto;
}
}

/* Google Mapのiframe */
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.main__service {
  padding-bottom: 100px;
}
@media screen and (max-width: 768px) {
  .main__service {
    padding-bottom: 40px;
  }
}

.main__service--message {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}


/* 横幅を指定するための要素 */
.map__wrap {
  max-width: 95vw; /* ここに横幅を指定 */
  margin:10px 0;
}

.map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%; /* 比率を4:3に固定 */
}
 
/* Google Mapのiframe */
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 768px) {
  .main__service--message {
    flex-direction: column;
  }
}

.main__service--message h2 {
  font-size: 50px;
  font-weight: bold;
  margin:10px 0;
}

@media screen and (max-width: 768px) {
  .main__service--message h2 {
    font-size: 20px;
    text-align: center;
  }
}

.main__service--message h3 {
  font-size: 40px;
  font-weight: bold;
  margin:10px 0;
}

@media screen and (max-width: 768px) {
  .main__service--message h3 {
    font-size: 18px;
    text-align: left;
	margin:5px 5px 0 5px;
  }
  
  .main__service--message h3 {
  font-size: 50px;
  font-weight: bold;
  margin:10px 0;
}
}

.main__service--message p {
	flex: 2;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 2px;
}
@media screen and (max-width: 768px) {
  .main__service--message p {
    font-size: 14px;
    margin-top: 30px;
  }
}

.main__service--list {
  width:85vw;
  display: flex;
  flex-direction: column;
  padding-left:0;
}


@media screen and (max-width: 768px) {
  .main__service--list {
    flex-direction: column;
  }
}

.main__service--list .img-box {
width:100%;
display:block;
text-align:center;
margin-bottom:10px;
}

.main__service--list .img-box img {
text-align:center;
}

.main__service--list li {
  flex:1;
  margin-right:10%;
}
@media screen and (max-width: 768px) {
  .main__service--list li {
    width: 100%;
    line-height:1.5;
	padding: 5px 3px;
	margin-bottom:3px;
  }
}

.main__service--list li a {
  display: block;
}
.main__service--list li img {
	width: 100%;
	display: column;
	text-align: center;
}
@media screen and (max-width: 768px) {
 .main__service--list li img {
  width: 100%;
  align-items: center;
}
}

.main__service--list li img[class="l_small"]:hover {
content: url(../image/menu/l_menu_01.bottom.png);
position: relative;
top: 0;
left: 0;
}

.main__service--list li img[class="l_large"]:hover {
content: url(../image/menu/l_menu_03.bottom.png);
position: relative;
top: 0;
left: 0;
}

.main__service--list li img[class="r_large"]:hover {
content: url(../image/menu/r_menu_01.bottom.png);
position: relative;
top: 0;
left: 0;
}

.main__service--list li img[class="r_small"]:hover {
content: url(../image/menu/r_menu_02.bottom.png);
position: relative;
top: 0;
left: 0;
}


.main__service--list h3 {
  margin: 50px 0 30px 0;
}
@media screen and (max-width: 768px) {
  .main__service--list h3 {
    margin: 10px 0;
    font-size: 16px;
  }
}

.main__service--list li p{
}
@media screen and (max-width: 768px) {
  .main__service--list li p{
   font-size: 13px;
  }
}

.main__news {
   border-radius: 10px 10px 10px 10px;
   background-color:#FFF;
  padding: 0 20px 0;
}
@media screen and (max-width: 768px) {
  .main__news {
    padding: 50px 0 0;
  }
}

.main__news--ttl {
  margin-bottom: 16px;
  text-align:center;
  font-size: 48px;
  text-decoration:underline;
}
@media screen and (max-width: 768px) {
  .main__news--ttl {
    font-size: 30px;
    text-align: center;
	text-decoration:underline;
  }
}

.main__news--list {
  padding: 20px 12px;
}
.main__news--list li {
  border-bottom: 1px solid #e8ecee;
}
.main__news--list li:first-child{
  border-top: 1px solid #e8ecee;
}
.main__news--list li a {
  display: block;
  padding: 20px 20px;
}

.main__news--list li a:visited{
	color:#000;
	text-decoration:underline;
}

.main__news--list li a:active{
	color:#648C00;
	text-decoration:underline;
}	

.main__news--list li a:hover{
	color:#003366;
}

@media screen and (max-width: 768px) {
  .main__news--list li a {
    padding: 24px 12px;
  }
}
.main__news--list li a:hover{
  background: #e8ecee;
}

.main__news--item{
  display: flex;
}
@media screen and (max-width: 768px) {
  .main__news--item {
    flex-direction: column;
    line-height: 1.4;
  }
}

.main__news--day {
  width: 264px;
  display: flex;
  align-items: center;
  margin-right: 32px;
}
@media screen and (max-width: 768px) {
  .main__news--day {
    width: 100%;
    margin-bottom: 8px;
  }
}

.main__news--date {
  line-height: 1.2;
}
@media screen and (max-width: 768px) {
  .main__news--date {
    margin-right: 0;
  }
}

p#bottom{
	margin:0;
	padding:0;
	text-align:left;
}

/**********************************
 footer
**********************************/
.footer{
  padding: 90px 0 71px;
  border-top: 1px solid #e8ecee;
  background: #e5e5e5;
}
@media screen and (max-width: 768px) {
  .footer {
	width:100%;
    padding-top: 50px;
  }
}

.footer__logo {
  width: 100px;
  margin: 0 auto;
}

.footer__logo a{
  display:block;
}

.footer__logo a:hover{
  content: url(../image/title/main_title.bottom.png);
  position: relative;
  top: 0;
  left: 0;
  margin-bottom:1px;
}

.footer03 {
 color: #808080;
 background: #e5e5e5;
 padding: 20px;
}
.footer03 a {
 color: #808080;
 text-decoration: none;
}
.footer03 a:active{
	color:#648C00;
	text-decoration:underline;
}	
.footer03 a:hover {
 text-decoration: underline;
}
.footer03 .menu {
 margin: 0;
 padding: 0;
 list-style: none;
 display: flex;
}

.footer03 .menu li {
 margin-right:5px;
 float:left;
}
.footer03 .menu li:first-child:active{
	color:#648C00;
	text-decoration:underline;
}	
.footer03 .menu li:first-child:visited{
	color:#000;
	text-decoration:underline;
}

.footer03 .menu li:first-child:hover{
	text-decoration:underline;
}

@media screen and (max-width: 768px) {
.footer03 .menu li {
 width: 50%;
 padding: 5px 10px 0 0;
 box-sizing: border-box;
 border: none;
  }
}

.footer__copyright {
  margin-top: 30px;
  padding: 15px 0 0 0;
  text-align: center;
  color: #b5b5b5;
  font-size: 11px;
  border-top: 1px dotted #000;
}

#footer p{
	margin:10px;
	padding:10px 0 10px 5px;
	text-align:center;
	font-size:70%;
	color:#999;
}

/* テキストコントロール */


.sub_title{
	margin:0;
	padding:25px 0 0 20px;
	text-align:left;
	font-size:100%;
	color:#333;
	font-weight:bold;
}

.co_txt{
	margin:0;
	padding:10px 40px 0 25px;
	text-align:left;
	font-size:80%;
	color:#454545;
	line-height:2.0;
	text-align:justify;
	text-justify:distribute;
}


.co_txt2{
	margin:0;
	padding:10px 0 0 30px;
	text-align:left;
	font-size:90%;
	color:#343434;
	line-height:2.0;
	text-align:justify;
	text-justify:distribute;
}

.co_txt3{
	margin:0;
	text-align:left;
	font-size:16px;
	color:#343434;
	line-height:1.2;
	text-align:justify;
	text-justify:distribute;
}

.co_txt3 a:hover{
	color:#003366;
}

/* リスト-個人情報保護方針 */

dl#policy{
	margin:0;
	padding:15px 30px 10px 15px;
}

#policy dt{
	margin:0;
	padding:10px 0 0 0;
	text-align:left;
	font-size:90%;
	color:#333333;
	font-weight:bold;
	text-align:justify;
	text-justify:distribute;
}

#policy dd{
	margin:0;
	padding:5px 0 0 10px;
	text-align:left;
	font-size:80%;
	color:#454545;
	line-height:2.0;
	text-align:justify;
	text-justify:distribute;
}

/* スケジュール */

iframe#shce{
	margin:5px 0 0 5px;
	padding:0;
}

/* リスト-個人情報保護方針 */

dl#policy{
	margin:0;
	padding:15px 30px 10px 15px;
}

#policy dt{
	margin:0;
	padding:10px 0 0 0;
	text-align:left;
	font-size:90%;
	color:#333333;
	font-weight:bold;
	text-align:justify;
	text-justify:distribute;
}

#policy dd{
	margin:0;
	padding:5px 0 0 10px;
	text-align:left;
	font-size:80%;
	color:#454545;
	line-height:2.0;
	text-align:justify;
	text-justify:distribute;
}