@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* サイトTOP */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  color: #4A3B2A;
}

a {
  text-decoration: none;
}

a:hover,
a:active {
  text-decoration: none;
}

.container {
  min-height: 90vh;
  animation: fadeIn 1s ease-out;
}

section {
  /* padding: 0 20px; */
  margin: 0 auto;
  width: calc(100vw - 40px);
}

.section-img {
  width: 100%;
  height: auto;
  max-width: 680px;
  margin: 32px auto 0;
  display: block;
}

section img {
  width: 100%;
}

section ol {
  max-width: 680px;
  padding: 0;
  margin: 0 auto;
  list-style-position: inside;
  text-align: left;
}

section ol li {
  font-size: 15px;
}

.section-item {
  max-width: 333.17px;
  width: 100%;
  padding: 0;
  margin: 16px auto 0;
  font-size: 12.4px;
  text-align: left;
}

section h2 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: bold;
  color: #4A3B2A;
  text-align: center;
  margin: 20px 0;
}

/* h2 */
.ribbon {
  display: inline-block;
  position: relative;
  height: 32px;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
}

.ribbon:before {
  /*左側のリボン端*/
  content: '';
  position: absolute;
  width: 38px;
  bottom: -10px;
  left: -23px;
  z-index: -2;
  border: 16px solid #A89278;
  border-left-color: transparent;
  filter: drop-shadow(-3px 3px 3px rgba(0, 0, 0, 0.3));
  /*山形に切り抜き*/
}

.ribbon:after {
  /*右側のリボン端*/
  content: '';
  position: absolute;
  width: 38px;
  bottom: -10px;
  right: -23px;
  z-index: -2;
  border: 16px solid #A89278;
  border-right-color: transparent;
  filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
  /*山形に切り抜き*/
}

.ribbon h2 {
  display: inline-block;
  position: relative;
  width: calc(89vw - 40px);
  max-width: 680px;
  margin: 0;
  /* padding: 0 20px; */
  line-height: 32px;
  font-size: 18px;
  color: #4A3B2A;
  background: #C9B093;
  /*真ん中の背景色*/
}

.ribbon h2:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-right: solid 15px #7E7467;
  /*左の折り返し部分*/
}

.ribbon h2:after {
  position: absolute;
  content: '';
  top: 100%;
  right: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-left: solid 15px #7E7467;
  /*右の折り返し部分*/
}

.ribbon h2 span {
  font-family: "Noto Sans JP", sans-serif;
}

/* h3 */
h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #4A3B2A;
  margin: 24px 0 12px;
}

.center {
  text-align: center;
  margin: 0 auto;
}

/* section title */
.section-ttl {
  margin: 32px auto 42px;
  text-align: center;
}

/* section text */
.section-txt {
  display: flex;
  justify-content: center;
  line-height: 2;
}

.section-txt ul {
  list-style: none;
  color: #4A3B2A;
  font-size: 12px;
  text-align: left;
  letter-spacing: -0.5px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 10px 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.logo {
  display: block;
  text-decoration: none;
  color: inherit;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-img {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.logo-img img {
  width: 100%;
  height: 100%;
}

.logo-text h1 {
  display: flex;
  flex-direction: column;
}

.relaxation-text {
  font-family: "Playfair Display", serif;
  font-size: 12px;
  color: #4A3B2A;
  font-weight: 300;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: -16px;
}

.kefina-text {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  font-weight: 400;
  color: #4A3B2A;
  letter-spacing: 1px;
  margin-bottom: -10px;
}

.menu-button {
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.menu-line {
  width: 40px;
  height: 4px;
  background: #4A3B2A;
  border-radius: 1px;
}

.slide-menu {
  position: fixed;
  top: 0;
  right: -250px;
  /* 初期状態：非表示 */
  width: 250px;
  height: 100%;
  background-color: #F5EFE6;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 80px 20px 20px;
}

.slide-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.slide-menu ul li {
  margin-bottom: 20px;
}

.slide-menu ul li a {
  color: #4A3B2A;
  text-decoration: none;
  font-size: 18px;
}

/* 表示時のクラス */
.slide-menu.open {
  right: 0;
}

/* ハンバーガーボタン */

/* メニューボタン */
.menu-button {
  width: 60px;
  height: 60px;
  background-color: #C9B093;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1002;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-line {
  position: absolute;
  width: 40px;
  height: 4px;
  background: #4A3B2A;
  border-radius: 2px;
  transition: 0.4s ease;
}

/* 各ラインの位置 */
.line1 {
  transform: translateY(-14px);
}

.line2 {
  transform: translateY(0px);
}

.line3 {
  transform: translateY(14px);
}

/* 開いたときのアニメーション */
.menu-button.open .line1 {
  transform: rotate(45deg);
}

.menu-button.open .line2 {
  opacity: 0;
}

.menu-button.open .line3 {
  transform: rotate(-45deg);
}

/* オーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

/* メニュー本体 */
.menu-content {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: #4A3B2A;
  z-index: 1000;
  transition: right 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-content.open {
  right: 0;
}

/* メニューリスト */
.menu-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%;
}

.menu-content ul li {
  margin: 20px 0;
}

.menu-content ul li a {
  display: block;
  width: 100%;
  text-decoration: none;
  color: #F5EFE6;
  font-size: 20px;
}

.menu-content ul li a:hover {
  color: #A87E57;
}

/* Main content */
.main-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 75px);
  text-align: center;
  padding: 80px 20px 20px;
}

/* Decorative border top */
.decorative-border {
  width: 100%;
  max-width: 680px;
  height: 56px;
  background: url("../images/border.png") no-repeat center;
  background-size: contain;
}

/* Decorative border bottom */
.decorative-border-bottom {
  width: 100%;
  max-width: 680px;
  height: 56px;
  background: url("../images/border-bottom.png") no-repeat center;
  background-size: contain;
}

/* Text content */
.main-text {
  max-width: 600px;
  line-height: 2;
  margin: 30px 0;
}

.main-text p {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: #4A3B2A;
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Remove the treatment room overlay since we're using real background */
.treatment-room {
  display: none;
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px auto;
  gap: 10px;
}

.scroll-text {
  font-family: "Playfair Display", serif;
  font-size: 14px;
  color: #4A3B2A;
  letter-spacing: 3px;
  font-weight: 300;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid #4A3B2A;
  border-bottom: 2px solid #4A3B2A;
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  40% {
    transform: rotate(45deg) translateY(-10px);
  }

  60% {
    transform: rotate(45deg) translateY(-5px);
  }
}

/* Responsive design */
@media (max-width: 768px) {

  .treatment-room {
    width: 80%;
    height: 60%;
  }

  .decorative-border,
  .decorative-border-bottom {
    max-width: 100%;
    /* height: 30px; */
  }
}

@media (max-width: 480px) {
  .main-text p {
    line-height: 1.8;
  }

  .treatment-room {
    width: 90%;
    height: 50%;
  }
}

/* Hover effects and animations */
.main-text p {
  transition: all 0.3s ease;
  text-align: center;
}

.main-text p:hover {
  transform: translateY(-2px);
  color: #4A3B2A;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .decorative-border,
.decorative-border-bottom {
  animation: slideIn 1s ease-out 0.5s both;
} */

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

  to {
    opacity: 0.8;
    transform: scaleX(1);
  }
}

/* Other styles */
.kv-section {
  position: relative;
  width: 100%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    url('../images/bg1.png') center/cover no-repeat;
  overflow: hidden;
}

/* info */
.news-item {
  width: calc(89vw - 40px);
  max-width: 680px;
  padding: 10px 0;
  border-bottom: 1px dotted #4A3B2A;
}

/* Circle Section */
.circle-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.circle-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.circle-row.center {
  justify-content: center;
}

.circle-card {
  text-align: center;
  max-width: 150px;
  flex: 1 1 150px;
}

.circle-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
}

.circle-img {
  width: 100%;
  height: 103%;
  object-fit: cover;
}

.circle-card p {
  color: #4A3B2A;
  margin-top: 0.25rem;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.circle-card p span {
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-card p span::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 13px;
  background-image: url('../images/yubi.png');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.5px;
}

.circle-button {
  display: inline-block;
  width: 122px;
  height: 32px;
  margin-top: 0.5rem;
  background-color: #4d382d;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 12px;
  text-decoration: none;
  transition: background-color 0.3s;
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
}

.circle-button:hover {
  background-color: #6b4f3e;
}

/* モバイル対応 */
@media (min-width: 600px) {

  .circle-card {
    max-width: 240px;
    flex: 1 1 240px;
  }
}

/* LINEレイアウト */
.line-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.line-item p {
  color: #4A3B2A;
  font-size: 12px;
  line-height: 2;
  text-align: center;
  margin: 0 auto;
}

.qr-code {
  margin-top: 6px;
  max-width: 150px;
  flex: 1 1 150px;
  height: auto;
  display: block;
}

.line-item-list li {
  list-style-position: inside;
  margin-top: 6px;
  color: #4A3B2A;
  font-size: 12px;
  text-align: left;
}

/* YouTube埋め込み */
.youtube {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 16 / 9;
  margin: 32px auto 0;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}

/* Google Map */
.google-map {
  position: relative;
  margin: 0 auto;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}

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

/* PC対応 */
@media (min-width: 769px) {
  .google-map {
    /* max-width: 680px; */
    padding-bottom: 40%;
  }
}

/* ---- LINE友達登録追従ボタン ---- */
.line-follow {
  opacity: 0;
  transform: translateY(100%);
  /* 初期：下に隠れる */
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #06C755;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  z-index: 5;
  pointer-events: none;
  /* 非表示時にクリック無効 */
  box-sizing: border-box;
}

/* 表示時に追加されるクラス */
.line-follow.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* フッターに近づいたら下にずらす */
.line-follow.overlap {
  transform: translateY(calc(-1 * var(--overlap, 0px)));
}

.line-follow__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 6px 8px;
  text-decoration: none;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 44px;
}

.line-follow__icon {
  width: 28px;
  height: auto;
}

/* モバイル表示時のみ */
@media (max-width: 1023px) {
  .line-follow {
    display: block;
  }
}

/* PC表示時は非表示 */
@media (min-width: 1025px) {
  .line-follow {
    display: none;
  }
}

/* アニメーション任意 */
@media (prefers-reduced-motion: no-preference) {
  .line-follow {
    transform: translateY(100%);
  }

  .line-follow.active {
    animation: slideUp 0.3s ease-out 0.2s forwards;
  }

  @keyframes slideUp {
    to {
      transform: translateY(0);
    }
  }
}


/* footer */
.footer-container {
  background-color: #4A3B2A;
  color: #FFF;
  display: flex;
  align-items: end;
  justify-content: space-evenly;
  gap: 0.5rem;
  font-size: 12px;
  padding: 30px 20px 40px;
}

.footer-container a {
  color: #FFF;
  text-decoration: none;
}

.footer-container a:hover {
  color: #C9B093;
}

.copyright {
  font-size: 12px;
  background-color: #4A3B2A;
  color: #FFF;
  text-align: center;
  padding-bottom: 20px;
}

/* page topボタン */
#pagetop {
  padding-top: 40px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

#pagetop a {
  text-decoration: none;
  text-align: center;
  display: block;
  color: #4a3b2a;
  font-size: 30px;
  font-weight: bold;
  background: #C9B093;
  width: 54px;
  line-height: 54px;
  border-radius: 50%;
}

/* 追記 */
/* --- 基本レイアウト調整（必要に応じて拡張） --- */
.kv-section {
  position: relative;
  background-color: #F5EFE6;
  overflow: hidden;
}

/* --- 波型（SVG埋め込み） --- */
.wave-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  /* z-index: 900; */
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 375 50' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><path d='M0,30 Q93.75,60 187.5,30 Q281.25,0 375,30 L375,50 L0,50 Z' fill='%23ffffff'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: bottom;
}

/* --- メニュー周りの z-index 調整 --- */
.overlay {
  z-index: 999;
  position: fixed;
}