@charset "UTF-8";
/*
Theme Name: 社会医療法人 弘仁会　大島病院
Theme URL: https://www.oshima.or.jp/
*/

/* カスタマイズする場合にはこれより下に追記してください  */

a.anchor{
    display: block;
    padding-top: 100px;
    margin-top: -100px;
}

/**スライダーイメージ**/
.swiper-slide img {
  height: auto;
  width: 100%;
}
@media (min-width: 1200px) {
	.swiper{position:relative;}}

/*TOPイメージお知らせ*/
.news-info_wrapper {
  background-color: fw.$white;
  box-shadow: 0px 3px 6px fw.$shadow-black;
  border-radius: 10px;
}
.news-info_wrapper.--front {
  margin-top: 50px;
  @include fw.mq("sp") {
    margin-top: 30px;
  }
}

.top_tab {
	margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 500px;
	width: 90%;
	z-index: 800;
	border: 1px solid #83add6;
	
}
@media (max-width: 1200px) {.top_tab {margin-top: 40px;}}
@media (min-width: 1200px) {.top_tab {position:absolute;top: 180px;
		right:20px;}}

.top_tab > label {
    flex: 1 1;
    order: -1;
    position: relative;
    min-width: 70px;
    padding: .7em 1em;
    background-color: #ffffff;
    color: #999;
    font-weight: 600;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
	
}

.top_tab > label:hover,
.top_tab label:has(:checked) {
    background-color: #83add6;
    color: #fff;
}

.top_tab label:has(:checked)::before {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 9px;
    background-color: #83add6;
    content: '';
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.top_tab input {
    display: none;
}

.top_tab > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
	border: 1px solid #83add6;
	background-color: #fff;
}

.top_tab label:has(:checked) + div {
    display: block;
}

.top_tab_time{color:#83add6; margin: 0 auto; text-align: center;}
@media (min-width: 1200px) {.top_tab_time{font-size:1.2em;}.top_tab_time span{font-size:1.2em;}}
@media (max-width: 1200px) {.top_tab_time{font-size:1.1em;}.top_tab_time span{font-size:1.2em;}}

.top_tab ul {
    list-style-type: none;
}
.top_tab li{
    padding-left: 1em;
    text-indent: -1em;
  }
.top_tab_tel{color:#db5b87; margin: 0 auto; text-align: center;}
.top_tab_tel a{color:#db5b87;}
@media (min-width: 1200px) {.top_tab_tel{font-size:2.0em;}}
@media (max-width: 1200px) {.top_tab_tel{font-size:1.8em;}}

.top_tab_box {
    padding: 0.5em;
    margin: 1em 0;
    color: #fff;
    background: #db5b87;/*背景色*/
	text-align: center;
}
.top_tab_box p {
    margin: 0;
	padding: 0;
}

@media (min-width: 1200px) {.top_tab_box{font-size:1.1em;}}
@media (max-width: 1200px) {.top_tab_box{font-size:1.1em;}}
@media (min-width: 1200px) {
	#content{margin:0 auto; width:100%; margin-top: 130px;max-width:1200px;}}
@media (max-width: 1200px) {
	#content{margin:0 auto; width:100%; margin-top:0px;}}

/*TOP　icon*/

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px; margin-bottom: 60px;
}
.column {
  width: calc(33.3333% - 20px); text-align: center;
}
@media (max-width:960px) {
  .column {
    width: calc(33.3333% - 16px);
  }
}
@media (max-width:580px) {
  .column {
    width: calc(50% - 12px);
  }
}
.column img{width: 100%;}

/*先輩の声*/

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* スマホ：2列（隙間分を引いて計算） */
.item {
  width: calc((100% - 16px) / 2);
}

/* PC：4列 */
@media (min-width: 768px) {
  .item {
    width: calc((100% - (16px * 3)) / 4);
  }
}

.top_voice{ background-color: #ebeff4;width: 100%; padding: 20px;}
.top_voice_green {
  box-shadow: 2px 2px 4px gray;background: #d4e9cc;margin: 0 auto;}
.top_voice_green p{text-align: left;padding: 20px;text-align: left;}
.top_voice_green soan{margin: 0 auto; text-align: center;}
.top_voice_green img{width: 80%;margin-left: 10%;}

.top_voice_blue {
  box-shadow: 2px 2px 4px gray;background: #d7edf1;margin: 0 auto;}
.top_voice_blue p{text-align: left;padding: 20px;text-align: left;}
.top_voice_bluen soan{margin: 0 auto; text-align: center;}
.top_voice_blue img{width: 80%;margin-left: 10%;}

.top_voice_yellow {
  box-shadow: 2px 2px 4px gray;background: #fbfad5;margin: 0 auto;}
.top_voice_yellow p{text-align: left;padding: 20px;text-align: left;}
.top_voice_yellow soan{margin: 0 auto; text-align: center;}
.top_voice_yellow img{width: 80%;margin-left: 10%;}


/*タイムスケジュール*/
.flex-schedule {
　line-height:130%;
  min-width: 100%;
  max-width: 100%;
  list-style: none;
  margin: 0 auto;
  box-sizing: border-box;
/*margin-left: 200px;*/
	font-size: 1.0em;font-weight: bold;
}

@media screen and (max-width: 480px) {.flex-schedule {
  min-width: 100%;
	max-width: 100%;margin-left: 0px;}
}

.flex-schedule li {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;

}

.flex-schedule .area {
  padding: 10px;
  display: block;
  width: 100%;
  border-left: 6px solid #db5b87;
}

.flex-schedule li .time {
  display: inline-flex;
  justify-content: flex-end;
  flex-basis: 5em;
  max-width: 5em;
  margin-right: 1em;
  margin-top: 30px;
}

.flex-schedule .sch_box {
  position: relative;
  min-height: 1em;
  padding: 1em;
  background: #db5b87;
  border-radius: 6px;
}

.flex-schedule .sch_box::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 20px;
  background: #db5b87;
  width: 20px;
  height: 20px;
  border-radius: 10px;
}

.flex-schedule .sch_title {
  font-weight: 700; color: #fff;
}

.flex-schedule .sch_tx {
  font-size: 14px;
  font-weight: normal;
}

/* 004 */
.button004 a {
    background: #fff;
    border-radius: 50px;
    margin: 0 auto;
    max-width: 140px;
    padding: 5px 10px;
    color: #da5b86;
    transition: 0.3s ease-in-out;
    font-weight: 500;
	border: 1px solid #da5b86;
}
.button004 a:hover {
    background: #da5b86;
    color: #FFF;
}

.h2{margin: 0 auto; text-align:left;color: #da5b86; font-size: 1.3me;}


.top_news {
	margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
	width: 90%;
	border: 1px solid #83add6;
	
}
.top_news {margin-top: 40px;}

.top_news > label {
    flex: 1 1;
    order: -1;
    position: relative;
    min-width: 70px;
    padding: .7em 1em;
    background-color: #ffffff;
    color: #999;
    font-weight: 600;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
	
}
@media (max-width:580px) {.top_news > label {font-size: 0.6em;padding: .5em .5em; line-height: 1.0em;}}

.top_news > label:hover,
.top_news label:has(:checked) {
    background-color: #83add6;
    color: #fff;
}

.top_news label:has(:checked)::before {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 9px;
    background-color: #83add6;
    content: '';
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.top_news input {
    display: none;
}

.top_news > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
	border: 1px solid #83add6;
	background-color: #fff;
}

.top_news label:has(:checked) + div {
    display: block;
}

/*footerバナー*/
#footer{margin-top: 80px;bottom: 0;}

*, *:before, *:after {
    box-sizing: border-box;
}
.col_2{
	margin: 0 auto;
    width: 100%; max-width: 1200px;
    display: flex;
    flex-wrap: wrap;margin-bottom: 60px;text-align: center;
}
@media screen and (max-width: 960px) {
	.col_2 img{margin: 0 auto;width: 85%;}}
.col_2 > *{
    width: calc( 50% - 6px ) ;
    margin-right: 12px;
    margin-bottom: 12px;text-align: center;
}
.col_2 > *:nth-child(2n){
    margin-right: auto;
}
.col_2 > * > *{
    height: 120px;
    position: relative;
    overflow: hidden
}
@media screen and (max-width: 960px) {
    .col_2 > *{
        width: 100%;
        margin-right: auto;
    }
}

/*フッターメニューボタン*/
.button001 a {
    background: #FFF;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 280px;
    padding: 10px 25px;
    color: #da5b86;
    transition: 0.3s ease-in-out;
    font-weight: 500;
	border: 1px solid #da5b86;
}
.button001 a:hover {
    background: #da5b86;
    color: #FFF;
}
.button001 a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #da5b86;
    border-right: 3px solid #da5b86;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button001 a:hover:after {
    border-color: #FFF;
}

.button002 a {
    background: #FFF;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 280px;
    padding: 10px 25px;
    color: #dc5c71;
    transition: 0.3s ease-in-out;
    font-weight: 500;
	border: 1px solid #003e8d;
}
.button002 a:hover {
    background: #dc5c71;
    color: #FFF;
}
.button002 a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #dc5c71;
    border-right: 3px solid #dc5c71;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button002 a:hover:after {
    border-color: #FFF;
}

.button003 a {
    background: #FFF;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 280px;
    padding: 10px 25px;
    color: #159c3b;
    transition: 0.3s ease-in-out;
    font-weight: 500;
	border: 1px solid #003e8d;
}
.button003 a:hover {
    background: #159c3b;
    color: #FFF;
}
.button003 a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #159c3b;
    border-right: 3px solid #159c3b;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button003 a:hover:after {
    border-color: #FFF;
}

.footer_inf{margin: 0 auto; margin-top: 40px; background-color: #fbe6e6; /*padding: 15px;*/}

/*PCfooter*/
.f_col_3{
	margin: 0 auto;
    width: 1200px;
    display: flex;
    flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.f_col_3 > *{
    width: calc( 33.33333% - 8px ) ;
    margin-right: 12px;
    margin-bottom: 12px;
}
.f_col_3 > *:nth-child(3n){
    margin-right: auto;
}
.f_col_3 > * > *{
    height: 120px;
    position: relative;
    overflow: hidden
}
.footer_address{margin: 0 auto;
    width: 100%; text-align: center; margin-top: 40px; margin-bottom: 20px;}


.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #db5b87;
    border: solid 2px #db5b87;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translateY(20%) rotate(-45deg);
}

/*各ページタイトル*/
h2{border-bottom: solid 3px #cccccc;
  position: relative; font-size: 1.5em; margin-bottom: 20px; color: #da5b86;}
h2:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #da5b86;
  bottom: -3px;
  width: 30%;
}

h3{ font-size: 1.3em;border-left: 5px solid #da5b86;
  border-bottom: 2px solid #da5b86;
  padding: 0.25em 0 0.3em 0.5em;margin: 15px 0;}

h4{padding: 10px 0;}

/*よくあるご質問*/
*, *:before, *:after {
    box-sizing: border-box;
}
.q_a_col_3{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.q_a_col_3 > *{
    width: calc( 33.33333% - 8px ) ;
    margin-right: 12px;
    margin-bottom: 12px;
}
.q_a_col_3 > *:nth-child(3n){
    margin-right: auto;
}
.q_a_col_3 > * > *{
    /*height: 120px;*/
    position: relative;
    overflow: hidden
}
@media screen and (max-width: 960px) {
    .q_a_col_3 > *{
        width: calc( 50% - 6px ) ;
    }
    .q_a_col_3 > *:nth-child(3n){
        margin-right: 12px;
    }
    .q_a_col_3 > *:nth-child(2n){
        margin-right: auto;
    }
}
@media screen and (max-width: 580px) {
    .q_a_col_3 > *{
        width: 100%;
        margin-right: auto;
    }
    .q_a_col_3 > *:nth-child(3n){
        margin-right: auto;
    }
}

.cp_qa03 .cp_actab {
  position: relative;
  width: 100%;
  margin: 0 0 1em 0;
  color: #1b2538;
}

.cp_qa03 .cp_actab input {
  display: none;
}
/* 質問 */
.cp_qa03 .cp_actab label {
  color: #fff;
  font-weight: bold;
  line-height: 1.6em;
  position: relative;
  display: block;
  margin: 0 0 0 0;
  padding: 0.5em 2em 0.5em 2.5em;
  cursor: pointer;
  text-indent: 1em;
  border-radius: 0.5em;
  background: rgb(128,166,205);
}
.cp_qa03 .cp_actab label::before {
  content: 'Q';
  font-family: serif;
  font-size: 1.5em;
  margin-left: -2em;
  padding-right: 0.5em;
}
.cp_qa03 .cp_actab label:hover {
  color: #fff;
  transition: all 0.3s;
}
/* --質問の＋アイコン */
.cp_qa03 .cp_actab label::after {
  position: absolute;
  top: -0.2em;
  right: 0;
  content: '+';
  font-size: 1.7em;
  font-weight: bold;
  line-height: 2em;
  display: inline-block;
  width: 2em;
  height: 2em;
  transition: transform 0.3s;
}
/* 答え */
.cp_qa03 .cp_actab .cp_actab-content {
  position: relative;
  overflow: hidden;
  max-height: 0;
  padding: 0 0 0 2.5em;
  border-radius: 0 0 0.5em 0.5em;
  transition: max-height 0.2s;
}
.cp_qa03 .cp_actab .cp_actab-content::before {
  position: absolute;
  content: 'A';
  font-family: serif;
  font-size: 1.5em;
  margin: 0.4em 0 0 -1em;
  padding: 0;
}
.cp_qa03 .cp_actab .cp_actab-content p {
  margin: 0.8em 1em 1em 0;
}
/* 質問を開いた時の仕様 */
/* --答えの高さ */
.cp_qa03 .cp_actab input:checked ~ .cp_actab-content {
  max-height: 40em;
  border: 10px solid rgba(27,37,56,0.1);
}
/* 質問をクリックした時のアイコンの動き */
.cp_qa03 .cp_actab input:checked ~ label {
  color: #fff;
  border-radius: 0.5em 0.5em 0 0;
}
/* 質問をクリックした時の+の動き */
.cp_qa03 .cp_actab input[type=checkbox]:checked + label::after {
  transform: rotateZ(45deg);
  transform-origin: 50% 50%;
}

/*診断実施日表*/
.data01 {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%; /* table幅を100%に指定 */
	max-width: 500px;
    background: #fff;
    border: none;
}
.data01 th,
.data01 td {
    display: block; /* セルをブロック要素に指定 */
    width: 100%; /* セルを親要素いっぱいの幅に指定 */
    border: none;
    padding: 10px;
    vertical-align: top;
    text-align: left;
    box-sizing: border-box;
}
.data01 th {
    font-weight: 700;
    color: #fff;
    background: #83add6; /* thの背景色 */
}

@media screen and (min-width: 768px) {
	.data01{border-top: 1px solid #ccc;border-right: 1px solid #ccc;}
    .data01 th,
    .data01 td {
        display: table-cell; /* デフォルト値に指定 */
        border-bottom: 1px solid #ccc;
        background: #fff;
    }
    .data01 th {
        color: #fff;
        background: #83add6; /* thの背景色 */
		width: 50%;
    }
    .data01 tr th:first-child {
        width: 50%; /* thの固定幅 */
    }
}

/*検査項目*/
.table_design02 {
  border-collapse: collapse;
  width: 100%;
}
.table_design02 tr {
  background-color: #fbe6e6;
}
.table_design02 tr:nth-child(odd) {
  background-color: #fff;
}
.table_design02 th, .table_design02 td {
  padding: 0.5em; text-align: left;
}
.table_design02 th {
  width: 30%;
  min-width: 4em;
}

@media screen and (max-width: 580px) {.table_design02 th {width: 40%;}}

.table_design03 {
  border-collapse: collapse;
  width: 100%;
}
.table_design03 tr {
  background-color: #ebeff4;
}
.table_design03 tr:nth-child(odd) {
  background-color: #fff;
}
.table_design03 th, .table_design03 td {
  padding: 0.5em; text-align: left;
}
.table_design03 th {
  width: 90%;
  min-width: 4em;
}

@media screen and (max-width: 580px) {.table_design03 th {width: 90%;}}

/*診察の流れ*/
.flow_design02 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow_design02 ul {
  padding: 0; width: 100%;
}

.flow_design02 li {
  list-style-type: none;
}

.flow_design02 dd {
  margin-left: 0;
}

.flow02 > li {
  padding: 40px 10px;;
}

.flow02 > li:not(:last-child) {
  border-bottom: 3px solid #7da1c5;
  position: relative;
}

.flow02 > li:not(:last-child)::before,
.flow02 > li:not(:last-child)::after {
  content: "";
  border: solid transparent;
  position: absolute;
  top: 100%;
  left: 15%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.flow02 > li:not(:last-child)::before {
  border-width: 22px;
  border-top-color: #7da1c5;
}

.flow02 > li:not(:last-child)::after {
  border-width: 18px;
  border-top-color: #fff;
}

.flow02 > li dl {
  margin: 0;
}

.flow02 > li dl dt {
  font-size: 1.1em;
  font-weight: bold;
  border-bottom: 2px dotted #878787;
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  display: flex;
}

.flow02 > li dl dt .icon02 {
  font-size: 0.6em;
  color: #fff;
  background: #7da1c5;
  padding: 5px 10px;
  display: inline-block;
  margin-right: 0.5em;
}

/*ドックTOP*/
.button06 {
  display: inline-block;
  background-color: #fff;
  border: solid 2px #80a6cd;
  color: #80a6cd;
	width: 100%;
  /*width: 100px;
  height: 100;*/
  border-radius: 10px;
  /*line-height: 100px;*/
  text-align: center;
  font-size: 1em;
  text-decoration: none;
	padding-top: 10px;
	margin: 10px;
}
.button06 img{width: 90%;}

@media screen and (max-width: 580px) {.doc_box_left{float: left;width:100%;}
.doc_box_right{float: left;width:100%; margin-left: 0px;}}

/*外来*/
/*外来の流れ*/
.flow_design10 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flow10 {
  padding-left: 0;
}

.flow10 > li {
  list-style-type: none;
  border: 2px solid #7da1c5;
  padding: 20px;
  border-radius: 20px;
}

@media screen and (max-width: 580px) {.flow10 > li {margin: 0 auto; width: 98%;
  padding: 7px;}}
.flow10 > li:not(:last-child) {
  margin-bottom: 40px;
  position: relative;
}

.flow10 > li:not(:last-child)::after {
  content: '';
  position: absolute;
  border: 20px solid transparent;
  width: 0;
  height: 0;
  bottom: -53px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  border-top-color: #7da1c5;
}

.flow10 > li dl dt {
  font-size: 1.3em;
  font-weight: bold;
  border-bottom: 2pt dashed #ccc;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}

@media screen and (max-width: 580px) {.flow10 > li dl dt {font-size: 1.0em;
  padding-bottom: 0.1em;
  margin-bottom: 0.1em;}}

.flow10 > li .icon10 {
  color: #7da1c5;;
  margin-right: 0.5em;
}

.flow10 > li dl dd {
  margin: 0;
}
@media screen and (max-width: 580px) {.flow10 > li dl dd {font-size: 1.0em;}}

/* 診療担当医表 */
.cp_tn03 .cp_actab {margin-bottom: 15px;}
.cp_tn03 .cp_actab label {
  color: #fff;
  font-weight: bold;
  line-height: 1.6em;
  position: relative;
  display: block;
  margin: 0 0 0 0;
  padding: 0.5em 2em 0.5em 2.5em;
  cursor: pointer;
  text-indent: 1em;
  border-radius: 0.5em;
  background: rgb(128,166,205);
}

/*指マークスクロール*/
.tablebox{
max-width:90%;
margin:0 auto;
overflow:auto;
}
.tablebox table{
color:#222;
border-collapse:collapse;
}
.tablebox table th,
.tablebox table td{
padding:25px;
border:1px solid #ddd;
white-space:nowrap;
font-size:1rem;
}
.scroll-hint-text{ 
margin-top:0;
}

/*.cp_tn03 .cp_actab label::before {
  content: 'Q';
  font-family: serif;
  font-size: 1.5em;
  margin-left: -2em;
  padding-right: 0.5em;
}*/
.cp_tn03 .cp_actab label:hover {
  color: #fff;
  transition: all 0.3s;
}
/* --診療担当医表の＋アイコン */
.cp_tn03 .cp_actab label::after {
  position: absolute;
  top: -0.2em;
  right: 0;
  content: '+';
  font-size: 1.7em;
  font-weight: bold;
  line-height: 2em;
  display: inline-block;
  width: 2em;
  height: 2em;
  transition: transform 0.3s;
}
/* 診療担当医表OPEN */
.cp_tn03 .cp_actab .cp_actab-content {
  position: relative;
  overflow: hidden;
  max-height: 0;
  padding: 0 0 0 1% ; 
  border-radius: 0 0 0.5em 0.5em;
  transition: max-height 0.2s;
}
/*.cp_tn03 .cp_actab .cp_actab-content::before {
  position: absolute;
  content: 'A';
  font-family: serif;
  font-size: 1.5em;
  margin: 0.4em 0 0 -1em;
  padding: 0;
}*/
.cp_tn03 .cp_actab .cp_actab-content p {
  margin: 0.8em 1em 1em 0;
}
/* 診療担当医表を開いた時の仕様 */
/* --答えの高さ */
.cp_tn03 .cp_actab input:checked ~ .cp_actab-content {
  max-height: 40em;
  border: 2px solid rgba(27,37,56,0.1);
}
/* 診療担当医表をクリックした時のアイコンの動き */
.cp_tn03 .cp_actab input:checked ~ label {
  color: #fff;
  border-radius: 0.5em 0.5em 0 0;
}
/* 診療担当医表をクリックした時の+の動き */
.cp_tn03 .cp_actab input[type=checkbox]:checked + label::after {
  transform: rotateZ(45deg);
  transform-origin: 50% 50%;
}


/************************************
** お問い合わせフォームの入力
************************************/
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field {
  display: block;
  width: 80%;
  height: 45px;
  margin-bottom: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  background-color: #fff;
  box-shadow: none;
  color: #5c6b80;
  font-size: 1em;
  vertical-align: middle;
  line-height: 45px;
  transition: background-color 0.24s ease-in-out;
}
textarea {
  max-width: 100%;
  min-height: 120px;
  line-height: 1.5em;
  padding: 0.5em;
  overflow: auto;
}

#zip{width: 50%;}
.inquiry{margin: 0 auto;border-spacing: 0;}
@media(max-width:500px) {
    .inquiry td,
    .inquiry th {
        display: block !important;
        width: 100% !important;
        border-top: none !important;
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important
    }
    .inquiry tr:first-child th {
        border-top: 1px solid #d7d7d7 !important
    }
    .inquiry .any,
    .inquiry .haveto {
        font-size: 10px
    }
}
.inquiry th {
    text-align: left;
    font-size: 14px;
    color: #444;
    padding-right: 5px;
    width: 30%;
    background: #ebeff4;
    border: solid 1px #d7d7d7
}
.inquiry td {
    font-size: 14px;width: 70%;
    border: solid 1px #d7d7d7;
	background-color: #ebeff4;
}

.entry-content .inquiry tr,
.entry-content table {
    border: solid 1px #ebeff4;
}
.haveto {
    font-size: 7px;
    padding: 5px;
    background: #ff9393;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px
}
.any {
    font-size: 7px;
    padding: 5px;
    background: #93c9ff;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px
}
.verticallist .wpcf7-list-item {
    display: block
}
#formbtn {
    display: block;
    padding: 15px;
    width: 350px;
    background: #ffaa56;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
    margin: 25px auto 0
}
#formbtn:hover {
    background: #fff;
    color: #ffaa56;
    border: 2px solid #ffaa56
}
th {
    font-weight: 700;
    text-transform: uppercase;
    padding: 13px
}
td {
    border-top: 1px solid #ededed;
    padding: 12px
}
input,
select,
textarea {
    border: 1px solid #dfdfdf;
    letter-spacing: 1px;
    margin: 0;
    max-width: 100%;
    resize: none
}

/*診療部門の紹介アコーディオン*/

.accordion-004 {
	margin: 0 auto;
    max-width: 280px;
    margin-bottom: 7px;
    border: 1px solid #da5b86;
    border-radius: 3px;
}

.accordion-004 summary {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px 25px;
    color: #da5b86;
    cursor: pointer;
}

.accordion-004 summary::-webkit-details-marker {
    display: none;
}

.accordion-004 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 1px solid #da5b86;
    border-right: 1px solid #da5b86;
    content: '';
    transition: transform .3s;position: absolute;right: 20px;
}

.accordion-004[open] summary::after {
    transform: rotate(225deg);
}

.accordion-004 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #da5b86;
    transition: transform .5s, opacity .5s;
}

.accordion-004[open] p {
    transform: none;
    opacity: 1;
}

/*番号付きリスト*/
.list_suzi-wrap {
    list-style:  none;          /* デフォルトのアイコンを消す */
    margin:  0;                 /* デフォルト指定上書き */
    padding: 0;                 /* デフォルト指定上書き */
    counter-reset: li_count;    /* カウンタをセット */
}

.list_suzi {
    padding:  10px;             /* 余白指定 */
    margin-bottom: 5px;         /* 要素と要素の間指定 */
}

.list_suzi:before  {
  counter-increment: li_count;  /* カウンタの値を計算していく */
  content: counter(li_count)"."; /* 数字出力 */
  color: #80a6cd;               /* 文字色指定 */
  margin-right: 5px;            /* 余白指定 */
    font-size:  1.2em;           /* 文字サイズ指定 */
	font-weight: bold;
}

/*放射線アコーディオン*/
.accordion-005 {
	margin: 0 auto;
    width:98%;
    margin-bottom: 7px;
    border: 2px solid #80a6cd;
    border-radius: 3px;
}

.accordion-005 summary {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    padding: 10px 25px;
    color: #003e8d;
    cursor: pointer;
	font-weight: bold;
}

.accordion-005 summary::-webkit-details-marker {
    display: none;
}

.accordion-005 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    /*margin-left: 10px;*/
    border-bottom: 2px solid #003e8d;
    border-right: 2px solid #003e8d;
    content: '';
    transition: transform .3s;position: absolute;right: 20px;
}

.accordion-005[open] summary::after {
    transform: rotate(225deg);
}

.accordion-005 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding:0;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-005[open] p {
    transform: none;
    opacity: 1;
}
/*放射線について　見出しアコーディオン*/
.cp_hou03 .cp_actab {
  position: relative;
  width: 100%;
  margin: 0 0 1em 0;
  color: #1b2538;
}

.cp_hou03 .cp_actab input {
  display: none;
}
/* 質問 */
.cp_hou03 .cp_actab label {
  color: #fff;
  font-weight: bold;
  line-height: 1.6em;
  position: relative;
  display: block;
  margin: 0 0 0 0;
  padding: 0.5em 2em 0.5em 2.5em;
  cursor: pointer;
  text-indent: 1em;
  border-radius: 0.5em;
  background: rgb(128,166,205);
}
.cp_hou03 .cp_actab label::before {
  content: '';
  font-family: serif;
  font-size: 1.5em;
  margin-left: -2em;
  padding-right: 0.5em;
}
.cp_hou03 .cp_actab label:hover {
  color: #fff;
  transition: all 0.3s;
}
/* --質問の＋アイコン */
.cp_hou03 .cp_actab label::after {
  position: absolute;
  top: -0.2em;
  right: 0;
  content: '+';
  font-size: 1.7em;
  font-weight: bold;
  line-height: 2em;
  display: inline-block;
  width: 2em;
  height: 2em;
  transition: transform 0.3s;
}
/* 答え */
.cp_hou03 .cp_actab .cp_actab-content {
  position: relative;
  overflow: hidden;
  max-height: 0;
  /*padding: 0 0 0 2.5em;*/
  border-radius: 0 0 0.5em 0.5em;
  transition: max-height 0.2s;
}
.cp_hou03 .cp_actab .cp_actab-content::before {
  position: absolute;
  content: '';
  font-family: serif;
  font-size: 1.5em;
  margin: 0.4em 0 0 -1em;
  padding: 0;
}
.cp_hou03 .cp_actab .cp_actab-content p {
  margin: 0.8em 1em 1em 0;
}
/* 質問を開いた時の仕様 */
/* --答えの高さ */
.cp_hou03 .cp_actab input:checked ~ .cp_actab-content {
  max-height: 4000em;
  border: 10px solid rgba(27,37,56,0.1);
}
/* 質問をクリックした時のアイコンの動き */
.cp_hou03 .cp_actab input:checked ~ label {
  color: #fff;
  border-radius: 0.5em 0.5em 0 0;
}
/* 質問をクリックした時の+の動き */
.cp_hou03 .cp_actab input[type=checkbox]:checked + label::after {
  transform: rotateZ(45deg);
  transform-origin: 50% 50%;
}

/*放射線について　画像入りbox*/
.hou_box{margin: 0 auto; width: 100%;}
.hou_box_left{float: left;width: 70%;padding: 0 10px 0 10px;}
.hou_box_right{float: right;width: 30%;padding: 0 10px 0 0;}
@media screen and (max-width: 580px) {.hou_box_left{float: left;width: 100%;padding: 0 10px 0 10px;}
	.hou_box_right{float: left;width: 100%; padding: 0 1% 0 1%;}}
.hou_box_right img{width: 100%;}

/*レーザー治療　画像入りbox*/
.kasi_box{margin: 0 auto; width: 100%;}
.kasi_box_left{float: left;width: 60%;padding: 0 10px 0 10px;}
.kasi_box_right{float: right;width: 40%;padding: 0 10px 0 0;}
@media screen and (max-width: 580px) {.kasi_box_left{float: left;width: 100%;padding: 0 10px 0 10px;}
	.kasi_box_right{float: left;width: 100%; padding: 0 1% 0 1%;}}
.kasi_box_right img{width: 100%;}

/*担当医紹介　画像入りbox*/
.tantou_box{margin: 0 auto; width: 100%;}
.tantou_box_left{float: left;width: 20%;padding: 0 10px 0 10px;text-align: center;}
.tantou_box_right{float: right;width: 80%;padding: 0 10px 0 0;}
@media screen and (max-width: 580px) {.tantou_box_left{float: left;width: 100%;padding: 0 10px 0 10px;}
	.tantou_box_right{float: left;width: 100%; padding: 0 1% 0 1%;}}
.tantou_box_left img{width: 70%;}

/*担当医table*/
.tbl-t02 th {
  background: #83add6;
  border: solid 1px #ccc;
  color: #fff;
  padding: 10px;
}
.tbl-t02 td {
　border: solid 1px #ccc;
  padding: 10px;
}
@media screen and (min-width: 640px) {.tbl-t02 {text-align:left; width: 100%;}.tbl-t02 th {width: 20%;}}
@media screen and (max-width: 640px) {
  .last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
  }
  .tbl-t02 {
    width: 95%;
  }
  .tbl-t02 th,
  .tbl-t02 td {
　　border-bottom: none;
    display: block;
    width: 100%;
  }
}

/*リハビリ*/
/*見出しテキスト*/
.riha{border: solid 2px #80a6cd;
  padding: 10px;
font-size: 1.2em;
margin: 20px 0;}

/*連携*/
/*青丸*/
.list_blue-wrap {
    list-style:  none;      /* デフォルトのアイコンを消す */
    margin:  0;             /* デフォルト指定上書き */
    padding: 0;             /* デフォルト指定上書き */
}
.list_blue li{margin-bottom: 20px;}
.list_blue:before {
    content:  "";     /* 空の要素作成 */
    width:  10px;               /* 幅指定 */
    height:  10px;              /* 高さ指定 */
    display:  inline-block;     /* インラインブロックにする */
    background-color: #abcce8;  /* 背景色指定 */
    border-radius:  50%;        /* 要素を丸くする */
}

 .list_blue li{
    position: relative;
    padding-left: 15px;
  }

.list_pink-wrap {
    list-style:  none;      /* デフォルトのアイコンを消す */
    margin:  0;             /* デフォルト指定上書き */
    padding: 0;             /* デフォルト指定上書き */
	font-size: 1.2em;
}
 
.list_pink:before {
    content: "";
    /*position: absolute;*/
	display:  inline-block;     /* インラインブロックにする */
    top: .4em;
    left:0em;
    width: 14px;
    height: 14px;
    background-color: #ec76a1;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

 .list_pink li{
    position: relative;
    padding-left: 15px;
  }

/*入院*/
.my-list {
  list-style: none;
  padding-left: 0;
}

.my-list li {
  position: relative;
  padding-left: 1.5em; /* Adjust based on ::before width */
}

.my-list li::before {
  content: "◆"; /* Example marker */
  position: absolute;
  left: 0;
  color: #abcce8; /* Example color */
}

.my-list li {
    white-space: pre-wrap; /* Allow line breaks */
    word-wrap: break-word; /* Break long words */
	font-size: 1.1em;
}

.my-list02 {
  list-style: none;
  padding-left: 0;
}

.my-list02 li {
  position: relative;
  padding-left: 1.5em; /* Adjust based on ::before width */
}

.my-list02 li::before {
  content: "●"; /* Example marker */
  position: absolute;
  left: 0;
   /*color: #abcce8; *//*Example color */
}

.my-list02 li {
    white-space: pre-wrap; /* Allow line breaks */
    word-wrap: break-word; /* Break long words */
	font-size: 1.1em;
}

.blue_box2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    background: #ebeff4;
    border-radius: 10px;/*角の丸み*/
}
.blue_box2 p {
    margin: 0; 
    padding: 0;
}

/*ドック画像入りbox*/
.doc_box{margin: 0 auto; width: 100%;}
.doc_box_left{float: left;width: 40%;padding: 0 10px 0 10px;text-align: center;}
.doc_box_right{float: right;width: 56%;padding: 0 10px 0 0;}
@media screen and (max-width: 580px) {.doc_box_left{float: left;width: 100%;padding: 0 10px 0 10px;}
	.doc_box_right{float: left;width: 100%; padding: 0 1% 0 1%;}}
.doc_box_left img{width: 70%;}


/*看護部　リスト*/
.list_kango-wrap {
    list-style:  none;          /* デフォルトのアイコンを消す */
    margin:  0;                 /* デフォルト指定上書き */
    padding: 0;                 /* デフォルト指定上書き */
    counter-reset: li_count;    /* カウンタをセット */
}

.list_kango {
	position: relative;
    padding-left:30px;             /* 余白指定 */
    margin-bottom: 5px;         /* 要素と要素の間指定 */
    font-size:  20px;           /* 文字サイズ指定 */
}

.list_kango:before  {
  position: absolute;
  counter-increment: li_count;  /* カウンタの値を計算していく */
  content: counter(li_count)"."; /* 数字出力 */
  color: #da5b86;               /* 文字色指定 */
  margin-right: 5px;            /* 余白指定 */
top: 0;
  left: 0;
  height: 50px;
  width: 50px;
}

/*看護部　教育*/
p.kango_k{
  padding-left: 0em;
	margin-left: 1.0em;
}

p.kango_k::before {
  content: "●";
  margin-left: -1em;
  margin-right: 0;
  color: #da5b86;
  font-size: 1rem;
  font-weight: bold;
}

/*お知らせ一覧*/
/* お知らせリスト全体の枠組み */
#external-news-archive {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #db5b87;
}

/* 各行のスタイル */
.news-item {
    border-bottom: 1px solid #db5b87;
    transition: background-color 0.2s;
}

.news-item:hover {
    background-color: #fafafa; /* マウスを乗せた時に少し背景色を変える */
}

/* 行の中の配置（Flexbox） */
.news-item {
    display: flex;
    align-items: center;
    padding: 18px 10px;
}

/* 日付 */
.news-item .date {
    flex: 0 0 110px; /* 日付の幅を固定 */
    font-size: 0.9rem;
    color: #888;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* カテゴリラベル */
.news-item .cat-label {
    flex: 0 0 auto;
    background-color: #db5b87; /* カテゴリの背景色 */
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 10px;
    margin-right: 20px;
    border-radius: 3px;
    white-space: nowrap;
}

/* タイトルとリンク */
.news-item a {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.news-item a:hover {
    color: #0073aa; /* ホバー時のリンク色 */
    text-decoration: underline;
}

/* --- レスポンシブ対応 (スマホ表示) --- */
@media screen and (max-width: 767px) {
    .news-item {
        flex-direction: column; /* 縦並びに変更 */
        align-items: flex-start;
        padding: 15px 5px;
    }

    .news-item .date {
        flex: none;
        margin-bottom: 5px;
        font-size: 0.8rem;
    }

    .news-item .cat-label {
        margin-bottom: 8px;
        font-size: 0.65rem;
        padding: 2px 8px;
    }

    .news-item a {
        font-size: 0.95rem;
        width: 100%;
    }
}

/* --- もっと見るボタンのデザイン --- */
#load-more-container {
    margin: 40px 0;
    text-align: center;
}

.more-btn {
    background-color: #db5b87;
    color: #fff;
    border: 2px solid #db5b87;
    padding: 15px 80px;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0; /* シャープな印象にするなら0、丸くするなら50px */
}

.more-btn:hover {
    background-color: #db5b87;
    color: #fff;
}

@media screen and (max-width: 767px) {
    .more-btn {
        width: 100%; /* スマホではボタンを横いっぱいに */
        padding: 15px 0;
    }
}

/* お知らせリスト全体の基本設定 */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    padding: 15px 0;
    border-bottom: 1px solid #db5b87;
    display: flex; /* 横並びの基本設定 */
    align-items: flex-start;
    flex-wrap: wrap; /* 狭い時に折り返す設定 */
}

/* 日付のスタイル */
.news-list .date {
    flex: 0 0 100px; /* 日付の幅を固定 */
    color: #888;
    font-size: 0.9rem;
    font-family: sans-serif;
}

/* カテゴリラベルのスタイル */
.news-list .cat-label {
    background: #db5b87;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 2px;
    margin-right: 15px;
    margin-bottom: 5px; /* スマホで縦に並んだ時の余白 */
    white-space: nowrap; /* ラベル内で改行させない */
}

/* タイトル（リンク）のスタイル */
.news-list a {
    flex: 1; /* 残りの幅をすべて使う */
    min-width: 200px; /* これより狭くなると折り返す */
    color: #333;
    text-decoration: none;
    line-height: 1.5;
}

.news-list a:hover {
    text-decoration: underline;
    color: #db5b87; /* ホバー時の色（お好みで） */
}

/* --- スマホ用の調整（画面幅768px以下） --- */
@media screen and (max-width: 768px) {
    .news-list li {
        display: block; /* 横並びを解除して縦に並べる */
    }
    
    .news-list .date {
        display: inline-block;
        margin-bottom: 5px;
    }
    
    .news-list .cat-label {
        display: inline-block;
        margin-left: 10px; /* 日付の横に並べる */
    }
    
    .news-list a {
        display: block; /* タイトルは新しい行から開始 */
        min-width: 100%;
        font-size: 0.95rem;
    }
}