﻿.d-none {
	display: none;
}



/*#####移植style.css######*/
/* アンケート下段余白 */
.wpcf7 form {
	margin-bottom: 2rem;
}

/* ContactForm7のラジオボタンを縦並びに */
.wpcf7 .wpcf7-radio .wpcf7-list-item {
	margin-top:5px;
 	display: block;
}
/* ContactForm7のドロップダウンメニューのHeight */
.wpcf7 .cf7drpdwn {
	height: 2rem;
}

/*レスポンシブ対応*/
.wpcf7 table td, table th {
	display: table-cell;
}

/*ContactForm7のtable*/
.wpcf7 table {
  border-spacing: 0px;
	border-collapse: collapse;
	width: 100%;
}
.wpcf7 table p {
	padding: 0rem!important;
}
.wpcf7 th {
	width: 10rem;
	border: solid 1px #ccc;
	background-color: #eee;
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-left: 0.3rem;
	line-height: 1.4em;
	text-align: left;
}
.wpcf7 td {
	max-width: 700px;
	border: solid 1px #ccc;
	background-color: #eee;
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-left: 0.3rem;
	line-height: 1.4em;
}
.wpcf7 td:nth-of-type(1){
	background-color: #eee;
}
.wpcf7-text {
	font-size: 1em;
	padding: 0.3em;
}
.wpcf7 .wpcf7-form-control-wrap input[type=text] {
	width: 90%;
}
.wpcf7-textarea {
	font-size: 1.3em;
	padding: 0.3em;
}
.wpcf7 .wpcf7-form-control-wrap textarea {
	width: 90%;
}
.wpcf7 input.wpcf7-submit {
	margin-top: 1rem;
}
.wpcf7-submit {
	height: 3em;
	min-width: 4.5em;
}
.wpcf7cp-cfm-edit-btn {
	height: 3em;
	min-width: 4.5em;
}
.wpcf7cp-cfm-submit-btn {
	height: 3em;
	min-width: 4.5em;
}
/*ConfirmPlusContactForm7確認画面のデザイン*/
#wpcf7cpcnf::before {
	content: "次の内容でよろしければ、下段の「この内容で送信」ボタンを押下してください。";
}
#wpcf7cpcnf table tr th:nth-of-type(1){
	/*width: 32%;*/
	text-align: left;
}
/*ConfirmPlusContactForm7メッセージ送信後のデザイン*/
.wpcf7 form.sent table {
	display: none;
}
.wpcf7 form p.tudukete {
	display: none;
}
.wpcf7 form.sent p.tudukete {
	display: block;
}

/*ページネーションのデザイン*/
.wp-block-query-pagination-numbers,
.pagination{
   margin:40px 0 0;
}
.page-numbers,
.nav-links{
   display:flex;
}
.wp-block-query-pagination-numbers .page-numbers,
.pagination .page-numbers{
   display:inline-block;
   margin-right:0.5em;
   padding:0.4em 0.8em;
   color:#333;
   border-radius:3px;
   box-shadow:0 3px 3px #999;
   background:#fff;
}
.wp-block-query-pagination-numbers .current,
.pagination .current{
   padding:0.6em 1em;
   background:#69a4db;
   color:#fff;
}
.wp-block-query-pagination-next,
.pagination .prev,
.pagination .next{
   background:transparent;
   box-shadow:none;
   color:#ae5c09;
}
.pagination .dots{
   background:transparent;
   box-shadow:none;
}

/*動く背景雲*/
div#awan {
position: relative;
top:-9px;left:0px;
margin:0px;
padding:0px;
background: url(https://www.kamagaya-med.or.jp/zk/images/bg4.jpg) center top repeat-x;
/*height: 300px;*/
 ?animation: awan-animasi 24s linear infinite;
  -ms-animation: awan-animasi 24s linear infinite;
  -moz-animation: awan-animasi 24s linear infinite;
  -webkit-animation: awan-animasi 24s linear infinite;
}
@keyframes awan-animasi {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 100% 0;
  };
}
@-webkit-keyframes awan-animasi {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 100% 0;
  };
}
@-ms-keyframes awan-animasi {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 100% 0;
  };
}
@-moz-keyframes awan-animasi {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 100% 0;
  };
}

















/*###### PC用のメディアクエリは設定しない（PCファースト設定） ######*/
* {
	margin: 0;
	padding: 0;
}
body {
	font-size: 15.5px;
	line-height: 1.7;
	color: #333333;
}
img {
	width: auto;
	height: auto;
}
a {
	color: #ae5c09;
	text-decoration: none;
}
a:hover {
	color: #990000;
	text-decoration: underline;
}
a:visited,
a:active {
	color: inherit;
}
h1 {
	font-size: 23.25px; /*1.5rem*/
}
h2 {
	font-size: 18.6px; /*1.2rem*/
}
h3 {
	font-size: 17.05px; /*1.1rem*/
}
h4 {
	font-size: 15.5px; /*1.0rem*/
}
h5 {
	font-size: 15.0px; /*0.96rem*/
	font-weight: normal;
}
p {
	font-size: 15.5px; /*1.0rem*/
}

/* PDFファイルへのリンクにアイコン表示 */
a[href$=".pdf"]:before {
	content:" ";
	display: inline-block;
	vertical-align: top;
	width: 40px;
	height: 48px;
	background: url(../images/pdf_icon_24x24.png) no-repeat center 0px;
	margin: 1rem;
}
/* その他のファイルへのリンクにアイコン表示 */
a[href$=".doc"]:before, a[href$=".docx"]:before, a[href$=".xls"]:before, a[href$=".xlsx"]:before, a[href$=".ppt"]:before, a[href$=".pptx"]:before, a[href$=".zip"]:before {
	content:" ";
	display: inline-block;
	vertical-align: top;
	width: 40px;
	height: 48px;
	background: url(../images/temp_icon_24x24.png) no-repeat center 0px;
	margin: 1rem;
}

/* ファイル添付ブロックの装飾 */
.wp-block-group__inner-container div {
	margin-bottom: 0;
}
.wp-block-file {
	padding: 0.2rem 0.6rem 0.8rem 0.6rem;
}
.wp-block-file a {
	font-size: 0.9rem;
    background-color: #fff;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding: 0.3rem 0.8rem 0.3rem 1.7rem;
    max-width: 220px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    z-index:0;
    border-left: solid 5px #6bb6ff;
}
.wp-block-file a:hover {
    color: #FFF;
}
.wp-block-file a:hover:before {
    width: 100%;
    z-index: -1;
}
.wp-block-file a:before {
	background-image: none;
    content: ' ';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    display: block;
    background-color: #6bb6ff;
    transition: .3s;
    left:0;
}
/* ファイル添付ブロックの装飾２（先頭にアイコン表示あり＝PDF以外） */
.wp-block-file a[href$=".doc"], a[href$=".docx"], a[href$=".xls"], a[href$=".xlsx"], a[href$=".ppt"], a[href$=".pptx"], a[href$=".zip"] {
	font-size: 0.9rem;
	background-image: url(../images/temp_icon_24x24.png);
	background-repeat: no-repeat;
	background-position: left 0.3rem;
    background-color: #fff !important;
    position: relative !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0.3rem 0.8rem 0.3rem 1.7rem !important;
    max-width: 220px !important;
    color: #313131 !important;
    transition: 0.3s ease-in-out !important;
    font-weight: 500 !important;
    z-index:0 !important;
    border-left: solid 5px #6bb6ff !important;
}
.wp-block-file a[href$=".doc"]:hover, a[href$=".docx"]:hover, a[href$=".xls"]:hover, a[href$=".xlsx"]:hover, a[href$=".ppt"]:hover, a[href$=".pptx"]:hover, a[href$=".zip"]:hover {
    color: #FFF !important;
}
.wp-block-file a[href$=".doc"]:hover:before, a[href$=".docx"]:hover:before, a[href$=".xls"]:hover:before, a[href$=".xlsx"]:hover:before, a[href$=".ppt"]:hover:before, a[href$=".pptx"]:hover:before, a[href$=".zip"]:hover:before {
    width: 100% !important;
    z-index: -1 !important;
}
.wp-block-file a[href$=".doc"]:before, a[href$=".docx"]:before, a[href$=".xls"]:before, a[href$=".xlsx"]:before, a[href$=".ppt"]:before, a[href$=".pptx"]:before, a[href$=".zip"]:before {
	margin: 0;
	background-image: url(../images/temp_icon_24x24wht.png);
	background-repeat: no-repeat;
	background-position: left 0.3rem;
		height: auto;
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 0 !important;
    display: block !important;
    background-color: #6bb6ff !important;
    transition: .3s !important;
    left:0 !important;
}
/* ファイル添付ブロックの装飾２（先頭にアイコン表示あり＝PDF） */
.wp-block-file a[href$=".pdf"] {
	font-size: 0.9rem;
	background-image: url(../images/pdf_icon_24x24.png);
	background-repeat: no-repeat;
	background-position: left 0.3rem;
    background-color: #fff !important;
    position: relative !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0.3rem 0.8rem 0.3rem 1.7rem !important;
    max-width: 220px !important;
    color: #313131 !important;
    transition: 0.3s ease-in-out !important;
    font-weight: 500 !important;
    z-index:0 !important;
    border-left: solid 5px #6bb6ff !important;
}
.wp-block-file a[href$=".pdf"]:hover {
    color: #FFF !important;
}
.wp-block-file a[href$=".pdf"]:hover:before {
    width: 100% !important;
    z-index: -1 !important;
}
.wp-block-file a[href$=".pdf"]:before {
	margin: 0;
	background-image: url(../images/pdf_icon_24x24.png);
	background-repeat: no-repeat;
	background-position: left 0.3rem;
		height: auto;
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 0 !important;
    display: block !important;
    background-color: #6bb6ff !important;
    transition: .3s !important;
    left:0 !important;
}

/* 基本のページ幅 */
#wrapper {
	max-width: 930px;
	margin: 0 auto;
	/*border: solid 3px green;*/
}
.wrapper {
	max-width: 930px;
	margin: 0 auto;
	/*border: solid 1px red;*/
}
.flex_sb {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.flex_fe {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.flex_fs {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
}
.flex_se {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}


/* headerの設定 */
div#header_main {
	position: relative;
	z-index: 1;
	background-color: #EDE9E6;
	background: linear-gradient(#FFFEFE, #EDE9E6);
	border-bottom: 0.2rem solid #ABA9A5;
	margin: 0;
	padding: 0 0 0.2rem 0;
	width: 100%;
}

/* header 一段目 */
.header_top {
	background-image: url(../images/header_back_01.jpg);
	background-repeat: repeat-x;
	margin: 0;
	padding: 0;
}
.header_top p {
	/*line-height: 1.3rem;*/
	font-size: 0.8rem;
	color: #FFFFFF;
}

/* header 二段目 */
.header_middle {
	padding: 1.2rem 0 0 0;
}
.header_middle .dlogo {
	max-width: 300px;
}
.header_middle .dsearch {
	flex-grow: 1;
	width: auto;
}
.header_middle .searchfield {
	width: 99.8%;
	margin-top: 0.5rem;
	position: relative;
}
.header_middle .searchtext {
	width: 99%;
  font-size: 1rem;
	line-height: 2.0rem;
	padding-left: 1%;
  border: solid 1px #bbb;
  border-radius: 4px;
  background-color: #efefef;
}
.header_middle .searchbutton {
  font-family: FontAwesome;
  font-size: 1.2em;
  position: absolute;
	top: 0.4rem;
	right: 0.6rem;
  cursor: pointer;
  color: #6297f5;
  border: none;
  background: transparent;
}

/* header 三段目 */
.header_bottom {
	padding: 1.0rem 0 0 0;
}
.header_bottom .wrapper ul {
	text-align: left;
	padding-right: 0.5rem;
}
.header_bottom .wrapper li {
	display: inline;
	padding-top: 0.5rem;
	padding-left: 1.0rem;
	font-size: 1.04rem;
}
.header_bottom .wrapper ul li a {
	position: relative;
	display: inline-block;
 	text-decoration: none;
	color: #333333;
}
.header_bottom .wrapper ul li a::after{
	position: absolute;
	bottom: -4px;
	left: 0;
	content: "";
	width: 100%;
	height: 3px;
	background: #FF9900;
	transform: scale(0, 1);
	transform-origin: center top;
	transition: transform 0.4s;
}
.header_bottom .wrapper ul li a:hover::after {
	transform: scale(1, 1);
}
.header_bottom .wrapper ul li a:hover {
	color: #FF9900;
}

/* 水平メニューに更新マークを表示 */
.entry-icon-new a {
	visibility:hidden;
	font-size: 0;
}
.entry-icon-new::after {
	font-family: "Font Awesome 5 Free";
	content: "\f05a";
	font-weight: bold;
	color: #ff4500;
	display: inline-block;
	position: relative;
	top: -0.4rem;
	left: -0.2rem;
}

/* footerの設定 */
div#footer_main {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 0.2rem 0 0 0;
	width: 100%;
	background-image: url(../images/main_img32.gif);
	background-repeat: repeat-x;
	background-position: center top;
}
div#footer_main a {
	color: #a0470c;
	text-decoration: none;
}
/* footer 一段目 */
.footer_top {
	font-size: 0.9rem;
	margin-bottom: 6rem;
}
/* footer 二段目 */
.footer_middle {
	text-align: center;
	background-color: #F0E6DD;
	padding: 1rem 0 1rem 0;
}
.footer_middle .searchfield {
	width: 99.8%;
}
#mytagcloud {
	margin-top: 0.5rem;
	line-height: 1.8rem;
}
#mytagcloud a {
	font-size: 1.4rem;
	border: solid 1px #ae5c09;
	background-color: #FFF;
	padding: 0 0.4rem;
	border-radius: 0.5rem;
}

/* footer二段目でのタグ一覧プルダウン表示 */
.footer_middle .ftag select {
	margin-top: 0.5em;
	width: 99.8%;
}
.footer_middle .ftag select {
	cursor: pointer;
	padding: 0.4em 0.7em;
}

/* footer 三段目 */
.footer_bottom {
	font-size: 0.9rem;
	color: #a0470c;
	text-align: center;
	background-color: #E1CDBB;
	padding: 0.5rem 0 1rem 0;
}
.footer_bottom p {
	margin-top: 0.5rem;
}

/* パンくずリスト */
#breadcrumbs2 {
	margin: 0;
	padding: 0.8rem 0 0.5rem 0;
	list-style: none;
	font-weight: normal;/*太字*/
	font-size: 0.75rem;
	color: #DCEEF4;
}
#breadcrumbs2 li:after {
	/* >を表示*/
	content: '>';
	padding: 0 0.2em;
}
#breadcrumbs2 li:last-child:after {
	content: '';
	color: #DCEEF4;
}
#breadcrumbs2 a {
	text-decoration: none;
	color: #DCEEF4;
}
#breadcrumbs2 li:first-child a:before {
	/*家アイコン*/
	font-family: FontAwesome;
	content: '\f015';
	font-weight: normal;
	font-size: 1.1em;
}
#breadcrumbs2 a:hover {
	text-decoration: underline;
	color: #fff;
}

/* サイドバー表示 */
#sidebar {
	order: 2;
	max-width: 274px;
}
.sidenavi2 {
	padding: 8.5rem 0 1rem 1rem;
	max-width: calc( 274px - 1rem );
	min-width: calc( 274px - 1rem );
	/*background-image: url(../images/bg2nd.png);*/
	background-position: top center;
	background-repeat: no-repeat;
}
.sidenavi2 h4 {
	border-bottom: dotted 1px #434343;
	color: #585858;
	display: flex;
	justify-content: left;
	align-items: center;
}
.sidenavi2 h4 span {
	color: #00A32A;
	font-size: 0.56em;
}

/*リスト開錠マーク*/
.wp-isi_list ul {
	list-style-type: none;
	padding-left: 0;
	/*padding-bottom: 1.3em;*/
}
.sidenavi2 .wp-isi_list .menu-smenu-container ul { /*sideメニューでは下余白なし*/
	padding-bottom: 0;
}
.sidenavi2 .wp-isi_list ul li {
	position: relative;
	padding-bottom: 0.5rem;
	font-size: 0.9rem;
	line-height: 1.65em;
}
.sidenavi2 .wp-isi_list ul li:before {
	position: absolute;
	/*left: 0.5rem;*/
	font-family: "Font Awesome 5 Free";
	/*content: "\f3c1";*/
	font-weight: 900;
	color: #00A32A;
}
.sidenavi2 .wp-isi_list ul li a {
	display: inline-block;
	color: #434343;
	padding-left: 1.2rem; /* 左余白 1rem をプラス */
}
/*リスト施錠マーク*/
.wp-isi_list_lock ul {
	list-style-type: none;
	padding-left: 0;
	padding-bottom: 1.3em;
}
.sidenavi2 .wp-isi_list_lock .menu-smenu-container ul { /*sideメニューでは下余白なし*/
	padding-bottom: 0;
}
.sidenavi2 .wp-isi_list_lock ul li {
	position: relative;
	padding-bottom: 0.5rem;
	font-size: 0.9rem;
	line-height: 1.65em;
}
.sidenavi2 .wp-isi_list_lock ul li:before {
	position: absolute;
	/*left: 0.5rem;*/
	font-family: "Font Awesome 5 Free";
	/*content: "\f023";*/
	font-weight: 900;
	color: #daa520;
}
.sidenavi2 .wp-isi_list_lock ul li a {
	display: inline-block;
	color: #434343;
	padding-left: 1.2rem; /* 左余白 1rem をプラス */
}

/*sidebarでの記事リストの入れ子*/
.sidenavi2 .listdown ul {
	padding-top: 0.5rem;
	padding-bottom: 0;
}
.sidenavi2 .listdown ul li:before {
	position: absolute;
	left: 1.7rem;
	font-family: "Font Awesome 5 Free";
	content: "\f054";
	font-weight: 900;
	color: #9acd32;
}
.sidenavi2 .listdown ul li a {
	display: block;
	color: #434343;
        padding-left: 2.5rem; /* 左余白 1rem をプラス */
}
/* sidebarでのタグ一覧プルダウン表示 */
.sidenavi2 .sidetag select {
	margin-top: 0.5em;
}
.sidenavi2 .sidetag select {
	cursor: pointer;
	padding: 0.4em 0.7em;
}




/* 記事の埋め込み */
.entry-content figure {
	padding: 0.2rem 0.6rem 0.8rem 0.6rem;
}

/* 見出しつき hr */
.hr-text {
	display: none;
	margin-top: 1rem;
	margin-bottom: 1rem;
	line-height: 1em;
	position: relative;
	outline: 0;
	border: 0;
	color: black;
	text-align: center;
	height: 1.5em;
	/*opacity: .9;*/
}
.hr-text:before {
	content: '';
	background: -webkit-linear-gradient(left, transparent, #696969, transparent);
	background: linear-gradient(to right, transparent, #696969, transparent);
	position: absolute;
	left: 0;
	top: 50%;
	width: 100%;
	height: 1px;
}
.hr-text:after {
	/*content: attr(data-content);*/
	font-family: "Font Awesome 5 Free";
	content: "\f0e7";
	font-weight: bold;
	position: relative;
	display: inline-block;
	padding: 0 .5rem;
	line-height: 1.5em;
	color: #696969;
	background-color: #FFFFFF;
}

/* Youtubeの埋め込み */
.youtubevideo {
  position: relative;
  width:100%;
  height:0; /* 高さは0にしておく(padding-topで高さを指定するため) */
  padding-top: 56.25%; /* 高さを指定(16:9) */
}
.youtubevideo iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
a[href*="www.youtube.com/channel/"] {
	background-color: #333333;
	color: white;
	font-size: 0.9rem;
	padding: 0.5rem 1rem;
	margin-left: 1rem;
	border-radius: 2rem;
}

/* 動画のタイトルJSで複写した部分の装飾 */
#movtitle_c div {
	padding: 0.5rem 0.3rem 0 0.3rem;
	margin: 0;
	font-size: 1.1rem;
	font-weight: bold;
}

/* 動画の「詳細を見る」表示・非表示 */
#toggle1 {
	display: none;
}
.toggle-inner {
	display: none;
}
.toggle-outer1 {
	margin-left: 0.3rem;
}
.toggle-outer2 {
	display: none;
}
#toggle1:checked ~ .toggle-inner {
	display: block;
}
#toggle1:checked ~ .toggle-outer1 {
	display: none;
}
#toggle1:checked ~ .toggle-outer2 {
	display: block;
	margin-left: 0.3rem;
}

/* 動画の日付表示 */
/*----------
.wp-block-post-date {
	font-size: 0.85rem;
	color: #696969;
}
.wp-block-post-date:before {
	padding-right: 0.3rem;
	font-family: FontAwesome;
	content: '\f073 ';
	font-weight: normal;
}
----------*/

/* 投稿タグ名の表示 */
/*----------
.taxonomy-post_tag {
	font-size: 0.85rem;
}
----------*/

/* 記事の整形済みテキストのブロック */
.wp-block-preformatted {
	border: dotted 2px #8CBBD2;
	border-radius: 10px;
	background: rgba(212,246,255,0.3);
	font-size: 0.9rem;
	padding: 0.7rem;
	margin: 0.2rem 0.3rem 0.8rem 0.3rem;
}

/* 動画記事・ページのテキスト横並びレスポンシブ */
#template-single-mvideo .entry-content .is-layout-flex {
	justify-content: space-between;
}
#template-single-mvideo .entry-content .is-layout-flex .wp-block-group {
	width: 530px;
	/*border: solid 1px red;*/
}
#template-single-mvideo .entry-content .is-layout-flex .is-layout-flex {
	justify-content: flex-start;
}
#template-single-mvideo .entry-content .is-layout-flex .is-content-justification-right {
	justify-content: flex-end;
}
/*#template-single-mvideo .entry-content .is-layout-flex video {
	max-width: 530px;
	border: solid 1px blue;
}*/
#template-single-mvideo .entry-content .is-layout-flex .yarpp-template-yarpp-template-mvideothum {
	max-width: 380px;
	/*border: solid 1px orange;*/
}
.mvideothum {
	padding-bottom: 1rem;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
}
.mvideothum .pictbx img {
	border-radius: 0.7rem;
/*	width: 300px;
	height: 169px;*/
/*	width: 210px;
	height: 118px;*/
	width: 167px;
	height: 94px;
}
.mvideothum .txtbx {
	padding-left: 0.5rem;
}
.mvideothum .txtbx h5 {
  line-height: 1.3rem;
}
.mvideothum .txtbx p {
	font-size: 0.9rem;
	line-height: 1.4;
	color: #696969;
}
/*----------
.mvideothum .txtbx p.wp-block-post-date {
	font-size: 0.8rem;
}
----------*/

/* 右下のフルスクリーンメニュー */
.cp_fullscreenmenu {
	position: fixed;
	z-index: 1;
	bottom: 0;
	right: 0;
}
.cp_fullscreenmenu a,
.cp_fullscreenmenu a:visited,
.cp_fullscreenmenu a:hover,
.cp_fullscreenmenu a:active {
	text-decoration: none;
	color: #FFFFFF;
}
.cp_fullscreenmenu .menu {
	position: fixed;
	bottom: 0;
	right: 0;
	display: flex;
	visibility: hidden;
	overflow: hidden;
	width: 100%;
	height: 100%;
	pointer-events: none;
	outline: 1px solid transparent;

	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
	align-items: center;
	justify-content: center;
}
.cp_fullscreenmenu .menu > div {
	display: flex;
	overflow: hidden;
	width: 200vw;
	height: 200vw;
	transition: all 0.4s ease;
	-webkit-transform: scale(0);
	        transform: scale(0);
	text-align: center;
	color: #fefefe;
	border-radius: 50%;
	background: rgba(0,131,143 ,0.9);

	flex: none;
	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
	align-items: center;
	justify-content: center;
}
.cp_fullscreenmenu .menu > div > ul {
	display: block;
	max-height: 100vh;
	margin: 0;
	padding: 0 1em;
	list-style: none;
	transition: opacity 0.4s ease;
	opacity: 0;
}
.cp_fullscreenmenu .menu > div > ul > li {
	font-size: 24px;
	display: block;
	margin: 1em;
	padding: 0;
}
.cp_fullscreenmenu .menu > div > ul > li > a {
	position: relative;
	display: inline;
	cursor: pointer;
	transition: color 0.4s ease;
}
.cp_fullscreenmenu .menu > div > ul > li > a:hover {
	color: #e5e5e5;
}
.cp_fullscreenmenu .menu > div > ul > li > a:hover:after {
	width: 100%;
}
.cp_fullscreenmenu .menu > div > ul > li > a:after {
	position: absolute;
	z-index: 1;
	bottom: -0.15em;
	right: 0;
	width: 0;
	height: 2px;
	content: '';
	transition: width 0.4s ease;
	background: #e5e5e5;
}
/*クリックしたらメニューが開閉の動作*/
.cp_fullscreenmenu .toggle {
	position: absolute;
	z-index: 2;
	bottom: 0;
	right: 0;
	width: 50px;
	height: 50px;
	cursor: pointer;
	opacity: 0;
}
.cp_fullscreenmenu .toggle:checked + .hamburger > span {
	-webkit-transform: rotate(135deg);
	        transform: rotate(135deg);
}
.cp_fullscreenmenu .toggle:checked + .hamburger > span:before,
.cp_fullscreenmenu .toggle:checked + .hamburger > span:after {
	top: 0;
	-webkit-transform: rotate(90deg);
	        transform: rotate(90deg);
}
.cp_fullscreenmenu .toggle:checked + .hamburger > span:after {
	opacity: 0;
}
.cp_fullscreenmenu .toggle:checked ~ .menu {
	visibility: visible;
	pointer-events: auto;
}
.cp_fullscreenmenu .toggle:checked ~ .menu > div {
	transition-duration: 0.75s;
	-webkit-transform: scale(1);
	        transform: scale(1);
}
.cp_fullscreenmenu .toggle:checked ~ .menu > div > ul {
	opacity: 1;
}
.cp_fullscreenmenu .toggle:checked ~ .menu > div > ul li:nth-of-type(1) {
	transition-delay: 0.30s;
}
.cp_fullscreenmenu .toggle:checked ~ .menu > div > ul li:nth-of-type(2) {
	transition-delay: 0.35s;
}
.cp_fullscreenmenu .toggle:checked ~ .menu > div > ul li:nth-of-type(3) {
	transition-delay: 0.4s;
}
.cp_fullscreenmenu .toggle:checked ~ .menu > div > ul li:nth-of-type(4) {
	transition-delay: 0.45s;
}
.cp_fullscreenmenu .toggle:checked ~ .menu > div > ul li:nth-of-type(5) {
	transition-delay: 0.5s;
}
.cp_fullscreenmenu .toggle:checked ~ .menu > div > ul li:nth-of-type(6) {
	transition-delay: 0.55s;
}
.cp_fullscreenmenu .toggle:hover + .hamburger {
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}
.cp_fullscreenmenu .toggle:checked:hover + .hamburger > span {
	-webkit-transform: rotate(225deg);
	        transform: rotate(225deg);
}
/*ハンバーガー*/
.cp_fullscreenmenu .hamburger {
	position: fixed;
	z-index: 1;
	bottom: 0;
	right: 0;
	display: block;
	width: 35px;
	height: 45px;
	padding: 0.5em 1em;
	cursor: pointer;
	transition: box-shadow 0.4s ease;
	border-radius: 0 0.12em 0.12em 0;
	background: rgba(0,151,167 ,0.8);

	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
}
.cp_fullscreenmenu .hamburger > span {
	position: relative;
	top: 50%;
	display: block;
	width: 100%;
	height: 2px;
	transition: all 0.4s ease;
	background: #fefefe;
}
.cp_fullscreenmenu .hamburger > span:before,
.cp_fullscreenmenu .hamburger > span:after {
	position: absolute;
	z-index: 1;
	top: -10px;
	right: 0;
	display: block;
	width: 100%;
	height: 2px;
	content: '';
	transition: all 0.4s ease;
	background: inherit;
}
.cp_fullscreenmenu .hamburger > span:after {
	top: 10px;
}




/* メインコンテンツ表示 */
#template-single {
	order: 1;
	max-width: 656px;
	padding-bottom: 2.5rem;
	flex-grow: 1;
}
#template-single-mvideo {
	order: 1;
	max-width: 930px;
	padding-bottom: 2.5rem;
	flex-grow: 1;
}

#template-page-asb {
	order: 1;
	max-width: 656px;
	padding-bottom: 2.5rem;
	flex-grow: 1;
}
#template-page {
	order: 1;
	max-width: 930px;
	padding-bottom: 2.5rem;
	flex-grow: 1;
}

/*基本アイキャッチ画像は非表示*/
#template-page-asb figure.wp-block-post-featured-image {
	display: none;
}
#template-page figure.wp-block-post-featured-image {
	display: none;
}


#template-page-asb .entry-header p {
	padding: 0.2rem 0.6rem 0.8rem 0.6rem;
}
#template-page-asb .entry-content p {
	padding: 0.2rem 0.6rem 0.8rem 0.6rem;
}
#template-page .entry-header p {
	padding: 0.2rem 0.6rem 0.8rem 0.6rem;
}
#template-page .entry-content p {
	padding: 0.2rem 0.6rem 0.8rem 0.6rem;
}

#template-single .entry-header p {
	padding: 0.2rem 0.6rem 0.8rem 0.6rem;
}
#template-single .entry-content p {
	padding: 0.2rem 0.6rem 0.8rem 0.6rem;
}

.entry-header h1 {
	margin: 3rem 0 3rem 0;
	padding: 0;
	text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF,
		    -1px 1px 0 #FFF, 1px -1px 0 #FFF,
		     0px 1px 0 #FFF,  0-1px 0 #FFF,
		    -1px 0 0 #FFF, 1px 0 0 #FFF;
}
.entry-header h2 {
	margin: 3rem 0 3rem 0.8rem;
	padding: 0;
	text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF,
		    -1px 1px 0 #FFF, 1px -1px 0 #FFF,
		     0px 1px 0 #FFF,  0-1px 0 #FFF,
		    -1px 0 0 #FFF, 1px 0 0 #FFF;
}
.entry-content h2 {
	border-left: solid 0.3rem #ff8c00;
	background-color: #efeeec;
	margin: 0;
	padding: 0.8rem 0.5rem 0.8rem 0.5rem;
}

/*引用テキストのブロック*/
.wp-block-quote {
	position: relative;
	padding: 5px 10px 5px 3rem;
	margin-left: 1rem;
	margin-bottom: 1rem;
	/*box-sizing: border-box;*/
	font-style: italic;
	background: rgba(212,246,255,0.3);
}
.wp-block-quote:before{
	display: inline-block;
	position: absolute;
	top: 10px;
	left: -15px;
	width: 40px;
	height: 30px;
	text-align: center;
	content: "\f10d";
	font-family: FontAwesome;
	color: #FFF;
	font-size: 18px;
	line-height: 30px;
	background-color: #92d4ff;
	font-weight: 900;
}
.wp-block-quote:after{
	position: absolute;
	content: '';
	top: 40px;
	left: -15px;
	border: none;
	border-bottom: solid 8px transparent;
	border-right: solid 15px #6eb3e0;
}
.wp-block-quote p {
	position: relative;
	padding: 0 !important;
	margin: 10px 0;
	z-index: 3;
	line-height: 1.7;
}
.wp-block-quote cite {
	display: block;
	text-align: left;
	color: #888888;
	font-size: 0.9em;
}







/* 地域包括カテゴリー名の色分け */
.category-hatutomihc .wp-block-post-terms a, a.hatutomihc {
	color: #333;
	/*background-color: #EACAE0;
	padding: 0.1rem 0.5rem;
	border-radius: 0.7rem;*/
}
.category-seibuhc .wp-block-post-terms a, a.seibuhc {
	color: #333;
	/*background-color: #8EC553;
	padding: 0.1rem 0.5rem;
	border-radius: 0.7rem;*/
}
.category-nanbuhc .wp-block-post-terms a, a.nanbuhc {
	color: #333;
	/*background-color: #99BCDD;
	padding: 0.1rem 0.5rem;
	border-radius: 0.7rem;*/
}
.category-nanbuhc2 .wp-block-post-terms a, a.nanbuhc2 {
	color: #333;
	/*background-color: #99BCDD;
	padding: 0.1rem 0.5rem;
	border-radius: 0.7rem;*/
}

/*アーカイブページにカテゴリーの説明文表示*/
.category-descriptions {
	border: dotted 2px #8CBBD2;
	border-radius: 10px;
	background: rgba(212,246,255,0.3);
	padding: 0.5rem;
	margin: 1rem 1rem 1rem 1rem;
}
.category-descriptions p {
	margin: 0;
	padding: 0;
	line-height: 1.5rem;
	font-size: 0.9rem;
}
.category-descriptions p abbr {
	margin-left: 4rem;
	padding: 0 0.5rem;
	border: solid 1px #ae5c09;
	background-color: #FFF;
	border-radius: 0.7rem;
}

/* 記事クエリー日付表示 class="jiten" */
/*----------
.jiten {
	display: inline-block;
	color: #484848;
	line-height: 1em;
	padding: 0.1rem 0.3rem;
	margin: 0.3rem 0;
	font-size: 0.75rem;
}
.jiten::before {
	font-family: "Font Awesome 5 Free";
	content: "\f073";
	font-weight: bold;
	padding-right: 0.2rem;
}
.jiten::after {
	content:"時点";
}
----------*/
/* 記事クエリー日付表示 class="jiten2" */
.jiten2 {
	display: inline-block;
	color: #484848;
	line-height: 1em;
	padding: 0.1rem 0.3rem;
	margin: 0.3rem 0;
}
.jiten2::before {
	/*font-family: "Font Awesome 5 Free";
	content: "\f073";
	font-weight: bold;
	padding-right: 0.2rem;*/
}
.jiten2::after {
	content:"時点";
}

/* 投稿記事内のカテゴリー名表示右寄せ */
.entry-footer p {
	text-align: right;
	padding: 0;
}

/* 非表示要素 */
.phidden {
	display: none !important;
}


/*検索フォームのデザイン*/
.searchfield {
	width: 100%;
	margin-top: 0.5rem;
	position: relative;
}
.searchtext {
	width: 99%;
  font-size: 1rem;
	line-height: 2.0rem;
	padding-left: 1%;
  border: solid 1px #bbb;
  border-radius: 4px;
  background-color: #efefef;
}
.searchbutton {
  font-family: FontAwesome;
  font-size: 1.2em;
  position: absolute;
	top: 0.4rem;
	right: 0.6rem;
  cursor: pointer;
  color: #6297f5;
  border: none;
  background: transparent;
}

/* 共通のリストスタイル */
.entry-content ul {
	list-style-type: none;
	padding: 0 0 0.8rem 0;
}
.entry-content ul li {
	position: relative;
	padding: 0;
}
.entry-content ul li:before {
	position: absolute;
	top: 0;
	left:0;
}
.entry-content ol {
	list-style-type: decimal;
	list-style-position: inside;
	padding: 0 0.6rem 0.8rem 0.6rem;
}
/* 投稿記事のリスト */
#template-single .entry-content ul {
	padding: 0 0.6rem 0 0.6rem;
}
#template-single .entry-content ul li {
	padding-left: 1.2rem;
}
#template-single .entry-content ul li::before {
  font-family: "Font Awesome 5 Free";
  content: '\f138';
  font-weight: 900;
  color: #ff8c00;
}
/* 固定ページのリスト */
#template-page-asb .entry-content .wp-block-group__inner-container ul {
	padding: 0 0.6rem 0 0.6rem;
}
#template-page-asb .entry-content .wp-block-group__inner-container ul li {
	padding-left: 1.2rem;
}
#template-page-asb .entry-content .wp-block-group__inner-container ul li::before {
  font-family: "Font Awesome 5 Free";
  content: '\f138';
  font-weight: 900;
  color: #ff8c00;
}
#template-page .entry-content .wp-block-group__inner-container ul {
	padding: 0 0.6rem 0 0.6rem;
}
#template-page .entry-content .wp-block-group__inner-container ul li {
	padding-left: 1.2rem;
}
#template-page .entry-content .wp-block-group__inner-container ul li::before {
  font-family: "Font Awesome 5 Free";
  content: '\f138';
  font-weight: 900;
  color: #ff8c00;
}
/* 固定ページ内の投稿本文クエリを使ったリスト */
#template-page .entry-content .wp-block-post-content ul {
	padding: 0 0.6rem 0 0.6rem;
}
#template-page .entry-content .wp-block-post-content ul li {
	padding-left: 1.2rem;
}
#template-page .entry-content .wp-block-post-content ul li::before {
  font-family: "Font Awesome 5 Free";
  content: '\f138';
  font-weight: 900;
  color: #ff8c00;
}
/* 固定ページ内で投稿一覧クエリを使ったリスト */
#template-page-asb .entry-content div.wp-block-group__inner-container .wp-block-query ul {
	padding: 0 0.6rem 0 0.6rem;
}
#template-page-asb .entry-content div.wp-block-group__inner-container .wp-block-query ul li {
	padding-left: 1.2rem;
}
#template-page-asb .entry-content div.wp-block-group__inner-container .wp-block-query ul li::before {
  font-family: "Font Awesome 5 Free";
  content: '\f138';
  font-weight: 900;
  color: #ff8c00;
}
#template-page-asb .entry-content div.wp-block-group__inner-container .wp-block-query ul li p {
  padding: 0 0 0.8rem 0;
}

#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul {
	padding: 0 0.6rem 0 0.6rem;
}
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul li {
	padding-left: 1.2rem;
}
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul li::before {
  font-family: "Font Awesome 5 Free";
  content: '\f138';
  font-weight: 900;
  color: #ff8c00;
}
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul li p {
  padding: 0 0 0.8rem 0;
}

/* アーカイブと検索結果ページでの一覧表示用リスト */
.wp-block-archive ul {
	padding: 0 0.6rem 0 0.6rem;
}
.wp-block-archive ul li {
	padding-left: 1.2rem;
	padding-top: 0.3rem;
}
.wp-block-archive ul li::before {
	padding-top: 0.3rem;
  font-family: "Font Awesome 5 Free";
  content: '\f138';
  font-weight: 900;
  color: #ff8c00;
}
.wp-block-archive p {
	font-size: 0.9rem;
	line-height: 1.4;
	margin-bottom: 0.5rem;
}



/*医療機関情報の設定の共通表示部分*/
.entry-content .t-cont-hd {
	padding-top: 1rem;
	padding-bottom: 0;
	margin-bottom: 0;
}
.entry-content .t-cont-ds {
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}
.entry-content #t-cont-hd {
	border: solid 1px #484848;
	border-top: none;
	margin: 0 0.6rem 0 0.6rem;
}
.entry-content #t-cont-hd iframe {
	padding-bottom: 1px;
	padding-right: 1px;
}
/*医療機関情報の設定（投稿記事内）表で表示部分*/
#template-single .entry-content #t-oya ul {
	list-style-type: none;
	padding: 0;
}
#template-single .entry-content #t-oya ul li {
	padding: 0;
}
#template-single .entry-content #t-oya ul li:before {
	content: "";
}
#template-single .entry-content #t-oya ul li .t-cont-hd {
	display: none;
}
#template-single .entry-content #t-oya ul li #t-cont-hd {
	display: none;
}
/*医療機関情報の設定（投稿記事内）詳細情報部分*/
#template-single .entry-content #t-cont-hd .taxonomy-post_tag a:before {
	margin-left: 0.6rem;
	padding-right: 0.3rem;
	font-family: "Font Awesome 5 Free";
	content: "\f02c";
	font-weight: 900;
	color: #9acd32;
}
/*医療機関情報の設定（投稿記事内）詳細情報部分のリスト入れ子*/
#template-single .entry-content #t-cont-hd ul li ul {
	padding-bottom: 0;
}
#template-single .entry-content #t-cont-hd ul li ul li {
	padding-left: 1rem;
}
#template-single .entry-content #t-cont-hd ul li ul li:before {
	left: 0;
	font-family: "Font Awesome 5 Free";
	content: "\f054";
	font-weight: 900;
}

/*固定ページの記事一覧 日付とタグのデザイン*/
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul .wp-block-post-date {
	color: #333;
	font-size: 0.8rem;
}
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul .wp-block-post-date time::after {
	content: "時点";
}
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul .taxonomy-post_tag {
	color: #333;
	font-size: 0.8rem;
}
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul .taxonomy-post_tag a {
	color: #333;
}


/*固定ページのクエリー内3カラム表示用*/
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul.columns-3 {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
/*各グリッドの装飾*/
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul.columns-3 li {
	background-color: #eeffff;
	padding: 0;
	/*max-width: 315px;*/
	/*max-height: 13.5rem;*/
}
/*リストマーカーを非表示*/
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul.columns-3 li::before {
	content: "";
}
/*概要を非表示にする*/
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul.columns-3 p.wp-block-post-excerpt__excerpt {
	display: none;
}
/*アイキャッチ画像を表示*/
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul.columns-3 li figure {
	display: block;
}
/*アイキャッチ画像の余白削除*/
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul.columns-3 li figure {
	border: solid 1px lightsteelblue;
	padding: 0;
	margin: 0;
	}
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul.columns-3 li h3 {
	padding: 0.3rem;
	font-weight: bold;
	line-height: 1.2rem;
	background-color: #cbffff;
}
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul.columns-3 li h3 a {
	color: #333333;
	height: 2.4rem;
	display: block;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul.columns-3 li div.wp-block-post-excerpt {
	padding: 0;
}



/* 動画配信「固定ページ」のクエリループ用クラス.entry-content-video */
/*#template-page-asb .entry-content .entry-content-video .wp-block-group__inner-container .wp-block-query ul li {
	padding-bottom: 1rem;
	padding-left: 0rem;
}
#template-page-asb .entry-content .entry-content-video .wp-block-group__inner-container .wp-block-query ul li::before {
  content: "";
}
#template-page-asb .entry-content .entry-content-video .wp-block-post-featured-image {
	padding: 0;
}
#template-page .entry-content .entry-content-video .wp-block-group__inner-container .wp-block-query ul li {
	padding-bottom: 1rem;
	padding-left: 0rem;
}
#template-page .entry-content .entry-content-video .wp-block-group__inner-container .wp-block-query ul li::before {
  content: "";
}
#template-page .entry-content .entry-content-video .wp-block-post-featured-image {
	padding: 0;
}

.entry-content .entry-content-video ul li h3.wp-block-post-title {
	position: relative;
	padding-left: 1.5rem;
	line-height: 1.4;
}
.entry-content .entry-content-video ul li h3.wp-block-post-title:before {
	position: absolute;
	top: 0;
  left: 0;
	font-family: apple color emoji,segoe ui emoji,noto color emoji,android emoji,emojisymbols,emojione mozilla,twemoji mozilla,segoe ui symbol;
	content: '\1f3a6';
}
.entry-content .entry-content-video .wp-block-group__inner-container figure {
	width: 300px;
	height: 169px;
}
.entry-content .entry-content-video .wp-block-group__inner-container figure img {
	width: 300px;
	height: 169px;
}
.entry-content .entry-content-video p.wp-block-post-excerpt__excerpt {
	font-size: 0.9rem;
	color: #696969;
	line-height: 1.4;
}
.entry-content .entry-content-video .is-layout-flex {
	padding-bottom: 0;
}
.entry-content .entry-content-video .is-layout-constrained {
	padding-bottom: 0;
}
.entry-content .entry-content-video .wp-block-group__inner-container {
}
.entry-content .entry-content-video .wp-block-post-featured-image {
	margin-bottom: 0;
}*/

/*外部リンクの装飾*/
#template-page .entry-content a i.wpel-icon::after {
	content: "（外部のウェブサイトへ）";
	font-weight: normal;
}
#template-page-asb .entry-content a i.wpel-icon::after {
	content: "（外部のウェブサイトへ）";
	font-weight: normal;
}
#template-single .entry-content a i.wpel-icon::after {
	content: "（外部のウェブサイトへ）";
	font-weight: normal;
}

/*研修会用の申し込みボタン*/
#toggle_green {
	display: none;
}
.toggle-in {
	display: none;
}
.toggle-out1 {
	margin-left: 0.3rem;
}
.toggle-out2 {
	display: none;
}
#toggle_green:checked ~ .toggle-in {
	display: block;
}
#toggle_green:checked ~ .toggle-out1 {
	display: none;
}
#toggle_green:checked ~ .toggle-out2 {
	display: block;
	margin-left: 0.3rem;
}
p.btn {
	border-radius: 0.5rem;
	display: inline-block;
	padding: 0.3rem 1rem!important;
	cursor: pointer;
}
p.btn a {
	display: block;
}
label {
	cursor: pointer;
}
p.btn--orange {
  color: #fff;
  background-color: #eb6100;
  border-bottom: 5px solid #b84c00;
	padding-bottom: 0;
}
p.btn--orange:hover {
  margin-top: 3px;
  color: #fff;
  background: #f56500;
  border-bottom: 2px solid #b84c00;
}
p.btn--orange a {
	color: #fff;
}
p.btn--green {
  color: #fff;
  background-color: #009944;
  border-bottom: 5px solid #00662d;
	padding: 0;
}
p.btn--green:hover {
  margin-top: 3px;
  color: #fff;
  background: #00a349;
  border-bottom: 2px solid #00662d;
}
p.btn--shadow {
  -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
}

/*先頭に固定記事の飾り枠*/
div.wp-block-query ul.singlekotei {
  color: #5d627b;
	background-color: white;
	border-top: solid 5px #5d627b;
	box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
div.wp-block-query ul.singlekotei li {
  margin-top: 1rem!important;
	margin-bottom: 2rem;
	margin-left: 0.5rem;
	margin-right: 0.5rem;
}


div.wp-embed-featured-image img {
	display: none;
}















/*###### 959px以下に適用されるCSS（タブレット用）######*/
@media screen and (max-width: 959px) {
	.header_top p {
		line-height: 1.2rem;
		font-size: 0.8rem;
		color: #FFFFFF;
	}
	div#footer_main {
		background-repeat: no-repeat;
		background-position: top right 42%;
	}
	.footer_top {
		font-size: 0.8rem;
  }
	.footer_bottom {
		font-size: 0.7rem;
  }
	/* サイドバーを非表示にしてメインを最大幅 */
	#sidebar {
		display: none;
	}
	#template-single {
		max-width: 930px;
	}
	#template-page-asb {
		max-width: 930px;
	}
	#template-page {
		max-width: 930px;
	}
	/*動画配信「記事」の左サイドを下へ回り込み*/
	#template-single-mvideo .entry-content .is-layout-flex .yarpp-template-yarpp-template-mvideothum {
	max-width: 100%;
	}
	#template-single-mvideo .entry-content .is-layout-flex .wp-block-group {
		width: 100vw;
	}
	#template-single-mvideo .entry-content .is-layout-flex {
		flex-wrap: wrap;
	}
	#template-single-mvideo .entry-content .is-layout-flex .yarpp-template-yarpp-template-mvideothum {
		width: 100vw;
	}
	.mvideothum .pictbx img {
		width: 300px;
		height: 169px;
	}
	.hr-text {
		display: block;
	}

	/* 免責画面のフォント */
	.agy-subtitle {
		display: none !important;
	}
	.agy-modal-content {
		padding: 0 !important;
	}
	.agy-modal-content p {
		font-size: 1rem !important;
	}
	.agy-modal-content button {
		font-size: 1.4rem !important;
	}
	.agy-modal-content div.agy-footer p {
		font-size: 0.7rem !important;
	}

	/*先頭に固定記事の飾り枠*/
	.singlekotei {
		width: 92vw;
		margin-left: auto;
		margin-right: auto
	}
	
}



/*###### 600px以下に適用されるCSS主に関連動画の表示用（スマホ-タブレット間）######*/
@media screen and (max-width: 600px) {
	/*固定ページクエリループ3カラムを2カラムへ変更
  #template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul.columns-3 li {
    width:calc(50% - .625em);
  }
	*/
	/* 免責画面のレイアウト表示位置 */
	.agy-modal-content {
		margin: 0.5rem auto !important;
	}

	/*先頭に固定記事の飾り枠*/
	.singlekotei {
		width: 90vw;
		margin-left: auto;
		margin-right: auto
	}
	
}



/*###### 480px以下に適用されるCSS（スマホ用）######*/
@media screen and (max-width: 480px) {
	/*固定ページクエリループ変更後の2カラムをさらに1カラムへ変更
  #template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul.columns-3 li {
    width:100%;
  }
	#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul.is-flex-container li.has-post-thumbnail {
		max-width: 100vw;
		max-height: auto;
	}
	#template-page .entry-content div.wp-block-group__inner-container .wp-block-query ul.is-flex-container li.has-post-thumbnail img.attachment-post-thumbnail {
		max-width: 100vw;
		max-height: auto;
	}
	*/
	.header_top p {
		line-height: 1.1rem;
		font-size: 0.7rem;
		color: #FFFFFF;
	}
	.header_middle {
		padding: 0.6rem 0 0 0;
	}
	.header_middle img {
		width: 88%;
		height: auto;
	}
	.flex_sb {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	.mvideothum {
		flex-wrap: wrap;
	}
	.mvideothum .pictbx img {
		border-radius: 1rem;
		width: 100vw;
		height: auto;
	}
	#toggle1 {
		display: none;
	}
	.toggle-inner {
		display: block;
	}
	.toggle-outer1 {
		display: none;
	}

	/*	水平メニューの1番目（トップページ）を非表示
	.header_bottom li:nth-of-type(1) {
		display: none;
	}*/
	
	div#footer_main {
		background-repeat: no-repeat;
		background-position: top right 40%;
	}
	.footer_top p {
		font-size: 0.7rem;
		line-height: 0.9rem;
	}
	.footer_top img {
		width: 68%;
		height: auto;
	}
	.footer_bottom p {
		font-size: 0.6rem;
		line-height: 0.8rem;
	}
	/* 免責画面のフォント */
	.agy-subtitle {
		display: none !important;
	}
	.agy-modal-content {
		padding: 0 !important;
	}
	.agy-modal-content p {
		font-size: 1rem !important;
	}
	.agy-modal-content button {
		font-size: 1.4rem !important;
	}
	.agy-modal-content div.agy-footer p {
		font-size: 0.7rem !important;
	}
	.agy-modal-content {
		margin: 0.5rem auto !important;
	}
	
	/*コンタクトフォーム7を縦積み*/
	.wpcf7 table td, table th {
		display: block;
		width: 100%;
	}
	.wpcf7 th {
		width: 100%;
		border: none;
		border-top: solid 1px #ccc;
		padding-top: 0.3rem;
		padding-bottom: 0.3rem;
	}
	.wpcf7 td {
		width: 100%;
		border: none;
		padding-top: 0.3rem;
		padding-bottom: 1.5rem;
	}

	/*先頭に固定記事の飾り枠*/
	.singlekotei {
		width: 84vw;
		margin-left: auto;
		margin-right: auto
	}
	
}
