.caution {
	color: RED;
	font-weight: 900;
}

div.space20 {	height: 20px;	}
div.space30 {	height: 30px;	}
div.space50 {	height: 50px;	}
div.space75 {	height: 75px;	}
div.space100 {	height: 100px;	}
div.space150 {	height: 150px;	}
div.space200 {	height: 200px;	}
div.space250 {	height: 250px;	}
div.space500 {	height: 500px;	}


body {
    font-size: 1rem;
}
p.text:before {
    content: "　 ";
    font-size: x-small;
    color: red;
}

p.text.required:before {
    content: "＊ ";
    font-size: x-small;
    color: red;
}

a[id^='infodetail-'],
a[id^='info-']	{
	color: #333;
}
a[id^='infodetail-'] .wp-block-columns:hover,
a[id^='info-'] .wp-block-columns:hover {
    background-color: #ddd!important;
}
a.disabled {
    background-color: darkgray;
    color: lightgray;
    cursor: default;
}

input[type=checkbox] {
	margin: 10px 10px 30px 0!important;
    padding: 10px 10px!important;
    position: relative;
    top: -3px;
    vertical-align: top;
}
label input[type=checkbox] {
    top: -6px;
}

input[type='checkbox']:disabled {
    color: black;
    border: black solid 1px;
    background: #f0f0f0;
}
input[type=checkbox]:checked::before {
    margin: -0.55rem 0 0 -0.8rem;
    -moz-transform: scale(2.4);
    -webkit-transform: scale(2.4);
    transform: scale(2.4);
}
input[type=radio] {
    display: none;
}




select {
    box-shadow: 0 0 0 transparent;
    border-radius: 4px;
    border: 1px solid var( --base-color-1 );
    height: 40px;
}

textarea {
    box-shadow: 0 0 0 transparent;
    border-radius: 4px;
    border: 1px solid var( --base-color-1 );
    margin-bottom: 1em;
}

/*textarea:disabled,
select:disabled, 
input[type=file]:disabled, 
input[type=tel]:disabled, 
input[type='number']:disabled, 
input[type='password']:disabled, 
input[type='email']:disabled, 
input[type='text']:disabled {
    color: black;
    border: black solid 1px;
    background: #f0f0f0;
}*/
p.seearea {
    text-align: end;
}

.align-center {
    text-align: center;
}
.align-end {
    text-align: end;
}
.align-right {
    text-align: right;
}
.align-left {
    text-align: left;
}
.display-inline-table {
    display: inline-table;
    width: 100%;
}

input[type='button'],
input[type='submit'] {
    background-color: #7d0a05;
    color: #fff;
    height: 40px;
    margin: auto;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    position: relative;
    padding: 0 1em;
    border-radius: 4px;
    margin-left: 2em
}
input[type='button']:hover,
input[type='submit']:hover {
    background-color: var(--color_main);
    color: #7d0a05;
}

.form .submit input {
    border-radius: 4px;
}
input[type='file'] {
    border-radius: 4px;
}

/*タブ切り替え全体のスタイル*/
.tabs {
  margin-top: 50px;
  padding-bottom: 40px;
  /*background-color: #fff;*/
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
  width: 100%;
  margin: 0 auto;
}

/*タブのスタイル*/
.l_tab_item,
.tab_item {
  width: calc(100%/2);
  height: 50px;
  /*border-bottom: 3px solid #5ab4bd;*/
  border-bottom: 1px solid var(--color_border);
  /*background-color: #d9d9d9;*/
  /*line-height: 50px;*/
  font-size: 16px;
  text-align: center;
  /*color: #565656;*/
  /*color: #d9d9d9;*/
    background-color: var(--color_main);
    color: var( --base-color-2 );
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  margin-top: 0!important;
  line-height: 1.4;
  position: relative;
  font-size: 1.3em;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
    border-top: 1px solid;
    border-left: 1px solid;
    border-right: 1px solid;
}
@media screen and (min-width: 600px){
  .l_tab_item, 
  .tab_item {
    font-size: 1.5em;
  }
}
.l_tab_item:hover,
.tab_item:hover {
  opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="l_tab_item"], 
input[name="tab_item"],
input[name="tab_item_2"],
input[name="tab_item_4"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 40px 40px 0;
  clear: both;
  overflow: hidden;
  border-top: 1px solid var( --base-color-2 );
}


/*選択されているタブのスタイルを変える*/
.tabs input:checked + .l_tab_item, 
.tabs input:checked + .tab_item {
    color: #fff;
    background-color: var( --base-color-2 );
  border-bottom: 1px solid var(--color_main);
  float: left;
  margin-bottom: -1px;
  padding: 0.25em 0.5em;
  /*background-color: var(--color_main_thin)!important;*/
  /*border-top-left-radius: 6px;*/
  /*border-top-right-radius: 6px;*/
}
input[type="radio"][name="l_tab_item"] + label::before,
input[type="radio"][name="l_tab_item"] + label::after,
input[type="radio"][name="tab_item"] + label::before,
input[type="radio"][name="tab_item"] + label::after,
input[type="radio"][name="tab_item_2"] + label::before,
input[type="radio"][name="tab_item_2"] + label::after,
input[type="radio"][name="tab_item_4"] + label::before,
input[type="radio"][name="tab_item_4"] + label::after {
  content: none;
}


/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0,0,0,50%);
	padding: 40px 20px;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
    box-sizing: border-box;
}
/*モーダル本体の擬似要素の指定*/
.modal-container:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
	opacity: 1;
	visibility: visible;
}
/*モーダル枠の指定*/
.modal-body{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 500px;
	width: 90%;
}
/*モーダルを閉じるボタンの指定*/
.modal-close{
	position: absolute;
	display: flex;
    align-items: center;
    justify-content: center;
	top: -40px;
	right: -40px;
	width: 40px;
	height: 40px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
}
/*モーダル内のコンテンツの指定*/
.modal-content{
	background: #fff;
	text-align: left;
	padding: 30px;
    border: 1px solid;
    border-radius: 10px;
}

/*ページネーション*/
#pagination {
	width: 100%;
	display:block;
}
.pagination {
	width: 100%;
	display:none;
}
#pagination-box {
	display:flex;
}
#pagination-prev,
#pagination-center,
#pagination-next {
	width: 33%;
    --the-padding: .5rem 2em;
    --the-fz: .9em;
    --the-width: auto;
    --the-min-width: 5em;
    display: flex;
    align-items: center;
    justify-content: center;
}
#pagination-prev span:before {
    content: " ← ";
}

#pagination-next span:after {
    content: " → ";
}

#pagination-prev span,
#pagination-center span,
#pagination-next span {
    font-size: var(--the-fz);
    color: #666;
}

#pagination-next a,
#pagination-prev a {
	display:inline-block;

    background: #fff;
    box-shadow: 0 0 0 1px #dcdcdc;
    min-width: var(--the-min-width);
    padding: var(--the-padding);
    position: relative;
    text-decoration: none;
    transition: box-shadow .25s,background-color .25s;
    width: var(--the-width);
}

.pagination-next a:hover,
.pagination-prev a:hover {
    background-color: var(--color_main);
    box-shadow: none;
    color: #fff;
}

.dispTextCountBox {
    position: absolute;
    width: 100%;
}
.countContents,
.dispTextCount {
    position: relative;
    top: -1.5em;
    right: 1em;
    width: 100%;
}

.wp-block-column.all-item-box .wp-block-image img {
    height: 150px;
    width: 270px;
    object-fit: cover;
}

#pdf-canvas {
	display:none;
}

.line-up {
	display: flex;
}
.line-up input {
	margin: 5px;
}

div.div-button {
    background-color: var(--color_main);
    color: #fff;
    height: 50px;
    margin: auto;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    position: relative;
    padding: 0.7em 1em;
    border-radius: 4px;
}

/*.l-header__bar {
	background: var(--bc-color-2);
	color: var(--bc-color-3);
}*/

section#topicSection {
    font-size: 24px;
    width: 100%;
}
section#topicSection div.content {
    text-align: center;
    margin: 0 15.6px;
}
section#topicSection ul#Introduction_to_the_topic {
    padding: 0;
}
section#topicSection .topic {
    background-color: var(--bc-color-2);
    border-radius: 15px;
    display: flex;
    margin-bottom: 0.25em;
    border: solid 1px var(--bc-color-3);
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

section#topicSection .topic .image {
    width: 200px;
    height: 140px;
    background-size: contain;
    margin: 0.5em;
    background-position: center;
    display: flex;
    flex-flow: column;
    border: solid 1px var(--bc-color-2);
    border-radius: 15px;
}
section#topicSection .topic .image-search.caseImage {
    width: 100px;
    height: 49px;
    margin: 0.5em auto;
}
section#topicSection .topic .image-search.stroeImage {
    width: 200px;
    height: 98px;
    margin: 0.5em auto;
}

.caseImage-1 {
    height: 50%;
    position: relative;
}
.caseImage-2 {
    height: 50%;
    position: relative;
}
section#topicSection p.businessType {
    color: #fff;
    font-size: 0.8rem;
    background: var(--bc-color-3);
    padding: 0.5rem;
    text-align: left;
    width: fit-content;
    border: solid 1px var(--bc-color-2);
    top: -1px;
    left: -1px;
    position: absolute;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
section#topicSection p.category {
    color: var(--bc-color-3);
    font-size: 0.8rem;
    background: var(--bc-color-5);
    border: solid 1px var(--bc-color-2);
    padding: 0.5rem;
    text-align: right;
    width: fit-content;
    bottom: -1px;
    right: -1px;
    position: absolute;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
}
section#topicSection .topic .count {
    position: absolute;
    top: -1px;
    right: -1px;
    background-color: var(--bc-color-3);
    color: var(--bc-color-5);
    padding: 0.5em 2em;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

section#topicSection .topic .text {
    width: calc(100% - 250px);
    font-size: 16px;
    text-align: left;
}
section#topicSection .title,
section#topicSection .title pre {
    text-wrap: auto;
    line-height: 1.4;
    max-height: calc(1em * 1.4 * 1);
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    text-align: left;
    font-weight: 900!important;
    margin-top: 2px !important;
}
section#topicSection .head-titleMessage pre,
section#topicSection .head-titleMessage-list pre,
section#topicSection .head-titleMessage {
    text-wrap: auto;
    line-height: 1.3;
    height: calc(1em * 1.3 * 4);
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    margin-right: 6px;
    margin-top: 10px !important;
}
section#topicSection div.head-link {
    margin-right: 1em;
}
section#topicSection .topic .text a {
    color: var(--color_text);
}
section#topicSection .topic .text div.message {
    text-align: left;
}
section#topicSection .topic .text div.head-link a {
    color: var(--bc-color-3);
    font-size: large;
}
section#topicSection .topic .text div.head-link a {
	font-size: 14px;
}
@media screen and (max-width: 767px) {
	section#topicSection .topic {
	    padding-bottom: 0.25em;
	}
	section#topicSection .topic .image {
	    width: 100px;
	    height: 100px;
	    margin: 0.25em;
	    margin-top: 0.5em;
	}
	section#topicSection .topic .text {
	    width: calc(100% - 100px);
        font-size: 12px;
    }
	section#topicSection .head-titleMessage pre,
	section#topicSection .head-titleMessage-list pre {
	    line-height: 1.3;
	    height: calc(1em* 1.3 * 6);
	}
    section#topicSection .topic .text div.message {
        margin-top: 5px;
    }
}



.jump-link {
	color: var(--bc-color-3);
    font-size: large;
    border-bottom: dashed 1px var(--bc-base-color-1);
}

textarea.textarea-with-border {
  background-image:
    repeating-linear-gradient(
      #fff,
      #fff 31.4px,
      #ced4da 31.4px,
      #ced4da 32.4px,
      #fff 32.4px
    );
  background-origin: content-box;
  /*background-clip: content-box;*/
  background-attachment: local;
  line-height: 32.4px;/*2.026em;*/
}
textarea.textarea-with-border:disabled {
  background-image:
    repeating-linear-gradient(
      #f0f0f0,
      #f0f0f0 31.4px,
      #fff 31.4px,
      #fff 32.4px,
      #fff 32.4px
    )!important;
  background-origin: content-box!important;
  /*background-clip: content-box!important;*/
  background-attachment: local!important;
  /*line-height: 2.026em!important;*/
}
div.inputarea {
  position: relative;
  font-size: 1rem;
  line-height: 32.4px;
  margin-bottom: 3em;
  width: calc(100% - 1em);
}
.textarea-with-border-dummp {
  overflow: hidden;
  visibility: hidden;
  box-sizing: border-box;
  padding: 5px 1em;
  min-height: 120px;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  border: 1px solid;
  overflow: auto;
}
.textarea-with-border-disp {
  background-image:
    repeating-linear-gradient(
      var(--bc-color-2),
      var(--bc-color-2) 31.4px,
      #fff 31.4px,
      #fff 32.4px,
      #fff 32.4px
    )!important;
  background-origin: content-box!important;
  /*background-clip: content-box!important;*/
  background-attachment: local!important;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  padding: 5px 15px;
  width: calc(100% - 1em);
  height: 100%;
  border-radius: 4px;
  font: inherit;
  letter-spacing: inherit;
  resize: none;
  overflow: auto;
  line-height: 32.4px;
  color: BLACK!important;
}
.input-disp {
  background-color: var(--bc-color-2)!important;
  color: BLACK!important;
}
@media screen and (max-width: 767px) {
  .textarea-with-border-disp {
    background-image:
      repeating-linear-gradient(
        var(--bc-base-color-2),
        var(--bc-base-color-2) 31.4px,
        #fff 31.0px,
        #fff 32.0px,
        #fff 32.0px
      )!important;
    line-height: 32.7px;
  }
  .textarea-with-border-disp:disabled {
    color: BLACK!important;
    -webkit-text-fill-color: black;
    opacity: 1;
  }
  .input-disp {
    color: BLACK!important;
    -webkit-text-fill-color: black;
    opacity: 1;
  }
}

li {
    list-style: none;
}