@charset "UTF-8";

/* /////////////////////////////////////////////////////////////

INDEX

※ブロックスタイルは、mystyle/my-code.php=ブロックエディター関連と連動

=エディタースタイル
=基本見出しスタイル
=ブロックスタイル
/* 引用
/* ボタン
/* テーブル
/* コンテンツ枠
/* 見出し
/* リストマーク
/* 画像
/* スペーサー
/* カラム

=コンテンツ


///////////////////////////////////////////////////////////// */


/* ==============================================================

=エディタースタイル

============================================================== */

/* エディター幅 */
html :where(.wp-block){
  max-width: 1100px;
}
.is-root-container{
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1100px;
}
.editor-styles-wrapper .is-root-container {
  margin-top: 50px!important;
  margin-left: auto!important;
  margin-right: auto!important;
  margin-bottom: 50px!important;
}

/* タイトル */
.edit-post-visual-editor__post-title-wrapper{
  border: solid 1px #eee;
  padding: 10px;
  margin-bottom: 50px;
}

/* エディタータイトル */
.editor-post-title__input {
  font-size: 1.8em;
  word-break: break-word;
  margin-bottom: 30px;
}

/* エディターツールバー */
.block-editor-block-contextual-toolbar{
  background-color:#eee;
}

/* ==============================================================

=基本見出しスタイル

============================================================== */

/* 見出しフォントサイズ */
h1{
  font-size:1.6em;
}
h2{
  font-size:1.5em;
}
h3{
  font-size:1.3em;
}
h4{
  font-size:1.2em;
}
h5{
  font-size:1.1em;
}
h6{
  font-size:1em;
}

/* 見出しスタイル */
h1, h2, h3, h4, h5, h6 {
  color: #222;
  margin: 1.2em 0;
  line-height:1.3;
}

/* ==============================================================

=ブロックスタイル

============================================================== */

/* コード
-------------------------------------------------------------- */

.wp-block-code code{
  padding: 10px;
}
.block-editor-block-list__block.wp-block-code code{
  border: 1px solid lightgray;
}

/* 引用
-------------------------------------------------------------- */

/* 引用：blue-quote */
.wp-block-quote.is-style-blue-quote { 
  color: blue; 
}

/* ボタン
-------------------------------------------------------------- */

.wp-block-buttons{
  display: flex;
}

.block-editor-block-list__block.wp-block-buttons,
.wp-block-buttons{
  margin-top: 2em;
  margin-bottom: 2em;
}

.is-style-btm-type1 div,
.is-style-btm-type1 a{
  color: #fff!important;
  font-size: 1.3em;
  min-width: 200px;
  text-align: center;
  background: rgb(16, 53, 103);
  background: radial-gradient(circle, rgba(0, 140, 190,1) 0%, rgba(16, 53, 103,1) 100%);
}

.is-style-btm-type2 div,
.is-style-btm-type2 a{
  color: #fff!important;
  font-size: 1.1em;
  border-radius: 3px!important;
  min-width: 200px;
  text-align: center;
  background: rgb(0,140,190);
  background: linear-gradient(180deg, rgba(0,140,190,1) 0%, rgba(16,53,103,1) 100%);
}
.is-style-btm-type2 div:hover,
.is-style-btm-type2 a:hover{
  opacity: 0.8;
}
/* 基本・追加クラス
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* コンタクトフォーム共通調整 */
.fm-btm {
  padding-top: 30px ;
  text-align: center;
  position: relative;
}
.fm-btm .wp-block-button__link,
.fm-btm a,
.fm-btm input {
  background-image: none;
  background-color: #104280;
  color: #fff ;
  border: 0;
  margin: 0 5px;
  padding: 15px 20px;
  cursor: pointer;
  transition: .3s;
  font-size: 1em;
}
.fm-btm a:hover,
.fm-btm input:hover {
  background-image: none;
  opacity: 0.7;
}

/* テーブル
-------------------------------------------------------------- */

/* --- テーブル（既存）：デフォルト --- */
.block-editor-block-list__block.wp-block-table.is-style-regular table thead th{
	border: solid 1px #f5f5f5;
}
.block-editor-block-list__block.wp-block-table.is-style-regular table td{
  border: solid 1px #f5f5f5;
}
.block-editor-block-list__block.wp-block-table.is-style-regular table tfoot td{
	border: solid 1px #f5f5f5;
}


/* テーブル：項目無 */
.wp-block-table.is-style-waku-table table {
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 15px;
}
.wp-block-table.is-style-waku-table th {
  box-sizing: border-box;
}
.wp-block-table.is-style-waku-table td {
  background: #ffffff;
  border: solid 1px #ccc;
  color: #222222;
  /*padding: 10px;*/
  box-sizing: border-box;
}
.wp-block-table.is-style-waku-table.bkbase-top tr:first-child td {
  background: #eeeeee;
}
.wp-block-table.is-style-waku-table.bkbase-left td:first-child {
  background: #eeeeee;
}

/* テーブル：項目左 */
.wp-block-table.is-style-normal-table table {
  border-spacing: 0;
  border-collapse: collapse;
}
.wp-block-table.is-style-normal-table th {
  box-sizing: border-box;
}
.wp-block-table.is-style-normal-table td:first-child {
  background: #eeeeee;
  border: solid 1px #ccc;
  color: #222222;
  /*padding: 10px;*/
  box-sizing: border-box;
}
.wp-block-table.is-style-normal-table td:not(:first-child) {
  border: solid 1px #ccc;
  border-left: dotted 1px #ccc;
  border-right: dotted 1px #ccc;
  /*padding: 10px;*/
  background: #ffffff;
  box-sizing: border-box;
}

/* テーブル：項目上 */
.wp-block-table.is-style-midtop-table table {
  border-spacing: 0;
  border-collapse: collapse;
}
.wp-block-table.is-style-midtop-table th {
  box-sizing: border-box;
}
.wp-block-table.is-style-midtop-table tr:first-child td{
  background: #eeeeee;
  border: solid 1px #ccc;
  color: #222222;
  /*padding: 10px;*/
  box-sizing: border-box;
}
.wp-block-table.is-style-midtop-table tr:not(:first-child) td{
  border: solid 1px #ccc;
  border-left: dotted 1px #ccc;
  border-right: dotted 1px #ccc;
  /*padding: 10px;*/
  background: #ffffff;
  box-sizing: border-box;
}

/* テーブル：可変 */
.wp-block-table.is-style-rsp-table table {
  border-spacing: 0;
  border-collapse: collapse;
}
.wp-block-table.is-style-rsp-table th {
  box-sizing: border-box;
}
.wp-block-table.is-style-rsp-table td:first-child {
  background: #eeeeee;
  border: solid 1px #ccc;
  color: #222222;
  /*padding: 10px;*/
  box-sizing: border-box;
}
.wp-block-table.is-style-rsp-table td:not(:first-child) {
  border: solid 1px #ccc;
  border-left: dotted 1px #ccc;
  border-right: dotted 1px #ccc;
  /*padding: 10px;*/
  background: #ffffff;
  box-sizing: border-box;
}
.wp-block-table.is-style-rsp-table td:last-child {
  border-right: solid 1px #ccc;
}
@media screen and (max-width: 640px) {
  .wp-block-table.is-style-rsp-table table tr:not(:first-child) td:first-child {
    border-top: 0;
  }
  .wp-block-table.is-style-rsp-table th {
    display: block;
    width: 100%;
  }
  .wp-block-table.is-style-rsp-table td:first-child {
    border-bottom: solid 1px #ccc;
    display: block;
    width: 100%;
  }
  .wp-block-table.is-style-rsp-table td:not(:first-child) {
    border-top: 0;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
    border-bottom: dotted 1px #ccc;
    display: block;
    width: 100%;
  }
  .wp-block-table.is-style-rsp-table td:last-child {
    border-bottom: solid 1px #ccc;
  } 
}

.wp-block-table.hd-w3 td:first-child {
  min-width: 3em;
}
.wp-block-table.hd-w5 td:first-child {
  min-width: 5em;
}
.wp-block-table.hd-w10 td:first-child {
  min-width: 10em;
}

/* テーブル余白 */
.wp-block-table.is-style-stripes td,
.wp-block-table.is-style-stripes th,
.wp-block-table.is-style-normal-table td,
.wp-block-table.is-style-normal-table th,
.wp-block-table.is-style-rsp-table td,
.wp-block-table.is-style-rsp-table th{
  padding:5px;
}
@media screen and (min-width: 768px) {
  .wp-block-table.is-style-stripes td,
  .wp-block-table.is-style-stripes th,
  .wp-block-table.is-style-normal-table td,
  .wp-block-table.is-style-normal-table th,
  .wp-block-table.is-style-rsp-table td,
  .wp-block-table.is-style-rsp-table th{
    padding:7px;
  }
}
@media screen and (min-width: 992px) {
  .wp-block-table.is-style-stripes td,
  .wp-block-table.is-style-stripes th,
  .wp-block-table.is-style-normal-table td,
  .wp-block-table.is-style-normal-table th,
  .wp-block-table.is-style-rsp-table td,
  .wp-block-table.is-style-rsp-table th{
    padding:10px;
  }
}

/* 基本・追加クラス
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* --- テーブル基本ベース --- */
.edit-post-visual-editor table td,
.site-content table td,
.edit-post-visual-editor table th,
.site-content table th{
	word-break: break-all;
}


/* コンテンツ枠
-------------------------------------------------------------- */

/* 全画面背景用 */
.wp-admin .is-style-fullarea{
  background-color: rgba(0, 0, 0, 0.1);
}

/* グループベース */
.wp-admin .wp-block-group{
  border:dotted 1px #ccc;
  padding:5px;
}
/* グループ：ホーム全幅用背景 */
.is-style-fullarea{
	padding-left: 0;
	padding-right: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 20px 0;
  background-color: #eee;
}
@media screen and (max-width: 767px) {
  .is-style-fullarea{
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 40px 0;
  }
}
@media screen and (min-width: 768px) {
  .is-style-fullarea{
    padding-top: 50px;
    padding-bottom: 50px;
    margin: 50px 0;
  }
}

/* グループ：ホーム全幅 */
.is-style-fullbox1{
  max-width:1280px;
  margin: 0 auto;
}
.all-full .is-style-fullbox1{
	max-width:90%;
}
.all-full2 .is-style-fullbox1{
	max-width:1280px;
	padding-left: 20px;
	padding-right: 20px;
}
.home .all-full2 .is-style-fullbox1{
  box-sizing: inherit;
}

/* グループ：ページ全幅背景 */
.is-style-fullbox2{
  width:100%;
  margin: 0 auto;
  padding: 50px 20px;
  position: relative;
}
.block-editor-block-list__block.is-style-fullbox2{
  padding: 50px 20px;
  background-color: #eee;
}
.page.sideclm2 .is-style-fullbox2,
.page.full-width .is-style-fullbox2{
  padding: 30px 0;
}
@media screen and (min-width: 768px) {
  .page.sideclm2 .is-style-fullbox2,
  .page.full-width .is-style-fullbox2{
    padding: 40px 0;
  }
}
@media screen and (min-width: 992px) {
  .page.sideclm2 .is-style-fullbox2,
  .page.full-width .is-style-fullbox2{
    padding: 50px 0;
  }
}

.is-style-fullbox2::after{
  content: '';
  position: absolute;
  top:0;
  left: 0;
  height: 100%;
  width:100%;
  background-color: #eee;
  z-index: -1;
}

/* ページ全幅背景カラー */
.block-editor-block-list__block.is-style-fullbox2.fb2-colset1,
.is-style-fullbox2.fb2-colset1::after{
  background-color:#F5D2ED;
}
.block-editor-block-list__block.is-style-fullbox2.fb2-colset2,
.is-style-fullbox2.fb2-colset2::after{
  background-color:#CCFFE6;
}
.block-editor-block-list__block.is-style-fullbox2.fb2-colset3,
.is-style-fullbox2.fb2-colset3::after{
  background-color:#AEC7FB;
}
.block-editor-block-list__block.is-style-fullbox2.fb2-colset4,
.is-style-fullbox2.fb2-colset4::after{
  background-color:#DEB8FF;
}
.block-editor-block-list__block.is-style-fullbox2.fb2-colset5,
.is-style-fullbox2.fb2-colset5::after{
  background-color:#FFE4B1;
}

.full-width .is-style-fullbox2::after,
.sideclm2 .is-style-fullbox2::after{
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

/* 基本・追加クラス
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* グループ（カラムタイプ）
-------------------------------------------------------------- */

.clmbox-4>.wp-block-group__inner-container,
.clmbox-3>.wp-block-group__inner-container,
.clmbox-2l>.wp-block-group__inner-container,
.clmbox-2r>.wp-block-group__inner-container,
.clmbox-2>.wp-block-group__inner-container{
  display: flex;
  flex-wrap: wrap;
  gap: 20px 4%;
  margin-bottom: 20px;
}
.clmbox-4>.wp-block-group__inner-container>div,
.clmbox-3>.wp-block-group__inner-container>div,
.clmbox-2l>.wp-block-group__inner-container>div,
.clmbox-2r>.wp-block-group__inner-container>div,
.clmbox-2>.wp-block-group__inner-container>div{
  width: 100%;
}

@media screen and (max-width: 599px) {
  .clmbox-4.clmsp2>.wp-block-group__inner-container>div,
  .clmbox-3.clmsp2>.wp-block-group__inner-container>div,
  .clmbox-2.clmsp2>.wp-block-group__inner-container>div{
    width: 48%;
  }
  .clmbox-2l.clmsp2>.wp-block-group__inner-container>div:nth-child(odd){
    width: 38%;
  }
  .clmbox-2l.clmsp2>.wp-block-group__inner-container>div:nth-child(even){
    width: 58%;
  }
  .clmbox-2r.clmsp2>.wp-block-group__inner-container{
    flex-direction: row-reverse;
  }
  .clmbox-2r.clmsp2>.wp-block-group__inner-container>div:nth-child(odd){
    width: 38%;
  }
  .clmbox-2r.clmsp2>.wp-block-group__inner-container>div:nth-child(even){
    width: 58%;
  }
}

@media screen and (min-width: 600px) {
  
  .clmbox-2>.wp-block-group__inner-container>div{
    width: 48%;
  }
  .clmbox-2l>.wp-block-group__inner-container>div:nth-child(odd){
    width: 38%;
  }
  .clmbox-2l>.wp-block-group__inner-container>div:nth-child(even){
    width: 58%;
  }
  .clmbox-2r>.wp-block-group__inner-container{
    flex-direction: row-reverse;
  }
  .clmbox-2r>.wp-block-group__inner-container>div:nth-child(odd){
    width: 38%;
  }
  .clmbox-2r>.wp-block-group__inner-container>div:nth-child(even){
    width: 58%;
  }
  .clmbox-3>.wp-block-group__inner-container>div{
    width: 48%;
  }
  .clmbox-4>.wp-block-group__inner-container>div{
    width: 48%;
  }
}

@media screen and (min-width: 992px) {
  .clmbox-3>.wp-block-group__inner-container>div{
    width: 30.66%;
  }
  .clmbox-4>.wp-block-group__inner-container>div{
    width: 22%;
  }
}


/* 見出し
-------------------------------------------------------------- */

.is-style-orgtitle{
	margin: 0 0 1.2em 0;
}

/* アーカイブ見出し　共通 */
.is-style-orgtitle{
	font-size:1.8em;
}

/* アーカイブ見出しクリア */
.is-style-orgtitle{
	display:inherit;
	text-decoration: none;
	color: #000;
	line-height: 1.2em;
	background-color:none;
	padding: 0;
	font-weight: normal;
	margin: 0;
}

/* アーカイブ見出しとデザインを揃える */
.is-style-orgtitle{
	display: block;
	text-decoration: none;
	color: #000;
	line-height: 1.2em;
	background-color: #eeeeee;
	padding: 0.7em 0.7em;
	font-weight: normal;
	margin: 0 0 1.5em 0;
}

/* 見出し01 */
.is-style-midashi01 {
  position: relative;
  padding-bottom: 0.5em;
  border-bottom: 4px solid #604c3f;
  margin: 24px 0;
  color: #604c3f;
  line-height: 1.3em;
}
.is-style-midashi01:first-child {
  margin-top: 0;
}
.is-style-midashi01 a{
  color: #604c3f!important;
  text-decoration: none;
}

.is-style-midashi01::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 20%;
  height: 4px;
  background-color: #a38a77;
}


/* 見出し02 */
.is-style-midashi02 {
  position: relative;
  padding-left: 5px;
  line-height: 1.3em;
  border-left: 5px solid #604c3f;
  /*
	font-family: 'NewRodinPro-DB', 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'Noto Sans Japanese', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif!important;
	font-feature-settings: 'palt';
  font-weight: 200;
  */
}

/* 見出し03 */
.is-style-midashi03 {
  line-height: 1.3em;
  padding-bottom: 0.5em;
  border-bottom: solid 1px #604c3f;
  /*
  font-family: 'NewRodinPro-DB', 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'Noto Sans Japanese', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif!important;
  */
}

/* 見出し04 */
.is-style-midashi04 {
  line-height: 1.3em;
  padding-bottom: 0.5em;
  border-bottom: dotted 1px #604c3f;
  /*
  font-family: 'NewRodinPro-DB', 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'Noto Sans Japanese', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif!important;
  */
}

/* 見出し05 */
.is-style-midashi05 {
  line-height: 2.4em;
  padding: 0 1em;
  border-radius: 1.2em 0 0 1.2em;
  position: relative;
  box-sizing: border-box;
  color: #ffffff!important;
  background: rgb(0,140,190);
  background: linear-gradient(90deg, rgba(163, 138, 119,1) 0%, rgba(163, 138, 119,0) 100%);
}

/* リストマーク
-------------------------------------------------------------- */

/* リストマーク：三角マーク */
.is-style-mdlist01 {
  padding: 0px;
  padding-left: 0px!important;
  margin: 0px;
  list-style: none;
}
.is-style-mdlist01 > li {
  position: relative;
  padding: 0px 0px 0px 1em;
  list-style: none;
}
.is-style-mdlist01 > li::before{
  position: absolute;
  top: 0.5em;
  left: 0px;
  width: 0px;
  height: 0px;
  border: 0.3em solid transparent;
  border-left: 0.4em solid #777777;
  content: "";
}

/* リストマーク：※印マーク */
ul.is-style-mdlist02 {
  padding: 0px;
  padding-left: 0px!important;
  margin: 0 0 10px 0;
  list-style: none;
}
ul.is-style-mdlist02 > li {
  position: relative;
  margin:0 0 0 0;
  list-style-type: none;
  text-indent: 0;
  padding-left: 1.2em;
}
ul.is-style-mdlist02 > li::before{
  position: absolute;
  display: inline;
  content: "※";
  top: 0;
  left: 0;
}

/* リストスタイル ：※番号 */
ol.is-style-mdlist02{
  padding:0;
  padding-left: 0px!important;
  counter-reset: number;
  list-style: none;
}
ol.is-style-mdlist02 li{
  position: relative;
  margin:0 0 0 0;
  padding:0;
  padding-left: 2em;
  text-indent: 0;
}
ol.is-style-mdlist02 li:before {
  position: absolute;
  display: inline;
  counter-increment: number;
  content: "※"counter(number)" ";
  top: 0;
  left: 0;
}

/* リストマーク：帯リスト */
.is-style-mdlist03 {
  padding: 0px;
  padding-left: 0px!important;
  margin: 0px;
  list-style: none;
}
.is-style-mdlist03 > li {
  margin:0 0 0.5em 0;
  list-style-type: none;
  padding: 0.5em;
  background: #eeeeee;
}
/* リストマーク：説明リストタイプ */
.is-style-mdlist04 {
  padding: 0px;
  padding-left: 0px!important;
  margin: 0px;
  list-style: none;
  display:flex;
  flex-wrap: wrap;
  border-collapse: collapse;
  width: 100%;
}
.is-style-mdlist04 > li{
  margin:0;
  padding: 0.5em;
  list-style-type: none;
  box-sizing: border-box;
  border:solid 1px #ffffff;
}
.is-style-mdlist04 > li:nth-child(odd) {
  background: #eeeeee;
  width: 30%;
}
.is-style-mdlist04 > li:nth-child(even) {
  background: #f5f5f5;
  width: 70%;
}
@media only screen and (max-width:991px){
	.is-style-mdlist04 > li:nth-child(odd) {
		width: 100%;
	}
	.is-style-mdlist04 > li:nth-child(even) {
		width: 100%;
	}
}

/* 画像
-------------------------------------------------------------- */

/* 画像下マージンクリア */
figure{
  margin-bottom: 0;
}

/* 画像：正方形 */
.is-style-mdimg01{
  /*width: 100%;*/
  position: relative;
}
.is-style-mdimg01::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.is-style-mdimg01 img{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left:0;
  object-fit: cover;
  font-family: 'object-fit: cover;';
}
.conlsitimg .is-style-mdimg01 img{
  object-fit: contain;
  font-family: 'object-fit: contain;';
}
/* 画像：正方形（エディター） */
.is-style-mdimg01 .components-resizable-box__container{
  display: block;
  position: relative;
}
.is-style-mdimg01 .components-resizable-box__container::before {
  content: "";
  width: auto;
  display: block;
  padding-top: 100%;
  margin-top: -100%;
}
.is-style-mdimg01 .components-resizable-box__container img{
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left:0;
  object-fit: cover;
  font-family: 'object-fit: cover;';
}
.conlsitimg .is-style-mdimg01 .components-resizable-box__container img{
  object-fit: contain;
  font-family: 'object-fit: contain;';
}
.wp-block-image.is-style-mdimg01>figcaption.block-editor-rich-text__editable{
  display: block;
  width: 100%;
}

/* 画像：固定横長70 */
.is-style-mdimg02 {
  width: 100%;
  position: relative;
}
.is-style-mdimg02::before {
  content: "";
  display: block;
  padding-top: 70%;
}
.is-style-mdimg02 img{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left:0;
  object-fit: cover;
  font-family: 'object-fit: cover;'; /*IE対策*/
}

/* 画像：固定横長70（エディター） */
.is-style-mdimg02,
.is-style-mdimg02 .components-resizable-box__container {
  display: block;
  position: relative;
}
.is-style-mdimg02 .components-resizable-box__container::before {
  content: "";
  width: auto;
  display: block;
  padding-top: 70%;
  margin-top: -70%;
}
.is-style-mdimg02 .components-resizable-box__container img{
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left:0;
  object-fit: cover;
  font-family: 'object-fit: cover;';
}
.wp-block-image.is-style-mdimg02>figcaption.block-editor-rich-text__editable{
  display: block;
  width: 100%;
}

/* 画像：固定横長50 */
.is-style-mdimg03 {
  width: 100%;
  position: relative;
}
.is-style-mdimg03::before {
  content: "";
  display: block;
  padding-top: 50%;
}
.is-style-mdimg03 img{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left:0;
  object-fit: cover;
  font-family: 'object-fit: cover;'; /*IE対策*/
}
/* 画像：固定横長35（エディター） */
.is-style-mdimg03,
.is-style-mdimg03 .components-resizable-box__container {
  display: block;
  position: relative;
}
.is-style-mdimg03 .components-resizable-box__container::before {
  content: "";
  width: auto;
  display: block;
  padding-top: 50%;
  margin-top: -50%;
}
.is-style-mdimg03 .components-resizable-box__container img{
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left:0;
  object-fit: cover;
  font-family: 'object-fit: cover;'; /*IE対策*/
}
.wp-block-image.is-style-mdimg03>figcaption.block-editor-rich-text__editable{
  display: block;
  width: 100%;
}

/* 画像：固定横長35 */
.is-style-mdimg04 {
  width: 100%;
  position: relative;
}
.is-style-mdimg04::before {
  content: "";
  display: block;
  padding-top: 35%;
}
.is-style-mdimg04 img{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left:0;
  object-fit: cover;
  font-family: 'object-fit: cover;'; /*IE対策*/
}

/* 画像：固定横長35（エディター） */
.is-style-mdimg04,
.is-style-mdimg04 .components-resizable-box__container {
  display: block;
  position: relative;
}
.is-style-mdimg04 .components-resizable-box__container::before {
  content: "";
  width: auto;
  display: block;
  padding-top: 35%;
  margin-top: -35%;
}
.is-style-mdimg04 .components-resizable-box__container img{
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left:0;
  object-fit: cover;
  font-family: 'object-fit: cover;'; /*IE対策*/
}
.wp-block-image.is-style-mdimg04>figcaption.block-editor-rich-text__editable{
  display: block;
  width: 100%;
}

/* 画像：固定横長35-60 */
.is-style-mdimg05 {
  width: 100%;
  position: relative;
}
.is-style-mdimg05::before {
  content: "";
  display: block;
  padding-top: 35%;
}
@media only screen and (max-width:767px){
  .is-style-mdimg05::before {
    padding-top: 60%;
  }
}
.is-style-mdimg05 img{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left:0;
  object-fit: cover;
  font-family: 'object-fit: cover;'; /*IE対策*/
}

/* 画像：固定横長35-60（エディター） */
.is-style-mdimg05,
.is-style-mdimg05 .components-resizable-box__container {
  display: block;
  position: relative;
}
.is-style-mdimg05 .components-resizable-box__container::before {
  content: "";
  width: auto;
  display: block;
  padding-top: 35%;
  margin-top: -35%;
}
@media only screen and (max-width:767px){
  .is-style-mdimg05 .components-resizable-box__container::before {
    padding-top: 60%;
    margin-top: -60%;
  }
}
.is-style-mdimg05 .components-resizable-box__container img{
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left:0;
  object-fit: cover;
  font-family: 'object-fit: cover;'; /*IE対策*/
}
.wp-block-image.is-style-mdimg05>figcaption.block-editor-rich-text__editable{
  display: block;
  width: 100%;
}

/* 基本・追加クラス
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* 画像基本設定 */
img{
	margin:0;
	padding:0;
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
}

/* 画像キャプション */
figcaption{
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 10px;
}

/* ノーイメージスタイル */
.noimg-text{
  position: relative;
}
/*
.noimg-text::after{
  content: 'No Image';
  position: absolute;
  display: block;
  color: #fff;
  font-size: 1.3em;
  top: 50%;
  left:50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  z-index: 2;
}
*/
/* ノーイメージスタイル（エディター） */
.block-editor-block-list__block.noimg-text{
  content: none;
  position: relative;
}
/*
.block-editor-block-list__block.noimg-text div::after{
  content: 'No Image';
  position: absolute;
  display: block;
  color: #fff;
  font-size: 1.3em;
  top: 50%;
  left:50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  z-index: 2;
}
*/
/* 画像サイズ（サイズ指定） */
.myimgsize-30,
.wp-block-image.myimgsize-30 figure,
figure.wp-block-image.myimgsize-30{
	max-width: 30%;
}
.myimgsize-50,
.wp-block-image.myimgsize-50 figure,
figure.wp-block-image.myimgsize-50 {
	max-width: 50%;
}
.myimgsize-70,
.wp-block-image.myimgsize-70 figure,
figure.wp-block-image.myimgsize-70 {
	max-width: 70%;
}
.myimgsize-s,
.wp-block-image.myimgsize-s figure,
figure.wp-block-image.myimgsize-s {
	max-width: 200px;
}
.myimgsize-m,
.wp-block-image.myimgsize-m figure,
figure.wp-block-image.myimgsize-m{
	max-width: 400px;
}
.myimgsize-l,
.wp-block-image.myimgsize-l figure,
figure.wp-block-image.myimgsize-l{
	max-width: 600px;
}
@media only screen and (max-width:767px){
	.myimgsize-s,
	.wp-block-image.myimgsize-s figure,
	figure.wp-block-image.myimgsize-s{
		max-width: 50%;
	}
	.myimgsize-m,
	.wp-block-image.myimgsize-m figure,
	figure.wp-block-image.myimgsize-m{
		max-width: 70%;
	}
	.myimgsize-l,
	.wp-block-image.myimgsize-l figure,
	figure.wp-block-image.myimgsize-l{
		max-width: 90%;
	}
}

/* スペーサー
-------------------------------------------------------------- */

/* スペース：余白30-50 */
.is-style-mdspacer01{
	height: 30px!important;
}
/* スペース：余白15-25 */
.is-style-mdspacer02{
	height: 15px!important;
}
.is-style-mdspacer01 .components-resizable-box__container{
  height: auto!important;
  min-height: 30px!important;
}
.is-style-mdspacer02 .components-resizable-box__container{
  height: auto!important;
  min-height: 15px!important;
}
@media only screen and (min-width:768px){
	.is-style-mdspacer01{
		height: 40px!important;
	}
	.is-style-mdspacer02{
		height: 20px!important;
	}
  .is-style-mdspacer01 .components-resizable-box__container{
    min-height: 40px!important;
  }
  .is-style-mdspacer02 .components-resizable-box__container{
    min-height: 20px!important;
  }
}
@media only screen and (min-width:992px){	
	.is-style-mdspacer01{
		height: 50px!important;
	}
	.is-style-mdspacer02{
		height: 25px!important;
	}
  .is-style-mdspacer01 .components-resizable-box__container{
    min-height: 50px!important;
  }
  .is-style-mdspacer02 .components-resizable-box__container{
    min-height: 25px!important;
  }
}

/* カラム
-------------------------------------------------------------- */

/* 基本・追加クラス
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/* 逆読み：基本カラムにクラス付与 */
@media screen and (max-width: 781px) {
  .reverse-set{
    flex-wrap:wrap-reverse!important;
  }
}

/* カラム間隔調整：基本カラムにクラス付与 */
.wp-block-columns.culumn-space{
  margin-bottom: 0;
}
.wp-block-columns.culumn-space .wp-block-column{
  margin-bottom: 20px;
}


/* ==============================================================

=コンテンツ

============================================================== */


/* ホーム
-------------------------------------------------------------- */

.yusou-oya-h2{
  background-color: #eeeeee;
  padding: 0.5em;
  box-sizing: border-box;
  text-align: center;
  margin: 0!important;
}

.jimusyo-box h4 {
  text-align: center;
  margin: 0.5em 0.2em!important;
  color: #222222!important;
}

.jimusyo-box ul{
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0!important;
  list-style-type: none;
  gap:2px;
}
.jimusyo-box ul li{
  width: 50%;
  margin: 0;
  padding: 0;
}
.jimusyo-box ul li a{
  display: block;
  padding: 0.5em 0;
  box-sizing: border-box;
  background-color: #604c3f;
  text-align: center;
  color: #ffffff!important;
}

/* フッター
-------------------------------------------------------------- */

.foot-contact-mess{
  background-color: #ffffff;
  padding: 1em;
  border-radius: 10px;
  display: block;
  max-width: 390px;
  margin:  0 auto;
  box-sizing: border-box;
}