@charset "utf-8";
/* CSS Document */

/*　共通設定--------------------------------　*/
*{
	box-sizing: border-box;
}

html {
	/* reset-min設定の打ち消し
	background-color:transparent; */
}
body {
	margin:0 ;
	padding: 0 ;
/*	background: url(../img/common_body.gif) left top repeat-x;*/
	font-size: 16px;
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
	}

/*　背景のボックスが必要な場合のみ設定  */
#back {
}

p {font-size:100%;
	line-height:1.7em;
	margin:0;
	}

ul{
	padding: 0;
}

strong {font-weight:bold}

img {
	border:0;
	vertical-align: bottom;
}

hr{
	margin:0 0 25px 0;
    border: 0;
    height: 1px;
	clear:both;
	background:#FFA64D;
	}
    
table td hr {
	margin:0 0 1em 0;
    border: 0;
    height: 1px;
    background: url(../img/hr.gif) repeat-x ;
}

.pc-only{
	display: block;
}
.sp-only{
	display: none;
}

figure{
	margin: 0;
	padding: 0;
}
figcaption{
	font-size: 70%;
}

.float-l{
	float: left;
}
.float-r{
	float: right;
}





/*　ヘッダー--------------------------------　*/

#head {
	  width: 96%;
  max-width: 1200px;
 	height:130px;
  margin: 0 auto;
	padding:35px 0 0 0;
	position: relative;
}

/* logo */
#head h1 {
	width:600px; 
	font-size:24px;
	color:#78633B;
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
	text-align:left;
	float: left:
	}
#head h1 a {
	margin: 0px ;
	position:relative;/* h1が下に重なるのを防ぐ */
	z-index:1 ;
}
#head h1 a span{
	display:none;
}

#head h1 a img{
	margin: 0 20px 0 0;
}


/* ヘッダーナビ */

#head #head-navi{
	float:right;
	height:41px;
	width:400px;
	margin:-70px 40px 0 0;
	text-align:left;
}
#head #head-navi ul {
  display: flex;
  list-style: none;
  margin: 0;
	}
	
#head #head-navi ul li {
  margin-left: 20px;
  padding: 15px 0 0 0;
  border:1px solid #78633B;
  width: 240px;
  height: 70px;
  font-size:24px;
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
  background: ;  /* 背景色 */
  border-radius: 5px;  /* ← 角を丸める */
  text-align:center;
}

#head #head-navi a{
	  color:#78633B;
	  text-decoration:none;
}



/* ドロワーメニュー設定 */

/* チェックボックスは非表示 */
#menu-toggle {
  display: none;
}

/* ハンバーガーアイコン */
/* ボタン全体 */
.menu-icon {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  position: fixed;
  right: 5px;
  top: 25px;
  z-index: 1100;
  display: flex;              /* ← flexで中央揃え */
  align-items: center;
  justify-content: center;
}

/* 中のアイコン */
.menu-icon .material-icons {
  font-size: 45px;
  color: #333;
  line-height: 1;
  display: block;
  text-align: center; /* ← これで中央寄せ */
  width: auto;        /* ← 横幅100%を解除 */
  margin: 0 auto;     /* ← 念のため中央寄せ */
}

/* デフォルト：ハンバーガー */
.menu-icon .material-icons::before {
  content: "menu";
}

/* チェックON（ドロワー展開時）：×に切り替え */
#menu-toggle:checked + .menu-icon .material-icons::before {
  content: "close";
}


/* ドロワーメニュー（右に隠しておく） */
.drawer-menu {
  position: fixed;
  top: 0;
  right: -250px; /* ← 初期は画面外 */
  width: 250px;
  height: 100%;
  background: #333;
  transition: right 0.3s ease;
  padding-top: 60px;
  box-shadow: -2px 0 8px rgba(0,0,0,0.3);
  z-index: 1000;
}
.drawer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.drawer-menu li {
  margin: 0;
}
.drawer-menu a {
  display: block;
  padding: 15px;
  color: #fff;
  text-decoration: none;
}
.drawer-menu a:hover {
  background: #444;
}

/* チェックONで表示 */
#menu-toggle:checked ~ .drawer-menu {
  right: 0;
}

/* メニューオープン中のアイコン位置を少し左にずらす */
#menu-toggle:checked + .menu-icon {
  right: 260px;
}





/*　各ページビジュアル　-------------------------------- */
#pagevisual {
	/* max-width:940px; */
	width: 100%;
	height: 280px;
	margin:0px auto 0px auto ;
	z-index:1;/* naviが下に重なるのを防ぐ */
	background: #FFF7E9 url(../img/common_visual_h2_bg.png) no-repeat top 50px center;
	position: relative;
}

#pagevisual span {
	display:none;
}

#pagevisual h2{
	color: #78633B;
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
	font-size: 40px;
	text-align:center;
	letter-spacing: 0.4em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
}

#pagevisual h2 span {
	margin-top: 0.2em;
	display: block;
	font-size: 28px;
	color: #78633B80;
	letter-spacing: 0.1em;
}


/* スマホ用（800px以下） */
@media screen and (max-width: 800px) {
  #pagevisual {
    height: 100px;  /* 高さも縮める */
	background: #FFFAF0 ;
    background-image: none; /* 位置も調整 */
  }

  #pagevisual h2 {
    font-size: 22px;  /* 見出し小さく */
    letter-spacing: 0.2em;
    position: absolute;
    white-space: nowrap;         /* ← 強制的に折り返さない */
  top: 20%;
  left: 50%;
  }

  #pagevisual h2 span {
    font-size: 14px;  /* サブタイトル小さく */
  }
}








/*　TOP ビジュアル--------------------------------　*/

#visual {
	width: 100%;
	/* max-width: 940px; */
	clear:both;
	margin:0px auto ;
	padding: 0 0 0 0;
/*	background-color:#F5F1E9;*/
	position:relative;
	z-index:1; /* naviが下に重なるのを防ぐ */
	overflow: hidden;
}


@media screen and (max-width:800px){
#visual img {
    height:500px !important; /* スマホ用に高さを変更 */
    object-position: top;   /* 上寄せで表示 */
}
#visual:after {
	bottom: 0;
}
}


/* box-shadow,border設定を無効化 */
#visual .bx-viewport {
	box-shadow:none !important;
	border:none !important;
	background:none !important;
	left:0;
	}


 #visual .bx-wrapper img {
    max-width: 100%;
    display: block;
    height: auto;         /* PC用の高さ */
    object-fit: cover;     /* 画像をトリミングして埋める */
    object-position: center; /* 中央寄せ */
}

#visual .bxslider li{
	width: auto;
}





/*　コンテンツ背景--------------------------------　*/

/* #contents-back {
	background: url(../img/top_catch_bg.png) no-repeat top -1px center;
	margin: 0 auto;
	background-size: 1280px;
} */





/*　コンテンツ外枠--------------------------------　*/

#contents {
	width:100%;
	margin:0 auto 0 auto;
	}

#contents:after, .cf:after {
	content:".";
	height:0;
	clear:both;
	visibility:hidden;
	display:block;
	}







/*　コンテンツ　メインカラム--------------------------------　*/

#contents-main {
	width:100%;
	height:auto;
	padding: 0;
	margin:0px auto ;
	}
/*一番右端にきた要素　右マージン０*/
#contents-main .last{
	margin-right: 0;
}



/*　見出し　--------------------------------　*/

#contents-main h2 {
	/* font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif; */
	margin: 0px 0 50px 0 ;
	padding: 0 0 0 10px;
	line-height: 1.5;
    font-size: 120%;
    color: #333333;
    clear: both;
    text-align: center;
	/* border-left: 8px solid #80AF61; */
	font-weight: bold;
	position: relative;
} 
#contents-main h2 a {
	color:#fff;
	text-decoration:none;
}
#contents-main h2 span {
	display:none;
	}
#contents-main h2 img {
	/* margin-right:10px; */
	vertical-align:middle;
	margin: 0 auto;
	}

#contents-main h2.midasi {
	font-size: 140%;
}
#contents-main h2.midasi img{
	width: 70px;
	margin-bottom: 6px;
}
#contents-main h2.midasi span{
	position: relative;
	display: inline-block;
	color: #324C5E;
}
#contents-main h2.midasi span:before{
	content: "";
    display: inline-block;
    width: 100%;
    height: 3px;
    background: #FFA64D;
    position: absolute;
    top: 110%;
    left: 0;
}
#contents-main h2.margin-w{
	margin-bottom: 60px;
}




#contents-main h3 {
	/* 備忘録font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif; */
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
	margin: 2em 0 1em;
	line-height: 2;
    /*font-size: 116%;*/
    color: #324C5E;
    clear: both;
    text-align: center;
    /* border-left: 8px solid #80AF61; */
	position: relative;
	/* padding: 0 0 0 10px; */
}
	

#contents-main h3 img{
	margin: 0 auto;
	vertical-align:top;
	}

#contents-main h3 span {
	display: block;
    font-size: 70%;
	color: #999;
	}

#contents-main h3 a {
	color:#324C5E;
	text-decoration:none;
	}
#contents-main h3 a:hover {
	text-decoration:underline;
	}

	
#contents-main h4 {
	font-size: 100%;
    text-align: center;
    margin: 0 0;
	color: #f49f00;
	clear: both;
}

#contents-main h4 span{
}

/*回りより小さい文字　small-text 80％*/
#contents-main span.small-t{
	font-size: 80%;
	display: inline;
}
	



/*　本文　--------------------------------　*/

/*　文字色・サイズ　共通　*/
#contents-main p,
#contents-main table,
#contents-main ul ,
#contents-main ol { 
	color:#324C5E;
	font-size:100%;
	line-height:2;
	}
/*　文字serif　*/
#contents-main .serif{
	font-family: Ryumin Medium KL,"リュウミン M-KL",HiraMinProN-W3,HiraMinPro-W3,"ヒラギノ明朝 ProN W3","ヒラギノ明朝 Pro W3","ＭＳ 明朝",serif
}
/*　段落　*/
#contents-main p {
	margin:0 0 1em 0 ;
	}

#contents-main p img{
	margin:0 10px 20px 10px;
/*	background:#FFF;
	padding:2px;
	border: #CC9 solid 1px; */
	}

#contents-main p a:hover img{
/*	border: #2A5050 solid 1px;*/
}


/*　iframe　*/
#contents-main iframe{
	margin:0px 0px 0px;
/*	padding:2px;
	border: #CC9 solid 1px;*/
	}



/* リンク文字色 */
#contents-main a {
	color:#333;
	text-decoration:none;
	transition: 0.2s ease color;
}

#contents-main a:hover {
	color:#80AF61;
}

/* リンク文字色 */
#contents-main a:hover img {
	/* border: 1px solid #00cca3; */
}

/* リンク リスト画像 */
#contents-main li a img{
	opacity: 1;
	transition: 0.3s ease opacity;
}

#contents-main li a:hover img{
	opacity: 0.6;
}





/*　リスト　*/

#contents-main ul , #contents-main ol{
	margin:0 0 1em 20px;
	}
#contents-main ul li{
	list-style:disc outside;
	margin-bottom:0em;
	}
#contents-main ol li{
	list-style:decimal outside ;
	margin-bottom:0em;
	}

/* リスト内のテーブル設定 */
#contents-main ol li table,
#contents-main ul li table {
	width:auto;
	font-size:100%;
	margin:0;
	}
#contents-main ol li table td,
#contents-main ul li table td {
	vertical-align:top;
	}




/*　テーブル　*/

#contents-main table {
	width:100%;
	border-collapse:collapse;
/*		border-collapse:separate;
	border-spacing : 5px 5px;*/
	margin:0 0 5px 0;
	}
#contents-main table th {
	background:#E1FFF1;
	text-align:center;
	white-space:nowrap;
	vertical-align:middle;
	font-weight:600;
	border:2px solid #fff;
	padding: 5px;
	width: 15%;
	font-size: 100%;
}
body.index #contents-main table th {
	vertical-align: top;
}


#contents-main table td {
	background:#fff;
	padding:10px;
	font-size: 100%;
	/* white-space: nowrap; */
	text-align: left;
	border: 1px solid #fff;
}


/* セル内小さい文字 */
#contents-main table th span.table-font-s {
	font-size:85%;
	}


/* テーブル内 p ol ul設定 */
#contents-main table p,
#contents-main table ol,
#contents-main table ul {
	font-size:100%;
	}
#contents-main table ol ,
#contents-main table ul {
	margin-bottom:0;
	}
#contents-main table ol li,
#contents-main table ul li {
	margin-bottom:0;
	}

/* テーブル内のテーブル設定 */
#contents-main table td table {
	width:auto;
	font-size:100%;
	margin:0;
	border:none;
	}
#contents-main table td table th,
#contents-main table td table td {
	border:none;
}

/* th グレー１ */
#contents-main table th.th-color01 {
	background:#F7F7F7;
	}

/* th グレー２ */
#contents-main table th.th-color02 {
	background:#F7F7F7;
	}







/* ★タブの設定　募集要項で使用-------------------------------- */

#contents-main #tabArea {
/*	background:#FFF;*/
	/* border-top:1px solid #999; */
	height:auto;
	/* padding:30px 0; */
	margin:0 0 0px 0;
	/* overflow-y:auto; */
	clear:both;
	}

/*　タブ切り替えの設定　--------------------------------　*/
#contents-main #tab {
	clear: both;
	overflow: hidden;
	margin: 0;
	width: 100%;
}

#contents-main #tab li{
	list-style: none;
    width: 50%;
    float: left;
    text-align: center;
    box-sizing: border-box;
	margin-bottom: 0;
}

#contents-main #tab li a{
	width: 100%;
	display: block;
	background: #999;
	color: #fff;
	padding: 1em 2%;
	transition: 0.5s ease;
	height: auto;
	border: none;
}
#contents-main #tab li a.active{
	background: #efefef;
	color: #333;
	text-decoration: none;
}
#contents-main #tab li a:hover {
	background: #efefef;
	color: #999;
	text-decoration: none;
}
#contents-main .con-main-box{
	padding-bottom: 0;
}


/* #contents-main ul#tab li a{
	display:inline-block;
	background:#F4F4F4;
	height:40px;
	width:130px;
	margin:0 5px 0 0;
	font-size:95%;
	line-height:40px;
	text-align:center;
	color:#333;
	white-space:nowrap;
	text-decoration:none;
	border:1px solid #999;
	border-bottom:0;
	}
#contents-main ul#tab li a.hover,
#contents-main ul#tab li a.active{
	background:#00A55D;
	color:#fff;
	} */




/* フッター--------------------------------　*/

#footer {
	margin:100px auto 0px auto;
	padding: 0 0;
	width:100%;
	clear:both;
	background:#fff;
	position: relative;
	padding-bottom: 56px;
}

#footer .box {
	width: 96%;
	max-width: 940px;
	margin: 0 auto;
}
#footer a {
	color:#333;
	text-decoration:none;
	transition: 0.2s ease color;
}
#footer a:hover {
	color: #80AF61;
}
#footer #footer_inner {
	margin:0px auto 0px auto;
	padding:0px 0px;
	position: relative;
	}
#footer #footer_inner p{
	margin:0 0 1em;
	text-align:left;
	font-size: 100%;
	color:#333;
	}



/*フッターロゴ*/	
#footer .footer_logo{
	display: block;
	text-align: center;
}

/* 左ボーダーなしbox */
#footer #footer-navi .noborder {
	border:none;
	}

/*アドレス*/
#footer #footer_inner .address {
	text-align: center;
	color: #333;
	margin: 30px auto;
	font-size: 100%;
}

/*footer_items*/
#footer .footer_items{
	width: 86.7%;
	margin: 50px auto 40px;
	display:-webkit-box;
  	display:-ms-flexbox;
	display:flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
#footer .footer_item{
	width: 31.28%;
	display: flex;
    flex-direction: column;
}
#footer .footer_item img{
	width: 100%;
}

#footer .footer_item h3{
	background: #f49f00;
    color: #fff;
    text-align: center;
	padding: 5px;
	margin-bottom: 1em;
}
/*table*/
#footer table{
	width: 100%;
	color: #333;
}

#footer table th {
	background:#c7e2c4;
	text-align:center;
	white-space:nowrap;
	vertical-align:middle;
	/* font-weight:600; */
	border:1px solid #999;
	padding: 2px 4px;
	width: 10%;
	font-size: 90%;
}

#footer table td {
	background:#fff;
	padding:2px 4px;
	font-size: 100%;
	white-space: nowrap;
	text-align: center;
	border: 1px solid #999;
}
#footer #footer_inner td.small{
	font-size: 85%;
} 

#footer #footer_inner p.copyright{
	font-size: 12px;
	color: #333;
	margin-bottom: 0;
	padding: 10px;
    text-align: center;
}




/*footernavi*/
.footernavi{
	display: none;
	width: 100%;
	clear: both;
	position: fixed;
    bottom: 0;
	left: 0;
	z-index: 2;
}
.footernavi > div{
    width: 100%;
    display: inline-block;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	text-align: center;
}

.footernavi .fn_contact{
	background: url(../img/footernavi_bg.png) repeat top left;
	float: right;
}
.footernavi > div a{
	color: #fff;
    text-decoration: none;
	font-size: 150%;
	padding: 10px 10px;
	display: block;
	font-weight: 600;
}
.footernavi > div a img{
	vertical-align: text-bottom;
}

.material-icons {
  font-size: 30px;
  color: #fff;
  margin:0 5px 0 0 ;
  vertical-align: -6px;
}



/* ページトップ */
p.pagetop {
	display: none;
	position: fixed;
	bottom: 50px;
	right: 20px;
	}
p.pagetop a {
	display: block;
	width: 50px;
	height: 50px;
	background-color: #000;
	text-align: center;
	color: #fff;
	font-size: 24px;
	text-decoration: none;
	line-height: 50px;
	filter: alpha(opacity=85); /* 透過設定 */
	  -moz-opacity:0.85;
	opacity:0.85;
	}
p.pagetop a:hover {
	background-color: #333;
	}
#footer	p.pagetop a {
	color: #fff;
}
#footer	p.pagetop a:hover {
	color: #fff;
}











/* ★各ページ共通--------------------------------　*/

/*タイトル------------------------------------*/
#contents-main #title{
	max-width: 940px;
	width: 100%;
	height: 75px;
	margin: 30px auto 40px auto;
}
	



/* 背景色あり　横幅100％の共通ボックス */
#contents-main .con-main-bg {
	width: 100%;
	margin: 0;
	background:#fff;
}


/* コンテンツ幅　固定 */
#contents-main .con-main-box {
	width: 96%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 20px 0 0px 0;
}
#contents-main .con-main-box:after {
	content:".";
	height:0;
	clear:both;
	visibility:hidden;
	display:block;
}


#contents-main .con-main-box2 {
	width: 96%;
	max-width: 1080px;
	margin: 0 auto;
	padding: 20px 0 0px 0;
}
#contents-main .con-main-box2:after {
	content:".";
	height:0;
	clear:both;
	visibility:hidden;
	display:block;
}

/*swipebox*/
#swipebox-container #swipebox-title{
	line-height: 1.6;
	padding: 2em 1em 1em;
}







/* ★トップページのみ--------------------------------　*/
body.index #contents-main .con-main-box {
	margin: 0 auto 0;
	padding: 0 0 0 0;
}

/* キャッチコピー*/
body.index #contents-main h2  {
	border: none;
	padding: 10px 0 0 0 ;
	margin: 0 0 20px 0 ;
	text-align: center;
	color:#F49F00;
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
	font-size: 32px;
}

body.index #contents-main h3  {
	border: none;
	padding: 0px 0 0 0 ;
	margin: 0px 0 50px 0 ;
	text-align: center;
	color:#333333;
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
	font-size: 28px;
}

@media screen and (max-width:800px){
  body.index #contents-main h2 {
    font-size: 24px !important; /* PC用を強制上書き */
    font-weight: 700;
  }
 body.index #contents-main h3  {
 	font-size: 21px !important; /* PC用を強制上書き */
 }
}


/* ご挨拶 */
body.index #contents-main .con-main-box {
  display: flex;
  flex-wrap: nowrap;      /* ← 折り返さず常に横並び */
  gap: 20px;
  align-items: flex-start;
  max-width: 1080px;
  margin: 0px auto ;
  padding: 0 15px;
}

/* 見出し */
body.index #contents-main .con-main-box h3 {
  color:#78633B;
  height:122px;
  font-size: 32px;
  padding: 10px 0 0 0;
  margin: 0 0 30px 0;
  background:url(../img/common_h3_bg.png) top center no-repeat;
}

body.index #contents-main .con-main-box h3 span {
  display: block;
  font-size: 20px;
  letter-spacing: 0;
}

@media screen and (max-width:800px) {
  body.index #contents-main .con-main-box h3 {
    font-size: 28px !important;  /* 強制上書き */
    margin: 0 0 20px 0;
  }
  body.index #contents-main .con-main-box h3 span {
  display: block;
  font-size: 20px;
  letter-spacing: 0;
}
}


/* 写真＋名前 */
body.index #contents-main .con-main-box p.greet-img {
  flex: 0 0 40%;           /* ← float 削除、幅を40%に固定 */
  margin: 0;
  text-align: right;
  order: 2;   /* ← 右 */
}

body.index #contents-main .con-main-box p.greet-img img {
  max-width: 100%;
  height: auto;
}

/* テキスト */
body.index #contents-main .con-main-box .greet-txt {
  flex: 1 1 60%;           /* ← float 削除、幅を60%に */
  margin: 0;
  color:#333333;
  font-size: 18px;
  order: 1;   /* ← 左 */
}

/* 「続きを読む」ボタン */
body.index #contents-main .con-main-box .greet-txt a {
  display:block;
  margin: 20px auto;
  padding: 10px 0 0 0;
  border:1px solid #78633B;
  width: 240px;
  height: 70px;
  font-size:24px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  color:#78633B;
  border-radius: 5px;
  text-align:center;
}

/* --- スマホ調整 --- */
@media screen and (max-width:768px){
  body.index #contents-main .con-main-box {
    flex-wrap: wrap;   /* ← 折り返し可 */
    gap: 20px;         /* すき間は gap に任せる */
  }

  /* 画像 */
  body.index #contents-main .con-main-box p.greet-img {
    flex: 0 0 100%;    /* 幅100% */
    margin: 0;         /* ← 余白リセット */
    text-align: center;/* ← 中央揃えしたいならここ */
  }

  /* テキスト */
  body.index #contents-main .con-main-box .greet-txt {
    flex: 0 0 100%;    /* 幅100% */
    margin: 0;         /* ← 左余白を消す */
    padding: 0 10px;   /* ← 左右均等にインナー余白をつける */
    text-align: left;  /* ← 本文は左揃え */
  }
  
  /* 続きボタン */
    body.index #contents-main .con-main-box .greet-txt a {
    width: 160px;
    height: 50px;
    font-size: 16px;
    padding: 8px 0 0 0; /* 高さに合わせて微調整 */
  }
  
}



  /* TOP 先輩メッセージ */

/* 見出し */

body.index #contents-main .con-main-box2 h3 {
  color:#78633B;
  height:122px;
  padding: 10px 0 0 0;
  margin: 20px 0 30px 0;
  font-size: 32px;
  background:url(../img/common_h3_bg.png) top center no-repeat;
}

body.index #contents-main .con-main-box2 h3 span {
  display: block;
  font-size: 20px;
  letter-spacing: 0;
}

@media screen and (max-width:800px) {
  body.index #contents-main .con-main-box2 h3 {
    font-size: 28px !important;  /* 強制上書き */
    margin: 60px 0 20px 0;
  }
  body.index #contents-main .con-main-box2 h3 span {
  display: block;
  font-size: 20px;
  letter-spacing: 0;
}

  body.index #contents-main .con-main-box2 p {
    margin: 0 0 0 0;
  }
}


/* 先輩3カラム */
body.index #contents-main .con-main-box .senpai {
  padding: 0px 0 0 0;
  margin: 0 0 0px 0;
  text-align: center;
  display: flex;
  justify-content: flex-start; /* 左寄せ */
  gap: 20px;
  flex-wrap: wrap; /* 折り返し可 */
}

body.index #contents-main .con-main-box .senpai p {
  flex: 0 0 calc(33.333% - 14px); /* ★PCは常に3カラム */
  max-width: calc(33.333% - 14px);
  box-sizing: border-box;
  margin-bottom: 20px;
  text-align: center;
}

/* スマホ：2カラム */
@media screen and (max-width: 768px) {
  body.index #contents-main .con-main-box .senpai p {
    flex: 0 0 calc(50% - 10px); /* ちょうど2カラム */
    max-width: calc(50% - 10px);
  }
}






/* ★ごあいさつ greet--------------------------------　*/
/* ご挨拶 */
body.greet #contents-main .con-main-box {
  display: flex;
  flex-wrap: nowrap;      /* ← 折り返さず常に横並び */
  gap: 20px;
  align-items: flex-start;
  max-width: 1080px;
  margin: 20px auto 40px auto;
  padding: 0 15px;
}

/* 見出し */
body.greet #contents-main .con-main-box h3, body.greet #contents-main .con-main-box2 h3 {
  color:#78633B;
  height:122px;
  font-size: 32px;
  padding: 10px 0 0 0;
  margin: 0 0 30px 0;
  background:url(../img/common_h3_bg.png) top center no-repeat;
}

body.greet #contents-main .con-main-box h3 span, body.greet #contents-main .con-main-box2 h3 span {
  display: block;
  font-size: 20px;
  letter-spacing: 0;
}

@media screen and (max-width:800px) {
  body.greet #contents-main .con-main-box h3 {
    font-size: 28px !important;  /* 強制上書き */
    margin: 0 0 20px 0;
  }
  body.greet #contents-main .con-main-box h3 span {
  display: block;
  font-size: 20px;
  letter-spacing: 0;
}
}


/* 写真＋名前 */
body.greet #contents-main .con-main-box p.greet-img {
  flex: 0 0 40%;           /* ← float 削除、幅を40%に固定 */
  margin: 0;
  text-align: right;
  order: 2;   /* ← 右 */
}

body.greet #contents-main .con-main-box p.greet-img img {
  max-width: 100%;
  height: auto;
}

/* テキスト */
body.greet #contents-main .con-main-box .greet-txt {
  flex: 1 1 60%;           /* ← float 削除、幅を60%に */
  margin: 0;
  color:#333333;
  font-size: 18px;
  order: 1;   /* ← 左 */
}

/* 「続きを読む」ボタン */
body.greet #contents-main .con-main-box .greet-txt a {
  display:block;
  margin: 20px auto;
  padding: 10px 0 0 0;
  border:1px solid #78633B;
  width: 240px;
  height: 70px;
  font-size:24px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  color:#78633B;
  border-radius: 5px;
  text-align:center;
}

/* --- スマホ調整 --- */
@media screen and (max-width:768px){
  body.greet #contents-main .con-main-box {
    flex-wrap: wrap;   /* ← 折り返し可 */
    gap: 20px;         /* すき間は gap に任せる */
  }

  /* 画像 */
  body.greet #contents-main .con-main-box p.greet-img {
    flex: 0 0 100%;    /* 幅100% */
    margin: 0;         /* ← 余白リセット */
    text-align: center;/* ← 中央揃えしたいならここ */
  }

  /* テキスト */
  body.greet #contents-main .con-main-box .greet-txt {
    flex: 0 0 100%;    /* 幅100% */
    margin: 0;         /* ← 左余白を消す */
    padding: 0 10px;   /* ← 左右均等にインナー余白をつける */
    text-align: left;  /* ← 本文は左揃え */
  }
}














/* ★先輩メッセージ--------------------------------　*/

/* 先輩一覧 共通 */
body.senpai #contents-main .con-main-box .senpai {
  padding: 20px 0 0 0;
  margin: 0 0 50px 0;
  text-align: center;
  display: flex;
  justify-content: flex-start; /* 左寄せ */
  gap: 20px;
  flex-wrap: wrap; /* 折り返し可 */
}

body.senpai #contents-main .con-main-box .senpai p {
  flex: 0 0 calc(33.333% - 14px); /* ★PCは常に3カラム */
  max-width: calc(33.333% - 14px);
  box-sizing: border-box;
  margin-bottom: 20px;
  text-align: center;
}

/* スマホ：2カラム */
@media screen and (max-width: 768px) {
  body.senpai #contents-main .con-main-box .senpai p {
    flex: 0 0 calc(50% - 10px); /* ちょうど2カラム */
    max-width: calc(50% - 10px);
  }
}


/* 先輩詳細ページ　インタビュー */
body.senpai #contents-main .con-main-box {
  display: flex;
  flex-wrap: nowrap;      /* ← 折り返さず常に横並び */
  gap: 20px;
  align-items: flex-start;
  max-width: 1080px;
  margin: 50px auto;
  padding: 0 15px;
}

/* 見出し */
body.senpai #contents-main .con-main-box h3 {
  color:#78633B;
  height:122px;
  font-size: 27px;
  line-height:1.5em;
  padding: 30px 0 0 0;
  margin: 0 0 30px 0;
  background:url(../img/common_h3_bg.png) top center no-repeat;
}

@media screen and (max-width:800px) {
  body.senpai #contents-main .con-main-box h3 {
    font-size: 20px !important;  /* 強制上書き */
    margin: 30px 0 20px 0;
    line-height:1.5em;
  }
}


/* 先輩写真＋名前 */
body.senpai #contents-main .con-main-box p.interview-img {
  flex: 0 0 35%;           /* ← float 削除、幅を35%に固定 */
  margin: 0 0 50px 0;
  text-align: center;
  order: 1;   /* ← 左 */
}

body.senpai #contents-main .con-main-box p.interview-img img {
  max-width: 100%;
  height: auto;
}

/* テキスト */
body.senpai #contents-main .con-main-box .interview-txt {
  flex: 1 1 60%;           /* ← float 削除、幅を60%に */
  margin: 0;
  color:#333333;
  font-size: 18px;
  order: 2;   /* ← 右 */
}

body.senpai #contents-main .con-main-box .interview-txt p {
  margin: 0 0 50px 0 ;
}

/* --- スマホ調整 --- */
@media screen and (max-width:768px){
  body.senpai #contents-main .con-main-box {
    flex-wrap: wrap;   /* ← 折り返し可 */
    gap: 20px;         /* すき間は gap に任せる */
  }

  /* 画像 */
  body.senpai #contents-main .con-main-box p.interview-img {
    flex: 0 0 100%;    /* 幅100% */
    margin: 0;         /* ← 余白リセット */
    text-align: center;/* ← 中央揃えしたいならここ */
  }
  
    body.senpai #contents-main .con-main-box p.interview-img img {
    width:80%;
  }

  /* テキスト */
  body.senpai #contents-main .con-main-box .interview-txt {
    flex: 0 0 100%;    /* 幅100% */
    margin: 0;         /* ← 左余白を消す */
    padding: 0 10px;   /* ← 左右均等にインナー余白をつける */
    text-align: left;  /* ← 本文は左揃え */
  }
  
}



/* ★アクセス--------------------------------　*/
body.access #contents-main h3{
  font-size: 20px;
}

body.access .float-l{
	width: 48%;
}
body.access .float-r{
	width: 48%;
}
body.access #contents-main p{
	text-align: center;
}
body.access #contents-main .float-l img,
body.access #contents-main .float-r img {
    margin: 0 0 1em;
}



#contents-main table.medical-time th {
	background:#c7e2c4;
	text-align:center;
	white-space:nowrap;
	vertical-align:middle;
	font-weight:600;
	border:2px solid #fff;
	padding: 5px;
	width: 10%;
	font-size: 85%;
}

#contents-main table.medical-time td {
	background:#fff;
	padding:10px;
	font-size: 85%;
	white-space: nowrap;
	text-align: center;
	border: none;
	border-bottom: 1px solid #ddd;
}
#contents-main .access-box{
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-top: 2em;
}
#contents-main .access-box .a-detail{
		margin: 0 1% 1em;
		-ms-flex-preferred-size: 31.3333%;
		flex-basis: 31.3333%;
	}
#contents-main .access-box .a-detail img{
	margin: 0;
	width: 100%;
	height: auto;
}
#contents-main .access-box .a-detail .text{
	text-align: left;
	display: block;
	line-height: 1.6;
}
#contents-main .access-box .a-detail .c-title{
	font-weight: bold;
    display: inline-block;
	margin: 0.5em auto 0.3em;
	line-height: 1.6;
}






/* ★Q&A--------------------------------　*/
body.faq #contents-main .read_open_close {
	position: relative;
	text-align: left;
}
body.faq #contents-main .read_open_close:after {
    content: "+";
	color: #666;
    border: 1px solid #999;
    margin-left: 1em;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    display: inline-block;
    line-height: 0.9;
	text-align: center;
	font-size: 100%;
}
body.faq #contents-main .read_open_close.active:after {
    content: "‐";
}

/* ★追記の設定-------------------------------- */

.tuiki{
	display:none;
  background-color: #f9f9f9;       /* やさしい背景色 */
  border: 2px solid #ddd;          /* 薄いグレーの枠線 */
  border-radius: 12px;             /* 角丸 */
  padding: 20px;                   /* 内側の余白 */
  margin: 20px 0;                  /* 上下の余白 */
  font-size: 16px;
  line-height: 1.8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* ほんの少し立体感 */
}

	}

h3.read_open_close{
	cursor:pointer;
	}




/* ★医院見学会-------------------------------- */

/* 最初の段落のスマホマージン */
@media screen and (max-width: 768px) {
  body.tour #contents-main .con-main-box2 p:first-of-type {
    margin-top: 20px;  /* 好きな余白 */
  }
}

#kengakukai-box {
  background-color: #E1FFF1;      /* 背景色 */
  border: 0px 
  border-radius: 12px;            /* 角丸 */
  padding: 20px;                  /* 内側の余白 */
  margin: 20px 0;                 /* 上下余白 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* 軽い影で立体感 */
  font-size: 16px;
  line-height: 1.8;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.kengakukai-text {
  flex: 1 1 60%;
  font-size: 16px;
  line-height: 1.8;
}

.kengakukai-img {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kengakukai-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* スマホ対応 */
@media (max-width: 768px) {
  #kengakukai-box {
    flex-direction: column;
  }
  .kengakukai-img {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .kengakukai-img img {
    width: 100%;
  }
}



/* 「続きを読む」ボタン */
body.tour #contents-main .con-main-box2 p a {
  display:block;
  margin: 30px auto;
  padding: 10px 0 0 0;
  border:1px solid #78633B;
  width: 240px;
  height: 70px;
  font-size:24px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  color:#78633B;
  border-radius: 5px;
  text-align:center;
}

/* --- スマホ調整 --- */
@media screen and (max-width:768px){ 
  /* 続きボタン */
    body.tour #contents-main .con-main-box p a {
    width: 160px;
    height: 50px;
    font-size: 16px;
    padding: 8px 0 0 0; /* 高さに合わせて微調整 */
  }
}





/* ★応募要項--------------------------------　*/

/* 見出し */
body.recruit #contents-main .con-main-box h3 {
  color:#78633B;
  height:122px;
  font-size: 27px;
  line-height:1.5em;
  padding: 30px 0 0 0;
  margin: 30px 0 20px 0;
  background:url(../img/common_h3_bg.png) top center no-repeat;
}

@media screen and (max-width:800px) {
  body.recruit #contents-main .con-main-box h3 {
    font-size: 20px !important;  /* 強制上書き */
    margin: 30px 0 20px 0;
    line-height:1.5em;
  }
}



/* ★お問い合わせ/エントリー共通--------------------------------　*/
/* 最初のtableのスマホマージン */
@media screen and (max-width: 768px) {
  body.contact #contents-main .con-main-box table:first-of-type {
    margin-top: 20px;  /* 好きな余白 */
  }
}

body.contact #contents-main td a.link{
	color: #00cca3;
}


body.contact #contents-main{
	padding-top: 20px;
}
#contents-main .pp{
	margin-bottom: 0;
	background: #eee;
}
#contents-main .pp h3{
	text-align: left;
	border: none;
	padding: 0;
	margin: 2em 0 1em;
}
#contents-main .pp h3:after{
	border-bottom: none;	
}



/* ページごとに設定　注意文のテーブルボーダー・背景削除
body.pre-entry #contents-main table ,
body.pre-entry #contents-main table th ,
body.pre-entry #contents-main table td ,

body.contact #contents-main table ,
body.contact #contents-main table th ,
body.contact #contents-main table td {
	border:none;
	}
body.pre-entry #contents-main table td,
body.contact #contents-main table td {
	background:none;
 { */
	

#contents-main table.soy_inquiry_message {
	border:0;
	background:none;
	margin:0;
	}
#contents-main table.soy_inquiry_message td , #contents-main table.soy_inquiry_message th {
	border:0;
	background:none;
	padding:0;
	}
	
span.error_message {
	color:#900}

/* お問い合わせ　テーブル設定 */
#contents-main table#inquiry_form {
	}
#contents-main table#inquiry_form th {
	background:#F8F8F6;
	text-align:center;
	padding:10px ;
	white-space:nowrap;
	vertical-align:middle;
	font-weight:400;
	border:2px solid #fff;
}

#contents-main table#inquiry_form td {
	background:#fff;
	padding:10px;
	border:2px solid #fff;
	text-align: left;
	}

body.contact #contents-main table tr:nth-child(odd) td {
	background: #fff;
}

#contents-main table input[name="confirm"] {
	font-size: 18px;
}

/* 住所　nest table用 */
#contents-main table#inquiry_form table {
	width:100%;
}
#contents-main table#inquiry_form table td {
	border:0;
	white-space:nowrap;	
}



/*body #contents-main table#inquiry_form table td {
	padding-left:0;
	padding-right:0;
	white-space:nowrap;
	}*/


/* テキストボックスなどの長さ */

#contents-main table#inquiry_form  td input.name{
	width:200px}
#contents-main table#inquiry_form  td input.mail{
	width:350px}
#contents-main table#inquiry_form  td input.subject{
	width:300px}
#contents-main table#inquiry_form  td textarea {
	width:100%;}	



@media (min-width: 800px) and (max-width: 980px) {
	/* #navi li {
		padding: 0 16px;
	} */
	#navi li a {
		font-size: 106%;
	}
	#navi li {
		width: 14.28%;
		float: left;
		padding: 0 0;
	}
	body.index .housin_text {
		width: 63%;
	}
	body.index #contents-main .housin_text p {
		font-size: 100%;
	}
	body.index #contents-main .topics {
		width: 50%;
	}
	#footer .medical-time{
		font-size: 80%;
	}
}








/* 印刷用設定　ここから */	
@media print {


/* JSナビ固定の解除 */
.fixed {
	position:relative ;
	}


}
/* 印刷用設定　ここまで */