/* ===== 基本設定 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Serif JP', 'Shippori Mincho', 'Zen Old Mincho', serif;
  background: linear-gradient(to bottom, #0b0c2a, #1c1d3c);
  color: #fff0f5;
}

h1, h2, h3 {
  color: #ffe4e1;
  text-shadow: 0 0 5px rgba(255, 192, 203, 0.4);
}

.concept-bubble, .concept-bubble h4, .site-title, .site-title span {
  font-family: 'Noto Serif JP', 'Shippori Mincho', 'Zen Old Mincho', serif;
}

/* モバイル/PC対応用 */
.only-mobile  { display: none; }  
.only-desktop { display: block; } 


/* ===== 共通セクションスタイル ===== */
section {
  padding: 16px 16px; /* 8の倍数で統一 */
  text-align: center;
}

h1, h2 {
  font-weight: bold;
  letter-spacing: 1px;
}

h1 {
  font-size: 3rem;
  margin-bottom: 16px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 32px;
}

p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 16px auto;
}

/* セクション背景ごとに色分け */
.concept {
  background: linear-gradient(to bottom, #1c1d3c, #2d2e50);
}
.system {
  background: linear-gradient(to bottom, #2d2e50, #3a3c6e);
}
.access {
  background: linear-gradient(to bottom, #3a3c6e, #1c1d3c);
}
.infomation{
  background: linear-gradient(to bottom, #1c1d3c, #111223);
}

/* ===== 共通メインボックススタイル ===== */
.main-box {
  position: relative;
  display: block;
  width: 100%;
  margin: 16px 0 0;
  padding: 0 0 16px 0;
  text-align: center;
  overflow-x: hidden;
}

/* 共通文字改行対応 */
br.sp { display: none; }
@media (max-width: 767px) { br.sp { display: inline; } }

/* ===== メインビジュアル ===== */
.main-visual {
  width: 100%;
  height: 100vh;
  position: relative; /* 背景画像の絶対位置の基準 */
  overflow: hidden;
}

/* 背景画像の共通スタイル */
.main-visual .bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0; /* デフォルトは非表示 */
  animation: fade 16s infinite;
}

/* 画像1 */
.main-visual .image1 {
  background-image: url('../img/sweaterMoon_TOP.png');
  animation-delay: 0s;
}

/* 画像2 */
.main-visual .image2 {
  background-image: url('../img/sweaterMoon_TOP2.png');
  animation-delay: 8s; /* 5秒後に切り替え */
}

/* フェードアニメーション */
@keyframes fade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  40%  { opacity: 1; }
  50%  { opacity: 0; }
  100% { opacity: 0; }
}

/* スマホ対応 */
@media (max-width: 768px) {
  .main-visual {
    height: auto;
    aspect-ratio: 800 / 534;
  }

  .main-visual .bg-image {
    aspect-ratio: 800 / 534;
    height: auto;
  }
  .only-mobile  { 
    display: block;
  }

  .only-desktop {
    display: none;
  }
}

/* コンセプト */
.site-title{
  margin: 8px 0px;
}

.site-title span {
  font-size: 2rem;
  letter-spacing: 0.8rem;
  margin-right: -0.8rem;
  line-height: 3rem;
}

.site-subtitle{
  margin: 8px 0px;
}

.concept-bubble {
  margin-top: 32px;
  padding: 0 16px;
}

.concept-bubble h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.concept-bubble p {
  font-size: 1rem;
  line-height: 24px;
}


/* 料金システム */
.section-title {
  font-family: "Allura", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN";
  position: relative;
  display: inline-block;
  font-size: 2.4rem;
  font-weight: 500;
  margin: 16px auto 32px auto;
  color: #f0e68c;
}

.section-title span {
  position: absolute;
  display: block;
  width: 300%;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
}

.system table {
  margin: 0 auto 32px;
  border-collapse: separate;
  border-spacing: 0;
  width: 90%;
  max-width: 700px;
  background-color: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.03);
}

.system th,
.system td {
  padding: 16px 24px;
  text-align: left;
  font-size: 1rem;
  color: #eae7dc;
}

.system th {
  background-color: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  white-space: nowrap;
  width: 40%;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.system td {
  background-color: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.system table {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(255, 182, 193, 0.3);
  border-radius: 0;
}
.system th {
  background: rgba(255, 240, 245, 0.05);
  color: #ffcce6;
}
.system td {
  color: #fffafc;
}

.system tr:last-child th,
.system tr:last-child td {
  border-bottom: none;
}

.system h3 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: #fcebb8;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: inline-block;
  padding-bottom: 8px;
}

/* アクセス */
.map-container {
  width: 60%;
  max-width: 800px;
  margin: 0 auto;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

@media screen and (max-width: 768px) {
  .map-container {
    width: 90%;
  }
}

/* インフォメーション */
.infomation-contents{
  margin: 24px 0px;
}
.sns-icons {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 14px;
}
.sns-icons img {
  height: 120px;
}
.info-logo img {
  height: 240px;
  width: auto;
  margin-bottom: 12px;
}



/* ===== TEL・LINEボタン ===== */
.line-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #06C755;
  color: #fff;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

.tel-fixed {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #007AFF;
  color: #fff;
  padding: 14px 16px;
  border-radius: 50%;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}


/* ===== メニュー画像の調整 ===== */
.menu img {
  max-width: 90%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

/* ===== フッター ===== */
footer {
  text-align: center;
  padding: 32px 0;
  background-color: #111;
  font-size: 0.9rem;
  color: #aaa;
}