@charset "UTF-8";

:root {
  --main-color: #826650;
  --sub-color: #467065;
  --link-color: #b28e5e;
}

body {
  width: 100%;
  font-family: 'San Fransisco', 'Helvetica', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
  font-size: 3.73vw;
  color: #434343;
  line-height: 1.5;
  position: relative;
}

a {
  text-decoration: none;
  color: #4b4b4b;
}

.cf:after {
  display: block;
  content: "";
  clear: both;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* ==========================================================================

  01. header
  02. gnav
  03. menu
  04. footer
  05. counseling (low only)
  06. low-common-design (low only)

  09. multi-class

========================================================================== */
/*
  common
========================================================================== */
/*
  01. header
========================================================================== */
.gn_set,
.gn,
.gn p,
.gn ul,
.gn li,
.gn a,
.gn i,
.gn div,
.head,
.head h1 .head ul,
.head li,
.head a,
.head span,
.head i,
.head div,
.head section {
  box-sizing: border-box;
}

.head {
  position: relative;
  width: 100%;
  padding: 2.8vw 2.8vw 0;
  height: 16.4vw;
  z-index: 10;
  background-color: #fff;
}

.head_ttl {
  z-index: 3;
  top: 0;
  left: 0;
  width: 45.47vw;
  display: block;
}

.head_ttl img {
  aspect-ratio: 341/ 81;
}

.head_menu {
  position: absolute;
  z-index: 5;
  right: 3.6vw;
  top: 4.4vw;
}

.head_menu .menu_btn {
  width: 9.07vw;
  display: block;
}

.head_menu .menu_btn img {
  aspect-ratio: 68 / 56;
}

/* -------------------------  hamburger menu */
.gn_set {
  display: none;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 9030;
}

.gn {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  z-index: 2;
  transition: 0.2s;
  background: rgba(255, 255, 255, 0.95);
  padding: 18vw 1vw 0 4.4vw;
}

.gn_bg {
  top: 0;
  left: 0;
  position: fixed;
  z-index: 1;
  background: rgba(255, 255, 255, 0);
  width: 100%;
  height: 100%;
  transition: 0.2s;
}

.gn_show {
  overflow-y: hidden;
  position: fixed;
}

.gn_close {
  position: absolute;
  width: 16.53vw;
  right: 0;
  top: 0;
  z-index: 4;
}

.gn_close img {
  aspect-ratio: 1 / 1;
}

.gn_lst {
  box-sizing: border-box;
  padding-bottom: 20vw;
  height: calc(100vh - 16vw - 6vh);
  position: relative;
  z-index: 2;
  position: relative;
  overflow-y: scroll;
}

.gn_lst .scroll-content {
  padding-bottom: 6vw;
}

.gn_ttl {
  color: #2e2e2e;
  font-size: 4.8vw;
  margin: 0 0.8em 0.8em 0;
  padding: 0.3em 0.5em;
  position: relative;
  border-bottom: 1px solid #355daa;
}

.gn_lst ul + .gn_ttl {
  margin-top: 1.2em;
}

.gn_lst ul {
  z-index: 3;
  position: relative;
  padding: 0 6vw 0 1vw;
}

.gn_lst ul:last-child {
  padding-bottom: 8vw
}

.gn_lst li {
  position: relative;
  margin-bottom: 0.4em;
  padding-left: 1.4em;
  font-size: 4vw;
  background-repeat: no-repeat;
  background-size: 2.67vw auto;
  background-position: 0 0.4em;
  background-image: url("../images/sp/gn_blt.png");
}

.gn_lst li.thin {
  letter-spacing: -0.08em;
}

.gn_lst li a {
  color: #2e2e2e;
  position: relative;
  line-height: 1.27;
  display: inline-block;
}

.gn_lst li.nowrp a {
  width: 100%;
}

.gn_lst li a i {
  display: inline-block;
}

/*
  02. gnav
========================================================================== */
.gnav nav,
.gnav ul,
.gnav li,
.gnav a,
.gnav span,
.gnav i,
.gnav div {
  box-sizing: border-box;
}

.gnav {
  padding: 7.2vw 2.8vw;
}

.gnav ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 0;
  row-gap: 0;
}

.gnav li {
  aspect-ratio: 237 / 162;
}

.gnav li a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  color: #fff;
  background-color: #727272;
  background-repeat: no-repeat;
  background-size: 1.6vw auto;
  background-position: calc(100% - 1vw) calc(100% - 1vw);
  background-image: url("../images/sp/gnav_arrow_01.png");
}

.gnav li:nth-of-type(2n) a {
  color: #727272;
  background-color: #ededed;
  background-image: url("../images/sp/gnav_arrow_02.png");
}

.gnav li i {
  display: block;
  margin: 0 auto;
  width: 25.3vw;
}

.gnav li img {
  aspect-ratio: 190 / 60;
}

/*
  03. menu
========================================================================== */
.idx_menu {
  margin: 0 0 7.2vw;
  padding: 11.2vw 0 4.4vw;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  background-image: url("../images/sp/menu_bg.jpg");
}

.idx_menu_ttl {
  width: 33.2vw;
  margin: 0 0 10vw auto;
}

.idx_menu_ttl img {
  aspect-ratio: 249 / 69;
}

.idx_menu_lst {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2.4vw;
  row-gap: 2.4vw;
  margin: 0 4vw;
}

.idx_menu_lst a {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 14.67vw;
  aspect-ratio: 220 / 130;
  border: 1px solid #aaa;
  background-color: rgba(255, 255, 255, 0.9);
  background-repeat: no-repeat;
  background-size: 1.34vw auto;
  background-position: calc(100% - 1vw) calc(100% - 1vw);
  background-image: url("../images/sp/menu_cnr.png");
}

.idx_menu_lst a:nth-of-type(1) {
  /* grid-column: 2 / 3; */
}

.idx_menu_lst a p {
  width: 100%;
  text-align: center;
}

.idx_menu_lst a p span {
  display: block;
  font-size: 3.33vw;
  line-height: 1.4;
}

.idx_menu_lst a p span.thin {
  line-height: 0.6;
  height: 0.6em;
}

.idx_menu_lst a p span.txt-s {
  font-size: 3vw;
  line-height: 1.2
}

/*
  04. footer
========================================================================== */
.gmap,
.gmap ul,
.gmap li,
.gmap a,
.gmap span,
.gmap i,
.gmap div,
.foot,
.foot ul,
.foot li,
.foot a,
.foot span,
.foot i,
.foot div,
.foot section,
.foot nav {
  box-sizing: border-box;
}

.gmap img,
.foot img {
  max-width: 100%;
}

.gmap {
  margin: 0 2.4vw 3.6vw;
}

.gmap iframe {
  height: 52.67vw;
  width: 100%;
  vertical-align: top;
  border: 0 none;
}

/* --------------------------- foot banner */
.foot_bnr {
  position: relative;
  background-color: #ededed;
  padding: 5.6vw 2vw 5.2vw;
  margin: 0 0 7.2vw;
}

.foot_bnr_lst {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.7vw 2.4vw;
}

.foot_bnr_lst a {
  display: block;
}

.foot_bnr_lst img {
  aspect-ratio: 286 / 77;
}

/* --------------------------- foot */
.foot_btm {
  position: relative;
  padding: 7.2vw 5.6vw 24vw;
  color: #fff;
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
  background-image: url("../images/sp/foot_bg.jpg");
}

.foot_btm::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  height: 80vw;
  background-color: rgba(118, 64, 24, 0.77);
  mix-blend-mode: multiply;
}

.foot_inr {
  position: relative;
  z-index: 3;
}

.foot_logo {
  width: 83vw;
  margin: 0 auto 4vw;
  padding: 0 0 3.6vw;
  text-align: center;
  border-bottom: 0.3vw solid #fff;
}

.foot_logo a {
  display: inline-block;
  width: 39.46vw;
}

.foot_logo img {
  aspect-ratio: 296 / 170;
}

.foot_tel {
  margin: 0 0 4vw;
  font-size: 4.4vw;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1;
}

.foot_tel a {
  color: #fff;
  font-weight: bold;
  display: inline-block;
  padding-left: 1em;
  background-repeat: no-repeat;
  background-size: 3.2vw auto;
  background-position: 0 50%;
  background-image: url("../images/common/foot_ico_tel.png");
}

.foot_accs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 56vw;
  margin: 0 auto 5.6vw;
}

.foot_addr {
  margin: 0;
  font-size: 3vw;
  text-align: left;
  color: #fff;
}

.foot_addr span {
  display: block;
  line-height: 1.3;
}

.foot_btn {
  display: flex;
  width: 17.2vw;
  justify-content: space-between;
}

.foot_btn a {
  display: block;
  width: 7.2vw;
}

.foot_btn a img {
  aspect-ratio: 54 / 54;
}

/* --------------------------- foot time table */
.foot_timetable {
  width: 100%;
  border-collapse: collapse;
  line-height: 1;
  margin-bottom: 1em;
}

.foot_timetable th,
.foot_timetable td {
  text-align: center;
  vertical-align: middle;
  font-weight: 500;
  font-size: 3.73vw;
}

.foot_timetable th {
  width: 30%;
}

.foot_timetable td {
  border-left: 1px solid #fff;
}

.foot_timetable thead {
  position: relative;
  font-size: 3.33vw;
}

.foot_timetable thead th,
.foot_timetable thead td {
  padding: 0.6em 0 0.5em;
}

.foot_timetable tbody th,
.foot_timetable tbody td {
  padding: 0.6em 0;
}

.foot_timetable tbody tr {
  border-top: 1px solid #fff;
}

.foot_timetable tbody th {
  font-size: 3vw;
}

.foot_timetable tbody td {
  font-size: 3.6vw;
}

.foot_tt_note {
  font-size: 3.33vw;
  margin: 0 0 9.2vw;
}

.foot_tt_note li {
  display: inline-block;
  margin-right: 1.5em;
}

.foot_seo {
  font-size: 2.77vw;
  margin: 0 0 4.8vw;
}

.foot_copyright {
  margin-bottom: 1em;
  font-size: 3vw;
  text-align: center;
}

/* -------------------------  fNavi */
.fNavi-wrap {
  z-index: 9010;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 0;
  background-color: #0e0d0d;
}

.fNavi {
  display: flex;
  align-items: center;
  width: 100%;
}

.fNavi li {
  text-align: center;
  position: relative;
  padding: 3vw 0;
}

.fNavi li:after {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  right: 0;
  top: 0;
  height: 100%;
  background: #fff;
}

.fNavi li:last-child:after {
  display: none;
}

.fNavi li a {
  display: inline-block;
}

.fNavi li:nth-of-type(1) {
  width: 19.7%;
}

.fNavi li:nth-of-type(1) a {
  width: calc((103 / 750) * 100vw);
}

.fNavi li:nth-of-type(1) img {
  aspect-ratio: 103 / 89;
}

.fNavi li:nth-of-type(2) {
  width: 30.1%;
}

.fNavi li:nth-of-type(2) a {
  width: calc((164 / 750) * 100vw);
}

.fNavi li:nth-of-type(2) img {
  aspect-ratio: 164 / 90;
}

.fNavi li:nth-of-type(3) {
  width: 30.27%;
}

.fNavi li:nth-of-type(3) a {
  width: calc((110 / 750) * 100vw);
}

.fNavi li:nth-of-type(3) img {
  aspect-ratio: 110 / 88;
}

.fNavi li:nth-of-type(4) {
  flex: 1;
}

.fNavi li:nth-of-type(4) img {
  width: calc((53 / 750) * 100vw);
  aspect-ratio: 53 / 80;
}

/*
  05. counseling (low only)
========================================================================== */
.counseling {
  margin-top: 60px;
}

.counseling .tel {
  margin: 20px auto;
  padding: 3.73vw 0 4.26vw 0;
  width: 65.33vw;
  border-top: 1px solid #2e2e2e;
  border-bottom: 1px solid #2e2e2e;
  display: flex;
  justify-content: center;
  align-items: center;
}

.counseling .tel i {
  margin-right: 11px;
  width: 7.33vw;
}

.counseling .tel i img {
  display: block;
}

.counseling .tel span {
  color: #2e2e2e;
  font-size: 7.2vw;
  line-height: 1;
  letter-spacing: .14em;
}

.counseling .btn {
  margin: 0 auto;
  width: 65.33vw;
}

.counseling .btn li + li {
  margin-top: 20px;
}

/*
  06. low-common-design (low only)
========================================================================== */
.sp-contents {
  padding: 0 3.3333vw;
}

.mainPhoto {
  margin-bottom: 10.933vw;
}

/*
  09. multi-class
========================================================================== */
/* clearfix */
.cf::after {
  display: block;
  content: '';
  clear: both;
}

.clear {
  clear: both;
}

/* fade */
.fade {
  transition: .3s ease-in-out;
}

.fade:hover {
  opacity: .5;
}

/* link */
.p-link {
  color: var(--link-color);
  text-decoration: underline;
  margin: 0 1px;
}

/* font */
.gothic {
  font-family: 'San Fransisco', 'Helvetica', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
}

.mincho {
  font-family: 'Times New Roman', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
}

.noto_sans {
  font-family: 'Noto Sans JP', sans-serif;
}

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

/* テキスト */
.bold,
.bold * {
  font-weight: bold;
}

.txt130 {
  font-size: 130%;
}

.txt120 {
  font-size: 120%;
}

.txt110 {
  font-size: 110%;
}

.txt90 {
  font-size: 90%;
}

.txt80 {
  font-size: 80%;
}

.or {
  color: #fc9b2a;
}

.re {
  color: #FF373A;
}

i.fas,
i.far,
i.fa {
  margin: 0 5px;
}

.nowrap {
  white-space: nowrap !important;
}

.underline {
  text-decoration: underline;
}

/* 画像 */
.img-border {
  padding: 4px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background: #fff;
}

.img-right {
  float: right;
  margin: 0 0 10px 15px;
  width: 44%;
  height: auto;
}

.img-left {
  float: left;
  margin: 0 15px 10px 0;
  width: 44%;
  height: auto;
}

/* object-fit */
.object-fit-img {
  object-fit: contain;
  font-family: 'object-fit: contain;';
}

/* flex */
.flex {
  display: flex;
}

.flex img {
  max-width: 100%;
}

.fdC {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.between {
  justify-content: space-between;
}

.justC {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.align-base {
  align-items: baseline;
}

.fx_grow_1 {
  flex: 1 0 auto;
}

/* align */
.center {
  text-align: center;
}

.alignR {
  text-align: right !important;
}

.alignL {
  text-align: left !important;
}

.vAlignM {
  vertical-align: middle !important;
}

.vAlignT {
  vertical-align: top !important;
}

.vAlignB {
  vertical-align: bottom !important;
}

.sp-center {
  text-align: center;
}

/* display */
.dispB {
  display: block;
}

.dispI {
  display: inline;
}

.dispFr {
  display: flow-root;
}

/* 余白 */
.p10 {
  padding: 10px;
}

.pt10 {
  padding-top: 10px;
}

.pr10 {
  padding-right: 10px;
}

.pl10 {
  padding-left: 10px;
}

.pb10 {
  padding-bottom: 10px;
}

.mb5 {
  margin-bottom: 5px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb15 {
  margin-bottom: 15px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb40 {
  margin-bottom: 40px;
}

.mb50 {
  margin-bottom: 50px;
}

.mb60 {
  margin-bottom: 60px;
}

.mt5 {
  margin-top: 5px;
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.mr5 {
  margin-right: 5px;
}

.mr10 {
  margin-right: 10px;
}

.mr15 {
  margin-right: 15px;
}

.mr20 {
  margin-right: 20px;
}

.mr30 {
  margin-right: 30px;
}

.ml5 {
  margin-left: 5px;
}

.ml10 {
  margin-left: 10px;
}

.ml15 {
  margin-left: 15px;
}

.ml20 {
  margin-left: 20px;
}

.ml30 {
  margin-left: 30px;
}

/* 非表示 */
.sp-none {
  display: none !important;
}

@media screen and (min-width : 310px) and (max-width: 330px) {
  .ios5only {
    display: none;
  }
}

@media screen and (min-width : 360px) {
  .andover {
    display: none;
  }
}

@media screen and (min-width : 375px) {
  .ios6over {
    display: none;
  }
}
/* 表のCSS */
.case-table {
  width: 100%; /* デフォルトの幅を100%に設定 */
  border-collapse: collapse;
  font-family: "Noto Sans JP", sans-serif; /* フォントを設定 */
  table-layout: auto; /* テーブルレイアウトを自動に設定 */
}

.case-table th, .case-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.case-table th {
  background-color: #887D71;
  font-weight: normal; /* thの文字の太さを通常に設定 */
  color: white; /* thの文字色を白に設定 */
}

.case-table td {
  background-color: #fff;
  color: #666666; /* tdの文字色を#666666に設定 */
}

.case-table th.gold, .case-table td.gold {
  background-color: #887D71; /* 背景色をthと同じに設定 */
  color: white; /* フォント色を白に設定 */
}

.case-table th.narrow, .case-table td.narrow {
  background-color: #887D71; /* 背景色をピンクに設定 */
  color: white; /* フォント色を白に設定 */
}
/* モバイル版のスタイル */
@media (max-width: 1023px) {
  .case-table th, .case-table td {
      font-size: 15px; /* モバイル版で文字の大きさを15pxに設定 */
  }

  .case-table th.narrow, .case-table td.narrow {
      width: auto; /* モバイル版で幅を自動調整 */
      background-color: #887D71; /* 背景色をピンクに設定 */
  }

  .case-table th {
      width: auto; /* モバイル版で幅を自動調整 */
  }
}
/* トグルボタン */
.chat-toggle-button {
  position: fixed;
  bottom: 20px;
  right: 150px;
  background: #977356;
  color: #fff;
  padding: 12px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* チャットウィンドウ */
.chat-box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 600px;
  max-height: 80%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.chat-box.active {
  opacity: 1;
  pointer-events: auto;
  animation: fadeInUpZoom 0.5s ease forwards;
  height: 100vh;
  z-index: 20;
}

@keyframes fadeInUpZoom {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-header {
  background: linear-gradient(90deg, #977356, #b38b6d);
  color: #fff;
  padding: 12px 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.chat-header button {
  background: transparent;
  color: #fff;
  font-size: 18px;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background 0.3s;
}

.chat-header button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  font-size: 14px;
  background: #FBF6F1;
  scroll-behavior: smooth;
}

.chat-input {
  display: flex;
  border-top: 1px solid #ccc;
}

.chat-input input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 16px;
  border-radius: 73px;
  border: 1px solid #ccc;
  margin: 5px;
}

.chat-input button {
  border: none;
  background: linear-gradient(90deg, #977356, #b38b6d);
  color: white;
  padding: 10px 15px;
  cursor: pointer;
}

.bot-message {
  background: #FBF6F1;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  animation: fadeInUp 0.3s ease;
  color: #977356;
}

.user-message {
  background: #977356;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  text-align: right;
  color: #ffffff;
  animation: fadeInUp 0.3s ease;
}

.chat-body a {
  color: #977356;
  font-weight: bold;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.chat-body a:hover {
  color: #7a5d3e;
  background-color: #efe6dd;
  padding: 2px 4px;
  border-radius: 4px;
  text-decoration: none;
}

.chat-body table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  background-color: #fff;
  border: 1px solid #ccc;
}

.chat-body th {
  background-color: #977356;
  color: white;
  padding: 8px;
  border: 1px solid #ccc;
  text-align: center;
}

.chat-body td {
  padding: 8px;
  border: 1px solid #ccc;
  text-align: center;
}

.typing-indicator::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 5px;
  background: #977356;
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 1; }
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .chat-box {
    width: 100%;
    max-height: 80vh;
    left: 0;
    bottom: 10px;
    border-radius: 8px;
  }
  .chat-toggle-button {
    bottom: 70px;
    right: 5px;
    padding: 10px 18px;
    z-index: 0;
  }
  .bot-message img {
    width: 100%;
  }
  .chat-box.active {
    bottom: 64px;
  }
  .chat-input {
    z-index: 500;
  }
}