/*
Theme Name: flash Child
Template: flash
Description: flash 子テーマ
Version: 1.0.0
*/
.entry-content-block {
  font-size: 18px;
  font-family: "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", Helvetica, Arial, Verdana, sans-serif;
	line-height: 1.6;
}
.entry-content-block img {
  max-width: 100%;
  height: auto;
}

.entry-content-block h2 {
  border-left: 4px solid #004f3c;
  background: #F5F5F5;
  padding: 8px 8px 8px 12px;
  margin: 0 0 8px;
  font-size: 1.22em;
}

.entry-content-block h3 {
  margin: 2rem 0 0.8rem 0;
  font-size: 1.1em;
  border-bottom: 1px solid #333;
  color: #004f3c
}

.entry-content-block h4 {
  margin: 2rem 0 0 0;
  font-size: 1em;
	display: inline;
	border-left: 2px solid #333;
	padding-left: 8px;
}

.entry-content-block p {
  margin: 0;
}
.entry-content-block table {
  border-collapse: collapse;
  max-width: 100%;
  margin: 0 auto;
}
.entry-content-block table caption {
  font-weight: bold;
}
.entry-content-block th,
.entry-content-block td {
  padding: 5px 10px;
  font-weight: normal;
  text-align: left;
  border: 1px solid #aaaaaa;
}
.entry-content-block th {
  background-color: #f5fdfb;
}
.entry-content-block td {
  background-color: #ffffff;
}
.entry-content-block caption {
  margin-bottom: 5px;
}
.entry-content-block caption::before {
  content: "< ";
}
.entry-content-block caption::after {
  content: " >";
}
.entry-content-block ol {
  margin-left: 1.5em;
}
.entry-content-block ul {
  margin-left: 1.5em;
  list-style: disc;
}
.entry-content-block dl {
  margin: 0;
}
.entry-content-block dt {
  margin: 0;
  font-weight: bold;
}
.entry-content-block dd {
  margin-left: 2em;
}
.entry-content-block .itenBox,
.entry-content-block .itemBox {
  margin: 0 auto;
  padding: 20px;
  background-color: #f5fdfb;
  border: 5px solid #dcdcdc;
  border-radius: 5px;
}

/* for shortcode */
/* CTAボタンエリア */
.ctaArea {
  width: 430px;
  margin: 48px auto;
}
.conciergeContainer{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}
.conciergeTalk {
  font-weight: normal;
    position: relative;
    padding: 10px 16px;
    border: 1px solid #dcdcdc;
    border-radius: 20px;
    background: #fff;
    display: inline-block;
  margin-top: 15px;
    height: auto;
    max-width: calc(100% - 98px);
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, .1);
}
.conciergeTalk::before {
  content: "";
    position: absolute;
    top: 25px;
    left: -15px;
    margin-top: -12px;
    border: 4px solid transparent;
    border-right: 12px solid white;
    z-index: 2;
}
.conciergeTalk::after {
  content: "";
    position: absolute;
    top: 25px;
    left: -19px;
    margin-top: -14px;
    border: 6px solid transparent;
    border-right: 14px solid #dcdcdc;
    z-index: 1;
}
.conciergeTalk span {
	font-weight: bold;
}

/* CTAボタン */
.btnReturn {
  width: 100%;
  height: 60px;
  background-color: #f82;
  color: #fff;
  text-align: center;
  line-height: 60px;
  font-weight: bold;
  margin: 20px auto 0;
  border-radius: 100px;
  font-size: 18px;
  display: block;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: 0.4s;
  box-shadow: 0 -5px 0 0 #00000040 inset;
}
.btnReturn:hover {
  opacity: 0.8;
}
a.btnReturn:link,
a.btnReturn:visited,
a.btnReturn:hover,
a.btnReturn:active {
  color: #fff;
}
.btnTel {
  /*width: 100%;
  height: 60px;
  background-color: #004f3c;
  color: #fff;*/
	display: block;
  text-align: center;
  line-height: 1.4;
  font-weight: bold;
  margin: 20px auto 0;
  font-size: 20px;
}
.btnTel a:link,
.btnTel a:visited,
.btnTel a:hover,
.btnTel a:active {
	color: #333;
}

/**/
.merit {
	margin: 32px auto;
	border-radius: 10px;
	padding: 32px;
	width: 80%;
	background-color: #f5f5f5;
	border: 4px solid #004f3c;
}
.merit div {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
  gap: 1em;
	margin: 0 0 16px;
}
.merit img {
	width: 100px;
	height: 112px;
}

/* bnr追加 2025.7.1 */
.merit img.bnr {
	width: 100%;
	height: auto;
	margin-bottom: 1em;
}

.merit ul {
	list-style: none;
}
.merit ul li {
	padding: 6px 0;
	font-size: 20px;
	font-weight: bold;
	color: #004f3c
}
.merit ul li:nth-child(2) {
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
}
.merit .notes {
	font-size: 0.7em;
	line-height: 1.2;
	margin: 16px 0 0;
}
.merit sup {
	font-size: 60%; 
	vertical-align: bottom;
	position: relative;
	bottom: 0.8em;
}
.merit .btnReturn {
	width: 430px;
	margin: 32px auto 0;
}
.merit .btnTel {
	margin-top: 0;
}

.entry-content-block .wp-block-table {
  container-type: inline-size;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 1em;
}
@container (max-width: 698px) {
  .entry-content-block .has-fixed-layout {
    min-width: 698px;
    table-layout: fixed;
    border-collapse: collapse;
  }
  
  .entry-content-block th,
  .entry-content-block td {
    border: 1px solid #000;
    padding: 8px;
    text-align: left;
  }
}

/* 目次 */
.entry-content-block #toc_container {
  display: block;
  width: fit-content;
  margin: 3em auto;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 1em;
  overflow: hidden;
}
.entry-content-block #toc_container .toc_title {
  position: relative;
  top:-1em;
  left: -1em;
  margin-bottom: 0;
  width: calc(100% + 2em);
  padding: 0.3em 2.2em 0.3em 1em;
  background-color: #f5f5f5;
}
.entry-content-block #toc_container .toc_title .toc_toggle {
  position: absolute;
  right: 0.5em;
  top: 0.5em;
  width: fit-content;
}
.entry-content-block #toc_container .toc_title .toc_toggle .toc_brackets {
  display: none;
}
.entry-content-block #toc_container .toc_title .toc_toggle a {
  display: flex;
  padding: 0.2em 0.3em 0.3em 0.3em;
  font-size: 0.9em;
  line-height: 1;
  background-color: #dadada;
  border-radius: 3px;
}
.entry-content-block #toc_container .toc_title .toc_toggle a:hover {
  background-color: #e6e6e6;
  text-decoration: none;
}
.entry-content-block #toc_container p.toc_title+ul.toc_list {
  margin-top: 0;
}
.entry-content-block #toc_container .toc_list a {
  display: block;
  margin: 0.5em 0;
  color: #0000ee;
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  /* CTAボタン */
  .ctaArea {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
	.btnReturn {
		height: auto;
		line-height: 1.4;
		padding: 16px 0;
	}
  .btnTel {
    width: 100%;
    height: 60px;
    background-color: #004f3c;
    color: #fff;
    text-align: center;
    line-height: 60px;
    font-weight: bold;
    margin: 20px auto 0;
    border-radius: 100px;
    font-size: 16px;
    display: block;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    transition: 0.4s;
    box-shadow: 0 -5px 0 0 #00000040 inset;
  }
  .btnTel a:link,
  .btnTel a:visited,
  .btnTel a:hover,
  .btnTel a:active {
    color: #fff;
  }
  /**/

  .merit {
    width: 100%;
		padding: 20px;	
	}	
	.merit div {
		display: block;
	}
	.merit div img {
		text-align: center;
		margin: 0 auto;
		display: block;
	}
	.merit ul {
		margin-top: 16px;
		margin-left: 0;
	}
	.merit ul li {
		font-size: 4.8vw;
		margin: 12px 0;
	}
	.merit ul li:nth-child(2) {
		margin: 6px 0;
		padding: 12px 0;
	}
	.merit .btnReturn {
		width: 100%;
	}
	  /* スクロール画像 */
  .entry-content-block .wp-block-image.blockScroll {
    width: 100%;
    padding: 0 0 1rem 0;
    overflow: auto;
  }
  .entry-content-block .wp-block-image.blockScroll img {
    display: block;
    width: autot;
    max-width: inherit !important;
    height: auto;
  }

}
