@charset "utf-8";

body {
  font-family: 'Sawarabo Moncho',serif;
  font-size: 16px;
  line-height: 1.5;
  color: #2c2c2c;
}
img {
  max-width: 100%;
}
.topPage header {
  height: 90vh;
  background: url(../images/naikan_living.jpg) no-repeat center top/cover;
  padding-top: 50px;
  margin-bottom: 64px;
}
.topPage header h1 {
  font-size: 30px;
  color: #fff;
  text-align: left;
  margin-left: 30px;
}
.message {
  color: #fff;
  font-size: 50px;
  writing-mode: vertical-rl;
  margin: 30px auto ;
  text-shadow:2px 2px rgba(0, 0, 0, 0.5);
}
.linkList {
  padding: 0 20px;
}
.linkList li {
  margin-bottom: 40px;
}
.linkList li a {
  display: block;
  background-color: #f5f5f5;
}
.linkList li a span {
  display: block;
  padding: 12px 15px 10px;
  font-size: 18px;
}
.linkList li a:hover {
  filter: brightness(120%);
}
.linkList li img bottoms {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.subPage header {
  border-top: 14px solid #f5f5f5;
  padding-top: 40px;
  margin-bottom: 30px;
}
.subPage header h1 {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.subPage header h1 span {
  background-image: linear-gradient(135deg,#e6ba5d 0%,#9ac78a 100%);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* li:nth-of-type(2),
li:nth-of-type(3) {
  height: 200px;
}
 */
.subPage h1 {
  font-size: 50px;
  font-weight: 700;
  text-align: center;
}
.subPage img {
  margin: 0 auto;
}

.subPage h2 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .17em;
  margin-bottom: 10px;
}
.subPage .lead {
  text-align: center;
  margin-bottom: 30px;
  font-size: 11px;
  letter-spacing: .05em;
  line-height: 2;
}
.subPage h3 {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}
.subPage main {
  padding: 0 20px;
}
footer {
  background-color: #666;
  height: 120px;
}
footer p {
  background-color: #f5f5f5;
}
footer p img {
  width: 188px;
  /* transform: translateY(-28px); */
}
.conceptDetailSec p img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  object-position: center 90%;
}
.conceptDetailSec .text {
  font-size: 12px;
  line-height: 1.78;
}
.conceptDetailSec {
  margin-bottom: 50px;
}
.conceptDetailSec .photo {
  margin-bottom: 14px;
}
.menuList {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.menuList li {
  flex-basis: 42%;
  margin-bottom: 28px;
}
.menuList li img {
  filter: drop-shadow(1px 2px 3px #dddddd);
}
.menuDetailSec {
  margin-bottom: 50px;
}
.jitureiSec ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.jitureiSec ul li {
  width: 450px;
}
.jitureiSec img {
  width: 400px;
  height: 280px;
  object-fit: cover;
  object-position: center 35%;
}
.jiturei1 li a:hover {
  filter: brightness(120%);
}

.map iframe {
  width: 100%;
  height: 240px;
  margin-bottom: 8px;
}
.map {
  font-size: 12px;
  margin-bottom: 60px;
}
.photoGarelly {
  display: grid;
  grid-template-rows: 40vw 30vw;
  grid-template-columns: 50% 50%;
}
.item01 {
  grid-row-start: 1;
  grid-row-end: 2;
  grid-column-start: 1;
  grid-column-end: 3;
}
.item02 {
  grid-row: 2 / 4;
  grid-column: 1 / 2;
}
.item03 {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}
.item04 {
  grid-row: 3 / 4;
  grid-column: 2 / 3;
}
.photoGarelly li img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}
.contactSec table {
  width: 100%;
}

/* 問い合わせ */
@media screen and (min-width: 920px) {
  .pc-only {
    display: block;
  }
  .sp-only {
    display: none;
  }
  .topPage {
    display: flex;
  }
  .topPage header {
    flex-basis: 38%;
  }
  .topPage main {
    flex-basis: 62%;
  }
  .linkList {
    display: flex;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    justify-content: space-around;
  }
  .linkList li {
    flex-basis: 47%;
    margin-bottom: 20px;
  }
  .linkList::before {
    content: "";
    width: 47%;
    background: url(../images/logo2.svg) no-repeat center center/72%;
  }
  .topPage main {
    display: flex;
    align-items: center;
  }
  .topPage header {
    height: 100vh;
    margin-bottom: 0;
  }
.subPage main {
    max-width: 1280px;
    margin: 0 auto;
  }
.subPage header h1 {
    font-size: 60px;
  }
  .onlySP {
    display: none;
  }
.subPage h2 {
    font-size: 34px;
    margin-bottom: 15px;
  }
.subPage .lead {
    font-size: 18px;
    margin-bottom: 50px;
  }
  .subPage h3 {
    font-size: 30px;
    margin-bottom: 10px;
  }
  .jiturei {
    font-size: 50px;
  }
  .conceptDetailSec {
    display: grid;
    grid-template-rows: 360px 360px;
    grid-template-columns: 40% 60%;
  }
  .conceptDetailSec h3 {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }
  .conceptDetailSec .photo {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
  }
  .conceptDetailSec .text {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
  }
  .conceptDetailSec .photo img {
    height: 720px;
  }
  .conceptDetailSec h3 {
    align-self: end;
  }
  .conceptDetailSec .text {
    text-align: center;
    font-size: 16px;
  }
  .reverse {
    grid-template-columns: 60% 40%;
  }
  .reverse h3 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }
  .reverse .photo {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
  }
  .reverse .text {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }
  .menuList li {
    flex-basis: 22%;
    margin-bottom: 0;
  }
/*   .menuDetailSec {
    margin-bottom: 10px;
  }
 */  .photoGarelly {
    grid-template-rows: 175px 175px;
    grid-template-columns: 45% 25% 30%;
  }
  .item01 {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
  }
  .item02 {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
  }
  .item03 {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
  }
  .item04 {
    grid-row: 2 / 2;
    grid-column: 3 / 4;
  }
  .contactSec {
  width: 800px;
  margin: 0 auto;
  padding: 20px;
}
h2 {
  font-size: 24px;
  color: #2c2c2c;
  font-weight: bold;
  margin: 20px 0 10px 0;
}
table {
  line-height: 1.8;
  width: 700px;
}
th,td {
  padding: 10px;
  border: solid 1px #999;
}
th {
  width: 150px;
  background-color: #b4ada9;
}
th em {
  color: #ff0000;
  padding: 2px 15px;
  font-size: 15px;
  font-style: normal;
  font-weight: normal;
}
input[type="text"],
textarea,input[type="email"]{
  border: solid 1px #999;
  width: 100%;
  padding: 5px;
}
ul {
  /* padding-left: 1em; */
  line-height: 1.5;
}
ul li {
  font-size: 12px;
  /* text-indent: -1em; */
}
.any { 
  color: #2c2c2c;
  padding: 2px 15px;
  font-size: 15px;
  font-style: normal;
  font-weight: normal;}
.yuubin input[type="text"] {
  border: solid 1px #999;
  width: 20%;
  padding: 5px;
}
input[type="submit"] {
  background-color: #ffffff;
  color: #555;
  border: solid #555 1px;
  border-radius: 20px;
  padding: 0px 10px;
  margin: 10px 10px;
}
select {
  border: 1px #999 solid;
  width: 150px;
  background: #ffffff url(../images/arrow.png) no-repeat 98% 50%/17px 10px;
}
input[type="number"]{
  width: 50px;
  border: solid 1px #999;
  padding: 0%;
}
table table td {
  border: none;
}
table table td input[type="text"] {
    width: 200px;
}
table table td .sei {
  margin-right: 1em;
  text-indent: 1em;
}
input[type="submit"]:hover {
   background-color: #555;
   color:#fff;
   transition-property: background-color,margin-left;
   transition-duration: 300ms;
   transition-timing-function: linear;
   transition-delay: 0ms;
}
table table {
  width: 540px;
}
.staffSec {
  display: flex;
  margin: 0 auto 100px;
}
.staffSec .photo {
  text-align: right;
  margin-right: 10px;
  flex:0 1 50%;
}
.staffSec .photo img {
  width: 200px;
}
.staffSec .moji {
  margin: auto;
  flex:0 1 50%;

}

}


/* 問い合わせSP用 */
@media screen and (max-width: 919px) {
.pc-only {
  display: none;
}
.sp-only {
  display: block;
  /* background-color: #999; */
  margin: 0 auto;
  text-align: left;
  line-height: 2;
  color: #000;
}
h2 {
  font-size: 24px;
  color: #2c2c2c;
  font-weight: bold;
  margin: 20px 0 10px 0;
  text-align: center;
}
.sp-only h3 {
  font-size: 16px;
  text-align: left;
  margin-bottom: 0;
}
em {
  color: #ff0000;
  padding: 2px 15px;
  font-size: 15px;
  font-style: normal;
  font-weight: normal;
}
input[type="text"],
textarea,input[type="email"]{
  background-color: #fff;
  border: solid 1px #999;
  width: 80%;
  padding: 5px;
}
input[type="number"]{
  background-color: #fff;
  border: solid 1px #999;
  width: 20%;
  border: solid 1px #999;
  padding: 0%;
}
ul {
  /* padding-left: 1em; */
  line-height: 1.5;
}
ul li {
  font-size: 12px;
  /* text-indent: -1em; */
}
.any { 
  color: #2c2c2c;
  padding: 2px 15px;
  font-size: 15px;
  font-style: normal;
  font-weight: normal;}
input[type="submit"] {
  background-color: #ffffff;
  color: #555;
  border: solid #555 1px;
  border-radius: 20px;
  padding: 0px 10px;
  margin: 10px 10px;
}
select {
  border: 1px #999 solid;
  width: 150px;
  background: #ffffff url(../images/arrow.png) no-repeat 98% 50%/17px 10px;
}
input[type="submit"]:hover {
   background-color: #555;
   color:#fff;
   transition-property: background-color,margin-left;
   transition-duration: 300ms;
   transition-timing-function: linear;
   transition-delay: 0ms;
}
.linkList .link1 img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 30%;
}
.staffSec {
  display: flex;
  margin: 0 auto 100px;
}
.staffSec .photo {
  text-align: right;
  margin-right: 10px;
  flex:0 1 50%;
}
.staffSec .photo img {
  width: 200px;
}
.staffSec .moji {
  margin: auto;
  flex:0 1 50%;
}
}
/* 以下に参考サイトのメニュー用CSSを貼り付ける */
/* メニューを画面上部に固定表示しています */
.gMenu {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 99;
}
/* メニューアイコンを画面右上に固定しています */
.gMenu .menu-icon {
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 12px;
  padding-top: 5px;
  height: 12px;
}
/* メニューアイコン（三本線）の真ん中の線です */
.gMenu .menu-icon .navicon {
  background: #ffc107; /* 色は自由に変更可能です */
  display: block;
  height: 2px; /* 太さ */
  width: 31px; /* 長さ */
  position: relative;
  transition: background .4s ease-out; /* 形が変わる時のアニメーション */
}
/* メニューアイコン（三本線）の上と下の線を疑似要素で追加 */
.gMenu .menu-icon .navicon::before,
.gMenu .menu-icon .navicon::after {
  background: #ffc107; /* 色は自由に変更可能です */
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .4s ease-out; /* 形が変わる時のアニメーション */
  width: 100%;
}
.gMenu .menu-icon .navicon::before {top: 10px;} /* 位置を上にずらしています */
.gMenu .menu-icon .navicon::after {top: -10px;} /* 位置を下にずらしています */
/* 表示されるメニューです */
.gMenu .menu {
  background-color: rgba(255,255,255,0.9);
  overflow: hidden;
  max-height: 0; /* ★最初は高さを0にして非表示状態に */
  transition: max-height .6s; /* 表示されるときのアニメーション */
  text-align: center;
}
/* メニュー部分のデザインです */
.gMenu .menu li:first-of-type {
  padding-top: 50px;
}
.gMenu .menu li a {
  display: block;
  padding: 24px 20px;
  text-decoration: none;
  text-transform: uppercase;
}
.gMenu .menu li a:hover {
  background-color: #f4f4f4;
}
/* チェックボックスは常に非表示です */
.gMenu .menu-btn {
  display: none;
}
/* ▼▼▼以下はチェックボックスがONの時の状態です▼▼▼ */
.gMenu .menu-btn:checked ~ .menu {
  max-height: 338px; /* ★チェックボックスがオンの時高さを338pxにして表示させます */
  transition: max-height .6s;
}
/* メニューボタンの中央の線を非表示に */
.gMenu .menu-btn:checked ~ .menu-icon .navicon {background: transparent;}

/* メニューボタンの上下の線を45度傾けて✕印を作ります */
.gMenu .menu-btn:checked ~ .menu-icon .navicon::before {transform: rotate(-45deg);top: 0;}
.gMenu .menu-btn:checked ~ .menu-icon .navicon::after {transform: rotate(45deg);top: 0;}
/* サイトに合わせてオリジナルカスタマイズ */
.gMenu .menu-icon {
  top: 26px;
}
.gMenu .menu-icon .navicon,
.gMenu .menu-icon .navicon::before,
.gMenu .menu-icon .navicon::after {
  background: #333333;
}


/* javascliptの設定 */
/* ローディング画面 */
#loading {
  transition:all 1s;
  background-color: #ddd;
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items:center;
}
.spinner {
  width: 200px;
  height: 200px;
}

/* ローディング完了したらローディング画面を隠す */
.loaded {
  opacity: 0;
  visibility: hidden;
}

