@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #bf5ccb; 
    --back-color: #791285;
    --border-color: #ccc;
    --white-color: #fff;
}



img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--base-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}
a img {
    margin-bottom: 1rem;
}
a img:hover {
	opacity: 0.8;
}
.blueback {
	background-color: var(--back-color);
	color: var(--white-color);
	padding: 1rem;
}
.underline {
	border-bottom: 3px solid var(--back-color);
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 0.5rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0;
}
.telbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
}
.menu {
	background-color: var(--back-color);
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
	color: var(--white-color);
}
nav a:hover {
    background-color: var(--linkhover-color);   
	color: var(--white-color);
}
nav a {
    padding: 1rem 1rem;
	display: block;
}

/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100vw;
    position: relative;
}

.mainimg h2 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px 10px;
    color: #fff;

}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/*新着情報
-------------------------------------*/
.news h2 {
    background-color: var(--back-color);
	color: var(--white-color);
	padding: 1rem;
}
.news li {
    list-style-type: none;
	border-bottom: 1px solid var(--border-color);
	padding: 0.5rem 0;
}

/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color);
    padding: 5rem 0;
	color: var(--white-color);
}
footer h5 {
    border-bottom: 2px solid var(--white-color);
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--white-color);
}
.copyright a {
    color: var(--base-color);
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: var(--back-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: var(--back-color);
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}

/*FAQ
---------------------------*/
.accordion-container {
  margin: 50px auto 0;
  max-width: 700px;
  width: 100%;
}

.accordion-list:not(:first-child) {
  margin-top: 10px;
}

.accordion-title {
  background: #DDD;
  cursor: pointer;
  font-size: 16px;
  padding: 20px 40px;
  position: relative;
}

.accordion-title:after {
  position: absolute;
  display: block;
  content: '';
  top: 35%;
  right: 22px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  transform: rotate(135deg);
  transition: all .3s ease-in-out;
}

.accordion-title.open:after {
  transform: rotate(-45deg);
  top: 45%;
}

.accordion-text {
  border-left: 1px solid #DDD;
  border-right: 1px solid #DDD;
  border-bottom: 1px solid #DDD;
  display: none;
  padding: 20px 40px;
}

/*FAQ2
----------------------------*/

.qa-8{
    padding-left:30px;
}
.qa-8 dt {
    margin-bottom: 1em;
    color: #333333;
    font-weight: 600;
}

.qa-8 dt::before,
.qa-8 dd::before {
    margin-right: .4em;
}

.qa-8 dt::before {
    content: "Q.";
}

.qa-8 dd {
    margin: 0 0 2.5em;
    padding: 1em 1.5em;
    background-color: rgba(218,175,223,0.5);
    color: #333333;
}

.qa-8 dd::before {
    content: "A.";
}

.header{

    padding-top:20px;
}

.header a {
        color: #791285;
      font-weight: bold;
}

/* バナー　*/

.banner{
    text-align: center;
}
.banner li{
    list-style: none;
    border-bottom: none;
    
}

.pdf{
    display: inline;
    color:#791285;
    font-weight: bold;
}

.banner2{
  display: flex;
  flex-wrap: wrap;
text-align: center;
padding-left: 50px;


}
.banner2>* {
  flex: 1 1 400px;
}

.banner2-1 {
  display: flex;
  flex-wrap: wrap;
font-size:18px;
text-align: center;
 padding-left: 50px;   
}

.banner2-1 div{
    padding-bottom: 10px;
}

.banner2-1>* {
  flex: 1 1 300px;
}

.banner2-2 {
  display: flex;
  flex-wrap: wrap;
font-size:14px;
text-align: center;
padding-left: 50px;
}


.banner2-2>* {
  flex: 1 1 300px;
}

.banner2-2 div{
    padding-bottom: 5px;
}


.banner3>* {
  flex: 1 1 300px;
}

.banner4 {
  display: flex;
  flex-wrap: wrap;
font-size:18px;
text-align: center;
}

.banner4>* {
  flex: 1 1 300px;
}

.flex {
  display: flex; /*横並び*/
}
.flex .image {
  width: 300px; /*画像サイズ指定*/
  margin: 0;
  padding: 0;
}
.flex .image img {
  width: 100%;
  height: auto;
}
.flex .text {
  margin: 0 0 0 20px;
  padding: 0;
}

/* PC画面　*/
@media screen and (min-width: 769px){
/* PC時はMENUボタンを非表示 */

.mainimg2{
    display: none;    
    }
.navToggle{
		display: none;
	}
  
    .banner{
        max-width:1000px;
        text-align: center;
        margin: auto;
    }
    
    .banner ul{
        display: flex;
        justify-content: space-between;
        
    }
    
    .banner2, .banner2-1, .banner2-2, .banner3, .banner4{
        max-width: 1000px;
        
    }


}
/* スマホ画面　*/
@media screen and (max-width: 769px){
    
    iframe{
        width: 100%;
    }
    .space{
        padding-top:20px;

    }
    .space h5{
        margin-bottom:0;
    }
    .banner3>*, .banner4>* {
  flex: 1 1 150px;
}
    .banner3 img{
       width:85%;
    }
    
    .hakushi{
        display: none;
    }

    .mainimg{
    display: none;    
    }
    
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
    .header h2{
        font-size: 26px;
        margin-bottom: 0;
    }
.head #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
    z-index: 10;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 0;
}

  

 nav.globalMenuSp {
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        background: #fff;
        color: #fff;
        text-align: center;
        transform: translateY(-100%);
        transition: all 0.6s;
        width: 100%;
    }

    nav.globalMenuSp ul {
        background: #791285;
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }

    nav.globalMenuSp ul li {
        font-size: 1.1em;
        list-style-type: none;
        padding: 0;
        width: 100%;
        border-bottom: 1px dotted #fff;
    }
    
    /* 最後はラインを描かない */
    nav.globalMenuSp ul li:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    nav.globalMenuSp ul li a {
        display: block;
        color: #fff;
        padding: 1em 0;
        text-decoration: none;

    }

     nav.globalMenuSp ul li a:hover{
       background-color: rgba(0,0,0,0.3); 
    }
     
    /* このクラスを、jQueryで付与・削除する */
    nav.globalMenuSp.active {
        transform: translateY(0%);
    }


    .navToggle {
        display: block;
        position: fixed;    /* bodyに対しての絶対位置指定 */
        right: 13px;
        top: 12px;
        width: 42px;
        height: 51px;
        cursor: pointer;
        z-index: 3;
        background: #fff;
        text-align: center;
		border:1px solid #791285;
    }

    .navToggle span {
        display: block;
        position: absolute;    /* .navToggleに対して */
        width: 30px;
        border-bottom: solid 3px #791285;
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
        left: 6px;
    }

    .navToggle span:nth-child(1) {
        top: 9px;
    }

    .navToggle span:nth-child(2) {
        top: 18px;
    }

    .navToggle span:nth-child(3) {
        top: 27px;
    }

    .navToggle span:nth-child(4) {
        border: none;
        color: #791285;
        font-size: 9px;
        font-weight: bold;
        top: 34px;
    }


    /* 最初のspanをマイナス45度に */
    .navToggle.active span:nth-child(1) {
        top: 18px;
        left: 6px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    /* 2番目と3番目のspanを45度に */
    .navToggle.active span:nth-child(2),
    .navToggle.active span:nth-child(3) {
        top: 18px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }	    
    
/*FAQ2
----------------------------*/

.qa-8{
    padding-left:10px;
    font-size:14px;
}

}

.fix-btn{
  position:fixed; /*配置設定-fixed指定で追従*/
  z-index:1;
  right:20px;
  top:20px; 
}
#pagetop{  z-index:10;}
.floating-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  text-align: center;
  width: 100%;
  z-index:8;
  background-color: rgb(255 255 255 / 0.5);
}

.floating-banner a{
background:none;
display: inline-block; 
  border-radius: 9999px;
  background-color: #d4355d;
padding:15px 40px;
font-size:25px;
font-weight:bold;
color:#fff;
}
.floating-banner a:hover{
color:#000;
}