﻿/* ========================================
   pages/about-3res.css
   3ReSについて（JP/EN）専用スタイル
   legacy/style.css から移行
======================================== */

.page_3res {
	--res_bg_gradient: linear-gradient(90deg, #d0ffe0 30%, #fff9bf 100%);
}
/* ----- ヒーロー ----- */
.res_hero_sec {
  position: relative;
  padding-bottom: 0;
}

/* common.css の .sec と併用：ヒーローは上端を詰め、下はセクション余白で次ブロックと区切る */
.page_3res .res_main > .res_hero_sec.sec {
  padding-top: 0;
}

.res_hero_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(224, 242, 254, 0.95) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(240, 253, 244, 0.95) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(254, 252, 232, 0.85) 0%, transparent 50%),
    #fff;
}

.res_hero_top {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  padding-top: 24px;
  padding-bottom: 28px;
}

.res_lang {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 20px;
  font-size: 0.93em;
  color: #666;
}

.res_lang__sep {
  color: #ccc;
  background: #fff;
}

.res_lang__link {
  color: #666;
  text-decoration: none;
  background: #fff;
  padding: 3px 14px;
}

.res_lang__link--current {
  font-weight: 700;
  color: var(--color_text);
}

.res_supervisor {
  margin: 0 auto 28px;
  display: table;
  padding: 11px 32px;
  border: 2px solid var(--color_text);
  background: #fff;
  text-align: center;
  line-height: 1.6;
}

.res_hero_title_wrap {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 16px;
}

.res_hero_title {
  margin: 0;
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.res_hero_title__plain {
  color: var(--color_text);
}

/* 見出し: ゴシック太字＋ドロップシャドウ */
.res_hero_title,
.res_supervisor {
  font-weight: 700;
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.1));
}

.res_hero_lead {
  margin: 0 auto 50px;
  max-width: 900px;
  text-align: center;
}

.res_hero_visual {
  margin: 0 auto;
  max-width: 960px;
  padding: 24px 0 0;
}

/* ----- YouTube サムネ列 ----- */
.res_yt_band {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  padding: 32px 0 40px;
  background: #fff;
  border-radius: 48px 48px 0 0;
}

.res_yt_band .sec_page_wrap {
  margin-bottom: 0;
}

.res_yt_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
  align-items: start;
}

.res_yt_iframe iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.res_yt_card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  background: #f5f5f5;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.res_yt_card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.res_yt_card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd;
}

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

.res_yt_card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  background: #f00;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.res_yt_card__play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -8px 0 0 -5px;
  border: 10px solid transparent;
  border-left: 16px solid #fff;
}

.res_yt_card__meta {
  padding: 14px 16px 18px;
  background: #fff;
}

.res_yt_card__en {
  margin: 0 0 6px;
  font-size: 12px;
  color: #666;
  font-style: italic;
}

.res_yt_card__ja {
  margin: 0 0 6px;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color_text);
}

.res_yt_card__en_sub {
  margin: 0;
  font-size: 11px;
  color: #888;
  line-height: 1.5;
}

/* ----- イントロ2ブロック ----- */
.res_intro_sec {
  background: #fff;
}

.res_intro_sec .sec_page_wrap {
  margin-bottom: 80px;
}

.res_intro_sec .sec_page_wrap:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .res_yt_grid {
    grid-template-columns: 1fr;
  }

  .res_supervisor {
    font-size: 0.93em;
    padding: 10px 16px;
  }
}

/* ヒーロー見出し内のグラデ部分はインライン表示 */
.res_hero_title .res_heading_grad {
  display: inline-block;
}

/* =========================================================
   3ReS ~4つの柱~ / POINT（about-3res）
   ========================================================= */

.res_pillars_sec {
  background: #fff;
  border-radius: 80px 80px 0 0;
}

.res_pillars_heading {
  margin: 0 0 1em;
}

.res_pillars_kicker {
  margin: 0.9em auto 0;
  max-width: 40em;
  font-size: 1em;
  line-height: 1.8;
  letter-spacing: 0.03em;
  text-align: center;
}

.res_pillars_title {
  margin: 0 0 1.5rem;
}

.res_pillars_circle {
  display: flex;
  justify-content: center;
  margin: 10px 0 34px;
}

.res_pillars_circle img {
  width: min(565px, 100%);
  height: auto;
  display: block;
}

.res_pillars_frame {
  position: relative;
  border: 2px solid #259c3b;
  border-radius: 30px;
  padding: 60px 20px 35px;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    180deg,
    #def0e2 0%,
    #ffffff 50.96%,
    #def0e2 100%
  );
}

.res_pillars_frame > * {
  position: relative;
  z-index: 1;
}

.res_pillars_card {
  border-radius: 30px;
  border: 2px solid transparent;
  padding: 35px 40px;
  box-sizing: border-box;
  margin: 0 auto 20px;
  max-width: 1000px;
}

.res_pillars_card:last-child {
  margin-bottom: 0;
}

.res_pillars_card--01 {
  border-color: #95bd20;
  background: linear-gradient(90deg, #F3FAE2 15%, #FCFFF5 52%, #F3FAE2 85%);
}

.res_pillars_card--02 {
  border-color: #e37d0f;
  background: linear-gradient(90deg, #FFEFDF 15%, #FFFBF6 50%, #FFEFDF 85%);
}

.res_pillars_card--03 {
  border-color: #2396d4;
  background: linear-gradient(90deg, #e4f3ff 15%, #fcfeff 50%, #e4f3ff 85%);
}

.res_pillars_card--plus {
  border-color: transparent;
  background: transparent;
  padding-top: 6px;
}

.res_pillars_card__inner {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
}

.res_pillars_card__text {
  position: relative;
  flex: 1 1 52%;
  min-width: 0;
  padding-top: 0;
}

.res_pillars_card__top {
  margin: 0 0 6px;
}

.res_pillars_card__icon_bg {
  position: absolute;
  top: 0;
  right: 0;
  width: min(132px, 34vw);
  height: 88px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
}

.res_pillars_card--01 .res_pillars_card__icon_bg {
  background-image: url('../../img/3res/icon_3res01.webp');
}

.res_pillars_card--02 .res_pillars_card__icon_bg {
  background-image: url('../../img/3res/icon_3res02.webp');
}

.res_pillars_card--03 .res_pillars_card__icon_bg {
  background-image: url('../../img/3res/icon_3res03.webp');
}

.res_pillars_card--plus .res_pillars_card__icon_bg {
  width: min(140px, 40vw);
  height: 100px;
  background-image: url('../../img/3res/icon_3res04.webp');
}

.res_pillars_badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 0;
  flex: 0 0 auto;
  border-radius: 50%;
  box-sizing: border-box;
}

.res_pillars_badge--01 {
  background: linear-gradient(180deg, #95bd20 0%, #28bd20 100%);
}

.res_pillars_badge--02 {
  background: linear-gradient(180deg, #e37d0f 0%, #e3480f 100%);
}

.res_pillars_badge--03 {
  background: linear-gradient(180deg, #2396d4 0%, #236ad4 100%);
}

.res_pillars_badge--plus {
  background: linear-gradient(180deg, #259c3b 0%, #25909c 100%);
}

.res_pillars_badge__num {
  font-size: 1.25em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1;
}

.res_pillars_badge--plus .res_pillars_badge__num {
  font-size: 1.125em;
  letter-spacing: 0.03em;
}

.res_pillars_card__lead {
  margin: 0 0 10px;
  font-size: 1.25em;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.res_pillars_card--01 .res_pillars_card__lead {
  background: linear-gradient(90deg, #95bd20 0%, #2bbd20 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.res_pillars_card--02 .res_pillars_card__lead {
  background: linear-gradient(90deg, #e37d0f 0%, #e3480f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.res_pillars_card--03 .res_pillars_card__lead {
  background: linear-gradient(90deg, #2396d4 0%, #236ad4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.res_pillars_card--plus .res_pillars_card__lead {
  background: linear-gradient(90deg, #259c3b 0%, #25909c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.res_pillars_card__heading {
  margin: 0 0 16px;
  font-size: clamp(1.375em, 3vw, 2em);
  font-weight: 700;
  color: var(--color_text);
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.res_pillars_card__body {
  margin: 0;
  font-size: 1em;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--color_text);
}

.res_pillars_card__body p {
  margin: 0 0 0.35em;
}

.res_pillars_card__body p:last-child {
  margin-bottom: 0;
}

.res_pillars_placeholder {
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #ddd;
  box-sizing: border-box;
}

.res_pillars_placeholder p {
  margin: 0;
  font-size: 14.4px;
  font-weight: 700;
  color: #777;
  text-align: center;
  line-height: 1.8;
}

.res_pillars_plus {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0 18px;
  position: relative;
  z-index: 2;
}

.res_pillars_plus__mark {
  display: block;
  font-size: 2.25em;
  font-weight: 300;
  line-height: 1;
  color: var(--color_text);
  letter-spacing: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.res_final_cta_sec:not(.bg_3colors_soft):not(.background-3colors) {
  background: #fff;
}

.res_final_cta_sec.bg_3colors_soft,
.res_final_cta_sec.background-3colors {
  border-radius: 80px 80px 0 0;
  overflow: hidden;
}

.res_final_cta_sec .sec_page_wrap {
  margin-bottom: 0;
}

.res_final_cta_inner {
  padding: 0 18px;
  text-align: center;
  box-sizing: border-box;
}

.res_final_cta_point {
  margin: 0 0 14px;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #056ef9;
}

.res_final_cta_title {
  margin: 0 auto 22px;
  max-width: 980px;
  text-align: center;
}

.res_final_cta_desc {
  margin: 0 auto 18px;
  max-width: 760px;
  font-size: 1em;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.res_final_cta_desc:last-child {
  margin-bottom: 0;
}

.res_final_cta_desc p {
  margin: 0;
}

@media (max-width: 900px) {
  .res_pillars_frame {
    padding: 35px 14px 25px;
  }

  .res_pillars_card {
    padding: 25px 18px;
  }
  .res_pillars_card.res_pillars_card--plus {
    padding: 10px 5px;
  }

  .res_pillars_card__inner {
    flex-direction: column;
    gap: 18px;
  }

  .res_pillars_card__photo {
    order: 2;
    min-height: 220px;
  }

  .res_pillars_card__text {
    order: 1;
    padding-top: 0;
  }
}

/* =========================================================
   監修者 / 改善記録 / FAQ / メソッドバナー（about-3res）
   ========================================================= */

.res_supervisor_sec {
  background: #fff;
}

.res_supervisor_shell {
  background: #f2f9ff;
  border-radius: 30px;
  padding: clamp(18px, 3vw, 28px);
  box-sizing: border-box;
}

.res_supervisor_card {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.res_supervisor_inner {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
  align-items: flex-start;
  padding: clamp(22px, 3vw, 36px);
  box-sizing: border-box;
  justify-content: center;
}

.res_supervisor_photo {
  flex: 0 1 280px;
  max-width: 100%;
  overflow: hidden;
}

.res_supervisor_photo img {
  width: 100%;
  height: auto;
  display: block;
}

.res_supervisor_body {
  flex: 1 1 280px;
  min-width: 0;
}

.res_supervisor_badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 14px;
  padding: 8px 12px;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.73;
  letter-spacing: 0.02em;
  color: var(--color_text);
  border-radius: 8px;
  background: linear-gradient(90deg, #d0ffe0 0%, #d0ffe0 30%, #fff9bf 100%);
}

.res_supervisor_title {
  margin: 0 0 16px;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--color_text);
}

.res_supervisor_title__line {
  display: block;
}

.res_supervisor_lead {
  margin: 0 0 22px;
}

.res_supervisor_profile {
  padding: 18px 22px;
  background: #fff;
  border-radius: 15px;
  box-sizing: border-box;
}

.wrap .res_supervisor_profile__text {
  margin: 0;
  line-height: 1.6;
}

.res_supervisor_profile__text strong {
  font-weight: 700;
}

.res_cases_sec.bg_3colors_soft,
.res_cases_sec.background-3colors {
  border-radius: 0;
}

a:hover .res_method_banner {
  text-decoration: none;
  opacity: 0.8;
}

.res_method_banner {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  max-width: 1130px;
  margin: 0 auto;
  margin: 130px auto 0;
}

.res_method_banner__photo {
  flex: 1 1 50%;
  max-width: 50%;
  min-width: 0;
  min-height: 280px;
  background: #e5e7eb;
}

.res_method_banner__photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.res_method_banner__panel {
  flex: 1 1 50%;
  max-width: 50%;
  min-width: 0;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 44px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background-color: #53b3dd;
  background-image:
    radial-gradient(ellipse 58% 48% at 100% 0%, rgba(166, 237, 188, 0.78) 0%, transparent 58%),
    radial-gradient(ellipse 62% 52% at 0% 100%, rgba(166, 237, 188, 0.74) 0%, transparent 62%);
  color: #fff;
}

.res_method_banner__title {
  margin: 0;
  font-size: clamp(1.25em, 2.5vw, 1.75em);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #fff;
}

.res_method_banner__lead {
  margin: 0;
  font-size: 0.94em;
  line-height: 1.85;
  opacity: 0.98;
}

.res_method_banner__cta {
  margin: 8px 0 0;
}

.res_method_banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 1em;
  font-weight: 700;
  text-decoration: none;
  color: #2396a8;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.res_method_banner__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.res_method_banner__btn_txt {
  background: linear-gradient(90deg, #53b3dd 0%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.res_method_banner__btn .fa-circle-chevron-right {
  font-size: 18px;
  color: #2ea893;
}

@media (max-width: 900px) {
  .res_supervisor_inner {
    padding: clamp(10px, 2.5vw, 25px)
  }

  .res_method_banner {
    flex-direction: column;
  }

  .res_method_banner__photo {
    order: 1;
    flex: 1 1 100%;
    max-width: 100%;
    min-height: 220px;
  }

  .res_method_banner__panel {
    order: 2;
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* =========================================================
   学会発表資料（about-3res / about-3-en）
   ========================================================= */

.res_conf_sec {
  scroll-margin-top: 100px;
}

.res_conf_inner {
  position: relative;
  padding-top: 40px;
}

.res_conf_lang {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 6px;
  font-size: 0.93em;
  line-height: 1.4;
  color: var(--color_text);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  z-index: 2;
}

.res_conf_lang__sep {
  color: #ccc;
  user-select: none;
}

.res_conf_lang__link {
  color: var(--color_text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
  padding: 2px 8px;
}

.res_conf_lang__link:hover {
  color: var(--res_accent_teal);
}

.res_conf_lang__link--current {
  font-weight: 700;
  color: var(--res_accent_teal);
}

.res_conf_title {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(26px, 3.6vw, 36px);
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.wrap .res_conf_sub {
  margin: 0 auto 3em;
  text-align: center;
}

.res_conf_sub__line {
  display: block;
}

.res_conf_cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.res_conf_card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 25px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.res_conf_card__head {
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1.45;
  color: var(--color_text);
  border-bottom: 2px solid var(--res_accent_blue);
}

.res_conf_card__head--jspd {
  border-bottom-color: var(--res_accent_teal);
}

.res_conf_card__head_sub {
  display: block;
  margin-top: 4px;
  font-size: 0.95em;
  font-weight: 700;
}

.res_conf_pdf_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.res_conf_pdf_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 12px 16px;
  box-sizing: border-box;
  text-decoration: none;
  color: var(--color_text);
  font-size: 0.95em;
  line-height: 1.45;
  font-weight: 500;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.res_conf_pdf_link:hover {
  border-color: #93c5fd;
  box-shadow: 0 2px 10px rgba(49, 156, 214, 0.12);
}

.res_conf_pdf_link:focus-visible {
  outline: 2px solid var(--res_accent_blue);
  outline-offset: 2px;
}

.res_conf_pdf_link__txt {
  flex: 1;
  text-align: left;
}

.res_conf_pdf_link__ico {
  flex-shrink: 0;
  font-size: 1.125em;
  line-height: 1;
  opacity: 0.75;
}

.res_conf_photo_card {
  margin-top: 28px;
  background: #fff;
  border-radius: 20px;
  padding: 24px 22px 28px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.res_conf_photo_title {
  margin: 10px 0 20px;
  font-size: 1.1em;
  font-weight: 700;
  color: var(--color_text);
}

.res_conf_carousel {
  display: flex;
  align-items: center;
  gap: 6px;
}

.res_conf_carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  container-type: inline-size;
  container-name: res-conf-carousel;
}

.res_conf_carousel__track {
  display: flex;
  gap: 16px;
  padding: 4px 0 8px;
}

.res_conf_carousel__slide {
  flex: 0 0 min(300px, 82vw);
  scroll-snap-align: start;
}

@supports (width: 1cqw) {
  .res_conf_carousel__slide {
    flex: 0 0 min(300px, 82cqw);
  }
}

.res_conf_carousel__open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  cursor: pointer;
  background: #e5e7eb;
  border-radius: 0;
  text-align: left;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.res_conf_carousel__open:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.res_conf_carousel__open:focus-visible {
  outline: 3px solid var(--res_accent_blue);
  outline-offset: 3px;
}

.res_conf_carousel__open img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  vertical-align: middle;
  border-radius: 0;
}

.res_conf_carousel__caption {
  display: block;
  margin: 0;
  padding: 10px 12px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color_text);
  background: #f3f4f6;
  border-radius: 0;
  box-sizing: border-box;
}

.res_conf_carousel__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  /* Figma：淡いミント〜グリーン */
  background: var(--res_bg_gradient);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  color: var(--color_text);
  font-size: 1.125em;
  line-height: 1;
}

.res_conf_carousel__btn:hover {
  transform: scale(1.05);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.95),
    inset 0 -3px 10px rgba(100, 145, 118, 0.16);
}

.res_conf_carousel__btn:focus-visible {
  outline: 2px solid var(--res_accent_blue);
  outline-offset: 2px;
}

.res_conf_lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-top: 72px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.65);
  cursor: zoom-out;
}

.res_conf_lightbox[hidden] {
  display: none !important;
}

.res_conf_lightbox__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(96vw, 1200px);
  max-height: min(92vh, 1000px);
  cursor: default;
}

.res_conf_lightbox__img {
  max-width: 100%;
  max-height: calc(92vh - 5.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  cursor: default;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.res_conf_lightbox__caption {
  margin: 14px 0 0;
  padding: 0 12px;
  max-width: 100%;
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  box-sizing: border-box;
}

.res_conf_lightbox__caption:empty {
  display: none;
  margin: 0;
}

.res_conf_lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: 36px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.15s ease;
}

.res_conf_lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

body.res_conf_lightbox_on {
  overflow: hidden;
}

.res_en_placeholder_lead {
  margin: 0 auto 8px;
  max-width: 720px;
  text-align: center;
  font-size: 1em;
  line-height: 1.7;
  color: var(--color_text);
}

@media (max-width: 900px) {
  .res_conf_cards {
    grid-template-columns: 1fr;
  }

  .res_conf_lang {
    justify-content: center;
    margin: 0 auto 20px;
    width: fit-content;
    top: -45px;
  }

  .res_conf_inner {
    padding-top: 0;
  }

  .res_conf_carousel__btn {
    width: 40px;
    height: 40px;
  }

  .res_conf_carousel__track {
    gap: 5px;
  }
}
