@charset "utf-8";

/* CSS Document */

@import 'https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900';
/*
font-family: 'Roboto', sans-serif;
*/



/*****全体*****/

body {
    height: 100%;
    min-height: 100%;
    width: min(100%, 100vw);
    font-size: 1.0em;
    font-weight: 500;
    line-height: 1.6em;
    font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    letter-spacing: 0.05em;
    overflow-x: hidden;
}
.container{
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100vw - 17px);
    height: auto;
    padding: 0;
    margin: 0 auto;
}

/* header */
.header{
    top: 0;
    left: 0;
    position: fixed;
    height: 100px;
    width: max(100%, 100vw);
    background-color: rgb(255,255,255,0.8);
    z-index: 100;
}
.logospace{
    position: relative;
    top: 10px;
    left: 10px;
    width: min(20%, 20vw);
    height: auto;
}
.logospace img{
    width: 200px;
    height: auto;
}


/* video */

.pvvideo {
    position: relative;
}
.video-box {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}
.video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* overlay */

.overlay::after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background: rgba(0, 0, 0, 0.2);
}

/* text */

.text-box {
  position: absolute;
  top: 90vh;
  left: 50%;
  width: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
h1 {
  font-size: 2.0em;
  font-weight: bold;
  line-height: 2.0em;
  padding: 0 50px;
  text-align: center;
  color: #fff;
}
h1 span{
    font-size: 0.6em;
    font-weight: 400;
    line-height: 1.0em;
}

/* menu */

.cp_navi06 {
  color: #171616;
  display: block;
  overflow: hidden;
  margin: 0 auto;
  position: fixed;
  top: 50px;
  right: 10px;
  width: auto;
  max-width: 98vw;
  line-height: 0;
  height: auto;
  z-index: 200;
  font-size: 0.8em;
}
.cp_navi06 ul {
  display: flex;
  margin: 0;
  padding: 0;
}
.cp_navi06 ul li {
  list-style-type: none;
  transition: all 0.3s;
}
.cp_navi06 ul li a.caret {
  display: flex;
  align-items: center;
}
.cp_navi06 ul li a.caret::after {
  content: '';
  background: #aaaaaa;
  width: 10px;
  height: 5px;
  margin-left: 5px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transition: color 0.1s linear;
}
.cp_navi06 ul li a {
  color: #4d4b4b;
  display: block;
  line-height: 56px;
  padding: 0 10px;
  text-decoration: none;
}
.cp_navi06 ul li:hover {
  background-color: rgb(37, 2, 120);
}
.cp_navi06 ul li:hover a {
  color: #ffffff;
}
.cp_navi06 ul li:hover a.caret::after {
  background: #ffffff;
}
/*下層に隠れたメニューの動き*/
.cp_navi06 ul li ul {
  background-color: rgb(37, 2, 120);
  border-top: 0;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055);
  display: none;
  margin: 0;
  opacity: 0;
  position: fixed;
  width: auto;
  max-width: 350px;
  visibility: hidden;
  transition: all 0.3s;
}
.cp_navi06 ul li:hover ul {
  display: block;
  opacity: 1;
  visibility: visible;
}
.cp_navi06 ul li ul li {
  border-radius: 0 0 4px 4px;
}
.cp_navi06 ul li ul li a {
  color: #ffffff;
}
.cp_navi06 ul li ul li:hover a {
  background-color: rgba( 255, 255, 255, 0.1);
}


/*****メイン部分*****/

.h1_title01{
  font-weight: bold;
  padding: 0.5em 1em;
  background-color: #4c9ac0;
  color: #fff;
  overflow: hidden;
  position: relative;
}
.h1_title01::after {
  content: '';
  background-color: #fff;
  opacity: 0.3;
  transform: rotate(-65deg);
  position: absolute;
  bottom: -250px;
  right: -250px;
  width: 300px;
  height: 500px;
}
.top_title{
	text-align: left;
	padding: 100px 0 20px 0;
	margin: 0 auto;
}
.top_title h2{
  text-align: center;
  margin: 0 auto;
  color: #191970;
  font-size: 2.0em;
  font-weight: 800;
  line-height: 1.2em;
  border-bottom: solid 3px #cce4ff;
  position: relative;
  width: auto;
  max-width: 960px;
}
.top_title h2 .cap{
  font-size: 0.6em;
  font-weight: 300;
}
.top_title h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #5472cd;
  bottom: -3px;
  width: 20%;
}
.top_title_w{
	text-align: left;
	padding: 50px 0 20px 0;
	margin: 0 auto;
}
.top_title_w h2{
  text-align: center;
  margin: 0 auto;
  color: #fff;
  font-size: 2.0em;
  font-weight: 800;
  line-height: 1.2em;
  border-bottom: solid 3px #cce4ff;
  position: relative;
  width: auto;
  max-width: 960px;
}
.top_title_w h2 .cap{
  font-size: 0.6em;
  font-weight: 300;
}
.top_title_w h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #5472cd;
  bottom: -3px;
  width: 20%;
}
.top_title_50{
	text-align: left;
	padding: 50px 0 20px 0;
	margin: 0 auto;
}
.top_title_50 h2{
  text-align: center;
  margin: 0 auto;
  color: #191970;
  font-size: 2.0em;
  font-weight: 800;
  line-height: 1.2em;
  border-bottom: solid 3px #cce4ff;
  position: relative;
  width: auto;
  max-width: 960px;
}
.top_title_50 h2 .cap{
  font-size: 0.6em;
  font-weight: 300;
}
.top_title_50 h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #5472cd;
  bottom: -3px;
  width: 20%;
}
.c_menu{
  width: min(960px, 100%);
  border: none;
  margin: 0 auto;
}
.c_menu h3{
    font-size: 1.8em;
    font-weight: 600;
    line-height: 1.8em;
}
.c_menu span{
    font-size: 1.2em;
    line-height: 1.8em;
}
.c_menu img{
    width: 100%;
    height: auto;
    margin-top: 50px;
}
.c_menu ul{
  display: flex;
  gap: 2%;
  margin: 0 auto;
}
.c_menu ul li{
  width: 33%;
  gap: 2%;
  position: relative;
}
.c_menu ul li img{
  width: 100%;
  height: auto;
}
.c_menu ul li p{
  text-align: center;
  font-size: 1.4em;
  font-weight: 500;
  margin-top: 12px;
  position: absolute;/*絶対配置*/
  color: #191970;/*文字は白に*/
  bottom: 12;
  left: 0;
  right: 0;
}
.steps {
    list-style:none;
    counter-reset: my-counter;
}
.steps > li {
    margin:2em 0 0 4.5em;
    position:relative;
    display:block;
}
.steps > li:before {
  content: counter(my-counter);
  counter-increment: my-counter;
  color:#fff;
  text-align:center;
  width:1em;
  height:1em;
  margin:0 0 0 -4.5em; 
  padding:1em;
  background:#333;
  border-radius:50%;
  position:absolute;
  display:block;
  float:left;
}
.steps > li > h4 {
    margin:0;
    font-size: 1.6em;
	border: none;
}
.steps > li > p {
    margin: 10px 0;
    font-size: 1.0em;
    color: #666;
}


/*****新着情報*****/

.newtopic{
    width: min(960px, 100vw);
    margin: 0 auto;
    height: auto;
}
.news{
    width: min(960px, 100vw);
    margin: 0 auto;
    font-weight: 600;
}
.tab-3 {
    display: flex;
    flex-wrap: wrap;
    max-width: 960px;
    font-size: 0.8em;
}
.tab-3 > label {
    flex: 1 1;
    order: -1;
    min-width: 100px;
    padding: .7em 1em .5em;
    background-color: #f2f2f2;
    color: #404040;
    font-weight: 600;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
}
.tab-3 > label:hover {
    opacity: .8;
}
.tab-3 input {
    display: none;
}
.tab-3 > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #fff;
}
.tab-3 label:has(:checked) {
    border-bottom: 4px solid #2589d0;
    color: #2589d0;
}
.tab-3 label:has(:checked) + div {
    display: block;
}
.news{
	text-align: left;
	padding: 0 0 50px 0;
	margin: 0 auto;
}
.news_whole{
	display: flex;
	border-bottom: 1.5px solid #e0e0e0;
	font-weight: 300;
	align-items: center;
}
.news_ymd{
	width: 15%;
	border: none;
	margin: 12px 4px 12px 4px;
	text-align: left;
	font-weight: 500;
}
.news_cat{
	width: 20%;
	border: none;
	margin: 12px 4px 12px 4px;
	color: #fff;
	text-align: left;
}
.news_cat .squ{
	background-color: #191970;
	border-radius: 3px;
	font-size: 0.9em;
	padding: 6px 12px;
}
.news_cat span{
	color: #fff;
	font-weight: 400;
	text-decoration: none;
	background-color: rgb(5, 5, 52);
	border-radius: 4px;
	padding: 4px 12px;;
}
.news_title{
	width: 65%;
	border: none;
	margin: 12px 4px 12px 4px;
	text-align: left;
}
.news_title a{
	font-weight: 600;
	font-size: 1.2em;
	color: #333;
	text-decoration: none;	
}
.news_b{
	margin: 20px auto 0 auto;
}
.news_b a{
	text-decoration: none;
}
.post-categories li a{
	color: #fff;
	font-weight: 400;
	text-decoration: none;
	background-color: rgb(5, 5, 52);
	border-radius: 4px;
	padding: 4px 12px;
}
.button-51 {
    display: flex;
    justify-content: center;
    position: relative;
    min-width: 500px;
    margin: 0 auto;
    padding: .9em 2em;
    border: none;
    border-bottom: 2px solid #e6edf3;
    background-color: transparent;
    color: #333;
    font-weight: 600;
    font-size: 1em;
	background-color: #e0e0e0;
}
.button-51::after {
    position: absolute;
    bottom: -3px;
    left: 0;
    transform: scaleX(0);
    transform-origin: center left;
    width: 100%;
    height: 2px;
    background-color: #2589d0;
    content: '';
    transition: transform .3s ease;
}
.button-51:hover::after {
    transform: scaleX(1);
}


/*****topコンテンツメニュー*****/

.contents{
    width: 100vw;
    margin: 0 auto;
    background-color: rgb(5, 5, 52);
    padding: 0 0 50px 0;
}


/*****Smart Slider*****/
.smartslider{
	width: 100vw;
    margin: 0 auto;
    background-color: rgb(5, 5, 52);
    padding: 0;
}


/*****ABOUTUS*****/
.aboutus{
    width: 100vw;
    margin: 0 auto;
}
.aboutus45550{
    display: flex;
}
.aboutus45{
    width: 45%;
    border: none;
    padding-top: 50px;
}
.aboutus45 span{
    font-size: 1.2em;
}
.aboutus5{
    width: 5%;
    border: none;
}
.aboutus50{
    width: 50%;
    border: none;
}


/**********/
.links{
    width: 100vw;
    margin: 0 auto;
}
.link_tasha{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.link_tasha img{
    width: auto;
    max-height: 50px;
}


/*****デジタルカタログページ*****/

.card-list {
  display: grid;
  grid-template-columns: 1fr 1fr; /* PCでは2列 */
  gap: 20px;
  margin: 0 auto;
}
.card-list a{
	text-decoration: none;
}
.card-list a span{
	text-decoration: none;
	color: #666;
}

.card {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
	margin-top: 20px;
	
}
.card img{
    width: 100%;
}
.card02 {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  font-weight: 400;
	margin-top: 50px;
}
.card02 img{
    width: 100%;
}
.card02 span{
	font-weight: 600;
	color: #4682b4;
}

/* スマホ（960px以下）では1列にする */
@media (max-width: 960px) {
  .card-list {
    grid-template-columns: 1fr;
  }
}



/*****footer*****/

.c_tab{
    width: 960px;
    margin: 0 auto;
    text-align: center;
}
.c_tab00{
    display: flex;
    justify-content: center;
}
.c_tab01{
    width: 40%;
}
.c_tab01 img{
    width: min(250px, 15vw);
    height: auto;
}
.c_tab02{
    width: 60%;
    text-align: left;
}
.hr_design {
    width: min(100%, 100vw);
    margin: 100px 0 30px 0;
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0));
}
footer{
	margin: 50px auto 0 auto;
	text-align: center;
	width: min(100vw, 100%);
}
.foot02{
    background-color: rgb(5, 5, 52);
}
.foot_logo{
    display: block;
}
.footer_right{
    margin: 0 auto;
    font-size: .7em;
    color: #fff;
    padding: 5px;
}
.foot_cat{
  width: min(960px, 100%);
  display: flex;
  border: none;
  margin: 50px auto;
}
.foot_cat .category{
  width: 23%;
  margin: 0 1%;
  text-align: left;
}
.foot_cat .category ul{
  display: block;
  margin: 10px 0 24px 0;
}
.foot_cat .category ul li{
  font-size: .8em;
  line-height: 1.6em;
}
.cat_title{
  font-size: 1.0em;
  color: #191970;
  font-weight: 700;
}
.category ul li a{
	color: #333;
	font-weight: 500;
	text-decoration: none;
}
.second{
  margin: 0 0 0 10px;
}
.second ol{
  margin: unset;
  display: block;
  list-style-type: square;
  font-size: unset;
}
.second ol li{
    list-style: none;
  padding-left: 10px;
  margin: 0;
}
.second_cat{
  font-size: 1.0em;
}



/*****SP用エリア*****/

.sp_menu_shade{
  display: none;
}
.sp_menu{
  display: none;
}
.sp_toiawase{
  display: none;
}



/*****ぱんくず*****/

.pan_area{
	margin: 100px auto 0 auto;
	width: min(100%, 100vw);
	line-height: 2.0em;
	padding: 2px 0;
	background-color: rgb(5, 5, 52);
	position: sticky;
	display: flex;
	align-items: center;
	z-index: 10;
}
.pan{
	width: min(960px, 100vw);
	margin: 0 auto;
	font-size: 0.8em;
	color: #fff;
}
.breadcrumbs .home{
	color: #fff;
	text-decoration: none;
}
.breadcrumbs .post{
	color: #fff;
	text-decoration: none;
}
.breadcrumbs span{
	color: #fff;
	text-decoration: none;
}
.breadcrumbs a{
	color: #fff;
	text-decoration: none;
}

/*****固定ページ*****/

.main_title01{
	width: min(960px, 100vw);
	margin: 50px auto 0 auto;
}
.main_day{
	width: min(960px, 100vw);
	margin: 20px auto;
}
.main_title02{
	width: min(960px, 100vw);
	margin: 50px auto 0 auto;
}
.main_title02 h2{
  text-align: center;
  margin: 50px auto 0 auto;
  color: #191970;
  font-size: 2.0em;
  font-weight: 800;
  line-height: 1.2em;
  border-bottom: solid 3px #cce4ff;
  position: relative;
  width: auto;
  max-width: 960px;
}
.main_title02 h2 .cap{
  font-size: 0.6em;
  font-weight: 300;
}
.main_title02 h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #5472cd;
  bottom: -3px;
  width: 20%;
}
.main_title02 h3{
	margin: 1.4em 0 0.8em 0;
	font-size: 1.6em;
	line-height: 2.0em;
}
.main_title02 h5{
	margin: 1.4em 0 0 0;
	font-size: 1.6em;
	line-height: 2.0em;
}
.main_title02 p{
	margin: 20px 0;
	font-size: 1.1em;
	line-height: 1.8em;
}
.main_title02 ol{
	margin: 20px 0 20px 30px;
	font-size: 1.2em;
	line-height: 2.0em;
	list-style-type: decimal;
}
.main_title02 h4{
	display: inline-block;
	border: 1px solid #666;
	padding: 6px 20px;
	font-size: 1.2em;
	font-weight: 500;
}
.main_title03{
	width: min(100%, 100vw);
	margin: 0 auto;
	height: 50px;
	background-color: aqua;
	z-index: -10;
}
.main_title04{
	width: min(960px, 100vw);
	margin: 50px auto 0 auto;
}
.wp-block-table{
	margin: 30px 0 0 0;
	width: min(100%, 960px);
	height: 100%;
}
.wp-block-table td{
	padding: 4px;
	border: 1px solid #666;
	font-size: 1.2em;
	line-height: 2.0em;
}
.wp-block-flexible-table-block-table{
	margin-top: 40px;
}
.wp-block-image img{
	margin-top: 0px;
}
.gmap{
	border:0;
	width: 960px;
	height: 500px;
}



.wp-block-buttons{
	margin-top: 20px;
}

.wp-block-media-text__media img{
	border: 1px solid #666;
}
.wp-block-media-text__content h5{
	margin: 0;
	font-size: 1.4em;
	line-height: 1.8em;
}
.wp-block-media-text__content h6{
	margin: 1.2em 0 0 0;
	font-size: 1.4em;
	line-height: 1.8em;
}
.wp-block-media-text__content p{
	margin: 0;
	font-size: 1.0em;
	line-height: 1.6em;	
}

.wp-block-video video{
	margin-top: 30px;
}
.wp-block-media-text p{
	line-height: 1.8em;
	margin: 0;
}
.wp-block-media-text h3{
	margin-top: 0;
}

/*****会社沿革*****/

.timeline{
	margin-top: 50px;
}
.timeline > li {
  overflow: hidden;
  margin: 0;
  position: relative;
}
.timeline-date {
  width: 110px;
  float: left;
  margin-top: 10px;
}
.timeline-content {
  width: 75%;
  float: left;
  border-left: 3px #e5e5d1 solid;
  padding-left: 30px;
}
.timeline-content:before {
  content: "";
  width: 12px;
  height: 12px;
  background: #6fc173;
  position: absolute;
  left: 106px;
  top: 34px;
  border-radius: 100%;
}
.timeline-content h3{
	font-size: 1.2em;
	font-weight: 400;
	margin-top: 14px;
}


/*****メディア横並び*****/

.wp-block-media-text__media img{
	margin-top: 0;
}
.conference-schedule{
	margin-top: 50px;
}
.conference-schedule .news_whole{
	font-size: 0.8em;
}



/*****リスト　マークアップ*****/

.wp-block-list{
	margin-top: 0;
}
.wp-block-list li{
	font-size: 1.0em;
	line-height: 2.0em;
	list-style-type: square;
	margin-left: 20px;
}



/*****メールフォーム用CSS*****/

table.c_estimate{
	width: min(100%, 100vw);
	margin: 0 auto;
	border: 3px solid #e5e5e5;
}
table.c_estimate tr{
	border-top: 1px solid #e5e5e5;
}

.single .entry-content table.c_estimate,
.page .entry-content table.c_estimate{
	display:table;
}

/*入力欄*/
.c_estimate input, .c_estimate textarea {
	border: 1px solid #d8d8d8;
}

.c_estimate ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.reqreq{
	font-size:.8em;
	padding: 5px;
	background: #f79034;/*オレンジ*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.unreq{
	font-size:.8em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}
.wpcf7-form-control-wrap .wpcf7-text{
	font-size: 1.0em;
	line-height: 2.0em;
	margin-left: 20px;
}
.wpcf7-form-control-wrap .wpcf7-textarea{
	font-size: 1.0em;
	line-height: 2.0em;
	margin-left: 20px;
	width: 90%; !important;
}

/*フォーム内の注意書きp*/
.caution{
	margin: 4px 0 10px 20px;
	font-size: 0.8em;
	line-height: 1.4em;
	color: #ff4500;
}

/*商品選択に写真を加える*/
/* 1. 各選択肢を独立した行にする */
.product-selection .wpcf7-list-item {
    display: block;
    margin-bottom: 25px; /* 商品ごとの上下の間隔 */
}

/* 2. チェックボックスとラベル全体を横に並べる */
.product-selection .wpcf7-list-item-label {
    display: flex !important;
    flex-direction: row;    /* 横並び */
    align-items: center;    /* 縦中央揃え */
    cursor: pointer;
}

/* 3. チェックボックス自体の調整 */
.product-selection input[type="checkbox"] {
    margin-right: 15px;    /* 右側のテキストとの距離 */
    flex-shrink: 0;        /* チェックボックスが潰れないように固定 */
}

/* 4. 商品名と画像を横に並べる（1行にしたい場合） */
.product-selection .wpcf7-list-item-label {
    /* ラベルの中身が「名前＋画像」のセットとして横に並ぶように調整 */
    gap: 20px;             /* 名前と画像の間のスペース */
}

/* 5. 画像のサイズ制限 */
.product-selection img {
    width: 200px;
    height: auto;
    border: 1px solid #eee;
    display: inline-block;
    vertical-align: middle;
}




/* タイトル列 */
@media screen and (min-width: 960px){
	.c_estimate th{
	width:30%;/*横幅*/
	background-color:#ebedf5;/*ブルーグレー*/
	text-align: left;
	padding-left: 10px;
	vertical-align: middle;
	}
}

/* レスポンシブ */
@media screen and (max-width: 960px){
	table.c_estimate{
	width:95%;
	}
	.c_estimate tr, .c_estimate td, .c_estimate th{
	display: block;
	width: 95%;
	line-height:2.5em;
	}
	.c_estimate th{
	background-color:#ebedf5;
	width: 100%;
	text-align: left;
	padding-left: 10px;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#f79034;/* オレンジ*/
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
	padding: 4px 20px;
}

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

.wpcf7-spinner{
	width:0;
	margin:0;
}


/*****会員システム用CSS*****/

#display_member_custom_bar{
	margin: 0 auto;
	width: min(960px, 100vw);
	height: 50px;
	display: flex;
	justify-content: left;
	align-items: center;
}
.user-toolbar{
	display: flex;
	width: 100%;
}
.toolbar01{
	margin-right: 20px;
}
.toolbar02{
	margin-right: 20px;
}
.toolbar03{
	margin-right: 1px;
}


/*****会員システム　会員登録フォーム*****/
#wpmem_reg{
	width: 100%;
}
.req{
	background-color: #fff;
}


/*****「医療従事者向けゲート（確認ページ）」*****/

#medical-gate{
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.8);
	z-index:99999999;
	display:flex;
	align-items:center;
	justify-content:center;
}
.modalw{
	background:#fff;
	padding:30px;
	max-width:500px;
	text-align:center;
	border-radius:8px;
	font-size: 1.0em;
}
.modalw h3{
	font-size: 1.4em;
	line-height: 2.2em;
}
.modalw p{
	font-size: 0.9em;
	line-height: 1.6em;
}
#gate-yes{
	padding:10px 30px;
	margin:10px;
	cursor:pointer;
	background:#0073aa;
	color:#fff;
	order:none;
	border-radius:4px;
}
#gate-no{
	padding:10px 30px;
	margin:10px;
	cursor:pointer;
	background:#ccc;
	border:none;
	border-radius:4px;
}


/*****サイト内検索*****/

.searchbox{
	position: fixed;
	z-index: 99999;
	right: 270px;
	top: 12px;
}
.searchbox_sp{
	display: none;
}
#searchform{
 position:relative;
}
#s-box{
 height: 30px;
 padding: 0 10px;
 position: absolute;
 left: 0;
 top: 0;
 border-radius:2px;
 border:solid 3px #eaeaea;
 outline: 0;
	width: 233px;
	opacity: 0.8;
}
#s-btn-area{
 height: 40px;
 position: absolute;
 left:250px;
 background:none;
 color:#666;
 border:none;
 font-size: 1.2em;
 outline: 0;
}
#s-btn{
 background-color: black;
 width: 50px;
 height: 30px;
 position: relative;
 right: 50px;
 bottom: 2px;
 border-radius: 3px;
 font-size: 16px;
 color: #fff;
 line-height: 31px;
}


/*****検索結果　search.php*****/

/* 抜粋エリア全体 */
.custom-excerpt {
    margin-bottom: 15px;
}

/* 抜粋内のpタグにスタイルを付ける */
.custom-excerpt p {
    font-size: 0.8em;
    color: #666;
    line-height: 1.4em;
    margin: 0 0 50px 0; /* 下の余白を調整 */
}


/* ページネーションのレイアウト */
.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}
.pagination .nav-links {
    display: flex;
    gap: 10px;
}
.pagination .page-numbers {
    padding: 8px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}
/* 現在のページ */
.pagination .page-numbers.current {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}


/*****ニュースティッカー*****/

.newsticker{
	position: fixed;
	z-index: 99999;
	right: 370px;
	top: 12px;
}
.newsticker_sp{
	display: none;
}




/*****ボタンデザイン*****/
.button_space{
	margin: 20px 0;
}


/*****商品デザイン*****/

.products_whole{
	margin: 0 0 50px 0;
	width: 100%;
}
.products_pict_name{
	width: 100%;
	display: flex;
}
.products_pict{
	width: 50px;
	height: 50px;
}
.products_name{
	width: calc(100% - 50px);
	height: 50px;
	background-color: #87cefa;
	font-size: clamp(0.7em, 1.2em, 1.4em);
	padding-left: 10px;
	display: flex;
	justify-content: left;
	align-items: center;
}
.products_imgzone{
	width: 100%;
	display: flex;
	background-color: #d8e4ed;
}
.products_img{
	margin: 10px;
}
.products_explanationzone{
	width: 100%;
	display: flex;
	background-color: #d8e4ed;
	line-height: 1.6em;
}
.products_explanation{
	margin: 10px;
	padding: 10px;
	border-radius: 6px;
	background-color: #fff;
	width: 100%;
	font-size: 0.8em;
	line-height: 1.8em;
}
.products_markzone{
	width: 100%;
	display: flex;
	background-color: #d8e4ed;
	line-height: 1.6em;
}
.products_mark{
	margin: 0 10px;
	padding: 10px;
	width: 100%;
	text-align: center;
}
.products_infozone{
	width: 100%;
	height: auto;
	display: flex;
	background-color: #d8e4ed;
}
.products_info{
	margin: 0;
	padding: 0 10px;
	width: 100%;
	text-align: left;
	font-size: 0.8em;
	line-height: 1.2em;
}
.brstyle{
	display: inline;
	white-space: normal;
}
.products_item01{
	font-size: 0.8em;
	color: #fff;
	background-color: #6495ed;
	border-radius: 4px;
	padding: 4px 12px;
	margin-right: 6px;
	white-space: nowrap; 
}
.products_item02{
	font-size: 0.8em;
	color: #fff;
	background-color: #6495ed;
	border-radius: 4px;
	padding: 4px 12px;
	margin: 0 6px 0 20px;
	white-space: nowrap; 
}
.products_item03{
  background: #6c5ce7;
  color: white;
  border: none;
  padding: 6px 24px;
  font-size: 0.8em;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
  transition: all 0.3s ease;
}

.image_link{
 display:block; 
 position:relative;
 text-decoration:none;
}
.image_link img{
  display:block;
  width:100%;
}
.image_link:before{
  content:"";
  display:block;
  width:100%;
  height:100%;
  position:absolute;
  z-index:2;
  background:#000;/*好みの色に変えてください。*/
  opacity:0;
  transition:0.3s;
}
.image_link:after{
  content:"READ MORE";/*好みの文章に変更してください。*/
  display:block;
  color:#fff;
  line-height:48px;
  width:180px;
  border:solid 1px #fff;
  border-radius:5px;
  text-align:center;
  position:absolute;
  top:50%;
  left:50%;
  margin-top:-1em;
  margin-left:-90px;
  opacity:0;
  z-index:3;
  transition:0.3s;
  font-weight:bold;
  letter-spacing:0.2em;
}
.image_link:hover:before{
  opacity:0.5;
}
.image_link:hover:after{
  opacity:1;
  margin-top:-0.5em;
}


/*****タイルレイアウト*****/

/* ベースのコンテナ設定 */
.tile-menu .tile-container {
  max-width: 960px;
  margin: 50px auto 0 auto;
  padding: 10px;
  display: grid !important;
  gap: 10px; /* 隙間を少し狭めて余裕を持たせる */
  /* デフォルト（スマホ）を2列に固定 */
  grid-template-columns: repeat(2, 1fr) !important;
  box-sizing: border-box;
}

/* 共通のタイルスタイル */
.tile-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background-color: #f4f4f4;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.2s;
  border: 1px solid #ddd;
}

.tile-item:hover {
  background-color: #e0e0e0;
  transform: translateY(-3px);
}

.tile-item2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background-color: #f5f5c4;
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  transition: background-color 0.3s, transform 0.2s;
  border: 1px solid #ddd;
}

.tile-item2:hover {
  background-color: #e0e0b4;
  transform: translateY(-3px);
}

.tile-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.tile-text {
  font-weight: bold;
  font-size: 0.9rem;
}

/* --- レスポンシブ設定 --- */

/* 768px以上：3列 */
@media (min-width: 768px) {
  .tile-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 960px以上：4列（MAX幅） */
@media (min-width: 960px) {
  .tile-container {
    grid-template-columns: repeat(4, 1fr);
    padding: 20px 0;
  }
}


/*****TOPのコンテンツ用のタイルレイアウト*****/

.tile-menu2{
	padding: 0 10px;
	width: min(100% - 20px, 100vw - 20px);
}

/* ベースのコンテナ設定 */
.tile-container2 {
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  display: grid;
  gap: 10px;
  
  /* 【変更】デフォルト（スマホ〜768px未満）を2列に固定 */
  grid-template-columns: repeat(2, 1fr);
}

/* タイル全体の設定（サイズを固定） */
.tile-item2 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  
  /* 正方形を維持し、幅が勝手に広がらないようにする */
  aspect-ratio: 1 / 1;
  width: 100% !important; 
  max-width: 100% !important;
  overflow: hidden; /* 万が一、中身がはみ出しても枠を広げない */
  
  background-color: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px; /* 少し余裕を持たせる */
  box-sizing: border-box;
}

.tile-item2:hover {
  background-color: #e0e0e0;
  transform: translateY(-3px);
}

.tile-icon2 {
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* アイコン画像のサイズ制限（はみ出しの主因） */
.tile-icon2 img {
  max-width: 50px; /* スマホで見やすいサイズに制限 */
  height: auto;
  display: block;
}

/* テキストエリアの調整（ここがポイント） */
.tile-text2 {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-weight: 500;
  
  /* --- 文字数が多い時の対策 --- */
  font-size: clamp(0.6rem, 2.2vw, 0.8rem) !important; /* 画面幅に応じて最小0.6〜最大0.8remまで変動 */
  line-height: 1.2 !important;
  word-break: break-all; /* 単語の途中でも強制的に改行して枠を守る */
  overflow-wrap: break-word; /* 長い英単語なども折り返す */
}

/* 1. タイル内のすべての要素から装飾を剥ぎ取る */
.tile-menu .tile-container a.tile-item2,
.tile-menu .tile-container a.tile-item2 span,
.tile-menu .tile-container a.tile-item2 .tile-text2 {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: none !important; /* 線がborderで引かれている場合への対策 */
  box-shadow: none !important;    /* 線が影（box-shadow）で表現されている場合への対策 */
  color: #333 !important;         /* 文字色を黒/グレー系で固定 */
}

/* 2. マウスを乗せた時（ホバー時）も絶対に出さない */
.tile-menu .tile-container a.tile-item2:hover,
.tile-menu .tile-container a.tile-item2:hover span,
.tile-menu .tile-container a.tile-item2:hover .tile-text2 {
  text-decoration: none !important;
  color: #000 !important; /* ホバー時は少し濃くする程度に */
}

/* 3. 以前クリックしたことがあっても色を変えない */
.tile-menu .tile-container a.tile-item2:visited .tile-text2 {
  color: #333 !important;
}

/* --- レスポンシブ設定 --- */

/* 768px以上：3列 */
@media (min-width: 768px) {
  .tile-menu .tile-container {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* 960px以上：4列（MAX幅） */
@media (min-width: 960px) {
  .tile-menu .tile-container {
    grid-template-columns: repeat(4, 1fr) !important;
    padding: 10px 0;
  }
}


/*****出力目安表　レンジのデザイン*****/

input[type="range"] {
  -webkit-appearance: none; /* 🚩これ無しだとスタイルがほぼ全く反映されないので注意 */
  appearance: none;
  cursor: pointer; /* カーソルを分かりやすく */
  outline: none; /* スライダーのアウトラインは見た目がキツイので消す */
  height: 14px; /* バーの高さ */
  width: 100%; /* バーの幅 */
  background: #8acdff; /* バーの背景色 */
  border-radius: 10px; /* バーの両端の丸み */
  border: solid 3px #dff1ff; /* バー周囲の線 */
}
/* WebKit向けのつまみ */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; /*  🚩デフォルトのつまみのスタイルを解除 */
  background: #53aeff; /* 背景色 */
  width: 24px; /* 幅 */
  height: 24px; /* 高さ */
  border-radius: 50%; /* 円形に */
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15); /* 影 */
}
/* Moz向けのつまみ */
input[type="range"]::-moz-range-thumb {
  background: #53aeff; /* 背景色 */
  width: 24px; /* 幅 */
  height: 24px; /* 高さ */
  border-radius: 50%; /* 円形に */
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15); /* 影 */
  border: none; /* デフォルトの線を消す */
}
/* Firefoxで点線が周りに表示されてしまう問題の解消 */
input[type="range"]::-moz-focus-outer {
  border: 0;
}
/* つまみをドラッグしているときのスタイル */
input[type="range"]:active::-webkit-slider-thumb {
  box-shadow: 0px 5px 10px -2px rgba(0, 0, 0, 0.3);
}


/* 電極・出力値枠のデザイン */
.electrode_all{
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 50px;
}
.electrode_table{
	width: 94%;
	padding: 12px;
	border: 1px solid #666;
	border-radius: 12px;
	display: block;
}
.electrode_table_01{
	width: 100%;
}
.electrode_table_01 h3{
	margin-top: 0;
}
.electrode_table_02{
	width: 100%;
	text-align: center;
}
.electrode_table_02 img{
	width: 90%;
	height: auto;
}
.electrode_table_03{
	width: 100%;
	font-size: 0.8em;
}
.electrode_table_04{
	width: 100%;
}
.electrode_table_05{
	width: 100%;
	font-size: 0.8em;
}



/* rangeのデザイン */
.range_whole{
	width: 100%;
	display: flex;
}
.range_mode_space{
	width: 30%;
	justify-content: center;
	align-items: center;
}
.range_mode{
	width: 90%;
	height: 90%;
	background-color: #ffff00;
	border-radius: 20px;
	font-size: 1.2em;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	text-align: center;
}
.range_mode2{
	width: 90%;
	height: 90%;
	background-color: #0000cd;
	border-radius: 20px;
	color: #fff;
	font-size: 1.2em;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	text-align: center;
}
.range_mode3{
	width: 90%;
	height: 90%;
	background-color: #CC66FF;
	border-radius: 20px;
	color: #fff;
	font-size: 1.2em;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	text-align: center;
}
.range_range_space{
	width: 70%;
}
.range_range_bar{
	width: 100%;
	display: block;
}
.range_range_bar01{
	display:flex;
	width: 100%;
}
.range_range_bar01 input{
	width: 100%;"
}
.range_range_bar02{
	display:flex;
	width: 100%;
}
.range_value_left{
	width: 30%;
	text-align: left;
}
.range_value_left span{
	color: #4169e1;
	font-size: 0.8em;
}
.range_value_center{
	width: 40%;
	text-align: center;
}
.range_value_center span{
	color: #4169e1;
	font-size: 0.8em;
}
.range_value_right{
	width: 30%;
	text-align: right;
}
.range_value_right span{
	color: #4169e1;
	font-size: 0.8em;
}



/*****PDF埋め込み*****/

/* ファイルブロック全体のスタイル調整 */
.wp-block-file {
    display: flex;
    flex-direction: column;
    align-items: center; /* 中央寄せ */
    gap: 15px;
    margin-bottom: 2em;
}

/* ファイル名リンクのスタイル（不要なら削除してください） */
.wp-block-file a:not(.wp-block-file__button) {
    font-size: 0.9em;
    color: #666;
	background-color: #e6e6fa;
	padding: 0 20px;
    text-decoration: none;
}

/* ダウンロードボタンのカスタマイズ（修正版） */
.wp-block-file .wp-block-file__button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    /* 背景をグラデーションに変更（!importantで強制上書き） */
    background-image: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%) !important;
    background-color: transparent !important; /* 単色背景を無効化 */
    
    color: #ffffff !important;
    padding: 14px 32px !important;
    border-radius: 50px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(110, 142, 251, 0.3) !important;
    border: none !important;
}

/* アイコン（特殊文字）の調整 */
.wp-block-file .wp-block-file__button::before {
    content: "\2913" !important;
    margin-right: 10px;
    font-size: 1.2em;
    line-height: 1;
}

/* ホバー時の挙動 */
.wp-block-file .wp-block-file__button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(110, 142, 251, 0.4) !important;
    filter: brightness(1.1); /* 少し明るくする */
}



/*****添付文書ページのデザイン*****/

/* ベースのデザイン（PC/共通） */
.insert_whole {
    max-width: 100%;
    background-color: #F0F8FF;
    padding: 20px;
    border-radius: 12px;
    margin-top: 50px;
    box-sizing: border-box; /* パディングを含めた幅計算 */
}

.insert_1 {
    width: 100%;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.insert_1 span {
    color: #1E90FF;
    font-weight: bold;
}

/* テーブルヘッダー（PC用） */
.insert_2 {
    display: flex;
    background-color: #1E90FF;
    color: #fff;
    margin: 12px 0 0 0;
}

/* データ行（PC用） */
.insert_3 {
    display: flex;
    background-color: #fff; /* 背景を白にして視認性アップ */
}

/* 各セルの基本設定 */
.insert_2 > div, .insert_3 > div {
    border: 1px solid #ccc; /* 枠線を少し薄く */
    padding: 12px 10px;
    box-sizing: border-box;
}

/* PC用の幅指定 */
.insert_2_1, .insert_3_1 { width: 15%; text-align: center; }
.insert_2_2 { width: 35%; text-align: center; }
.insert_3_2 { width: 35%; }
.insert_2_3 { width: 50%; text-align: center; }
.insert_3_3 { width: 50%; }

.insert_3_3 span {
    color: #1E90FF;
    margin-right: 12px;
    font-weight: bold;
}

/* --- レスポンシブ対応 (スマホ用) --- */
@media screen and (max-width: 640px) {
    /* ヘッダー行を非表示にする（項目名が各セルに入るため） */
    .insert_2 {
        display: none;
    }

    .insert_3 {
        display: block; /* 縦に並べる */
        border: 1px solid #666;
        border-radius: 8px;
        overflow: hidden;
    }

    .insert_3_1, .insert_3_2, .insert_3_3 {
        width: 100% !important; /* 全幅にする */
        text-align: left;
        border: none;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
        padding: 15px;
    }

    /* スマホ時に「何の情報か」を疑似要素で追加 */
    .insert_3_1::before { content: "リンク："; font-weight: bold; width: 80px; flex-shrink: 0; }
    .insert_3_2::before { content: "販売名："; font-weight: bold; width: 80px; flex-shrink: 0; }
.insert_3_3 {
        display: block !important;
        border-bottom: none;
        padding: 12px 15px; /* 上下のパディングを少し詰めました */
        line-height: 1.4;    /* 行間を少しタイトに設定（標準は1.6前後） */
    }

    .insert_3_3::before {
        content: "商品：";
        display: block;
        font-weight: bold;
        margin-bottom: 4px; /* ラベル下の隙間を半分に */
        color: #333;
        font-size: 0.9rem;
    }

    .insert_3_3 span {
        display: inline-block;
        margin-top: 4px;    /* ペア間の余白を 8px -> 4px に短縮 */
        color: #1E90FF;
        font-weight: bold;
    }

    .insert_3_3 span::before {
        content: "\A";
        white-space: pre;
    }

    .insert_3_3 span:first-of-type {
        margin-top: 0;
    }
}
}



/* Ultimate Member プロフィール画面の診療科目を横並びにする */
.um-field-department .um-field-area {
    display: flex;
    flex-wrap: wrap; /* 画面幅に合わせて折り返す */
    gap: 10px 20px; /* 縦と横の隙間を調整 */
    padding: 10px 0;
}

/* 各チェックボックス項目の幅調整 */
.um-field-department .um-field-area .um-field-checkbox {
    flex: 0 1 calc(33.333% - 20px); /* 基本は3列（1/3） */
    margin: 0 !important;
    min-width: 120px;
}

/* スマホなど画面が狭いときは2列にする */
@media screen and (max-width: 600px) {
    .um-field-department .um-field-area .um-field-checkbox {
        flex: 0 1 calc(50% - 10px); /* 2列 */
    }
}

/* チェックボックス横のテキストを少し整える */
.um-field-department .um-field-checkbox-option {
    margin-left: 5px;
    font-size: 14px;
}




  /*===========================
   HTML枠
  ============================*/


.box_17 {
	position: relative;
	background: #eaf5f9;
	}
.box_17_ttl {
	position: relative;
	display: inline-block;
	padding: 0.5em 2em;
	background: #27acd9;
	color: #fff;
	font-weight: bold;
	top: 20px;
	left: -10px;
	}
.box_17_ttl::before {
	position: absolute;
	content: '';
	top: 100%;
	left: 0;
	border: none;
	border-bottom: solid 10px transparent;
	border-right: solid 10px rgb(149, 158, 155);
	}
.box_17_txt {
	margin: 0;
	padding: 1em 1.5em 1.5em;
	}


/* アコーディオンの調整 */

.wp-block-accordion-heading__toggle-title{
	font-size: 0.8em;
}

.wp-block-accordion{
	margin: 10px 0;
}

.wp-block-accordion-panel{
	font-size: 1.0em;
	color: blue;
}