@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: #403B94;
  text-decoration: none;
  transition: color 1s;
  word-break: break-all;
}

a:visited {
  color: #403B94;
}

a:hover {
  color: #ccc;
}

.lazyload,
.lazyload-img {
  opacity: 0;
  transition: opacity 2s;
}

.lazyloaded {
  opacity: 1 !important;
}

img {
  max-width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th, td {
  padding: 10px;
  border: solid 1px #ccc;
}

.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 {
 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;
  transition: opacity 3s;
}

.page-top-image .page-h1 {
  color: #fff;
  text-shadow: 4px 4px 4px #000;
}

.page-top-image-news {
  height: 25vw;
  background-position: center top 45%;
}

.page-top-image-news .page-h1 {
  color: #fff;
}

.page-top-image-index-news {
  height: 25vw;
  background-position: center top 45%;
}

.page-top-image-index-news .page-h1 {
  color: #fff;
}

.page-top-image-company {
  height: 30vw;
  background-position: center top 50%;
}

.page-top-image-contact {
  height: 26vw;
  background-position: center bottom 5%;
}

.page-top-image-404 {
  height: 25vw;
  background-position: center top 45%;
}

.page-h1 {
 font-size: 50px;
 font-weight: 600;
 color: #000;
 font-family: 'Noto Serif JP', serif;
}

.page-h2 {
 font-size: 36px;
 color: #000;
 font-weight: 400;
 margin-bottom: 40px;
}

.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;
}

.mb-20 {
  margin-bottom: -20px;
}

.mb-30 {
  margin-bottom: -30px;
}

.mb-40 {
  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;
}

.icon-img {
  display: inline-block;
  height: 20px;
  margin-right: 4px;
  margin-bottom: -4px;
}

.apng-ie {
  display: none;
}
.apng-other {
  display: block;
}

.youtube {
  position: relative;
  padding-bottom: 56.25%;
  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%;
}

.grecaptcha-badge {
  visibility: hidden;
}

@media all and (-ms-high-contrast: none) {
  .apng-ie {
    display: block;
  }
  .apng-other {
    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-nav {
    display: block;
    text-align: center;
    list-style: none;
    margin-left: 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;
  }
}

@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 8px;
    font-size: 13px;
    line-height: 13px;
  }

  .page-nav-item-b {
    border-right: 1px solid #aaa;
  }

  .page-nav a {
    color: #3E3A39;
    transition: color 0.5s, background-color 0.5s;
    padding: 0 2px;
  }

  .page-nav a:visited {
    color: #3E3A39;
  }

  .page-nav a:hover {
    color: #fff;
    background-color: #dfdfdf;
  }
}


/*******************
 * 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;
  margin-right: 40px;
}

#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);
}

#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) {
  #header-logo {
    float: left;
    padding: 12px 0 10px 10px;
  }

  #header-logo img {
    max-width: calc(100% - 60px);
    max-height: 40px;
  }

  #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-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 5s;
}

#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 {
}

.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;
  transition: background-color 0.8s, border 0.8s;
}

.front-page-btn {
  color: #000;
}

.front-page-btn:hover {
  background-color: #403b94;
  border: 1px solid #403b94;
  color: #fff;
}

.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;
}

a.front-business-part {
  color: #000;
}

.front-business-part h3 {
  font-size: 32px;
  font-weight: 400;
  border-bottom: 1px solid #dfdfdf;
  display: inline-block;
}

@media (min-width: 0) and (max-width: 767px) {
  #main-top-image {
    background-position: bottom right -430px;
  }

  #company-slogan {
    font-size: 26px;
    left: 3%;
  }

  .front-business-part {
    margin-bottom: 40px;
    display: block;
  }

  .front-business-part-image-l,
  .front-business-part-image-r {
    min-height: 230px;
  }

  .front-business-part-image-l img,
  .front-business-part-image-r img {
    width: 100%;
  }
}

@media screen and (min-width:767px) {
  .front-business-part {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .front-business-part-mb {
    margin-bottom: -40px;
  }

  .front-business-part-zi {
    z-index: 2;
  }

  .front-business-part-image-l,
  .front-business-part-image-r {
    width: 60%;
    min-height: 350px;
  }

  .front-business-part-image-l {
    order: 1;
  }

  .front-business-part-image-r {
    order: 2;
  }

  .front-business-part-image-l img,
  .front-business-part-image-r img {
    width: 100%;
    vertical-align: top;
  }

  .front-business-part-text-r,
  .front-business-part-text-l {
    width: 40%;
    height: 100%;
    padding: 20px;
  }

  .front-business-part-text-r {
    order: 2;
  }

  .front-business-part-text-l {
    order: 1;
    text-align: right;
  }
}

/*******************
 * 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;
  }
}

/*******************
 * business
 *******************/
.business-products-part-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.business-products-part-75 {
  width: 75%;
}

.business-products-part-50 {
  width: 50%;
}

.business-products-part-33 {
  width: 33%;
}

.business-products-part-25 {
  width: 25%;
}

.business-products-part-image {
  min-height: 200px;
}

.business-products-part-name {
  text-align: center;
}

.business-design-img-part {
  position: relative;
}

.business-design-img {
  min-height: 400px;
}

.business-design-img-part-text {
  position: absolute;
  top:0;
  left:0;
}

@media (min-width: 0) and (max-width: 767px) {
  .business-products-part-image {
    min-height: 100px;
  }

  .business-design-img {
    min-height: 200px;
  }
}

/*******************
 * contact
 *******************/
.contact-form-must {
  color: #4169e1;
}

 .contact-form-item {
 }

 .contact-form-label {
 }

 .contact-form-input {
 }

 .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 .wpcf7-radio 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;
  }
}
