﻿@charset "UTF-8";
/*
Theme Name: 野村病院 白岩川有料老人ホーム
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600&family=Noto+Serif+JP:wght@300;500&display=swap');


body {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
	font-size: 15px;
	color: #333;
}

body.home::before {
  position: fixed;
  top: 0;
  left: 0;
  z-index:-1;
  width: 100%;
  height: 100vh;
  content: "";
  background-image: url("images/first-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.serif {
  font-family: 'Noto Serif JP', serif;
}

.bg-theme {
  background: #CA5C85;
  color: #fff;
}

.bg-cream {
  background: #FAF8E4;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 150%;
  margin-top: 2em;
  margin-bottom: 1.5em;
}

h1 { font-size: 25px ; }
h2 { font-size: 20px ; }
h3 { font-size: 18px ; }
h4 { font-size: 17px ; }
h5 { font-size: 16px ; }
h6 { font-size: 15px ; }

@media (max-width: 768px) {
  h1 { font-size: 20px ; }
}

th {
  white-space: nowrap;
  width: 8em;
  text-align: right;
}

.btn {
  border-radius: 0;
  border: none;
  font-size: smaller;
}

.btn:hover {
  transition: filter 0.3s ease;
}

.btn-primary,
.btn-primary:active,
.btn-primary:focus {
  background: #CA5C85 !important;
  border: none;
}

.btn-primary:hover {
  background: #CA5C85;
  filter: contrast(1.2);
}

.no-gutters {
  margin:0;
  padding:0;
}
 
.no-gutters　> .col,
.no-gutters　> [class*="col-"] {
  margin:0;
  padding:0;
}

.header {
  padding: 0;
  position: fixed;
  font-size: 13px;
  font-weight: bold;
  background: #fff;
}

.page-header {
  background-size: cover;
  background-position: center center;
  margin-bottom: 6rem;
}

.page-header {
  background-size: cover;
  background-position: center center;
  margin-bottom: 6rem;
  min-height: 150px;
}

.page .page-header {
  min-height: 400px;
}

@media (max-width: 768px) {
  .page .page-header {
    min-height: 200px;
    margin-bottom: auto;
  }
}

.page-header div {
  overflow: visible;
}

.page-header h1 {
  margin-bottom: 0;
}

.page-header h1 span {
  padding: 3rem;
}

@media (max-width: 768px) {
  .page-header h1 span {
    padding: 1rem;
  }
}

.header a {
  color: #333;
}

.header .navbar-toggler {
  border: 1px solid #333;
  border-radius: 0;
}

.logo-mark img {
  height: 80px;
  width: auto;
}

.logo-text img {
  height: 50px;
  width: auto;
  padding-left: 10px;
}

.main {
  padding-bottom: 3rem;
  background: #fff;
}

body:not(.home) .main {
  margin-top: 70px;
  min-height: 80vh;
}

body:not(.home) .main h2 {
  padding: 1em;
  background: #eee;
}

body:not(.home) .main h3 {
  color: #CA5C85;
  border-left: solid 3px #CA5C85;
  padding-left: 1rem;
}

body:not(.home) .main p {
  line-height: 200%;
}

.main a {
  color: #333;
  text-decoration: underline;
}

.main a.btn {
  text-decoration: none;
}

.container {
  max-width: 1140px;
  height: auto;
  overflow: hidden;
}

body:not(.home) .container {
  max-width: 800px;
}

.footer {
  color: #333;
}

.footer a {
  color: #333;
}

.logo-text2 img {
  height: 100px;
}

.pagetop{
    display: none;
    position: fixed;
    right: 15px;
    bottom: 60px;
}

.pagetop a{
    display: block;
    font-size: 0;
    width: 50px;
    height: 50px;
    text-align: center;
    background: #CA5C85;
    border-radius: 50%;
    line-height: 50px;
}

.pagetop a i{
    font-size: 20px;
    color:#fff;
    line-height: 50px;
}

blockquote {
  background: #ffffec;
  padding: 1rem 3rem;
}

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

.home .first {
  height: 100vh;
}

/*
.first::after {
  content: '';
  display: block;
  width: 41px;
  height: 71px;
  background: url("images/scroll.png") no-repeat center center;
  background-size: contain;
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
}
*/
.first::after {
  content: '';
  display: block;
  position: absolute;
  left: 3rem;
  bottom: 3rem;
  width: 8px;
  height: 50px;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #fff;
  transform: skewY(-45deg);
}

.first .box {
  color: #fff;
  font-size: 25px;
  line-height: 200%;
}

@media (max-width: 768px) {
  .first .box {
    padding: 1em;
    color: #333;
    font-size: 23px;
    line-height: 200%;
    margin-top: 120px;
  }
}

.home .second {
  width: 100%;
  height: 100vh;
  background-image: url("images/second-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 768px) {
  .home .second {
    background-size: contain;
  }
}

.second .box {
  background: #fff;
  padding: 3rem;
  width: 400px;
  max-width: 400px;
}

.second .box strong {
  color: #CA5C85;
}


.news {
}

.news h4 {
  margin: 0;
}

.news ul {
  padding: 0;
}

.news li {
  list-style: none;
}

.news li a {
  color: #333;
  padding: 1em 2em;
  display: block;
  font-size: .9em;
  text-decoration: none;
}

.news li a:hover {
  text-decoration: none;
}

.news li:nth-child(odd) {
  background: #FAF8E4;
}

.news .date {
  display: inline-block;
  width: 9em;
  font-size: .9em;
  font-weight: 600;
}


.arrow::before {
  content: '';
  display: inline-block;
  width: 50px;
  height: 8px;
  border-bottom: 1px solid #333;
  border-right: 1px solid #333;
  transform: skew(45deg);
  margin-left: -40px;
  margin-right: 15px;
  margin-bottom: 3px;
}

.feature {
  font-size: .9em;
}

.feature .icon {
  line-height: 90px;
}

.pickup .row>div {
  padding: 2em 0;
}

.pickup .bg-photo {
  background-size: cover;
  background-position: center center;
  min-height: 200px;
}

@media (min-width: 768px) {
  .pickup .bg-photo {
    border-top: solid 2rem #fff;
  }
  
  .pickup .bg-cream {
    border-top: solid 2rem #CA5C85;
    border-bottom: solid 2rem #fff;
  }  
}


.map {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
}
.map iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}




