@charset "utf-8";

/* ==========================================================================
   宋美玄オフィシャルサイト リニューアル用スタイル
   PC:1440px / SP:390px のデザインカンプ基準。ブレークポイントは 768px。
   ========================================================================== */

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

html,
body,
h1,
h2,
h3,
p,
ul,
ol,
li,
dl,
dt,
dd,
figure,
button {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   variables / base
   -------------------------------------------------------------------------- */
:root {
  --c-accent: #18c7ff;
  --c-brand: #2ba5cc;
  --c-orange: #e6a326;
  --c-text: #212121;
  --c-text-sub: #555;
  --c-bg-pale: #eafafe;
  --c-bg-clinic: #e8f7fc;
  --c-border: #c7eefb;
  --f-sans: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", meiryo, sans-serif;
  --f-serif: "Noto Serif JP", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
}

body {
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

.s_inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 共通の右向き矢印 */
.s_arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* 共通セクション見出し */
.s_ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.s_ttl_icon {
  width: 30px;
  height: auto;
}

.s_ttl_note {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

.s_ttl_sub {
  flex-wrap: wrap;
}

/* 共通ピルラベル */
.s_tag {
  display: inline-block;
  min-width: 105px;
  padding: 2px 16px;
  border-radius: 999px;
  background: var(--c-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.04em;
}

.s_tag_center {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* 共通の白カード（薄水色背景セクション内で使用） */
.s_card {
  background: #fff;
  border: 1px solid var(--c-accent);
  padding: 55px 60px 60px;
}

/* 共通「もっと見る」ボタン */
.s_more_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 288px;
  height: 56px;
  margin: 40px auto 0;
  border: 1px solid var(--c-accent);
  border-radius: 999px;
  background: #fff;
  font-size: 16px;
  transition: background-color 0.2s;
}

.s_more_btn::after {
  content: "";
  width: 10px;
  height: 10px;
  border-bottom: 1px solid var(--c-text);
  border-right: 1px solid var(--c-text);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.2s;
}

.s_more_btn:hover {
  background: #f2fbfe;
}

.s_more_btn.is_open::after {
  transform: translateY(1px) rotate(-135deg);
}

/* --------------------------------------------------------------------------
   header
   -------------------------------------------------------------------------- */
.s_header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
}

.s_header_inner {
  display: flex;
  align-items: center;
  height: 85px;
  padding: 0 76px 0 100px;
}

.s_logo {
  display: block;
  text-align: center;
  line-height: 1;
}

.s_logo_sub {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.s_logo_name {
  display: block;
  margin-top: 6px;
  font-family: var(--f-serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--c-brand);
}

.s_gnav {
  margin-left: auto;
}

.s_gnav_list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.s_gnav_item a {
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.s_gnav_item a:hover {
  color: var(--c-brand);
}

.s_header_sns {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 30px;
}

.s_header_sns_item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.s_header_cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 192px;
  height: 46px;
  margin-left: 40px;
  border: 1px solid var(--c-accent);
  border-radius: 999px;
  background: #fff;
  font-size: 15px;
  transition: background-color 0.2s;
}

.s_header_cta:hover {
  background: #eefaff;
}

/* ハンバーガー（今回は非表示。SP実装時に hidden を外す） */
.s_burger {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
}

.s_burger_bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-text);
}

/* --------------------------------------------------------------------------
   side tab
   -------------------------------------------------------------------------- */
.s_sidetab {
  position: fixed;
  top: 118px;
  right: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.s_sidetab_item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  padding: 24px 0;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
  transition: opacity 0.2s;
}

.s_sidetab_item::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: 12px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.s_sidetab_item:hover {
  opacity: 0.85;
}

.s_sidetab_clinic {
  background: var(--c-orange);
}

.s_sidetab_clinic::before {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7.6c1-1.6 3.6-1.5 4.3.3.5 1.3-.4 2.6-1.5 3.5L12 13.6l-2.8-2.2c-1.1-.9-2-2.2-1.5-3.5.7-1.8 3.3-1.9 4.3-.3z'/%3E%3Cpath d='M3 15.5c1.6-.7 3-.4 4.3.4l2.2 1.4h3.1c.8 0 1.2 1 .5 1.4l-1 .6'/%3E%3Cpath d='M13.1 19.3l5.6-2.5c1-.4 2 .9 1.2 1.7l-4.6 3.4c-.8.6-1.8.6-2.7.2l-4.3-2'/%3E%3C/svg%3E");
}

.s_sidetab_contact {
  background: var(--c-accent);
}

.s_sidetab_contact::before {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2.5' width='6' height='11' rx='3'/%3E%3Cpath d='M5.5 11a6.5 6.5 0 0 0 13 0'/%3E%3Cpath d='M12 17.5V21'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   hero
   -------------------------------------------------------------------------- */
.s_hero {
  position: relative;
  padding-top: 85px;
  /* 役職・所属の項目が増えて背景画像より高くなっても破綻しないよう、
     画像の下端と同じ白を敷いておく */
  background-color: #fff;
  background-image: url(../images/renewal/hero_bg.png?v=2);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1440px 800px;
}

.s_hero_main {
  display: flex;
  align-items: flex-start;
  width: 1440px;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 62px;
}

.s_hero_person {
  flex-shrink: 0;
  width: 402px;
  padding-top: 12px;
}

.s_hero_body {
  padding: 50px 0 0 16px;
}

.s_hero_head {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.s_hero_lead {
  font-size: 24px;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.s_hero_name {
  margin-top: 12px;
  font-family: var(--f-serif);
  font-size: 68px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

.s_hero_ruby {
  margin-top: 4px;
  padding-left: 60px;
  font-size: 15px;
  letter-spacing: 0.24em;
  line-height: 1.2;
}

.s_hero_badge {
  flex-shrink: 0;
  width: 184px;
  padding-top: 15px;
}

.s_hero_best {
  margin-top: 32px;
}

/* 書影と KV 内 CTA は SP 専用 */
.s_hero_book_img,
.s_hero_cta {
  display: none;
}

.s_hero_book {
  margin-top: 8px;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.s_hero_desc {
  margin-top: 6px;
  font-size: 15px;
  line-height: 2;
}

.s_hero_desc strong {
  font-weight: 700;
}

.s_hero_sub {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 1440px;
  max-width: 100%;
  margin: 0 auto;
  padding: 72px 75px 0 136px;
}

/* 実績サークル */
.s_facts {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.s_facts_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 194px;
  height: 194px;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  background: #fff;
  text-align: center;
}

.s_facts_icon {
  width: auto;
  height: 42px;
  margin-bottom: 14px;
}

.s_facts_body {
  display: contents;
}

.s_sp_only {
  display: none;
}

.s_facts_txt {
  font-size: 16px;
  line-height: 1.7;
}

.s_facts_pill {
  margin-bottom: 4px;
  padding: 1px 14px;
  border: 1px solid var(--c-accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

/* 役職・所属 */
.s_roles {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-grow: 1;
  padding: 26px 30px;
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, 0.55);
}

.s_roles_head {
  flex-shrink: 0;
  text-align: center;
}

.s_roles_icon {
  width: auto;
  height: 46px;
}

.s_roles_ttl {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
}

.s_roles_item {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.9;
}

.s_roles_item::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

.s_roles_item a {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   youtube
   -------------------------------------------------------------------------- */
.s_youtube {
  padding: 100px 0 90px;
}

.s_slider {
  position: relative;
  margin-top: 46px;
  padding: 0 60px;
}

/* 横スクロール＋スクロールスナップ。
   スマホでは指のスワイプがそのまま使え、PC では矢印で 1 枚ずつ送る。 */
.s_slider_window {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-padding-left: 0;
}

.s_slider_window::-webkit-scrollbar {
  display: none;
}

.s_slider_track {
  display: flex;
  gap: 22px;
}

.s_movie {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
}

.s_movie_thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}

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

.s_movie_thumb::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #ff0000;
}

.s_movie_thumb::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 0;
  height: 0;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}

.s_movie_ttl {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.s_slider_arrow {
  position: absolute;
  top: 26%;
  width: 34px;
  height: 34px;
}

.s_slider_arrow::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 auto;
  border-top: 2px solid var(--c-text);
  border-right: 2px solid var(--c-text);
}

.s_slider_prev {
  left: 8px;
}

.s_slider_prev::before {
  transform: rotate(-135deg);
}

.s_slider_next {
  right: 8px;
}

.s_slider_next::before {
  transform: rotate(45deg);
}

.s_slider_arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

/* --------------------------------------------------------------------------
   clinic banner
   -------------------------------------------------------------------------- */
.s_clinic {
  padding: 46px 0 50px;
  background: var(--c-bg-clinic);
}

.s_clinic_banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 768px;
  max-width: 100%;
  height: 116px;
  margin: 0 auto;
  padding: 0 30px;
  border: 1px solid #dcdcdc;
  background: #fff;
  transition: box-shadow 0.2s;
}

.s_clinic_banner img {
  width: auto;
  max-height: 54px;
}

.s_clinic_banner .s_arrow {
  position: absolute;
  right: 34px;
  width: 11px;
  height: 11px;
  border-width: 1.5px;
}

.s_clinic_banner:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   links（もっと知る / フッター共通）
   -------------------------------------------------------------------------- */
.s_links {
  padding: 90px 0 100px;
}

.s_links .s_inner {
  max-width: 1325px;
}

.s_links_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 44px;
}

.s_links_item {
  width: 300px;
}

.s_links_item a {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100px;
  padding: 0 20px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  background: #fff;
  transition: box-shadow 0.2s;
}

.s_links_item a:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.s_links_logo {
  width: auto;
  max-width: 56px;
  max-height: 52px;
  object-fit: contain;
}

.s_links_logo_wide {
  max-width: 100%;
  max-height: 44px;
  margin: 0 auto;
}

.s_links_txt {
  display: block;
  line-height: 1.5;
}

.s_links_name {
  display: block;
  font-size: 17px;
}

.s_links_id {
  display: block;
  color: #666;
  font-size: 15px;
}

.s_links_txt_center {
  flex-grow: 1;
  text-align: center;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   bestseller
   -------------------------------------------------------------------------- */
.s_bestseller {
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #ffffff 0%, #e6f6fd 22%, #d9f1fc 50%, #eaf8fd 78%, #ffffff 100%);
}

.s_bestseller .s_card {
  padding: 40px 60px 60px;
  text-align: center;
}

.s_bestseller_ttl {
  margin-top: 22px;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.s_bestseller_books {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.s_bestseller_books li {
  width: 116px;
}

.s_bestseller_txt {
  margin: 44px auto 0;
  max-width: 620px;
  text-align: left;
}

.s_bestseller_txt p + p {
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   books
   -------------------------------------------------------------------------- */
.s_books {
  padding: 90px 0 100px;
}

.s_books_list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 56px 30px;
  margin-top: 56px;
}

.s_book a {
  display: block;
  text-align: center;
}

.s_book_img {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 222px;
}

.s_book_img img {
  max-height: 100%;
  width: auto;
}

.s_book_link {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  text-decoration: underline;
}

.s_book a:hover .s_book_link {
  color: var(--c-brand);
}

/* 著書一覧の折りたたみは SP のみ。PC では全件表示しボタンも出さない */
.s_books_more {
  display: none;
}

/* --------------------------------------------------------------------------
   career / media / lecture（薄水色背景の帯）
   -------------------------------------------------------------------------- */
.s_career,
.s_media,
.s_lecture {
  background: var(--c-bg-pale);
}

.s_career {
  padding: 90px 0 40px;
}

.s_media {
  padding: 40px 0;
}

.s_lecture {
  padding: 40px 0 100px;
}

/* 年表 */
.s_history {
  margin-top: 40px;
}

.s_history_group {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.s_history_year {
  flex-shrink: 0;
  width: 56px;
  padding-top: 18px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  text-align: right;
}

.s_history_list {
  flex-grow: 1;
  border-top: 1px solid var(--c-accent);
  padding: 14px 0 18px;
}

.s_history_row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 6px 0;
}

.s_history_month {
  flex-shrink: 0;
  width: 44px;
  padding-top: 1px;
  font-size: 14px;
  text-align: right;
}

.s_history_txt {
  position: relative;
  flex-grow: 1;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.9;
}

.s_history_txt::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* 出演実績アコーディオン */
.s_acc {
  margin-top: 40px;
}

.s_acc_item {
  border-bottom: 1px solid #333;
}

.s_acc_item:first-child {
  border-top: 1px solid #333;
}

.s_acc_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 4px;
  font-size: 20px;
  font-weight: 500;
  text-align: left;
}

.s_acc_head::after {
  content: "";
  width: 14px;
  height: 14px;
  border-bottom: 2px solid var(--c-text);
  border-right: 2px solid var(--c-text);
  transform: translateY(-4px) rotate(45deg);
  transition: transform 0.25s;
}

.s_acc_item.is_open .s_acc_head::after {
  transform: translateY(2px) rotate(-135deg);
}

.s_acc_body {
  display: none;
  padding: 0 4px 26px;
}

.s_acc_item.is_open .s_acc_body {
  display: block;
}

.s_acc_list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 2;
}

.s_acc_list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-accent);
}

.s_acc_list_col {
  column-count: 3;
  column-gap: 40px;
}

.s_acc_note {
  margin-bottom: 6px;
  font-size: 14px;
}

/* 講演会実績 */
.s_lecture .s_tag_center {
  margin-top: 24px;
}

.s_lecture_theme {
  margin-top: 20px;
}

.s_lecture_theme li {
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
}

.s_lecture_theme li::before {
  content: "・";
}

/* --------------------------------------------------------------------------
   contact
   -------------------------------------------------------------------------- */
.s_contact {
  padding: 100px 0 110px;
}

.s_contact_lead {
  margin-top: 24px;
  font-size: 15px;
  line-height: 2;
  text-align: center;
}

.s_contact_form {
  max-width: 900px;
  margin: 50px auto 0;
}

/* お問い合わせフォーム（テーマ内実装） */
.s_form_lead {
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
}

.s_form_row + .s_form_row {
  margin-top: 26px;
}

.s_form_label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
}

.s_form_req {
  display: inline-block;
  padding: 0 8px;
  border-radius: 2px;
  background: #b40000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

.s_form input[type="text"],
.s_form input[type="email"],
.s_form textarea {
  width: 100%;
  max-width: 440px;
  padding: 10px 12px;
  border: 1px solid #333;
  border-radius: 0;
  background: #fff;
  font: inherit;
  color: inherit;
}

.s_form textarea {
  max-width: 100%;
  height: 210px;
  resize: vertical;
}

.s_form input:focus,
.s_form textarea:focus {
  outline: 2px solid var(--c-accent);
  outline-offset: 1px;
}

.s_form_error_top {
  margin-bottom: 22px;
  padding: 12px 16px;
  border: 1px solid #b40000;
  color: #b40000;
  font-size: 15px;
}

.s_form_error {
  margin-top: 6px;
  color: #b40000;
  font-size: 14px;
}

/* 確認画面 */
.s_form_value {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
  line-height: 1.9;
}

.s_form_empty {
  color: #888;
}

.s_form_btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.s_form_back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 60px;
  border: 1px solid #999;
  border-radius: 999px;
  background: #fff;
  font-size: 16px;
  transition: background-color 0.2s;
}

.s_form_back:hover {
  background: #f4f4f4;
}

.s_form_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  width: 300px;
  height: 60px;
  margin: 40px auto 0;
  border: 1px solid var(--c-accent);
  border-radius: 999px;
  background: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.s_form_btns .s_form_submit {
  margin: 0;
}

.s_form_submit:hover {
  background: #eefaff;
}

.s_form_note {
  margin-top: 26px;
  font-size: 13px;
  line-height: 1.9;
  text-align: center;
  color: #555;
}

/* スパム対策用。利用者には見せない */
.s_form_trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 送信完了 / 失敗 */
.s_form_done {
  padding: 40px 20px;
  border: 1px solid var(--c-accent);
  text-align: center;
  font-size: 15px;
  line-height: 2;
}

.s_form_done_ttl {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   footer
   -------------------------------------------------------------------------- */
.s_footer .s_inner {
  max-width: 1325px;
}

.s_footer {
  padding: 60px 0 40px;
  background-image: url(../images/renewal/footer_bg.png?v=2);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.s_footer_logo {
  width: fit-content;
  margin: 0 auto;
}

.s_footer_nav {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 26px;
}

.s_footer_nav_item a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.s_footer_nav_item .s_arrow {
  display: none;
}

.s_footer_links {
  margin-top: 44px;
}

.s_copyright {
  margin-top: 50px;
  font-size: 13px;
  text-align: center;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   animation
   移動量 20px / 0.6s の控えめな設定。

   非表示の初期状態は必ず html.s_anim 配下に置くこと。
   JS が動かない・IntersectionObserver が発火しない（バックグラウンドタブ等）
   場合でもコンテンツが読めるようにするため、既定は「表示」にしておく。
   -------------------------------------------------------------------------- */
.s_anim .s_fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.s_anim .s_fade.is_shown {
  opacity: 1;
  transform: none;
}

/* 並んだ要素は少しずつ遅らせて表示する */
.s_anim .s_fade[data-delay="1"] { transition-delay: 0.08s; }
.s_anim .s_fade[data-delay="2"] { transition-delay: 0.16s; }
.s_anim .s_fade[data-delay="3"] { transition-delay: 0.24s; }
.s_anim .s_fade[data-delay="4"] { transition-delay: 0.32s; }
.s_anim .s_fade[data-delay="5"] { transition-delay: 0.40s; }

/* KV は読み込み直後に順番に表示する */
.s_anim .s_hero_person,
.s_anim .s_hero_head_txt,
.s_anim .s_hero_badge,
.s_anim .s_hero_best,
.s_anim .s_hero_desc_box,
.s_anim .s_hero_cta,
.s_anim .s_facts_item,
.s_anim .s_roles {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.s_anim .is_kv_ready .s_hero_person { opacity: 1; transform: none; transition-delay: 0.1s; }
.s_anim .is_kv_ready .s_hero_head_txt { opacity: 1; transform: none; transition-delay: 0.25s; }
.s_anim .is_kv_ready .s_hero_badge { opacity: 1; transform: none; transition-delay: 0.35s; }
.s_anim .is_kv_ready .s_hero_best { opacity: 1; transform: none; transition-delay: 0.45s; }
.s_anim .is_kv_ready .s_hero_desc_box { opacity: 1; transform: none; transition-delay: 0.55s; }
.s_anim .is_kv_ready .s_hero_cta { opacity: 1; transform: none; transition-delay: 0.6s; }
.s_anim .is_kv_ready .s_facts_item { opacity: 1; transform: none; }
.s_anim .is_kv_ready .s_facts_item:nth-child(1) { transition-delay: 0.65s; }
.s_anim .is_kv_ready .s_facts_item:nth-child(2) { transition-delay: 0.73s; }
.s_anim .is_kv_ready .s_facts_item:nth-child(3) { transition-delay: 0.81s; }
.s_anim .is_kv_ready .s_roles { opacity: 1; transform: none; transition-delay: 0.85s; }

/* ホバー時の動き（マウス操作できる環境のみ） */
@media (hover: hover) {
  .s_links_item a,
  .s_clinic_banner {
    transition: box-shadow 0.25s ease, transform 0.25s ease;
  }

  .s_links_item a:hover,
  .s_clinic_banner:hover {
    transform: translateY(-3px);
  }

  .s_book a {
    display: block;
    transition: transform 0.25s ease;
  }

  .s_book a:hover {
    transform: translateY(-4px);
  }

  .s_movie a {
    display: block;
  }

  .s_movie_thumb img {
    transition: transform 0.4s ease;
  }

  .s_movie a:hover .s_movie_thumb img {
    transform: scale(1.05);
  }

  .s_header_sns_item img {
    transition: transform 0.25s ease;
  }

  .s_header_sns_item a:hover img {
    transform: scale(1.12);
  }
}

/* 視差効果を減らす設定の環境では動かさない */
@media (prefers-reduced-motion: reduce) {
  .s_links_item a:hover,
  .s_clinic_banner:hover,
  .s_book a:hover,
  .s_movie a:hover .s_movie_thumb img,
  .s_header_sns_item a:hover img {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   tablet 以下の縮小調整
   -------------------------------------------------------------------------- */
@media screen and (max-width: 1440px) {
  .s_hero {
    background-size: 100% auto;
  }
}

@media screen and (min-width: 769px) and (max-width: 1240px) {
  .s_header_inner {
    padding: 0 30px 0 40px;
  }

  .s_gnav_list {
    gap: 20px;
  }

  .s_header_sns {
    gap: 14px;
    margin-left: 18px;
  }

  .s_header_cta {
    width: 160px;
    margin-left: 20px;
  }

  .s_hero_main {
    padding-left: 30px;
  }

  .s_hero_person {
    width: 30%;
  }

  .s_hero_name {
    font-size: 56px;
  }

  .s_hero_sub {
    padding: 60px 30px 0 40px;
    gap: 24px;
  }

  .s_facts_item {
    width: 168px;
    height: 168px;
  }

  .s_facts_txt {
    font-size: 14px;
  }

  .s_books_list {
    grid-template-columns: repeat(4, 1fr);
  }

  .s_card {
    padding: 40px 30px 45px;
  }
}

/* --------------------------------------------------------------------------
   SP（〜768px）
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .s_inner {
    padding: 0 15px;
  }

  .s_ttl {
    gap: 10px;
    font-size: 20px;
  }

  .s_ttl_icon {
    width: 22px;
  }

  .s_card {
    padding: 24px 15px 30px;
  }

  .s_more_btn {
    width: 100%;
    max-width: 330px;
    height: 50px;
    margin-top: 30px;
    font-size: 15px;
  }

  /* header */
  .s_header_inner {
    height: 66px;
    padding: 0 15px;
    justify-content: center;
  }

  .s_logo_sub {
    font-size: 10px;
  }

  .s_logo_name {
    margin-top: 2px;
    font-size: 30px;
  }

  .s_gnav,
  .s_header_sns,
  .s_header_cta {
    display: none;
  }

  /* PC の右端固定タブは SP では画面下部固定の横並びボタン(.s_hero_cta)に置き換える */
  .s_sidetab {
    display: none;
  }

  .s_hero_cta {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    width: 100%;
    /* iOS のホームバー分を確保する */
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  /* 下部固定バーにフッター（コピーライト）が隠れないよう余白を確保する。
     実際の高さは js/renewal.js が測って上書きする（ここは JS 無効時の保険） */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .s_sidetab_item {
    flex: 1 1 50%;
    width: auto;
    gap: 8px;
    padding: 14px 6px;
    /* 狭い端末で折り返さないよう文字サイズを可変にする */
    font-size: clamp(13px, 3.8vw, 16px);
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    writing-mode: horizontal-tb;
  }

  .s_sidetab_item::before {
    width: 20px;
    height: 20px;
  }

  .s_sidetab_item::before {
    margin: 0;
  }

  .s_sidetab_item::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
    transform: rotate(45deg);
  }

  /* hero */
  .s_hero {
    padding-top: 66px;
    background-color: #e9f7fd;
    background-image: url(../images/renewal/hero_bg_sp.png?v=2);
    /* KV の人物・バッジは背景画像に含めているので、
       背景とコンテンツの最大幅を揃えて位置ズレを防ぐ */
    background-size: min(100%, 500px) auto;
  }

  /* デザイン SP は「人物 / バッジ」「名前 / ベストセラー」の 2 カラム。
     .s_hero_body と .s_hero_head は display:contents で透過させ、
     子要素を直接 flex アイテムとして 2 列に折り返す。 */
  .s_hero_main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 2%;
  }

  .s_hero_body,
  .s_hero_head {
    display: contents;
  }

  .s_hero_person {
    order: 1;
    width: 48.5%;
    margin: 2.5% 0 0 2%;
    visibility: hidden;
  }

  .s_hero_badge {
    order: 2;
    width: 44%;
    margin: 1.5% 2.8% 0 auto;
    visibility: hidden;
  }

  .s_hero_head_txt {
    order: 3;
    width: 50%;
    padding: 5% 0 0 4%;
  }

  .s_hero_best {
    order: 4;
    width: 50%;
    margin-top: -9%;
    padding: 0 1% 0 2%;
    text-align: center;
  }

  .s_hero_desc_box {
    order: 5;
    width: 96.5%;
    margin: 5% auto 0;
    padding: 5% 5.5%;
    background: #ecfafd;
  }

  .s_hero_lead {
    font-size: clamp(14px, 4.1vw, 18px);
    letter-spacing: 0.04em;
  }

  .s_hero_name {
    margin-top: 2px;
    font-size: clamp(28px, 8.7vw, 40px);
  }

  .s_hero_ruby {
    padding-left: 0;
    font-size: clamp(10px, 2.8vw, 13px);
    letter-spacing: 0.12em;
  }

  .s_hero_best .s_tag {
    min-width: 0;
    width: 60%;
    padding: 3px 8px;
    font-size: clamp(12px, 3.4vw, 15px);
  }

  .s_hero_book {
    display: none;
  }

  /* 書影は薄い円形の背景に載せる */
  .s_hero_book_img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
  }

  .s_hero_book_img img {
    width: 56%;
  }

  .s_hero_desc {
    margin-top: 0;
    padding: 0;
    font-size: clamp(14px, 4.1vw, 17px);
    line-height: 2;
  }

  .s_hero_desc + .s_hero_desc {
    display: inline;
  }

  .s_hero_sub {
    display: block;
    width: auto;
    padding: 20px 15px 0;
  }

  .s_facts {
    display: block;
    padding: 8px 16px;
    border: 1px solid var(--c-border);
    background: #fff;
  }

  .s_facts_item {
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    height: auto;
    padding: 14px 0;
    border: none;
    border-radius: 0;
    text-align: left;
  }


  .s_facts_icon {
    height: 34px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .s_facts_body {
    display: block;
  }

  .s_sp_only {
    display: inline;
  }

  .s_facts_txt {
    font-size: 15px;
  }

  .s_facts_txt br {
    display: none;
  }

  .s_facts_pill {
    display: inline-block;
    margin-bottom: 4px;
  }

  .s_roles {
    display: block;
    margin-top: 20px;
    padding: 18px 16px 22px;
    background: #fff;
    border-color: var(--c-accent);
  }

  .s_roles_head {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .s_roles_icon {
    height: 36px;
  }

  .s_roles_list {
    margin-top: 12px;
  }

  .s_roles_item {
    font-size: 14px;
  }

  /* youtube */
  .s_youtube {
    padding: 46px 0 40px;
  }

  .s_slider {
    margin-top: 24px;
    padding: 0 22px;
  }

  /* 1 枚を大きく見せつつ、右端に次の動画をのぞかせて横に続くことを示す */
  .s_movie {
    flex: 0 0 82%;
  }

  .s_slider_track {
    gap: 12px;
  }

  .s_slider {
    padding: 0;
  }

  /* スワイプで送れるので、矢印は画面の端に小さく置く */
  .s_slider_arrow {
    top: 26%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  }

  .s_slider_arrow::before {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }

  .s_slider_prev {
    left: 2px;
  }

  .s_slider_next {
    right: 2px;
  }

  /* 端まで来たら矢印を隠して、スワイプの邪魔をしない */
  .s_slider_arrow:disabled {
    opacity: 0;
    pointer-events: none;
  }

  .s_movie_thumb::after {
    width: 52px;
    height: 52px;
    background-size: 18px auto;
  }

  /* clinic */
  .s_clinic {
    padding: 26px 0 30px;
  }

  .s_clinic_banner {
    width: 100%;
    height: 84px;
    padding: 0 40px 0 16px;
  }

  .s_clinic_banner .s_arrow {
    right: 18px;
  }

  .s_clinic_banner img {
    max-height: 34px;
  }

  /* links */
  .s_links {
    padding: 46px 0 50px;
  }

  .s_links_list {
    display: block;
    margin-top: 24px;
  }

  .s_links_item {
    width: 100%;
  }

  .s_links_item + .s_links_item {
    margin-top: 12px;
  }

  .s_links_item a {
    height: 78px;
  }

  .s_links_logo {
    max-width: 48px;
    max-height: 44px;
  }

  /* 横長ロゴ（TikTok/Voicy/Amazon/クリニック）はカード幅いっぱいまで使う。
     max-width を上書きしないと .s_links_logo の 48px に潰される */
  .s_links_logo_wide {
    max-width: 100%;
    max-height: 46px;
  }

  /* bestseller */
  .s_bestseller {
    padding: 34px 0 40px;
  }

  .s_bestseller .s_card {
    padding: 26px 15px 30px;
  }

  .s_bestseller_ttl {
    margin-top: 14px;
    font-size: 17px;
  }

  .s_bestseller_books {
    gap: 8px;
    margin-top: 20px;
  }

  .s_bestseller_books li {
    width: 33%;
  }

  .s_bestseller_books li:nth-child(4) {
    display: none;
  }

  .s_bestseller_txt {
    margin-top: 24px;
  }

  .s_bestseller_txt p + p {
    margin-top: 14px;
  }

  /* books */
  .s_books {
    padding: 46px 0 50px;
  }

  .s_books_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    margin-top: 26px;
  }

  .s_book_img {
    height: 214px;
  }

  .s_books_more {
    display: flex;
  }

  /* 折りたたみ時は 2 列 × 3 行 = 6 冊まで */
  .s_books_list.is_collapsed .s_book:nth-child(n + 7) {
    display: none;
  }

  /* career / media / lecture */
  .s_career {
    padding: 46px 0 20px;
  }

  .s_media,
  .s_lecture {
    padding: 20px 0;
  }

  .s_lecture {
    padding-bottom: 50px;
  }

  .s_history {
    margin-top: 20px;
  }

  .s_history_group {
    display: block;
  }

  .s_history_year {
    width: auto;
    padding: 0 0 4px;
    font-size: 18px;
    text-align: left;
  }

  .s_history_list {
    padding: 10px 0 14px;
  }

  .s_history_row {
    display: block;
    padding: 4px 0;
  }

  .s_history_month {
    display: block;
    width: auto;
    margin-bottom: 2px;
    font-size: 14px;
    text-align: left;
  }

  .s_history_month:empty {
    display: none;
  }

  .s_history_txt {
    display: block;
    font-size: 14px;
  }

  .s_acc {
    margin-top: 20px;
  }

  .s_acc_head {
    padding: 16px 2px;
    font-size: 17px;
  }

  .s_acc_list li {
    font-size: 14px;
  }

  .s_acc_list_col {
    column-count: 1;
  }

  .s_lecture_theme li {
    text-align: left;
    text-indent: -1em;
    padding-left: 1em;
  }

  /* contact */
  .s_contact {
    padding: 46px 0 50px;
  }

  .s_contact_lead {
    margin-top: 16px;
    text-align: left;
  }

  .s_contact_lead br {
    display: none;
  }

  .s_contact_form {
    margin-top: 26px;
  }

  .s_form input[type="text"],
  .s_form input[type="email"] {
    max-width: 100%;
  }

  .s_form textarea {
    height: 160px;
  }

  .s_form_submit,
  .s_form_back {
    width: 100%;
    max-width: 330px;
    height: 52px;
    font-size: 16px;
  }

  .s_form_btns {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .s_form_lead,
  .s_form_note {
    text-align: left;
  }

  .s_form_done {
    padding: 26px 16px;
    text-align: left;
  }

  .s_form_done_ttl {
    font-size: 17px;
    text-align: center;
  }

  /* footer */
  .s_footer {
    padding: 34px 0 26px;
    background-image: url(../images/renewal/footer_bg_sp.png?v=2);
  }

  .s_footer_nav {
    display: block;
    margin-top: 20px;
  }

  .s_footer_nav_item {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
  }

  .s_footer_nav_item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }

  .s_footer_nav_item a {
    justify-content: space-between;
    padding: 14px 6px;
    width: 100%;
  }

  .s_footer_nav_item .s_arrow {
    display: inline-block;
  }

  .s_footer_links {
    margin-top: 24px;
  }

  .s_copyright {
    margin-top: 30px;
    font-size: 11px;
  }
}
