@charset "utf-8";
/* #key ---------------------------------------------------------------- */
#key {
  width: 100%;
  z-index: 3;
}

#key .key_inner{
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

#key img {
  display: block;
  margin: 0 auto;
}

.slider {
  margin: 0 auto;
}

#key .slick-dotted.slick-slider {
  margin-bottom: 0;
}

.slider-img {
  margin: 0 auto;
}

.slider-img a {
}

.slider-img img {
  width: 100%;
  height: auto;
}

.slider .slick-dots {
  width: 100%;
  bottom: 4%;
  display: flex;
  right: 4%;
  justify-content: flex-end;
}

.slider .slick-dots li {
  background: #fff;
  width: 20px;
  height: 20px;
  text-indent: -9999px;
  border-radius: 25px;
}

.slider .slick-dots li.slick-active {
  background: #f3981c;
}

.slider .slick-dots li button:before {
  content: "";
}

#key .key_copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

#key .key_copy img {
  width: auto;
  height: 40vw;
  max-height: 1056px;
}

/* #top ---------------------------------------------------------------- */
#top #news  {
  padding: 75px 0 80px; 
}

#top #news .contents {
  display: flex;
  align-items: center;
  margin-bottom: 70px;
}

#top #news .contents .left {
  width: 253px;
}

#top #news .contents .right {
  width: 727px;
}

#top #news .contents .right dl {
  width: 100%;
  padding: 0 10px;
}

#top #news .contents .right dl dt {
  display: flex;
  font-size: 14px;
  font-weight: normal;
  align-items: center;
  color: #545555;
  padding: 15px 0 5px;
}

#top #news .contents .right dl dt a {
  line-height: 1.8;
}

#top #news .contents .right dl dt a:hover {
  text-decoration: none;
  opacity: 0.7;
}

#top #news .contents .right dl dt span {
  color: #fff;
  font-size: 13px;
  margin-left: 10px;
  padding: 0 10px;
}

#top #news .contents .right dl dd {
  border-bottom: 1px solid #231815;
  padding-bottom: 10px;
}

#top #office {
  background: #fffcdb;
  padding: 110px 0 50px; 
}

#top #office h2 {
  color: #231815;
  border-bottom: 2px solid #f3981c;
  position: relative;
  padding: 0 0 0 30px;
}

#top #office h2:after {
  content: "";
  position: absolute;
  top: 50%;   /* 縦軸をセンタリングする */ 
  left: 10px;
  transform: translateY(-50%);   /* 縦軸をセンタリングする */  
  border: 10px solid transparent;
  border-left: 15px solid #f3981c;   /* 好みで色を変えてください */  
}

#top #office .contents {
  display: flex;
  justify-content: space-between;
}

#top #office .contents:first-child,#top #office .contents:nth-child(4) {
  margin-bottom: 15px;
}

#top #office .contents .left {
  width: 550px;
}

#top #office .contents .left p {
  padding: 10px;
}

#top #office .contents .right {
  width: 360px;
}

#top #office .contents .office-img {
  width: 100%;
  height: auto;
}

#top #office .contents:nth-child(2) {
  margin-bottom: 70px;
}


#top #about {
  background: #fffcdb;
  padding: 110px 0 80px; 
}

#top #about h2 {
  color: #231815;
  border-bottom: 2px solid #f3981c;
  position: relative;
  padding: 0 0 0 30px;
}

#top #about h2:after {
  content: "";
  position: absolute;
  top: 50%;   /* 縦軸をセンタリングする */ 
  left: 10px;
  transform: translateY(-50%);   /* 縦軸をセンタリングする */  
  border: 10px solid transparent;
  border-left: 15px solid #f3981c;   /* 好みで色を変えてください */  
}

#top #about .contents {
  display: flex;
  justify-content: space-between;
}

#top #about .contents:first-child{
  margin-bottom: 15px;
}

#top #about .contents .left {
  width: 550px;
}

#top #about .contents .left p {
  padding: 10px;
}

#top #about .contents .right {
  width: 360px;
}

#top #about .contents .office-img {
  width: 100%;
  height: auto;
}

#top #about .contents:nth-child(2) {
  margin-bottom: 70px;
}

#top #message {
  padding: 110px 0 230px;
}

#top #message .contents {
  margin-bottom: 30px;
}

#top #message .contents p {
  padding: 0 20px;
}
#top #message .contents h2 {
  margin-bottom: 20px;
}

#top #message .contents .flex {
  display: flex;
  align-items: flex-end;
  margin-bottom: 70px;
}

#top #message .contents  .flex img {
  width: 400px;
  height: auto;
  margin: 40px 0 0px 40px;
}

#top #map {
  background: #f0ecdd;
}

#top #map img.over{
  width: 100%;
  height: auto;
  margin-top: -120px;
  min-width: 980px;
}

#top #map .contents {
  padding: 130px 0 90px;
}

#top #map .contents h2 {
  text-align: center;
  margin-bottom: 110px;
}

#top #map .contents h2 img {
  width: 650px;
  height: auto;
}

#top #map .contents .flex {
  display: flex;
}

#top #map .contents .flex .left {
  width: 50%;
}

#top #map .contents .flex .left img {
  width: 100%;
  height: auto;
}

#top #map .contents .flex .right {
  padding-left: 100px;
}

#top #map .contents .flex .right ul {
  font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
  font-weight: bold;
}

#top #map .contents .flex .right ul li{
  padding-left: 1em;
  text-indent: -1em;
  color: #0086d1;
  margin-bottom: 10px;
}
#top #map .contents .flex .right ul li span{
  color: #231815;
}
#top #map .contents .flex .right ul li span{
  line-height: 1.2;
  padding-bottom: 10px;
  display: block;
  text-indent: 0em;
}


/* #second ---------------------------------------------------------------- */
#key_second {
  width: 100%;
}

#key_second img {
  width: 100%;
  height: auto;
}

#second {
  padding: 80px 0;
}

#second .date {
  margin-bottom: 20px;
}

/* #second #about ---------------------------------------------------------------- */
#about section {  
  padding: 113px 0 0;
}
#about section h2 {  
  margin-bottom: 30px;
}

#about section h4 {
  position: relative;
  margin-bottom: 1em;
  font-weight: bold;
  text-shadow: 0 0 2px white;
}
#about section h4:before {
  content: "";
  position: absolute;
  background: #FFC778;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  top: 0.6em;
  /* border: dashed 1px white; */
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: -1;
}

#about #message .contents {
}

#about #message .contents p {
  padding: 0 20px;
}

#about #message .contents .flex {
  display: flex;
  align-items: flex-end;
}

#about #message .contents  .flex img {
  width: 400px;
  height: auto;
  margin: 40px 20px 0px 40px;
}

#about #donation p {
  margin-bottom: 2em;
  padding: 0 20px;
}

#about #donation p.underline {
    text-decoration:underline double #FFC778;
  margin-bottom: 3em;
}

#about #donation p.align_r {
  text-align: right;
}

#about #donation .fukidashi {
  position: relative;
  padding: 1.5rem 2rem 0.5em;
  color: #231815;
  border-radius: 10px;
  background: #F0ECDD;
}

#about #donation .fukidashi:after {
  position: absolute;
  bottom: -9px;
  left: 50%;
  width: 0;
  height: 0;
  content: '';
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #F0ECDD transparent transparent transparent;
}


#second #about .contents dl {
  width: 100%;
  padding: 0 10px;
}

#second #about .contents dl dt {
  display: flex;
  font-size: 14px;
  font-weight: normal;
  align-items: center;
  color: #545555;
  padding: 15px 0 5px;
}

#second #about .contents dl dt a {
  line-height: 1.8;
}

#second #about .contents dl dt a:hover {
  text-decoration: none;
  opacity: 0.7;
}

#second #about .contents dl dt span {
  color: #fff;
  font-size: 13px;
  margin-left: 10px;
  padding: 0 10px;
}

#second #about .contents dl dd {
  border-bottom: 1px solid #231815;
  padding-bottom: 10px;
}

#about .btn_area {
  margin-top: 40px;
}

#about .tbl {
  margin-bottom: 30px;
}

.pdf li {
  margin-bottom: 10px;
}
#about .pdf li a {
  color: #f39800;
}


/* #second #news ---------------------------------------------------------------- */
#second #news  {
  padding: 0 0 80px;
}
#second #news .contents dl {
  width: 100%;
  padding: 0 10px;
}

#second #news .contents dl dt {
  display: flex;
  font-size: 14px;
  font-weight: normal;
  align-items: center;
  color: #545555;
  padding: 15px 0 5px;
}

#second #news .contents dl dt a {
  line-height: 1.8;
}

#second #news .contents dl dt a:hover {
  text-decoration: none;
  opacity: 0.7;
}

#second #news .contents dl dt span {
  color: #fff;
  font-size: 13px;
  margin-left: 10px;
  padding: 0 10px;
}

#second #news .contents dl dd {
  border-bottom: 1px solid #231815;
  padding-bottom: 10px;
}


/*事業所一覧*/
#offiece_list ul {
  display: flex;
  justify-content:flex-start;
  flex-wrap: wrap;
}

#offiece_list ul li{
  width: 29%;
  margin: 0 2% 40px;
  text-align: center;
}

#offiece_list ul li img{
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

#offiece_list ul li .btn02 {
  display: block;
}

/* #third ---------------------------------------------------------------- */
#third {
  padding: 80px 0 0;
}

#third .date {
  margin-bottom: 20px;
}

/*事業所詳細*/
#office {
  padding-bottom: 75px;
}

#office .flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 65px;
}
#office .flex.m0 {
  margin-bottom: 0px;
}

#office .flex .left {
  width: 588px;
  padding-right: 50px;
}

#office .flex .left p {
  margin-bottom: 2em;
}

#office .flex .right {
  width: 392px;
}

#office .flex .right img {
  width: 100%;
  height: auto;
}

#office .img {
  width: 700px;
  margin: 0 auto;
}

#office .img img {
  width: 100%;
  height: auto;
}

#office_list {
  padding: 80px 0 0;
  background: #f0ecdd; 
}

#office_list .contents {
  padding-bottom: 80px;
}

#office_list h2 {
  margin-bottom: 40px;
}

#office_list .flex {
  display: flex;
  justify-content:flex-start;
}

#office_list .flex .left {
  width: 445px;
}

#office_list .flex .left img {
  width: 100%;
  height: auto;
}

#office_list .flex .right {
  width: 535px;
  padding-left: 50px;
  box-sizing: border-box;
}

.wp-pagenavi {
	clear: both;
	text-align:center;
  color: #666;
  font-size: 16px;
  margin-top: 30px;
}

.wp-pagenavi .pages {
  display: none; 
}

.wp-pagenavi .previouspostslink {
    
}

.wp-pagenavi .page {
  width: 32px;
  height: 32px;
  line-height: 32px;
  display: inline-block;
  border: 1px solid #F3981E;
  margin: 0 5px;   
}

.wp-pagenavi .current {
  width: 32px;
  height: 32px;
  line-height: 34px;
  display: inline-block;
  background: #F3981E;
  color: #fff;
}

.wp-pagenavi .nextpostslink {
  width: 32px;
  height: 32px;
  line-height: 26px;
  display: inline-block; 
  border: 1px solid #F3981E;
  font-size: 18px;
  font-size: 24px;
}

.wp-pagenavi a:hover {
  color: #fff;
  background: #F3981E;
}

/* #fourth-------------------------------------------------------------- */
#fourth {
  padding: 80px 0 0;
}

#fourth h2 {
  margin-bottom: 50px;
}

#fourth .flex {
  display: flex;
  justify-content: space-between;
}

#fourth .flex img {
  width: 100%;
  height: auto;
}

#fourth .flex.first {
  margin-bottom: 70px;
}

#fourth .flex.first .left {
  width: 68%;
}

#fourth .flex.first .right {
  display: flex;
  flex-wrap: wrap;
  width: 31%;
  align-items: stretch;
}

#fourth .flex.first .right img {
  height: auto;
}

#fourth .flex.first .right img:first-child {
  margin-bottom: 10px;
}

#fourth .second {
  margin-bottom: 2em;
}

#fourth .flex.second .left {
  width: 53%;
}

#fourth .flex.second .right {
  width: 43%;
}

#fourth .third {
  margin-bottom: 80px;
}
#fourth .fourth {
  margin-bottom: 80px;
}
#fourth .fifth {
  margin-bottom: 80px;
}
#fourth .sixth {
  margin-bottom: 80px;
}
#fourth .seventh {
  margin-bottom: 80px;
}
#fourth .seventh.flex .right {
  width: 40%;
}

.pdf-link {
  font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 0.2rem;
  padding:  0.5em 1em;
  background: #dddddd;
  display: inline-block;
}

.pdf-link:hover {
  text-decoration: none;
  opacity: 0.7;
}

#fourth .third .pdf-link {
  margin: 2em 0;
}

#fourth .fourth table {
  margin: 40px 0 80px;
}
#fourth .fifth table {
  margin: 40px 0 80px;
}

.tbl {
  font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
  font-weight: bold;
}
.tbl th {
  background: #009a44;
  border-bottom: solid 1px #fff;
  color: #fff;
  padding: 0.5em 1em;
  text-align: center;
}
.tbl td {
  background: #eaf4eb;
  border-bottom: solid 1px #fff;
  padding: 0.5em 1em;
}
.tbl2 th {
  border-right: solid 1px #fff;
  vertical-align: middle;
}
.tbl2 td {
  border-right: solid 1px #fff;
  vertical-align: middle;
}
.tbl3 th {
  vertical-align: middle;
}
.tbl3 td.right {
  text-align: right;
  width: 16.33%;
}


#about .tbl th {
  background: #f39800;
}
#about .tbl td {
  background: #F0ECDD;
}
#seniorhousing .tbl th {
  background: #00063a;
}
#seniorhousing .tbl td {
  background: #e3e6fb;
}

#seniorhousing02 {
    padding: 75px 0 60px;

}
#seniorhousing02 .flex div {
  width: 100%;
  margin: 0 auto 20px;
  padding:0 1%;
}
#seniorhousing02 .flex div iframe  {
  width: 100% !important;
  aspect-ratio: 16/9;

}

#carehouse .tbl th {
  background: #3b459a;
}
#carehouse .tbl td {
  background: #eee;
}

#dayservice .tbl th {
  background: #915da3;
}
#dayservice .tbl td {
  background: #eee;
}

#helperstation .tbl th {
  background: #68421b;
}
#helperstation .tbl td {
  background: #f0ecdd;
}

#careplancenter .tbl th {
  background: #4c9f02;
}
#careplancenter .tbl td {
  background: #f0ecdd;
}

#deliveryservice .tbl th {
  background: #ec6d81;
}
#deliveryservice .tbl td {
  background: #eee;
}



#facility_detail {
  padding: 80px 0 0;
  background: #f0ecdd; 
}

#facility_detail .contents {
  padding-bottom: 80px;
}

#facility_detail .flex {
  display: flex;
  justify-content:flex-start;
}

#facility_detail .flex .left {
  width: 445px;
}

#facility_detail .flex .left ul {
  display: flex;
  justify-content: flex-start;
  margin: 30px auto;
}

#facility_detail .flex .left ul li {
  margin:  10px;
}

#facility_detail .flex .left ul li img {
  width:40px;
  height: auto;
}

#facility_detail .flex .right {
  width: 535px;
  padding-left: 50px;
  box-sizing: border-box;
}


#facility_detail .flex .right .map   {
  margin: 20px auto;
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%; /* 比率を4:3に固定 */
}

#facility_detail .flex .right .map iframe  {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 90% !important;
  height: 90% !important;

}

#facility_detail .flex .right .btn02 {
  display: block;
  text-align: center;
  letter-spacing: 0.2em;
  width: 300px;
}

#fourth #news  {
  padding: 75px 0 80px; 
}

#fourth #news .contents {
  margin-bottom: 70px;
}

#fourth #news .contents h3 {
  padding: 0;
  border-left: solid 0px #f39800;/*左線*/}

#fourth #news .contents dl {
  width: 100%;
  padding: 0 10px;
}

#fourth #news .contents dl dt {
  display: flex;
  font-size: 14px;
  font-weight: normal;
  align-items: center;
  color: #545555;
  padding: 15px 0 5px;
}

#fourth #news .contents dl dt a {
  line-height: 1.8;
}

#fourth #news .contents dl dt a:hover {
  text-decoration: none;
  opacity: 0.7;
}

#fourth #news .contents dl dt span {
  color: #fff;
  font-size: 13px;
  margin-left: 10px;
  padding: 0 10px;
}

#fourth #news .contents dl dd {
  border-bottom: 1px solid #231815;
  padding-bottom: 10px;
}

#fourth #empty  {
  padding: 75px 0 80px;
  background: #eee;
}

#fourth #empty .contents {
  margin-bottom: 30px;
}

#fourth #empty .contents h3 {
  padding: 0;
  border-left: solid 0px #f39800;/*左線*/}

#fourth #news .contents dl {
  width: 100%;
  padding: 0 10px;
}

#fourth #empty .contents dl {
  width: 100%;
  padding: 0 10px;
  margin-bottom: 70px;
}

#fourth #empty .contents dl dt {
  display: flex;
  font-size: 14px;
  font-weight: normal;
  align-items: center;
  color: #545555;
  padding: 15px 0 5px;
}

#fourth #empty .contents dl dt a {
  line-height: 1.8;
}

#fourth #empty .contents dl dt a:hover {
  text-decoration: none;
  opacity: 0.7;
}

#fourth #empty .contents dl dt span {
  color: #fff;
  font-size: 13px;
  margin-left: 10px;
  padding: 0 10px;
}

#fourth #empty .contents dl dd {
  border-bottom: 1px solid #231815;
  padding-bottom: 10px;
}

#fourth #dayservice dl {
  margin:0 1.5em 3em;
}

#fourth #dayservice dl dt {
  margin:1em 0 0; 
}
#fourth #dayservice dl dd {
  text-indent: 1em;
}
/* #form ---------------------------------------------------------------- */

#form {
  width: 100%;
}

#form p.text {
  text-align: left;
  margin-bottom: 20px;
}

#form p.text span {
  color: #FF0000;
}

#form table {
  width: 100%;
  margin-bottom: 20px;
}

#form table th {
  line-height: calc(28/16);
  font-weight: bold;
  vertical-align: top;
  padding: 3px;
}

#form table th span {
  margin-right: 10px;
  display: block;
  border-top:1px solid #ede9dd;
  border-bottom:1px solid #ede9dd;
  padding: 10px 5px;
  white-space: nowrap;
}
#form table th i  {
  font-size: 16px;
  color: #FF0000;
  font-style: normal;
}

#form table td  {
  line-height: calc(28/16);
  padding-bottom: 20px;
  vertical-align: middle;
}
#form table td input,#form table td select,#form table td textarea  {
  border: 1px solid #F3981E;
  padding: 12px 1rem;
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
}

#form table td input::placeholder {
  color: #ccc; 
}

#form table td.check {
  padding: 12px 1rem 30px;
}

#form table tr .mwform-radio-field {
  display: inline-flex;
  width: 23%;
  padding-left: 1em;
}

#form table tr .mwform-radio-field label {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

input[type=radio],input[type=checkbox] {
    width: 15px;
    height: 15px;
    border-radius: auto;
    -webkit-appearance: auto;
    appearance: auto;
    margin-right: 10px;
}

#form table td textarea {
  height: 330px;
}

#form table td select {
    width: 100%;
    -webkit-appearance: menulist; /* Chrome、Safari、Opera */
    -moz-appearance: menulist;    /* Firefox */
    appearance: menulist;         /* 標準の指定 */　
}

#form .check-area .mwform-checkbox-field {
  text-align: center;
}
#form .check-area .mwform-checkbox-field label {
  font-weight: 700;
}

#form table.check th {
  width: 50%;
}
#form table.check td {
  display: flex;
}
#form table.check td label {
  margin-right: 20px;
  display: flex;
  align-items: center;
}
#form table.check td input {
  width: 20px;
  height: 20px;
  border-radius: auto;    
  -webkit-appearance: auto;
    appearance:auto;
  margin-right: 5px;
}

#form .text-bottom {
  margin-bottom: 20px;
  font-size: 14px;
}

#form .check-area {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  align-items: center;
  font-weight: 700;
}


#form .check-area  input[type=checkbox] {
  width: 20px;
  height: 20px;
  border-radius: auto;    
  -webkit-appearance: auto;
    appearance:auto;
  margin-right: 10px;
}

#form .btn-area {
  display: flex;
  justify-content: center;
}


/* #policy ---------------------------------------------------------------- */
#policy {
}

#policy h3 {
    margin: 30px 0;
  padding-left: 20px;
}

#policy h4 {
  padding: 0;
  font-family: "Noto Sans JP", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
  font-weight: normal;
  font-size: 20px;
  letter-spacing: 0rem;
  margin:20px 0;
  position: relative;
  padding-left: 0em;
  line-height: 1.4;
}

#policy h4:before {
  content:none;
  font-weight: 900;
}

#policy p {
  padding: 0 2em;
}




/* #sitemap ---------------------------------------------------------------- */
#sitemap {
}

#sitemap a:hover {
  text-decoration: underline;
}

#sitemap > ul  {
  padding: 0 4%;
}

#sitemap ul li ul {
  margin-top: .5em;
  margin-bottom: .75em;
  margin-left: 48px;
}
 
#sitemap ul li ul li {
  margin-bottom: .25em;
  position: relative;
}
 
#sitemap ul li ul li::before {
  content: "";
  position: absolute;
  top: -0.5em;
  left: -16px;
  width: 10px;
  height: calc(100% + .75em);
  border-left: 1px solid #3972b2;
}
 
#sitemap ul li ul li:last-child::before {
  height: calc(1em + .25em);
}
 
#sitemap ul li ul li::after {
  content: "";
  position: absolute;
  top: .75em;
  left: -16px;
  width: 10px;
  border-bottom: 1px solid #3972b2;
}


@media screen and (max-width: 1024px) {
/* 1024px以下に適用されるCSS（スマホ用） */
    /* #key ---------------------------------------------------------------- */
    #key {
    }

    .slider .slick-dots li {
      width: 15px;
      height: 15px;
    }

    #key .key_copy img {
      height: 50vw;
    }
  
    /* #top ---------------------------------------------------------------- */
    #top #news  {
      padding: 30px 0 40px; 
    }

    #top #news .contents {
      display:inherit;
      margin-bottom: 35px;
    }

    #top #news .contents .left {
      width: 100%;
    }

    #top #news .contents .right {
      width: 100%;
    }

    #top #office {
      padding: 55px 0 0; 
    }

    #top #office h2 {
      color: #231815;
      border-bottom: 2px solid #f3981c;
      position: relative;
      padding: 0 0 0 20px;
    }

    #top #office h2:after {
        content: "";
        position: absolute;
        top: 50%;   /* 縦軸をセンタリングする */ 
        left: 5px;
        transform: translateY(-50%);   /* 縦軸をセンタリングする */  
        border: 5px solid transparent;
        border-left: 8px solid #f3981c;   /* 好みで色を変えてください */  
    }

    #top #office .contents {
      display:inherit;
      justify-content: space-between;
    }

    #top #office .contents .left {
      width: 100%;
    }

    #top #office .contents .right {
      width: 100%;
    }
  
    #top #office .contents:nth-child(2){
      margin-bottom: 35px;
    }

    #top #about {
      padding: 55px 0 40px; 
    }

    #top #about h2 {
      color: #231815;
      border-bottom: 2px solid #f3981c;
      position: relative;
      padding: 0 0 0 20px;
    }

    #top #about h2:after {
      content: "";
      position: absolute;
      top: 50%;   /* 縦軸をセンタリングする */ 
      left: 5px;
      transform: translateY(-50%);   /* 縦軸をセンタリングする */  
      border: 5px solid transparent;
      border-left: 8px solid #f3981c;   /* 好みで色を変えてください */  
    }

    #top #about .contents {
      display:inherit;
      justify-content: space-between;
    }

    #top #about .contents .left {
      width: 100%;
    }

    #top #about .contents .right {
      width: 100%;
    }
  
    #top #about .contents:nth-child(2){
      margin-bottom: 35px;
    }

    #top #message {
      padding: 55px 0 115px;
    }

    #top #message .contents {
      margin-bottom: 30px;
    }

    #top #message .contents p {
      padding: 0 10px;
    }
    #top #message .contents h2 {
      margin-bottom: 10px;
    }

    #top #message .contents .flex {
      display: inherit;
      margin-bottom: 35px;
    }

    #top #message .contents  .flex img {
      width: 300px;
      height: auto;
      margin: 20px 10px 0px auto;
      display: block;
      text-align: right;
    }

    #top #map {
      background: #f0ecdd;
    }

    #top #map img.over{
      display: none;
    }

    #top #map .over{
      display: inline-block;
      width: 100%;
      margin-top: -60px;
    }

    #top #map .over img{
      width: 100%;
      height: auto;
      margin-bottom: 20px;
    }

    #top #map .contents {
      padding: 75px 0 45px;
    }

    #top #map .contents h2 {
      margin-bottom: 55px;
    }

    #top #map .contents h2 img {
      width: 90%;
      max-width: 650px;
    }

    #top #map .contents .flex {
      display: inherit;
    }

    #top #map .contents .flex .left {
      width: 92%;
      margin: 0 auto 30px;
      text-align: center;
    }

    #top #map .contents .flex .left img {
      width: 100%;
      max-width: 500px;
    }

    #top #map .contents .flex .right {
      width: 100%;
      display: flex;
      padding: 0;
    }

    #top #map .contents .flex .right ul {
      width: 50%;
      padding:  0 4%;
    }

    #top #map .contents .flex .right ul li{
      padding-left: 1em;
      text-indent: -1em;
      color: #0086d1;
      margin-bottom: 10px;
    }
    #top #map .contents .flex .right ul li span{
      color: #231815;
    }
    #top #map .contents .flex .right ul li span{
      line-height: 1.2;
      padding-bottom: 10px;
      display: block;
      text-indent: 0em;
    }
  /* #second ---------------------------------------------------------------- */
    #second {
      padding: 40px 0;
    }

    /*かわち野福祉会について*/
    #about #message .contents p {
      padding: 0;
    }
  
    #about #message .contents .flex {
      display: block;
    }

    #about #message .contents  .flex img {
      width: 50%;
      max-width: 350px;
      min-width: 250px;
      float: right;
      margin:20px 0 0;
    }

    /*事業所一覧*/

    #offiece_list ul li{
      width: 42%;
      margin: 0 2% 40px;
    }
  
    @media screen and (max-width: 600px) {
    /* 600px以下に適用されるCSS（スマホ用） */
      #offiece_list ul li{
        width: 100%;
        margin: 0 2% 40px;
      }
    }
  

    /* #third ---------------------------------------------------------------- */
    #third {
      padding: 40px 0 0;
    }
    #third img {
      margin:0 auto 10px;
    }
   @media screen and (max-width: 600px) {
      /* 600px以下に適用されるCSS（スマホ用） */
      #third img {
        display: block;
        text-align: center;
        max-width: 100%;
        height: auto;
        margin:0 auto;
      }
    }
    /*事業所詳細*/
    #office {
      padding-bottom: 40px;
    }

    #office .flex {
      display: flex;
      justify-content: space-between;
      margin-bottom: 30px;
    }

    #office .flex.m0 {
      margin-bottom: 30px;
    }

    #office .img {
        width: 100%;
    }

    #office_list {
      padding: 40px 0 0;
    }

    #office_list .contents {
      padding-bottom: 40px;
    }

    #office_list h2 {
      margin-bottom: 20px;
    }

    /* #fourth-------------------------------------------------------------- */
    #fourth {
      padding: 40px 0 0;
    }

    #fourth h2 {
      margin-bottom: 40px;
    }

    #fourth .flex {
      display: block;
    }

    #fourth .flex img {
      width: 100%;
      height: auto;
    }

    #fourth .flex .btn {
      display: block;
      margin: 0 auto 20px;
    }

    #fourth .flex.first {
      margin-bottom: 40px;
    }

    #fourth .flex.first .left {
      width: 100%;
      margin-bottom: 1.5vw;
    }

    #fourth .flex.first .right {
      width: 100%;
      align-items: center;
      justify-content: space-between;
    }

    #fourth .flex.first .right img {
      width: 49%;
      height: auto;
    }

    #fourth .flex.first .right img:first-child {
      margin-bottom: 0px;
    }

    #fourth .flex.second {
      margin-bottom: 2em;
      display: block;
    }

    #fourth .flex.second .left {
      width: 100%;
      margin-bottom: 1em;
    }

    #fourth .flex.second .right {
      width: 100%;
    }

    #fourth .third {
      margin-bottom: 50px;
    }

    .pdf-link {
      font-size: 16px;
    }

    #fourth .fourth table {
      margin: 30px 0 40px;
    }

    #fourth .fifth .scroll {
      overflow:auto;
    }

    #fourth .fifth table {
      margin: 30px 0 40px;
    }


    #fourth .fifth .scroll table.tbl2  {
      white-space: nowrap;
    }

    .tbl {
      font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
      font-weight: bold;
      width: 100%;
    }
    .tbl th {
      display: block;
      width: 100%;
    }
    .tbl td {
      display: block;
      width: 100%;
    }

    .tbl2 {
      font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
      font-weight: bold;
      width: 100%;
    }
    .tbl2 th {
      display:table-cell;
      width: auto;
    }
    .tbl2 td {
      display:table-cell;
      width: auto;
    }

    #facility_detail {
      padding: 40px 0 0;
      background: #f0ecdd; 
    }

    #facility_detail .contents {
      padding-bottom: 60px;
    }

    #facility_detail .flex {
      display: block;
    }

    #facility_detail .flex .left {
      width: 100%;;
    }

    #facility_detail .flex .left ul li img {
      width:30px;
    }

    #facility_detail .flex .right {
      width: 100%;
      padding-left: 0;
    }
  
    #facility_detail .flex .right .map iframe {
      left: 0  !important;
      width: 100%  !important;
      height: 100%  !important;
    }

    #fourth #news  {
      padding: 40px 0 40px; 
    }

    #fourth #news .contents {
      margin-bottom: 70px;
    }

    #fourth #news .contents h3 {
      padding: 0;
      border-left: solid 0px #f39800;/*左線*/}

    #fourth #news .contents dl {
      width: 100%;
      padding: 0 10px;
    }

    #fourth #empty  {
      padding: 40px 0 40px; 
    }

    #fourth #empty .contents {
      margin-bottom: 70px;
    }

    #fourth #empty .contents h3 {
      padding: 0;
      border-left: solid 0px #f39800;/*左線*/}

    #fourth #empty .contents dl {
      width: 100%;
      padding: 0 10px;
    }
  
    #fourth #seniorhousing02 .flex div {
      padding: 0;
    }
  
    #fourth #seniorhousing02 .flex div iframe {
      width: 100%;
    }
  
    @media screen and (max-width: 600px) {
    /* 600px以下に適用されるCSS（スマホ用） */

      #office .flex {
        display:inherit;
      }

      #office .flex .left {
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
      }

      #office .flex .right {
        width: 100%;
      }

      #office_list .flex {
        display:inherit;
      }

      #office_list .flex .left {
        width: 100%;
        margin-bottom: 20px;
      }

      #office_list .flex .right {
        width: 100%;
        padding-left: 0;
      }


      #office_list .flex .right .btn02 {
        display: table;
        text-align: center;
        margin: 0 auto;
      }

    }

  
  
    .wp-pagenavi {
      font-size: 14px;
    }
  
    .wp-pagenavi .page {
      width: 28px;
      height: 28px;
      line-height: 28px;
    }
  
    .wp-pagenavi .current {
      width: 28px;
      height: 28px;
      line-height: 28px;
    }
    .wp-pagenavi .nextpostslink {
      width: 28px;
      height: 28px;
      line-height: 20px;

    }
  

  /* #form ---------------------------------------------------------------- */
    #form {
      width: 100%;
    }

    #form p.text {
      margin-bottom: 20px;
    }

    #form table {
      width: 100%;
      margin-bottom: 20px;
    }

    #form table th {
      display: block;
      width:100%;
      padding: 3px 0 10px;
    }

    #form table th span {
      margin-right: 0px;
      padding: 7px 2%;
      white-space: nowrap;
    }
    #form table th i  {
      color: #FF0000;
      font-style: normal;
    }

    #form table td  {
      display: block;
      width:100%;
      font-size: 14px;
      padding-bottom: 10px;
    }

    #form table td input,#form table td textarea  {
      border: 1px solid #F3981E;
      padding: 8px 1rem;
      width: 100%;
      box-sizing: border-box;
      border-radius: 10px;
    }

    #form table td input::placeholder {
      color: #ccc;
    }
  
    #form table td.check {
      padding: 12px 0;
    }
  
    #form table tr .mwform-radio-field {
      display: ruby;
      width: 48%;
      padding-left: 0em;
    }

    #form table td textarea {
      height: 200px;
    }
  
  /* #policy ---------------------------------------------------------------- */
    #policy {
    }

    #policy h3 {
        margin: 30px 0;
      padding-left: 20px;
    }

    #policy h4 {
      padding: 0;
      font-size: 14px;
      margin: 1em 0;
    }
  
    #policy p {
      padding: 0 4%;
    }

}


@media screen and (max-width: 400px) {
	  /* 400px以下に適用されるCSS（スマホ用） */
  
    #top #map .contents .flex .right {
      width: 100%;
      display: inherit;;
      padding: 0;
    }

    #top #map .contents .flex .right ul {
      width: 100%;
      padding:  0 4%;
    }
}