@charset "utf-8";
/*header設定*/
#header{
}
.main-img {
    position: relative;/*h1の中央寄せ配置の起点とするためのrelative*/
    width: 100%;
    height: 100%;
    display: inline-block;
}

.seitaiaruku-Bkstyle-t {
    background-image: url(images/top-Bk.jpg);
    background-repeat: repeat-x;
    background-position: top;
    height: 90px
    
}
.seitaiaruku-Bkstyle {
    background: #DEEFFF;
}

.seitaiaruku-Bkstyle2 {
    background: #FFEBD6;
}

h2.top-title-my {
    margin: 5% auto 2% auto;
    font-size: 30px;
    text-align: left;
    border-bottom:solid 1px #000000;
    width: 90%;
    padding: 10px;
}
.title-imgBox {
    position:relative;
}
.title-imgBox:before {
    content: '';/*何も入れない*/
    position: absolute;
    display: inline-block;
    width: 554px;/*画像の幅*/
    height: 351px;/*画像の高さ*/
    background-image: url(images/top-title-img.png);
    right:0;
    top:0;
}

h2.top-title {
    margin: 5% auto 2% auto;
    font-size: 30px;
    position:relative;
    text-align: center;
    border-bottom:solid 1px #000000;
    width: 100%;
    padding: 10px;
}

.top-subtitle {
    font-size: 20px;
    margin: 1% auto;
    width: 90%;
    line-height: 2.5em;
    padding-top: 20px;
    padding-bottom: 45px;
}

/*==================================================
アコーディオンのためのcss
===================================*/
    
.notype {
	position: relative;
    margin-left: 55px;
}

.notype::before {
	content: attr(data-number);
	display: inline-block;
	margin-right: 20px;
	color: #FF8200;
	font-size: 30px;
	border-bottom: 1px solid #FF8200;
    margin-left: -55px;
}

/*アコーディオン全体*/
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
    padding-left: 0;
}

.accordion-area li{
    margin: 10px 0;
}

.accordion-area section {
  border: 1px solid #ccc;
    background: #fff;
}

/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1.0rem;
    font-weight: 400;
    padding: 1% 1% 1% 50px;
    transition: all .5s ease;
}

/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    
}
.title::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}

/*　closeというクラスがついたら形状変化　*/

.title.close::before{
  transform: rotate(45deg);
}

.title.close::after{
  transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
    background: #f3f3f3;
  margin:0 3% 3% 3%;
    padding: 3%;
}

.title2 {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1.0rem;
    font-weight: 400;
    padding: 1% 1% 1% 50px;
    transition: all .5s ease;
}

/*アイコンの＋と×*/
.title2::before,
.title2::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #333;
    
}
.title2::before{
    top:48%;
    left: 15px;
    transform: rotate(0deg);
    
}
.title2::after{    
    top:48%;
    left: 15px;
    transform: rotate(90deg);

}

/*　closeというクラスがついたら形状変化　*/

.title2.close::before{
  transform: rotate(45deg);
}

.title2.close::after{
  transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box2 {
    display: none;/*はじめは非表示*/
    background: #f3f3f3;
  margin:0 3% 3% 3%;
    padding: 3%;
}
@media screen and (max-width: 767px) {
    .accordion-area{
        padding-left: 0;
    }
    .title-imgBox {
        height: 550px;
    }
    .title-imgBox:before {
        content: '';/*何も入れない*/
        position: absolute;
        display: inline-block;
        width: 454px;
        height: 251px;
        background-image: url(images/top-title-img.png);
        bottom: 0;
        margin-top: 260px;
        right: 0;
        left: 10px;
        background-size: contain;
        vertical-align: middle;
        background-repeat: no-repeat;
    }
    .top-subtitle {
        font-size: 20px;
        margin: 1% auto;
        width: 90%;
        line-height: 1.5em;
        padding-top: 20px;
        padding-bottom: 45px;
    }

}
