/* CSS Document */
*,*::before,*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
/* -----共通項目----- */
html {
	font-size: 62.5%;
}
body {
    color: #333;
    font-family: 游ゴシック,"ヒラギノ角ゴ ProN W3", HiraKakuProN-W3,  "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;;
}
a {
	color: inherit;
	text-decoration: none;
}
ul {
	list-style: none;
}
img {
	vertical-align: bottom;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
  }
.wrapper {
    max-width: 1000px;
    margin:  0 auto;
}
.uppercase {
    text-transform: uppercase;
}
/* -----ハンバーガーメニュー----- */
/*　ハンバーガーボタン　*/
.hamburger {
	display : block;
	position: fixed;
	z-index : 3;
	right : 13px;
	top   : 12px;
	width : 42px;
	height: 42px;
	cursor: pointer;
	text-align: center;
  }
  .hamburger span {
	display : block;
	position: absolute;
	width   : 30px;
	height  : 2px ;
	left    : 6px;
	background : #555;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition   : 0.3s ease-in-out;
	transition        : 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
	top: 8px;
  }
  .hamburger span:nth-child(2) {
	top: 16px;
  }
  .hamburger span:nth-child(3) {
	top: 24px;
  }
  
  /* ナビ開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
	top : 16px;
	left: 6px;
	-webkit-transform: rotate(-45deg);
	-moz-transform   : rotate(-45deg);
	transform        : rotate(-45deg);
  }
  
  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
	top: 16px;
	-webkit-transform: rotate(45deg);
	-moz-transform   : rotate(45deg);
	transform        : rotate(45deg);
  }
  
  nav.globalMenuSp {
	position: fixed;
	z-index : 2;
	top  : 0;
	left : 0;
	color: #000;
	background: #fff;
	text-align: center;
	transform: translateY(-100%);
	transition: all 0.6s;
	width: 100%;
	font-size: 1.6rem;
  }
  
  nav.globalMenuSp ul {
	background: #fff;
	margin: 0 auto;
	padding: 0;
	width: 100%;
  }
  
  nav.globalMenuSp ul li {
	list-style-type: none;
	padding: 0;
	width: 100%;
	border-bottom: 1px solid #ccc;
  }
  nav.globalMenuSp ul li:last-child {
	padding-bottom: 0;
	border-bottom: none;
  }
  nav.globalMenuSp ul li:hover{
	background :#ddd;
  }
  
  nav.globalMenuSp ul li a {
	display: block;
	color: #000;
	padding: 1em 0;
	text-decoration :none;
  }
  
  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
	transform: translateY(0%);
  }

/* -----トップに戻るボタン----- */
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 1.2rem;
}
#page-top a {
    background: rgba(102, 102, 102, 0.8);
    text-decoration: none;
    color: #fff;
    width: 100px;
    padding: 30px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
    background: #999;
}
/* ヘッダー */
.header {
    position: fixed;
    z-index: 9999;
    top: 0;
    display: flex;
    width: 100%;
    margin:  0 auto;
    padding: 10px 20px;
    background-color: #fff;
}
.header-logo {
    width: 40%;
}
.header-logo img{
    width: 300px;
}
.header-title {
    font-size: 1.6rem;
    color: rgb(250, 161, 203);
}
.header-list {
    width: 60%;
    margin-left: auto;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    align-items:center;
    font-weight: bold;
    font-size: 1.6rem;
}
.header-list a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}
.header-list a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #000000;
    bottom: -3px;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform 0.3s;
}
.header-list a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
}
/* スマホ用ヘッダー */
.s-header {
    position: fixed;
    z-index: 9999;
    top: 0;
    display: flex;
    width: 100%;
    margin:  0 auto;
    padding: 10px 20px;
    background-color: #fff;
}
.s-header-logo {
    width: 100%;
}
.s-header-logo img{
    width: 180px;
    padding: 0 5px;
}
.s-header-title {
    font-size: 1.6rem;
    color: rgb(250, 161, 203);
}
.footer {
    margin-top: 100px;
    background-color: #eee;
}
.footer-nav {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 10px;
    color: #444;
}

.footer-signature {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
    font-size: 1.2rem;
    color: #000;
}
.footer-name {
    font-size: 2rem;
    font-weight: bold;
}
.copy {
    padding: 20px 0 40px;
	text-align: center;
}

/* -----トップページ----- */
/* メイン画像 */
.main {
    position: relative;
    padding-top: 80px;
}
.main img{
    width: 100%;
}

/* お知らせ */
.top-news {
    position: absolute;
    bottom: 4%;
    left: 100px;
    right: 100px;
    max-width: 800px;
    margin:  0 auto;
    padding: 8px 16px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: center;
    letter-spacing: 4px;
}
.news-title {
    display: block;
    width: 100%;
    padding-bottom: 16px;
    font-size: 1.8rem;
}
.news-list {
    display: block;
    width: 100%;
    height: 70px;
    overflow-y: scroll;
}
.news-item {
    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-gap: 8px;
    text-align: left;
    font-size: 1.4rem;
}
.news-day {
    text-align: center;
}
.news-topics {
    text-align: left;
}
/* 背景画像 */
.b-img {
    display: block;
    width: 100%;
    position: absolute;
    z-index: -100;
    opacity: 0.5;
}

/* 教育バナー画像 */
.banner {
    max-width: 1000px;
    margin:  100px auto 0;
    text-align: center;
}
.banner img {
    width: 95%;
}
.banner img:hover {
    opacity: 0.8;
    transition: 0.2s;
}
.banner-text {
    font-size: 3rem;
    margin:10px;
    text-align: center;
}
.banner-school {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
}
/* ジャンプボタン */
.school-jump {
    display: block;
    padding: 4px 0;
    /* width: 220px; */
    text-align: center;
    /* background-color: #fff; */
    border-radius: 20px;
    color: #fff;
    font-weight: bold;
    font-size: 2.4rem;
}

.school-jump:hover {
    opacity: 0.8;
    transition: 0.2s;
}
.sannomiya {
    color: #DD3E3D;
    border: 1px solid #DD3E3D;
    box-shadow: 3px 3px 2px #c43737;
}
 .sannomiya:hover {
    color: #fff;
    background-color: #DD3E3D;
    transition: 0.2s;
}
.nagata {
    color: #3B4D9F;
    border: 1px solid #3B4D9F;
    box-shadow: 3px 3px 2px #314085;
}
.nagata:hover {
    color: #fff;
    background-color: #3B4D9F;
    transition: 0.2s;
}
.wakayama {
    color: #EFAD18;
    border: 1px solid #EFAD18;
    box-shadow: 3px 3px 2px #da9f16;
}
.wakayama:hover {
    color: #fff;
    background-color: #EFAD18;
    transition: 0.2s;
}
.okazaki {
    color: #51B333;
    border: 1px solid #51B333;
    box-shadow: 3px 3px 2px #42942a;
}
.okazaki:hover {
    color: #fff;
    background-color: #51B333;
    transition: 0.2s;
}
/* .school-jump.sannomiya {
    background-color: #DD3E3D;
}
.sannomiya {
    box-shadow: 2px 2px 2px #c43737;
}
.school-jump.nagata {
    background-color: #3B4D9F;
}
.nagata {
    box-shadow: 2px 2px 2px #314085;
}
.school-jump.wakayama {
    background-color: #EFAD18;
}
.wakayama {
    box-shadow: 2px 2px 2px #da9f16;
}
.school-jump.okazaki {
    background-color: #51B333;
}
.okazaki {
    box-shadow: 2px 2px 2px #42942a;
} */

.b-img img {
    width: 100%;
}
.b-second {
    transform: scale(-1, 1);
    top: 800px;
}
.b-third {
    top: 1600px;
}

/* 事業紹介 */
.relative {
    position: relative;
}
.top-business {
    max-width: 1400px;
    margin: 0 auto;
}
.top-explain {
    max-width: 1000px;
    margin:  0 auto;
    padding: 100px 0;
    text-align: center;
}
.top-explain img {
    width: 300px;
}
.t-e-text {
    padding: 30px 0;
    font-size: 2rem;
    font-weight: bold;
    line-height: 2;
}
.subtitle {
    padding: 50px 0;
    font-size: 4rem;
    text-align: center;
}
.business-type {
    font-size: 3rem;
    padding-bottom: 10px;
}
.business-grid {
    margin-bottom: 100px;
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-gap: 30px;
    place-items: center;
}
.grid-contents {
    align-items: center;
}
.bgA-text {
    padding: 0 30px;
    font-size: 1.6rem;
}
.business-grid img {
    width: 100%;
}
.tb-button {
    display: block;
    position: relative;
    max-width: 220px;
    margin: 30px auto 0;
    padding: 10px;
    font-size: 1.4rem;
    text-align: center;
    background-color: #fff;
    border:1px solid #00A0E9; 
    color: #00A0E9;
}
.tb-button:hover {
	background-color: #00A0E9;
	color: #fff;
	transition: 0.2s;
}
.tb-button::before {
    content: "";
    display: block;
    width: 214px;
    height: 37px;
    border: 1px solid #fff;
    position: absolute;
    top: 2px;
    left: 2px;
}
.grid-b {
    grid-template-columns: 2fr 3fr;
}
.business-grid-sub {
    max-width: 1200px;
    margin:0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
    padding: 20px;
}
.grid-sub-block {
    padding: 20px;
    border: 1px solid #ddd;
    background-color: rgba(255,255,255,0.4);
}
.grid-sub-block img {
    width: 100%;
}
.grid-sub-type {
    padding-bottom: 10px;
    font-size: 2rem;
}
.sub-text {
    margin-top: 10px;
    padding-top:10px;
    border-top: 1px solid #f8c8e2;
    font-size: 1.6rem;
}
.b-sub-text {
    padding-bottom: 10px;
    font-size: 1.6rem;
}
.small-space {
    margin: 10px auto 0;
}
.building-title {
    margin-top: 8px;
    font-size: 1.6rem;
}
.building {
    font-size: 1.8rem;
}
.building-image {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}
.building-image img {
    width: 45%;
}
.building-address {
    padding-left: 16px;
    font-size: 1.6rem;
}
.building-block {
    margin-top: 8px;
    font-size: 1.6rem;
}
.building-note {
    margin-top: 8px;
    font-size: 1.6rem;
}

/* 新 事業紹介 */
.works {
    max-width: 1400px;
    margin: 0 auto;
}
.works-block {
    padding: 3%;
    background-color: #ffeefe;
}
.works-flex {
    display: flex;
    place-items: center;
    padding: 3%;
    background-color: #fff;
}
.works-title {
    font-size: 2rem;
    margin: 0 5% 16px;
}
.works-sentence {
    margin: 0 5%;
    font-size: 1.6rem;
}
.works-flex img {
    width: 40%;
    margin: 0 2%;
}

/* -----会社概要・沿革----- */
.outline-image img {
    width: 300px;
}
.outline-title {
    padding-top: 200px;
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    text-align: center;
}
.outline-subtitle {
    margin: 60px 0 20px;
    padding-left: 5px;
    font-size: 2rem;
    border-left: 5px solid #333;
}
.outline-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
}
.outline-table {
    width: 100%;
    margin:  0 auto;
    font-size: 1.6rem;
}
.outline-tr {
    border: 1px solid #aaa;
}
.outline-th {
    width: 30%;
    padding: 0 40px 0 20px;
    text-align: left;
    background-color: #ddd;
}
.outline-td {
    width: 70%;
    padding: 20px;
    background-color: #fff;
}
.outline-td iframe {
    margin-top: 20px;
}
/* -----施設・ホーム一覧----- */
.facility-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}
.facility-title {
    padding-top: 200px;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
}
.area-title {
    padding-top: 100px;
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
}
.facility-area {
	max-width:1100px;
	margin: 0 auto 40px;
	padding: 10px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap:20px;
}
.facility {
	display: grid;
	grid-template-columns: 1fr 2fr;
	box-shadow: 3px 3px 3px #ccc;
    border: 1px solid #eee;
	align-items: center;
    background-color: rgba(255,255,255,0.4);
}
.facility:hover {
	opacity: 0.8;
	transition: 0.2s;
}
.facility img {
	width: 100%;
	margin:10px;
}
.facility-block {
	padding: 10px 0 10px 20px;
}
.facility-type {
	font-size: 1.6rem;
}
.facility-name {
	font-size: 2rem;
	font-weight: bold;
}
.facility-address {
	font-size: 1.6rem;
}
.facility-tel {
	align-items: center;
	font-size: 2rem;
	font-weight: bold;
	color: #fa5882;
}
#i-tel {
	margin-right: 6px;
	padding: 0 6px;
	vertical-align: middle;
	text-transform: uppercase;
	font-size: 1.6rem;
	background-color: #fa5882;
	border-radius: 12px;
	color: #fff;
}
.facility-capacity {
	font-size: 1.3rem;
	margin-left: -6px;
}
.facility-annex {
	font-size: 1.2rem;
}

/* -----アクセス----- */
.access-title {
    padding-top: 200px;
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    text-align: center;
}
.access-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}
.access-subtitle {
    margin-top: 60px;
    padding-left: 5px;
    font-size: 2rem;
    border-left: 5px solid #333;
}
.access-block iframe {
    margin: 20px auto;
}
.access-text {
    font-size: 1.6rem;
}
/* -----採用情報----- */
.recruit-title {
    padding-top: 200px;
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    text-align: center;
}
.recruit-wrapper {
    max-width: 1000px;
    margin: 50px auto;
}
.recruit-text {
    font-size: 1.6rem;
}
/* -----サイトマップ----- */
.sitemap-title {
    padding-top: 200px;
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    text-align: center;
}
.sitemap-wrapper {
    max-width: 1000px;
    margin: 50px auto;
}
.sitemap-list {
    list-style-type: disc;
}
.sitemap-item {
    margin-bottom: 8px;
    font-size: 2rem;
}
/* -----プライバシーポリシー----- */
.policy-title {
    padding-top: 200px;
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    text-align: center;
}
.policy-wrapper {
    max-width: 1000px;
    margin: 50px auto;
}
.policy {
	margin-top: 20px;
	padding: 20px;
	background-color: #fff;
}
.policy-subtitle {
	font-size: 1.6rem;
	padding: 24px 0 8px ;
}
.policy-sentence {
	padding: 0 0 8px 16px;
	font-size: 1.6rem;
	border-bottom: 1px dotted #666;
}

/* -----レスポンシブ----- */
@media screen and (min-width: 600px) {
    .pc-hidden {
        display: none;
    }
    .s-header {
        display: none;
    }
    .hamburger-wrapper {
		display: none;
	}
    .small-map {
        display: none;
    }
}
@media screen and (max-width: 599px){
    .sp-hidden {
        display: none;
    }
    .header {
        display: none;
    }
    #page-top {
		right: 16px;
		bottom: 16px;
	}
	#page-top a {
		width: 80px;
		padding: 20px 0;
	}
    .none {
        display: none;
    }
    .news-item {
        grid-gap: 4px;
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }
    .news-title {
        padding-bottom: 10px;
    }
    /* バナー */
    .banner {
        width: 100%;
        margin: 16px 0 0;
    }
    .banner-text {
        font-size: 1.6rem;
    }
    .banner-school {
        margin-top: 0;
        padding: 10px;
        grid-template-columns: 1fr 1fr;
        grid-gap: 12px;
    }
    .school-jump {
        border-radius: 40px;
        box-shadow: 2px 2px 1px;
        font-size: 2rem;
    }
    .footer-nav {
        width: 50%;
        padding: 40px 0 20px
    }
    .footer-signature {
        width: 65%;
    }
    .footer-name {
        font-size: 1.6rem;
    }
    .b-img {
        top: 100px;
    }
    .b-second {
        top: 850px;
    }
    .b-third {
        top: 1500px;
    }
    .main {
        padding-top: 60px;
    }
    .top-news {
        position: initial;
        width: 90%;
        margin-top: 16px;
        padding: 8px 12px 8px 6px;
    }
    .news-title {
        font-size: 1.4rem;
    }
    .top-explain {
        padding: 50px 0 0px;
    }
    .top-explain img {
        width: 150px;
    }
    .t-e-text {
        width: 340px;
        margin: 0 auto;
        padding: 20px 0;
        font-size: 1.4rem;
        line-height: 1.8;
    }
    
    .subtitle {
        padding: 20px 0;
        font-size: 2.4rem;
    }
    .business-type {
        padding: 0;
        font-size: 1.6rem;
        text-align: center;
    }
    .business-grid {
        margin-bottom: 50px;
        grid-template-columns: 1fr;
        grid-gap: 0px;
    }
    .grid-contents {
        width: 80%;
        order: 2;
    }
    .business-grid img {
        width: 40%;
        order: 1;
        margin: 20px 0;
    } 
    .bgA-text {
        padding: 0 20px;
        font-size: 1.2rem;
    }
    .business-grid-sub {
        grid-template-columns: 1fr;
        grid-gap: 50px;
        width: 95%;
        margin:  0 auto;
    }
    .grid-sub-block img {
        width: 100%;
        margin: 0 auto;
    }
    .grid-sub-type {
        font-size: 1.6rem;
    }
    .center {
        text-align: center;
    }
    .grid-sub-type {
        text-align: center;
    }
    .sub-text {
        font-size: 1.4rem;
    }
    .b-sub-text {
        font-size: 1.2rem;
    }
    .building {
        font-size: 1.4rem;
    }
    .building-address {
        padding-left: 12px;
        font-size: 1.2rem;
    }
    .building-note {
        font-size: 1.2rem;
    }
    .outline-table {
        font-size: 1.2rem;
    }
    .outline-th {
        width: 35%;
        padding: 6px;
        font-weight: lighter;
        text-align: center;
    }
    .outline-td {
        width: 65%;
        padding: 10px;
    }
    .outline-title {
        padding-top: 100px;
    }
    .facility-title {
        padding-top: 100px;
    }
    .area-title {
        padding-top: 50px;
    }
    .facility-area {
        grid-template-columns: 1fr;
    }
    .facility-type {
        font-size: 1.2rem;
    }
    .facility-name {
        font-size: 1.6rem;
    }
    .facility-address {
        font-size: 1.2rem;
    }
    .facility-tel {
        font-size: 1.5rem;
    }
	.facility-capacity {
		font-size: 1.1rem;
	}


    #i-tel {
        font-size: 1.0rem;
    }
    .access-title {
        padding-top: 100px;
    }
    .access-subtitle {
        border-left: none;
        text-align: center;
    }
    .big-map {
        display: none;
    }
    .address-block {
        width: 80%;
        margin: 0 auto 30px;
    }
    .access-text {
        font-size: 1.2rem;
    }
    .recruit-title {
        padding-top: 100px;
    }
    .recruit-wrapper {
        width: 80%;
    }
    .sitemap-title {
        padding-top: 100px;
    }
    .sitemap-list {
        width: 50%;
        margin: 0 auto;
    }
    .sitemap-item {
        font-size: 1.6rem;
    }
    .policy-title {
        padding-top: 100px;
    }
    .policy-wrapper {
        max-width: 80%;
    }
    .policy-sentence {
        font-size: 1.4rem;
    }
}

