/* ==========================================================
   YOJIK GYM LP - Custom Styles
   参考：https://yojik-gym.jp/ のデザインシステムに準拠
   （白ベース＋淡いパステルグラデーション、細字・広い字間、
   角丸ピルボタン、抑えたグレー文字）
   ========================================================== */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  color: #707070;
  letter-spacing: 0.15em;
  line-height: 2.0;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 参考サイト由来のパステルグラデーション ---------- */
.bg-gd-15{
  background-image: linear-gradient(-225deg, #FEFEF9 0%, #FFFBFD 100%);
}
.bg-gd-50{
  background-image: linear-gradient(-225deg, #FDFEED 0%, #FFF5F9 100%);
}
.bg-gd-100{
  background-image: linear-gradient(-225deg, #FBFCDB 0%, #FFE6FA 100%);
}

/* ---------- Header ---------- */
#site-header {
  background: rgba(255,255,255,0.0);
  transition: background .3s ease, box-shadow .3s ease;
}
#site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
#site-header.scrolled .site-logo-text,
#site-header.scrolled .nav-link {
  color: #4a4a4a;
}

.site-logo-text {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.25em;
}

.nav-link {
  position: relative;
  padding-bottom: 4px;
  font-weight: 400;
  letter-spacing: 0.15em;
  transition: color .25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: currentColor;
  transition: width .25s ease;
}
.nav-link:hover::after {
  width: 100%;
}

.mobile-nav-link {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding-bottom: 12px;
  letter-spacing: 0.15em;
}

/* ---------- Hero ---------- */
#hero-section {
  background: #ffffff;
}

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9999px;
  padding: 0.9em 2em;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.btn-pill:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* LINEブランドカラー（公式グリーン）をCTAに使用 */
.cta-line {
  background: #06C755;
  color: #fff;
  box-shadow: 0 8px 22px rgba(6,199,85,0.28);
}
.cta-line:hover {
  box-shadow: 0 10px 26px rgba(6,199,85,0.4);
}

.btn-dark {
  background: #32373c;
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: #4a4a4a;
  border: 1px solid #707070;
}

/* ---------- Section common ---------- */
section {
  padding: 5.5rem 0;
}
@media (min-width: 768px) {
  section { padding: 7rem 0; }
}

.contents-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 6%;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: #b9a8b0;
  margin-bottom: 12px;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 500;
  color: #4a4a4a;
  letter-spacing: 0.15em;
  line-height: 1.9;
}
@media (min-width: 768px) {
  .section-title { font-size: 1.75rem; }
}
.section-lead {
  font-size: 0.82rem;
  color: #8a8a8a;
  line-height: 2.0;
  letter-spacing: 0.12em;
}

/* ---------- Photo placeholders（淡いパステルに変更） ---------- */
.photo-placeholder {
  background: linear-gradient(135deg, #FDEBEF 0%, #FBEFD9 50%, #F3F6E6 100%);
  border-radius: 20px;
  position: relative;
}
.ph-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #b09aa4;
  text-align: center;
  gap: 10px;
  padding: 12px;
}
.ph-inner i {
  font-size: 2rem;
  opacity: 0.7;
}
.ph-inner span {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
  opacity: 0.85;
}

/* ---------- Hero photo ---------- */
#hero-photo {
  border: 4px solid #ffffff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
#hero-photo img {
  display: block;
}
@media (max-width: 1023px) {
  #hero-photo {
    border-radius: 24px;
  }
}

/* ---------- Trainer photo ---------- */
#trainer-section .price-highlight-box img {
  display: block;
  min-height: 100%;
}

/* ---------- Worry cards ---------- */
.worry-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform .25s ease, box-shadow .25s ease;
}
.worry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.07);
}
.worry-card i {
  font-size: 1.6rem;
  color: #e3aebd;
  margin-bottom: 14px;
}
.worry-card p {
  font-size: 0.78rem;
  font-weight: 500;
  color: #6b6b6b;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

/* ---------- Reason cards ---------- */
.reason-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 34px 26px;
  position: relative;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.03);
  transition: transform .25s ease, box-shadow .25s ease;
}
.reason-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.07);
}
.reason-num {
  font-size: 1.6rem;
  color: rgba(0,0,0,0.06);
  font-weight: 700;
  position: absolute;
  top: 16px;
  right: 22px;
  letter-spacing: 0;
}
.reason-icon {
  font-size: 1.5rem;
  color: #d9a5b5;
  margin-bottom: 16px;
  display: block;
}
.reason-card h3 {
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #4a4a4a;
  letter-spacing: 0.1em;
}
.reason-card p {
  font-size: 0.78rem;
  color: #8a8a8a;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

/* ---------- Service cards ---------- */
.service-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 16px;
  padding: 28px 12px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.service-card i {
  font-size: 1.4rem;
  color: #d9a5b5;
  margin-bottom: 12px;
  display: block;
}
.service-card span {
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  display: block;
  color: #6b6b6b;
}

/* ---------- Trainer ---------- */
.tag-pill {
  background: #FBFCDB;
  color: #8a7a4a;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 999px;
}
.trainer-note {
  border: 1px dashed #d8c9d0;
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 0.72rem;
  color: #a58a94;
  letter-spacing: 0.06em;
  line-height: 1.9;
  background: #FFFBFD;
}

/* ---------- Price table（参考サイトの奇数行パステル＋白5px枠を再現） ---------- */
.price-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media (max-width: 640px) {
  .price-row { grid-template-columns: 1fr; text-align: center; }
}
.price-row:nth-child(odd) {
  background-image: linear-gradient(-225deg, #FBFCDB 0%, #FFE6FA 100%);
}
.price-row > div {
  padding: 1.3em 1.5em;
  border: 5px solid #ffffff;
}
.price-row h3 {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b6b6b;
  letter-spacing: 0.1em;
}
.price-row h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #4a4a4a;
  letter-spacing: 0.08em;
}
.price-row h4 small {
  font-size: 0.65rem;
  color: #9a9a9a;
  display: block;
  margin-top: 4px;
}

.price-highlight-box {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  overflow: hidden;
}
.price-highlight-head {
  background: linear-gradient(-225deg, #FBFCDB 0%, #FFE6FA 100%);
  padding: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #8a7a5a;
}

/* ---------- Price table v2（料金表・コース：ユーザー提供画像に準拠） ---------- */
.price-table-header {
  background: #F2E9DD;
  color: #4a4a4a;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  padding: 14px;
  border-radius: 14px 14px 0 0;
  border: 1px solid rgba(0,0,0,0.06);
}
.price-trial-row {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-top: none;
  border-radius: 0 0 14px 14px;
  padding: 1.6em 1.5em;
  color: #4a4a4a;
  font-weight: 500;
}
.price-trial-row small {
  font-size: 0.78rem;
  color: #8a8a8a;
  margin-left: 6px;
  letter-spacing: 0.08em;
}

.price-table4 {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}
.price-table4-head,
.price-table4-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.3fr 1fr;
  align-items: center;
  text-align: center;
}
.price-table4-head {
  background: #F2E9DD;
  color: #6b6b6b;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 14px 8px;
}
.price-table4-row {
  padding: 18px 8px;
  font-size: 0.82rem;
  color: #4a4a4a;
  border-top: 1px solid rgba(0,0,0,0.06);
  letter-spacing: 0.05em;
}
.price-table4-row div:first-child {
  font-weight: 500;
}
.price-table4-row small {
  color: #9a9a9a;
  font-size: 0.7rem;
}
@media (max-width: 640px) {
  .price-table4-head,
  .price-table4-row {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 6px;
  }
  .price-table4-head { display: none; }
  .price-table4-row {
    padding: 16px 18px;
  }
  .price-table4-row > div::before {
    content: attr(data-label);
    display: block;
    font-size: 0.62rem;
    color: #b0b0b0;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
  }
}

.price-option-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-top: none;
  border-radius: 0 0 14px 14px;
  text-align: center;
  padding: 1.2em 1.5em;
  color: #4a4a4a;
  font-weight: 500;
}

.price-notes {
  text-align: left;
  list-style: none;
  padding: 0;
}
.price-notes li {
  position: relative;
  font-size: 0.72rem;
  color: #9a9a9a;
  letter-spacing: 0.05em;
  line-height: 1.9;
  padding-left: 1.1em;
}
.price-notes li::before {
  content: '・';
  position: absolute;
  left: 0;
}

/* ---------- Access ---------- */
.access-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: left;
}
.access-row:last-child {
  border-bottom: none;
}
.access-row i {
  font-size: 1rem;
  color: #d9a5b5;
  margin-top: 3px;
  width: 20px;
  text-align: center;
}
.access-row p.label {
  font-weight: 500;
  color: #4a4a4a;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.access-row p.value {
  font-size: 0.78rem;
  color: #8a8a8a;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

/* ---------- Coming soon ---------- */
.coming-soon-box {
  margin-top: 3rem;
  border: 1px dashed #d8c9d0;
  border-radius: 24px;
  padding: 60px 24px;
  color: #6b6b6b;
  background: #FFFBFD;
}
.coming-soon-box i {
  font-size: 2rem;
  color: #d9a5b5;
  margin-bottom: 16px;
  display: block;
}
.coming-soon-box .cs-label {
  font-size: 1.5rem;
  letter-spacing: 0.25em;
  font-weight: 300;
  color: #a58a94;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #4a4a4a;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}
.faq-question i {
  color: #d9a5b5;
  transition: transform .3s ease;
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}
.faq-answer p {
  font-size: 0.78rem;
  color: #8a8a8a;
  line-height: 1.9;
  letter-spacing: 0.05em;
  text-align: left;
}

/* ---------- Scroll reveal animation ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Floating LINE button ---------- */
#floating-line {
  animation: pulseBtn 2.4s infinite;
}
@keyframes pulseBtn {
  0% { box-shadow: 0 0 0 0 rgba(6,199,85,0.45); }
  70% { box-shadow: 0 0 0 12px rgba(6,199,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(6,199,85,0); }
}
