@charset "utf-8";


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

	サイト設定

============================== */
body, html {
	font-size: 18px;
}

body{
	color: #2D2021;
	font-family: 'Noto Sans JP', sans-serif;
	/*font-family: 'Noto Serif JP', serif;*/
}

a,
a img {
	transition: all 0.2s ease 0s;
	color: #2D2021;
	text-decoration: none;
}

p:not(:last-child) {
	margin-bottom: 20px;
}


@media only screen and (max-width: 821px){
	body, html {
		font-size: 16px;
	}
}



/* タイトル */
h2 {
	color: #2D2021;
	position: relative;
	margin-bottom: 0;
}

h2 + p {
	margin-bottom: 40px;
}

h3 {
	margin-bottom: 20px;
	font-size: 1.6rem;
}


/* クエリループ */
.wp-block-query h2 {
	font-size: 1.4rem;
	margin-top: 0;
}


.wp-block-query img {
	object-fit: cover;
	width: 100%;
	aspect-ratio: 5 / 3;
}


/* テーブル */
.wp-block-table table {
	background-color: #fff;
    border-spacing: 5px;
    border-collapse: separate!important;
    width: 100%!important;
}

.wp-block-table table td,
.wp-block-table table th {
	border: none;
	padding: 20px;
}

.wp-block-table table td:nth-of-type(odd) {
	background-color: #dedede;
	font-weight: bold;
	white-space:nowrap
}

.wp-block-table table td:nth-of-type(even) {
	background-color: #fff;
}

@media only screen and (max-width: 821px){
	.wp-block-table table td,
	.wp-block-table table th {
		display: block;
		width: 100%;
	}
}



/* カラー */
.red {
	color: #6E0B0B;
	font-weight: bold;
}

.line_y {
	background: linear-gradient(transparent 60%, #FBED11 0%);
	font-weight: bold;
}


/* ボタン */
.wp-block-button a {
	display: block;
	text-align: center;
	font-weight: bold;
	width: 360px;
	padding: 10px 40px;
	background: none;
	color: #000;
	border-top: 1px solid #6B5E56;
	border-bottom: 1px solid #6B5E56;
}

.wp-block-button a:hover {
	box-shadow: none;
	transform: translateX(5px);
}

.microcopy {
	color: #254F71!important;
	font-weight: bold;;
}

.btn_grp {
	margin-top: 60px;
}


@media only screen and (max-width: 821px){
	.btn_grp {
		margin-top: 30px;
	}
	
	.wp-block-button a {
		width: 100%;
		padding: 10px 40px;
	}
	
}

/* フォーム */
.contact_form th {
	color: #555;
}

.contact_form th .attention {
	background-color: #FF7B7B;
}

.form_radio label input[type="radio"]:checked + span,
.form_radio label input[type="checkbox"]:checked + span {
	background-color: #69b661;
	border: 1px solid #69b661;
	color: #FFF;
}

#contact_form .submit-btn .return {
	/*box-shadow: 0px 10px 0px #555;*/
}

.contact_form input[type="submit"] {
	background-color: #69b661;
	color: #FFF;
	/*box-shadow: 0px 10px 0px #555;*/
}


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

	共通ブロック

============================== */
/* wrap */
.wrap {
	padding-top: 0;
}

/* headder */
header {
	position: sticky;
	top: 0;
	background-color: #fff;
	box-shadow: 0px 5px 10px 0 rgba(155, 155, 155, 0.1);
}

header .inner {
	align-items: flex-start;
}

header .header_R {
	text-align: center;
}

header .header_tel-no {
	font-weight: bold;
	font-size: 2rem;
}

header .g-nav {
	background: none;
}

header .g-nav ul a {
	color: #010101;
}

header .g-nav a:hover {
	background-color: #FFF;
	color: #254f71;
}

.header_logo img {
	width: 100%;
}

@media only screen and (max-width: 821px){
	.header_logo img {
		max-width: 70%;
	}
}

.g-nav ul a {
	font-size: 1rem;
}

.g-nav ul li {
	border-right: 1px solid #010101;
}

.g-nav ul li:first-child {
	border-left: 1px solid #010101;
}


/* g-nav */
@media only screen and (max-width: 821px) {
	header .header_R {
		display: none;
	}

	header .g-nav ul a {
		color: #FFF;
	}
	
	#g-nav_wrapper nav,
	.btn-gnavi {
		background-color: #254F71;
	}

	.fix_nav li {
		background-color: rgba(255,128,0,0.9);
	}

	.fix_nav li a:hover {
		opacity: 1;
	}
}

/* g-navが2段の時はコメントアウト */
@media only screen and (min-width: 1281px){
	.header_inner {
		margin: 0 auto;
		width: 1100px;
		display: flex;
		justify-content: space-between;
		align-items: center
	}

	.header_inner .w1100 {
		width: 100%;
	}
}

@media only screen and (max-width: 1280px){
	.header_inner {
		margin: 0 auto;
		width: 96%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.header_inner .w1100 {
		width: 100%;
	}
}
/* g-navが2段の時はコメントアウト */


/* footer */
footer {
	margin-top: 40px;
	padding: 0;
}

footer .wp-block-columns {
	margin-bottom: 0;
}

footer p {
}

footer div div div p {
	margin: 0px auto;
}

.footer_info {
	justify-content: center
}

footer .footer_info_logo {
	width: 20%;	
}

.footer_info_txt {
	flex-basis: auto!important;
	text-align: left;
}

.footer_info_txt h2 {
	color: #FFF;
	font-size: 2rem;
	margin-bottom: 10px;
}

footer .footer_btn {
	align-items: flex-end!important;
}

footer .footer_waku{
	border: 2px solid #FFF;
	line-height: 35px;
	padding: 20px 40px;
}

#top footer h2:before {
	display: none;
}

footer .wp-block-button {
	width: auto;
}

@media only screen and (max-width: 821px){
	footer {
		padding-bottom: 30px;
	}

	footer .wp-block-image img {
		width: 60%;
	}

	#site-footer .footer_info .footer_info_logo {
		width: 50%;
		flex-basis: auto!important;
		flex-grow: inherit;
	}
}


.footer_link {
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
}

.footer_link a {
	color: #FFF;
}

/* bottom_link */
.bottom_link {
	padding: 100px 0!important;
}

.bottom_link h2 {
	text-align: center;
}

.bottom_link .w960{
	margin-bottom: 0;
}

.bottom_link_txt {
	padding: 60px 0;
	background-size: cover;
	padding: 60px;
	overflow: hidden;
	position: relative;
	z-index: 0;
	background: rgba(255,255,255,0.5);
}

#top .bottom_link h2::before {
	display: none;
}

@media only screen and (max-width: 821px){
	.bottom_link_txt {
		padding: 30px;
	}
}




/* fix_nav */
@media only screen and (max-width: 821px) {
	.fix_nav li {
		background-color: rgba(255,128,0,0.9);
	}

	.fix_nav li a:hover {
		opacity: 1;
	}
}

@media only screen and (min-width: 822px){
	.fix_nav a {
		background-color: #6B5E56;
		font-size: 1.0rem;
		font-weight: bold;
		border-radius: 10px 0 0 10px;
	}
}




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

	下層ページ共通

============================== */
/* low */
.page-template-page-low .low_mv {
	margin-bottom: 100px;
}



/* other_mv */
.other_mv {
	background: url('../img/mv_bg.jpg') no-repeat center /cover ;
	color: #fff;
	height: 320px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 60px;
}

.other_mv h1 {
	display: table;
	font-size: 2rem;
}

@media only screen and (max-width: 821px){
	.other_mv {
		height: auto;
		padding: 40px 0;
	}
	
	.other_mv h1 {
		display: table;
		font-size: 2rem;
	}
}









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

	wp調整

============================== */
/* top */
.is-layout-flow .wp-block-group {
	padding: 0!important;
}

.wp-block-image.size-full {
	margin-bottom: 100px;
}


.top_intro {
	margin-top: 60px;
}

@media only screen and (min-width: 821px){
	.top_intro_R {
		margin-left: -500px;
	}
}

@media only screen and (max-width: 821px){
	iframe {
		width: 100%;
	}
}





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

	お客様一覧

============================== */
/* search-form */
.search-form {
	text-align: right;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	justify-content: flex-end
}

.search-form h2 {
	font-size: 1rem;
	margin-right: 10px;
}

.search-form form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end
}

.search-form input {
	border: none;	
	background-color: #eee;
	border-radius: 30px 0px 0px 30px;
	padding: 10px 20px;
	font-size: 1rem;
	line-height: 30px;
}

.search-form button[type=submit] {
	border: none;	
	border-radius: 0px 30px 30px 0px;
	padding: 10px 20px;
	background-color: #000;
	color: #FFF;
	height: 100%;
	display: inline-block;
	font-size: 1rem;
	line-height: 30px;
}

/* customer-list */
.customer-list {
	
}

.customer-list li {
}

.customer-list li:nth-of-type(odd) {
	background-color: #eee;
}

.customer-list li:nth-of-type(even) {
	background-color: #ddd;
}

.customer-list li a {
	display: block;
	padding: 20px;	
}

.customer-list li a h3 {
	margin-right: 10px;
	font-size:1.2rem;
	display: inline-block;
	margin-bottom: 0;
	font-weight: normal;
}

.customer-list li a h3 span {
	font-size: 1rem;
	margin-left: 10px;
}


								




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

	電子カルテ
	.record_box

============================== */
/* 基本情報 */
.record_box {
	margin-top: 60px;
}

.record_box:last-child {
	margin-bottom: 60px;
}

.record_info {
	margin-top: 40px;
}

.record_tbl  {
	width: 100%;
	margin-bottom: 20px;
}

.record_tbl th,
.record_tbl td {
	padding: 5px 10px;
}

.record_tbl th {
	background: #ccc;
	font-weight: bold;
}

.record_tbl td {
	background: #eee;	
}

.record_tbl tr:nth-of-type(even) {
	border-bottom: 1px solid #FFF ;
}

.record_tbl th:not(:last-child),
.record_tbl td:not(:last-child) {
	border-right: 1px dotted #FFF ;
}



/* 電子カルテ */
.canvas_wrap {
	position: relative;
	height: 1386px;
}

canvas {
	position: absolute;
	left: 0;
	top: 0;
}

div#img-box{
  border:3px solid #000;
  width:500px;
}

div#btn-box{
	position: fixed;
	bottom :0px;
}





    #imageContainer,
	#uploadContainer {
		width: 90%;
		margin: 0 auto;
		margin-top: 60px;
		padding-top: 60px;
		border-top: 2px dotted #999;
    }

	.image-wrapper {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	#imageContainer img,
	#uploadContainer img {
        width: 50%; /* 4カラムのために少し幅を狭める */
        margin-bottom: 10px;
        cursor: pointer; /* クリック可能であることを示す */
    }

	.image-wrapper_info {
		width: 50%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap:5px;
	}

	.image-wrapper_info span {
		font-weight: bold;
		font-size: 1.6rem;
	}

	.image-wrapper_info button {
		border: none;
		border-radius: 10px;
		font-weight: bold;
		font-size: 0.8rem;
		padding: 10px;
		color: #fff;
	}

	.image-wrapper_info button.deleteImage {
		background: #F00;
	}

	.image-wrapper_info button.restoreImage {
		background: #3cabd5;
	}



	.modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.6);
    }
    .modal-content {
		position: fixed;
		left: 50%;
		top: 50%;
		transform: translateX(-50%) translateY(-50%);
        background-color: #fefefe;
        padding: 20px;
        width: 90%;
    }
    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
    }
    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

	#canvassample {
        margin-top: 100px;
    }




.tool_color button {
	border-radius:100px;
	border:none;
	width:20px;
	height:20px;
}

.tool_fixbtn {
	position: fixed;
	right: 0;
	top:50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap:5px;
}

.tool_fixbtn button {
	width:80px;
	height:80px;
	background: #ccc;
	border:none;
	font-weight: bold;
	font-size: 1.0rem;
	color: #000;
}

.tool_fixbtn button:first-child {
	border-radius:10px 0 0 0;
}

.tool_fixbtn button:last-child {
	border-radius:0 0 0 10px;
}




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

	端末ごとの調整

============================== */
/* iPad 縦 */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait) { 
}

