@charset "utf-8";
/*
Theme Name : シンリョウコーポレートサイト
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

body {
  line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display:block;
}

nav ul {
  list-style:none;
}

blockquote, q {
  quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}

a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

/* change colours to suit your needs */
ins {
  background-color:#ff9;
  color:#000;
  text-decoration:none;
}

/* change colours to suit your needs */
mark {
  background-color:#ff9;
  color:#000;
  font-style:italic;
   font-weight:600;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom:1px dotted;
  cursor:help;
}

table {
  border-collapse:collapse;
  border-spacing:0;
}

/* change border colour to suit your needs */
hr {
  display:block;
  height:1px;
  border:0;
  border-top:1px solid #cccccc;
  margin:1em 0;
  padding:0;
}

input, select {
  vertical-align:middle;
}

/*******************
 * common
 *******************/
body {
 color: #000;
 color: #3E3A39;
 font-size: 16px;
 line-height: 1.8;
 font-family: YakuHanJP, 'Noto Serif JP', serif;
 background-color: #FFF;
}

a {
  color: #403BB5;
  text-decoration: underline;
  transition: color 1s;
  word-break: break-all;
}

a:visited {
  color: #403BB5;
  text-decoration: underline;
}

a:hover {
  color: #ccc;
}

.a-text {
  color: #403BB5;
  text-decoration: underline;
  margin-top: 20px;
  margin-bottom: 40px;
}

.a-text:hover {
  color: #ccc;
}

.lazyload,
.lazyload-img {
  opacity: 0;
  transition: opacity 2s;
}

.lazyloaded {
  opacity: 1 !important;
  transition: opacity 2s;
}

img {
  max-width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th, td {
  padding: 10px;
  border: solid 1px #ccc;
}

iframe {
  max-width: 100%;
}

.news-list {
 /* border-top: 1px solid #dfdfdf; */
}

.news-list a {
 color: #000;
     color: #3E3A39;
 text-decoration: none;
}

.news-list a:hover {
 text-decoration: underline;
}

.news-list a:visited {
 color: #000;
     color: #3E3A39;
}

.news-list-item {
 font-size: 16px;
 /* border-bottom: 1px solid #dfdfdf; */
 background-color: #fff;
 transition: background-color 1s;
 position: relative;
}

.news-list-item:hover {
 background-color: #f3f3f3;
}

.news-list-item a {
 display: flex;
 padding: 20px 10px;
}

.news-list-item a:hover {
 color: #4393A3;
 text-decoration: underline;
}

.news-list-item-date {
 font-family: 'Montserrat', sans-serif;
 width: 100px;
 margin-right: 20px;
}

.news-list-item-title {
 width: calc(100% - 120px);
}

.news-list-item::after {
  content: "";
  display: block;
  width: 100%;
  background-image: linear-gradient(90deg, #D3D4DC, #D3D4DC 62%, transparent 62%, transparent 100%);
  background-size: 8px 1px;
  height: 1px;
  bottom: 0;
  left: 0;
  position: absolute;
}

.page-top-image {
  height: 25vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center bottom 17%;
  background-size: cover;
  overflow: hidden;
  margin-bottom: 80px;
  opacity: 0;
  transition: opacity 3s;
}

.page-top-image-news {
  height: 25vw;
  background-position: center top 33%;
}

.page-top-image-index-news {
  height: 25vw;
  background-position: center top 33%;
}

.page-top-image-company {
  height: 25vw;
  background-position: center top 65%;
}

.page-top-image-medical {
  height: 25vw;
  background-position: center top 30%;
}

.page-top-image-open {
  height: 25vw;
  background-position: center top 55%;
}

.page-top-image-index-open {
  height: 25vw;
  background-position: center top 48%;
}

.page-top-image-property,
.page-top-image-index-property {
  position: relative;
  height: 25vw;
  background-position: center top 43%;
}

.page-top-image-property .page-h1,
.page-top-image-index-property .page-h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.page-top-image-property-logo {
  display: block;
  position: absolute;
  top: 70px;
  left: 26px;
  height: 44px;
}

.page-top-image-san-esu {
  height: 25vw;
  background-position: center top 30%;
}

.page-top-image-san-esu h1 {
}

.page-top-image-index-san-esu {
  height: 25vw;
  background-position: center top 47%;
}

.page-top-image-contact {
  height: 25vw;
  background-position: center top 30%;
}

.page-top-image-reform {
  height: 25vw;
  background-position: center top 70%;
}

.page-top-image-reform h1 {
}

.page-top-image-index-reform {
  height: 25vw;
  background-position: center top 47%;
}

.page-top-image-reform-cleaning {
  height: 25vw;
  background-position: center top 40%;
}

.page-top-image-reform-signboard {
  height: 25vw;
  background-position: center top 35%;
}

.page-top-image-reform-signboard h1 {
}

.page-top-image-reform-curtain {
  height: 25vw;
  background-position: center top 10%;
}

.page-top-image-reform-led {
  height: 25vw;
  background-position: center bottom;
}

.page-top-image-reform-air-conditioner {
  height: 25vw;
  background-position: center top 40%;
}

.page-top-image-reform-door {
  height: 25vw;
  background-position: center top 35%;
}

.page-top-image-reform-toilet {
  height: 25vw;
  background-position: center bottom 30%;
}

.page-top-image-reform-floor {
  height: 25vw;
  background-position: center bottom;
}

.page-top-image-reform-wall {
  height: 25vw;
  background-position: center top 30%;
}

.page-top-image-reform-counter {
  height: 25vw;
  background-position: center bottom 0px;
}

.page-top-image-reform-partition {
  height: 25vw;
  background-position: center bottom 5%;
}

.page-top-image-reform-parking {
  height: 25vw;
  background-position: center top 45%;
}

.page-top-image-reform-exterior {
  height: 25vw;
  background-position: center bottom;
}

.page-top-image-reform-other {
  height: 25vw;
  background-position: center top 35%;
}

.page-top-image-reform-apartment {
  height: 25vw;
  background-position: center top 50%;
}

.page-top-image-it {
  height: 25vw;
  background-position: center top 35%;
}

.page-top-image-it h1 {
}

.page-top-image-index-it {
  height: 25vw;
  background-position: center top 50%;
}

.page-top-image-column {
  height: 25vw;
  background-position: center bottom 20%;
}

.page-top-image-index-column {
  height: 25vw;
  background-position: center bottom 20%;
}

.page-top-image-media {
  height: 25vw;
  background-position: center top 55%;
}

.page-top-image-media h1 {
}

.page-top-image-index-other {
  height: 25vw;
  background-position: center top 0%;
}

.page-h1 {
 font-size: 50px;
 font-weight: 600;
 line-height: 1.2;
 color: #fff;
 text-shadow: 4px 4px 4px #000;
 font-family: 'Noto Serif JP', serif;
}

.page-h2 {
 font-size: 36px;
 color: #000;
 font-weight: 400;
 margin-bottom: 40px;
 line-height: 1.4;
}

.page-h3 {
  font-size: 24px;
  color: #000;
  font-weight: 400;
  margin-bottom: 20px;
  padding-bottom: 5px;
  display: inline-block;
}

.page-h3-ul {
  border-bottom: 1px solid #dfdfdf;
}

.page-h-ul {
  padding-bottom: 20px;
  border-bottom: 2px solid #dfdfdf;
}

.no-underline {
  border: none;
}

.list-table {
}

.list-table li {
 display: flex;
 list-style: none;
 padding: 15px 10px;
 border-bottom: 1px solid #dfdfdf;
}

.list-table li ul {
}

.list-table li .row-name {
 width: 30%;
}

.list-table li .row-value {
 width: 70%;
}

.wp-pagenavi {
  margin-top: 40px;
  text-align: center;
}

.wp-pagenavi {
	clear: both;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: 1px solid #BFBFBF;
	padding: 3px 5px;
	margin: 2px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	border-color: #000;
}

.wp-pagenavi span.current {
	font-weight: bold;
}

.wp-pagenavi span,
.wp-pagenavi a {
  margin: 2px 5px !important;
  padding: 3px 10px !important;
  display: inline-block !important;
}

.mtli_attachment {
  background-position: top 7px left !important;
}

p {
  margin-bottom: 20px;
}

ol,ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

.tar {
  text-align: right;
}

.tac {
  text-align: center;
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.mt40 {
  margin-top: 40px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb40 {
  margin-bottom: 40px;
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.mt40 {
  margin-top: 40px;
}

.fwb {
  font-weight: bold;
}

.fs17 {
  font-size: 17px;
}

.fs18 {
  font-size: 18px;
}

.fs19 {
  font-size: 19px;
}

.fs20 {
  font-size: 20px;
}

.fs21 {
  font-size: 21px;
}

.fs22 {
  font-size: 22px;
}

.lh15 {
  line-height: 1.5;
}

.cb {
  clear: both;
}

pre {
  overflow: scroll;
}

.contact-link {
  position: fixed;
  bottom: 10px;
  right: 10px;
  height: 200px;
  width: 200px;
  z-index: 10;
}

.contact-link-close {
  position: absolute;
  display: block;
  top: 0;
  right: 0;
  z-index: 11;
  cursor: pointer;
  font-size: 16px;
}

.bs {
  box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.35);
}

.youtube {
  position: relative;
  padding-bottom: 50.9%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 0) and (max-width: 1200px) {
  .contact-link {
    display: none;
  }
}

@media (min-width: 0) and (max-width: 767px) {
  body,header {
  }

  .page-h1 {
    font-size: 32px;
  }

  .page-h2 {
    font-size: 26px;
  }

  .page-h3 {
    font-size: 20px;
  }

  .list-table {
    margin-left: 0px;
  }

  .page-top-image {
    height: 50vh;
    margin-bottom: 40px;
    background-position: center top;
    position: relative;
  }

  .page-top-image h1 {
    text-align: center;
  }

  .page-top-image-company  h1 {
    position: absolute;
    top: 50%;
  }

  .page-top-image-san-esu h1 {
    position: absolute;
    top: 50%;
    color: #fff;
  }

  .page-top-image-index-reform {
    height: 40vh;
    background-position: right 44% top 0%;
  }

  .page-top-image-reform-signboard h1 {
    position: absolute;
    top: 55%;
  }

  .page-top-image-reform-floor h1 {
    position: absolute;
    top: 55%;
  }

  .page-top-image-reform-partition {
    background-position: center bottom;
  }
  .page-top-image-reform-partition h1 {
    color: #fff;
  }

  .page-top-image-reform-exterior {
    background-position: center bottom;
    background-size: 200%;
  }

  .page-top-image-property-logo {
    display: block;
    position: absolute;
    top: 70px;
    left: 10px;
    height: 40px;
  }

  .page-nav {
    display: block;
    text-align: center;
    list-style: none;
    margin-left: 0px;
    margin-bottom: 0px;
  }

  .page-nav li {
    display: inline-block;
    padding: 0 10px;
    font-size: 13px;
    line-height: 13px;
  }

  .page-nav-item-b {
    border-right: 1px solid #aaa;
  }

  .page-nav a {
    color: #3E3A39;
  }

  .page-nav a:visited {
    color: #3E3A39;
  }

  .wp-pagenavi span.current {
    display: block !important;
    width: 3em !important;
    margin: 10px auto !important;
  }

  .news-card {
    display: block;
    width: 100%;
    margin: 0 0 15px 0;
    border: 1px solid #ccc;
    box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.35);
  }

  .news-card-image {
    min-height: 200px;
    position: relative;
  }

  .news-card-image img {
    width: 100%;
    max-width: 200%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .youtube {
    margin-bottom: 20px;
    padding-bottom: 48.7%;
  }

  .banner-pc {
    display: none;
  }

  .banner-sp {
    display: block;
  }
}

@media screen and (min-width:767px) {
  body,header {
      min-width: 1100px;
  }

  .page-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin-left: 0px;
  }

  .page-nav li {
    padding: 0 7px;
    font-size: 13px;
    line-height: 13px;
  }

  .page-nav-item-b {
    border-right: 1px solid #aaa;
  }

  .page-nav a {
    color: #3E3A39;
  }

  .page-nav a:visited {
    color: #3E3A39;
  }

  .news-cards {
    display: flex;
    flex-wrap: wrap;
  }

  .news-card {
    display: block;
    width: 24%;
    margin: 5px;
    border: 1px solid #ccc;
    box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.35);
  }

  .news-card-image {
    min-height: 200px;
    position: relative;
  }

  .news-card-image img {
    width: 100%;
    max-width: 200%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .news-card-title {
    padding: 3px 5px;
  }

  .banner-pc {
    display: block;
  }

  .banner-sp {
    display: none;
  }
}


/*******************
 * header
 *******************/

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  //min-width: 1100px;
  height: 60px;
  background: rgba(255,255,255,0.5);
  z-index: 10;
  transition: background 0.5s;
}

header:after {
  content: "";
  clear: both;
  display: block;
}

header.scrolled,
header.header-hover {
  background: rgba(255,255,255,1);
}

#header-logo {
  float: left;
  padding: 10px 0 10px 25px;
}

#header-logo img {
  max-height: 40px;
}

#main-menu {
  float: right;
}

#main-menu ul {
  display: flex;
  list-style: none;
}

#main-menu li {
  padding: 20px 20px 20px 20px;
}

#main-menu ul a {
  color: #000;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  display: block;
  letter-spacing: 1.5px;
  position: relative;
}

#main-menu ul a:visited {
  color: #000;
}

#main-menu .sub-menu-wrapper {
  display: none;
  background: rgba(255,255,255,0.0);
  transition: background 0.5s;
  position: fixed;
  top: 40px;
  left: 0;
  width: 100%;
  height: 60px;
}

#main-menu .sub-menu {
  display:  flex;
  justify-content: flex-end;
  align-items:center;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: 40px;
  background: rgba(255,255,255,0.0);
  transition: background 0.5s;
  padding-right: 50px;
  padding-top: 5px;
  padding-bottom: 20px;
}

header.header-hover #main-menu .sub-menu {
  background: rgba(255,255,255,1);
}

#main-menu .sub-menu a {
  display: block;
  margin-right: 20px;
}

#main-menu-sp-btn {
  position: fixed;
  top: 0;
  right: 10px;
  width: 50px;
  height: 60px;
  text-align: center;
  font-size: 40px;
  line-height: 60px;
  display: none;
  z-index: 4;
}

#main-menu-sp-btn-close {
  display: none;
  color: #fff;
}

#main-menu-sp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease,visibility .8s ease;
  //box-sizing: border-box;
  //background: rgba(240,242,242,.95);
  background-color: #666666;
  color: #fff;
  padding: 29px 10px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 200;
}

#main-menu-sp a {
  color: #fff;
  text-decoration: none;
}

#main-menu-sp a:visited {
  color: #fff;
}

.main-menu-sp-item {
  font-weight: 400;
  margin-bottom: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid #aaa;
}

.main-menu-sp-sub-group {
  margin: 0 0 20px 60px;
}

@media (min-width: 0) and (max-width: 767px) {
  #main-menu {
    display: none;
  }
  #main-menu-sp-btn {
    display: block;
  }
}

@media screen and (min-width:767px) {
  header {
      min-width: 1100px;
  }
}


/*******************
 * footer
 *******************/

footer {
 min-height: 200px;
 background-color: #666666;
 color: #fff;
 padding: 20px 0 10px 0;
 font-family: "Noto Sans JP", sans-serif;
 font-size: 13px;
}

footer a {
  font-weight: 200;
}

#footer-menu {
 width: 900px;
 margin: 0 auto;
}

#footer-menu::after {
  content: "";
  clear: both;
  display: block;
}

#footer-menu a {
  color: #fff;
  text-decoration: none;
}

#footer-menu a:visited {
  color: #fff;
}

.footer-menu-group  {
  float: left;
  width: calc((100% - 60px) / 3);
  margin-left: 20px;
}

.footer-menu-item {
  margin-bottom: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid #aaa;
}

.footer-menu-sub-group {
  margin-top: -10px;
  padding-left: 20px;
}

.footer-menu-sub-item {
  margin-bottom: 5px;
}

#copy-right {
  margin-top: 10px;
  text-align: center;
}

@media (min-width: 0) and (max-width: 767px) {
  #footer-menu {
    width: 100%;
  }

  .footer-menu-group  {
    width: calc(100% - 40px);
  }
}

@media screen and (min-width:767px) {
}


/*******************
 * main
 *******************/

#main {
  min-height: 625px;
  margin: 0 auto;
}

.content {
  min-height: 500px;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 40px;
}

.content-front-page,
.content-news {
  font-family: YakuHanJP, 'Noto Sans JP',sans-serif;
}

.content-date {
  text-align: right;
}

@media (min-width: 0) and (max-width: 767px) {
  .content {
    padding: 0 8px;
  }
}

@media screen and (min-width:767px) {
}

/*******************
 * front page
 *******************/

#main-top-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center bottom;
  overflow: hidden;
  margin-bottom: 100px;
  transition: opacity 3s;
}

#company-slogan {
  position: absolute;
  top: 30%;
  left: 8%;
  color: #000;
  font-size: 38px;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
}

#photo-info {
  position: absolute;
  top: 15%;
  right: 3%;
  color: #000;
  font-size: 16px;
  font-weight: 400;
  font-family: 'Noto Serif JP', serif;
}

.content-part {
  margin-bottom: 60px;
  margin-top: -50px;
  padding-top: 50px;
}

.content-front-page .page-h2 {
  font-family: 'Heebo', 'Noto Serif JP', sans-serif;
}

.business-list {
  display: flex;
  flex-wrap: wrap;
}

.business-item {
  position: relative;
  width: 33%;
  height: 300px;
  color: #fff;
  text-decoration: none;
  background-size: cover;
  background-position: center bottom;
  transition: opacity 3s;
}

.business-item:visited {
   color: #fff;
}

.business-item-image {

}

.business-item-title-wrapper {
  display: flex;
  align-items: flex-end;
  height: 100%;
  transition: background-color .3s;
}

.business-item-title-wrapper:hover {
  background-color: rgb(70, 70, 90, 0.3);
}

.business-item-title-flex {
  width: 100%;
  height: 80px;
  background-color: rgba(70, 70, 90, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}

.business-item-title {
  font-size: 28px;
  font-weight: 400;
  font-family: 'Noto Sans JP', serif;
  color: #fff;
  line-height: 1.2;
  width: 100%;
  text-align: center;
}

.business-item-title::after {
  content: "";
  animation: move 2s ease-in-out infinite;
  text-align: right;
  float: right;
  padding-right: 20px;
}

a.front-page-btn {
  display: block;
  width: 200px;
  height: 55px;
  line-height: 52px;
  margin: 40px auto 0;
  text-align: center;
  position: relative;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  transition: background-color 0.8s, border 0.8s;
}

a.front-page-btn:hover {
  background-color: #403b94;
  border: 1px solid #403b94;
  color: #fff;
  text-decoration: none;
}

.mv-border {
  position: absolute;
  width: 100%;
  height: 100%;
  display: inline-block;
  padding: .5em 4em;
  border: 0px solid #403b94;
  color: #fff;
  text-align: center;
  text-decoration: none;
  outline: none;
  transition: all .2s;
}
.mv-border::before,
.mv-border::after,
.mv-border span::before,
.mv-border span::after {
  position: absolute;
  z-index: 2;
  content: '';
  width: 0;
  height: 0;
  border: 4px solid transparent;
  transition: all .3s;
  visibility: hidden;
  box-sizing: content-box;
}
.mv-border::before {
  top: 0px;
  left: 0px;
  border-left-color: #403b94;
}
.mv-border::after {
  bottom: 0px;
  right: 0px;
  border-right-color: #403b94;
}
.mv-border span::before {
  bottom: 0px;
  left: 0px;
  border-bottom-color: #403b94;
}
.mv-border span::after {
  top: 0px;
  right: 0px;
  border-top-color: #403b94;
}
.mv-border:hover {
  color: #403b94;
}
.mv-border:hover::before,
.mv-border:hover::after {
  height: calc(100% - 8px);
  visibility: visible;
}
.mv-border:hover span::before,
.mv-border:hover span::after {
  width: calc(100% - 8px);
  visibility: visible;
}

@media all and (-ms-high-contrast: none) {
  .mv-border {
    display:none;
    height: 0;
    width: 0;
  }
  .mv-border::before,
  .mv-border::after,
  .mv-border span::before,
  .mv-border span::after {
    display: none;
  }
  .mv-border::before {
    display:none;
  }
  .mv-border::after {
    display: none;
  }
  .mv-border span::before {
    display: none;
  }
  .mv-border span::after {
    display: none;
  }
  .mv-border:hover {
    display: none;
  }
  .mv-border:hover::before,
  .mv-border:hover::after {
    display: none;
  }
  .mv-border:hover span::before,
  .mv-border:hover span::after {
    display: none;
  }
}

.company-info {
  text-align: center;
}

.company-info-slogan {
  font-size: 24px;
  color: #000;
  font-weight: 400;
  line-height: 1.2;
}

.company-info-logo {
  margin: 20px 0 10px 0;
}

@media (min-width: 0) and (max-width: 767px) {
  #main-top-image {
    background-position: bottom right -430px;
  }

  #company-slogan {
    font-size: 26px;
  }

  .business-item {
    width: 100%;
  }

  .mv-border {
    display:none;
    height: 0;
    width: 0;
  }
  .mv-border::before,
  .mv-border::after,
  .mv-border span::before,
  .mv-border span::after {
    display: none;
  }
  .mv-border::before {
    display:none;
  }
  .mv-border::after {
    display: none;
  }
  .mv-border span::before {
    display: none;
  }
  .mv-border span::after {
    display: none;
  }
  .mv-border:hover {
    display: none;
  }
  .mv-border:hover::before,
  .mv-border:hover::after {
    display: none;
  }
  .mv-border:hover span::before,
  .mv-border:hover span::after {
    display: none;
  }
}

@media screen and (min-width:767px) {
}

/*******************
 * company
 *******************/
 .company-office-list {
   padding: 0;
   margin: 0;
 }

@media (min-width: 0) and (max-width: 767px) {
  .company-office-list li {
    list-style: none;
    padding: 15px 0px;
    border-bottom: 1px solid #dfdfdf;
  }

  .company-office-list-img img {
    width: 100%;
  }
}

@media screen and (min-width:767px) {
  .company-office-list li {
    list-style: none;
    padding: 15px 10px;
    border-bottom: 1px solid #dfdfdf;
  }

  .company-office-list li::after {
    content: "";
    display: block;
    clear: both;
  }

  .company-office-list-img {
    float: left;
    width: 30%;
  }

  .company-office-list-img img {
    width: 100%;
  }

  .company-office-list-info {
    float: right;
    width: 70%;
    padding: 15px;
  }
}

/*******************
 * medical / open
 *******************/
.medical-amenity-part,
.medical-azukari-part {
  margin-bottom: 20px;
}

.medical-reform-part-wrapper,
.medical-it-part-wrapper,
.medical-kansentaisaku-part-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.medical-reform-part {
  width: 14%;
}

.medical-it-part {
  width: 12%;
}

.medical-kansentaisaku-part {
  width: 16%;
}

.medical-tasukaru-part::after {
  content: '';
  display: block;
  clear: both;
}

.medical-tasukaru-part {
  padding: 20px 0 20px 0;
  border-bottom: 1px solid #dfdfdf;
}

.medical-tasukaru-part h3 {
  font-size: 20px;
  border-bottom: 1px solid #dfdfdf;
  display: inline-block;
  margin-bottom: 10px;
}

.open-part {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.open-part-text {
  width: 80%;
}

.open-flow-image {
  text-align: center;
}

.open-about-list li {
  list-style: none;
  position: relative;
  margin-left: 1.5em;
}

.open-about-list li::before {
  content: "□";
  position: absolute;
  left: -1.2em;
  color: #3E3A39;
}

@media screen and (max-width:767px) {
  .medical-reform-part,
  .medical-it-part,
  .medical-kansentaisaku-part {
    width: 32%;
  }

  .medical-tasukaru-part {
    margin-bottom: 25px;
  }

  .medical-tasukaru-part-image-l img,
  .medical-tasukaru-part-image-r img {
    width: 100%;
  }

  .medical-tasukaru-part-image-l,
  .medical-tasukaru-part-image-r {
    min-height: 100px;
  }

  .open-flow-image img {
    min-height: 100px;
  }
}

@media screen and (min-width:767px) {
  .medical-tasukaru-part-image-l {
    width: 50%;
    float: left;
  }

  .medical-tasukaru-part-image-r {
    width: 50%;
    float: right;
  }

  .medical-tasukaru-part-image-l img,
  .medical-tasukaru-part-image-r img {
    width: 100%;
    vertical-align: top;
  }

  .medical-tasukaru-part-image-l,
  .medical-tasukaru-part-image-r {
    min-height: 280px;
  }

  .medical-tasukaru-part-text-r {
    width: 50%;
    padding: 20px;
    float: right;
  }

  .medical-tasukaru-part-text-l {
    width: 50%;
    padding: 20px;
    float: left;
  }

  .open-flow-image img {
    min-height: 600px;
  }
}

/*******************
 * reform
 *******************/
a.reform-about-part{
  display: block;
  color: #000;
}

.reform-about-part::after,
.reform-news-part::after,
.open-about-part::after,
.it-about-part::after,
.san-esu-part::after {
  content: '';
  display: block;
  clear: both;
}

.reform-about-part h3,
.reform-news-part h3,
.open-about-part h3,
.it-about-part h3,
.san-esu-part h3 {
  font-size: 24px;
  border-bottom: 1px solid #dfdfdf;
  display: inline-block;
  margin-bottom: 10px;
}

@media (min-width: 0) and (max-width: 767px) {
  .reform-about-part,
  .reform-news-part,
  .open-about-part,
  .it-about-part,
  .san-esu-part {
    margin-bottom: 40px;
  }

  .reform-about-part-image-l,
  .reform-about-part-image-r,
  .reform-news-part-image-l,
  .reform-news-part-image-r,
  .reform-news-part-image-h,
  .san-esu-part-image-l,
  .san-esu-part-image-r {
    min-height: 210px;
  }

  .open-about-part-image-l,
  .it-about-part-image-l,
  .open-about-part-image-r,
  .it-about-part-image-r {
    min-height: 130px;
  }

  .reform-about-part-image-l img,
  .reform-about-part-image-r img,
  .reform-news-part-image-l img,
  .reform-news-part-image-r img,
  .reform-news-part-image-h img,
  .open-about-part-image-l img,
  .open-about-part-image-r img,
  .it-about-part-image-l img,
  .it-about-part-image-r img,
  .san-esu-part-image-l img,
  .san-esu-part-image-r img {
    width: 100%;
  }

}

@media screen and (min-width:767px) {
  .reform-news-part,
  .open-about-part,
  .it-about-part,
  .san-esu-part {
    margin-bottom: 20px;
  }

  .reform-about-part-image-l,
  .reform-news-part-image-l,
  .open-about-part-image-l,
  .it-about-part-image-l,
  .san-esu-part-image-l {
    width: 50%;
    float: left;
  }

  .reform-about-part-image-l img,
  .reform-news-part-image-l img,
  .open-about-part-image-l img,
  .it-about-part-image-l img,
  .san-esu-part-image-l img {
    width: 100%;
    vertical-align: top;
  }

  .reform-about-part-image-r,
  .reform-news-part-image-r,
  .open-about-part-image-r,
  .it-about-part-image-r,
  .san-esu-part-image-r {
    width: 50%;
    float: right;
  }

  .reform-about-part-image-r img,
  .reform-news-part-image-r img,
  .open-about-part-image-r img,
  .it-about-part-image-r img,
  .san-esu-part-image-r img {
    width: 100%;
    vertical-align: top;
  }

  .reform-about-part-image-l,
  .reform-about-part-image-r,
  .reform-news-part-image-l,
  .reform-news-part-image-r,
  .open-about-part-image-l,
  .open-about-part-image-r,
  .it-about-part-image-l,
  .it-about-part-image-r {
    min-height: 310px;
  }

  .san-esu-part-image-l,
  .san-esu-part-image-r {
    min-height: 210px;
  }

  .reform-about-part-image-partition {
    min-height: 294px;
  }

  .reform-about-part-text-r,
  .reform-news-part-text-r,
  .open-about-part-text-r,
  .it-about-part-text-r,
  .san-esu-part-text-r {
    width: 50%;
    padding: 20px;
    float: right;
  }

  .reform-about-part-text-l,
  .reform-news-part-text-l,
  .open-about-part-text-l,
  .it-about-part-text-l,
  .san-esu-part-text-l {
    width: 50%;
    padding: 20px;
    float: left;
  }

  .san-esu-part-image-r,
  .san-esu-part-image-l {
    width: 35%;
  }

  .san-esu-part-text-r,
  .san-esu-part-text-l {
    width: 65%;
  }

  .san-esu-image-media {
    width: 60%;
  }

  .reform-news-part-image-h {
    padding-right: 5px;
    margin-bottom: 10px;
    width: 50%;
    float: left;
  }

  .reform-news-part-image-h img {
    width: 100%;
  }
}

/*******************
 * contact
 *******************/
.contact-form-must {
  color: #4169e1;
}

.contact-form-item {
}

.contact-form-label {
}

.contact-form-input {
}

.contact-form-input-group {
  margin-bottom: 14px;
}

.contact-form-input input,
.contact-form-input textarea {
  border: 1px solid #ccc;
  background-color: #f0f8ff;
  padding: 10px 10px;
  width: 100%;
}

.contact-form-input input[type="checkbox"],
.contact-form-input input[type="radio"] {
  width: auto;
}

.contact-form-input input[type="radio"] {
  width: auto;
  position: relative;
  top: -3px;
}

.contact-form-input input[type="checkbox"] {
  width: auto;
  position: relative;
  top: -2px;
}

.contact-form-input .wpcf7-radio label,
 .contact-form-input .wpcf7-checkbox label {
  white-space: nowrap;
  display: inline-block;
  margin: 0 1em 0 0;
}

.wpcf7-list-item {
  margin: 0 !important;
}

.contact-form-input input[type="submit"] {
  display: block;
  width: 200px;
  height: 55px;
  line-height: 52px;
  margin: 40px auto 0;
  padding: 0;
  text-align: center;
  position: relative;
  border: 1px solid #000;
  color: #000;
  font-size: 20px;
  font-family: 'Noto Serif JP',sans-serif;
  transition: background-color 0.8s, border 0.8s;
}

.contact-form-input input[type="submit"]:hover {
  background-color: #403b94;
  border: 1px solid #403b94;
  color: #fff;
}

@media (min-width: 0) and (max-width: 767px) {
}

@media screen and (min-width:767px) {
  .contact-form-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }

  .contact-form-label {
    width: 300px;
    text-align: right;
    padding-right: 20px;
  }

  .contact-form-input {
    width: 700px;
  }
}

/*******************
 * property
 *******************/
.property-list-banner {
  display: inline-block;
  max-width: 544px;
  margin-bottom: -24px;
  margin-left: 24px;
}

.property-list-banner-kyushu {
  max-width: 490px;
}

@media (min-width: 0) and (max-width: 767px) {
  .property-list-banner {
    display: block;
    max-width: 100%;
    margin: 10px 0 0 0;
  }

  .property-list-banner-kyushu {
    max-width: 100%;
  }
}
