@charset "utf-8";
/* CSS Document */

/*メインビジュアル*/


.conA .container{
	height: 160px;
    background-image: url("../img/back-y.gif");
/*	background-image: url("../img/main02_sm.jpg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center top;*/
	display: flex;
	justify-content: center;
	align-items: center;
}

.conA h1{
	font-family: 'Noto Serif JP', serif;
	font-size: 24px;
	letter-spacing: 0.1em;
    text-align: center;
}

.main{
	padding-top: 0;
}

@media print, screen and (min-width: 768px){
	
.conA{
	margin-bottom: 50px;
}
	
	.conA h1{
		font-size: 30px;
	}
	
	.conA .container{
		height: 300px;
	}
}


@media print, screen and (min-width: 768px){
	
	.conA .container{
		background-image: url("../img/main02.jpg");
        background-image: url("../img/back-y.gif");
	}
	
	.main{
		padding:0 50px 30px;
		
	}
}



/*見出しとページ前半*/

.main h2{
	font-family: 'Noto Serif JP', serif;
	margin-bottom: 1em;
	font-size: 20px;
	border-bottom: 2px solid #8B70B7;/*下線（太さ 実線 色）*/
    position: relative;
	padding-bottom: 0.2em;
}


.main h2::after{
	content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 2px;/*下線部 二本線の間の余白*/
    width: 100%;
    height: 1px;/*下線部上線の太さ（高さ）*/
    background: #8B70B7;/*下線部上線の色*/
}



.kakomi{
	margin-bottom:40px;
	max-width: 900px;
	text-indent: 0em;
}

.box{
	margin-bottom: 50px;
}

@media print, screen and (min-width: 768px){
	
	.main h2{
		font-size: 22px;
	}
}



/*申し込みフォーム*/

table {
    width: 100%;
    /*border-collapse: collapse;*/
    margin-bottom: 30px;
}

    
th,td{
    display: block;
    width: 96%; 
    }
    
th {
    padding: 0.2em;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: left;
}

/*
th:first-child{
	padding-top: 1em;
}*/
    
td {
    padding: 0.5em;
    margin:0 auto 0.6em;
    box-sizing: border-box;
    border-bottom: 1px solid #ccc;
}

input,textarea,button{
    padding: 1em;
    width: 100%;
    box-sizing: border-box;
}

button{
	margin-bottom: 1em;
}


input.submit, button.submit{
	font-size: 18px;
	padding: 0.5em 1em;
	cursor: pointer;
	margin-bottom: 1em;
	background: #785a9e;
	color: #fff;
	margin: 0 auto 1em;
	width: 80%;
	display: block;
	border: none;
}

input.back{
	font-size: 18px;
	padding: 0.5em 1em;
	cursor: pointer;
	width: 50%;
	margin: 0 auto;
	display: block;
}

.hissu-s{
	display: inline-block;
	font-size: 80%;
	color: #fff;
	background: #c73333;
	padding: 0 0.5em 0.1em;
	margin-left: 1em;
	font-weight: lighter;
	border-radius: 3px;
}



@media(min-width:768px) {

	
table {
	max-width: 800px;
	margin: 0 auto 30px;
}
	
	
th {
    display: table-cell;
    width: 30%;
    /*border-right: 1px solid #ccc;*/
    font-weight: 400;
    vertical-align: middle;
	padding:1em;
	box-sizing: border-box;
	background:#ECEAEA;
	/*border: 1px dashed #aaa;*/
}
    
td {
    display: table-cell;
	padding:1em;
	box-sizing: border-box;
	/*border: 1px dashed #aaa;*/
	border: none;
}
    
    input,textarea{
        padding: 0.5em 1em;
        width: 80%;
    }
	
    
    .wpcf7-list-item input{
        width: 20px;
    }    
    
    .wpcf7-list-item{
        display: block !important;
        width: 100%;
        margin-top: 1em !important;
        margin-bottom: 2em !important;
    } 
    
    .wpcf7-form-control-wrap{
        
    }    
	
input.submit, button.submit{
	width: 200px;
}
	
input.back{
	width:180px;
}	
	
}


.main p{
	margin-bottom: 1em;
}


/* ===================================================
   ベーススタイル：モバイル（スマートフォン向け・縦並び）
   =================================================== */

/* 外側のfigureタグ */
figure.recruit-table {
  width: 100%;
  margin: 24px auto;
  padding: 0;
  box-sizing: border-box;
}

/* テーブル本体 */
figure.recruit-table table {
  display: block;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  color: #333333;
  border-top: 2px solid #2c3e50; /* 上部の引き締めアクセント線 */
  box-sizing: border-box;
}

figure.recruit-table tbody {
  display: block;
  width: 100%;
}

figure.recruit-table tr {
  display: block;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
  box-sizing: border-box;
}

/* 全td共通のリセット */
figure.recruit-table td {
  display: block;
  width: 100% !important;
  border: none;
  box-sizing: border-box;
}

/* 1列目のtd：項目名（スマホではラベル風に見せる） */
figure.recruit-table td:first-child {
  padding: 2px 8px;
  margin-bottom: 6px;
  background-color: transparent !important;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  border-left: 3px solid #2c3e50 !important; /* 左のアクセント棒 */
}

/* 2列目のtd：内容 */
figure.recruit-table td:last-child {
  padding: 2px 8px 6px 8px;
  background-color: transparent !important;
  font-size: 14px;
  font-weight: normal;
}

/* ===================================================
   PC・タブレット・印刷用スタイル（横並び2カラム）
   =================================================== */
@media print, screen and (min-width: 768px) {
  figure.recruit-table {
    max-width: 840px;
    margin: 32px auto;
  }

  figure.recruit-table table {
    display: table;
    font-size: 15px;
    border-bottom: 1px solid #e2e8f0;
      border-bottom: 1px solid #ccc;
  }

  figure.recruit-table tbody {
    display: table-row-group;
  }

  figure.recruit-table tr {
    display: table-row;
    padding: 0;
    border-bottom: 1px solid #eef2f6;
  }

  /* 1列目のtd：左カラム（thの代わり） */
  figure.recruit-table td:first-child {
    display: table-cell;
    width: 25% !important;
    min-width: 120px;
    padding: 18px 20px;
    margin-bottom: 0;
    background-color: #f8fafc !important; /* 薄いグレーの背景 */
    background-color: #f2eff6 !important;
    color: #2b303a;
    border-left: none !important; /* スマホ用の左アクセント線を消す */
    vertical-align: top;
      border-bottom: 1px solid #fff;
  }

  /* 2列目のtd：右カラム */
  figure.recruit-table td:last-child {
    display: table-cell;
    width: 75% !important;
    padding: 18px 20px;
    background-color: #ffffff !important;
    font-size: 15px;
    vertical-align: top;
      border-bottom: 1px solid #ddd;
  }
}


.btn a{
    display: block;
    width: 90%;
    max-width: 500px;
    margin: 0 auto 50px;
    font-size: 20px;
    background: #795A9E;
    color: #fff;
    text-align: center;
    padding: 0.5em 1em 0.6em;
    box-sizing: border-box;
    border-radius: 100px;
}

@media print, screen and (min-width: 768px) {
.btn a{
    font-size: 24px;
}    
    
    
}


.pp-g{
    margin-bottom: 50px;
}


.pp-g h3{
    font-weight: bold;
    margin-bottom: 0.2em;
}


.wp-block-list{
    margin-bottom: 30px;
}

.wp-block-list li{
    width: 90%;
    box-sizing: border-box;
    margin-bottom: 1em;
}


.wp-block-list li a{
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    background: #795A9E;
    padding:0.5em 1em;
    box-sizing: border-box;
    /*text-align: center;*/
}


h2#pp, h2#cr{
         display: block;
         margin-top: -50px;
         padding-top: 50px;
}


@media print, screen and (min-width: 768px) {
    
.wp-block-list{
    display: flex;
    justify-content:space-between;
    align-items: center;
}

.wp-block-list li{
    width: 50%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1em;
    margin-bottom: 0;
} 
    
    
.wp-block-list li a{
    text-align: center;
}
    
    
    
}
