/* ================================
  info
  MB→PC min-width:1100px
================================ */

/* ページタイトル ※調整
-------------------------------- */
#cateTitImg {background-image: url("../info/img/contetitimg_info.jpg") ;}
#cateTitTxt {background-image: url("../info/img/contetitimg_info_bg.jpg");}
#cateTitTxt h1 { background: rgba(142,212,160,0.80);}


/* ページ内アンカー
-------------------------------- */
.pgAncList {
  padding-bottom: 20px;
}


/* -------------------------------- 
  JA掛川市について TOP
-------------------------------- */

#infoTopBaseNav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
	gap: 0.6%;
}
#infoTopBnrNav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

#infoTopBaseNav li {
  width: 49%;
  margin: 0 0 0.6%;
  border: 2px solid #d1c8c2;
}
#infoTopBaseNav li a {
  display: flex;
  height: 50px;
  justify-content: center;
  align-items: center;
}

#infoTopBaseNav li .box {
  text-align: center;
}
#infoTopBaseNav li i {
  font-size: 20px;
}
#infoTopBaseNav li .txt {
  display: block;
  padding-top: 5px;
}

/* #infoTopBnrNav */
#infoTopBnrNav {
  padding-top: 10px;
}
#infoTopBnrNav li {
  width: 49%;
  margin: 0 0 10px;
}
#infoTopBnrNav li a {
  display: block;
  text-align: center;
}

@media screen and (max-width: 767px) {/*調整*/
  #infoTopBnrNav li:nth-child(2n) {
   margin-left: 2%;
  }
  #infoTopBnrNav li img {
    width: 100%;
  }
}

@media screen and (min-width: 768px), print {/*調整*/

  #infoTopBaseNav li a {
    height: 80px;
  }

  /* #infoTopBnrNav */
  #infoTopBnrNav li {
    width: 32.6%;
    margin: 0 0 10px;
  }
  #infoTopBnrNav li:nth-child(n+2) {
   margin-left: auto;
  }
}

@media screen and (max-width: 1099px) {
/*  #infoTopBaseNav li:nth-child(2n) {
   margin-left: 2%;
  }*/
  #infoTopBaseNav li a {
    font-size: 14px;
  }
}

@media screen and (min-width: 1100px), print {
  #infoTopBaseNav li {
    width: 19.5%;
    margin: 0 0 10px;
  }
  /*#infoTopBaseNav li:nth-child(n+2) {
   margin-left: 2%;
  }*/
  
}


/* お知らせ */
#infoTopNews.secBox {
  padding-bottom: 0;
}
#infoTopNews .tit {
  background-color: #c6efd5;
}

/* 各基本方針 */
#infoTopPolicy .tit {
  background-color: #d1c8c2;
}



/* -------------------------------- 
  各施設のご案内
-------------------------------- */
#facility #conteTitTxt {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #4c3131;
  font-size: 24px;
}

#facilities {
  padding-bottom: 30px;
}

#facility #facilities section {
  padding-top: 30px;
}
#facility #facilities section h2 {
  margin-bottom: 10px;
}

#facility #facilities table {
  width: 100%;
}
#facility #facilities table.hyo {
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #3f3f3f;
}
#facility #facilities table.hyo th {
  padding: 7px;
  background-color: #bed97a;
  font-weight: normal;
  text-align: left;
  vertical-align: middle;
}
#facility #facilities table.hyo th:not(.vsp) {
  font-weight: bold;
}
#facility #facilities table.hyo th a {
  color: #000;
}
#facility #facilities table.hyo th a:hover {
  color: #c36;
}
#facility #facilities table.hyo td {
  padding: 7px;
  border-top: 1px solid #ccc;
  vertical-align: middle;
}

#facility .selectSp {
  padding: 0 0 20px;
}

/* 施設プルダウン */
#facility .selectSp select {
  padding: 10px 40px 10px 10px;
  appearance: none;
  background: url("../info/img/arrow_btm_gray.png") no-repeat 90% 12px;
  background-size: 13px 13px;
  font-size: 14px;
  border: none;
  color: #333;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3) inset;
  cursor: pointer;
}
#facility .selectSp select option {
  display: block;
  padding: 10px 0;
  color: #333;
  background: #d8e8af;
}
#facility #facilities table.hyo .vsp {
  background-color: #D8E8AF;
}

@media screen and (max-width: 799px) {
  #facility #facilities th, #facility #facilities td {
    display: block;
  }
  #facility #facilities table.hyo th {
    border-top: 1px solid #A1C83F;
  }
  #facility #facilities table.hyo th:not(.vsp) {
    padding: 14px 7px;
    font-size: 18px;
  }
  #facility .noneTd {
    display: none;
  }
  #facility .mbBSp {
    padding-bottom: 7px !important;
  }
  #facility .mbBSp0 {
    padding-bottom: 0px !important;
  }
  
  #facility #facilities table.hyo td a:nth-of-type(n+2) {
    display: inline-block;
    margin-top: 10px;
  }
  
  #facility #facilities table.hyo td.blank:not(:nth-of-type(2)) {
    display: none;
  }
}

@media screen and (min-width: 800px), print {
  #facility #conteTitTxt {
    margin-bottom: 30px;
    padding-bottom: 0;
  }
  #facility #facilities table.hyo {
    font-size: 14px;
    border: 1px solid #ccc;
    table-layout: fixed;
  }
  #facility #facilities table.hyo th,
  #facility #facilities table.hyo td {
    text-align: left;
  }
  #facility #facilities table.hyo th {
    border-top: 1px solid #a1c83f;
    width: 210px;
  }
  #facility #facilities table.hyo td {
    white-space: nowrap;
    border-right: 1px dotted #ccc;
  }
  #facility #facilities table.hyo .vsp {
    padding-left: 24px;
  }
  #facility #facilities table.hyo td:nth-of-type(1) {
    width: 280px;
  }
  #facility #facilities table.hyo tr:nth-child(even) {
    background-color: #eee;
  }
}


/* -------------------------------- 
  営業時間のお知らせ
-------------------------------- */
#openinghours #conteTitTxt {
  margin-bottom: 30px;
  padding-bottom: 8px;
  border-bottom: 2px solid #4c3131;
  font-size: 24px;
}
#openinghours #facilities {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 15px;
  }
  
#openinghours #facilities.hyo th {
  padding: 7px;
  background-color: #e0f3b1;
  border: 1px solid #ccc;
  font-weight: normal;
  text-align: left;
  vertical-align: middle;
}
#openinghours #facilities.hyo tr:nth-child(even) th {
  background-color: #d3efea;
}
#openinghours #facilities.hyo th a {
  color: #4c3131;
}
#openinghours #facilities.hyo th a:hover {
  color: #cc3366;
}
#openinghours #facilities.hyo td {
  padding: 7px;
  vertical-align: middle;
}
#openinghours #facilities.hyo td table {
  width: 100%;
}
#openinghours #facilities.hyo td table td, #openinghours #facilities.hyo td:nth-child(3) {
  padding: 7px;
  white-space: nowrap;
}
#openinghours #facilities.hyo td:nth-child(3) {
  line-height: 1.6;
}
#openinghours #facilities.hyo tr:nth-child(odd) td {
  background-color: transparent;
}
#openinghours #facilities.hyo tr:nth-child(even) td {
  background-color: #f5f5f5;
}
@media screen and (max-width: 767px) {/* 調整 */
  #openinghours #facilities th, 
  #openinghours #facilities td {
    display: block;
  }
  #openinghours #facilities.hyo td {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
  }
}
@media screen and (min-width: 768px), print {/* 調整 */
  #openinghours #conteTitTxt {
    margin-bottom: 30px;
    padding-bottom: 0;
  }
  #openinghours #facilities {
    font-size: 14px;
  }
  #openinghours #facilities.hyo th {
    white-space: nowrap;
  }
  #openinghours #facilities.hyo td {
    border-top: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
}


/* -------------------------------- 
  JA掛川市概要
-------------------------------- */
#info #conteTitTxt {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #4c3131;
  font-size: 24px;
}
#info .col2Box .txtBox {
  padding-bottom: 20px;
}
#info .col2Box .imgBox {
  text-align: center;
}
#info #gaiyou, #aisatsu {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px dotted #4c3131;
}
#info #datatbl {
  padding-bottom: 30px;
}
#info #aisatsu .faceBox {
  padding-bottom: 10px;
  text-align: center;
}
#info #aisatsu .stit {
  margin-bottom: 20px;
  padding-left: 14px;
  font-size: 16px;
  line-height: 1.4;
  color: #666;
  border-left: 5px solid #ddd;
}
#info #aisatsu .txtBox {
  padding-bottom: 0;
}
#info #datatbl .hyo {
  width: 100%;
  margin-bottom: 20px;
  border-bottom: 1px solid #333;
  border-left: 1px solid #333;
}
#info #datatbl .hyo th, #datatbl .hyo td {
  padding: 7px 10px;
  font-size: 14px;
  border-top: 1px solid #333;
  border-right: 1px solid #333;
}
#info #datatbl .hyo th {
  height: 43px;
  text-align: left;
  white-space: nowrap;
  background-color: #f7f7f7;
}
#info #mapBox iframe {
  width: 100%;
  height: 280px;
  margin-bottom: 20px;
}
#info #mapBox .btnBox {
  text-align: center;
}
#info #mapBox a {
  text-decoration: none;
}
#info #mapBox a:before {
  margin-right: 5px;
  content: "\f061";
  font-family: FontAwesome;
  font-size: 12px;
  color: #fff;
}
#info #mapBox a.btn {
  display: block;
  width: 70%;
  margin: 0 auto 10px;
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  background-color: #333;
}
#info #mapBox a.btn .fMin {
  display: block;
}
@media screen and (max-width: 767px) {/*調節*/
  #info #aisatsu .faceBox {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #info #aisatsu .faceBox img {
    width: 66px;
    height: auto;
  }
  #info #aisatsu .faceBox .nameBox {
    padding-left: 20px;
  }
}
@media screen and (min-width: 768px), print {/*調節*/
  #info #conteTitTxt {
    margin-bottom: 30px;
    padding-bottom: 0;
  }
  #info .col2Box {
    display: flex;
    justify-content: space-between;
  }
  #info .col2Box .txtBox {
    margin-right: 20px;
    padding-bottom: 0;
  }
  #info .col2Box .imgBox {
    flex-shrink: 0;
    width: 250px;
  }
  #info #aisatsu .stit {
    width: 100%;
    margin-bottom: 20px;
  }
  #info #aisatsu .faceBox {
    display: block;
    width: 168px;
    text-align: left;
    flex-shrink: 0;
  }
  #info #aisatsu .faceBox img {
    margin-bottom: 10px;
  }
  #info #aisatsu .txtBox {
    margin-left: 20px;
    margin-right: 0;
  }
  #info #aisatsu .txtBox p:first-child {
    padding-top: 0;
  }
  #info #datatbl {
    display: flex;
    flex-wrap: wrap;
  }
  #info #datatbl .hyo {
    margin-bottom: 10px;
  }
  #info #datatbl table:nth-of-type(1) {
    width: 70%;
  }
  #info #datatbl table:nth-of-type(2) {
    width: 30%;
    border-left: none;
  }
  #info #datatbl .day {
    width: 100%;
  }
  #info #mapBox {
    width: 800px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #ccc, #FFF);
  }
  #info #mapBox .mapBg {
    display: flex;
    background-image: repeating-linear-gradient(-45deg, #fff, #fff 1px, transparent 0, transparent 5px);
  }
  #info #mapBox .maps {
    padding: 15px;
  }
  #info #mapBox iframe {
    width: 540px;
    height: 340px;
  }
  #info #mapBox .btnBox {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #info #mapBox a.btn {
    display: inline-block;
    width: 90%;
    margin: 0 auto 10px 0;
  }
}


/* -------------------------------- 
  採用情報 #recruit
-------------------------------- */
#recruit .pgAncList {
  background-color: rgba(26,120,83,0.1);
  padding: 0 1em 1em;
}
#recruit .pgAncList h2 {
  background-color: #1a7853;
  border-radius: 0 0 6px 6px;
  color: #fff;
  margin: 0 0 5px;
  padding: 10px 1em 10px 0.6em;
  font-size: 18px;
  font-weight: normal;
}
#recruit .pgAncList h2 .txt {
  display: flex;
  align-items: center;
}
#recruit .pgAncList h2 .txt::before {
  display: inline-block;
  content: "";
  background-color: rgba(255,255,255,0.3);
  border-radius: 100vh;
  width: 3px;
  height: 1em;
  margin-right: 0.5em;
}
#recruit .pgAncList h2 .cap {
  display: inline-block;
  margin-right: 5px;
  font-size: 0.8em;
}

#recruit .pgAncList ul {
  list-style: none;
  margin: 0;
  padding: 5px 0 0;  
}
#recruit .pgAncList li {
  margin: 10px 0 0;
  padding: 0;  
}
#recruit .pgAncList li a {
  position: relative;
  display: block;
  background-color: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding: 10px 1em 10px 2em;
  line-height: 1.3;
  text-decoration: none;
}

#recruit .pgAncList li a::before {
  content: '';
  width: 8px;
  height: 8px;
  border-top: solid 2px #4c3131;
  border-right: solid 2px #4c3131;
  position: absolute;
  left: 10px;
  top: 45%;
  transform: translateY(-50%) rotate(135deg);
}


/* 新卒採用配色 */
#recruit #newgraduate.pgAncList {
  background-color: rgba(5,132,201,0.1);
}
#recruit #newgraduate.pgAncList h2 {
  background-color: #0584c9;
}


/* 新卒採用
-------------------------------- */
.briefing h2 {
	border-left: 5px solid #1a7853;
	font-size: 20px;
	padding: 0 0 0 10px;
	color: #1a7853;
	margin: 10px 0 10px;
}
.briefing h2 span {
	vertical-align:25%;
	font-size: 16px;
}
.briefing .txtBox {
	padding: 20px 0;
}
.briefing .overview {
  padding: 20px;
  border: 2px solid #d2c5c5;
  margin-bottom:40px;
}
.overview h3 {
  font-size: 16px;
  margin: 20px 0 0;
}
.overview h3:first-child {
  margin: 0;	
}

#recruit #conteTitTxt {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #333;
  font-size: 24px;
}
#recruit .recSec {
  padding-top: 30px;
  border-top: 1px dotted #666;
}

.recSec .tit {
  border-left: 5px solid #1a7853;
  color: #1a7853;
  font-size: 20px;
  margin: 0 0 20px;
  padding: 0 0 0 10px;
}

.recSec .subTit, .recSec td h2 {
  font-size: 16px;
  margin-bottom: 5px;
  padding-left: 0px;
}

#recruit table.recTb {
  width: 100%;
  margin-bottom: 30px;
  border-top: solid 2px #d2c5c5;
  border-right: solid 1px #d2c5c5;
  border-bottom: solid 1px #d2c5c5;
  border-left: solid 2px #d2c5c5;
}
#recruit .recTb th {
  padding: 7px 10px 7px 10px;
  text-align: left;
  background-color: #f0ecec;
  border-right: 1px solid #d2c5c5;
  border-bottom: 1px solid #d2c5c5;
}
#recruit .recTb td {
  border-right: 1px solid #d2c5c5;
  border-bottom: 1px solid #d2c5c5;
  padding: 10px;
  text-align: left;
  font-size: 15px;
}
#recruit .recTb td p {
  margin: 0 0 10px;
  padding-top: 0;
}
#recruit .recTb td p br {
  display: block;
}
#recruit .recTb td p:last-child {
  margin-bottom: 0;
}

#recruit .recTb td .arrow {
	padding: 0 0 5px 50px;
}
#recruit .recTb td .fBig {
  font-size: 20px;
}
#recruit .recList {
  padding-top: 0;
  padding-bottom: 0;
}
.recSec .contest {
	margin: 0 !important;
}
.recSec .entryBtn,
.recSec .entryBtn form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.recSec .entryBtn form {
  font-size: 15px;
}
.recSec .entryBtn input {
  border: none;
}
.recSec .entryBtn input:first-child {
  width: 2.5em;
  text-align: right;
}
.recSec .entryBtn input[type="button"] {
  display: inline-block;
  background-color: #4c3131;
  color: #fff;
  margin: 5px;
  padding: 3px 14px;
  font-size: 12px;
}

@media screen and (max-width: 767px) {/*調整*/
  #recruit .recTb th, #recruit .recTb td {
    display: block;
  }
	#recruit .recTb td .arrow {
    text-align: center;
    padding-left: 0;
	}
  .recSec .entryBtn input[type="button"] {
    margin: 10px auto 5px;
  }

}
@media screen and (min-width: 768px), print {/*調整*/

  #recruit .pgAncList h2 {
    font-size: 26px;
  }

  .recSec .tit {
    font-size: 26px;
  }

  .briefing h2 {
		font-size: 26px;
		margin: 10px 0 20px;
	}
  #recruit #conteTitTxt {
    margin-bottom: 30px;
    font-size: 24px;
  }
  #recruit table.recTb {
    margin-bottom: 40px;
  }
  #recruit table.recTb th {
    width: 25%;
  }
  #recruit table.recTb {
    border-right: 2px solid #d2c5c5;
    border-bottom: 2px solid #d2c5c5;
  }
  
  #recruit a[href^="tel:"] {
    text-decoration: none;
    color: #4c3131;
  }
  
}
@media (hover: hover) {
  .recSec a:hover img {
    opacity: 0.5;
  }
  .recSec .entryBtn input[type="button"]:hover {
    opacity: 0.5;
  }
}


/* 募集終了表示 */
#recruit .closed {
  position: relative;
}
#recruit .closed::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255,255,255,0.6);
}

#recruit .closed .closedTxt {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(000,000,000,0.8);
  color: #ff0;
  width: 90%;
  margin: 0 auto auto;
  padding: 20px;
  text-align: center;
}
#recruit .closed .closedTxt .txt {
  display: inline-block;
  margin: 0 auto;
  text-align: left;
}


/* -------------------------------- 
  利益相反管理方針
-------------------------------- */
#profit #conteTitTxt {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #333;
  font-size: 24px;
}
#profit .pft {
  padding-top: 5px;
	padding-bottom: 20px;
  border-top: 1px dotted #333;
}
#profit .stit {
  font-size: 14px;
  background-color: #E3E3E3;
  margin-bottom: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 15px;
}
#profit .readBox {
	padding-top: 0;
	text-align: left;
}
@media screen and (min-width: 1100px), print {
  #profit #conteTitTxt {
    margin-bottom: 30px;
    font-size: 24px;
  }
	#profit .pcTaR {
		text-align: right;
	}
}

/* -------------------------------- 
  経営理念
-------------------------------- */
#philosophy {
	margin-top: 40px;
}
#philosophy h2{
  font-size: 24px;
  margin-bottom: 20px;
  padding-left: 14px;
  line-height: 1.4;
  border-left: 5px solid #ddd;
}
#infotarget {
  margin-bottom: 40px;
}
#infotarget h2 {
  display: inline-block;
  position: relative;
  padding: 0.5em 1.5em;
  background: #07726c;
  color: #fff;
  font-size: 18px;
  font-weight: normal;
}
#infotarget h2::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 20px rgb(149, 158, 155);
}
#infotarget .txtBox ol {
	margin-top: 30px;
}
#infotarget .txtBox ol li {
	color: #07726c;
  font-size: 16px;
}

#infotarget .imgBox {
	margin: 20px 0 20px;
	}
#aim {
  margin-bottom: 0px;
  padding-bottom: 20px;
}
#aim h2 {
  font-size: 24px;
  margin-bottom: 40px;
  padding-left: 14px;
  line-height: 1.4;
  border-left: 5px solid #ddd;
}
#aim p {
	padding: 0;
}
#aim .number {
	margin-top: 30px;
	display: flex;
	align-items: center;
}
#aim .number i {
  font-size:40px; 
	padding-bottom: 8px;
  color: rgba(7,114,108,0.2) ;
}
#aim .number h3 {
	color: #07726c;
  font-size: 18px;
}

@media screen and (max-width: 340px) {
  #philosophy h2,
  #aim h2 {
    font-size: 20px;
  }
  #aim .number h3 {
    font-size: 18px;
  }
}
@media screen and (min-width: 1100px), print {
  #philosophy h2,
  #aim h2 {
    font-size: 28px;
  }
  #philosophy {
    margin-top: 0px;
  }
  #infotarget,#aim {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }
  #infotarget .imgBox {
    margin: 40px 0 20px;
    }

}	


.endContent *:not(h2):not(.txt):not(span){
	opacity: 0.8;
}
.end {
	opacity: 1;
	font-size: 14px;
	font-weight: bold;
	color: #ff0;
}
.endContent a {
	pointer-events: none;
}
@media screen and (min-width: 780px), print {
	.endContent h2{
		display: flex;
		align-items: center;
	}
	.end {
    font-size: 18px;
  }
}


/* -------------------------------- 
   古物営業法に基づく表記
-------------------------------- */
#antiqueslaw table {
  border: 1px solid #333;
  width: 100%;
  margin: 20px 0;
}
#antiqueslaw th, #antiqueslaw td {
  border: 1px solid #333;
  padding: 0.5rem 1rem;
}
#antiqueslaw th {
  background-color: #ececec;
  width: 40%;
  font-size: 14px;
}
@media screen and (max-width: 767px) {
  #antiqueslaw th, #antiqueslaw td {
    display: block;
    width: 100%;
    text-align: left;
  }
}

/* -------------------------------- 
  相続相談 #inheritance
-------------------------------- */
#inheritance .readBox h2 {
  font-size: min(5vw,32px);
}
#inheritance .readBox strong {
  font-weight: normal;
}
#inheritance ul.tagBox {
  list-style: none;
  margin: 20px auto 0;
  padding: 0;
  text-align: center;
}
#inheritance ul.tagBox li {
  display: inline-block;
  margin: 5px 5px 5px;
  padding: 3px 10px;
  background-color: #c00;
  color: #fff;
  text-align: center;
}
#inheritance .readBox .imgBox img {
  margin: 10px 0 0;
}

#inheritance #venue table {
  border-collapse: collapse;
  width: 100%;
  max-width: 800px;
  margin: 10px auto;
}
#inheritance #venue table caption {
  color: #297e3f;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  padding-bottom: 5px;
}
#inheritance #venue table th,
#inheritance #venue table td {
  border: 1px solid #fff;
  background-color: #edf5de;
  text-align: left;
}
#inheritance #venue table th {
  background-color: #297e3f;
  color: #fff;
  font-weight: bold;
  text-align: center;
  min-width: 7em;
  padding: 1em 0.5em;
  position: relative;
}
#inheritance #venue table th::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 10px solid transparent;
  border-left: 10px solid #297e3f;
  z-index: 2;
}
#inheritance #venue table td {
  padding: 1em;
}
#inheritance #venue table td:last-of-type {
  white-space: nowrap;
}
#inheritance #venue table td p {
  padding: 5px 0 0;
}
#inheritance #venue table td .mapBtn {
  display: inline-block;
  margin-left: 5px;
  font-size: 12px;
}

/**/

#inheritance #calendar {
  width: 100%;
  max-width: 800px;
  margin: 30px auto 0;
}

#inheritance #calendar table {
  width: 100%;
}
#inheritance #calendar table th,
#inheritance #calendar table td {
  padding: 5px 2px;
  font-size: 12px;
  text-align: center;
  vertical-align: middle;
}
#inheritance #calendar table thead th:not(:first-child) {
  border-left: 1px dotted #4c3131;
}
#inheritance #calendar table thead th:nth-of-type(2) {
  color: #c00;
}
#inheritance #calendar table tbody th {
  border-top: 1px solid #4c3131;
}
#inheritance #calendar table td {
  border-top: 1px solid #4c3131;
  border-left: 1px dotted #4c3131;
  font-size: 11px;
}
#inheritance #calendar table tbody tr:nth-of-type(3) {
  background-color: #edf5de;
}
#inheritance #calendar table tbody tr:nth-of-type(3) th {
  color: #297e3f;
}

/* 電話番号 */
#tel {
  margin: 3rem auto 0;
  text-align: center;
}
#tel dt {
  position: relative;
  display: inline-block;
  margin: 0 0 1.5em;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 100%;
  color: #fff;
  font-size: 16px;
  background: #c00;
}
#tel dt::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top: 15px solid #c00;
}
#tel dd a {
  text-decoration: none;
}
#tel dd a b {
  font-size: min(6vw, 24px);
}

/* メールフォーム調整 */
#inheritance #mf {
  border-top: 1px dotted #333;
  margin: 3rem 0 0;
}
#inheritance #mf h2 {
  margin: 3rem 0 1rem;
  text-align: center;
}
#inheritance #mf input.dateInput {
  width: 32%;
  max-width: 200px;
  margin-bottom: 10px;
}
#inheritance #mf ul.timeList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));;
  list-style: none;
  margin: 0;
  padding: 0;
}

#inheritance #mf ul.timeList li {
  margin: 0 0 10px;
}
#inheritance #mf ul.timeList li input[type=text] {
  width: 32%;
  max-width: 200px;
  margin: 0 5px;
}

@media screen and (max-width: 767px) {
  #inheritance #venue table th,
  #inheritance #venue table td {
    display: block;
    width: 100%;
    padding: 0.6em 1em;
  }
  #inheritance #venue table tr:first-of-type th {
    border-radius: 12px 12px 0 0;
  }
  #inheritance #venue table th::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top: 10px solid #297e3f;
    z-index: 2;
  }
  #inheritance #venue table tr:last-of-type td:last-of-type {
    border-radius: 0 0 12px 12px;
  }
  
  #tel dd a {
    display: block;
    border: 1px solid #390;
    border-radius: 6px;
    width: 80%;
    min-width: 260px;
    margin: 0 auto 10px;
    padding: 10px 15px;
  }

  #inheritance #mf tr:not(:first-of-type) th {
    border-top: 1px dotted #ccc;
    padding-top: 20px;
  }
  #inheritance #mf td {
    padding-bottom: 20px;
  }
}

@media screen and (min-width: 768px), print {
  #inheritance .readBox strong {
    font-size: 18px;
    line-height: 1.7;
  }
  #inheritance .readBox .imgBox {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
  }
  #inheritance .readBox .imgBox img {
    max-width: 390px;
  }
  
  #inheritance #venue table th {
    width: 22%;
  }
  #inheritance #venue table tr:first-of-type th {
    border-radius: 12px 0 0 0;
  }
  #inheritance #venue table tr:last-of-type th {
    border-radius: 0 0 0 12px;
  }
  #inheritance #venue table th::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-left: 10px solid #297e3f;
    z-index: 2;
  }
  #inheritance #venue table tr:first-of-type td:last-of-type {
    border-radius: 0 12px 0 0;
  }
  #inheritance #venue table tr:last-of-type td:last-of-type {
    border-radius: 0 0 12px 0;
  }
  
  #inheritance #calendar {
    border: 5px solid #ddd;
    padding: 10px;
  }
  #inheritance #calendar table {
    table-layout: fixed;
  }
  #inheritance #calendar table th,
  #inheritance #calendar table td {
    font-size: 14px;
  }
  
  #tel dd a[href^="tel:"] {
    pointer-events: none;
  }
  
  #inheritance #mf ul.timeList li:last-of-type {
    margin-bottom: 0;
  }
  
  
  
}

@media (hover: hover) {
  #inheritance #venue table td .mapBtn a:hover {
    opacity: 0.6;
  }
}
@media (hover: none) {
  #inheritance #venue table td .mapBtn a:active {
    opacity: 0.6;
  }
}
