/* 調整用スタイル */

a {
  text-decoration: none;
}



ul,
li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto; /*高さ自動*/
  vertical-align: top;
}

main {
 padding: 0 2rem;	
}


.indent-1 {
  padding-left: 1.0em;
  text-indent: -1.0em;
}

.footer {
  /*background-color: #f6f6f6;
  height: 200px;*/
  display: flex;
}

/*.footer div {
  margin: auto;
}*/

.copyright {
  text-align: center;
  padding: 1rem 0;
  font-size: 10px;
  /*position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);*/
  width: 100%;
}


.align-center{text-align: center;}
.align-left{text-align: left;}
.align-right{text-align: right;}
.align-item{align-items: center;}

.mb10{margin-bottom: 1rem;}
.mb15{margin-bottom: 1.5rem;}
.mb20{margin-bottom: 2rem;}
.mb30{margin-bottom: 3rem;}
.mb40{margin-bottom: 4rem;}
.mb50{margin-bottom: 5rem;}
.mb60{margin-bottom: 6rem;}
.mb70{margin-bottom: 7rem;}
.mb80{margin-bottom: 8rem;}
.mb90{margin-bottom: 9rem;}
.mb100{margin-bottom: 10rem;}
.mb100-2{margin-bottom: 10rem;}
.mb300{margin-bottom: 30rem;}



.mt10{margin-top: 1rem;}
.mt20{margin-top: 2rem;}
.mt30{margin-top: 3rem;}
.mt40{margin-top: 4rem;}
.mt50{margin-top: 5rem;}
.mt60{margin-top: 6rem;}
.mt90{margin-top: 9rem;}
.mt100{margin-top: 10rem;}



.pd10{padding: 1rem;}

.bold{font-weight: bold;}

.inner {
    width: 1040px;
   max-width: 100%;
    margin: 0 auto;
	/*padding: 0 2rem;*/
}

.box300{
	width: 300px;
}

.box330{
	width: 330px;
}

.box400{
	width: 400px;
}

.box440{
	width: 440px;
}

.box530{
	width: 530px;
}



.box500{
	width: 500px;
}

.box600{
	width: 600px;
}

.box700{
	width: 700px;
}

.box750{
	width: 750px;
}

.box800{
	width: 800px;
}

.box900{
	width: 900px;
}

.box960{
	width: 960px;
}


.box1000{
	width: 1000px;
}

.anchor {
  padding-top: 100px;
  margin-top: 100px;
}



/* ヘッダー */


.header {
    background-color: white;
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    margin: 0 auto;
}


@media screen and (min-width: 960px) {
  .header {
    height: 150px;

  }
}


.header__inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  position: relative;
}


/* ヘッダーのロゴ部分 */
/*.header__title {
  width: 80px;
}*/


.header__title:hover {
  opacity: 0.8;
}


@media screen and (min-width: 960px) {
  .header__title {
    width: 182px;
  }
}

.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ヘッダーのナビ部分 */

.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: #fff;
  transition: ease .4s;

  display: flex;
}


@media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 46%;
    display: block;	  
  }
}


.nav__items {
  margin: auto;
}

@media screen and (min-width: 960px) {
  .nav__items {
    margin: initial;
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
}





.nav-items__item {
  cursor: pointer;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;

}

@media screen and (min-width: 960px) {

  .nav-items__item:before {
    position: absolute;
    content: "";
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00a49a;
    opacity: 0;

  }

  .nav-items__item:hover:before {
    opacity: 1;
  }

}



/* ナビのリンク */
.nav-items__item a {
  color: black;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 16px;
  margin-bottom: 24px;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

@media screen and (min-width: 960px) {
  .nav-items__item a {
    margin-bottom: 0;
    font-size: 16px;
  }
}


/* ハンバーガーメニュー */
.header__hamburger {
  width: 62px;
  height: 100%;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
  cursor: pointer;
}

@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}


/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 2px;
  background-color: #000;
  position: relative;
  transition: ease .4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 20px 0;
}


.hamburger span:nth-child(3) {
  top: 0;
}


/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 24px;
  transform: rotate(45deg);
}


.hamburger.active span:nth-child(2) {
  opacity: 0;
}


.hamburger.active span:nth-child(3) {
  top: -20px;
  transform: rotate(-45deg);
}

@media (min-width: 960px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
@media screen and (min-width: 960px) {
  .br-pc {
    display: block;
  }
  .br-sp {
    display: none;
  }
  .pc-only {
    display: block;
  }
  .sp-only {
    display: none;
  }
  .white-space {
    white-space: nowrap;
  }
	
}
@media screen and (max-width: 959px) {
  .br-pc {
    display: none;
  }
  .br-sp {
    display: block;
  }
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
  .white-space {
    white-space: normal;
  }
	
}

.container {
    margin: 2rem auto;
    max-width: 1000px;
    }

.head-tel{
	text-align: center;
}

.head_tel_sp{
	text-align: right;
}

.sp-head-right{
	display: flex;
	align-items: center;
}

.text-point{
	font-size: 22px;
	text-align: center;
	margin: 2rem auto 0;
	line-height: 1.6;
}

@media screen and (max-width: 768px) {
.text-point{
	font-size: 18px;
	}
}


@media screen and (min-width: 960px) {
.sp-head-right{
		display: none;
	}
}

.minibus_bn{
	text-align: center;
	margin: 0 auto 4rem;
}

.col_4{
	list-style: none;
	margin: 2rem auto;
	text-align: center;
}


.col_4 li{
display: inline-block;
    width: 20%;
    text-align: center;
    padding: 20px;
}



@media screen and (max-width: 959px) {
 
.col_4 li{
    width: 40%;
	padding: 10px;
    }
	
}

/* カードレイアウト部分をラッピングし、
Flexboxを指定"space-between"で各アイテムを均等に配置し、
最初と最後のアイテムを端に寄せます。*/
#cardlayout-wrap {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    margin: 2em auto;
    max-width: 920px;
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

/* リンクテキストの下線を非表示 */
a.card-link {
    text-decoration: none;
}

/* カードレイアウト内の画像を幅いっぱいに表示 */
#cardlayout-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
}

.card-figure {
    margin: 0;
    padding: 0;
}

/* カードレイアウトのタイトル部分 */
.card-title img {
    margin: 0 auto;
	text-align: center;
	width: 100%;
    /*color: #333;
    font-size: 1.8em;*/
}

/* カードレイアウトの説明文部分 */
.card-text-tax {
    margin: 0;
    padding: 1em 0;
    font-size: 18px;
	text-align: center;
	color: #231815;
}

.card-img{
    margin: 0 auto;
	text-align: center;
	width: 45%;
   }

.small-text{
	padding: 0;
	width: 53%;
	font-size: 12px;
	line-height: 1.6;
	color: #231815;
}

/* カードレイアウトを1カラムで配置 */
.card-list {
    margin: 0.5em auto;
    padding: 0;
    width: 100%;
    background: #fff;
    border: #00a49a 1px solid;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); */
}

.card-layout{
	display: flex;
}

/* 画面幅768px以上の場合カードレイアウトを2カラムで配置 */
@media all and (min-width: 768px) {
    .card-list {
        margin: 0.5em auto;
        width: calc(90% / 1); /* 100%幅を2で割るという指定 */
    }
	
	.card-layout{
	display: block;
}
	
	.card-img{
    width: 95%;
   }
	
	.card-img img{
	margin: 0 auto;	
	text-align: center;	
	}
	
	.small-text{
		width: 95%;
		
		padding: 1em;
}
}

/* 画面幅992px以上の場合カードレイアウトを3カラムで配置 */
@media all and (min-width: 992px) {
    .card-list {
        width: calc(90% / 3); /* 100%幅を3で割るという指定 */
    }
    
/* 最後の行が3列より少ない場合左寄せにレイアウトさせる */
    #cardlayout-wrap::after{
        content: "";
        display: block;
        width: calc(100% / 3);
    }
}

.text12{
	font-size: 12px;
	line-height: 1.6;
}

*, *:before, *:after {
    box-sizing: border-box;
}
.col_3{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.col_3 > *{
    width: calc( 33.33333% - 8px ) ;
    margin-right: 12px;
    margin-bottom: 12px;
}
.col_3 > *:nth-child(3n){
    margin-right: auto;
}
.col_3 > * > *{
    position: relative;
    overflow: hidden
}
@media screen and (max-width: 960px) {
    .col_3 > *{
        width: calc( 50% - 6px ) ;
    }
    .col_3 > *:nth-child(3n){
        margin-right: 12px;
    }
    .col_3 > *:nth-child(2n){
        margin-right: auto;
    }
}
@media screen and (max-width: 580px) {
    .col_3 > *{
        width: 100%;
        margin-right: auto;
    }
    .col_3 > *:nth-child(3n){
        margin-right: auto;
    }
}

/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#00a49a;
	border-radius: 5px;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:70px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}