/* ========================================
   よしえオンニLP — Plain CSS
   Max width: 480px / Liquid layout
   ======================================== */

/* ----- Reset / Base ----- */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background-image: url('../images/yoshieonni/bg_page.png');
  background-size: cover; 
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}
a:hover {
  text-decoration: none;
  opacity: 0.8;
}
h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}
h2 { border: none; }
h3::before { content: none; }

/* ----- Page Wrapper ----- */
.yoshieonni_page {
  --fs-xl: clamp(16px, 2.5vw + 8px, 20px);    /* 20px相当 */
  --fs-base: clamp(14px, 1.25vw + 10px, 16px); /* 16px相当 */
  --fs-sm: clamp(13px, 0.625vw + 11px, 14px);  /* 14px相当 */
  --fs-xs: clamp(11px, 0.625vw + 9px, 12px);   /* 12px相当 */ 

  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  font-family: 'Noto Sans JP', sans_serif;
  font-size: var(--fs-base);
  color: #333;
  background: #fff;
  overflow: hidden;
}

/* ----- Yellow Highlight (marker effect) ----- */
mark.hl {
  background: linear-gradient(transparent 50%, yellow 50%);
  color: inherit;
  padding: 0;
  display: inline;
  font-weight: 700;
}

/* ----- Shared: Body Text ----- */
.body-text {
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 2;
  color: #333;
  margin: 0;
  word-break: break-word;
}

.body-text--sm {
  font-size: var(--fs-xs);
}

.body-text--white {
  color: #fff;
}

.body-text--justify {
  text-align: justify;
}

.body-text strong {
  font-weight: 700;
}

/* ----- Shared: White Card ----- */
.card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.card__heading--pink {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #f03189;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* ----- Shared: Card heading with bottom border ----- */
.card-heading-bordered {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #333;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 2px solid #f03189;
  width: 100%;
}

/* ----- Shared: Section headings ----- */
.section-heading {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #f03189;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

.subheading {
  font-size: var(--fs-base);
  font-weight: 700;
  color: #333;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  padding: 0;
}
.subheading::before {
  content: none;
}

/* ----- Shared: Small note ----- */
.small-note {
  font-size: var(--fs-xs);
  font-weight: 400;
  line-height: 2;
  color: #333;
  margin: 0;
  word-break: break-word;
}

.small-note--white {
  color: #fff;
}

.small-note strong {
  font-weight: 700;
}

/* ----- Shared: CTA block (image + button) ----- */
.cta-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.cta-img img,
.cta-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.cta-btn {
  animation: floatAnimation 2s infinite ease-in-out;
}

.cta-btn a:hover {
  opacity: 0.8;
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);　/* 中間点：上10px移動 */
  }
  100% {
    transform: translateY(0);
  }
}

/* ----- Shared: Text utilities ----- */
.text-center {
  text-align: center;
}

.text-yellow {
  color: yellow;
}

/* ========================================
   Section: Hero & Partner Clinics
   ======================================== */
.s_hero {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
}

/* Hero main visual — aspect ratio 375:536 */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 375 / 536;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pink catchphrase banner */
.hero-catchphrase {
  background: #f03189;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-catchphrase h2 {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  word-break: break-word;
}
.hero-catchphrase h2 span {
  font-size: var(--fs-xl);
}

/* Partner clinics background image — aspect ratio 750:450 */
/* 背景用エリア */
.partner-clinics_bg {
  position: relative;
  width: 100%;
  aspect-ratio: 750 / 450;
  overflow: hidden;
}

.partner-clinics_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* スライダー外枠（高さ固定・はみ出し防止） */
.partner-clinics_wrap {
  background: #fff;
  width: 100%;
  height: 80px;
  overflow: hidden;
}

/* スライダー本体（横並び・無限ループ適用） */
.partner-clinics_slider {
  display: flex;
  width: max-content;
  height: 100%;
  animation: loop-slider 60s linear infinite;
}

/* ホバー（タップ）でアニメーション一時停止 */
.partner-clinics_slider:hover {
  animation-play-state: paused;
}

/* 各ロゴアイテムの枠設定 */
.clinic-logo-slide {
  height: 80px;
  min-width: 160px; /* ロゴ同士の最低幅を確保 */
  padding: 10px 15px;
  flex-shrink: 0;   /* 横幅の縮小を防止 */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ロゴ画像スタイル（既存サイズを保持） */
.clinic-logo-slide img,
.clinic-logo-slide .p_affiliate__img {
  height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 0;
}

/* 無限ループ用キーフレーム定義 */
@keyframes loop-slider {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================
   Section: Full Support Description (pink bg)
   ======================================== */
.s_full-support {
  background: #f03189;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.s_full-support__ttl {
  width: 100%;
  aspect-ratio: 335 / 282;
}

.s_full-support__ttl img {
  width: 100%;
  height: auto;
}

/* img_problem inside card — aspect ~295:448 */
.img-problem {
  width: 100%;
  aspect-ratio: 295 / 448;
  overflow: hidden;
}

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

/* Consultation Examples */
.consultation-examples {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  overflow: hidden;
}

.consultation-examples__label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #f03189;
  line-height: 2;
  text-align: center;
  margin: 0;
}

.example-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
}

.example-badge {
  background: #c5edf3;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: var(--fs-base);
  font-weight: 700;
  color: #333;
  text-align: center;
  white-space: nowrap;
  width: 100%;
  max-width: 295px;
  line-height: 1;
}

.example-card p {
  font-size: var(--fs-xs);
  font-weight: 400;
  line-height: 2;
  color: #333;
  text-align: center;
  margin: 0;
}

/* ========================================
   Section: Company & Certification Info (light blue bg)
   ======================================== */
.s_company {
  background: #c5edf3;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.s_company__bg-deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.s_company__bg-deco img {
  width: 100%;
  height: auto;
}

.s_company__ttl {
  width: 100%;
  aspect-ratio: 750 / 280;
  position: relative;
  z-index: 1;
}

.s_company__ttl img {
  width: 100%;
  height: auto;
}

.s_company__ttl-sub {
  text-align: center;
	margin-top: 20px;
}

.s_company__card {
  display: grid;
  grid-template-columns: 100px 1fr;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.s_company__card-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.s_company__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
}

.s_company__card-text {
	padding: 20px;
}

.s_company__card-text > h4 {
	margin-bottom: 10px;
}

.s_company__card-text > p {
	font-size: var(--fs-sm);
	line-height: 1.8;
	margin: 0;
}
.s_company__staff {
	display: flex;
	flex-direction: row;
	gap: 10px 20px;
}
.s_company__staff-img {
	flex: 1;
	text-align: center;
}

.s_company__staff-img > img {
	border-radius: 15px;
}

.s_company__staff-img > p {
	line-height: 1;
	margin: 10px 0 0;
}
	
/* ========================================
   Section: Support Services (light pink bg)
   ======================================== */
.s_support {
  background: #f5eff2;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.s_support__ttl {
  width: 100%;
  aspect-ratio: 335 / 89;
  overflow: hidden;
}

.s_support__ttl img {
  width: 100%;
  height: auto;
}

/* Service tags */
.service-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  overflow: hidden;
}

.service-tag-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  background: #f03189;
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 400;
  border-radius: 20px;
  padding: 5px 10px;
  line-height: 1;
  white-space: nowrap;
  word-break: keep-all;
}

.tag small {
  font-size: var(--fs-xs);
}

/* Support examples */
.s_support__ex-list .num {
  line-height: 1;
  background-color: #F03189;
  color: #FFF;
  font-size: var(--fs-sm);
  font-weight: 700;
  display: block;
  width: fit-content;
  padding: 10px 20px;
  border-radius: 10px 10px 0 0;
}
.s_support__ex-box {
  background-color: #FFF;
  border: solid 2px #F03189;
  border-radius: 0 20px 20px 20px;
  padding: 20px;
  margin-bottom: 20px;
}
.s_support__ex-ttl {
  margin-bottom: 10px;
}
.s_support__ex-box > p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.8;
}


/* ========================================
   Section: Representative Profile (light pink bg)
   ======================================== */
.s_profile {
  background-color: #f5eff2;
  background-image: url('../images/yoshieonni/bg_grid.png');
  background-size: 100% auto;
  background-repeat: repeat;
  background-position: top left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.s_profile__ttl {
  width: 100%;
  aspect-ratio: 375 / 336;
  overflow: hidden;
}

.s_profile__ttl img {
  width: 100%;
  height: auto;
}

.s_profile__story-ttl {
  width: 100%;
  aspect-ratio: 750 / 300;
}

.s_profile__story-ttl img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Surgery report: thumb + button */
.surgery-report {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
}

.surgery-report__thumb {
  width: 100%;
  aspect-ratio: 1000 / 563;
  overflow: hidden;
}

.surgery-report__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surgery-report__btn {
  background: #f03189;
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  text-align: center;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  padding: 0 16px;
}

.btn-chevron {
  flex-shrink: 0;
  display: inline-block;
}

/* Profile photo — aspect 750:400 */
.profile-photo {
  width: 100%;
  aspect-ratio: 750 / 400;
  overflow: hidden;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Link button */
.link-btn {
  background: #f03189;
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  padding: 24px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
  border-radius: 999em;
}

/* ========================================
   Section: Counseling Events (pink bg)
   ======================================== */
.s_events {
  background: #f03189;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.s_events__ttl {
  width: 100%;
  aspect-ratio: 375 / 107;
  overflow: hidden;
}

.s_events__ttl img {
  width: 100%;
  height: auto;
}

/* Events list inside white card */
.events_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.event-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

.event-item__thumb {
  width: 100%;
  aspect-ratio: 1000 / 563;
  overflow: hidden;
}

.event-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-item__btn {
  background: #f03189;
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  line-height: 2;
}

.event-item__btn--arrow {
  height: 32px;
  padding: 0 16px;
  position: relative;
}

/* Flow steps */
.flow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  overflow: hidden;
}

.flow-step__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}

.flow-step__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flow-step__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flow-step__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #f03189;
  line-height: 1.5;
  margin: 0;
  min-height: 50px;
  display: flex;
  align-items: center;
}
.flow-step__content > p {
  font-size: var(--fs-sm);
}

/* Arrow between flow steps */
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
}

/* ========================================
   Section: Key Benefits (light pink bg)
   ======================================== */
.s_benefits {
  background-color: #f5eff2;
  background-image: url('../images/yoshieonni/bg_point.png');
  background-size: 100% auto;
  background-repeat: repeat;
  background-position: top left;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.s_benefits__ttl {
  width: 100%;
  aspect-ratio: 750 / 280;
  overflow: hidden;
}

.s_benefits__ttl img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Point card */
.point-card {
  position: relative;
  padding-top: 13px;
  width: 100%;
}

.point-card__label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #f03189;
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  border-radius: 20px;
  padding: 5px 20px;
  line-height: 1;
  z-index: 1;
  white-space: nowrap;
}

.point-card__inner {
  background: #fff;
  border: 2px solid #f03189;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.point-card__inner h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #333;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

.point-card__img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: 4px;
}

.point-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 開催予定のカウンセリング会 
ショートコードカスタマイズ[get_event_list_future] */
.p_event-info .event_list {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.p_event-info .event_list li {
  padding: 10px;
  width: 100%;
  padding: 0;
  position: relative;
}
.p_event-info .event_list li .meta {
  padding: 10px 15px 15px 15px;
}
.p_event-info .event_list li:after {
  content: '詳細はこちら';
  display: block;
  font-size: var(--fs-xs);
  color: #ffffff;
  background-color: #F03189;
  padding: 5px 10px;
  position: absolute;
  bottom: 0;
  right: 0;
}

/* ========================================
   Section: Testimonials & CTA (light blue bg)
   ======================================== */
/* セクション全体 */
.s_testimonials {
  background: #c5edf3;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 20px 35px; /* 下部ドット配置用の余白を確保 */
  align-items: center;
  box-sizing: border-box;
}

/* タイトル画像 */
.s_testimonials__ttl {
  width: 100%;
  aspect-ratio: 750 / 280;
  overflow: hidden;
}

.s_testimonials__ttl img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* スライダー全体の枠組み */
.testimonials_slider {
  width: 100%;
  margin-bottom: 10px;
}

/* スライド1件ずつの枠（カード＋アバターを一体化） */
.testimonial-item {
  height: 100%;
  outline: none;
  display: flex !important;
  flex-direction: column;
  align-items: center;
}

/* 吹き出しカード */
.testimonial-card {
  width: 100%;
  flex: 1; /* アバター以外の余剰高さをすべてカードに割り振る */
  display: flex;
  flex-direction: column;
}

.testimonial-card__inner {
  flex: 1;
  background: #fff;
  border: 2px solid #f03189;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-card__inner p {
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 2;
  color: #333;
  text-align: justify;
  margin: 0;
  word-break: break-word;
}

/* アバター画像（吹き出し直下に中央配置） */
.testimonial-avatar {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  margin-top: 15px;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ------------ Slick ドットナビゲーション最適化 ------------ */
.testimonials_slider .slick-dots {
  bottom: -28px;
}

.testimonials_slider .slick-dots li {
  margin: 0 3px;
}

/* 非アクティブなドット（やや透過させて存在感を抑える） */
.testimonials_slider .slick-dots li button::before {
  color: #f03189;
  font-size: 10px;
  opacity: 0.4;
  transition: all 0.3s ease;
  content: '●';
}

/* アクティブなドット（くっきり表示して視認性をアップ） */
.testimonials_slider .slick-dots li.slick-active button::before {
  color: #f03189;
  font-size: var(--fs-sm);
  opacity: 1;
  content: '●';
}
/* ------------ Slick内部のFlex化（高さ統一用） ------------ */
.testimonials_slider .slick-track {
  display: flex !important; /* 全スライドの基準高さを統一 */
}

.testimonials_slider .slick-slide {
  height: auto !important; /* flexの自動高さ伸ばしを有効化 */
  display: flex !important;
  flex-direction: column;
  margin: 0 15px;
}

.testimonials_slider .slick-list {
  margin: 0 -15px;
}

.testimonials_slider .slick-slide > div {
  height: 100%;
  width: 100%;
}